diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 00000000000..2a96bada6dc --- /dev/null +++ b/.gitattributes @@ -0,0 +1 @@ +go/vt/vtadmin/web/build/**/* linguist-generated=true diff --git a/.github/workflows/vtadmin_web_build.yml b/.github/workflows/vtadmin_web_build.yml index 78c7e37c42e..b9b870b1a6e 100644 --- a/.github/workflows/vtadmin_web_build.yml +++ b/.github/workflows/vtadmin_web_build.yml @@ -6,16 +6,16 @@ on: push: paths: - '.github/workflows/vtadmin_web_build.yml' + - 'go/vt/vtadmin/web/**' + - 'tools/check_vtadmin_web_embed.sh' - 'web/vtadmin/**' pull_request: paths: - '.github/workflows/vtadmin_web_build.yml' + - 'go/vt/vtadmin/web/**' + - 'tools/check_vtadmin_web_embed.sh' - 'web/vtadmin/**' -defaults: - run: - working-directory: ./web/vtadmin - jobs: build: runs-on: ubuntu-latest @@ -27,11 +27,8 @@ jobs: # node-version should match package.json node-version: '16.13.0' - - name: Install dependencies - run: npm ci - - - name: Build front-end - run: npm run build + - name: Build front-end and validate embedded files + run: tools/check_vtadmin_web_embed.sh # Cancel pending and in-progress runs of this workflow if a newer ref is pushed to CI. concurrency: diff --git a/.gitignore b/.gitignore index 82552ca82b8..5c4b24c3620 100644 --- a/.gitignore +++ b/.gitignore @@ -29,6 +29,7 @@ tags # C build dirs **/build +!go/vt/vtadmin/web/build # generated protobuf files /go/vt/.proto.tmp diff --git a/Makefile b/Makefile index a5bc241de61..77e06065470 100644 --- a/Makefile +++ b/Makefile @@ -439,6 +439,10 @@ web_start: web_bootstrap vtadmin_web_install: cd web/vtadmin && npm install +# Builds the vtadmin-web front-end files that are embedded in the vtadmin binary. +vtadmin_web_embed: vtadmin_web_install + ./tools/vtadmin_web_embed.sh + # Generate JavaScript/TypeScript bindings for vtadmin-web from the Vitess .proto files. # Eventually, we'll want to call this target as part of the standard `make proto` target. # While vtadmin-web is new and unstable, however, we can keep it out of the critical build path. diff --git a/examples/local/scripts/vtadmin-down.sh b/examples/local/scripts/vtadmin-down.sh index 2a7944d9d5a..1f394d5c591 100755 --- a/examples/local/scripts/vtadmin-down.sh +++ b/examples/local/scripts/vtadmin-down.sh @@ -2,8 +2,5 @@ source ./env.sh -echo "Stopping vtadmin-web..." -kill -9 "$(cat "$VTDATAROOT/tmp/vtadmin-web.pid")" - -echo "Stopping vtadmin-api..." -kill -9 "$(cat "$VTDATAROOT/tmp/vtadmin-api.pid")" +echo "Stopping vtadmin..." +kill -9 "$(cat "$VTDATAROOT/tmp/vtadmin.pid")" diff --git a/examples/local/scripts/vtadmin-up.sh b/examples/local/scripts/vtadmin-up.sh index 5ee04c9a959..68c66fec11c 100755 --- a/examples/local/scripts/vtadmin-up.sh +++ b/examples/local/scripts/vtadmin-up.sh @@ -3,14 +3,11 @@ source ./env.sh log_dir="${VTDATAROOT}/tmp" -web_dir="../../web/vtadmin" vtadmin_api_port=14200 -vtadmin_web_port=14201 vtadmin \ --addr ":${vtadmin_api_port}" \ - --http-origin "http://localhost:${vtadmin_web_port}" \ --http-tablet-url-tmpl "http://{{ .Tablet.Hostname }}:15{{ .Tablet.Alias.Uid }}" \ --tracer "opentracing-jaeger" \ --grpc-tracing \ @@ -20,36 +17,15 @@ vtadmin \ --rbac \ --rbac-config="./vtadmin/rbac.yaml" \ --cluster "id=local,name=local,discovery=staticfile,discovery-staticfile-path=./vtadmin/discovery.json,tablet-fqdn-tmpl={{ .Tablet.Hostname }}:15{{ .Tablet.Alias.Uid }}" \ - > "${log_dir}/vtadmin-api.out" 2>&1 & + > "${log_dir}/vtadmin.out" 2>&1 & -vtadmin_api_pid=$! -echo ${vtadmin_api_pid} > "${log_dir}/vtadmin-api.pid" +vtadmin_pid=$! +echo ${vtadmin_pid} > "${log_dir}/vtadmin.pid" echo "\ -vtadmin-api is running! - - API: http://localhost:${vtadmin_api_port} - - Logs: ${log_dir}/vtadmin-api.out - - PID: ${vtadmin_api_pid} -" - -# As a TODO, it'd be nice to make the assumption that vtadmin-web is already -# installed and built (since we assume that `make` has already been run for -# other Vitess components.) -npm --prefix $web_dir --silent install - -REACT_APP_VTADMIN_API_ADDRESS="http://localhost:${vtadmin_api_port}" \ - REACT_APP_ENABLE_EXPERIMENTAL_TABLET_DEBUG_VARS="true" \ - npm run --prefix $web_dir build - -"${web_dir}/node_modules/.bin/serve" --no-clipboard -l $vtadmin_web_port -s "${web_dir}/build" \ - > "${log_dir}/vtadmin-web.out" 2>&1 & - -vtadmin_web_pid=$! -echo ${vtadmin_web_pid} > "${log_dir}/vtadmin-web.pid" - -echo "\ -vtadmin-web is running! - - Browser: http://localhost:${vtadmin_web_port} - - Logs: ${log_dir}/vtadmin-web.out - - PID: ${vtadmin_web_pid} +vtadmin is running! + - Web: http://localhost:${vtadmin_api_port} + - API: http://localhost:${vtadmin_api_port}/api + - Logs: ${log_dir}/vtadmin.out + - PID: ${vtadmin_pid} " diff --git a/go/cmd/vtadmin/main.go b/go/cmd/vtadmin/main.go index e77448a090b..b7f87af30cf 100644 --- a/go/cmd/vtadmin/main.go +++ b/go/cmd/vtadmin/main.go @@ -169,6 +169,7 @@ func main() { // HTTP server flags rootCmd.Flags().BoolVar(&httpOpts.DisableCompression, "http-no-compress", false, "whether to disable compression of HTTP API responses") rootCmd.Flags().BoolVar(&httpOpts.DisableDebug, "http-no-debug", false, "whether to disable /debug/pprof/* and /debug/env HTTP endpoints") + rootCmd.Flags().BoolVar(&httpOpts.DisableWeb, "http-no-web", false, "whether to disable the web interface") rootCmd.Flags().Var(&debug.OmitEnv, "http-debug-omit-env", "name of an environment variable to omit from /debug/env, if http debug endpoints are enabled. specify multiple times to omit multiple env vars") rootCmd.Flags().Var(&debug.SanitizeEnv, "http-debug-sanitize-env", "name of an environment variable to sanitize in /debug/env, if http debug endpoints are enabled. specify multiple times to sanitize multiple env vars") rootCmd.Flags().StringSliceVar(&httpOpts.CORSOrigins, "http-origin", []string{}, "repeated, comma-separated flag of allowed CORS origins. omit to disable CORS") diff --git a/go/vt/vtadmin/api.go b/go/vt/vtadmin/api.go index 16ca6a4b474..4c7add344e5 100644 --- a/go/vt/vtadmin/api.go +++ b/go/vt/vtadmin/api.go @@ -49,6 +49,7 @@ import ( "vitess.io/vitess/go/vt/vtadmin/rbac" "vitess.io/vitess/go/vt/vtadmin/sort" "vitess.io/vitess/go/vt/vtadmin/vtadminproto" + "vitess.io/vitess/go/vt/vtadmin/web" "vitess.io/vitess/go/vt/vterrors" "vitess.io/vitess/go/vt/vtexplain" @@ -182,6 +183,11 @@ func NewAPI(clusters []*cluster.Cluster, opts Options) *API { debugRouter.HandleFunc("/clusters", debug.Clusters(dapi)) } + if !opts.HTTPOpts.DisableWeb { + // Catch-all route for vtadmin-web + serv.Router().PathPrefix("/").Handler(web.Handler()) + } + // Middlewares are executed in order of addition. Our ordering (all // middlewares being optional) is: // 1. CORS. CORS is a special case and is applied globally, the rest are applied only to the subrouter. diff --git a/go/vt/vtadmin/http/api.go b/go/vt/vtadmin/http/api.go index 9c3f53481a8..94fe5ea5aa1 100644 --- a/go/vt/vtadmin/http/api.go +++ b/go/vt/vtadmin/http/api.go @@ -40,7 +40,13 @@ type Options struct { DisableCompression bool // DisableDebug specifies whether to omit the /debug/pprof/* and /debug/env // routes. - DisableDebug bool + DisableDebug bool + + // DisableWeb specifies whether to disable the web interface. + // This should be true when running VTAdmin as a standalone HTTP/gRPC API, + // as when running vtadmin-web and vtadmin-api as separate components. + DisableWeb bool + ExperimentalOptions struct { TabletURLTmpl string } diff --git a/go/vt/vtadmin/web/build/200.html b/go/vt/vtadmin/web/build/200.html new file mode 100644 index 00000000000..bebfb98e2d4 --- /dev/null +++ b/go/vt/vtadmin/web/build/200.html @@ -0,0 +1 @@ +VTAdmin
\ No newline at end of file diff --git a/go/vt/vtadmin/web/build/404.html b/go/vt/vtadmin/web/build/404.html new file mode 100644 index 00000000000..1449ff9acae --- /dev/null +++ b/go/vt/vtadmin/web/build/404.html @@ -0,0 +1 @@ +VTAdmin

☹️ 404 ☹️

\ No newline at end of file diff --git a/go/vt/vtadmin/web/build/asset-manifest.json b/go/vt/vtadmin/web/build/asset-manifest.json new file mode 100644 index 00000000000..0128f6c5fba --- /dev/null +++ b/go/vt/vtadmin/web/build/asset-manifest.json @@ -0,0 +1,30 @@ +{ + "files": { + "main.css": "/static/css/main.7469429c.css", + "main.js": "/static/js/main.c259521f.js", + "static/media/NotoSans-Bold.ttf": "/static/media/NotoSans-Bold.82b1a58ddf26951345dc.ttf", + "static/media/NotoSans-SemiBold.ttf": "/static/media/NotoSans-SemiBold.a75c33f62863bf1248a7.ttf", + "static/media/NotoSans-Regular.ttf": "/static/media/NotoSans-Regular.e962f548522aa99bb8f9.ttf", + "static/media/NotoMono-Regular.ttf": "/static/media/NotoMono-Regular.be3ba1bdffd4edc1f942.ttf", + "static/media/bug.svg": "/static/media/bug.d6e8f1f537cd6503352c1f1c6a3e4ddb.svg", + "index.html": "/index.html", + "static/media/open.svg": "/static/media/open.54a31e2b3c48681fd6436d711e51766c.svg", + "static/media/runQuery.svg": "/static/media/runQuery.be70900c1a58ba617ae6b3ae25a3efa0.svg", + "static/media/question.svg": "/static/media/question.2c3e7c5fd69873b08b8f54706273ff54.svg", + "static/media/search.svg": "/static/media/search.d648292474d4c7312243e8c8e46a7b4d.svg", + "static/media/checkSuccess.svg": "/static/media/checkSuccess.9381dbfda2cbb95cd1bee152dfc8cb93.svg", + "static/media/alertFail.svg": "/static/media/alertFail.44d2e3a5697952165f2d0ebd8cbdc9fc.svg", + "static/media/circleAdd.svg": "/static/media/circleAdd.09f687ada857ac2501113aeb25cad49d.svg", + "static/media/info.svg": "/static/media/info.a83a4fd289498ab48ee0d5b62b6461d1.svg", + "static/media/delete.svg": "/static/media/delete.588cb9a946f1e2861d082796506ecf96.svg", + "static/media/download.svg": "/static/media/download.a69ca68b55ab4becbd2566fbf03848c6.svg", + "static/media/chevronDown.svg": "/static/media/chevronDown.c2faa962fb09b981cf368eef6c849f2d.svg", + "static/media/chevronUp.svg": "/static/media/chevronUp.e018398dbb2f1fcaac8995eba179c42e.svg", + "main.7469429c.css.map": "/static/css/main.7469429c.css.map", + "main.c259521f.js.map": "/static/js/main.c259521f.js.map" + }, + "entrypoints": [ + "static/css/main.7469429c.css", + "static/js/main.c259521f.js" + ] +} \ No newline at end of file diff --git a/go/vt/vtadmin/web/build/backups/index.html b/go/vt/vtadmin/web/build/backups/index.html new file mode 100644 index 00000000000..ac3ba0f57d4 --- /dev/null +++ b/go/vt/vtadmin/web/build/backups/index.html @@ -0,0 +1 @@ +Backups | VTAdmin

Backups

Started atDirectoryBackupTabletStatus
\ No newline at end of file diff --git a/go/vt/vtadmin/web/build/clusters/index.html b/go/vt/vtadmin/web/build/clusters/index.html new file mode 100644 index 00000000000..17497e388d9 --- /dev/null +++ b/go/vt/vtadmin/web/build/clusters/index.html @@ -0,0 +1 @@ +Clusters | VTAdmin

Clusters

NameId
\ No newline at end of file diff --git a/go/vt/vtadmin/web/build/favicon.ico b/go/vt/vtadmin/web/build/favicon.ico new file mode 100644 index 00000000000..ecd6c9efcc3 Binary files /dev/null and b/go/vt/vtadmin/web/build/favicon.ico differ diff --git a/go/vt/vtadmin/web/build/gates/index.html b/go/vt/vtadmin/web/build/gates/index.html new file mode 100644 index 00000000000..e3d663907f8 --- /dev/null +++ b/go/vt/vtadmin/web/build/gates/index.html @@ -0,0 +1 @@ +Gates | VTAdmin

Gates

PoolHostnameCellKeyspaces
\ No newline at end of file diff --git a/go/vt/vtadmin/web/build/index.html b/go/vt/vtadmin/web/build/index.html new file mode 100644 index 00000000000..9830f4683ff --- /dev/null +++ b/go/vt/vtadmin/web/build/index.html @@ -0,0 +1 @@ +Tablets | VTAdmin

Tablets

KeyspaceShardAliasTypeTablet StateHostnameActions
\ No newline at end of file diff --git a/go/vt/vtadmin/web/build/keyspaces/index.html b/go/vt/vtadmin/web/build/keyspaces/index.html new file mode 100644 index 00000000000..5590311ee79 --- /dev/null +++ b/go/vt/vtadmin/web/build/keyspaces/index.html @@ -0,0 +1 @@ +Keyspaces | VTAdmin

Keyspaces

KeyspaceShardsActions
\ No newline at end of file diff --git a/go/vt/vtadmin/web/build/manifest.json b/go/vt/vtadmin/web/build/manifest.json new file mode 100644 index 00000000000..dac0595e208 --- /dev/null +++ b/go/vt/vtadmin/web/build/manifest.json @@ -0,0 +1,15 @@ +{ + "short_name": "VTAdmin", + "name": "VTAdmin", + "icons": [ + { + "src": "favicon.ico", + "sizes": "64x64 32x32 24x24 16x16", + "type": "image/x-icon" + } + ], + "start_url": ".", + "display": "standalone", + "theme_color": "#000000", + "background_color": "#ffffff" +} diff --git a/go/vt/vtadmin/web/build/robots.txt b/go/vt/vtadmin/web/build/robots.txt new file mode 100644 index 00000000000..e9e57dc4d41 --- /dev/null +++ b/go/vt/vtadmin/web/build/robots.txt @@ -0,0 +1,3 @@ +# https://www.robotstxt.org/robotstxt.html +User-agent: * +Disallow: diff --git a/go/vt/vtadmin/web/build/schemas/index.html b/go/vt/vtadmin/web/build/schemas/index.html new file mode 100644 index 00000000000..82527239863 --- /dev/null +++ b/go/vt/vtadmin/web/build/schemas/index.html @@ -0,0 +1 @@ +Schemas | VTAdmin

Schemas

KeyspaceTable
Approx. Size
Approx. Rows
\ No newline at end of file diff --git a/go/vt/vtadmin/web/build/static/css/main.7469429c.css b/go/vt/vtadmin/web/build/static/css/main.7469429c.css new file mode 100644 index 00000000000..ddf37930d3f --- /dev/null +++ b/go/vt/vtadmin/web/build/static/css/main.7469429c.css @@ -0,0 +1,5 @@ +@font-face{font-display:swap;font-family:NotoSans;src:local("NotoSans-Regular"),url(/static/media/NotoSans-Regular.e962f548522aa99bb8f9.ttf) format("truetype")}@font-face{font-display:swap;font-family:NotoSans;font-weight:500;src:local("NotoSans-SemiBold"),url(/static/media/NotoSans-SemiBold.a75c33f62863bf1248a7.ttf) format("truetype")}@font-face{font-display:swap;font-family:NotoSans;font-weight:700;src:local("NotoSans-Bold"),url(/static/media/NotoSans-Bold.82b1a58ddf26951345dc.ttf) format("truetype")}@font-face{font-display:swap;font-family:NotoMono;src:local("NotoMono-Regular"),url(/static/media/NotoMono-Regular.be3ba1bdffd4edc1f942.ttf) format("truetype")} + +/*! tailwindcss v3.0.18 | MIT License | https://tailwindcss.com + */*,:after,:before{border:0 solid #edf2f7;box-sizing:border-box}:after,:before{--tw-content:""}html{-webkit-text-size-adjust:100%;font-family:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;line-height:1.5;tab-size:4}body{line-height:inherit}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{color:inherit;font-family:inherit;font-size:100%;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}textarea{resize:vertical}input::-webkit-input-placeholder,textarea::-webkit-input-placeholder{color:#cbd5e0;opacity:1}input:-ms-input-placeholder,textarea:-ms-input-placeholder{color:#cbd5e0;opacity:1}input::placeholder,textarea::placeholder{color:#cbd5e0;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]{display:none}*,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:rgba(59,130,246,.5);--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.container{width:100%}@media (min-width:640px){.container{max-width:640px}}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.btn,.btn:visited{--tw-bg-opacity:1;--tw-border-opacity:1;--tw-text-opacity:1;background-color:rgb(61 90 254/var(--tw-bg-opacity));border-color:rgb(61 90 254/var(--tw-border-opacity));border-radius:.5rem;border-width:2px;color:rgb(255 255 255/var(--tw-text-opacity));cursor:pointer;display:inline-block;font-family:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-weight:600;line-height:1.625;outline:2px solid transparent;outline-offset:2px;padding:.5rem 1.5rem;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;white-space:nowrap;width:-webkit-min-content;width:min-content}.btn:focus,.btn:visited:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(129 135 255/var(--tw-ring-opacity));--tw-ring-offset-width:1px;--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.btn,.btn:visited{-webkit-appearance:button;appearance:button;height:-webkit-fit-content;height:-moz-fit-content;height:fit-content}.btn:disabled{background:#cbd5e0;background:var(--colorDisabled);border-color:#cbd5e0;border-color:var(--colorDisabled);cursor:not-allowed}.btn-lg{font-size:1.6rem;line-height:2;padding-left:2rem;padding-right:2rem}.btn-sm{border-width:1px;font-size:1.2rem;line-height:1.375;padding:.25rem 1rem}.btn svg{fill:currentColor;display:inline-block;height:2rem;margin-left:-.5rem;margin-right:.25rem;vertical-align:middle}.btn-lg svg{height:2.5rem;margin-left:-.5rem;margin-right:.5rem}.btn-sm svg{height:1.5rem;margin-left:-.75rem;margin-right:0}.btn-secondary,.btn-secondary:visited{background-color:transparent!important}.btn-secondary,.btn-secondary:disabled,.btn-secondary:visited{--tw-text-opacity:1;color:rgb(61 90 254/var(--tw-text-opacity))}.btn-secondary:disabled{color:#cbd5e0;color:var(--colorDisabled)}.btn-danger:focus,.btn-danger:visited:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(255 102 89/var(--tw-ring-opacity))}.btn-danger,.btn-danger:visited{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:rgb(211 47 47/var(--tw-bg-opacity));border-color:rgb(211 47 47/var(--tw-border-opacity))}.btn-danger.btn-secondary:enabled,.btn-danger.btn-secondary:visited{--tw-text-opacity:1;color:rgb(211 47 47/var(--tw-text-opacity))}.btn-success:focus,.btn-success:visited:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(76 186 106/var(--tw-ring-opacity))}.btn-success,.btn-success:visited{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:rgb(0 137 62/var(--tw-bg-opacity));border-color:rgb(0 137 62/var(--tw-border-opacity))}.btn-success.btn-secondary:enabled,.btn-success.btn-secondary:visited{--tw-text-opacity:1;color:rgb(0 137 62/var(--tw-text-opacity))}.btn-warning:focus,.btn-warning:visited:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(255 221 113/var(--tw-ring-opacity))}.btn-warning,.btn-warning:visited{--tw-bg-opacity:1;--tw-border-opacity:1;background-color:rgb(255 171 64/var(--tw-bg-opacity));border-color:rgb(255 171 64/var(--tw-border-opacity))}.btn-warning.btn-secondary:enabled,.btn-warning.btn-secondary:visited{--tw-text-opacity:1;color:rgb(255 171 64/var(--tw-text-opacity))}.toggle{border-color:transparent;border-radius:9999px;border-width:2px;cursor:pointer;display:inline-flex;flex-shrink:0;height:19px;position:relative;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1);width:37px}.toggle:focus{outline:2px solid transparent;outline-offset:2px}.toggle.on{--tw-bg-opacity:1;background-color:rgb(61 90 254/var(--tw-bg-opacity))}.toggle.off{--tw-bg-opacity:1;background-color:rgb(203 213 224/var(--tw-bg-opacity))}.toggle-button{--tw-bg-opacity:1;--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(var(--tw-ring-offset-width)) var(--tw-ring-color);background-color:rgb(255 255 255/var(--tw-bg-opacity));border-radius:9999px;box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000);display:inline-block;height:15px;pointer-events:none;transition-duration:.2s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);width:15px}.toggle-button,.toggle-button.on{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.toggle-button.on{--tw-translate-x:1.75rem}.toggle-button.off{--tw-translate-x:0px;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{bottom:0;left:0;right:0;top:0}.right-10{right:2.5rem}.bottom-6{bottom:1.5rem}.left-0{left:0}.right-0{right:0}.z-20{z-index:20}.z-10{z-index:10}.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mx-10{margin-left:2.5rem;margin-right:2.5rem}.my-12{margin-bottom:3rem;margin-top:3rem}.my-4{margin-bottom:1rem;margin-top:1rem}.my-8{margin-bottom:2rem;margin-top:2rem}.my-16{margin-bottom:4rem;margin-top:4rem}.my-6{margin-bottom:1.5rem;margin-top:1.5rem}.ml-4{margin-left:1rem}.mr-4{margin-right:1rem}.ml-8{margin-left:2rem}.mb-2{margin-bottom:.5rem}.mt-2{margin-top:.5rem}.mb-24{margin-bottom:6rem}.mt-8{margin-top:2rem}.mt-12{margin-top:3rem}.mb-8{margin-bottom:2rem}.mr-2{margin-right:.5rem}.mt-3{margin-top:.75rem}.mb-4{margin-bottom:1rem}.ml-1{margin-left:.25rem}.mt-4{margin-top:1rem}.mt-0{margin-top:0}.mb-16{margin-bottom:4rem}.mt-6{margin-top:1.5rem}.mt-24{margin-top:6rem}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.\!table{display:table!important}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-\[40px\]{height:40px}.h-8{height:2rem}.h-6{height:1.5rem}.h-12{height:3rem}.h-16{height:4rem}.h-40{height:10rem}.h-full{height:100%}.min-h-screen{min-height:100vh}.w-8{width:2rem}.w-6{width:1.5rem}.w-full{width:100%}.w-12{width:3rem}.w-max{width:-webkit-max-content;width:max-content}.w-40{width:10rem}.w-min{width:-webkit-min-content;width:min-content}.w-1\/3{width:33.333333%}.max-w-screen-xl{max-width:1280px}.max-w-screen-sm{max-width:640px}.max-w-screen-md{max-width:768px}.max-w-prose{max-width:65ch}.flex-shrink-0,.shrink-0{flex-shrink:0}.grow-0{flex-grow:0}.origin-top-right{-webkit-transform-origin:top right;transform-origin:top right}.translate-y-4{--tw-translate-y:1rem}.translate-y-0,.translate-y-4{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-0{--tw-translate-y:0px}.scale-75{--tw-scale-x:.75;--tw-scale-y:.75}.scale-75,.scale-95{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.transform{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@-webkit-keyframes ping{75%,to{opacity:0;-webkit-transform:scale(2);transform:scale(2)}}@keyframes ping{75%,to{opacity:0;-webkit-transform:scale(2);transform:scale(2)}}.animate-ping{-webkit-animation:ping 1s cubic-bezier(0,0,.2,1) infinite;animation:ping 1s cubic-bezier(0,0,.2,1) infinite}.flex-col{flex-direction:column}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-2{gap:.5rem}.gap-4{gap:1rem}.divide-y>:not([hidden])~:not([hidden]){--tw-divide-y-reverse:0;border-bottom-width:calc(1px*var(--tw-divide-y-reverse));border-top-width:calc(1px*(1 - var(--tw-divide-y-reverse)))}.divide-gray-100>:not([hidden])~:not([hidden]){--tw-divide-opacity:1;border-color:rgb(243 243 243/var(--tw-divide-opacity))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.whitespace-normal{white-space:normal}.whitespace-nowrap{white-space:nowrap}.rounded-xl{border-radius:.75rem}.rounded-2xl{border-radius:1rem}.rounded-lg{border-radius:.5rem}.rounded-full{border-radius:9999px}.rounded{border-radius:.25rem}.rounded-md{border-radius:.375rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-none{border-style:none}.border-gray-300{--tw-border-opacity:1;border-color:rgb(209 213 219/var(--tw-border-opacity))}.border-vtblue{--tw-border-opacity:1;border-color:rgb(61 90 254/var(--tw-border-opacity))}.border-gray-400{--tw-border-opacity:1;border-color:rgb(203 213 224/var(--tw-border-opacity))}.border-danger{--tw-border-opacity:1;border-color:rgb(211 47 47/var(--tw-border-opacity))}.border-red-400{--tw-border-opacity:1;border-color:rgb(248 113 113/var(--tw-border-opacity))}.bg-gray-100{--tw-bg-opacity:1;background-color:rgb(243 243 243/var(--tw-bg-opacity))}.bg-gray-500{--tw-bg-opacity:1;background-color:rgb(107 114 128/var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-red-100{--tw-bg-opacity:1;background-color:rgb(254 226 226/var(--tw-bg-opacity))}.bg-gray-300{--tw-bg-opacity:1;background-color:rgb(209 213 219/var(--tw-bg-opacity))}.bg-yellow-400{--tw-bg-opacity:1;background-color:rgb(250 204 21/var(--tw-bg-opacity))}.bg-yellow-500{--tw-bg-opacity:1;background-color:rgb(234 179 8/var(--tw-bg-opacity))}.bg-opacity-75{--tw-bg-opacity:0.75}.fill-current{fill:currentColor}.fill-\[\#284e64\]{fill:#284e64}.fill-\[\#f16827\]{fill:#f16827}.fill-\[\#f48029\]{fill:#f48029}.fill-\[\#f89a2e\]{fill:#f89a2e}.fill-\[\#cd4e27\]{fill:#cd4e27}.p-4{padding:1rem}.p-8{padding:2rem}.p-1{padding:.25rem}.py-6{padding-bottom:1.5rem;padding-top:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.px-4{padding-left:1rem;padding-right:1rem}.py-5{padding-bottom:1.25rem;padding-top:1.25rem}.py-3{padding-bottom:.75rem;padding-top:.75rem}.py-2{padding-bottom:.5rem;padding-top:.5rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.py-4{padding-bottom:1rem}.pt-4,.py-4{padding-top:1rem}.pb-20{padding-bottom:5rem}.text-left{text-align:left}.text-center{text-align:center}.text-right{text-align:right}.align-bottom{vertical-align:bottom}.font-mono{font-family:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace}.font-sans{font-family:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif}.text-sm{font-size:1.2rem}.text-xl{font-size:2rem}.text-\[6rem\]{font-size:6rem}.text-base{font-size:1.4rem}.text-lg{font-size:1.6rem}.text-2xl{font-size:2.8rem}.text-3xl{font-size:3.6rem}.font-medium{font-weight:500}.font-bold{font-weight:700}.font-semibold{font-weight:600}.leading-8{line-height:2rem}.leading-6{line-height:1.5rem}.text-gray-900{--tw-text-opacity:1;color:rgb(30 37 49/var(--tw-text-opacity))}.text-secondary{--tw-text-opacity:1;color:rgb(113 128 150/var(--tw-text-opacity))}.text-primary{--tw-text-opacity:1;color:rgb(23 23 27/var(--tw-text-opacity))}.text-gray-700{--tw-text-opacity:1;color:rgb(55 65 81/var(--tw-text-opacity))}.text-green-500{--tw-text-opacity:1;color:rgb(34 197 94/var(--tw-text-opacity))}.text-red-500{--tw-text-opacity:1;color:rgb(239 68 68/var(--tw-text-opacity))}.text-danger{--tw-text-opacity:1;color:rgb(211 47 47/var(--tw-text-opacity))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-75{opacity:.75}.shadow-2xl{--tw-shadow:0 25px 50px -12px rgba(0,0,0,.25);--tw-shadow-colored:0 25px 50px -12px var(--tw-shadow-color)}.shadow-2xl,.shadow-sm{box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow:0 1px 2px 0 rgba(0,0,0,.05);--tw-shadow-colored:0 1px 2px 0 var(--tw-shadow-color)}.shadow-lg{--tw-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);--tw-shadow-colored:0 10px 15px -3px var(--tw-shadow-color),0 4px 6px -4px var(--tw-shadow-color);box-shadow:0 0 #0000,0 0 #0000,var(--tw-shadow);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.ring-1{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.ring-black{--tw-ring-opacity:1;--tw-ring-color:rgb(0 0 0/var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity:0.05}.invert{--tw-invert:invert(100%)}.filter,.invert{-webkit-filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,opacity,box-shadow,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-text-decoration-color,-webkit-transform,-webkit-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,fill,stroke,-webkit-text-decoration-color;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,-webkit-text-decoration-color;transition-timing-function:cubic-bezier(.4,0,.2,1)}.delay-100{transition-delay:.1s}.duration-300{transition-duration:.3s}.duration-200{transition-duration:.2s}.duration-100{transition-duration:.1s}.duration-75{transition-duration:75ms}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}:root{--grey75:#f8fafd;--grey200:#edf2f7;--grey400:#cbd5e0;--grey600:#718096;--grey800:#2d3748;--grey900:#1e2531;--colorSuccess:#00893e;--colorSuccess50:#4cba6a;--colorSuccess200:#005a13;--colorInfo:#ffab40;--colorInfo50:#ffdd71;--colorInfo200:#c77c02;--colorError:#d32f2f;--colorError50:#ff6659;--colorError200:#9a0007;--fontFamilyPrimary:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;--fontFamilyMonospace:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace;--lineHeightBody:1.36;--lineHeightHeading:1.36;--inputHeightSmall:2.4rem;--inputHeightMedium:3.7rem;--inputHeightLarge:4.6rem;--tableCellPadding:1.6rem;--backgroundPrimary:#fff;--backgroundPrimaryHighlight:rgba(61,90,254,.1);--backgroundSecondary:var(--grey75);--backgroundSecondaryHighlight:var(--grey200);--boxShadowHover:0 3px 3px #cbd5e0;--colorDisabled:var(--grey400);--colorPrimary:#3d5afe;--colorPrimary50:#8187ff;--colorPrimary200:#0031ca;--colorScaffoldingHighlight:var(--grey400);--colorScaffoldingForeground:var(--grey600);--tableBorderColor:var(--grey400);--textColorPrimary:#17171b;--textColorInverted:#fff;--textColorSecondary:#718096;--textColorDisabled:#cbd5e0;--tooltipBackground:rgba(0,0,0,.85);--zIndexDefault:0;--zIndexLow:10;--zIndexMid:100;--zIndexHigh:1000}[data-vtadmin-theme=dark]{--backgroundPrimary:#17171b;--backgroundPrimaryHighlight:rgba(129,135,255,.2);--backgroundSecondary:var(--grey900);--backgroundSecondaryHighlight:var(--grey800);--boxShadowHover:0 3px 3px #2d3748;--colorDisabled:var(--grey600);--colorPrimary:#8187ff;--colorPrimary50:#b6b7ff;--colorPrimary200:#4a5acb;--colorScaffoldingHighlight:var(--grey600);--colorScaffoldingForeground:var(--grey400);--tableBorderColor:var(--grey800);--textColorPrimary:#fff;--textColorInverted:#17171b;--textColorSecondary:#cbd5e0;--textColorDisabled:#2d3748;--tooltipBackground:hsla(0,0%,100%,.85)}*{box-sizing:border-box}html{font-size:62.5%}body{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;background:#fff;background:var(--backgroundPrimary);color:#17171b;color:var(--textColorPrimary);font-family:NotoSans,-apple-system,blinkmacsystemfont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,sans-serif;font-family:var(--fontFamilyPrimary);font-size:1.4rem;line-height:1.36;line-height:var(--lineHeightBody);margin:0}h1{font-size:3.6rem}h1,h2{color:#17171b;color:var(--textColorPrimary);font-weight:700;line-height:1.36;line-height:var(--lineHeightHeading)}h2{font-size:2.8rem}h3{color:#17171b;color:var(--textColorPrimary);font-size:2rem;font-weight:700;line-height:1.36;line-height:var(--lineHeightHeading)}code{display:inline-block;font-family:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace;font-family:var(--fontFamilyMonospace);margin:0 2px}p{margin:1.2rem 0}a,a:active,a:focus,a:visited{color:#3d5afe;color:var(--colorPrimary);cursor:pointer;text-decoration:none}table{border-collapse:collapse;margin:1.6rem 0;margin:var(--tableCellPadding) 0;width:100%}table caption{color:#17171b;color:var(--textColorPrimary);padding:1.2rem 1.6rem .8rem;padding:1.2rem var(--tableCellPadding) .8rem var(--tableCellPadding)}table caption,table th{background:#f8fafd;background:var(--backgroundSecondary);font-size:1.4rem;font-weight:500;text-align:left}table th{border:1px solid #f8fafd;border-bottom-color:#cbd5e0;border:1px solid var(--backgroundSecondary);border-bottom-color:var(--tableBorderColor);color:#718096;color:var(--textColorSecondary);padding:8px 1.6rem;padding:8px var(--tableCellPadding)}table tbody tr{border-bottom:1px solid #cbd5e0;border-bottom:1px solid var(--tableBorderColor);border-top:1px solid #cbd5e0;border-top:1px solid var(--tableBorderColor)}table tbody td{padding:1.6rem;padding:var(--tableCellPadding);vertical-align:top}table tbody td[rowSpan]{border-right:1px solid #cbd5e0;border-right:1px solid var(--tableBorderColor)}.Toastify__toast{background:none!important;min-height:auto!important;padding:0!important}.Toastify__toast-body{margin:0!important;padding:0!important}.Toastify__toast-theme--dark,.Toastify__toast-theme--light{background:none!important}.hover\:bg-gray-50:hover{--tw-bg-opacity:1;background-color:rgb(249 250 251/var(--tw-bg-opacity))}.hover\:bg-gray-100:hover{--tw-bg-opacity:1;background-color:rgb(243 243 243/var(--tw-bg-opacity))}.focus\:z-10:focus{z-index:10}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus\:ring-2:focus{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),0 0 #0000;box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus\:ring-indigo-500:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(99 102 241/var(--tw-ring-opacity))}.focus\:ring-offset-2:focus{--tw-ring-offset-width:2px}.focus\:ring-offset-gray-100:focus{--tw-ring-offset-color:#f3f3f3}@media (min-width:640px){.sm\:my-8{margin-bottom:2rem;margin-top:2rem}.sm\:mx-0{margin-left:0;margin-right:0}.sm\:mt-0{margin-top:0}.sm\:block{display:block}.sm\:inline-block{display:inline-block}.sm\:flex{display:flex}.sm\:h-screen{height:100vh}.sm\:h-10{height:2.5rem}.sm\:w-full{width:100%}.sm\:w-10{width:2.5rem}.sm\:max-w-lg{max-width:32rem}.sm\:translate-y-0{--tw-translate-y:0px}.sm\:scale-95,.sm\:translate-y-0{-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:scale-95{--tw-scale-x:.95;--tw-scale-y:.95}.sm\:scale-100{--tw-scale-x:1;--tw-scale-y:1;-webkit-transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm\:flex-row-reverse{flex-direction:row-reverse}.sm\:items-start{align-items:flex-start}.sm\:p-0{padding:0}.sm\:py-8{padding-bottom:2rem;padding-top:2rem}.sm\:px-6{padding-left:1.5rem;padding-right:1.5rem}.sm\:text-left{text-align:left}.sm\:align-middle{vertical-align:middle}}@media (min-width:768px){.md\:-left-3full{left:-300%}}.highcharts-container{-webkit-tap-highlight-color:rgba(0,0,0,0);font-family:Lucida Grande,Lucida Sans Unicode,Arial,Helvetica,sans-serif;font-size:12px;height:100%;line-height:normal;outline:none;overflow:hidden;position:relative;text-align:left;touch-action:manipulation;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:100%;z-index:0}.highcharts-root{display:block}.highcharts-root text{stroke-width:0}.highcharts-strong{font-weight:700}.highcharts-emphasized{font-style:italic}.highcharts-anchor{cursor:pointer}.highcharts-background{fill:#fff}.highcharts-label-box,.highcharts-plot-background,.highcharts-plot-border{fill:none}.highcharts-button-box{fill:inherit}.highcharts-tracker-line{stroke-linejoin:round;stroke:hsla(0,0%,75%,0);stroke-width:22;fill:none}.highcharts-tracker-area{fill:hsla(0,0%,75%,0);stroke-width:0}.highcharts-title{fill:#333;font-size:1.5em}.highcharts-subtitle{fill:#666;font-size:1em}.highcharts-axis-line{fill:none;stroke:#ccd6eb}.highcharts-yaxis .highcharts-axis-line{stroke-width:0}.highcharts-axis-title{fill:#666}.highcharts-axis-labels{fill:#666;cursor:default;font-size:.9em}.highcharts-grid-line{fill:none;stroke:#e6e6e6}.highcharts-xaxis-grid .highcharts-grid-line{stroke-width:0px}.highcharts-tick{stroke:#ccd6eb}.highcharts-yaxis .highcharts-tick{stroke-width:0}.highcharts-minor-grid-line{stroke:#f2f2f2}.highcharts-crosshair-thin{stroke-width:1px;stroke:#ccc}.highcharts-crosshair-category{stroke:#ccd6eb;stroke-opacity:.25}.highcharts-credits{fill:#999;cursor:pointer;font-size:.7em;transition:fill .25s,font-size .25s}.highcharts-credits:hover{fill:#000;font-size:1em}.highcharts-tooltip{cursor:default;pointer-events:none;transition:stroke .15s;white-space:nowrap}.highcharts-tooltip text{fill:#333}.highcharts-tooltip .highcharts-header{font-size:.85em}.highcharts-tooltip-box{stroke-width:1px}.highcharts-tooltip-box,.highcharts-tooltip-box .highcharts-label-box{fill:#f7f7f7;fill-opacity:.85}div.highcharts-tooltip{-webkit-filter:none;filter:none}.highcharts-selection-marker{fill:#335cad;fill-opacity:.25}.highcharts-graph{fill:none;stroke-width:2px;stroke-linecap:round;stroke-linejoin:round}.highcharts-empty-series{stroke-width:1px;fill:none;stroke:#ccc}.highcharts-state-hover .highcharts-graph{stroke-width:3}.highcharts-point-inactive,.highcharts-series-inactive{opacity:.2;transition:opacity 50ms}.highcharts-state-hover path{transition:stroke-width 50ms}.highcharts-state-normal path{transition:stroke-width .25s}.highcharts-data-labels,.highcharts-markers,.highcharts-point,g.highcharts-series{transition:opacity .25s}.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover),.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover){opacity:.2}.highcharts-color-0{fill:#8187ff;stroke:#8187ff}.highcharts-color-1{fill:#b17ff5;stroke:#b17ff5}.highcharts-color-2{fill:#d676e5;stroke:#d676e5}.highcharts-color-3{fill:#f26fd1;stroke:#f26fd1}.highcharts-color-4{fill:#ff6bbb;stroke:#ff6bbb}.highcharts-color-5{fill:#ff6ca3;stroke:#ff6ca3}.highcharts-color-6{fill:#ff738c;stroke:#ff738c}.highcharts-color-7{fill:#ff7e75;stroke:#ff7e75}.highcharts-color-8{fill:#ff8c60;stroke:#ff8c60}.highcharts-color-9{fill:#ff9b4e;stroke:#ff9b4e}.highcharts-color-10{fill:#ffab40;stroke:#ffab40}.highcharts-area{fill-opacity:.75;stroke-width:0}.highcharts-markers{stroke-width:1px;stroke:#fff}.highcharts-a11y-marker-hidden,.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible){opacity:0}.highcharts-point{stroke-width:1px}.highcharts-dense-data .highcharts-point{stroke-width:0}.highcharts-data-label{font-size:.9em;font-weight:700}.highcharts-data-label-box{fill:none;stroke-width:0}.highcharts-data-label text,text.highcharts-data-label{fill:#333}.highcharts-data-label-connector{fill:none}.highcharts-data-label-hidden{pointer-events:none}.highcharts-halo{fill-opacity:.25;stroke-width:0}.highcharts-markers .highcharts-point-select,.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select{fill:#ccc;stroke:#000}.highcharts-column-series rect.highcharts-point{stroke:#fff}.highcharts-column-series .highcharts-point{transition:fill-opacity .25s}.highcharts-column-series .highcharts-point-hover{fill-opacity:.75;transition:fill-opacity 50ms}.highcharts-pie-series .highcharts-point{stroke-linejoin:round;stroke:#fff}.highcharts-pie-series .highcharts-point-hover{fill-opacity:.75;transition:fill-opacity 50ms}.highcharts-funnel-series .highcharts-point{stroke-linejoin:round;stroke:#fff}.highcharts-funnel-series .highcharts-point-hover{fill-opacity:.75;transition:fill-opacity 50ms}.highcharts-funnel-series .highcharts-point-select{fill:inherit;stroke:inherit}.highcharts-pyramid-series .highcharts-point{stroke-linejoin:round;stroke:#fff}.highcharts-pyramid-series .highcharts-point-hover{fill-opacity:.75;transition:fill-opacity 50ms}.highcharts-pyramid-series .highcharts-point-select{fill:inherit;stroke:inherit}.highcharts-solidgauge-series .highcharts-point{stroke-width:0}.highcharts-treemap-series .highcharts-point{stroke-width:1px;stroke:#e6e6e6;transition:stroke .25s,fill .25s,fill-opacity .25s}.highcharts-treemap-series .highcharts-point-hover{stroke:#999;transition:stroke 25ms,fill 25ms,fill-opacity 25ms}.highcharts-treemap-series .highcharts-above-level{display:none}.highcharts-treemap-series .highcharts-internal-node{fill:none}.highcharts-treemap-series .highcharts-internal-node-interactive{fill-opacity:.15;cursor:pointer}.highcharts-treemap-series .highcharts-internal-node-interactive:hover{fill-opacity:.75}.highcharts-vector-series .highcharts-point,.highcharts-windbarb-series .highcharts-point{fill:none;stroke-width:2px}.highcharts-lollipop-stem{stroke:#000}.highcharts-focus-border{fill:none;stroke-width:2px}.highcharts-legend-item-hidden .highcharts-focus-border{fill:none!important}.highcharts-legend-box{fill:none;stroke-width:0}.highcharts-legend-item>text{fill:#333;stroke-width:0;cursor:pointer;font-size:1em;font-weight:700}.highcharts-legend-item:hover text{fill:#000}.highcharts-legend-item-hidden *{fill:#ccc!important;stroke:#ccc!important;transition:fill .25s}.highcharts-legend-nav-active{fill:#039;cursor:pointer}.highcharts-legend-nav-inactive{fill:#ccc}circle.highcharts-legend-nav-active,circle.highcharts-legend-nav-inactive{fill:hsla(0,0%,75%,0)}.highcharts-legend-title-box{fill:none;stroke-width:0}.highcharts-bubble-legend-symbol{stroke-width:2;fill-opacity:.5}.highcharts-bubble-legend-connectors{stroke-width:1}.highcharts-bubble-legend-labels{fill:#333}.highcharts-loading{background-color:#fff;opacity:.5;position:absolute;text-align:center;transition:opacity .25s;z-index:10}.highcharts-loading-hidden{height:0!important;opacity:0;overflow:hidden;transition:opacity .25s,height .25s step-end}.highcharts-loading-inner{font-weight:700;position:relative;top:45%}.highcharts-pane,.highcharts-plot-band{fill:#000;fill-opacity:.05}.highcharts-plot-line{fill:none;stroke:#999;stroke-width:1px}.highcharts-boxplot-box{fill:#fff}.highcharts-boxplot-median{stroke-width:2px}.highcharts-bubble-series .highcharts-point{fill-opacity:.5}.highcharts-errorbar-series .highcharts-point{stroke:#000}.highcharts-gauge-series .highcharts-data-label-box{stroke:#ccc;stroke-width:1px}.highcharts-gauge-series .highcharts-dial{fill:#000;stroke-width:0}.highcharts-polygon-series .highcharts-graph{fill:inherit;stroke-width:0}.highcharts-waterfall-series .highcharts-graph{stroke:#333;stroke-dasharray:1,3}.highcharts-sankey-series .highcharts-point{stroke-width:0}.highcharts-sankey-series .highcharts-link{fill-opacity:.5;transition:fill .25s,fill-opacity .25s}.highcharts-sankey-series .highcharts-point-hover.highcharts-link{fill-opacity:1;transition:fill 50ms,fill-opacity 50ms}.highcharts-venn-series .highcharts-point{fill-opacity:.75;stroke:#ccc;transition:stroke .25s,fill-opacity .25s}.highcharts-venn-series .highcharts-point-hover{fill-opacity:1;stroke:#ccc}.highcharts-navigator-mask-outside{fill-opacity:0}.highcharts-navigator-mask-inside{fill:#6685c2;fill-opacity:.25;cursor:ew-resize}.highcharts-navigator-outline{stroke:#ccc;fill:none}.highcharts-navigator-handle{stroke:#ccc;fill:#f2f2f2;cursor:ew-resize}.highcharts-navigator-series{fill:#335cad;stroke:#335cad}.highcharts-navigator-series .highcharts-graph{stroke-width:1px}.highcharts-navigator-series .highcharts-area{fill-opacity:.05}.highcharts-navigator-xaxis .highcharts-axis-line{stroke-width:0}.highcharts-navigator-xaxis .highcharts-grid-line{stroke-width:1px;stroke:#e6e6e6}.highcharts-navigator-xaxis.highcharts-axis-labels{fill:#999}.highcharts-navigator-yaxis .highcharts-grid-line{stroke-width:0}.highcharts-scrollbar-thumb{fill:#ccc;stroke:#ccc;stroke-width:1px}.highcharts-scrollbar-button{fill:#e6e6e6;stroke:#ccc;stroke-width:1px}.highcharts-scrollbar-arrow{fill:#666}.highcharts-scrollbar-rifles{stroke:#666;stroke-width:1px}.highcharts-scrollbar-track{fill:#f2f2f2;stroke:#f2f2f2;stroke-width:1px}.highcharts-button{fill:#f7f7f7;stroke:#ccc;stroke-width:1px;cursor:default;transition:fill .25s}.highcharts-button text{fill:#333}.highcharts-button-hover{fill:#e6e6e6;stroke:#ccc;transition:fill 0ms}.highcharts-button-hover text{fill:#333}.highcharts-button-pressed{fill:#e6ebf5;stroke:#ccc;font-weight:700}.highcharts-button-pressed text{fill:#333;font-weight:700}.highcharts-button-disabled text{fill:#333}.highcharts-range-selector-buttons .highcharts-button{stroke-width:0px}.highcharts-range-label rect{fill:none}.highcharts-range-label text{fill:#666}.highcharts-range-input rect{fill:none}.highcharts-range-input text{fill:#333}.highcharts-range-input{stroke-width:1px;stroke:#ccc}input.highcharts-range-selector{border:0;height:1px;left:-9em;padding:0;position:absolute;text-align:center;width:1px}.highcharts-crosshair-label text{fill:#fff;font-size:1.1em}.highcharts-crosshair-label .highcharts-label-box{fill:inherit}.highcharts-candlestick-series .highcharts-point{stroke:#000;stroke-width:1px}.highcharts-candlestick-series .highcharts-point-up{fill:#fff}.highcharts-hollowcandlestick-series .highcharts-point-down{fill:#f21313;stroke:#f21313}.highcharts-hollowcandlestick-series .highcharts-point-down-bearish-up{fill:#06b535;stroke:#06b535}.highcharts-hollowcandlestick-series .highcharts-point-up{fill:transparent;stroke:#06b535}.highcharts-ohlc-series .highcharts-point-hover{stroke-width:3px}.highcharts-flags-series .highcharts-point .highcharts-label-box{stroke:#999;fill:#fff;transition:fill .25s}.highcharts-flags-series .highcharts-point-hover .highcharts-label-box{stroke:#000;fill:#ccd6eb}.highcharts-flags-series .highcharts-point text{fill:#000;font-size:.9em;font-weight:700}.highcharts-map-series .highcharts-point{stroke:#ccc;transition:fill .5s,fill-opacity .5s,stroke-width .25s}.highcharts-map-series .highcharts-point-hover{fill-opacity:.5;stroke-width:2px;transition:fill 0ms,fill-opacity 0ms}.highcharts-mapline-series .highcharts-point{fill:none}.highcharts-heatmap-series .highcharts-point{stroke-width:0}.highcharts-map-navigation{font-size:1.3em;font-weight:700;text-align:center}.highcharts-coloraxis{stroke-width:0}.highcharts-coloraxis-marker{fill:#999}.highcharts-null-point{fill:#f7f7f7}.highcharts-3d-frame{fill:transparent}.highcharts-contextbutton{fill:#fff;stroke:none;stroke-linecap:round}.highcharts-contextbutton:hover{fill:#e6e6e6;stroke:#e6e6e6}.highcharts-button-symbol{stroke:#666;stroke-width:3px}.highcharts-menu{background:#fff;border:1px solid #999;box-shadow:3px 3px 10px #888;padding:5px 0}.highcharts-menu-item{background:none;color:#333;cursor:pointer;padding:.5em 1em;transition:background .25s,color .25s}.highcharts-menu-item:hover{background:#335cad;color:#fff}.highcharts-drilldown-point{cursor:pointer}.highcharts-drilldown-axis-label,.highcharts-drilldown-data-label text,text.highcharts-drilldown-data-label{fill:#039;cursor:pointer;font-weight:700;text-decoration:underline}.highcharts-no-data text{fill:#666;font-size:12px;font-weight:700}.highcharts-axis-resizer{stroke:#000;stroke-width:2px;cursor:ns-resize}.highcharts-bullet-target{stroke-width:0}.highcharts-lineargauge-target,.highcharts-lineargauge-target-line{stroke-width:1px;stroke:#333}.highcharts-annotation-label-box{stroke-width:1px;stroke:#000;fill:#000;fill-opacity:.75}.highcharts-annotation-label text{fill:#e6e6e6}.highcharts-a11y-proxy-button{background-color:transparent;border-width:0;cursor:pointer;display:block;margin:0;opacity:.001;outline:none;overflow:hidden;padding:0;position:absolute;z-index:999}.highcharts-a11y-proxy-group li{list-style:none}.highcharts-visually-hidden{clip:rect(1px,1px,1px,1px);height:1px;margin-top:-3px;opacity:.01;overflow:hidden;position:absolute;white-space:nowrap;width:1px}.highcharts-a11y-invisible{visibility:hidden}.highcharts-a11y-proxy-container,.highcharts-a11y-proxy-container-after,.highcharts-a11y-proxy-container-before{position:absolute;white-space:nowrap}.highcharts-markers,.highcharts-point,g.highcharts-series{outline:none}.highcharts-treegrid-node-collapsed,.highcharts-treegrid-node-expanded{cursor:pointer}.highcharts-point-connecting-path{fill:none}.highcharts-grid-axis .highcharts-axis-line,.highcharts-grid-axis .highcharts-tick{stroke-width:1px}.highcharts-axis-labels,.highcharts-axis-title{fill:var(--textColorSecondary)}.highcharts-background{fill:none}.highcharts-grid-line{stroke:var(--backgroundPrimaryHighlight)}.highcharts-legend-item text{fill:var(--textColorPrimary)}.highcharts-line-series .highcharts-graph{stroke-width:1px;transition:stroke-width .2s}.highcharts-loading-inner{color:var(--textColorSecondary);font-family:var(--fontFamilyPrimary);font-size:1.6rem;font-weight:500}.highcharts-series-hover .highcharts-graph{transition:stroke-width 50ms ease-in-out}.highcharts-line-series.highcharts-series-hover .highcharts-graph{stroke-width:2px}.highcharts-root{font-family:var(--fontFamilyMonospace)}.highcharts-title{font-family:var(--fontFamilyPrimary);font-weight:700}.highcharts-tooltip{stroke:none}.highcharts-tooltip text{fill:#fff}.highcharts-tooltip-box{fill:rgba(0,0,0,.85);fill-opacity:.95}.highcharts-xaxis-grid .highcharts-grid-line,.highcharts-yaxis-grid .highcharts-grid-line{stroke-width:1px}.App_container__OEQI9{display:grid;grid-template-areas:"nav content";grid-template-columns:240px auto;grid-template-rows:auto;height:100vh;overflow:hidden;position:relative;width:100vw}.App_navContainer__VqVi4{grid-area:nav;height:100vh}.App_mainContainer__uSNwf{grid-area:content;overflow:auto}.PaginationNav_links__STZLw{display:flex;list-style-type:none;margin:0;padding:0}.PaginationNav_placeholder__zn19m,a.PaginationNav_link__hWr3T{border:1px solid var(--backgroundPrimaryHighlight);border-radius:6px;color:var(--textColorSecondary);display:block;line-height:36px;margin-right:8px;text-align:center;width:36px}a.PaginationNav_link__hWr3T{cursor:pointer;text-decoration:none}a.PaginationNav_link__hWr3T:hover{border-color:var(--colorPrimary)}a.PaginationNav_link__hWr3T.PaginationNav_activeLink__v6k8R{border-color:var(--colorPrimary);color:var(--colorPrimary)}.PaginationNav_placeholder__zn19m:before{content:"..."}.Pip_pip__fcvAP{background:var(--colorDisabled);border-radius:100rem;display:inline-block;height:1rem;width:1rem}.Pip_pip__fcvAP.Pip_success__BamVO{background:var(--colorSuccess50)}.Pip_pip__fcvAP.Pip_primary__0ZFBk{background:var(--colorPrimary50)}.Pip_pip__fcvAP.Pip_warning__lz1v2{background:var(--colorInfo50)}.Pip_pip__fcvAP.Pip_danger__2WPKP{background:var(--colorError50)}.WorkspaceHeader_header__dX4c9{margin-bottom:16px;padding:24px}h1.WorkspaceTitle_title__wYY3S{font-size:2.8rem;margin:0}.TextInput_inputContainer__d77He{display:block;position:relative}.TextInput_input__wW3mW{background:var(--backgroundPrimary);border:2px solid var(--colorDisabled);border-radius:6px;box-sizing:border-box;color:var(--textColorPrimary);display:block;font-family:var(--fontFamilyPrimary);font-size:var(--fontSizeBody);height:var(--inputHeightMedium);line-height:var(--inputHeightMedium);padding:0 12px;transition:all .1s ease-in-out;width:100%}.TextInput_input__wW3mW:disabled{background:var(--backgroundSecondary);border-color:var(--backgroundSecondaryHighlight);cursor:not-allowed}.TextInput_input__wW3mW.TextInput_large__C1l6x{font-size:1.6rem;height:var(--inputHeightLarge);line-height:var(--inputHeightLarge);padding:0 16px}.TextInput_input__wW3mW.TextInput_withIconLeft__Ur2z-{padding-left:3.2rem}.TextInput_input__wW3mW.TextInput_withIconLeft__Ur2z-.TextInput_large__C1l6x{padding-left:4.2rem}.TextInput_input__wW3mW.TextInput_withIconRight__1AQfP{padding-right:3.2rem}.TextInput_input__wW3mW.TextInput_withIconRight__1AQfP.TextInput_large__C1l6x{padding-right:4.2rem}.TextInput_icon__OlVqe,.TextInput_iconLeft__1y\+LG,.TextInput_iconRight__LWQpv{fill:var(--grey600);height:1.6rem;margin-top:-.8rem;position:absolute;top:50%;width:1.6rem}.TextInput_iconLeft__1y\+LG{left:1.2rem}.TextInput_iconRight__LWQpv{right:1.2rem}.TextInput_large__C1l6x~.TextInput_icon__OlVqe,.TextInput_large__C1l6x~.TextInput_iconLeft__1y\+LG,.TextInput_large__C1l6x~.TextInput_iconRight__LWQpv{height:2.2rem;margin-top:-1.1rem;width:2.2rem}.TextInput_large__C1l6x~.TextInput_iconLeft__1y\+LG{left:1.6rem}.TextInput_large__C1l6x~.TextInput_iconRight__LWQpv{right:1.6rem}.TextInput_input__wW3mW:focus{border-color:var(--colorPrimary);outline:none}.TextInput_input__wW3mW:focus~.TextInput_icon__OlVqe,.TextInput_input__wW3mW:focus~.TextInput_iconLeft__1y\+LG,.TextInput_input__wW3mW:focus~.TextInput_iconRight__LWQpv{fill:var(--colorPrimary)}.TextInput_input__wW3mW:disabled~.TextInput_icon__OlVqe,.TextInput_input__wW3mW:disabled~.TextInput_iconLeft__1y\+LG,.TextInput_input__wW3mW:disabled~.TextInput_iconRight__LWQpv{fill:var(--colorDisabled)}.DataFilter_controls__rE5vo{grid-gap:8px;display:grid;grid-template-columns:1fr -webkit-min-content;grid-template-columns:1fr min-content;margin-bottom:24px;max-width:720px}.Dropdown_topLeft__FnFhF{bottom:calc(100% + 1em);right:0}.Dropdown_topRight__2S1Hd{bottom:calc(100% + 1em);left:0}.Label_label__T7Bv5{font-weight:700;line-height:3.2rem}.Select_container__OKYk-{display:inline-block;position:relative}.Select_toggle__DRDXF{background:var(--backgroundPrimary);border:2px solid var(--colorDisabled);border-radius:6px;box-sizing:border-box;color:var(--textColorPrimary);cursor:pointer;display:block;font-family:var(--fontFamilyPrimary);font-size:var(--fontSizeBody);height:var(--inputHeightMedium);min-width:16rem;padding:0 40px 0 12px;position:relative;text-align:left;transition:all .1s ease-in-out;white-space:nowrap}.Select_placeholder__QhAD0 .Select_toggle__DRDXF{color:var(--textColorSecondary)}.Select_open__sJGPM .Select_toggle__DRDXF,.Select_toggle__DRDXF:active,.Select_toggle__DRDXF:focus{border-color:var(--colorPrimary);outline:none}.Select_toggle__DRDXF:disabled{background:var(--backgroundSecondary);border-color:var(--backgroundSecondaryHighlight);color:var(--textColorSecondary);cursor:not-allowed}.Select_large__IOKdp .Select_toggle__DRDXF{font-size:1.6rem;height:var(--inputHeightLarge);min-width:24rem;padding:0 16px}.Select_chevron__IqIsI{height:20px;position:absolute;right:4px;top:calc(50% - 10px)}.Select_dropdown__NdlfX{background:var(--backgroundPrimary);border:2px solid var(--colorDisabled);border-radius:6px;box-sizing:border-box;height:-webkit-min-content;height:min-content;margin:4px 0 0;max-height:420px;min-width:100%;outline:none;overflow:auto;padding:8px 0;position:absolute;z-index:1000}.Select_menu__q1\+c2{list-style-type:none;margin:0;outline:none;padding:0}.Select_menu__q1\+c2 li{line-height:32px;padding:4px 12px}.Select_menu__q1\+c2 li:hover{cursor:pointer}.Select_menu__q1\+c2 li.Select_active__C4vwZ,.Select_menu__q1\+c2 li:hover{background:var(--backgroundPrimaryHighlight)}.Select_large__IOKdp .Select_menu__q1\+c2 li{font-size:1.6rem;min-width:24rem;padding:8px 16px}.Select_clear__Czt-2{background:none;border:none;box-sizing:border-box;color:var(--textColorSecondary);cursor:pointer;display:block;font-family:var(--fontFamilyPrimary);font-size:var(--fontSizeBody);min-width:16rem;padding:4px 12px;position:relative;text-align:left;transition:all .1s ease-in-out;white-space:nowrap;width:100%}.Select_clear__Czt-2:active,.Select_clear__Czt-2:focus,.Select_clear__Czt-2:hover{background:var(--backgroundPrimaryHighlight)}.Select_large__IOKdp .Select_clear__Czt-2{font-size:1.6rem;padding:8px 16px}.Select_emptyContainer__RM9cc{outline:none;padding:8px 12px}.Select_emptyPlaceholder__YU3JL{color:var(--textColorSecondary)}:root{--toastify-color-light:#fff;--toastify-color-dark:#121212;--toastify-color-info:#3498db;--toastify-color-success:#07bc0c;--toastify-color-warning:#f1c40f;--toastify-color-error:#e74c3c;--toastify-color-transparent:hsla(0,0%,100%,.7);--toastify-icon-color-info:var(--toastify-color-info);--toastify-icon-color-success:var(--toastify-color-success);--toastify-icon-color-warning:var(--toastify-color-warning);--toastify-icon-color-error:var(--toastify-color-error);--toastify-toast-width:320px;--toastify-toast-background:#fff;--toastify-toast-min-height:64px;--toastify-toast-max-height:800px;--toastify-font-family:sans-serif;--toastify-z-index:9999;--toastify-text-color-light:#757575;--toastify-text-color-dark:#fff;--toastify-text-color-info:#fff;--toastify-text-color-success:#fff;--toastify-text-color-warning:#fff;--toastify-text-color-error:#fff;--toastify-spinner-color:#616161;--toastify-spinner-color-empty-area:#e0e0e0;--toastify-color-progress-light:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);--toastify-color-progress-dark:#bb86fc;--toastify-color-progress-info:var(--toastify-color-info);--toastify-color-progress-success:var(--toastify-color-success);--toastify-color-progress-warning:var(--toastify-color-warning);--toastify-color-progress-error:var(--toastify-color-error)}.Toastify__toast-container{box-sizing:border-box;color:#fff;padding:4px;position:fixed;-webkit-transform:translate3d(0,0,9999 px);-webkit-transform:translate3d(0,0,var(--toastify-z-index) px);width:320px;width:var(--toastify-toast-width);z-index:9999;z-index:var(--toastify-z-index)}.Toastify__toast-container--top-left{left:1em;top:1em}.Toastify__toast-container--top-center{left:50%;top:1em;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.Toastify__toast-container--top-right{right:1em;top:1em}.Toastify__toast-container--bottom-left{bottom:1em;left:1em}.Toastify__toast-container--bottom-center{bottom:1em;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.Toastify__toast-container--bottom-right{bottom:1em;right:1em}@media only screen and (max-width:480px){.Toastify__toast-container{left:0;margin:0;padding:0;width:100vw}.Toastify__toast-container--top-center,.Toastify__toast-container--top-left,.Toastify__toast-container--top-right{top:0;-webkit-transform:translateX(0);transform:translateX(0)}.Toastify__toast-container--bottom-center,.Toastify__toast-container--bottom-left,.Toastify__toast-container--bottom-right{bottom:0;-webkit-transform:translateX(0);transform:translateX(0)}.Toastify__toast-container--rtl{left:auto;right:0}}.Toastify__toast{border-radius:4px;box-shadow:0 1px 10px 0 rgba(0,0,0,.1),0 2px 15px 0 rgba(0,0,0,.05);box-sizing:border-box;cursor:pointer;direction:ltr;display:flex;font-family:sans-serif;font-family:var(--toastify-font-family);justify-content:space-between;margin-bottom:1rem;max-height:800px;max-height:var(--toastify-toast-max-height);min-height:64px;min-height:var(--toastify-toast-min-height);overflow:hidden;padding:8px;position:relative}.Toastify__toast--rtl{direction:rtl}.Toastify__toast-body{align-items:center;display:flex;flex:1 1 auto;margin:auto 0;padding:6px}.Toastify__toast-body>div:last-child{flex:1 1}.Toastify__toast-icon{-webkit-margin-end:10px;display:flex;flex-shrink:0;margin-inline-end:10px;width:20px}.Toastify--animate{-webkit-animation-duration:.7s;animation-duration:.7s;-webkit-animation-fill-mode:both;animation-fill-mode:both}.Toastify--animate-icon{-webkit-animation-duration:.3s;animation-duration:.3s;-webkit-animation-fill-mode:both;animation-fill-mode:both}@media only screen and (max-width:480px){.Toastify__toast{border-radius:0;margin-bottom:0}}.Toastify__toast-theme--dark{background:#121212;background:var(--toastify-color-dark);color:#fff;color:var(--toastify-text-color-dark)}.Toastify__toast-theme--colored.Toastify__toast--default,.Toastify__toast-theme--light{background:#fff;background:var(--toastify-color-light);color:#757575;color:var(--toastify-text-color-light)}.Toastify__toast-theme--colored.Toastify__toast--info{background:#3498db;background:var(--toastify-color-info);color:#fff;color:var(--toastify-text-color-info)}.Toastify__toast-theme--colored.Toastify__toast--success{background:#07bc0c;background:var(--toastify-color-success);color:#fff;color:var(--toastify-text-color-success)}.Toastify__toast-theme--colored.Toastify__toast--warning{background:#f1c40f;background:var(--toastify-color-warning);color:#fff;color:var(--toastify-text-color-warning)}.Toastify__toast-theme--colored.Toastify__toast--error{background:#e74c3c;background:var(--toastify-color-error);color:#fff;color:var(--toastify-text-color-error)}.Toastify__progress-bar-theme--light{background:linear-gradient(90deg,#4cd964,#5ac8fa,#007aff,#34aadc,#5856d6,#ff2d55);background:var(--toastify-color-progress-light)}.Toastify__progress-bar-theme--dark{background:#bb86fc;background:var(--toastify-color-progress-dark)}.Toastify__progress-bar--info{background:#3498db;background:var(--toastify-color-progress-info)}.Toastify__progress-bar--success{background:#07bc0c;background:var(--toastify-color-progress-success)}.Toastify__progress-bar--warning{background:#f1c40f;background:var(--toastify-color-progress-warning)}.Toastify__progress-bar--error{background:#e74c3c;background:var(--toastify-color-progress-error)}.Toastify__progress-bar-theme--colored.Toastify__progress-bar--error,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--success,.Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning{background:hsla(0,0%,100%,.7);background:var(--toastify-color-transparent)}.Toastify__close-button{align-self:flex-start;background:transparent;border:none;color:#fff;cursor:pointer;opacity:.7;outline:none;padding:0;transition:.3s ease}.Toastify__close-button--light{color:#000;opacity:.3}.Toastify__close-button>svg{fill:currentColor;height:16px;width:14px}.Toastify__close-button:focus,.Toastify__close-button:hover{opacity:1}@-webkit-keyframes Toastify__trackProgress{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}to{-webkit-transform:scaleX(0);transform:scaleX(0)}}@keyframes Toastify__trackProgress{0%{-webkit-transform:scaleX(1);transform:scaleX(1)}to{-webkit-transform:scaleX(0);transform:scaleX(0)}}.Toastify__progress-bar{bottom:0;height:5px;left:0;opacity:.7;position:absolute;-webkit-transform-origin:left;transform-origin:left;width:100%;z-index:9999;z-index:var(--toastify-z-index)}.Toastify__progress-bar--animated{-webkit-animation:Toastify__trackProgress linear 1 forwards;animation:Toastify__trackProgress linear 1 forwards}.Toastify__progress-bar--controlled{transition:-webkit-transform .2s;transition:transform .2s;transition:transform .2s,-webkit-transform .2s}.Toastify__progress-bar--rtl{left:auto;right:0;-webkit-transform-origin:right;transform-origin:right}.Toastify__spinner{-webkit-animation:Toastify__spin .65s linear infinite;animation:Toastify__spin .65s linear infinite;border:2px solid #e0e0e0;border-color:var(--toastify-spinner-color-empty-area);border-radius:100%;border-right:2px solid var(--toastify-spinner-color);box-sizing:border-box;height:20px;width:20px}@-webkit-keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes Toastify__bounceInRight{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(3000px,0,0);transform:translate3d(3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(-25px,0,0);transform:translate3d(-25px,0,0)}75%{-webkit-transform:translate3d(10px,0,0);transform:translate3d(10px,0,0)}90%{-webkit-transform:translate3d(-5px,0,0);transform:translate3d(-5px,0,0)}to{-webkit-transform:none;transform:none}}@-webkit-keyframes Toastify__bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@keyframes Toastify__bounceOutRight{20%{opacity:1;-webkit-transform:translate3d(-20px,0,0);transform:translate3d(-20px,0,0)}to{opacity:0;-webkit-transform:translate3d(2000px,0,0);transform:translate3d(2000px,0,0)}}@-webkit-keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}@keyframes Toastify__bounceInLeft{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(-3000px,0,0);transform:translate3d(-3000px,0,0)}60%{opacity:1;-webkit-transform:translate3d(25px,0,0);transform:translate3d(25px,0,0)}75%{-webkit-transform:translate3d(-10px,0,0);transform:translate3d(-10px,0,0)}90%{-webkit-transform:translate3d(5px,0,0);transform:translate3d(5px,0,0)}to{-webkit-transform:none;transform:none}}@-webkit-keyframes Toastify__bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@keyframes Toastify__bounceOutLeft{20%{opacity:1;-webkit-transform:translate3d(20px,0,0);transform:translate3d(20px,0,0)}to{opacity:0;-webkit-transform:translate3d(-2000px,0,0);transform:translate3d(-2000px,0,0)}}@-webkit-keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__bounceInUp{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,3000px,0);transform:translate3d(0,3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}75%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}90%{-webkit-transform:translate3d(0,-5px,0);transform:translate3d(0,-5px,0)}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@keyframes Toastify__bounceOutUp{20%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,20px,0);transform:translate3d(0,20px,0)}to{opacity:0;-webkit-transform:translate3d(0,-2000px,0);transform:translate3d(0,-2000px,0)}}@-webkit-keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}@keyframes Toastify__bounceInDown{0%,60%,75%,90%,to{-webkit-animation-timing-function:cubic-bezier(.215,.61,.355,1);animation-timing-function:cubic-bezier(.215,.61,.355,1)}0%{opacity:0;-webkit-transform:translate3d(0,-3000px,0);transform:translate3d(0,-3000px,0)}60%{opacity:1;-webkit-transform:translate3d(0,25px,0);transform:translate3d(0,25px,0)}75%{-webkit-transform:translate3d(0,-10px,0);transform:translate3d(0,-10px,0)}90%{-webkit-transform:translate3d(0,5px,0);transform:translate3d(0,5px,0)}to{-webkit-transform:none;transform:none}}@-webkit-keyframes Toastify__bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}@keyframes Toastify__bounceOutDown{20%{-webkit-transform:translate3d(0,10px,0);transform:translate3d(0,10px,0)}40%,45%{opacity:1;-webkit-transform:translate3d(0,-20px,0);transform:translate3d(0,-20px,0)}to{opacity:0;-webkit-transform:translate3d(0,2000px,0);transform:translate3d(0,2000px,0)}}.Toastify__bounce-enter--bottom-left,.Toastify__bounce-enter--top-left{-webkit-animation-name:Toastify__bounceInLeft;animation-name:Toastify__bounceInLeft}.Toastify__bounce-enter--bottom-right,.Toastify__bounce-enter--top-right{-webkit-animation-name:Toastify__bounceInRight;animation-name:Toastify__bounceInRight}.Toastify__bounce-enter--top-center{-webkit-animation-name:Toastify__bounceInDown;animation-name:Toastify__bounceInDown}.Toastify__bounce-enter--bottom-center{-webkit-animation-name:Toastify__bounceInUp;animation-name:Toastify__bounceInUp}.Toastify__bounce-exit--bottom-left,.Toastify__bounce-exit--top-left{-webkit-animation-name:Toastify__bounceOutLeft;animation-name:Toastify__bounceOutLeft}.Toastify__bounce-exit--bottom-right,.Toastify__bounce-exit--top-right{-webkit-animation-name:Toastify__bounceOutRight;animation-name:Toastify__bounceOutRight}.Toastify__bounce-exit--top-center{-webkit-animation-name:Toastify__bounceOutUp;animation-name:Toastify__bounceOutUp}.Toastify__bounce-exit--bottom-center{-webkit-animation-name:Toastify__bounceOutDown;animation-name:Toastify__bounceOutDown}@-webkit-keyframes Toastify__zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@keyframes Toastify__zoomIn{0%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}50%{opacity:1}}@-webkit-keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}@keyframes Toastify__zoomOut{0%{opacity:1}50%{opacity:0;-webkit-transform:scale3d(.3,.3,.3);transform:scale3d(.3,.3,.3)}to{opacity:0}}.Toastify__zoom-enter{-webkit-animation-name:Toastify__zoomIn;animation-name:Toastify__zoomIn}.Toastify__zoom-exit{-webkit-animation-name:Toastify__zoomOut;animation-name:Toastify__zoomOut}@-webkit-keyframes Toastify__flipIn{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@keyframes Toastify__flipIn{0%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}40%{-webkit-animation-timing-function:ease-in;animation-timing-function:ease-in;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}60%{opacity:1;-webkit-transform:perspective(400px) rotateX(10deg);transform:perspective(400px) rotateX(10deg)}80%{-webkit-transform:perspective(400px) rotateX(-5deg);transform:perspective(400px) rotateX(-5deg)}to{-webkit-transform:perspective(400px);transform:perspective(400px)}}@-webkit-keyframes Toastify__flipOut{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{opacity:1;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}to{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}}@keyframes Toastify__flipOut{0%{-webkit-transform:perspective(400px);transform:perspective(400px)}30%{opacity:1;-webkit-transform:perspective(400px) rotateX(-20deg);transform:perspective(400px) rotateX(-20deg)}to{opacity:0;-webkit-transform:perspective(400px) rotateX(90deg);transform:perspective(400px) rotateX(90deg)}}.Toastify__flip-enter{-webkit-animation-name:Toastify__flipIn;animation-name:Toastify__flipIn}.Toastify__flip-exit{-webkit-animation-name:Toastify__flipOut;animation-name:Toastify__flipOut}@-webkit-keyframes Toastify__slideInRight{0%{-webkit-transform:translate3d(110%,0,0);transform:translate3d(110%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__slideInRight{0%{-webkit-transform:translate3d(110%,0,0);transform:translate3d(110%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInLeft{0%{-webkit-transform:translate3d(-110%,0,0);transform:translate3d(-110%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__slideInLeft{0%{-webkit-transform:translate3d(-110%,0,0);transform:translate3d(-110%,0,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInUp{0%{-webkit-transform:translate3d(0,110%,0);transform:translate3d(0,110%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__slideInUp{0%{-webkit-transform:translate3d(0,110%,0);transform:translate3d(0,110%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__slideInDown{0%{-webkit-transform:translate3d(0,-110%,0);transform:translate3d(0,-110%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@keyframes Toastify__slideInDown{0%{-webkit-transform:translate3d(0,-110%,0);transform:translate3d(0,-110%,0);visibility:visible}to{-webkit-transform:translateZ(0);transform:translateZ(0)}}@-webkit-keyframes Toastify__slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(110%,0,0);transform:translate3d(110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutRight{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(110%,0,0);transform:translate3d(110%,0,0);visibility:hidden}}@-webkit-keyframes Toastify__slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-110%,0,0);transform:translate3d(-110%,0,0);visibility:hidden}}@keyframes Toastify__slideOutLeft{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(-110%,0,0);transform:translate3d(-110%,0,0);visibility:hidden}}@-webkit-keyframes Toastify__slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,500px,0);transform:translate3d(0,500px,0);visibility:hidden}}@keyframes Toastify__slideOutDown{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,500px,0);transform:translate3d(0,500px,0);visibility:hidden}}@-webkit-keyframes Toastify__slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-500px,0);transform:translate3d(0,-500px,0);visibility:hidden}}@keyframes Toastify__slideOutUp{0%{-webkit-transform:translateZ(0);transform:translateZ(0)}to{-webkit-transform:translate3d(0,-500px,0);transform:translate3d(0,-500px,0);visibility:hidden}}.Toastify__slide-enter--bottom-left,.Toastify__slide-enter--top-left{-webkit-animation-name:Toastify__slideInLeft;animation-name:Toastify__slideInLeft}.Toastify__slide-enter--bottom-right,.Toastify__slide-enter--top-right{-webkit-animation-name:Toastify__slideInRight;animation-name:Toastify__slideInRight}.Toastify__slide-enter--top-center{-webkit-animation-name:Toastify__slideInDown;animation-name:Toastify__slideInDown}.Toastify__slide-enter--bottom-center{-webkit-animation-name:Toastify__slideInUp;animation-name:Toastify__slideInUp}.Toastify__slide-exit--bottom-left,.Toastify__slide-exit--top-left{-webkit-animation-name:Toastify__slideOutLeft;animation-name:Toastify__slideOutLeft}.Toastify__slide-exit--bottom-right,.Toastify__slide-exit--top-right{-webkit-animation-name:Toastify__slideOutRight;animation-name:Toastify__slideOutRight}.Toastify__slide-exit--top-center{-webkit-animation-name:Toastify__slideOutUp;animation-name:Toastify__slideOutUp}.Toastify__slide-exit--bottom-center{-webkit-animation-name:Toastify__slideOutDown;animation-name:Toastify__slideOutDown}@-webkit-keyframes Toastify__spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes Toastify__spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0deg)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}a.Tab_tab__MRIAU{background:var(--backgroundPrimary);border:1px solid transparent;border-top-left-radius:6px;border-top-right-radius:6px;color:var(--textColorSecondary);display:block;flex:0 0 auto;font-weight:500;line-height:1.6em;margin:0 .2em 0 0;min-width:7.2rem;padding:.8em 1.2em .5em;position:relative;white-space:nowrap}a.Tab_tab__MRIAU.Tab_active__Vh41C{border-bottom-color:var(--colorScaffoldingHighlight);border-color:var(--colorScaffoldingHighlight) var(--colorScaffoldingHighlight) var(--backgroundPrimary);color:var(--textColorPrimary);z-index:var(--zIndexLow)}a.Tab_tab__MRIAU .Tab_count__L1kpt{background-color:var(--backgroundSecondaryHighlight);border-radius:20px;color:var(--textColorSecondary);display:inline-block;font-size:.85em;line-height:1em;margin:0 0 0 .5em;padding:.5em .75em;vertical-align:baseline}a.Tab_tab__MRIAU:hover{color:var(--colorPrimary)}a.Tab_tab__MRIAU:hover .Tab_count__L1kpt{background-color:var(--backgroundPrimaryHighlight);color:var(--colorPrimary)}.Tab_pip__WZAvj{height:.5em;margin-right:.5em;vertical-align:middle;width:.5em}.TabContainer_tabContainer__wCvWd{display:flex;flex-direction:row;flex-wrap:nowrap;margin-bottom:.4em;min-width:100%;overflow-x:auto;position:relative}.TabContainer_tabContainer__wCvWd.TabContainer_small__DcYwd{font-size:1.2rem}.TabContainer_tabContainer__wCvWd.TabContainer_large__Yf-iA{font-size:1.6rem}.TabContainer_tabContainer__wCvWd:after{background:var(--colorScaffoldingHighlight);bottom:0;content:"";height:1px;position:absolute;width:100%}.Tooltip_tooltip__dtEKt{background:var(--tooltipBackground);border-radius:4px;color:var(--textColorInverted);font-family:var(--fontFamilyPrimary);font-size:1.2rem;margin:8px;max-width:24rem;padding:8px 12px;text-align:center}.Settings_container__vVqbe section{margin-bottom:64px}.Settings_buttonContainer__vfMj9{grid-column-gap:16px;grid-row-gap:24px;-webkit-column-gap:16px;column-gap:16px;display:grid;grid-template-columns:repeat(4,-webkit-min-content);grid-template-columns:repeat(4,min-content);row-gap:24px}.Settings_iconContainer__se2Pe{grid-column-gap:0;grid-row-gap:0;-webkit-column-gap:0;column-gap:0;display:grid;grid-template-columns:repeat(12,-webkit-min-content);grid-template-columns:repeat(12,min-content);row-gap:0}.Settings_icon__VX4qm{fill:var(--colorPrimary);box-sizing:unset;padding:16px;transition:fill .1s ease-in-out}.Settings_icon__VX4qm:hover{fill:var(--colorPrimary200);background:var(--backgroundSecondaryHighlight)}.Settings_inputContainer__6hpak{grid-row-gap:16px;display:grid;grid-template-columns:100%;max-width:640px;row-gap:16px}.Settings_inputRow__NRvZh{grid-column-gap:8px;-webkit-column-gap:8px;column-gap:8px;display:grid;grid-template-columns:1fr -webkit-min-content -webkit-min-content;grid-template-columns:1fr min-content min-content;max-width:100%}.Settings_dropdownContainer__Mnvp7{grid-gap:8px;display:grid}.Settings_dropdownRow__u2wNT{grid-gap:8px;display:grid;grid-template-columns:repeat(4,-webkit-min-content);grid-template-columns:repeat(4,min-content)}.Settings_tabContainer__OcytH{margin:2.4rem 0}.Settings_danger__sSwKc div:first-child{--tw-bg-opacity:1;background-color:rgb(211 47 47/var(--tw-bg-opacity))}.Settings_danger__sSwKc:after{content:"danger"}.Settings_danger50__m-Gwx div:first-child{--tw-bg-opacity:1;background-color:rgb(255 102 89/var(--tw-bg-opacity))}.Settings_danger50__m-Gwx:after{content:"danger-50"}.Settings_danger200__5POhG div:first-child{--tw-bg-opacity:1;background-color:rgb(154 0 7/var(--tw-bg-opacity))}.Settings_danger200__5POhG:after{content:"danger-200"}.Settings_success__PFFZe div:first-child{--tw-bg-opacity:1;background-color:rgb(0 137 62/var(--tw-bg-opacity))}.Settings_success__PFFZe:after{content:"success"}.Settings_success50__s4fwq div:first-child{--tw-bg-opacity:1;background-color:rgb(76 186 106/var(--tw-bg-opacity))}.Settings_success50__s4fwq:after{content:"success-50"}.Settings_success200__\+ked1 div:first-child{--tw-bg-opacity:1;background-color:rgb(0 90 19/var(--tw-bg-opacity))}.Settings_success200__\+ked1:after{content:"success-200"}.Settings_warning__uwDmJ div:first-child{--tw-bg-opacity:1;background-color:rgb(255 171 64/var(--tw-bg-opacity))}.Settings_warning__uwDmJ:after{content:"warning"}.Settings_warning50__qg\+JJ div:first-child{--tw-bg-opacity:1;background-color:rgb(255 221 113/var(--tw-bg-opacity))}.Settings_warning50__qg\+JJ:after{content:"warning50"}.Settings_warning200__foDNb div:first-child{--tw-bg-opacity:1;background-color:rgb(199 124 2/var(--tw-bg-opacity))}.Settings_warning200__foDNb:after{content:"warning-200"}.Settings_vtblue__ByM9l div:first-child{--tw-bg-opacity:1;background-color:rgb(61 90 254/var(--tw-bg-opacity))}.Settings_vtblue__ByM9l:after{content:"vtblue"}.Settings_vtblue50__4dIvA div:first-child{--tw-bg-opacity:1;background-color:rgb(129 135 255/var(--tw-bg-opacity))}.Settings_vtblue50__4dIvA:after{content:"vtblue-50"}.Settings_vtblue200__0coJO div:first-child{--tw-bg-opacity:1;background-color:rgb(0 49 202/var(--tw-bg-opacity))}.Settings_vtblue200__0coJO:after{content:"vtblue-200"}.Settings_vtblueDark__WEENJ div:first-child{--tw-bg-opacity:1;background-color:rgb(129 135 255/var(--tw-bg-opacity))}.Settings_vtblueDark__WEENJ:after{content:"vtblue-dark"}.Settings_vtblueDark50__sKgPh div:first-child{--tw-bg-opacity:1;background-color:rgb(182 183 255/var(--tw-bg-opacity))}.Settings_vtblueDark50__sKgPh:after{content:"vtblue-dark-50"}.Settings_vtblueDark200__dLpGo div:first-child{--tw-bg-opacity:1;background-color:rgb(74 90 203/var(--tw-bg-opacity))}.Settings_vtblueDark200__dLpGo:after{content:"vtblue-dark-200"}.Settings_gray75__0RnBR div:first-child{--tw-bg-opacity:1;background-color:rgb(250 250 250/var(--tw-bg-opacity))}.Settings_gray75__0RnBR:after{content:"gray-75"}.Settings_gray100__LZwF4 div:first-child{--tw-bg-opacity:1;background-color:rgb(243 243 243/var(--tw-bg-opacity))}.Settings_gray100__LZwF4:after{content:"gray-100"}.Settings_gray200__Tf5Ou div:first-child{--tw-bg-opacity:1;background-color:rgb(237 242 247/var(--tw-bg-opacity))}.Settings_gray200__Tf5Ou:after{content:"gray-200"}.Settings_gray400__Pg4qs div:first-child{--tw-bg-opacity:1;background-color:rgb(203 213 224/var(--tw-bg-opacity))}.Settings_gray400__Pg4qs:after{content:"gray-400"}.Settings_gray600__LWkpo div:first-child{--tw-bg-opacity:1;background-color:rgb(122 128 150/var(--tw-bg-opacity))}.Settings_gray600__LWkpo:after{content:"gray-600"}.Settings_gray800__J0BHC div:first-child{--tw-bg-opacity:1;background-color:rgb(45 55 72/var(--tw-bg-opacity))}.Settings_gray800__J0BHC:after{content:"gray-800"}.Settings_gray900__3h2mQ div:first-child{--tw-bg-opacity:1;background-color:rgb(30 37 49/var(--tw-bg-opacity))}.Settings_gray900__3h2mQ:after{content:"gray-900"}.NavRail_container__5m4NH{background:var(--backgroundSecondary);border-right:1px solid var(--backgroundSecondaryHighlight);display:flex;flex-direction:column;height:100vh;overflow-y:auto}.NavRail_logoContainer__E-6W3{align-items:center;display:flex;justify-content:center;padding:24px;text-align:center}.NavRail_footerContainer__vmltI{margin:auto 0 24px}.NavRail_navLinks__JnwjV{margin:24px 0 32px}.NavRail_navList__U8nuW{list-style-type:none;margin:0;padding:0}.NavRail_navList__U8nuW:after{background-color:var(--colorScaffoldingHighlight);content:"";display:block;height:1px;margin:20px 24px;max-width:100%}.NavRail_footerContainer__vmltI .NavRail_navList__U8nuW:after,.NavRail_navList__U8nuW:last-child:after{content:none}a.NavRail_navLink__WamM6{align-items:center;border-left:4px solid transparent;color:var(--textColorPrimary);display:flex;flex-wrap:nowrap;font-size:1.6rem;font-weight:500;outline:none;padding:13px 24px;text-decoration:none;transition:background-color .1s ease-in-out}a.NavRail_navLink__WamM6.NavRail_navLinkActive__f74pF{border-color:var(--colorPrimary);color:var(--colorPrimary)}a.NavRail_navLink__WamM6:focus,a.NavRail_navLink__WamM6:hover{background:var(--backgroundSecondaryHighlight);color:var(--colorPrimary)}.NavRail_badge__jYgjl{background-color:var(--backgroundSecondaryHighlight);border-radius:20px;color:var(--textColorSecondary);display:inline-block;font-size:1.4rem;line-height:1.9rem;margin-left:auto;padding:2px 8px;transition:background-color .1s ease-in-out}a.NavRail_navLink__WamM6:focus .NavRail_badge__jYgjl,a.NavRail_navLink__WamM6:hover .NavRail_badge__jYgjl,a.NavRail_navLinkActive__f74pF .NavRail_badge__jYgjl{background-color:var(--backgroundPrimaryHighlight);color:var(--colorPrimary)}.NavRail_icon__\+bhAw{fill:var(--colorScaffoldingForeground);height:2rem;transition:background-color .1s ease-in-out}a.NavRail_navLink__WamM6:focus .NavRail_icon__\+bhAw,a.NavRail_navLink__WamM6:hover .NavRail_icon__\+bhAw,a.NavRail_navLinkActive__f74pF .NavRail_icon__\+bhAw{fill:var(--colorPrimary)}.NavRail_hotkey__IdYtW:before{border-color:var(--colorScaffoldingForeground);border-radius:.125rem;border-width:1px;color:var(--colorScaffoldingForeground);content:attr(data-hotkey);display:block;font-family:NotoMono,source-code-pro,menlo,monaco,consolas,Courier New,monospace;font-size:10px;font-weight:700;height:16px;line-height:14px;margin:0 4px;padding:0;text-align:center;-webkit-user-select:none;-ms-user-select:none;user-select:none;width:16px}.Error404_container__RWCnE{align-items:center;display:flex;flex-direction:column;height:40vh;justify-content:center;margin-top:20vh}.HelpTooltip_icon__2oJgt{fill:var(--textColorSecondary);display:inline-block;height:1.8rem;vertical-align:bottom;width:auto}.Schema_headingMeta__fIaB9{display:flex}.Schema_headingMeta__fIaB9 span{display:inline-block;line-height:2}.Schema_headingMeta__fIaB9 span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Schema_headingMeta__fIaB9 span:last-child:after{content:none}.Schema_container__lK7FG{grid-gap:16px;display:grid}.Schema_panel__Zt\+HS{border:1px solid var(--colorScaffoldingHighlight);border-radius:6px;max-width:960px;overflow:auto;padding:0 2.4rem 2.4rem}.Schema_errorPlaceholder__P-j6V{align-items:center;display:flex;flex-direction:column;font-size:1.6rem;justify-content:center;margin:25vh auto;max-width:720px;text-align:center}.Schema_errorPlaceholder__P-j6V h1{margin:1.6rem 0}.Schema_errorEmoji__PquBB{display:block;font-size:5.6rem}.Schema_skBadge__wfq2a{border:1px solid var(--colorPrimary50);border-radius:6px;color:var(--colorPrimary);cursor:default;display:inline-block;font-size:1.2rem;margin:0 12px;padding:4px 8px;text-transform:uppercase;white-space:nowrap}.Code_table__Pl8Zh{margin:8px 0}.Code_table__Pl8Zh tr{border:none}.Code_table__Pl8Zh td{border:none;line-height:1.6;margin:0}.Code_lineNumber__gb4IK{box-sizing:border-box;color:var(--textColorSecondary);font-family:var(--fontFamilyMonospace);font-size:1.4rem;line-height:2.4rem;min-width:5rem;padding:0 1.2rem;text-align:right;-webkit-user-select:none;-ms-user-select:none;user-select:none;vertical-align:top;white-space:nowrap;width:1%}.Code_lineNumber__gb4IK:before{content:attr(data-line-number)}.Code_code__vnnnt{font-family:var(--fontFamilyMonospace);font-size:1.4rem;line-height:2.4rem;padding:0 1.2rem;tab-size:8;white-space:pre}.NavCrumbs_container__If2HI>a{font-family:var(--fontFamilyMonospace);line-height:4rem}.NavCrumbs_container__If2HI>a:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;font-size:2rem;line-height:2rem;margin:0 1rem;vertical-align:middle}.Stream_headingMeta__wAVR9{display:flex}.Stream_headingMeta__wAVR9 span{display:inline-block;line-height:2}.Stream_headingMeta__wAVR9 span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Stream_headingMeta__wAVR9 span:last-child:after{content:none}.Workflows_shardList__-JbVl{color:var(--textColorSecondary);font-size:1.2rem;max-width:20rem;padding-right:24px}.Workflows_streams__fKpO0{grid-gap:8px;display:grid;grid-template-columns:repeat(4,60px)}.Workflows_stream__kzFFb,.Workflows_streamPlaceholder__4Gjp6{margin:0 4px;text-align:left;white-space:nowrap}.Workflows_streamPlaceholder__4Gjp6{color:var(--textColorSecondary);text-align:center}.Workflow_headingMeta__Q7Qwn{display:flex}.Workflow_headingMeta__Q7Qwn span{display:inline-block;line-height:2}.Workflow_headingMeta__Q7Qwn span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Workflow_headingMeta__Q7Qwn span:last-child:after{content:none}.VTExplain_errorPanel__uQW6d,.VTExplain_panel__ORRZI{border:1px solid var(--colorScaffoldingHighlight);border-radius:6px;height:auto;max-width:960px;padding:2.4rem}.VTExplain_errorPanel__uQW6d{border-color:var(--colorError50);overflow:auto}.VTExplain_container__LOlo-{grid-gap:16px;display:grid;max-width:720px}.VTExplain_form__3RVqh{grid-gap:8px;display:grid}.VTExplain_sqlInput__7i40w{border:1px solid var(--colorScaffoldingHighlight);display:block;font-family:var(--fontFamilyMonospace);line-height:var(--lineHeightBody);padding:.8rem;resize:vertical;width:100%}.VTExplain_codeContainer__H1VYS{max-width:100%;overflow:auto}.VTExplain_buttons__FiIEe{margin:1.6rem 0 .8rem}.Spinner_spinner__EM4nX{border:.25em solid #8187ff;border-right-color:transparent;vertical-align:-.125em}@-webkit-keyframes Spinner_spin__zM8-M{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}@keyframes Spinner_spin__zM8-M{to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}.Spinner_spinner__EM4nX{-webkit-animation:Spinner_spin__zM8-M 1s linear infinite;animation:Spinner_spin__zM8-M 1s linear infinite;border-radius:9999px;border-width:2px;display:inline-block;height:2rem;width:2rem}.Keyspace_headingMeta__wfbKC{display:flex}.Keyspace_headingMeta__wfbKC span{display:inline-block;line-height:2}.Keyspace_headingMeta__wfbKC span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Keyspace_headingMeta__wfbKC span:last-child:after{content:none}.Keyspace_placeholder__zmyZn{align-items:center;display:flex;flex-direction:column;font-size:1.6rem;justify-content:center;margin:25vh auto;max-width:720px;text-align:center}.Keyspace_placeholder__zmyZn h1{margin:1.6rem 0}.Keyspace_errorEmoji__OhrXp{display:block;font-size:5.6rem}.KeyspaceShards_container__LqtRT{padding:16px 0}.KeyspaceShards_counts__BrVyv>span{white-space:nowrap}.KeyspaceShards_counts__BrVyv>span:not(:last-child):after{color:var(--colorScaffoldingHighlight);content:"/";margin:0 8px}.Tablet_headingMeta__TX8WY{display:flex}.Tablet_headingMeta__TX8WY span{display:inline-block;line-height:2}.Tablet_headingMeta__TX8WY span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Tablet_headingMeta__TX8WY span:last-child:after{content:none}.Tablet_placeholder__DtKp\+{align-items:center;display:flex;flex-direction:column;font-size:1.6rem;justify-content:center;margin:25vh auto;max-width:720px;text-align:center}.Tablet_placeholder__DtKp\+ h1{margin:1.6rem 0}.Tablet_errorEmoji__OJLxr{display:block;font-size:5.6rem}.Shard_headingMeta__KmxO-{display:flex}.Shard_headingMeta__KmxO- span{display:inline-block;line-height:2}.Shard_headingMeta__KmxO- span:after{color:var(--colorScaffoldingHighlight);content:"/";display:inline-block;margin:0 1.2rem}.Shard_headingMeta__KmxO- span:last-child:after{content:none}.Shard_placeholder__pM2jB{align-items:center;display:flex;flex-direction:column;font-size:1.6rem;justify-content:center;margin:25vh auto;max-width:720px;text-align:center}.Shard_placeholder__pM2jB h1{margin:1.6rem 0}.Shard_errorEmoji__dinjS{display:block;font-size:5.6rem}.ShardTablets_placeholder__8MDdC{color:var(--textColorSecondary);font-size:1.6rem;padding:10vh 2.4rem;text-align:center}.ShardTablets_emoji__S0uuo{display:block;font-size:100px} +/*# sourceMappingURL=main.7469429c.css.map*/ \ No newline at end of file diff --git a/go/vt/vtadmin/web/build/static/css/main.7469429c.css.map b/go/vt/vtadmin/web/build/static/css/main.7469429c.css.map new file mode 100644 index 00000000000..15ab800b3e8 --- /dev/null +++ b/go/vt/vtadmin/web/build/static/css/main.7469429c.css.map @@ -0,0 +1 @@ +{"version":3,"file":"static/css/main.7469429c.css","mappings":"AAeA,WACI,iBAAkB,CAClB,oBAAqB,CACrB,6GACJ,CAEA,WACI,iBAAkB,CAClB,oBAAqB,CAErB,eAAgB,CADhB,+GAEJ,CAEA,WACI,iBAAkB,CAClB,oBAAqB,CAErB,eAAgB,CADhB,uGAEJ,CAEA,WACI,iBAAkB,CAClB,oBAAqB,CACrB,6GACJ;;ACrBA;EAAc,CAAd,iBCPE,sBAA0D,CAH1D,qBDUY,CAAd,eCFE,eDEY,CAAd,KCUE,6BAA8B,CAG9B,4IAAsP,CAJtP,eAAgB,CAGhB,UDZY,CAAd,KCuBE,mBDvBY,CAAd,GCmCE,oBAAqB,CADrB,aAAc,CADd,QDjCY,CAAd,oBC2CE,wCAAiC,CAAjC,gCD3CY,CAAd,kBCwDE,iBAAkB,CAClB,mBDzDY,CAAd,ECiEE,aAAc,CACd,uBDlEY,CAAd,SC2EE,kBD3EY,CAAd,kBCuFE,gFAAyI,CACzI,aDxFY,CAAd,MCgGE,aDhGY,CAAd,QCyGE,aAAc,CACd,aAAc,CACd,iBAAkB,CAClB,uBD5GY,CAAd,ICgHE,aDhHY,CAAd,ICoHE,SDpHY,CAAd,MC+HE,oBAAqB,CADrB,aD9HY,CAAd,sCCiJE,aAAc,CAHd,mBAAoB,CACpB,cAAe,CACf,mBAAoB,CAEpB,QAAS,CACT,SDnJY,CAAd,cC4JE,mBD5JY,CAAd,gDCwKE,yBAA0B,CAC1B,4BAA6B,CAC7B,qBD1KY,CAAd,gBCkLE,YDlLY,CAAd,iBC0LE,eD1LY,CAAd,SCkME,uBDlMY,CAAd,wDC2ME,WD3MY,CAAd,cCoNE,4BAA6B,CAC7B,mBDrNY,CAAd,4BC6NE,uBD7NY,CAAd,6BCsOE,yBAA0B,CAC1B,YDvOY,CAAd,QC+OE,iBD/OY,CAAd,mDCmQE,QDnQY,CAAd,SCuQE,QDvQY,CAAd,gBCwQE,SDxQY,CAAd,WCkRE,eAAgB,CAChB,QAAS,CACT,SDpRY,CAAd,SC4RE,eD5RY,CAAd,qECuSE,aAAwC,CADxC,SDtSY,CAAd,2DCuSE,aAAwC,CADxC,SDtSY,CAAd,yCCuSE,aAAwC,CADxC,SDtSY,CAAd,qBCgTE,cDhTY,CAAd,UCuTE,cDvTY,CAAd,+CCwUE,aAAc,CACd,qBDzUY,CAAd,UCmVE,WAAY,CADZ,cDlVY,CAAd,SC2VE,YD3VY,CElBd,i4B,CFmBA,WEnBA,UFmBoB,CAApB,yBEnBA,0B,CFmBoB,CAApB,yBEnBA,0B,CFmBoB,CAApB,0BEnBA,2B,CFmBoB,CAApB,0BEnBA,2B,CFmBoB,CAApB,0BEnBA,2B,CFmBoB,CEnBpB,mrB,CAAA,yf,CFmBA,kBA8OQ,yBAAkB,CAAlB,iBAAkB,CADlB,0BAAmB,CAAnB,uBAAmB,CAAnB,kBA7OY,CEnBpB,cFuQQ,kBAAgC,CAAhC,+BAAgC,CAChC,oBAAkC,CAAlC,iCAAkC,CExQ1C,kB,CAAA,2E,CAAA,+E,CAAA,wH,CAAA,+D,CAAA,4D,CAAA,4E,CAAA,6H,CAAA,wBFsTQ,aAA2B,CAA3B,0B,CEtTR,sH,CAAA,iL,CAAA,mI,CAAA,wH,CAAA,iL,CAAA,oI,CAAA,yH,CAAA,qL,CAAA,sI,CFmBA,QEnBA,gHF+VQ,WAAY,CE/VpB,iZFgWQ,UA7UY,CEnBpB,8D,CAAA,iF,CAAA,oF,CFmBA,eEnBA,iyBFuXQ,WAAY,CEvXpB,goBFwXQ,UArWY,CEnBpB,oa,CAAA,0C,CAAA,2a,CFoBA,SEpBA,iIFoBmB,CAAnB,QEpBA,eFoBmB,CAAnB,OEpBA,cFoBmB,CAAnB,UEpBA,iBFoBmB,CAAnB,UEpBA,iBFoBmB,CAAnB,SEpBA,6BFoBmB,CAAnB,UEpBA,YFoBmB,CAAnB,UEpBA,aFoBmB,CAAnB,QEpBA,MFoBmB,CAAnB,SEpBA,OFoBmB,CAAnB,MEpBA,UFoBmB,CAAnB,MEpBA,UFoBmB,CAAnB,KEpBA,QFoBmB,CAAnB,SEpBA,kCFoBmB,CAAnB,OEpBA,sCFoBmB,CAAnB,OEpBA,kCFoBmB,CAAnB,MEpBA,kCFoBmB,CAAnB,MEpBA,kCFoBmB,CAAnB,OEpBA,kCFoBmB,CAAnB,MEpBA,sCFoBmB,CAAnB,MEpBA,gBFoBmB,CAAnB,MEpBA,iBFoBmB,CAAnB,MEpBA,gBFoBmB,CAAnB,MEpBA,mBFoBmB,CAAnB,MEpBA,gBFoBmB,CAAnB,OEpBA,kBFoBmB,CAAnB,MEpBA,eFoBmB,CAAnB,OEpBA,eFoBmB,CAAnB,MEpBA,kBFoBmB,CAAnB,MEpBA,kBFoBmB,CAAnB,MEpBA,iBFoBmB,CAAnB,MEpBA,kBFoBmB,CAAnB,MEpBA,kBFoBmB,CAAnB,MEpBA,eFoBmB,CAAnB,MEpBA,YFoBmB,CAAnB,OEpBA,kBFoBmB,CAAnB,MEpBA,iBFoBmB,CAAnB,OEpBA,eFoBmB,CAAnB,OEpBA,aFoBmB,CAAnB,cEpBA,oBFoBmB,CAAnB,QEpBA,cFoBmB,CAAnB,MEpBA,YFoBmB,CAAnB,aEpBA,mBFoBmB,CAAnB,OEpBA,aFoBmB,CAAnB,SEpBA,uBFoBmB,CAAnB,MEpBA,YFoBmB,CAAnB,UEpBA,gBFoBmB,CAAnB,QEpBA,YFoBmB,CAAnB,YEpBA,WFoBmB,CAAnB,KEpBA,WFoBmB,CAAnB,KEpBA,aFoBmB,CAAnB,MEpBA,WFoBmB,CAAnB,MEpBA,WFoBmB,CAAnB,MEpBA,YFoBmB,CAAnB,QEpBA,WFoBmB,CAAnB,cEpBA,gBFoBmB,CAAnB,KEpBA,UFoBmB,CAAnB,KEpBA,YFoBmB,CAAnB,QEpBA,UFoBmB,CAAnB,MEpBA,UFoBmB,CAAnB,OEpBA,2CFoBmB,CAAnB,MEpBA,WFoBmB,CAAnB,OEpBA,2CFoBmB,CAAnB,QEpBA,gBFoBmB,CAAnB,iBEpBA,gBFoBmB,CAAnB,iBEpBA,eFoBmB,CAAnB,iBEpBA,eFoBmB,CAAnB,aEpBA,cFoBmB,CAAnB,yBEpBA,aFoBmB,CAAnB,QEpBA,WFoBmB,CAAnB,kBEpBA,6DFoBmB,CAAnB,eEpBA,qBFoBmB,CAAnB,8BEpBA,mYFoBmB,CAAnB,eEpBA,oBFoBmB,CAAnB,UEpBA,iCFoBmB,CAAnB,oBEpBA,mYFoBmB,CAAnB,UEpBA,iCFoBmB,CAAnB,WEpBA,6BFoBmB,CAAnB,sBEpBA,mYFoBmB,CAAnB,wBEpBA,8D,CFoBmB,CAAnB,gBEpBA,8D,CFoBmB,CAAnB,cEpBA,2GFoBmB,CAAnB,UEpBA,qBFoBmB,CAAnB,WEpBA,oBFoBmB,CAAnB,cEpBA,kBFoBmB,CAAnB,gBEpBA,sBFoBmB,CAAnB,iBEpBA,6BFoBmB,CAAnB,OEpBA,SFoBmB,CAAnB,OEpBA,QFoBmB,CAAnB,wCEpBA,4IFoBmB,CAAnB,+CEpBA,4EFoBmB,CAAnB,iBEpBA,eFoBmB,CAAnB,iBEpBA,eFoBmB,CAAnB,mBEpBA,kBFoBmB,CAAnB,mBEpBA,kBFoBmB,CAAnB,YEpBA,oBFoBmB,CAAnB,aEpBA,kBFoBmB,CAAnB,YEpBA,mBFoBmB,CAAnB,cEpBA,oBFoBmB,CAAnB,SEpBA,oBFoBmB,CAAnB,YEpBA,qBFoBmB,CAAnB,QEpBA,gBFoBmB,CAAnB,UEpBA,uBFoBmB,CAAnB,aEpBA,iBFoBmB,CAAnB,iBEpBA,4EFoBmB,CAAnB,eEpBA,0EFoBmB,CAAnB,iBEpBA,4EFoBmB,CAAnB,eEpBA,0EFoBmB,CAAnB,gBEpBA,4EFoBmB,CAAnB,aEpBA,wEFoBmB,CAAnB,aEpBA,wEFoBmB,CAAnB,UEpBA,wEFoBmB,CAAnB,YEpBA,wEFoBmB,CAAnB,aEpBA,wEFoBmB,CAAnB,eEpBA,uEFoBmB,CAAnB,eEpBA,sEFoBmB,CAAnB,eEpBA,oBFoBmB,CAAnB,cEpBA,iBFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,mBEpBA,YFoBmB,CAAnB,KEpBA,YFoBmB,CAAnB,KEpBA,YFoBmB,CAAnB,KEpBA,cFoBmB,CAAnB,MEpBA,wCFoBmB,CAAnB,MEpBA,oCFoBmB,CAAnB,MEpBA,oCFoBmB,CAAnB,MEpBA,0CFoBmB,CAAnB,MEpBA,wCFoBmB,CAAnB,MEpBA,sCFoBmB,CAAnB,MEpBA,wCFoBmB,CAAnB,MEpBA,mBFoBmB,CAAnB,YEpBA,gBFoBmB,CAAnB,OEpBA,mBFoBmB,CAAnB,WEpBA,eFoBmB,CAAnB,aEpBA,iBFoBmB,CAAnB,YEpBA,gBFoBmB,CAAnB,cEpBA,qBFoBmB,CAAnB,WEpBA,gFFoBmB,CAAnB,WEpBA,4IFoBmB,CAAnB,SEpBA,gBFoBmB,CAAnB,SEpBA,cFoBmB,CAAnB,eEpBA,cFoBmB,CAAnB,WEpBA,gBFoBmB,CAAnB,SEpBA,gBFoBmB,CAAnB,UEpBA,gBFoBmB,CAAnB,UEpBA,gBFoBmB,CAAnB,aEpBA,eFoBmB,CAAnB,WEpBA,eFoBmB,CAAnB,eEpBA,eFoBmB,CAAnB,WEpBA,gBFoBmB,CAAnB,WEpBA,kBFoBmB,CAAnB,eEpBA,8DFoBmB,CAAnB,gBEpBA,iEFoBmB,CAAnB,cEpBA,8DFoBmB,CAAnB,eEpBA,8DFoBmB,CAAnB,gBEpBA,+DFoBmB,CAAnB,cEpBA,+DFoBmB,CAAnB,aEpBA,+DFoBmB,CAAnB,WEpBA,SFoBmB,CAAnB,aEpBA,SFoBmB,CAAnB,YEpBA,WFoBmB,CAAnB,YEpBA,0GFoBmB,CAAnB,uBEpBA,kJFoBmB,CAAnB,WEpBA,8FFoBmB,CAAnB,WEpBA,8TFoBmB,CAAnB,QEpBA,oXFoBmB,CAAnB,YEpBA,qEFoBmB,CAAnB,gBEpBA,sBFoBmB,CAAnB,QEpBA,wBFoBmB,CAAnB,gBEpBA,yWFoBmB,CAAnB,YEpBA,4mBFoBmB,CAAnB,oBEpBA,uGFoBmB,CAAnB,gBEpBA,mGFoBmB,CAAnB,mBEpBA,+XFoBmB,CAAnB,WEpBA,oBFoBmB,CAAnB,cEpBA,uBFoBmB,CAAnB,cEpBA,uBFoBmB,CAAnB,cEpBA,uBFoBmB,CAAnB,aEpBA,wBFoBmB,CAAnB,UEpBA,iDFoBmB,CAAnB,SEpBA,iDFoBmB,CAEnB,MAEI,gBAAiB,CACjB,iBAAkB,CAClB,iBAAkB,CAClB,iBAAkB,CAClB,iBAAkB,CAClB,iBAAkB,CAGlB,sBAAuB,CACvB,wBAAyB,CACzB,yBAA0B,CAC1B,mBAAoB,CACpB,qBAAsB,CACtB,sBAAuB,CACvB,oBAAqB,CACrB,sBAAuB,CACvB,uBAAwB,CAGxB,oJAA6C,CAC7C,0FAA+C,CAG/C,qBAAsB,CAGtB,wBAAyB,CAGzB,yBAA0B,CAC1B,0BAA2B,CAC3B,yBAA0B,CAG1B,yBAA0B,CAG1B,wBAAyB,CACzB,+CAAoD,CACpD,mCAAoC,CACpC,6CAA8C,CAC9C,kCAAmC,CACnC,8BAA+B,CAC/B,sBAAuB,CACvB,wBAAyB,CACzB,yBAA0B,CAC1B,0CAA2C,CAC3C,2CAA4C,CAC5C,iCAAkC,CAClC,0BAA8C,CAC9C,wBAAyB,CACzB,4BAAkD,CAClD,2BAA4B,CAG5B,mCAAwC,CAGxC,iBAAkB,CAClB,cAAe,CACf,eAAgB,CAChB,iBACJ,CAGA,0BACI,2BAA4B,CAC5B,iDAAsD,CACtD,oCAAqC,CACrC,6CAA8C,CAC9C,kCAAmC,CACnC,8BAA+B,CAC/B,sBAAuB,CACvB,wBAAyB,CACzB,yBAA0B,CAC1B,0CAA2C,CAC3C,2CAA4C,CAC5C,iCAAkC,CAClC,uBAAwB,CACxB,2BAA4B,CAC5B,4BAA6B,CAC7B,2BAA4B,CAC5B,uCACJ,CAEA,EACI,qBACJ,CAEA,KAOI,eACJ,CAEA,KAOI,kCAAmC,CACnC,iCAAkC,CAPlC,eAAoC,CAApC,mCAAoC,CACpC,aAA8B,CAA9B,6BAA8B,CAI9B,4IAAqC,CAArC,oCAAqC,CAHrC,gBAAiC,CACjC,gBAAkC,CAAlC,iCAAkC,CAClC,QAIJ,CAGA,GAEI,gBAGJ,CAEA,MANI,aAA8B,CAA9B,6BAA8B,CAE9B,eAAgB,CAChB,gBAAqC,CAArC,oCAQJ,CALA,GAEI,gBAGJ,CAEA,GACI,aAA8B,CAA9B,6BAA8B,CAC9B,cAA+B,CAC/B,eAAgB,CAChB,gBAAqC,CAArC,oCACJ,CAEA,KACI,oBAAqB,CACrB,gFAAuC,CAAvC,sCAAuC,CACvC,YACJ,CAEA,EACI,eACJ,CAGA,6BAII,aAA0B,CAA1B,yBAA0B,CAC1B,cAAe,CACf,oBACJ,CAGA,MACI,wBAAyB,CACzB,eAAiC,CAAjC,gCAAiC,CACjC,UACJ,CAEA,cAEI,aAA8B,CAA9B,6BAA8B,CAG9B,2BAAsE,CAAtE,oEAEJ,CAEA,uBARI,kBAAsC,CAAtC,qCAAsC,CAEtC,gBAAiC,CACjC,eAAgB,CAEhB,eAYJ,CATA,SAGI,wBAA4C,CAA5C,2BAA4C,CAA5C,2CAA4C,CAA5C,2CAA4C,CAC5C,aAAgC,CAAhC,+BAAgC,CAGhC,kBAAoC,CAApC,mCAEJ,CAEA,eACI,+BAAgD,CAAhD,+CAAgD,CAChD,4BAA6C,CAA7C,4CACJ,CAEA,eACI,cAAgC,CAAhC,+BAAgC,CAChC,kBACJ,CAEA,wBACI,8BAA+C,CAA/C,8CACJ,CAEA,iBAGI,yBAA2B,CAD3B,yBAA2B,CAD3B,mBAGJ,CAEA,sBAEI,kBAAoB,CADpB,mBAEJ,CAEA,2DAEI,yBACJ,CAvOA,yBEAA,wE,CFAA,0BEAA,wE,CFAA,mBEAA,U,CFAA,2BEAA,gD,CFAA,qBEAA,oX,CFAA,8BEAA,0E,CFAA,4BEAA,0B,CFAA,mCEAA,8B,CFAA,yBEAA,4C,CAAA,sC,CAAA,sB,CAAA,wB,CAAA,sC,CAAA,sB,CAAA,0B,CAAA,uB,CAAA,sB,CAAA,sB,CAAA,6B,CAAA,uC,CAAA,oa,CAAA,+C,CAAA,gb,CAAA,gD,CAAA,uC,CAAA,kB,CAAA,8C,CAAA,kD,CAAA,8B,CAAA,uC,EFAA,yBEAA,2B,ECiFA,sBAQI,0CACA,wEAzDU,CA0DV,eANA,YAEA,mBAOA,aAXA,gBADA,kBAIA,gBAOA,0BADA,+DARA,WAIA,SAMA,CAEJ,iBACI,cAEJ,sBACI,eAEJ,mBACI,gBAEJ,uBACI,kBAEJ,mBACI,eAEJ,uBACI,SApGe,CAyGnB,0EACI,UAEJ,uBACI,aAEJ,yBACI,sBACA,wBACA,gBACA,UAEJ,yBACI,sBACA,eAIJ,kBACI,SAvHe,CAwHf,eAvGc,CAyGlB,qBACI,SA1He,CA2Hf,aA1GiB,CA8GrB,sBACI,UACA,cAtHiB,CAwHrB,wCACI,eAEJ,uBACI,SAvIe,CAyInB,wBACI,SA1Ie,CA2If,eACA,cAzHoB,CA2HxB,sBACI,UACA,cA7Ie,CA+InB,6CACI,gBAzHc,CA2HlB,iBACI,cA3IiB,CA6IrB,mCACI,eAEJ,4BACI,cAxJc,CA0JlB,2BACI,iBACA,WA9Je,CAgKnB,+BACI,cAxJiB,CAyJjB,mBAKJ,oBAEI,SA1Ke,CAyKf,eAEA,eACA,oCAEJ,0BACI,UACA,cAIJ,oBACI,eACA,oBAEA,uBADA,kBACA,CAEJ,yBACI,SA7Le,CA+LnB,uCACI,gBAEJ,wBACI,gBAEA,CAEJ,sEAHI,YA9Lc,CA+Ld,gBAIA,CAEJ,uBACI,gCAGJ,6BACI,YAtMiB,CAuMjB,iBAGJ,kBACI,UACA,iBACA,qBACA,sBAGJ,yBACI,iBACA,UACA,WA3Ne,CA8NnB,0CACI,eAQJ,uDACI,WACA,wBAGJ,6BACI,6BAEJ,8BACI,6BAGJ,kFAII,wBAEJ,4UAII,WAQF,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,oBACE,YAFM,CAGN,cAHM,CACR,qBACE,YAFM,CAGN,cAHM,CAOV,iBACI,iBACA,eAEJ,oBACI,iBACA,WAzRe,CA2RnB,mJAEI,UAEJ,kBACI,iBAEJ,yCACI,eAGJ,uBACI,eACA,gBAEJ,2BACI,UACA,eAEJ,uDACI,SA1Se,CA4SnB,iCACI,UAEJ,8BACI,oBAEJ,iBACI,iBACA,eAEJ,qHAEI,SArTe,CAsTf,WA1TgB,CA4TpB,gDAEI,WAlUe,CAoUnB,4CACI,6BAEJ,kDACI,iBACA,6BAEJ,yCACI,sBACA,WA7Ue,CA+UnB,+CACI,iBACA,6BAEJ,4CACI,sBACA,WArVe,CAuVnB,kDACI,iBACA,6BAEJ,mDACI,aACA,eAEJ,6CACI,sBACA,WAjWe,CAmWnB,mDACI,iBACA,6BAEJ,oDACI,aACA,eAEJ,gDACI,eAEJ,6CACI,iBACA,cAvWe,CAwWf,mDAEJ,mDACI,WA7We,CA8Wf,mDAGJ,mDACI,aAEJ,qDACI,UAEJ,iEACI,iBACA,eAEJ,uEACI,iBAQJ,0FACI,UACA,iBAGJ,0BACC,WA7YmB,CAgZpB,yBACI,UACA,iBAGJ,wDACI,oBAIJ,uBACI,UACA,eAEJ,6BACI,SA9Ze,CAkaf,cAAa,CADb,eADA,aA7Ye,CA4Yf,eAGA,CAEJ,mCACI,SAtagB,CAwapB,iCACI,oBACA,sBACA,qBAEJ,8BACI,SApakB,CAqalB,eAEJ,gCACI,SA9ae,CAgbnB,0EACI,sBAEJ,6BACI,UACA,eAIJ,iCACI,eACA,gBAEJ,qCACI,eAEJ,iCACI,SApce,CAwcnB,oBAEI,qBA/ce,CAgdf,WAFA,kBAGA,kBAEA,wBADA,UACA,CAEJ,2BACI,mBACA,UACA,gBACA,6CAEJ,0BACI,gBACA,kBACA,QAIJ,uCACI,SA/dgB,CAgehB,iBAEJ,sBACI,UACA,WAjee,CAkef,iBAIJ,wBACI,SA9ee,CAgfnB,2BACI,iBAEJ,4CACI,gBAEJ,8CACI,WAnfgB,CAqfpB,oDACI,WAlfe,CAmff,iBAEJ,0CACI,SA1fgB,CA2fhB,eAEJ,6CACI,aACA,eAEJ,+CACI,WAjgBe,CAkgBf,qBAEJ,4CACI,eAEJ,2CAEI,gBADA,sCACA,CAEJ,kEAEI,cAAa,CADb,sCACA,CAEJ,0CACI,iBACA,WA9gBe,CA+gBf,yCAEJ,gDACI,eACA,WAnhBe,CAuhBnB,mCACI,eAEJ,kCACI,YAnhBiB,CAohBjB,iBACA,iBAEJ,8BACI,WAhiBe,CAiiBf,UAEJ,6BACI,WApiBe,CAqiBf,YAniBc,CAoiBd,iBAEJ,6BACI,YAliBiB,CAmiBjB,cAniBiB,CAqiBrB,+CACI,iBAEJ,8CACI,iBAEJ,kDACI,eAEJ,kDACI,iBACA,cAtjBe,CAwjBnB,mDACI,SA3jBe,CA6jBnB,kDACI,eAEJ,4BACI,SAhkBe,CAikBf,WAjkBe,CAkkBf,iBAEJ,6BACI,YApkBe,CAqkBf,WAtkBe,CAukBf,iBAEJ,4BACI,SA5kBe,CA8kBnB,6BACI,WA/kBe,CAglBf,iBAEJ,4BACI,YA/kBc,CAglBd,cAhlBc,CAilBd,iBAEJ,mBACI,YAnlBc,CAolBd,WAvlBe,CAylBf,iBADA,eAEA,qBAEJ,wBACI,SAhmBe,CAkmBnB,yBAEI,YAhmBe,CAimBf,YAFA,mBAhmBe,CAomBnB,8BACI,SAxmBe,CA0mBnB,2BAEI,YA/lBiB,CAgmBjB,YAFA,eAxmBe,CA4mBnB,gCACI,SAhnBe,CAinBf,gBAEJ,iCACI,SApnBe,CAsnBnB,sDACI,gBAzlB2B,CA2lB/B,6BACI,UAEJ,6BACI,SA5nBe,CA8nBnB,6BACI,UAEJ,6BACI,SAnoBe,CAqoBnB,wBACI,gBAAgB,CAChB,WApoBe,CAsoBnB,gCAEI,SAEA,WAGA,UAFA,UAJA,kBAKA,kBAHA,SAIA,CAEJ,iCACI,SAxpBe,CAypBf,gBAEJ,kDACI,aAIJ,iDACI,WA7pBgB,CA8pBhB,iBAEJ,oDACI,SArqBe,CAuqBnB,4DACI,YArmBa,CAsmBb,cAtmBa,CAwmBjB,uEACI,YA1mBa,CA2mBb,cA3mBa,CA6mBjB,0DACI,iBACA,cA/mBa,CAinBjB,gDACI,iBAEJ,iEACI,WAhrBe,CAirBf,SAxrBe,CAyrBf,qBAEJ,uEACI,WAxrBgB,CAyrBhB,YA5qBiB,CA8qBrB,gDACI,SA5rBgB,CA6rBhB,eACA,gBAIJ,yCAEI,YADA,sDA/rBe,CAksBnB,+CAEI,gBACA,iBAFA,oCAEA,CAEJ,6CACI,UAEJ,6CACI,eAEJ,2BACI,gBACA,gBACA,kBAEJ,sBACI,eAEJ,6BACI,SAvtBe,CAytBnB,uBACI,YAttBc,CA0tBlB,qBACI,iBAIJ,0BACI,SA3uBe,CA4uBf,YACA,qBAEJ,gCACI,YAvuBe,CAwuBf,cAxuBe,CA0uBnB,0BACI,WA9uBe,CA+uBf,iBAEJ,iBAEI,eAzvBe,CAwvBf,sBAGA,6BADA,aACA,CAEJ,sBAEI,gBACA,UA3vBe,CA4vBf,eAHA,iBAIA,sCAEJ,4BACI,kBAtvBiB,CAuvBjB,UAtwBe,CA0wBnB,4BACI,eAEJ,4GAII,SAnwBkB,CAkwBlB,eAEA,gBACA,0BAIJ,yBAGI,UADA,eADA,eAlxBe,CAwxBnB,yBAEI,YACA,iBAFA,gBAEA,CAIJ,0BACI,eAQJ,mEACC,iBACG,WA3yBe,CA+yBnB,iCACI,iBACA,WAlzBgB,CAmzBhB,SAnzBgB,CAozBhB,iBAEJ,kCACI,YAlzBe,CAszBnB,8BAEI,6BADA,eAEA,eAOA,cADA,SAJA,aADA,aAGA,gBACA,UAGA,kBALA,WAKA,CAEJ,gCACI,gBAEJ,4BAMI,2BAHA,WAIA,gBACA,YAJA,gBAHA,kBAIA,mBAHA,SAMA,CAEJ,2BACI,kBAEJ,gHAGI,kBACA,mBAEJ,0DACI,aAIJ,uEACI,eAEJ,kCACI,UAKJ,mFACI,iBCn1BJ,+CACI,+BAGJ,uBACI,UAGJ,sBACI,yCAGJ,6BACI,6BAGJ,0CACI,iBACA,4BAGJ,0BACI,gCACA,qCACA,iBACA,gBAGJ,2CACI,yCAGJ,kEACI,iBAKJ,iBACI,uCAOJ,kBACI,qCACA,gBAGJ,oBACI,YAEA,yBACI,UAIR,wBACI,qBACA,iBAOJ,0FACI,iBChGJ,sBACI,aACA,kCAEA,iCADA,wBAEA,aACA,gBACA,kBACA,YAGJ,yBACI,cACA,aAGJ,0BACI,kBACA,cClBJ,4BACI,aACA,qBACA,SACA,UAGJ,8DAEI,mDACA,kBACA,gCACA,cACA,iBACA,iBACA,kBACA,WAGJ,4BACI,eACA,qBAEA,kCACI,iCAGJ,4DACI,iCACA,0BAIR,yCACI,cClCJ,gBACI,gCACA,qBACA,qBACA,YACA,WAEA,mCACI,iCAGJ,mCACI,iCAGJ,mCACI,8BAGJ,kCACI,+BCpBR,+BACI,mBACA,aCFJ,+BACI,iBACA,SCfJ,iCACI,cACA,kBAUJ,wBACI,oCACA,sCACA,kBACA,sBACA,8BACA,cACA,qCACA,8BACA,gCACA,qCACA,eACA,+BACA,WAEA,iCACI,sCACA,iDACA,mBAGJ,+CACI,iBACA,+BACA,oCACA,eAGJ,sDACI,mBAlCe,CAoCf,6EACI,mBApCgB,CAwCxB,uDACI,oBA1Ce,CA4Cf,8EACI,oBA5CgB,CAiD5B,+EACI,oBACA,aAtDa,CAuDb,kBACA,kBACA,QACA,YA1Da,CA6DjB,4BAII,WA7DqB,CAgEzB,4BAII,YApEqB,CAuEzB,uJACI,aA3EY,CA4EZ,mBACA,YA7EY,CAgFhB,oDACI,WA7E0B,CAgF9B,oDACI,YAjF0B,CAoF9B,8BACI,iCACA,aAGJ,yKACI,yBAGJ,kLACI,0BC3FJ,4BAEI,aADA,aAEA,oFACA,mBACA,gBCpBJ,yBACI,wBACA,QAGJ,0BACI,wBACA,OCQJ,oBACI,gBACA,mBCFJ,yBACI,qBACA,kBAGJ,sBACI,oCACA,sCACA,kBACA,sBACA,8BACA,eACA,cACA,qCACA,8BACA,gCACA,gBACA,sBACA,kBACA,gBACA,+BACA,mBAGJ,iDACI,gCAGJ,mGAGI,iCACA,aAGJ,+BACI,sCACA,iDACA,gCACA,mBAGJ,2CACI,iBACA,+BACA,gBACA,eAGJ,uBACI,YACA,kBAEA,UADA,oBACA,CAGJ,wBACI,oCACA,sCACA,kBACA,sBAEA,8CADA,eAEA,iBAIA,eAFA,aADA,cAEA,cAEA,kBACA,aAGJ,qBACI,qBACA,SACA,aACA,UAGJ,wBACI,iBACA,iBAEA,8BAEI,eAGJ,2EAJI,4CAKA,CAIR,6CACI,iBACA,gBACA,iBAGJ,qBACI,gBACA,YACA,sBACA,gCACA,eACA,cACA,qCACA,8BACA,gBACA,iBACA,kBACA,gBACA,+BACA,mBACA,WAEA,kFAGI,6CAIR,0CACI,iBACA,iBAGJ,8BACI,aACA,iBAGJ,gCACI,gCClJJ,MACE,2BAA4B,CAC5B,6BAA8B,CAC9B,6BAA8B,CAC9B,gCAAiC,CACjC,gCAAiC,CACjC,8BAA+B,CAC/B,+CAAsD,CAEtD,qDAAsD,CACtD,2DAA4D,CAC5D,2DAA4D,CAC5D,uDAAwD,CAExD,4BAA6B,CAC7B,gCAAiC,CACjC,gCAAiC,CACjC,iCAAkC,CAClC,iCAAkC,CAClC,uBAAwB,CAExB,mCAAoC,CACpC,+BAAgC,CAGhC,+BAAgC,CAChC,kCAAmC,CACnC,kCAAmC,CACnC,gCAAiC,CAEjC,gCAAiC,CACjC,2CAA4C,CAG5C,uGAUA,sCAAuC,CACvC,yDAA0D,CAC1D,+DAAgE,CAChE,+DAAgE,CAChE,2DCXF,CCxCA,2BAME,qBAAsB,CACtB,UAAW,CAHX,WAAY,CADZ,cAAe,CADf,wGAAgE,CAGhE,6CAAkC,CAJlC,4CDiDF,CC1CE,qCAEE,QAAS,CADT,OD6CJ,CC1CE,uCAEE,QAAS,CADT,OAAQ,CAER,6DD4CJ,CC1CE,sCAEE,SAAU,CADV,OD6CJ,CC1CE,wCACE,UAAW,CACX,QD4CJ,CC1CE,0CACE,UAAW,CACX,QAAS,CACT,6DD4CJ,CC1CE,yCACE,UAAW,CACX,SD4CJ,CCxCA,yCACE,2BAGE,MAAO,CACP,QAAS,CAFT,SAAU,CADV,WD8CF,CC1CE,kHAGE,KAAM,CACN,uDD0CJ,CCxCE,2HAGE,QAAS,CACT,uDDwCJ,CCtCE,gCAEE,SAAa,CADb,ODyCJ,CACF,CEjGA,iBAME,iBAAkB,CAClB,mEAA6E,CAJ7E,qBAAsB,CAUtB,cAAe,CACf,aAAc,CANd,YAAa,CAIb,8DAAwC,CAHxC,6BAA8B,CAL9B,kBAAmB,CAMnB,4DAA4C,CAR5C,2DAA4C,CAS5C,eAAgB,CANhB,WAAY,CAJZ,iBFgHF,CElGE,sBACE,aFoGJ,CElGE,sBAKE,kBAAmB,CADnB,YAAa,CAFb,aAAc,CADd,aAAc,CAEd,WFsGJ,CEnGI,qCACE,QFqGN,CElGE,sBACE,wBAGA,YAAa,CADb,aAAc,CAFd,sBAAuB,CACvB,UFsGJ,CEhGA,mBAEE,qDAAwB,CADxB,yDFoGF,CEhGA,wBAEE,qDAAwB,CADxB,yDFoGF,CEhGA,yCACE,iBAEE,eAAgB,CADhB,eFoGF,CACF,CGpJE,6BACE,wDAAsC,CACtC,gDHsJJ,CGhJE,uFACE,sDAAuC,CACvC,oDHsJJ,CGpJE,sDAEE,wDAAsC,CADtC,gDHuJJ,CGpJE,yDAEE,2DAAyC,CADzC,mDHuJJ,CGpJE,yDAEE,2DAAyC,CADzC,mDHuJJ,CGpJE,uDAEE,yDAAuC,CADvC,iDHuJJ,CGjJE,qCACE,iIHoJJ,CGlJE,oCACE,iEHoJJ,CGlJE,8BACE,iEHoJJ,CGlJE,iCACE,oEHoJJ,CGlJE,iCACE,oEHoJJ,CGlJE,+BACE,kEHoJJ,CGlJE,uRAIE,0EHiJJ,CIvMA,wBASE,qBAAsB,CAPtB,sBAAuB,CAEvB,WAAY,CAHZ,UAAW,CAKX,cAAe,CACf,UAAY,CAJZ,YAAa,CAEb,SAAU,CAGV,mBJ2MF,CIxME,+BACE,UAAW,CACX,UJ0MJ,CIvME,4BACE,iBAAkB,CAClB,WAAY,CACZ,UJyMJ,CItME,4DACE,SJwMJ,CK/NA,2CACE,GACE,+CLkOF,CKhOA,GACE,+CLkOF,CACF,CKxOA,mCACE,GACE,+CLkOF,CKhOA,GACE,+CLkOF,CACF,CK/NA,wBAEE,QAAS,CAGT,UAAW,CAFX,MAAO,CAIP,UAAY,CANZ,iBAAkB,CAOlB,mDAAsB,CAJtB,UAAW,CAEX,4CLmOF,CK/NE,kCACE,+GLiOJ,CK9NE,oCACE,yDAA0B,CAA1B,8CLgOJ,CK7NE,6BAEE,SAAa,CADb,OAAQ,CAER,qDL+NJ,CM7PA,mBAQE,oGADA,wBAAiD,CAAjD,qDAAiD,CAFjD,kBAAmB,CAEnB,oDAAiD,CAJjD,qBAAsB,CADtB,WAAY,CADZ,UNuQF,COpQA,2CACI,kBAJA,uHP4QF,COjQE,GACI,SAAU,CACV,2EPmQN,COjQE,IACI,SAAU,CACV,yEPmQN,COjQE,IACI,uEPmQN,COjQE,IACI,uEPmQN,COjQE,GACI,qCPmQN,CACF,CO3RA,mCACI,kBAJA,uHP4QF,COjQE,GACI,SAAU,CACV,2EPmQN,COjQE,IACI,SAAU,CACV,yEPmQN,COjQE,IACI,uEPmQN,COjQE,IACI,uEPmQN,COjQE,GACI,qCPmQN,CACF,COhQA,4CACI,IACI,SAAU,CACV,yEPkQN,COhQE,GACI,SAAU,CACV,2EPkQN,CACF,CO1QA,oCACI,IACI,SAAU,CACV,yEPkQN,COhQE,GACI,SAAU,CACV,2EPkQN,CACF,CO/PA,0CACI,kBA1CA,uHP4SF,CO3PE,GACI,SAAU,CACV,6EP6PN,CO3PE,IACI,SAAU,CACV,uEP6PN,CO3PE,IACI,yEP6PN,CO3PE,IACI,qEP6PN,CO3PE,GACI,qCP6PN,CACF,COrRA,kCACI,kBA1CA,uHP4SF,CO3PE,GACI,SAAU,CACV,6EP6PN,CO3PE,IACI,SAAU,CACV,uEP6PN,CO3PE,IACI,yEP6PN,CO3PE,IACI,qEP6PN,CO3PE,GACI,qCP6PN,CACF,CO1PA,2CACI,IACI,SAAU,CACV,uEP4PN,CO1PE,GACI,SAAU,CACV,6EP4PN,CACF,COpQA,mCACI,IACI,SAAU,CACV,uEP4PN,CO1PE,GACI,SAAU,CACV,6EP4PN,CACF,COzPA,wCACI,kBAhFA,uHP4UF,COrPE,GACI,SAAU,CACV,2EPuPN,COrPE,IACI,SAAU,CACV,yEPuPN,COrPE,IACI,uEPuPN,COrPE,IACI,uEPuPN,COrPE,GACI,uDPuPN,CACF,CO/QA,gCACI,kBAhFA,uHP4UF,COrPE,GACI,SAAU,CACV,2EPuPN,COrPE,IACI,SAAU,CACV,yEPuPN,COrPE,IACI,uEPuPN,COrPE,IACI,uEPuPN,COrPE,GACI,uDPuPN,CACF,COpPA,yCACI,IACI,yEPsPN,COpPE,QAEI,SAAU,CACV,uEPqPN,COnPE,GACI,SAAU,CACV,6EPqPN,CACF,COjQA,iCACI,IACI,yEPsPN,COpPE,QAEI,SAAU,CACV,uEPqPN,COnPE,GACI,SAAU,CACV,6EPqPN,CACF,COlPA,0CACI,kBA1HA,uHP+WF,CO9OE,GACI,SAAU,CACV,6EPgPN,CO9OE,IACI,SAAU,CACV,uEPgPN,CO9OE,IACI,yEPgPN,CO9OE,IACI,qEPgPN,CO9OE,GACI,qCPgPN,CACF,COxQA,kCACI,kBA1HA,uHP+WF,CO9OE,GACI,SAAU,CACV,6EPgPN,CO9OE,IACI,SAAU,CACV,uEPgPN,CO9OE,IACI,yEPgPN,CO9OE,IACI,qEPgPN,CO9OE,GACI,qCPgPN,CACF,CO7OA,2CACI,IACI,uEP+ON,CO7OE,QAEI,SAAU,CACV,yEP8ON,CO5OE,GACI,SAAU,CACV,2EP8ON,CACF,CO1PA,mCACI,IACI,uEP+ON,CO7OE,QAEI,SAAU,CACV,yEP8ON,CO5OE,GACI,SAAU,CACV,2EP8ON,CACF,CO1OI,uEAEI,mFP2OR,COzOI,yEAEI,qFP0OR,COxOI,oCACI,mFP0OR,COxOI,uCACI,+EP0OR,COrOI,qEAEI,qFPuOR,COrOI,uEAEI,uFPsOR,COpOI,mCACI,iFPsOR,COpOI,sCACI,qFPsOR,CQxaA,oCACI,GACI,SAAU,CACV,+DR2aN,CQzaE,IACI,SR2aN,CACF,CQlbA,4BACI,GACI,SAAU,CACV,+DR2aN,CQzaE,IACI,SR2aN,CACF,CQxaA,qCACI,GACI,SR0aN,CQxaE,IACI,SAAU,CACV,+DR0aN,CQxaE,GACI,SR0aN,CACF,CQpbA,6BACI,GACI,SR0aN,CQxaE,IACI,SAAU,CACV,+DR0aN,CQxaE,GACI,SR0aN,CACF,CQvaA,sBACI,uERyaJ,CQtaA,qBACI,yERyaJ,CSrcA,oCACI,GAEI,2EAAkC,CAClC,SAAU,CAFV,+FT0cN,CStcE,IAEI,2EAAkC,CADlC,iGTycN,CStcE,IAEI,SAAU,CADV,+FTycN,CStcE,IACI,+FTwcN,CStcE,GACI,iETwcN,CACF,CS3dA,4BACI,GAEI,2EAAkC,CAClC,SAAU,CAFV,+FT0cN,CStcE,IAEI,2EAAkC,CADlC,iGTycN,CStcE,IAEI,SAAU,CADV,+FTycN,CStcE,IACI,+FTwcN,CStcE,GACI,iETwcN,CACF,CSrcA,qCACI,GACI,iETucN,CSrcE,IAEI,SAAU,CADV,iGTwcN,CSrcE,GAEI,SAAU,CADV,+FTwcN,CACF,CSldA,6BACI,GACI,iETucN,CSrcE,IAEI,SAAU,CADV,iGTwcN,CSrcE,GAEI,SAAU,CADV,+FTwcN,CACF,CSpcA,sBACI,uETscJ,CSncA,qBACI,yETscJ,CU3eA,0CACI,GACI,uEAAkC,CAClC,kBV8eN,CU5eE,GARA,uDVufF,CACF,CUrfA,kCACI,GACI,uEAAkC,CAClC,kBV8eN,CU5eE,GARA,uDVufF,CACF,CU3eA,yCACI,GACI,yEAAmC,CACnC,kBV6eN,CU3eE,GAlBA,uDVggBF,CACF,CUpfA,iCACI,GACI,yEAAmC,CACnC,kBV6eN,CU3eE,GAlBA,uDVggBF,CACF,CU1eA,uCACI,GACI,uEAAkC,CAClC,kBV4eN,CU1eE,GA5BA,uDVygBF,CACF,CUnfA,+BACI,GACI,uEAAkC,CAClC,kBV4eN,CU1eE,GA5BA,uDVygBF,CACF,CUzeA,yCACI,GACI,yEAAmC,CACnC,kBV2eN,CUzeE,GAtCA,uDVkhBF,CACF,CUlfA,iCACI,GACI,yEAAmC,CACnC,kBV2eN,CUzeE,GAtCA,uDVkhBF,CACF,CUxeA,2CACI,GA5CA,uDVuhBF,CUxeE,GAEI,uEAAkC,CADlC,iBV2eN,CACF,CUjfA,mCACI,GA5CA,uDVuhBF,CUxeE,GAEI,uEAAkC,CADlC,iBV2eN,CACF,CUveA,0CACI,GAtDA,uDVgiBF,CUveE,GAEI,yEAAmC,CADnC,iBV0eN,CACF,CUhfA,kCACI,GAtDA,uDVgiBF,CUveE,GAEI,yEAAmC,CADnC,iBV0eN,CACF,CUteA,0CACI,GAhEA,uDVyiBF,CUteE,GAEI,yEAAmC,CADnC,iBVyeN,CACF,CU/eA,kCACI,GAhEA,uDVyiBF,CUteE,GAEI,yEAAmC,CADnC,iBVyeN,CACF,CUreA,wCACI,GA1EA,uDVkjBF,CUreE,GAEI,2EAAoC,CADpC,iBVweN,CACF,CU9eA,gCACI,GA1EA,uDVkjBF,CUreE,GAEI,2EAAoC,CADpC,iBVweN,CACF,CUneI,qEAEI,iFVoeR,CUleI,uEAEI,mFVmeR,CUjeI,mCACI,iFVmeR,CUjeI,sCACI,6EVmeR,CU9dI,mEAEI,mFVgeR,CU9dI,qEAEI,qFV+dR,CU7dI,kCACI,+EV+dR,CU7dI,qCACI,mFV+dR,CWjlBA,kCACE,GACE,qDXolBF,CWllBA,GACE,uDXolBF,CACF,CW1lBA,0BACE,GACE,qDXolBF,CWllBA,GACE,uDXolBF,CACF,CY3kBA,iBACI,oCACA,6BACA,2BACA,4BACA,gCACA,cACA,cACA,gBACA,kBACA,kBACA,iBACA,wBACA,kBACA,mBAEA,mCACI,qDACA,wGACA,8BACA,yBAGJ,mCACI,qDACA,mBACA,gCACA,qBACA,gBACA,gBACA,kBACA,mBACA,wBAGJ,uBACI,0BAEA,yCACI,mDACA,0BAKZ,gBACI,YACA,kBACA,sBACA,WCjDJ,kCACI,aACA,mBACA,iBACA,mBAEA,eADA,gBAEA,kBAEA,4DACI,iBAGJ,4DACI,iBAGJ,wCACI,4CACA,SAEA,WADA,WAEA,kBACA,WCvBR,wBACI,oCACA,kBACA,+BACA,qCACA,iBACA,WACA,gBACA,iBACA,kBCxBJ,mCACI,mBAGJ,iCACI,qBAGA,kBAHA,wCACA,aACA,gGACA,aAGJ,+BACI,kBAGA,eAHA,kCACA,aACA,kGACA,UAGJ,sBAEI,yBADA,iBAEA,aACA,gCAEA,4BAEI,4BADA,8CACA,CAIR,gCAGI,kBAFA,aACA,2BAEA,gBADA,YACA,CAGJ,0BAGI,0DAFA,aACA,oHAEA,eAGJ,mCAEI,aADA,YACA,CAGJ,6BAEI,aADA,aAEA,gGAGJ,8BACI,gB7BxDJ,6I6BiEQ,iB7BjER,kJ6B2EQ,oB7B3ER,iJ6BqFQ,qB7BrFR,8I6B+FQ,kB7B/FR,oJ6ByGQ,qB7BzGR,qJ6BmHQ,sB7BnHR,gJ6B6HQ,kB7B7HR,uJ6BuIQ,oB7BvIR,qJ6BiJQ,sB7BjJR,6I6B2JQ,iB7B3JR,mJ6BqKQ,oB7BrKR,kJ6B+KQ,qB7B/KR,uJ6ByLQ,sB7BzLR,2J6BmMQ,yB7BnMR,2J6B6MQ,0B7B7MR,+I6BuNQ,kB7BvNR,iJ6BiOQ,mB7BjOR,iJ6B2OQ,mB7B3OR,iJ6BqPQ,mB7BrPR,iJ6B+PQ,mB7B/PR,8I6ByQQ,mB7BzQR,8I6BmRQ,mBCjQR,0BACI,sCACA,2DACA,aACA,sBACA,aACA,gBAGJ,8BAKI,mBAJA,aAGA,uBAFA,aACA,iBAEA,CAGJ,gCACI,mBAGJ,yBACI,mBAGJ,wBACI,qBACA,SACA,UAEA,8BAEI,kDADA,WAEA,cACA,WACA,iBACA,eAIR,uGAEI,aAGJ,yBACI,mBACA,kCACA,8BACA,aACA,iBACA,iBACA,gBACA,aACA,kBACA,qBACA,2CA1DqB,CA4DrB,sDACI,iCACA,0BAGJ,8DAEI,+CACA,0BAIR,sBACI,qDACA,mBACA,gCACA,qBACA,iBACA,mBACA,iBACA,gBACA,2CAjFqB,CAoFzB,+JAGI,mDACA,0BAGJ,sBACI,uCACA,YACA,2CA9FqB,CAiGzB,+JAGI,yB9BpHJ,4E8BkII,C9BlIJ,uC8BmII,wCACA,0B9BpIJ,+F8BqII,e9BrIJ,gB8BsII,WANa,CAOb,iBACA,a9BxIJ,2F8ByII,WC1HJ,2BACI,mBACA,aACA,sBACA,YACA,uBACA,gBCNJ,yBAEI,+BADA,qBAEA,cACA,sBACA,WCLJ,2BACI,aAGJ,gCACI,qBACA,cAEA,sCACI,uCACA,YACA,qBACA,gBAGJ,iDACI,aAIR,yBAEI,cADA,YACA,CAGJ,sBACI,kDACA,kBAEA,gBACA,cAFA,uBAEA,CAGJ,gCACI,mBACA,aACA,sBACA,iBACA,uBACA,iBACA,gBACA,kBAEA,mCACI,gBAIR,0BACI,cACA,iBAGJ,uBACI,uCACA,kBACA,0BACA,eACA,qBACA,iBACA,cACA,gBACA,yBACA,mBC/DJ,mBACI,aAGJ,sBACI,YAGJ,sBACI,YACA,gBACA,SAGJ,wBACI,sBACA,gCACA,uCACA,iBACA,mBACA,eACA,iBACA,iBACA,+DACA,mBACA,mBACA,SAGJ,+BACI,+BAGJ,kBACI,uCACA,iBACA,mBACA,iBACA,WACA,gBCvCJ,8BACI,uCACA,iBAEA,oCACI,uCACA,YACA,qBACA,eACA,iBACA,cACA,sBCXR,2BACI,aAGJ,gCACI,qBACA,cAEA,sCACI,uCACA,YACA,qBACA,gBAGJ,iDACI,aChBR,4BACI,gCACA,iBACA,gBACA,mBAGJ,0BAEI,aADA,aAEA,qCAGJ,6DAEI,aACA,gBACA,mBAGJ,oCACI,gCACA,kBCtBJ,6BACI,aAGJ,kCACI,qBACA,cAEA,wCACI,uCACA,YACA,qBACA,gBAGJ,mDACI,aChBR,qDAEI,kDACA,kBACA,YACA,gBACA,eAGJ,6BACI,iCACA,cAGJ,4BAEI,cADA,aAEA,gBAGJ,uBAEI,aADA,YACA,CAGJ,2BACI,kDACA,cACA,uCACA,kCACA,cACA,gBACA,WAGJ,gCACI,eACA,cAGJ,0BACI,sBCxCJ,wBAGI,0DACA,sBAOA,CxC3BJ,kZyCeA,6BACI,aAGJ,kCACI,qBACA,cAEA,wCACI,uCACA,YACA,qBACA,gBAGJ,mDACI,aAIR,6BACI,mBACA,aACA,sBACA,iBACA,uBACA,iBACA,gBACA,kBAEA,gCACI,gBAIR,4BACI,cACA,iBCrCJ,iCACI,eAGJ,mCACI,mBAGJ,0DACI,uCACA,YACA,aCXJ,2BACI,aAGJ,gCACI,qBACA,cAEA,sCACI,uCACA,YACA,qBACA,gBAGJ,iDACI,aAIR,4BACI,mBACA,aACA,sBACA,iBACA,uBACA,iBACA,gBACA,kBAEA,+BACI,gBAIR,0BACI,cACA,iBCrCJ,0BACI,aAGJ,+BACI,qBACA,cAEA,qCACI,uCACA,YACA,qBACA,gBAGJ,gDACI,aAIR,0BACI,mBACA,aACA,sBACA,iBACA,uBACA,iBACA,gBACA,kBAEA,6BACI,gBAIR,yBACI,cACA,iBCrCJ,iCACI,gCACA,iBACA,oBACA,kBAGJ,2BACI,cACA","sources":["style/fonts.css","index.css","%3Cinput%20css%200aaE1_%3E","../","../node_modules/highcharts/css/highcharts.scss","components/charts/charts.scss","components/App.module.scss","components/dataTable/PaginationNav.module.scss","components/pips/Pip.module.scss","components/layout/WorkspaceHeader.module.scss","components/layout/WorkspaceTitle.module.scss","components/TextInput.module.scss","components/dataTable/DataFilter.module.scss","components/dropdown/Dropdown.module.scss","components/inputs/Label.module.scss","components/inputs/Select.module.scss","../node_modules/react-toastify/scss/_variables.scss","../node_modules/react-toastify/dist/ReactToastify.css","../node_modules/react-toastify/scss/_toastContainer.scss","../node_modules/react-toastify/scss/_toast.scss","../node_modules/react-toastify/scss/_theme.scss","../node_modules/react-toastify/scss/_closeButton.scss","../node_modules/react-toastify/scss/_progressBar.scss","../node_modules/react-toastify/scss/_icons.scss","../node_modules/react-toastify/scss/animations/_bounce.scss","../node_modules/react-toastify/scss/animations/_zoom.scss","../node_modules/react-toastify/scss/animations/_flip.scss","../node_modules/react-toastify/scss/animations/_slide.scss","../node_modules/react-toastify/scss/animations/_spin.scss","components/tabs/Tab.module.scss","components/tabs/TabContainer.module.scss","components/tooltip/Tooltip.module.scss","components/routes/Settings.module.scss","components/NavRail.module.scss","components/routes/Error404.module.scss","components/tooltip/HelpTooltip.module.scss","components/routes/schema/Schema.module.scss","components/Code.module.scss","components/layout/NavCrumbs.module.scss","components/routes/stream/Stream.module.scss","components/routes/Workflows.module.scss","components/routes/workflow/Workflow.module.scss","components/routes/VTExplain.module.scss","components/Spinner.module.scss","components/routes/keyspace/Keyspace.module.scss","components/routes/keyspace/KeyspaceShards.module.scss","components/routes/tablet/Tablet.module.scss","components/routes/shard/Shard.module.scss","components/routes/shard/ShardTablets.module.scss"],"sourcesContent":["/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n@font-face {\n font-display: swap;\n font-family: NotoSans;\n src: local('NotoSans-Regular'), url('../fonts/NotoSans-Regular.ttf') format('truetype');\n}\n\n@font-face {\n font-display: swap;\n font-family: NotoSans;\n src: local('NotoSans-SemiBold'), url('../fonts/NotoSans-SemiBold.ttf') format('truetype');\n font-weight: 500;\n}\n\n@font-face {\n font-display: swap;\n font-family: NotoSans;\n src: local('NotoSans-Bold'), url('../fonts/NotoSans-Bold.ttf') format('truetype');\n font-weight: 700;\n}\n\n@font-face {\n font-display: swap;\n font-family: NotoMono;\n src: local('NotoMono-Regular'), url('../fonts/NotoMono-Regular.ttf') format('truetype');\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n@import './style/fonts.css';\n\n@tailwind base;\n@tailwind components;\n@tailwind utilities;\n\n:root {\n /* Greyscale */\n --grey75: #f8fafd;\n --grey200: #edf2f7;\n --grey400: #cbd5e0;\n --grey600: #718096;\n --grey800: #2d3748;\n --grey900: #1e2531;\n\n /* Invariant colours common across all themes */\n --colorSuccess: #00893e;\n --colorSuccess50: #4cba6a;\n --colorSuccess200: #005a13;\n --colorInfo: #ffab40;\n --colorInfo50: #ffdd71;\n --colorInfo200: #c77c02;\n --colorError: #d32f2f;\n --colorError50: #ff6659;\n --colorError200: #9a0007;\n\n /* Fonts */\n --fontFamilyPrimary: theme('fontFamily.sans');\n --fontFamilyMonospace: theme('fontFamily.mono');\n\n /* Body text */\n --lineHeightBody: 1.36;\n\n /* Headings */\n --lineHeightHeading: 1.36;\n\n /* Inputs + other form controls */\n --inputHeightSmall: 2.4rem;\n --inputHeightMedium: 3.7rem;\n --inputHeightLarge: 4.6rem;\n\n /* Tables */\n --tableCellPadding: 1.6rem;\n\n /* Layout variables, set to light theme by default */\n --backgroundPrimary: #fff;\n --backgroundPrimaryHighlight: rgba(61, 90, 254, 0.1);\n --backgroundSecondary: var(--grey75);\n --backgroundSecondaryHighlight: var(--grey200);\n --boxShadowHover: 0 3px 3px #cbd5e0;\n --colorDisabled: var(--grey400);\n --colorPrimary: #3d5afe;\n --colorPrimary50: #8187ff;\n --colorPrimary200: #0031ca;\n --colorScaffoldingHighlight: var(--grey400);\n --colorScaffoldingForeground: var(--grey600);\n --tableBorderColor: var(--grey400);\n --textColorPrimary: theme('textColor.primary');\n --textColorInverted: #fff;\n --textColorSecondary: theme('textColor.secondary');\n --textColorDisabled: #cbd5e0;\n\n /* TODO(doeg, someday): add a mixin to apply opacity to hex vars to re-use var(--backgroundInverted) */\n --tooltipBackground: rgba(0, 0, 0, 0.85);\n\n /* Z-index */\n --zIndexDefault: 0;\n --zIndexLow: 10;\n --zIndexMid: 100;\n --zIndexHigh: 1000;\n}\n\n/* Dark theme */\n[data-vtadmin-theme='dark'] {\n --backgroundPrimary: #17171b;\n --backgroundPrimaryHighlight: rgba(129, 135, 255, 0.2);\n --backgroundSecondary: var(--grey900);\n --backgroundSecondaryHighlight: var(--grey800);\n --boxShadowHover: 0 3px 3px #2d3748;\n --colorDisabled: var(--grey600);\n --colorPrimary: #8187ff;\n --colorPrimary50: #b6b7ff;\n --colorPrimary200: #4a5acb;\n --colorScaffoldingHighlight: var(--grey600);\n --colorScaffoldingForeground: var(--grey400);\n --tableBorderColor: var(--grey800);\n --textColorPrimary: #fff;\n --textColorInverted: #17171b;\n --textColorSecondary: #cbd5e0;\n --textColorDisabled: #2d3748;\n --tooltipBackground: rgba(255, 255, 255, 0.85);\n}\n\n* {\n box-sizing: border-box;\n}\n\nhtml {\n /**\n * Set a base font size of 1rem == 10px, based on the common browser default of 16px.\n * This lets us use rem values everywhere for accessibility, while still\n * \"pinning\" to reasonable defaults. For a really good article on this,\n * see https://www.24a11y.com/2019/pixels-vs-relative-units-in-css-why-its-still-a-big-deal/\n */\n font-size: 62.5%;\n}\n\nbody {\n background: var(--backgroundPrimary);\n color: var(--textColorPrimary);\n font-size: theme('fontSize.base');\n line-height: var(--lineHeightBody);\n margin: 0;\n font-family: var(--fontFamilyPrimary);\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n}\n\n/* Typography */\nh1 {\n color: var(--textColorPrimary);\n font-size: theme('fontSize.3xl');\n font-weight: 700;\n line-height: var(--lineHeightHeading);\n}\n\nh2 {\n color: var(--textColorPrimary);\n font-size: theme('fontSize.2xl');\n font-weight: 700;\n line-height: var(--lineHeightHeading);\n}\n\nh3 {\n color: var(--textColorPrimary);\n font-size: theme('fontSize.xl');\n font-weight: 700;\n line-height: var(--lineHeightHeading);\n}\n\ncode {\n display: inline-block;\n font-family: var(--fontFamilyMonospace);\n margin: 0 2px;\n}\n\np {\n margin: 1.2rem 0;\n}\n\n/* Links */\na,\na:visited,\na:focus,\na:active {\n color: var(--colorPrimary);\n cursor: pointer;\n text-decoration: none;\n}\n\n/* Tables */\ntable {\n border-collapse: collapse;\n margin: var(--tableCellPadding) 0;\n width: 100%;\n}\n\ntable caption {\n background: var(--backgroundSecondary);\n color: var(--textColorPrimary);\n font-size: theme('fontSize.base');\n font-weight: 500;\n padding: 1.2rem var(--tableCellPadding) 0.8rem var(--tableCellPadding);\n text-align: left;\n}\n\ntable th {\n background: var(--backgroundSecondary);\n border: solid 1px var(--backgroundSecondary);\n border-bottom-color: var(--tableBorderColor);\n color: var(--textColorSecondary);\n font-size: theme('fontSize.base');\n font-weight: 500;\n padding: 8px var(--tableCellPadding);\n text-align: left;\n}\n\ntable tbody tr {\n border-bottom: solid 1px var(--tableBorderColor);\n border-top: solid 1px var(--tableBorderColor);\n}\n\ntable tbody td {\n padding: var(--tableCellPadding);\n vertical-align: top;\n}\n\ntable tbody td[rowSpan] {\n border-right: solid 1px var(--tableBorderColor);\n}\n\n.Toastify__toast {\n padding: 0 !important;\n min-height: auto !important;\n background: none !important;\n}\n\n.Toastify__toast-body {\n padding: 0 !important;\n margin: 0 !important;\n}\n\n.Toastify__toast-theme--light,\n.Toastify__toast-theme--dark {\n background: none !important;\n}\n\n/* See https://tailwindcss.com/docs/extracting-components */\n@layer components {\n .btn,\n .btn:visited {\n @apply bg-vtblue;\n @apply border-2 border-vtblue;\n @apply cursor-pointer;\n @apply font-sans font-semibold;\n @apply inline-block;\n @apply leading-relaxed;\n @apply outline-none;\n @apply px-6 py-2;\n @apply rounded-lg;\n @apply text-center;\n @apply text-white;\n @apply select-none;\n @apply whitespace-nowrap;\n @apply w-min;\n\n @apply focus:ring-vtblue-50;\n @apply focus:ring-offset-1;\n @apply focus:ring-2;\n\n height: fit-content;\n appearance: button;\n }\n\n .btn:disabled {\n @apply cursor-not-allowed;\n\n background: var(--colorDisabled);\n border-color: var(--colorDisabled);\n }\n\n /* Size variants */\n .btn-lg {\n @apply px-8;\n @apply leading-loose;\n @apply text-lg;\n }\n\n .btn-sm {\n @apply border;\n @apply leading-snug;\n @apply px-4 py-1;\n @apply text-sm;\n }\n\n /* Implicit icon styling */\n .btn svg {\n @apply align-middle;\n @apply fill-current;\n @apply h-8;\n @apply inline-block;\n @apply -ml-2 mr-1;\n }\n\n .btn-lg svg {\n @apply h-10;\n @apply -ml-2 mr-2;\n }\n\n .btn-sm svg {\n @apply h-6;\n @apply -ml-3 mr-0;\n }\n\n /* Visual priority variants */\n .btn-secondary,\n .btn-secondary:visited {\n @apply bg-transparent !important;\n @apply text-vtblue;\n }\n\n .btn-secondary:disabled {\n @apply text-vtblue;\n\n color: var(--colorDisabled);\n }\n\n /* Intents (colours) */\n .btn-danger,\n .btn-danger:visited {\n @apply focus:ring-danger-50;\n @apply bg-danger;\n @apply border-danger;\n }\n\n .btn-danger.btn-secondary:enabled,\n .btn-danger.btn-secondary:visited {\n @apply text-danger;\n }\n\n .btn-success,\n .btn-success:visited {\n @apply focus:ring-success-50;\n @apply bg-success;\n @apply border-success;\n }\n\n .btn-success.btn-secondary:enabled,\n .btn-success.btn-secondary:visited {\n @apply text-success;\n }\n\n .btn-warning,\n .btn-warning:visited {\n @apply focus:ring-warning-50;\n @apply bg-warning;\n @apply border-warning;\n }\n\n .btn-warning.btn-secondary:enabled,\n .btn-warning.btn-secondary:visited {\n @apply text-warning;\n }\n\n .toggle {\n height: 19px;\n width: 37px;\n @apply relative;\n @apply inline-flex;\n @apply flex-shrink-0;\n @apply border-2;\n @apply border-transparent;\n @apply rounded-full;\n @apply cursor-pointer;\n @apply transition-colors;\n @apply ease-in-out;\n @apply duration-200;\n @apply focus:outline-none;\n }\n\n .toggle.on {\n @apply bg-vtblue;\n }\n\n .toggle.off {\n @apply bg-gray-400;\n }\n\n .toggle-button {\n height: 15px;\n width: 15px;\n @apply pointer-events-none;\n @apply inline-block;\n @apply rounded-full;\n @apply bg-white;\n @apply shadow-lg;\n @apply transform;\n @apply ring-0;\n @apply transition;\n @apply ease-in-out;\n @apply duration-200;\n }\n\n .toggle-button.on {\n @apply translate-x-7;\n }\n\n .toggle-button.off {\n @apply translate-x-0;\n }\n}\n","/*\n1. Prevent padding and border from affecting element width. (https://github.com/mozdevs/cssremedy/issues/4)\n2. Allow adding a border to an element by just adding a border-width. (https://github.com/tailwindcss/tailwindcss/pull/116)\n*/\n\n*,\n::before,\n::after {\n box-sizing: border-box; /* 1 */\n border-width: 0; /* 2 */\n border-style: solid; /* 2 */\n border-color: theme('borderColor.DEFAULT', 'currentColor'); /* 2 */\n}\n\n::before,\n::after {\n --tw-content: '';\n}\n\n/*\n1. Use a consistent sensible line-height in all browsers.\n2. Prevent adjustments of font size after orientation changes in iOS.\n3. Use a more readable tab size.\n4. Use the user's configured `sans` font-family by default.\n*/\n\nhtml {\n line-height: 1.5; /* 1 */\n -webkit-text-size-adjust: 100%; /* 2 */\n -moz-tab-size: 4; /* 3 */\n tab-size: 4; /* 3 */\n font-family: theme('fontFamily.sans', ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, \"Helvetica Neue\", Arial, \"Noto Sans\", sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\", \"Noto Color Emoji\"); /* 4 */\n}\n\n/*\n1. Remove the margin in all browsers.\n2. Inherit line-height from `html` so users can set them as a class directly on the `html` element.\n*/\n\nbody {\n margin: 0; /* 1 */\n line-height: inherit; /* 2 */\n}\n\n/*\n1. Add the correct height in Firefox.\n2. Correct the inheritance of border color in Firefox. (https://bugzilla.mozilla.org/show_bug.cgi?id=190655)\n3. Ensure horizontal rules are visible by default.\n*/\n\nhr {\n height: 0; /* 1 */\n color: inherit; /* 2 */\n border-top-width: 1px; /* 3 */\n}\n\n/*\nAdd the correct text decoration in Chrome, Edge, and Safari.\n*/\n\nabbr:where([title]) {\n text-decoration: underline dotted;\n}\n\n/*\nRemove the default font size and weight for headings.\n*/\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n font-size: inherit;\n font-weight: inherit;\n}\n\n/*\nReset links to optimize for opt-in styling instead of opt-out.\n*/\n\na {\n color: inherit;\n text-decoration: inherit;\n}\n\n/*\nAdd the correct font weight in Edge and Safari.\n*/\n\nb,\nstrong {\n font-weight: bolder;\n}\n\n/*\n1. Use the user's configured `mono` font family by default.\n2. Correct the odd `em` font sizing in all browsers.\n*/\n\ncode,\nkbd,\nsamp,\npre {\n font-family: theme('fontFamily.mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, \"Liberation Mono\", \"Courier New\", monospace); /* 1 */\n font-size: 1em; /* 2 */\n}\n\n/*\nAdd the correct font size in all browsers.\n*/\n\nsmall {\n font-size: 80%;\n}\n\n/*\nPrevent `sub` and `sup` elements from affecting the line height in all browsers.\n*/\n\nsub,\nsup {\n font-size: 75%;\n line-height: 0;\n position: relative;\n vertical-align: baseline;\n}\n\nsub {\n bottom: -0.25em;\n}\n\nsup {\n top: -0.5em;\n}\n\n/*\n1. Remove text indentation from table contents in Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=999088, https://bugs.webkit.org/show_bug.cgi?id=201297)\n2. Correct table border color inheritance in all Chrome and Safari. (https://bugs.chromium.org/p/chromium/issues/detail?id=935729, https://bugs.webkit.org/show_bug.cgi?id=195016)\n3. Remove gaps between table borders by default.\n*/\n\ntable {\n text-indent: 0; /* 1 */\n border-color: inherit; /* 2 */\n border-collapse: collapse; /* 3 */\n}\n\n/*\n1. Change the font styles in all browsers.\n2. Remove the margin in Firefox and Safari.\n3. Remove default padding in all browsers.\n*/\n\nbutton,\ninput,\noptgroup,\nselect,\ntextarea {\n font-family: inherit; /* 1 */\n font-size: 100%; /* 1 */\n line-height: inherit; /* 1 */\n color: inherit; /* 1 */\n margin: 0; /* 2 */\n padding: 0; /* 3 */\n}\n\n/*\nRemove the inheritance of text transform in Edge and Firefox.\n*/\n\nbutton,\nselect {\n text-transform: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Remove default button styles.\n*/\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n -webkit-appearance: button; /* 1 */\n background-color: transparent; /* 2 */\n background-image: none; /* 2 */\n}\n\n/*\nUse the modern Firefox focus style for all focusable elements.\n*/\n\n:-moz-focusring {\n outline: auto;\n}\n\n/*\nRemove the additional `:invalid` styles in Firefox. (https://github.com/mozilla/gecko-dev/blob/2f9eacd9d3d995c937b4251a5557d95d494c9be1/layout/style/res/forms.css#L728-L737)\n*/\n\n:-moz-ui-invalid {\n box-shadow: none;\n}\n\n/*\nAdd the correct vertical alignment in Chrome and Firefox.\n*/\n\nprogress {\n vertical-align: baseline;\n}\n\n/*\nCorrect the cursor style of increment and decrement buttons in Safari.\n*/\n\n::-webkit-inner-spin-button,\n::-webkit-outer-spin-button {\n height: auto;\n}\n\n/*\n1. Correct the odd appearance in Chrome and Safari.\n2. Correct the outline style in Safari.\n*/\n\n[type='search'] {\n -webkit-appearance: textfield; /* 1 */\n outline-offset: -2px; /* 2 */\n}\n\n/*\nRemove the inner padding in Chrome and Safari on macOS.\n*/\n\n::-webkit-search-decoration {\n -webkit-appearance: none;\n}\n\n/*\n1. Correct the inability to style clickable types in iOS and Safari.\n2. Change font properties to `inherit` in Safari.\n*/\n\n::-webkit-file-upload-button {\n -webkit-appearance: button; /* 1 */\n font: inherit; /* 2 */\n}\n\n/*\nAdd the correct display in Chrome and Safari.\n*/\n\nsummary {\n display: list-item;\n}\n\n/*\nRemoves the default spacing and border for appropriate elements.\n*/\n\nblockquote,\ndl,\ndd,\nh1,\nh2,\nh3,\nh4,\nh5,\nh6,\nhr,\nfigure,\np,\npre {\n margin: 0;\n}\n\nfieldset {\n margin: 0;\n padding: 0;\n}\n\nlegend {\n padding: 0;\n}\n\nol,\nul,\nmenu {\n list-style: none;\n margin: 0;\n padding: 0;\n}\n\n/*\nPrevent resizing textareas horizontally by default.\n*/\n\ntextarea {\n resize: vertical;\n}\n\n/*\n1. Reset the default placeholder opacity in Firefox. (https://github.com/tailwindlabs/tailwindcss/issues/3300)\n2. Set the default placeholder color to the user's configured gray 400 color.\n*/\n\ninput::placeholder,\ntextarea::placeholder {\n opacity: 1; /* 1 */\n color: theme('colors.gray.400', #9ca3af); /* 2 */\n}\n\n/*\nSet the default cursor for buttons.\n*/\n\nbutton,\n[role=\"button\"] {\n cursor: pointer;\n}\n\n/*\nMake sure disabled buttons don't get the pointer cursor.\n*/\n:disabled {\n cursor: default;\n}\n\n/*\n1. Make replaced elements `display: block` by default. (https://github.com/mozdevs/cssremedy/issues/14)\n2. Add `vertical-align: middle` to align replaced elements more sensibly by default. (https://github.com/jensimmons/cssremedy/issues/14#issuecomment-634934210)\n This can trigger a poorly considered lint error in some tools but is included by design.\n*/\n\nimg,\nsvg,\nvideo,\ncanvas,\naudio,\niframe,\nembed,\nobject {\n display: block; /* 1 */\n vertical-align: middle; /* 2 */\n}\n\n/*\nConstrain images and videos to the parent width and preserve their intrinsic aspect ratio. (https://github.com/mozdevs/cssremedy/issues/14)\n*/\n\nimg,\nvideo {\n max-width: 100%;\n height: auto;\n}\n\n/*\nEnsure the default browser behavior of the `hidden` attribute.\n*/\n\n[hidden] {\n display: none;\n}\n",null,"/**\n * @license Highcharts\n *\n * (c) 2009-2016 Torstein Honsi\n *\n * License: www.highcharts.com/license\n */\n\n// Colors for data series and points.\n$colors: #7cb5ec #434348 #90ed7d #f7a35c #8085e9 #f15c80 #e4d354 #2b908f #f45b5b #91e8e1 !default;\n\n// Chart background, point stroke for markers and columns etc\n$background-color: #ffffff !default;\n\n// Neutral colors, grayscale by default. The default colors are defined by mixing the\n// background-color with neutral, with a weight corresponding to the number in the name.\n$neutral-color-100: #000000 !default; // Strong text.\n$neutral-color-80: #333333 !default; // Main text and some strokes.\n$neutral-color-60: #666666 !default; // Axis labels, axis title, connector fallback.\n$neutral-color-40: #999999 !default; // Credits text, export menu stroke.\n$neutral-color-20: #cccccc !default; // Disabled texts, button strokes, crosshair etc.\n$neutral-color-10: #e6e6e6 !default; // Grid lines etc.\n$neutral-color-5: #f2f2f2 !default; // Minor grid lines etc.\n$neutral-color-3: #f7f7f7 !default; // Tooltip backgroud, button fills, map null points.\n\n// Colored, shades of blue by default\n$highlight-color-100: #003399 !default; // Drilldown clickable labels, color axis max color.\n$highlight-color-80: #335cad !default; // Selection marker, menu hover, button hover, chart border, navigator series.\n$highlight-color-60: #6685c2 !default; // Navigator mask fill.\n$highlight-color-20: #ccd6eb !default; // Ticks and axis line.\n$highlight-color-10: #e6ebf5 !default; // Pressed button, color axis min color.\n\n// Fonts\n$font-family: \"Lucida Grande\", \"Lucida Sans Unicode\", Arial, Helvetica, sans-serif !default;\n$title-font-size: 1.5em !default;\n$subtitle-font-size: 1em !default;\n$legend-font-size: 1em !default;\n$axis-labels-font-size: 0.9em !default;\n\n// Tooltip\n$tooltip-border: 1px !default;\n$tooltip-background: $neutral-color-3 !default;\n\n// Axes\n$xaxis-grid-line: 0px !default;\n\n// Range-selector\n$range-selector-button-border: 0px !default;\n$range-selector-input-text: $neutral-color-80 !default;\n$range-selector-input-border: $neutral-color-20 !default;\n\n// Data-labels\n$data-label-color: $neutral-color-80 !default;\n\n// Buttons\n$context-button-background: $background-color !default;\n\n$highcharts-button-background: $neutral-color-3 !default;\n$highcharts-button-border: $neutral-color-20 !default;\n$highcharts-button-text: $neutral-color-80 !default;\n\n$highcharts-button-pressed-background: $highlight-color-10 !default;\n$highcharts-button-pressed-border: $neutral-color-20 !default;\n$highcharts-button-pressed-text: $neutral-color-80 !default;\n\n$highcharts-button-hover-background: $neutral-color-10 !default;\n$highcharts-button-hover-border: $neutral-color-20 !default;\n$highcharts-button-hover-text: $neutral-color-80 !default;\n\n// Navigator\n$navigator-series-fill: $highlight-color-80 !default;\n$navigator-series-border: $highlight-color-80 !default;\n\n// Scrollbar\n$scrollbar-track-background: $neutral-color-5 !default;\n$scrollbar-track-border: $neutral-color-5 !default;\n\n// Indicators\n$positive-color: #06b535; // Positive indicator color\n$negative-color: #f21313; // Negative indicator color\n\n.highcharts-container {\n position: relative;\n overflow: hidden;\n width: 100%;\n height: 100%;\n text-align: left;\n line-height: normal;\n z-index: 0; /* #1072 */\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n font-family: $font-family;\n font-size: 12px;\n user-select: none;\n touch-action: manipulation;\n outline: none;\n}\n.highcharts-root {\n display: block;\n}\n.highcharts-root text {\n stroke-width: 0;\n}\n.highcharts-strong {\n font-weight: bold;\n}\n.highcharts-emphasized {\n font-style: italic;\n}\n.highcharts-anchor {\n cursor: pointer;\n}\n.highcharts-background {\n fill: $background-color;\n}\n.highcharts-plot-border, .highcharts-plot-background {\n fill: none;\n}\n.highcharts-label-box {\n fill: none;\n}\n.highcharts-button-box {\n fill: inherit;\n}\n.highcharts-tracker-line {\n stroke-linejoin: round;\n stroke: rgba(192, 192, 192, 0.0001);\n stroke-width: 22;\n fill: none;\n}\n.highcharts-tracker-area {\n fill: rgba(192, 192, 192, 0.0001);\n stroke-width: 0;\n}\n\n/* Titles */\n.highcharts-title {\n fill: $neutral-color-80;\n font-size: $title-font-size;\n}\n.highcharts-subtitle {\n fill: $neutral-color-60;\n font-size: $subtitle-font-size;\n}\n\n/* Axes */\n.highcharts-axis-line {\n fill: none;\n stroke: $highlight-color-20;\n}\n.highcharts-yaxis .highcharts-axis-line {\n stroke-width: 0;\n}\n.highcharts-axis-title {\n fill: $neutral-color-60;\n}\n.highcharts-axis-labels {\n fill: $neutral-color-60;\n cursor: default;\n font-size: $axis-labels-font-size;\n}\n.highcharts-grid-line {\n fill: none;\n stroke: $neutral-color-10;\n}\n.highcharts-xaxis-grid .highcharts-grid-line {\n stroke-width: $xaxis-grid-line;\n}\n.highcharts-tick {\n stroke: $highlight-color-20;\n}\n.highcharts-yaxis .highcharts-tick {\n stroke-width: 0;\n}\n.highcharts-minor-grid-line {\n stroke: $neutral-color-5;\n}\n.highcharts-crosshair-thin {\n stroke-width: 1px;\n stroke: $neutral-color-20;\n}\n.highcharts-crosshair-category {\n stroke: $highlight-color-20;\n stroke-opacity: 0.25;\n}\n\n\n/* Credits */\n.highcharts-credits {\n cursor: pointer;\n fill: $neutral-color-40;\n font-size: 0.7em;\n transition: fill 250ms, font-size 250ms;\n}\n.highcharts-credits:hover {\n fill: black;\n font-size: 1em;\n}\n\n/* Tooltip */\n.highcharts-tooltip {\n cursor: default;\n pointer-events: none;\n white-space: nowrap;\n transition: stroke 150ms;\n}\n.highcharts-tooltip text {\n fill: $neutral-color-80;\n}\n.highcharts-tooltip .highcharts-header {\n font-size: 0.85em;\n}\n.highcharts-tooltip-box {\n stroke-width: $tooltip-border;\n fill: $tooltip-background;\n fill-opacity: 0.85;\n}\n.highcharts-tooltip-box .highcharts-label-box {\n fill: $tooltip-background;\n fill-opacity: 0.85;\n}\ndiv.highcharts-tooltip {\n filter: none;\n}\n\n.highcharts-selection-marker {\n fill: $highlight-color-80;\n fill-opacity: 0.25;\n}\n\n.highcharts-graph {\n fill: none;\n stroke-width: 2px;\n stroke-linecap: round;\n stroke-linejoin: round;\n}\n\n.highcharts-empty-series {\n stroke-width: 1px;\n fill: none;\n stroke: $neutral-color-20;\n}\n\n.highcharts-state-hover .highcharts-graph {\n stroke-width: 3;\n}\n\n.highcharts-point-inactive {\n opacity: 0.2;\n transition: opacity 50ms; /* quick in */\n}\n\n.highcharts-series-inactive {\n opacity: 0.2;\n transition: opacity 50ms; /* quick in */\n}\n\n.highcharts-state-hover path {\n transition: stroke-width 50ms; /* quick in */\n}\n.highcharts-state-normal path {\n transition: stroke-width 250ms; /* slow out */\n}\n/* Legend hover affects points and series */\ng.highcharts-series,\n.highcharts-point,\n.highcharts-markers,\n.highcharts-data-labels {\n transition: opacity 250ms;\n}\n.highcharts-legend-series-active g.highcharts-series:not(.highcharts-series-hover),\n.highcharts-legend-point-active .highcharts-point:not(.highcharts-point-hover),\n.highcharts-legend-series-active .highcharts-markers:not(.highcharts-series-hover),\n.highcharts-legend-series-active .highcharts-data-labels:not(.highcharts-series-hover) {\n opacity: 0.2;\n}\n\n/* Series options */\n\n/* Default colors */\n@for $i from 1 through length($colors) {\n $color: nth($colors, $i);\n .highcharts-color-#{$i - 1} {\n fill: $color;\n stroke: $color;\n }\n}\n\n.highcharts-area {\n fill-opacity: 0.75;\n stroke-width: 0;\n}\n.highcharts-markers {\n stroke-width: 1px;\n stroke: $background-color;\n}\n.highcharts-a11y-markers-hidden .highcharts-point:not(.highcharts-point-hover):not(.highcharts-a11y-marker-visible),\n.highcharts-a11y-marker-hidden {\n opacity: 0;\n}\n.highcharts-point {\n stroke-width: 1px;\n}\n.highcharts-dense-data .highcharts-point {\n stroke-width: 0;\n}\n\n.highcharts-data-label {\n font-size: 0.9em;\n font-weight: bold;\n}\n.highcharts-data-label-box {\n fill: none;\n stroke-width: 0;\n}\n.highcharts-data-label text, text.highcharts-data-label {\n fill: $data-label-color;\n}\n.highcharts-data-label-connector {\n fill: none;\n}\n.highcharts-data-label-hidden {\n pointer-events: none;\n}\n.highcharts-halo {\n fill-opacity: 0.25;\n stroke-width: 0;\n}\n.highcharts-series:not(.highcharts-pie-series) .highcharts-point-select,\n.highcharts-markers .highcharts-point-select {\n fill: $neutral-color-20;\n stroke: $neutral-color-100;\n}\n.highcharts-column-series rect.highcharts-point {\n // rect to prevent stroke on 3D columns\n stroke: $background-color;\n}\n.highcharts-column-series .highcharts-point {\n transition: fill-opacity 250ms;\n}\n.highcharts-column-series .highcharts-point-hover {\n fill-opacity: 0.75;\n transition: fill-opacity 50ms;\n}\n.highcharts-pie-series .highcharts-point {\n stroke-linejoin: round;\n stroke: $background-color;\n}\n.highcharts-pie-series .highcharts-point-hover {\n fill-opacity: 0.75;\n transition: fill-opacity 50ms;\n}\n.highcharts-funnel-series .highcharts-point {\n stroke-linejoin: round;\n stroke: $background-color;\n}\n.highcharts-funnel-series .highcharts-point-hover {\n fill-opacity: 0.75;\n transition: fill-opacity 50ms;\n}\n.highcharts-funnel-series .highcharts-point-select {\n fill: inherit;\n stroke: inherit;\n}\n.highcharts-pyramid-series .highcharts-point {\n stroke-linejoin: round;\n stroke: $background-color;\n}\n.highcharts-pyramid-series .highcharts-point-hover {\n fill-opacity: 0.75;\n transition: fill-opacity 50ms;\n}\n.highcharts-pyramid-series .highcharts-point-select {\n fill: inherit;\n stroke: inherit;\n}\n.highcharts-solidgauge-series .highcharts-point {\n stroke-width: 0;\n}\n.highcharts-treemap-series .highcharts-point {\n stroke-width: 1px;\n stroke: $neutral-color-10;\n transition: stroke 250ms, fill 250ms, fill-opacity 250ms;\n}\n.highcharts-treemap-series .highcharts-point-hover {\n stroke: $neutral-color-40;\n transition: stroke 25ms, fill 25ms, fill-opacity 25ms;\n}\n\n.highcharts-treemap-series .highcharts-above-level {\n display: none;\n}\n.highcharts-treemap-series .highcharts-internal-node {\n fill: none;\n}\n.highcharts-treemap-series .highcharts-internal-node-interactive {\n fill-opacity: 0.15;\n cursor: pointer;\n}\n.highcharts-treemap-series .highcharts-internal-node-interactive:hover {\n fill-opacity: 0.75;\n}\n\n.highcharts-vector-series .highcharts-point {\n fill: none;\n stroke-width: 2px;\n}\n\n.highcharts-windbarb-series .highcharts-point {\n fill: none;\n stroke-width: 2px;\n }\n\n.highcharts-lollipop-stem {\n\tstroke: $neutral-color-100;\n}\n\n.highcharts-focus-border {\n fill: none;\n stroke-width: 2px;\n}\n\n.highcharts-legend-item-hidden .highcharts-focus-border {\n fill: none !important;\n}\n\n/* Legend */\n.highcharts-legend-box {\n fill: none;\n stroke-width: 0;\n}\n.highcharts-legend-item > text {\n fill: $neutral-color-80;\n font-weight: bold;\n font-size: $legend-font-size;\n cursor: pointer;\n stroke-width: 0;\n}\n.highcharts-legend-item:hover text {\n fill: $neutral-color-100;\n}\n.highcharts-legend-item-hidden * {\n fill: $neutral-color-20 !important;\n stroke: $neutral-color-20 !important;\n transition: fill 250ms;\n}\n.highcharts-legend-nav-active {\n fill: $highlight-color-100;\n cursor: pointer;\n}\n.highcharts-legend-nav-inactive {\n fill: $neutral-color-20;\n}\ncircle.highcharts-legend-nav-active, circle.highcharts-legend-nav-inactive { /* tracker */\n fill: rgba(192, 192, 192, 0.0001);\n}\n.highcharts-legend-title-box {\n fill: none;\n stroke-width: 0;\n}\n\n/* Bubble legend */\n.highcharts-bubble-legend-symbol {\n stroke-width: 2;\n fill-opacity: 0.5;\n}\n.highcharts-bubble-legend-connectors {\n stroke-width: 1;\n}\n.highcharts-bubble-legend-labels {\n fill: $neutral-color-80;\n}\n\n/* Loading */\n.highcharts-loading {\n position: absolute;\n background-color: $background-color;\n opacity: 0.5;\n text-align: center;\n z-index: 10;\n transition: opacity 250ms;\n}\n.highcharts-loading-hidden {\n height: 0 !important;\n opacity: 0;\n overflow: hidden;\n transition: opacity 250ms, height 250ms step-end;\n}\n.highcharts-loading-inner {\n font-weight: bold;\n position: relative;\n top: 45%;\n}\n\n/* Plot bands and polar pane backgrounds */\n.highcharts-plot-band, .highcharts-pane {\n fill: $neutral-color-100;\n fill-opacity: 0.05;\n}\n.highcharts-plot-line {\n fill: none;\n stroke: $neutral-color-40;\n stroke-width: 1px;\n}\n\n/* Highcharts More and modules */\n.highcharts-boxplot-box {\n fill: $background-color;\n}\n.highcharts-boxplot-median {\n stroke-width: 2px;\n}\n.highcharts-bubble-series .highcharts-point {\n fill-opacity: 0.5;\n}\n.highcharts-errorbar-series .highcharts-point {\n stroke: $neutral-color-100;\n}\n.highcharts-gauge-series .highcharts-data-label-box {\n stroke: $neutral-color-20;\n stroke-width: 1px;\n}\n.highcharts-gauge-series .highcharts-dial {\n fill: $neutral-color-100;\n stroke-width: 0;\n}\n.highcharts-polygon-series .highcharts-graph {\n fill: inherit;\n stroke-width: 0;\n}\n.highcharts-waterfall-series .highcharts-graph {\n stroke: $neutral-color-80;\n stroke-dasharray: 1, 3;\n}\n.highcharts-sankey-series .highcharts-point {\n stroke-width: 0;\n}\n.highcharts-sankey-series .highcharts-link {\n transition: fill 250ms, fill-opacity 250ms;\n fill-opacity: 0.5;\n}\n.highcharts-sankey-series .highcharts-point-hover.highcharts-link {\n transition: fill 50ms, fill-opacity 50ms;\n fill-opacity: 1;\n}\n.highcharts-venn-series .highcharts-point {\n fill-opacity: 0.75;\n stroke: $neutral-color-20;\n transition: stroke 250ms, fill-opacity 250ms;\n}\n.highcharts-venn-series .highcharts-point-hover {\n fill-opacity: 1;\n stroke: $neutral-color-20;\n}\n\n/* Highstock */\n.highcharts-navigator-mask-outside {\n fill-opacity: 0;\n}\n.highcharts-navigator-mask-inside {\n fill: $highlight-color-60; /* navigator.maskFill option */\n fill-opacity: 0.25;\n cursor: ew-resize;\n}\n.highcharts-navigator-outline {\n stroke: $neutral-color-20;\n fill: none;\n}\n.highcharts-navigator-handle {\n stroke: $neutral-color-20;\n fill: $neutral-color-5;\n cursor: ew-resize;\n}\n.highcharts-navigator-series {\n fill: $navigator-series-fill;\n stroke: $navigator-series-border;\n}\n.highcharts-navigator-series .highcharts-graph {\n stroke-width: 1px;\n}\n.highcharts-navigator-series .highcharts-area {\n fill-opacity: 0.05;\n}\n.highcharts-navigator-xaxis .highcharts-axis-line {\n stroke-width: 0;\n}\n.highcharts-navigator-xaxis .highcharts-grid-line {\n stroke-width: 1px;\n stroke: $neutral-color-10;\n}\n.highcharts-navigator-xaxis.highcharts-axis-labels {\n fill: $neutral-color-40;\n}\n.highcharts-navigator-yaxis .highcharts-grid-line {\n stroke-width: 0;\n}\n.highcharts-scrollbar-thumb {\n fill: $neutral-color-20;\n stroke: $neutral-color-20;\n stroke-width: 1px;\n}\n.highcharts-scrollbar-button {\n fill: $neutral-color-10;\n stroke: $neutral-color-20;\n stroke-width: 1px;\n}\n.highcharts-scrollbar-arrow {\n fill: $neutral-color-60;\n}\n.highcharts-scrollbar-rifles {\n stroke: $neutral-color-60;\n stroke-width: 1px;\n}\n.highcharts-scrollbar-track {\n fill: $scrollbar-track-background;\n stroke: $scrollbar-track-border;\n stroke-width: 1px;\n}\n.highcharts-button {\n fill: $highcharts-button-background;\n stroke: $highcharts-button-border;\n cursor: default;\n stroke-width: 1px;\n transition: fill 250ms;\n}\n.highcharts-button text {\n fill: $highcharts-button-text;\n}\n.highcharts-button-hover {\n transition: fill 0ms;\n fill: $highcharts-button-hover-background;\n stroke: $highcharts-button-hover-border;\n}\n.highcharts-button-hover text {\n fill: $highcharts-button-hover-text;\n}\n.highcharts-button-pressed {\n font-weight: bold;\n fill: $highcharts-button-pressed-background;\n stroke: $highcharts-button-pressed-border;\n}\n.highcharts-button-pressed text {\n fill: $highcharts-button-pressed-text;\n font-weight: bold;\n}\n.highcharts-button-disabled text {\n fill: $highcharts-button-text;\n}\n.highcharts-range-selector-buttons .highcharts-button {\n stroke-width: $range-selector-button-border;\n}\n.highcharts-range-label rect {\n fill: none;\n}\n.highcharts-range-label text {\n fill: $neutral-color-60;\n}\n.highcharts-range-input rect {\n fill: none;\n}\n.highcharts-range-input text {\n fill: $range-selector-input-text;\n}\n.highcharts-range-input {\n stroke-width:1px;\n stroke: $range-selector-input-border;\n}\ninput.highcharts-range-selector {\n position: absolute;\n border: 0;\n width: 1px; /* Chrome needs a pixel to see it */\n height: 1px;\n padding: 0;\n text-align: center;\n left: -9em; /* #4798 */\n}\n.highcharts-crosshair-label text {\n fill: $background-color;\n font-size: 1.1em;\n}\n.highcharts-crosshair-label .highcharts-label-box {\n fill: inherit;\n}\n\n\n.highcharts-candlestick-series .highcharts-point {\n stroke: $neutral-color-100;\n stroke-width: 1px;\n}\n.highcharts-candlestick-series .highcharts-point-up {\n fill: $background-color;\n}\n.highcharts-hollowcandlestick-series .highcharts-point-down {\n fill: $negative-color;\n stroke: $negative-color;\n}\n.highcharts-hollowcandlestick-series .highcharts-point-down-bearish-up {\n fill: $positive-color;\n stroke: $positive-color;\n}\n.highcharts-hollowcandlestick-series .highcharts-point-up {\n fill: transparent;\n stroke: $positive-color;\n}\n.highcharts-ohlc-series .highcharts-point-hover {\n stroke-width: 3px;\n}\n.highcharts-flags-series .highcharts-point .highcharts-label-box {\n stroke: $neutral-color-40;\n fill: $background-color;\n transition: fill 250ms;\n}\n.highcharts-flags-series .highcharts-point-hover .highcharts-label-box {\n stroke: $neutral-color-100;\n fill: $highlight-color-20;\n}\n.highcharts-flags-series .highcharts-point text {\n fill: $neutral-color-100;\n font-size: 0.9em;\n font-weight: bold;\n}\n\n/* Highmaps */\n.highcharts-map-series .highcharts-point {\n transition: fill 500ms, fill-opacity 500ms, stroke-width 250ms;\n stroke: $neutral-color-20;\n}\n.highcharts-map-series .highcharts-point-hover {\n transition: fill 0ms, fill-opacity 0ms;\n fill-opacity: 0.5;\n stroke-width: 2px;\n}\n.highcharts-mapline-series .highcharts-point {\n fill: none;\n}\n.highcharts-heatmap-series .highcharts-point {\n stroke-width: 0;\n}\n.highcharts-map-navigation {\n font-size: 1.3em;\n font-weight: bold;\n text-align: center;\n}\n.highcharts-coloraxis {\n stroke-width: 0;\n}\n.highcharts-coloraxis-marker {\n fill: $neutral-color-40;\n}\n.highcharts-null-point {\n fill: $neutral-color-3;\n}\n\n/* 3d charts */\n.highcharts-3d-frame {\n fill: transparent;\n}\n\n/* Exporting module */\n.highcharts-contextbutton {\n fill: $context-button-background; /* needed to capture hover */\n stroke: none;\n stroke-linecap: round;\n}\n.highcharts-contextbutton:hover {\n fill: $neutral-color-10;\n stroke: $neutral-color-10;\n}\n.highcharts-button-symbol {\n stroke: $neutral-color-60;\n stroke-width: 3px;\n}\n.highcharts-menu {\n border: 1px solid $neutral-color-40;\n background: $background-color;\n padding: 5px 0;\n box-shadow: 3px 3px 10px #888;\n}\n.highcharts-menu-item {\n padding: 0.5em 1em;\n background: none;\n color: $neutral-color-80;\n cursor: pointer;\n transition: background 250ms, color 250ms;\n}\n.highcharts-menu-item:hover {\n background: $highlight-color-80;\n color: $background-color;\n}\n\n/* Drilldown module */\n.highcharts-drilldown-point {\n cursor: pointer;\n}\n.highcharts-drilldown-data-label text,\ntext.highcharts-drilldown-data-label,\n.highcharts-drilldown-axis-label {\n cursor: pointer;\n fill: $highlight-color-100;\n font-weight: bold;\n text-decoration: underline;\n}\n\n/* No-data module */\n.highcharts-no-data text {\n font-weight: bold;\n font-size: 12px;\n fill: $neutral-color-60;\n}\n\n/* Drag-panes module */\n.highcharts-axis-resizer {\n cursor: ns-resize;\n stroke: black;\n stroke-width: 2px;\n}\n\n/* Bullet type series */\n.highcharts-bullet-target {\n stroke-width: 0;\n}\n\n/* Lineargauge type series */\n.highcharts-lineargauge-target {\n\tstroke-width: 1px;\n\tstroke: $neutral-color-80;\n}\n.highcharts-lineargauge-target-line {\n\tstroke-width: 1px;\n stroke: $neutral-color-80;\n}\n\n/* Annotations module */\n.highcharts-annotation-label-box {\n stroke-width: 1px;\n stroke: $neutral-color-100;\n fill: $neutral-color-100;\n fill-opacity: 0.75;\n}\n.highcharts-annotation-label text {\n fill: $neutral-color-10;\n}\n\n/* A11y module */\n.highcharts-a11y-proxy-button {\n border-width: 0;\n background-color: transparent;\n cursor: pointer;\n outline: none;\n opacity: 0.001;\n z-index: 999;\n overflow: hidden;\n padding: 0;\n margin: 0;\n display: block;\n position: absolute;\n}\n.highcharts-a11y-proxy-group li {\n list-style: none;\n}\n.highcharts-visually-hidden {\n position: absolute;\n width: 1px;\n height: 1px;\n overflow: hidden;\n white-space: nowrap;\n clip: rect(1px, 1px, 1px, 1px);\n margin-top: -3px;\n opacity: 0.01;\n}\n.highcharts-a11y-invisible {\n visibility: hidden;\n}\n.highcharts-a11y-proxy-container,\n.highcharts-a11y-proxy-container-before,\n.highcharts-a11y-proxy-container-after {\n position: absolute;\n white-space: nowrap;\n}\ng.highcharts-series, .highcharts-markers, .highcharts-point {\n outline: none;\n}\n\n/* Gantt */\n.highcharts-treegrid-node-collapsed, .highcharts-treegrid-node-expanded {\n cursor: pointer;\n}\n.highcharts-point-connecting-path {\n fill: none;\n}\n.highcharts-grid-axis .highcharts-tick {\n stroke-width: 1px;\n}\n.highcharts-grid-axis .highcharts-axis-line {\n stroke-width: 1px;\n}\n\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n/*\n * Note that the $colors definition needs to go before the highcharts.scss import.\n * This is the easiest way to override the Highcharts colour palette when using styled mode;\n * see https://www.highcharts.com/docs/chart-design-and-style/custom-themes-in-styled-mode\n *\n * The limitation here is that we can't really toggle Highcharts palettes between\n * dark/light/other themes, which is not a huge deal, but worth mentioning in case\n * it matters later on.\n *\n * Gradient generated with the very useful https://colordesigner.io/gradient-generator\n */\n$colors: #8187ff #b17ff5 #d676e5 #f26fd1 #ff6bbb #ff6ca3 #ff738c #ff7e75 #ff8c60 #ff9b4e #ffab40;\n\n/*\n* We use Highcharts' \"styled mode\" to style chart components\n* (SVGs under the hood) with CSS. This lets us rely on our\n* standard CSS variables for consistent theming.\n*\n* See https://www.highcharts.com/docs/chart-design-and-style/style-by-css\n*/\n@import 'highcharts/css/highcharts.scss';\n\n.highcharts-axis-labels {\n fill: var(--textColorSecondary);\n}\n\n.highcharts-axis-title {\n fill: var(--textColorSecondary);\n}\n\n.highcharts-background {\n fill: none;\n}\n\n.highcharts-grid-line {\n stroke: var(--backgroundPrimaryHighlight);\n}\n\n.highcharts-legend-item text {\n fill: var(--textColorPrimary);\n}\n\n.highcharts-line-series .highcharts-graph {\n stroke-width: 1px;\n transition: stroke-width 200ms; /* slow out */\n}\n\n.highcharts-loading-inner {\n color: var(--textColorSecondary);\n font-family: var(--fontFamilyPrimary);\n font-size: theme('fontSize.lg');\n font-weight: 500;\n}\n\n.highcharts-series-hover .highcharts-graph {\n transition: stroke-width 50ms ease-in-out; /* quick in */\n}\n\n.highcharts-line-series.highcharts-series-hover .highcharts-graph {\n stroke-width: 2px;\n}\n\n// Matches the root svg element of the chart. Use this to set styles\n// that should be inherited by all elements, like font-family or other text styles.\n.highcharts-root {\n font-family: var(--fontFamilyMonospace);\n}\n\n// Using Highcharts' built in `title` property is not recommended.\n// In most cases, using a regular heading element like

\n// adjacent to the chart is more flexible and consistent,\n// since we can't apply layout-type rules like line-height or margin.\n.highcharts-title {\n font-family: var(--fontFamilyPrimary);\n font-weight: 700;\n}\n\n.highcharts-tooltip {\n stroke: none;\n\n text {\n fill: #fff;\n }\n}\n\n.highcharts-tooltip-box {\n fill: rgba(0, 0, 0, 0.85);\n fill-opacity: 0.95;\n}\n\n.highcharts-yaxis-grid .highcharts-grid-line {\n stroke-width: 1px;\n}\n\n.highcharts-xaxis-grid .highcharts-grid-line {\n stroke-width: 1px;\n}\n","/**\n * Copyright 2020 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container {\n display: grid;\n grid-template-areas: 'nav content';\n grid-template-rows: auto;\n grid-template-columns: 240px auto;\n height: 100vh;\n overflow: hidden;\n position: relative;\n width: 100vw;\n}\n\n.navContainer {\n grid-area: nav;\n height: 100vh;\n}\n\n.mainContainer {\n grid-area: content;\n overflow: auto;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.links {\n display: flex;\n list-style-type: none;\n margin: 0;\n padding: 0;\n}\n\n.placeholder,\na.link {\n border: solid 1px var(--backgroundPrimaryHighlight);\n border-radius: 6px;\n color: var(--textColorSecondary);\n display: block;\n line-height: 36px;\n margin-right: 8px;\n text-align: center;\n width: 36px;\n}\n\na.link {\n cursor: pointer;\n text-decoration: none;\n\n &:hover {\n border-color: var(--colorPrimary);\n }\n\n &.activeLink {\n border-color: var(--colorPrimary);\n color: var(--colorPrimary);\n }\n}\n\n.placeholder::before {\n content: '...';\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.pip {\n background: var(--colorDisabled);\n border-radius: 100rem;\n display: inline-block;\n height: 1rem;\n width: 1rem;\n\n &.success {\n background: var(--colorSuccess50);\n }\n\n &.primary {\n background: var(--colorPrimary50);\n }\n\n &.warning {\n background: var(--colorInfo50);\n }\n\n &.danger {\n background: var(--colorError50);\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.header {\n margin-bottom: 16px;\n padding: 24px;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nh1.title {\n font-size: theme('fontSize.2xl');\n margin: 0;\n}\n","@use 'sass:math';\n\n.inputContainer {\n display: block;\n position: relative;\n}\n\n$iconSizeMedium: 1.6rem;\n$iconSizeLarge: 2.2rem;\n$iconOffsetHorizontal: 3.2rem;\n$iconOffsetHorizontalLarge: 4.2rem;\n$iconPositionHorizontal: 1.2rem;\n$iconPositionHorizontalLarge: 1.6rem;\n\n.input {\n background: var(--backgroundPrimary);\n border: solid 2px var(--colorDisabled);\n border-radius: 6px;\n box-sizing: border-box;\n color: var(--textColorPrimary);\n display: block;\n font-family: var(--fontFamilyPrimary);\n font-size: var(--fontSizeBody);\n height: var(--inputHeightMedium);\n line-height: var(--inputHeightMedium);\n padding: 0 12px;\n transition: all 0.1s ease-in-out;\n width: 100%;\n\n &:disabled {\n background: var(--backgroundSecondary);\n border-color: var(--backgroundSecondaryHighlight);\n cursor: not-allowed;\n }\n\n &.large {\n font-size: theme('fontSize.lg');\n height: var(--inputHeightLarge);\n line-height: var(--inputHeightLarge);\n padding: 0 16px;\n }\n\n &.withIconLeft {\n padding-left: $iconOffsetHorizontal;\n\n &.large {\n padding-left: $iconOffsetHorizontalLarge;\n }\n }\n\n &.withIconRight {\n padding-right: $iconOffsetHorizontal;\n\n &.large {\n padding-right: $iconOffsetHorizontalLarge;\n }\n }\n}\n\n.icon {\n fill: var(--grey600);\n height: $iconSizeMedium;\n margin-top: -1 * math.div($iconSizeMedium, 2);\n position: absolute;\n top: 50%;\n width: $iconSizeMedium;\n}\n\n.iconLeft {\n /* stylelint-disable-next-line */\n @extend .icon;\n\n left: $iconPositionHorizontal;\n}\n\n.iconRight {\n /* stylelint-disable-next-line */\n @extend .icon;\n\n right: $iconPositionHorizontal;\n}\n\n.large ~ .icon {\n height: $iconSizeLarge;\n margin-top: -1 * math.div($iconSizeLarge, 2);\n width: $iconSizeLarge;\n}\n\n.large ~ .iconLeft {\n left: $iconPositionHorizontalLarge;\n}\n\n.large ~ .iconRight {\n right: $iconPositionHorizontalLarge;\n}\n\n.input:focus {\n border-color: var(--colorPrimary);\n outline: none;\n}\n\n.input:focus ~ .icon {\n fill: var(--colorPrimary);\n}\n\n.input:disabled ~ .icon {\n fill: var(--colorDisabled);\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.controls {\n display: grid;\n grid-gap: 8px;\n grid-template-columns: 1fr min-content;\n margin-bottom: 24px;\n max-width: 720px;\n}\n",".topLeft {\n bottom: calc(100% + 1em);\n right: 0;\n}\n\n.topRight {\n bottom: calc(100% + 1em);\n left: 0;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.label {\n font-weight: 700;\n line-height: 3.2rem;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container {\n display: inline-block;\n position: relative;\n}\n\n.toggle {\n background: var(--backgroundPrimary);\n border: solid 2px var(--colorDisabled);\n border-radius: 6px;\n box-sizing: border-box;\n color: var(--textColorPrimary);\n cursor: pointer;\n display: block;\n font-family: var(--fontFamilyPrimary);\n font-size: var(--fontSizeBody);\n height: var(--inputHeightMedium);\n min-width: 16rem;\n padding: 0 40px 0 12px;\n position: relative;\n text-align: left;\n transition: all 0.1s ease-in-out;\n white-space: nowrap;\n}\n\n.placeholder .toggle {\n color: var(--textColorSecondary);\n}\n\n.open .toggle,\n.toggle:active,\n.toggle:focus {\n border-color: var(--colorPrimary);\n outline: none;\n}\n\n.toggle:disabled {\n background: var(--backgroundSecondary);\n border-color: var(--backgroundSecondaryHighlight);\n color: var(--textColorSecondary);\n cursor: not-allowed;\n}\n\n.large .toggle {\n font-size: theme('fontSize.lg');\n height: var(--inputHeightLarge);\n min-width: 24rem;\n padding: 0 16px;\n}\n\n.chevron {\n height: 20px;\n position: absolute;\n top: calc(50% - 10px);\n right: 4px;\n}\n\n.dropdown {\n background: var(--backgroundPrimary);\n border: solid 2px var(--colorDisabled);\n border-radius: 6px;\n box-sizing: border-box;\n margin: 4px 0 0 0;\n height: min-content;\n max-height: 420px;\n overflow: auto;\n outline: none;\n padding: 8px 0;\n min-width: 100%;\n position: absolute;\n z-index: 1000;\n}\n\n.menu {\n list-style-type: none;\n margin: 0;\n outline: none;\n padding: 0;\n}\n\n.menu li {\n line-height: 32px;\n padding: 4px 12px;\n\n &:hover {\n background: var(--backgroundPrimaryHighlight);\n cursor: pointer;\n }\n\n &.active {\n background: var(--backgroundPrimaryHighlight);\n }\n}\n\n.large .menu li {\n font-size: theme('fontSize.lg');\n min-width: 24rem;\n padding: 8px 16px;\n}\n\n.clear {\n background: none;\n border: none;\n box-sizing: border-box;\n color: var(--textColorSecondary);\n cursor: pointer;\n display: block;\n font-family: var(--fontFamilyPrimary);\n font-size: var(--fontSizeBody);\n min-width: 16rem;\n padding: 4px 12px;\n position: relative;\n text-align: left;\n transition: all 0.1s ease-in-out;\n white-space: nowrap;\n width: 100%;\n\n &:hover,\n &:active,\n &:focus {\n background: var(--backgroundPrimaryHighlight);\n }\n}\n\n.large .clear {\n font-size: theme('fontSize.lg');\n padding: 8px 16px;\n}\n\n.emptyContainer {\n outline: none;\n padding: 8px 12px;\n}\n\n.emptyPlaceholder {\n color: var(--textColorSecondary);\n}\n","$rt-namespace: 'Toastify';\n$rt-mobile: 'only screen and (max-width : 480px)' !default;\n\n:root {\n --toastify-color-light: #fff;\n --toastify-color-dark: #121212;\n --toastify-color-info: #3498db;\n --toastify-color-success: #07bc0c;\n --toastify-color-warning: #f1c40f;\n --toastify-color-error: #e74c3c;\n --toastify-color-transparent: rgba(255, 255, 255, 0.7);\n\n --toastify-icon-color-info: var(--toastify-color-info);\n --toastify-icon-color-success: var(--toastify-color-success);\n --toastify-icon-color-warning: var(--toastify-color-warning);\n --toastify-icon-color-error: var(--toastify-color-error);\n\n --toastify-toast-width: 320px;\n --toastify-toast-background: #fff;\n --toastify-toast-min-height: 64px;\n --toastify-toast-max-height: 800px;\n --toastify-font-family: sans-serif;\n --toastify-z-index: 9999;\n\n --toastify-text-color-light: #757575;\n --toastify-text-color-dark: #fff;\n\n //Used only for colored theme\n --toastify-text-color-info: #fff;\n --toastify-text-color-success: #fff;\n --toastify-text-color-warning: #fff;\n --toastify-text-color-error: #fff;\n\n --toastify-spinner-color: #616161;\n --toastify-spinner-color-empty-area: #e0e0e0;\n\n // Used when no type is provided\n --toastify-color-progress-light: linear-gradient(\n to right,\n #4cd964,\n #5ac8fa,\n #007aff,\n #34aadc,\n #5856d6,\n #ff2d55\n );\n // Used when no type is provided\n --toastify-color-progress-dark: #bb86fc;\n --toastify-color-progress-info: var(--toastify-color-info);\n --toastify-color-progress-success: var(--toastify-color-success);\n --toastify-color-progress-warning: var(--toastify-color-warning);\n --toastify-color-progress-error: var(--toastify-color-error);\n}\n",":root {\n --toastify-color-light: #fff;\n --toastify-color-dark: #121212;\n --toastify-color-info: #3498db;\n --toastify-color-success: #07bc0c;\n --toastify-color-warning: #f1c40f;\n --toastify-color-error: #e74c3c;\n --toastify-color-transparent: rgba(255, 255, 255, 0.7);\n --toastify-icon-color-info: var(--toastify-color-info);\n --toastify-icon-color-success: var(--toastify-color-success);\n --toastify-icon-color-warning: var(--toastify-color-warning);\n --toastify-icon-color-error: var(--toastify-color-error);\n --toastify-toast-width: 320px;\n --toastify-toast-background: #fff;\n --toastify-toast-min-height: 64px;\n --toastify-toast-max-height: 800px;\n --toastify-font-family: sans-serif;\n --toastify-z-index: 9999;\n --toastify-text-color-light: #757575;\n --toastify-text-color-dark: #fff;\n --toastify-text-color-info: #fff;\n --toastify-text-color-success: #fff;\n --toastify-text-color-warning: #fff;\n --toastify-text-color-error: #fff;\n --toastify-spinner-color: #616161;\n --toastify-spinner-color-empty-area: #e0e0e0;\n --toastify-color-progress-light: linear-gradient(\n to right,\n #4cd964,\n #5ac8fa,\n #007aff,\n #34aadc,\n #5856d6,\n #ff2d55\n );\n --toastify-color-progress-dark: #bb86fc;\n --toastify-color-progress-info: var(--toastify-color-info);\n --toastify-color-progress-success: var(--toastify-color-success);\n --toastify-color-progress-warning: var(--toastify-color-warning);\n --toastify-color-progress-error: var(--toastify-color-error);\n}\n\n.Toastify__toast-container {\n z-index: var(--toastify-z-index);\n -webkit-transform: translate3d(0, 0, var(--toastify-z-index) px);\n position: fixed;\n padding: 4px;\n width: var(--toastify-toast-width);\n box-sizing: border-box;\n color: #fff;\n}\n.Toastify__toast-container--top-left {\n top: 1em;\n left: 1em;\n}\n.Toastify__toast-container--top-center {\n top: 1em;\n left: 50%;\n transform: translateX(-50%);\n}\n.Toastify__toast-container--top-right {\n top: 1em;\n right: 1em;\n}\n.Toastify__toast-container--bottom-left {\n bottom: 1em;\n left: 1em;\n}\n.Toastify__toast-container--bottom-center {\n bottom: 1em;\n left: 50%;\n transform: translateX(-50%);\n}\n.Toastify__toast-container--bottom-right {\n bottom: 1em;\n right: 1em;\n}\n\n@media only screen and (max-width : 480px) {\n .Toastify__toast-container {\n width: 100vw;\n padding: 0;\n left: 0;\n margin: 0;\n }\n .Toastify__toast-container--top-left, .Toastify__toast-container--top-center, .Toastify__toast-container--top-right {\n top: 0;\n transform: translateX(0);\n }\n .Toastify__toast-container--bottom-left, .Toastify__toast-container--bottom-center, .Toastify__toast-container--bottom-right {\n bottom: 0;\n transform: translateX(0);\n }\n .Toastify__toast-container--rtl {\n right: 0;\n left: initial;\n }\n}\n.Toastify__toast {\n position: relative;\n min-height: var(--toastify-toast-min-height);\n box-sizing: border-box;\n margin-bottom: 1rem;\n padding: 8px;\n border-radius: 4px;\n box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);\n display: -ms-flexbox;\n display: flex;\n -ms-flex-pack: justify;\n justify-content: space-between;\n max-height: var(--toastify-toast-max-height);\n overflow: hidden;\n font-family: var(--toastify-font-family);\n cursor: pointer;\n direction: ltr;\n}\n.Toastify__toast--rtl {\n direction: rtl;\n}\n.Toastify__toast-body {\n margin: auto 0;\n -ms-flex: 1 1 auto;\n flex: 1 1 auto;\n padding: 6px;\n display: -ms-flexbox;\n display: flex;\n -ms-flex-align: center;\n align-items: center;\n}\n.Toastify__toast-body > div:last-child {\n -ms-flex: 1;\n flex: 1;\n}\n.Toastify__toast-icon {\n -webkit-margin-end: 10px;\n margin-inline-end: 10px;\n width: 20px;\n -ms-flex-negative: 0;\n flex-shrink: 0;\n display: -ms-flexbox;\n display: flex;\n}\n\n.Toastify--animate {\n animation-fill-mode: both;\n animation-duration: 0.7s;\n}\n\n.Toastify--animate-icon {\n animation-fill-mode: both;\n animation-duration: 0.3s;\n}\n\n@media only screen and (max-width : 480px) {\n .Toastify__toast {\n margin-bottom: 0;\n border-radius: 0;\n }\n}\n.Toastify__toast-theme--dark {\n background: var(--toastify-color-dark);\n color: var(--toastify-text-color-dark);\n}\n.Toastify__toast-theme--light {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n}\n.Toastify__toast-theme--colored.Toastify__toast--default {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n}\n.Toastify__toast-theme--colored.Toastify__toast--info {\n color: var(--toastify-text-color-info);\n background: var(--toastify-color-info);\n}\n.Toastify__toast-theme--colored.Toastify__toast--success {\n color: var(--toastify-text-color-success);\n background: var(--toastify-color-success);\n}\n.Toastify__toast-theme--colored.Toastify__toast--warning {\n color: var(--toastify-text-color-warning);\n background: var(--toastify-color-warning);\n}\n.Toastify__toast-theme--colored.Toastify__toast--error {\n color: var(--toastify-text-color-error);\n background: var(--toastify-color-error);\n}\n\n.Toastify__progress-bar-theme--light {\n background: var(--toastify-color-progress-light);\n}\n.Toastify__progress-bar-theme--dark {\n background: var(--toastify-color-progress-dark);\n}\n.Toastify__progress-bar--info {\n background: var(--toastify-color-progress-info);\n}\n.Toastify__progress-bar--success {\n background: var(--toastify-color-progress-success);\n}\n.Toastify__progress-bar--warning {\n background: var(--toastify-color-progress-warning);\n}\n.Toastify__progress-bar--error {\n background: var(--toastify-color-progress-error);\n}\n.Toastify__progress-bar-theme--colored.Toastify__progress-bar--info, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--success, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--warning, .Toastify__progress-bar-theme--colored.Toastify__progress-bar--error {\n background: var(--toastify-color-transparent);\n}\n\n.Toastify__close-button {\n color: #fff;\n background: transparent;\n outline: none;\n border: none;\n padding: 0;\n cursor: pointer;\n opacity: 0.7;\n transition: 0.3s ease;\n -ms-flex-item-align: start;\n align-self: flex-start;\n}\n.Toastify__close-button--light {\n color: #000;\n opacity: 0.3;\n}\n.Toastify__close-button > svg {\n fill: currentColor;\n height: 16px;\n width: 14px;\n}\n.Toastify__close-button:hover, .Toastify__close-button:focus {\n opacity: 1;\n}\n\n@keyframes Toastify__trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n}\n.Toastify__progress-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 5px;\n z-index: var(--toastify-z-index);\n opacity: 0.7;\n transform-origin: left;\n}\n.Toastify__progress-bar--animated {\n animation: Toastify__trackProgress linear 1 forwards;\n}\n.Toastify__progress-bar--controlled {\n transition: transform 0.2s;\n}\n.Toastify__progress-bar--rtl {\n right: 0;\n left: initial;\n transform-origin: right;\n}\n\n.Toastify__spinner {\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: var(--toastify-spinner-color-empty-area);\n border-right-color: var(--toastify-spinner-color);\n animation: Toastify__spin 0.65s linear infinite;\n}\n\n@keyframes Toastify__bounceInRight {\n from, 60%, 75%, 90%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n from {\n opacity: 0;\n transform: translate3d(3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(-25px, 0, 0);\n }\n 75% {\n transform: translate3d(10px, 0, 0);\n }\n 90% {\n transform: translate3d(-5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n@keyframes Toastify__bounceOutRight {\n 20% {\n opacity: 1;\n transform: translate3d(-20px, 0, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(2000px, 0, 0);\n }\n}\n@keyframes Toastify__bounceInLeft {\n from, 60%, 75%, 90%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(-3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(25px, 0, 0);\n }\n 75% {\n transform: translate3d(-10px, 0, 0);\n }\n 90% {\n transform: translate3d(5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n@keyframes Toastify__bounceOutLeft {\n 20% {\n opacity: 1;\n transform: translate3d(20px, 0, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(-2000px, 0, 0);\n }\n}\n@keyframes Toastify__bounceInUp {\n from, 60%, 75%, 90%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n from {\n opacity: 0;\n transform: translate3d(0, 3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n 75% {\n transform: translate3d(0, 10px, 0);\n }\n 90% {\n transform: translate3d(0, -5px, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__bounceOutUp {\n 20% {\n transform: translate3d(0, -10px, 0);\n }\n 40%, 45% {\n opacity: 1;\n transform: translate3d(0, 20px, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, -2000px, 0);\n }\n}\n@keyframes Toastify__bounceInDown {\n from, 60%, 75%, 90%, to {\n animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);\n }\n 0% {\n opacity: 0;\n transform: translate3d(0, -3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, 25px, 0);\n }\n 75% {\n transform: translate3d(0, -10px, 0);\n }\n 90% {\n transform: translate3d(0, 5px, 0);\n }\n to {\n transform: none;\n }\n}\n@keyframes Toastify__bounceOutDown {\n 20% {\n transform: translate3d(0, 10px, 0);\n }\n 40%, 45% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, 2000px, 0);\n }\n}\n.Toastify__bounce-enter--top-left, .Toastify__bounce-enter--bottom-left {\n animation-name: Toastify__bounceInLeft;\n}\n.Toastify__bounce-enter--top-right, .Toastify__bounce-enter--bottom-right {\n animation-name: Toastify__bounceInRight;\n}\n.Toastify__bounce-enter--top-center {\n animation-name: Toastify__bounceInDown;\n}\n.Toastify__bounce-enter--bottom-center {\n animation-name: Toastify__bounceInUp;\n}\n\n.Toastify__bounce-exit--top-left, .Toastify__bounce-exit--bottom-left {\n animation-name: Toastify__bounceOutLeft;\n}\n.Toastify__bounce-exit--top-right, .Toastify__bounce-exit--bottom-right {\n animation-name: Toastify__bounceOutRight;\n}\n.Toastify__bounce-exit--top-center {\n animation-name: Toastify__bounceOutUp;\n}\n.Toastify__bounce-exit--bottom-center {\n animation-name: Toastify__bounceOutDown;\n}\n\n@keyframes Toastify__zoomIn {\n from {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 50% {\n opacity: 1;\n }\n}\n@keyframes Toastify__zoomOut {\n from {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n to {\n opacity: 0;\n }\n}\n.Toastify__zoom-enter {\n animation-name: Toastify__zoomIn;\n}\n\n.Toastify__zoom-exit {\n animation-name: Toastify__zoomOut;\n}\n\n@keyframes Toastify__flipIn {\n from {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n animation-timing-function: ease-in;\n opacity: 0;\n }\n 40% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n animation-timing-function: ease-in;\n }\n 60% {\n transform: perspective(400px) rotate3d(1, 0, 0, 10deg);\n opacity: 1;\n }\n 80% {\n transform: perspective(400px) rotate3d(1, 0, 0, -5deg);\n }\n to {\n transform: perspective(400px);\n }\n}\n@keyframes Toastify__flipOut {\n from {\n transform: perspective(400px);\n }\n 30% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n opacity: 1;\n }\n to {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n opacity: 0;\n }\n}\n.Toastify__flip-enter {\n animation-name: Toastify__flipIn;\n}\n\n.Toastify__flip-exit {\n animation-name: Toastify__flipOut;\n}\n\n@keyframes Toastify__slideInRight {\n from {\n transform: translate3d(110%, 0, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__slideInLeft {\n from {\n transform: translate3d(-110%, 0, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__slideInUp {\n from {\n transform: translate3d(0, 110%, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__slideInDown {\n from {\n transform: translate3d(0, -110%, 0);\n visibility: visible;\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n@keyframes Toastify__slideOutRight {\n from {\n transform: translate3d(0, 0, 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(110%, 0, 0);\n }\n}\n@keyframes Toastify__slideOutLeft {\n from {\n transform: translate3d(0, 0, 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(-110%, 0, 0);\n }\n}\n@keyframes Toastify__slideOutDown {\n from {\n transform: translate3d(0, 0, 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(0, 500px, 0);\n }\n}\n@keyframes Toastify__slideOutUp {\n from {\n transform: translate3d(0, 0, 0);\n }\n to {\n visibility: hidden;\n transform: translate3d(0, -500px, 0);\n }\n}\n.Toastify__slide-enter--top-left, .Toastify__slide-enter--bottom-left {\n animation-name: Toastify__slideInLeft;\n}\n.Toastify__slide-enter--top-right, .Toastify__slide-enter--bottom-right {\n animation-name: Toastify__slideInRight;\n}\n.Toastify__slide-enter--top-center {\n animation-name: Toastify__slideInDown;\n}\n.Toastify__slide-enter--bottom-center {\n animation-name: Toastify__slideInUp;\n}\n\n.Toastify__slide-exit--top-left, .Toastify__slide-exit--bottom-left {\n animation-name: Toastify__slideOutLeft;\n}\n.Toastify__slide-exit--top-right, .Toastify__slide-exit--bottom-right {\n animation-name: Toastify__slideOutRight;\n}\n.Toastify__slide-exit--top-center {\n animation-name: Toastify__slideOutUp;\n}\n.Toastify__slide-exit--bottom-center {\n animation-name: Toastify__slideOutDown;\n}\n\n@keyframes Toastify__spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n\n/*# sourceMappingURL=ReactToastify.css.map */",".#{$rt-namespace}__toast-container {\n z-index: var(--toastify-z-index);\n -webkit-transform: translate3d(0, 0, var(--toastify-z-index) px);\n position: fixed;\n padding: 4px;\n width: var(--toastify-toast-width);\n box-sizing: border-box;\n color: #fff;\n &--top-left {\n top: 1em;\n left: 1em;\n }\n &--top-center {\n top: 1em;\n left: 50%;\n transform: translateX(-50%);\n }\n &--top-right {\n top: 1em;\n right: 1em;\n }\n &--bottom-left {\n bottom: 1em;\n left: 1em;\n }\n &--bottom-center {\n bottom: 1em;\n left: 50%;\n transform: translateX(-50%);\n }\n &--bottom-right {\n bottom: 1em;\n right: 1em;\n }\n}\n\n@media #{$rt-mobile} {\n .#{$rt-namespace}__toast-container {\n width: 100vw;\n padding: 0;\n left: 0;\n margin: 0;\n &--top-left,\n &--top-center,\n &--top-right {\n top: 0;\n transform: translateX(0);\n }\n &--bottom-left,\n &--bottom-center,\n &--bottom-right {\n bottom: 0;\n transform: translateX(0);\n }\n &--rtl {\n right: 0;\n left: initial;\n }\n }\n}\n",".#{$rt-namespace}__toast {\n position: relative;\n min-height: var(--toastify-toast-min-height);\n box-sizing: border-box;\n margin-bottom: 1rem;\n padding: 8px;\n border-radius: 4px;\n box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.1), 0 2px 15px 0 rgba(0, 0, 0, 0.05);\n display: flex;\n justify-content: space-between;\n max-height: var(--toastify-toast-max-height);\n overflow: hidden;\n font-family: var(--toastify-font-family);\n cursor: pointer;\n direction: ltr;\n &--rtl {\n direction: rtl;\n }\n &-body {\n margin: auto 0;\n flex: 1 1 auto;\n padding: 6px;\n display: flex;\n align-items: center;\n & > div:last-child {\n flex: 1;\n }\n }\n &-icon {\n margin-inline-end: 10px;\n width: 20px;\n flex-shrink: 0;\n display: flex;\n }\n}\n\n.#{$rt-namespace}--animate {\n animation-fill-mode: both;\n animation-duration: 0.7s;\n}\n\n.#{$rt-namespace}--animate-icon {\n animation-fill-mode: both;\n animation-duration: 0.3s;\n}\n\n@media #{$rt-mobile} {\n .#{$rt-namespace}__toast {\n margin-bottom: 0;\n border-radius: 0;\n }\n}\n",".#{$rt-namespace}__toast {\n &-theme--dark {\n background: var(--toastify-color-dark);\n color: var(--toastify-text-color-dark);\n }\n &-theme--light {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n }\n &-theme--colored#{&}--default {\n background: var(--toastify-color-light);\n color: var(--toastify-text-color-light);\n }\n &-theme--colored#{&}--info {\n color: var(--toastify-text-color-info);\n background: var(--toastify-color-info);\n }\n &-theme--colored#{&}--success {\n color: var(--toastify-text-color-success);\n background: var(--toastify-color-success);\n }\n &-theme--colored#{&}--warning {\n color: var(--toastify-text-color-warning);\n background: var(--toastify-color-warning);\n }\n &-theme--colored#{&}--error {\n color: var(--toastify-text-color-error);\n background: var(--toastify-color-error);\n }\n}\n\n.#{$rt-namespace}__progress-bar {\n &-theme--light {\n background: var(--toastify-color-progress-light);\n }\n &-theme--dark {\n background: var(--toastify-color-progress-dark);\n }\n &--info {\n background: var(--toastify-color-progress-info);\n }\n &--success {\n background: var(--toastify-color-progress-success);\n }\n &--warning {\n background: var(--toastify-color-progress-warning);\n }\n &--error {\n background: var(--toastify-color-progress-error);\n }\n &-theme--colored#{&}--info,\n &-theme--colored#{&}--success,\n &-theme--colored#{&}--warning,\n &-theme--colored#{&}--error {\n background: var(--toastify-color-transparent);\n }\n}\n\n",".#{$rt-namespace}__close-button {\n color: #fff;\n background: transparent;\n outline: none;\n border: none;\n padding: 0;\n cursor: pointer;\n opacity: 0.7;\n transition: 0.3s ease;\n align-self: flex-start;\n \n &--light {\n color: #000;\n opacity: 0.3;\n }\n\n & > svg {\n fill: currentColor;\n height: 16px;\n width: 14px;\n }\n\n &:hover, &:focus {\n opacity: 1;\n }\n}\n","@keyframes #{$rt-namespace}__trackProgress {\n 0% {\n transform: scaleX(1);\n }\n 100% {\n transform: scaleX(0);\n }\n}\n\n.#{$rt-namespace}__progress-bar {\n position: absolute;\n bottom: 0;\n left: 0;\n width: 100%;\n height: 5px;\n z-index: var(--toastify-z-index);\n opacity: 0.7;\n transform-origin: left;\n\n &--animated {\n animation: #{$rt-namespace}__trackProgress linear 1 forwards;\n }\n\n &--controlled {\n transition: transform 0.2s;\n }\n\n &--rtl {\n right: 0;\n left: initial;\n transform-origin: right;\n }\n}\n",".#{$rt-namespace}__spinner {\n width: 20px;\n height: 20px;\n box-sizing: border-box;\n border: 2px solid;\n border-radius: 100%;\n border-color: var(--toastify-spinner-color-empty-area);\n border-right-color: var(--toastify-spinner-color);\n animation: #{$rt-namespace}__spin 0.65s linear infinite;\n}\n","@mixin timing-function {\n animation-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);\n}\n\n@keyframes #{$rt-namespace}__bounceInRight {\n from,\n 60%,\n 75%,\n 90%,\n to {\n @include timing-function;\n }\n from {\n opacity: 0;\n transform: translate3d(3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(-25px, 0, 0);\n }\n 75% {\n transform: translate3d(10px, 0, 0);\n }\n 90% {\n transform: translate3d(-5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes #{$rt-namespace}__bounceOutRight {\n 20% {\n opacity: 1;\n transform: translate3d(-20px, 0, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(2000px, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__bounceInLeft {\n from,\n 60%,\n 75%,\n 90%,\n to {\n @include timing-function;\n }\n 0% {\n opacity: 0;\n transform: translate3d(-3000px, 0, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(25px, 0, 0);\n }\n 75% {\n transform: translate3d(-10px, 0, 0);\n }\n 90% {\n transform: translate3d(5px, 0, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes #{$rt-namespace}__bounceOutLeft {\n 20% {\n opacity: 1;\n transform: translate3d(20px, 0, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(-2000px, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__bounceInUp {\n from,\n 60%,\n 75%,\n 90%,\n to {\n @include timing-function;\n }\n from {\n opacity: 0;\n transform: translate3d(0, 3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n 75% {\n transform: translate3d(0, 10px, 0);\n }\n 90% {\n transform: translate3d(0, -5px, 0);\n }\n to {\n transform: translate3d(0, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__bounceOutUp {\n 20% {\n transform: translate3d(0, -10px, 0);\n }\n 40%,\n 45% {\n opacity: 1;\n transform: translate3d(0, 20px, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, -2000px, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__bounceInDown {\n from,\n 60%,\n 75%,\n 90%,\n to {\n @include timing-function;\n }\n 0% {\n opacity: 0;\n transform: translate3d(0, -3000px, 0);\n }\n 60% {\n opacity: 1;\n transform: translate3d(0, 25px, 0);\n }\n 75% {\n transform: translate3d(0, -10px, 0);\n }\n 90% {\n transform: translate3d(0, 5px, 0);\n }\n to {\n transform: none;\n }\n}\n\n@keyframes #{$rt-namespace}__bounceOutDown {\n 20% {\n transform: translate3d(0, 10px, 0);\n }\n 40%,\n 45% {\n opacity: 1;\n transform: translate3d(0, -20px, 0);\n }\n to {\n opacity: 0;\n transform: translate3d(0, 2000px, 0);\n }\n}\n\n.#{$rt-namespace}__bounce-enter {\n &--top-left,\n &--bottom-left {\n animation-name: #{$rt-namespace}__bounceInLeft;\n }\n &--top-right,\n &--bottom-right {\n animation-name: #{$rt-namespace}__bounceInRight;\n }\n &--top-center {\n animation-name: #{$rt-namespace}__bounceInDown;\n }\n &--bottom-center {\n animation-name: #{$rt-namespace}__bounceInUp;\n }\n}\n\n.#{$rt-namespace}__bounce-exit {\n &--top-left,\n &--bottom-left {\n animation-name: #{$rt-namespace}__bounceOutLeft;\n }\n &--top-right,\n &--bottom-right {\n animation-name: #{$rt-namespace}__bounceOutRight;\n }\n &--top-center {\n animation-name: #{$rt-namespace}__bounceOutUp;\n }\n &--bottom-center {\n animation-name: #{$rt-namespace}__bounceOutDown;\n }\n}","@keyframes #{$rt-namespace}__zoomIn {\n from {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n 50% {\n opacity: 1;\n }\n}\n\n@keyframes #{$rt-namespace}__zoomOut {\n from {\n opacity: 1;\n }\n 50% {\n opacity: 0;\n transform: scale3d(0.3, 0.3, 0.3);\n }\n to {\n opacity: 0\n }\n}\n\n.#{$rt-namespace}__zoom-enter {\n animation-name: #{$rt-namespace}__zoomIn;\n}\n\n.#{$rt-namespace}__zoom-exit {\n animation-name: #{$rt-namespace}__zoomOut;\n}\n","@keyframes #{$rt-namespace}__flipIn {\n from {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n animation-timing-function: ease-in;\n opacity: 0;\n }\n 40% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n animation-timing-function: ease-in;\n }\n 60% {\n transform: perspective(400px) rotate3d(1, 0, 0, 10deg);\n opacity: 1\n }\n 80% {\n transform: perspective(400px) rotate3d(1, 0, 0, -5deg);\n }\n to {\n transform: perspective(400px);\n }\n}\n\n@keyframes #{$rt-namespace}__flipOut {\n from {\n transform: perspective(400px);\n }\n 30% {\n transform: perspective(400px) rotate3d(1, 0, 0, -20deg);\n opacity: 1\n }\n to {\n transform: perspective(400px) rotate3d(1, 0, 0, 90deg);\n opacity: 0\n }\n}\n\n.#{$rt-namespace}__flip-enter {\n animation-name: #{$rt-namespace}__flipIn;\n}\n\n.#{$rt-namespace}__flip-exit {\n animation-name: #{$rt-namespace}__flipOut;\n}\n","@mixin transform {\n transform: translate3d(0, 0, 0);\n}\n\n@keyframes #{$rt-namespace}__slideInRight {\n from {\n transform: translate3d(110%, 0, 0);\n visibility: visible;\n }\n to {\n @include transform;\n }\n}\n\n@keyframes #{$rt-namespace}__slideInLeft {\n from {\n transform: translate3d(-110%, 0, 0);\n visibility: visible;\n }\n to {\n @include transform;\n }\n}\n\n@keyframes #{$rt-namespace}__slideInUp {\n from {\n transform: translate3d(0, 110%, 0);\n visibility: visible;\n }\n to {\n @include transform;\n }\n}\n\n@keyframes #{$rt-namespace}__slideInDown {\n from {\n transform: translate3d(0, -110%, 0);\n visibility: visible;\n }\n to {\n @include transform;\n }\n}\n\n@keyframes #{$rt-namespace}__slideOutRight {\n from {\n @include transform;\n }\n to {\n visibility: hidden;\n transform: translate3d(110%, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__slideOutLeft {\n from {\n @include transform;\n }\n to {\n visibility: hidden;\n transform: translate3d(-110%, 0, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__slideOutDown {\n from {\n @include transform;\n }\n to {\n visibility: hidden;\n transform: translate3d(0, 500px, 0);\n }\n}\n\n@keyframes #{$rt-namespace}__slideOutUp {\n from {\n @include transform;\n }\n to {\n visibility: hidden;\n transform: translate3d(0, -500px, 0);\n }\n}\n\n.#{$rt-namespace}__slide-enter {\n &--top-left,\n &--bottom-left {\n animation-name: #{$rt-namespace}__slideInLeft;\n }\n &--top-right,\n &--bottom-right {\n animation-name: #{$rt-namespace}__slideInRight;\n }\n &--top-center {\n animation-name: #{$rt-namespace}__slideInDown;\n }\n &--bottom-center {\n animation-name: #{$rt-namespace}__slideInUp;\n }\n}\n\n.#{$rt-namespace}__slide-exit {\n &--top-left,\n &--bottom-left {\n animation-name: #{$rt-namespace}__slideOutLeft;\n }\n &--top-right,\n &--bottom-right {\n animation-name: #{$rt-namespace}__slideOutRight;\n }\n &--top-center {\n animation-name: #{$rt-namespace}__slideOutUp;\n }\n &--bottom-center {\n animation-name: #{$rt-namespace}__slideOutDown;\n }\n}","@keyframes #{$rt-namespace}__spin {\n from {\n transform: rotate(0deg);\n }\n to {\n transform: rotate(360deg);\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\na.tab {\n background: var(--backgroundPrimary);\n border: solid 1px transparent;\n border-top-left-radius: 6px;\n border-top-right-radius: 6px;\n color: var(--textColorSecondary);\n display: block;\n flex: 0 0 auto;\n font-weight: 500;\n line-height: 1.6em;\n margin: 0 0.2em 0 0;\n min-width: 7.2rem;\n padding: 0.8em 1.2em 0.5em 1.2em;\n position: relative;\n white-space: nowrap;\n\n &.active {\n border-color: var(--colorScaffoldingHighlight);\n border-bottom-color: var(--backgroundPrimary);\n color: var(--textColorPrimary);\n z-index: var(--zIndexLow);\n }\n\n .count {\n background-color: var(--backgroundSecondaryHighlight);\n border-radius: 20px;\n color: var(--textColorSecondary);\n display: inline-block;\n font-size: 0.85em;\n line-height: 1em;\n margin: 0 0 0 0.5em;\n padding: 0.5em 0.75em;\n vertical-align: baseline;\n }\n\n &:hover {\n color: var(--colorPrimary);\n\n .count {\n background-color: var(--backgroundPrimaryHighlight);\n color: var(--colorPrimary);\n }\n }\n}\n\n.pip {\n height: 0.5em;\n margin-right: 0.5em;\n vertical-align: middle;\n width: 0.5em;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.tabContainer {\n display: flex;\n flex-direction: row;\n flex-wrap: nowrap;\n margin-bottom: 0.4em;\n overflow-x: auto;\n min-width: 100%;\n position: relative;\n\n &.small {\n font-size: theme('fontSize.sm');\n }\n\n &.large {\n font-size: theme('fontSize.lg');\n }\n\n &::after {\n background: var(--colorScaffoldingHighlight);\n bottom: 0;\n height: 1px;\n content: '';\n position: absolute;\n width: 100%;\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.tooltip {\n background: var(--tooltipBackground);\n border-radius: 4px;\n color: var(--textColorInverted);\n font-family: var(--fontFamilyPrimary);\n font-size: theme('fontSize.sm');\n margin: 8px;\n max-width: 24rem;\n padding: 8px 12px;\n text-align: center;\n}\n",".container section {\n margin-bottom: 64px;\n}\n\n.buttonContainer {\n column-gap: 16px;\n display: grid;\n grid-template-columns: repeat(4, min-content);\n row-gap: 24px;\n}\n\n.iconContainer {\n column-gap: 0;\n display: grid;\n grid-template-columns: repeat(12, min-content);\n row-gap: 0;\n}\n\n.icon {\n box-sizing: unset;\n fill: var(--colorPrimary);\n padding: 16px;\n transition: fill 0.1s ease-in-out;\n\n &:hover {\n background: var(--backgroundSecondaryHighlight);\n fill: var(--colorPrimary200);\n }\n}\n\n.inputContainer {\n display: grid;\n grid-template-columns: 100%;\n row-gap: 16px;\n max-width: 640px;\n}\n\n.inputRow {\n display: grid;\n grid-template-columns: 1fr min-content min-content;\n column-gap: 8px;\n max-width: 100%;\n}\n\n.dropdownContainer {\n display: grid;\n grid-gap: 8px;\n}\n\n.dropdownRow {\n display: grid;\n grid-gap: 8px;\n grid-template-columns: repeat(4, min-content);\n}\n\n.tabContainer {\n margin: 2.4rem 0;\n}\n\n.danger {\n div:first-child {\n @apply bg-danger;\n }\n\n &::after {\n content: 'danger';\n }\n}\n\n.danger50 {\n div:first-child {\n @apply bg-danger-50;\n }\n\n &::after {\n content: 'danger-50';\n }\n}\n\n.danger200 {\n div:first-child {\n @apply bg-danger-200;\n }\n\n &::after {\n content: 'danger-200';\n }\n}\n\n.success {\n div:first-child {\n @apply bg-success;\n }\n\n &::after {\n content: 'success';\n }\n}\n\n.success50 {\n div:first-child {\n @apply bg-success-50;\n }\n\n &::after {\n content: 'success-50';\n }\n}\n\n.success200 {\n div:first-child {\n @apply bg-success-200;\n }\n\n &::after {\n content: 'success-200';\n }\n}\n\n.warning {\n div:first-child {\n @apply bg-warning;\n }\n\n &::after {\n content: 'warning';\n }\n}\n\n.warning50 {\n div:first-child {\n @apply bg-warning-50;\n }\n\n &::after {\n content: 'warning50';\n }\n}\n\n.warning200 {\n div:first-child {\n @apply bg-warning-200;\n }\n\n &::after {\n content: 'warning-200';\n }\n}\n\n.vtblue {\n div:first-child {\n @apply bg-vtblue;\n }\n\n &::after {\n content: 'vtblue';\n }\n}\n\n.vtblue50 {\n div:first-child {\n @apply bg-vtblue-50;\n }\n\n &::after {\n content: 'vtblue-50';\n }\n}\n\n.vtblue200 {\n div:first-child {\n @apply bg-vtblue-200;\n }\n\n &::after {\n content: 'vtblue-200';\n }\n}\n\n.vtblueDark {\n div:first-child {\n @apply bg-vtblue-dark;\n }\n\n &::after {\n content: 'vtblue-dark';\n }\n}\n\n.vtblueDark50 {\n div:first-child {\n @apply bg-vtblue-dark-50;\n }\n\n &::after {\n content: 'vtblue-dark-50';\n }\n}\n\n.vtblueDark200 {\n div:first-child {\n @apply bg-vtblue-dark-200;\n }\n\n &::after {\n content: 'vtblue-dark-200';\n }\n}\n\n.gray75 {\n div:first-child {\n @apply bg-gray-75;\n }\n\n &::after {\n content: 'gray-75';\n }\n}\n\n.gray100 {\n div:first-child {\n @apply bg-gray-100;\n }\n\n &::after {\n content: 'gray-100';\n }\n}\n\n.gray200 {\n div:first-child {\n @apply bg-gray-200;\n }\n\n &::after {\n content: 'gray-200';\n }\n}\n\n.gray400 {\n div:first-child {\n @apply bg-gray-400;\n }\n\n &::after {\n content: 'gray-400';\n }\n}\n\n.gray600 {\n div:first-child {\n @apply bg-gray-600;\n }\n\n &::after {\n content: 'gray-600';\n }\n}\n\n.gray800 {\n div:first-child {\n @apply bg-gray-800;\n }\n\n &::after {\n content: 'gray-800';\n }\n}\n\n.gray900 {\n div:first-child {\n @apply bg-gray-900;\n }\n\n &::after {\n content: 'gray-900';\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n$navRailHoverTransition: background-color 0.1s ease-in-out;\n\n.container {\n background: var(--backgroundSecondary);\n border-right: solid 1px var(--backgroundSecondaryHighlight);\n display: flex;\n flex-direction: column;\n height: 100vh;\n overflow-y: auto;\n}\n\n.logoContainer {\n display: flex;\n padding: 24px;\n text-align: center;\n justify-content: center;\n align-items: center;\n}\n\n.footerContainer {\n margin: auto 0 24px 0;\n}\n\n.navLinks {\n margin: 24px 0 32px 0;\n}\n\n.navList {\n list-style-type: none;\n margin: 0;\n padding: 0;\n\n &::after {\n content: '';\n background-color: var(--colorScaffoldingHighlight);\n display: block;\n height: 1px;\n margin: 20px 24px;\n max-width: 100%;\n }\n}\n\n.navList:last-child::after,\n.footerContainer .navList::after {\n content: none;\n}\n\na.navLink {\n align-items: center;\n border-left: solid 4px transparent;\n color: var(--textColorPrimary);\n display: flex;\n flex-wrap: nowrap;\n font-size: 1.6rem;\n font-weight: 500;\n outline: none;\n padding: 13px 24px;\n text-decoration: none;\n transition: $navRailHoverTransition;\n\n &.navLinkActive {\n border-color: var(--colorPrimary);\n color: var(--colorPrimary);\n }\n\n &:focus,\n &:hover {\n background: var(--backgroundSecondaryHighlight);\n color: var(--colorPrimary);\n }\n}\n\n.badge {\n background-color: var(--backgroundSecondaryHighlight);\n border-radius: 20px;\n color: var(--textColorSecondary);\n display: inline-block;\n font-size: 1.4rem;\n line-height: 1.9rem;\n margin-left: auto;\n padding: 2px 8px;\n transition: $navRailHoverTransition;\n}\n\na.navLinkActive .badge,\na.navLink:focus .badge,\na.navLink:hover .badge {\n background-color: var(--backgroundPrimaryHighlight);\n color: var(--colorPrimary);\n}\n\n.icon {\n fill: var(--colorScaffoldingForeground);\n height: 2rem;\n transition: $navRailHoverTransition;\n}\n\na.navLinkActive .icon,\na.navLink:focus .icon,\na.navLink:hover .icon {\n fill: var(--colorPrimary);\n}\n\n.hotkey::before {\n @apply block;\n @apply border;\n @apply font-mono font-bold;\n @apply p-0;\n @apply rounded-sm;\n @apply text-center;\n @apply select-none;\n\n $hotkeySize: 16px;\n\n border-color: var(--colorScaffoldingForeground);\n color: var(--colorScaffoldingForeground);\n content: attr(data-hotkey);\n font-size: 10px;\n height: $hotkeySize;\n line-height: 14px;\n margin: 0 4px;\n width: $hotkeySize;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container {\n align-items: center;\n display: flex;\n flex-direction: column;\n height: 40vh;\n justify-content: center;\n margin-top: 20vh;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.icon {\n display: inline-block;\n fill: var(--textColorSecondary);\n height: 1.8rem;\n vertical-align: bottom;\n width: auto;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n\n.container {\n display: grid;\n grid-gap: 16px;\n}\n\n.panel {\n border: solid 1px var(--colorScaffoldingHighlight);\n border-radius: 6px;\n padding: 0 2.4rem 2.4rem 2.4rem;\n max-width: 960px;\n overflow: auto;\n}\n\n.errorPlaceholder {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: theme('fontSize.lg');\n justify-content: center;\n margin: 25vh auto;\n max-width: 720px;\n text-align: center;\n\n h1 {\n margin: 1.6rem 0;\n }\n}\n\n.errorEmoji {\n display: block;\n font-size: 5.6rem;\n}\n\n.skBadge {\n border: solid 1px var(--colorPrimary50);\n border-radius: 6px;\n color: var(--colorPrimary);\n cursor: default;\n display: inline-block;\n font-size: theme('fontSize.sm');\n margin: 0 12px;\n padding: 4px 8px;\n text-transform: uppercase;\n white-space: nowrap;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.table {\n margin: 8px 0;\n}\n\n.table tr {\n border: none;\n}\n\n.table td {\n border: none;\n line-height: 1.6;\n margin: 0;\n}\n\n.lineNumber {\n box-sizing: border-box;\n color: var(--textColorSecondary);\n font-family: var(--fontFamilyMonospace);\n font-size: theme('fontSize.base');\n line-height: 2.4rem;\n min-width: 5rem;\n padding: 0 1.2rem;\n text-align: right;\n user-select: none;\n vertical-align: top;\n white-space: nowrap;\n width: 1%;\n}\n\n.lineNumber::before {\n content: attr(data-line-number);\n}\n\n.code {\n font-family: var(--fontFamilyMonospace);\n font-size: theme('fontSize.base');\n line-height: 2.4rem;\n padding: 0 1.2rem;\n tab-size: 8;\n white-space: pre;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container > a {\n font-family: var(--fontFamilyMonospace);\n line-height: 4rem;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n font-size: 2rem;\n line-height: 2rem;\n margin: 0 1rem;\n vertical-align: middle;\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.shardList {\n color: var(--textColorSecondary);\n font-size: theme('fontSize.sm');\n max-width: 20rem;\n padding-right: 24px;\n}\n\n.streams {\n display: grid;\n grid-gap: 8px;\n grid-template-columns: repeat(4, 60px);\n}\n\n.stream,\n.streamPlaceholder {\n margin: 0 4px;\n text-align: left;\n white-space: nowrap;\n}\n\n.streamPlaceholder {\n color: var(--textColorSecondary);\n text-align: center;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.panel,\n.errorPanel {\n border: solid 1px var(--colorScaffoldingHighlight);\n border-radius: 6px;\n height: auto;\n max-width: 960px;\n padding: 2.4rem;\n}\n\n.errorPanel {\n border-color: var(--colorError50);\n overflow: auto;\n}\n\n.container {\n display: grid;\n grid-gap: 16px;\n max-width: 720px;\n}\n\n.form {\n display: grid;\n grid-gap: 8px;\n}\n\n.sqlInput {\n border: solid 1px var(--colorScaffoldingHighlight);\n display: block;\n font-family: var(--fontFamilyMonospace);\n line-height: var(--lineHeightBody);\n padding: 0.8rem;\n resize: vertical;\n width: 100%;\n}\n\n.codeContainer {\n max-width: 100%;\n overflow: auto;\n}\n\n.buttons {\n margin: 1.6rem 0 0.8rem 0;\n}\n","/**\n * Copyright 2022 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n.spinner {\n border: 0.25em solid;\n border-color: theme('colors.vtblue.50');\n border-right-color: transparent;\n vertical-align: -0.125em;\n\n @apply animate-spin;\n @apply border-2;\n @apply h-8;\n @apply inline-block;\n @apply rounded-full;\n @apply w-8;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n\n.placeholder {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: theme('fontSize.lg');\n justify-content: center;\n margin: 25vh auto;\n max-width: 720px;\n text-align: center;\n\n h1 {\n margin: 1.6rem 0;\n }\n}\n\n.errorEmoji {\n display: block;\n font-size: 5.6rem;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.container {\n padding: 16px 0;\n}\n\n.counts > span {\n white-space: nowrap;\n}\n\n.counts > span:not(:last-child)::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n margin: 0 8px;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n\n.placeholder {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: theme('fontSize.lg');\n justify-content: center;\n margin: 25vh auto;\n max-width: 720px;\n text-align: center;\n\n h1 {\n margin: 1.6rem 0;\n }\n}\n\n.errorEmoji {\n display: block;\n font-size: 5.6rem;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.headingMeta {\n display: flex;\n}\n\n.headingMeta span {\n display: inline-block;\n line-height: 2;\n\n &::after {\n color: var(--colorScaffoldingHighlight);\n content: '/';\n display: inline-block;\n margin: 0 1.2rem;\n }\n\n &:last-child::after {\n content: none;\n }\n}\n\n.placeholder {\n align-items: center;\n display: flex;\n flex-direction: column;\n font-size: theme('fontSize.lg');\n justify-content: center;\n margin: 25vh auto;\n max-width: 720px;\n text-align: center;\n\n h1 {\n margin: 1.6rem 0;\n }\n}\n\n.errorEmoji {\n display: block;\n font-size: 5.6rem;\n}\n","/**\n * Copyright 2021 The Vitess Authors.\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n.placeholder {\n color: var(--textColorSecondary);\n font-size: theme('fontSize.lg');\n padding: 10vh 2.4rem;\n text-align: center;\n}\n\n.emoji {\n display: block;\n font-size: 100px;\n}\n"],"names":[],"sourceRoot":""} \ No newline at end of file diff --git a/go/vt/vtadmin/web/build/static/js/main.c259521f.js b/go/vt/vtadmin/web/build/static/js/main.c259521f.js new file mode 100644 index 00000000000..c84529d7e24 --- /dev/null +++ b/go/vt/vtadmin/web/build/static/js/main.c259521f.js @@ -0,0 +1,3 @@ +/*! For license information please see main.c259521f.js.LICENSE.txt */ +(function(){var __webpack_modules__={7228:function(e){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r=e.length?{done:!0}:{done:!1,value:e[i++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,s=!0,l=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return s=e.done,e},e:function(e){l=!0,a=e},f:function(){try{s||null==r.return||r.return()}finally{if(l)throw a}}}},e.exports.__esModule=!0,e.exports.default=e.exports},6860:function(e){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},3884:function(e){e.exports=function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,o=[],a=!0,s=!1;try{for(r=r.call(e);!(a=(n=r.next()).done)&&(o.push(n.value),!t||o.length!==t);a=!0);}catch(l){s=!0,i=l}finally{try{a||null==r.return||r.return()}finally{if(s)throw i}}return o}},e.exports.__esModule=!0,e.exports.default=e.exports},521:function(e){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},8206:function(e){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},3038:function(e,t,r){var n=r(2858),i=r(3884),o=r(379),a=r(521);e.exports=function(e,t){return n(e)||i(e,t)||o(e,t)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},319:function(e,t,r){var n=r(3646),i=r(6860),o=r(379),a=r(8206);e.exports=function(e){return n(e)||i(e)||o(e)||a()},e.exports.__esModule=!0,e.exports.default=e.exports},379:function(e,t,r){var n=r(7228);e.exports=function(e,t){if(e){if("string"===typeof e)return n(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},7757:function(e,t,r){e.exports=r(9727)},8646:function(e,t,r){"use strict";var n=r(886),i=n.Reader,o=n.Writer,a=n.util,s=n.roots.default||(n.roots.default={});s.vtadmin=function(){var e={};return e.VTAdmin=function(){function e(e,t,r){n.rpc.Service.call(this,e,t,r)}return(e.prototype=Object.create(n.rpc.Service.prototype)).constructor=e,e.create=function(e,t,r){return new this(e,t,r)},Object.defineProperty(e.prototype.createKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.CreateKeyspaceRequest,s.vtadmin.CreateKeyspaceResponse,t,r)},"name",{value:"CreateKeyspace"}),Object.defineProperty(e.prototype.createShard=function e(t,r){return this.rpcCall(e,s.vtadmin.CreateShardRequest,s.vtctldata.CreateShardResponse,t,r)},"name",{value:"CreateShard"}),Object.defineProperty(e.prototype.deleteKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.DeleteKeyspaceRequest,s.vtctldata.DeleteKeyspaceResponse,t,r)},"name",{value:"DeleteKeyspace"}),Object.defineProperty(e.prototype.deleteShards=function e(t,r){return this.rpcCall(e,s.vtadmin.DeleteShardsRequest,s.vtctldata.DeleteShardsResponse,t,r)},"name",{value:"DeleteShards"}),Object.defineProperty(e.prototype.deleteTablet=function e(t,r){return this.rpcCall(e,s.vtadmin.DeleteTabletRequest,s.vtadmin.DeleteTabletResponse,t,r)},"name",{value:"DeleteTablet"}),Object.defineProperty(e.prototype.findSchema=function e(t,r){return this.rpcCall(e,s.vtadmin.FindSchemaRequest,s.vtadmin.Schema,t,r)},"name",{value:"FindSchema"}),Object.defineProperty(e.prototype.getBackups=function e(t,r){return this.rpcCall(e,s.vtadmin.GetBackupsRequest,s.vtadmin.GetBackupsResponse,t,r)},"name",{value:"GetBackups"}),Object.defineProperty(e.prototype.getClusters=function e(t,r){return this.rpcCall(e,s.vtadmin.GetClustersRequest,s.vtadmin.GetClustersResponse,t,r)},"name",{value:"GetClusters"}),Object.defineProperty(e.prototype.getGates=function e(t,r){return this.rpcCall(e,s.vtadmin.GetGatesRequest,s.vtadmin.GetGatesResponse,t,r)},"name",{value:"GetGates"}),Object.defineProperty(e.prototype.getKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.GetKeyspaceRequest,s.vtadmin.Keyspace,t,r)},"name",{value:"GetKeyspace"}),Object.defineProperty(e.prototype.getKeyspaces=function e(t,r){return this.rpcCall(e,s.vtadmin.GetKeyspacesRequest,s.vtadmin.GetKeyspacesResponse,t,r)},"name",{value:"GetKeyspaces"}),Object.defineProperty(e.prototype.getSchema=function e(t,r){return this.rpcCall(e,s.vtadmin.GetSchemaRequest,s.vtadmin.Schema,t,r)},"name",{value:"GetSchema"}),Object.defineProperty(e.prototype.getSchemas=function e(t,r){return this.rpcCall(e,s.vtadmin.GetSchemasRequest,s.vtadmin.GetSchemasResponse,t,r)},"name",{value:"GetSchemas"}),Object.defineProperty(e.prototype.getShardReplicationPositions=function e(t,r){return this.rpcCall(e,s.vtadmin.GetShardReplicationPositionsRequest,s.vtadmin.GetShardReplicationPositionsResponse,t,r)},"name",{value:"GetShardReplicationPositions"}),Object.defineProperty(e.prototype.getSrvVSchema=function e(t,r){return this.rpcCall(e,s.vtadmin.GetSrvVSchemaRequest,s.vtadmin.SrvVSchema,t,r)},"name",{value:"GetSrvVSchema"}),Object.defineProperty(e.prototype.getSrvVSchemas=function e(t,r){return this.rpcCall(e,s.vtadmin.GetSrvVSchemasRequest,s.vtadmin.GetSrvVSchemasResponse,t,r)},"name",{value:"GetSrvVSchemas"}),Object.defineProperty(e.prototype.getTablet=function e(t,r){return this.rpcCall(e,s.vtadmin.GetTabletRequest,s.vtadmin.Tablet,t,r)},"name",{value:"GetTablet"}),Object.defineProperty(e.prototype.getTablets=function e(t,r){return this.rpcCall(e,s.vtadmin.GetTabletsRequest,s.vtadmin.GetTabletsResponse,t,r)},"name",{value:"GetTablets"}),Object.defineProperty(e.prototype.getVSchema=function e(t,r){return this.rpcCall(e,s.vtadmin.GetVSchemaRequest,s.vtadmin.VSchema,t,r)},"name",{value:"GetVSchema"}),Object.defineProperty(e.prototype.getVSchemas=function e(t,r){return this.rpcCall(e,s.vtadmin.GetVSchemasRequest,s.vtadmin.GetVSchemasResponse,t,r)},"name",{value:"GetVSchemas"}),Object.defineProperty(e.prototype.getVtctlds=function e(t,r){return this.rpcCall(e,s.vtadmin.GetVtctldsRequest,s.vtadmin.GetVtctldsResponse,t,r)},"name",{value:"GetVtctlds"}),Object.defineProperty(e.prototype.getWorkflow=function e(t,r){return this.rpcCall(e,s.vtadmin.GetWorkflowRequest,s.vtadmin.Workflow,t,r)},"name",{value:"GetWorkflow"}),Object.defineProperty(e.prototype.getWorkflows=function e(t,r){return this.rpcCall(e,s.vtadmin.GetWorkflowsRequest,s.vtadmin.GetWorkflowsResponse,t,r)},"name",{value:"GetWorkflows"}),Object.defineProperty(e.prototype.pingTablet=function e(t,r){return this.rpcCall(e,s.vtadmin.PingTabletRequest,s.vtadmin.PingTabletResponse,t,r)},"name",{value:"PingTablet"}),Object.defineProperty(e.prototype.refreshState=function e(t,r){return this.rpcCall(e,s.vtadmin.RefreshStateRequest,s.vtadmin.RefreshStateResponse,t,r)},"name",{value:"RefreshState"}),Object.defineProperty(e.prototype.reparentTablet=function e(t,r){return this.rpcCall(e,s.vtadmin.ReparentTabletRequest,s.vtadmin.ReparentTabletResponse,t,r)},"name",{value:"ReparentTablet"}),Object.defineProperty(e.prototype.runHealthCheck=function e(t,r){return this.rpcCall(e,s.vtadmin.RunHealthCheckRequest,s.vtadmin.RunHealthCheckResponse,t,r)},"name",{value:"RunHealthCheck"}),Object.defineProperty(e.prototype.setReadOnly=function e(t,r){return this.rpcCall(e,s.vtadmin.SetReadOnlyRequest,s.vtadmin.SetReadOnlyResponse,t,r)},"name",{value:"SetReadOnly"}),Object.defineProperty(e.prototype.setReadWrite=function e(t,r){return this.rpcCall(e,s.vtadmin.SetReadWriteRequest,s.vtadmin.SetReadWriteResponse,t,r)},"name",{value:"SetReadWrite"}),Object.defineProperty(e.prototype.startReplication=function e(t,r){return this.rpcCall(e,s.vtadmin.StartReplicationRequest,s.vtadmin.StartReplicationResponse,t,r)},"name",{value:"StartReplication"}),Object.defineProperty(e.prototype.stopReplication=function e(t,r){return this.rpcCall(e,s.vtadmin.StopReplicationRequest,s.vtadmin.StopReplicationResponse,t,r)},"name",{value:"StopReplication"}),Object.defineProperty(e.prototype.validateKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.ValidateKeyspaceRequest,s.vtctldata.ValidateKeyspaceResponse,t,r)},"name",{value:"ValidateKeyspace"}),Object.defineProperty(e.prototype.validateSchemaKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.ValidateSchemaKeyspaceRequest,s.vtctldata.ValidateSchemaKeyspaceResponse,t,r)},"name",{value:"ValidateSchemaKeyspace"}),Object.defineProperty(e.prototype.validateVersionKeyspace=function e(t,r){return this.rpcCall(e,s.vtadmin.ValidateVersionKeyspaceRequest,s.vtctldata.ValidateVersionKeyspaceResponse,t,r)},"name",{value:"ValidateVersionKeyspace"}),Object.defineProperty(e.prototype.vTExplain=function e(t,r){return this.rpcCall(e,s.vtadmin.VTExplainRequest,s.vtadmin.VTExplainResponse,t,r)},"name",{value:"VTExplain"}),e}(),e.Cluster=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.id=e.string();break;case 2:n.name=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.id&&e.hasOwnProperty("id")&&!a.isString(e.id)?"id: string expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.Cluster)return e;var t=new s.vtadmin.Cluster;return null!=e.id&&(t.id=String(e.id)),null!=e.name&&(t.name=String(e.name)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.id="",r.name=""),null!=e.id&&e.hasOwnProperty("id")&&(r.id=e.id),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClusterBackup=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.backup=s.mysqlctl.BackupInfo.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.backup&&e.hasOwnProperty("backup")&&(t=s.mysqlctl.BackupInfo.verify(e.backup)))return"backup."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.ClusterBackup)return e;var t=new s.vtadmin.ClusterBackup;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.ClusterBackup.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.backup){if("object"!==typeof e.backup)throw TypeError(".vtadmin.ClusterBackup.backup: object expected");t.backup=s.mysqlctl.BackupInfo.fromObject(e.backup)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.backup=null),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.backup&&e.hasOwnProperty("backup")&&(r.backup=s.mysqlctl.BackupInfo.toObject(e.backup,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClusterShardReplicationPosition=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.keyspace=e.string();break;case 3:n.shard=e.string();break;case 4:n.position_info=s.vtctldata.ShardReplicationPositionsResponse.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.position_info&&e.hasOwnProperty("position_info")&&(t=s.vtctldata.ShardReplicationPositionsResponse.verify(e.position_info)))return"position_info."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.ClusterShardReplicationPosition)return e;var t=new s.vtadmin.ClusterShardReplicationPosition;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.ClusterShardReplicationPosition.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.position_info){if("object"!==typeof e.position_info)throw TypeError(".vtadmin.ClusterShardReplicationPosition.position_info: object expected");t.position_info=s.vtctldata.ShardReplicationPositionsResponse.fromObject(e.position_info)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.keyspace="",r.shard="",r.position_info=null),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.position_info&&e.hasOwnProperty("position_info")&&(r.position_info=s.vtctldata.ShardReplicationPositionsResponse.toObject(e.position_info,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ClusterWorkflows=function(){function e(e){if(this.workflows=[],this.warnings=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.workflows&&n.workflows.length||(n.workflows=[]),n.workflows.push(s.vtadmin.Workflow.decode(e,e.uint32()));break;case 2:n.warnings&&n.warnings.length||(n.warnings=[]),n.warnings.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.workflows&&e.hasOwnProperty("workflows")){if(!Array.isArray(e.workflows))return"workflows: array expected";for(var t=0;t>>3){case 1:l.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:l.keyspace=s.vtctldata.Keyspace.decode(e,e.uint32());break;case 3:l.shards===a.emptyObject&&(l.shards={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.Shard.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.shards[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(n=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+n;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(n=s.vtctldata.Keyspace.verify(e.keyspace)))return"keyspace."+n;if(null!=e.shards&&e.hasOwnProperty("shards")){if(!a.isObject(e.shards))return"shards: object expected";for(var t=Object.keys(e.shards),r=0;r>>3){case 1:l.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:l.keyspace=e.string();break;case 3:l.table_definitions&&l.table_definitions.length||(l.table_definitions=[]),l.table_definitions.push(s.tabletmanagerdata.TableDefinition.decode(e,e.uint32()));break;case 4:l.table_sizes===a.emptyObject&&(l.table_sizes={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtadmin.Schema.TableSize.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.table_sizes[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(n=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+n;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.table_definitions&&e.hasOwnProperty("table_definitions")){if(!Array.isArray(e.table_definitions))return"table_definitions: array expected";for(var t=0;t>>3){case 1:n.row_count=e.uint64();break;case 2:n.data_length=e.uint64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.row_count||!e.hasOwnProperty("row_count")||a.isInteger(e.row_count)||e.row_count&&a.isInteger(e.row_count.low)&&a.isInteger(e.row_count.high)?null==e.data_length||!e.hasOwnProperty("data_length")||a.isInteger(e.data_length)||e.data_length&&a.isInteger(e.data_length.low)&&a.isInteger(e.data_length.high)?null:"data_length: integer|Long expected":"row_count: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vtadmin.Schema.ShardTableSize)return e;var t=new s.vtadmin.Schema.ShardTableSize;return null!=e.row_count&&(a.Long?(t.row_count=a.Long.fromValue(e.row_count)).unsigned=!0:"string"===typeof e.row_count?t.row_count=parseInt(e.row_count,10):"number"===typeof e.row_count?t.row_count=e.row_count:"object"===typeof e.row_count&&(t.row_count=new a.LongBits(e.row_count.low>>>0,e.row_count.high>>>0).toNumber(!0))),null!=e.data_length&&(a.Long?(t.data_length=a.Long.fromValue(e.data_length)).unsigned=!0:"string"===typeof e.data_length?t.data_length=parseInt(e.data_length,10):"number"===typeof e.data_length?t.data_length=e.data_length:"object"===typeof e.data_length&&(t.data_length=new a.LongBits(e.data_length.low>>>0,e.data_length.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!0);r.row_count=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.row_count=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!0);r.data_length=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.data_length=t.longs===String?"0":0}return null!=e.row_count&&e.hasOwnProperty("row_count")&&("number"===typeof e.row_count?r.row_count=t.longs===String?String(e.row_count):e.row_count:r.row_count=t.longs===String?a.Long.prototype.toString.call(e.row_count):t.longs===Number?new a.LongBits(e.row_count.low>>>0,e.row_count.high>>>0).toNumber(!0):e.row_count),null!=e.data_length&&e.hasOwnProperty("data_length")&&("number"===typeof e.data_length?r.data_length=t.longs===String?String(e.data_length):e.data_length:r.data_length=t.longs===String?a.Long.prototype.toString.call(e.data_length):t.longs===Number?new a.LongBits(e.data_length.low>>>0,e.data_length.high>>>0).toNumber(!0):e.data_length),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TableSize=function(){function e(e){if(this.by_shard={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.row_count=e.uint64();break;case 2:l.data_length=e.uint64();break;case 3:l.by_shard===a.emptyObject&&(l.by_shard={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtadmin.Schema.ShardTableSize.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.by_shard[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.row_count&&e.hasOwnProperty("row_count")&&!a.isInteger(e.row_count)&&!(e.row_count&&a.isInteger(e.row_count.low)&&a.isInteger(e.row_count.high)))return"row_count: integer|Long expected";if(null!=e.data_length&&e.hasOwnProperty("data_length")&&!a.isInteger(e.data_length)&&!(e.data_length&&a.isInteger(e.data_length.low)&&a.isInteger(e.data_length.high)))return"data_length: integer|Long expected";if(null!=e.by_shard&&e.hasOwnProperty("by_shard")){if(!a.isObject(e.by_shard))return"by_shard: object expected";for(var t=Object.keys(e.by_shard),r=0;r>>0,e.row_count.high>>>0).toNumber(!0))),null!=e.data_length&&(a.Long?(t.data_length=a.Long.fromValue(e.data_length)).unsigned=!0:"string"===typeof e.data_length?t.data_length=parseInt(e.data_length,10):"number"===typeof e.data_length?t.data_length=e.data_length:"object"===typeof e.data_length&&(t.data_length=new a.LongBits(e.data_length.low>>>0,e.data_length.high>>>0).toNumber(!0))),e.by_shard){if("object"!==typeof e.by_shard)throw TypeError(".vtadmin.Schema.TableSize.by_shard: object expected");t.by_shard={};for(var r=Object.keys(e.by_shard),n=0;n>>0,e.row_count.high>>>0).toNumber(!0):e.row_count),null!=e.data_length&&e.hasOwnProperty("data_length")&&("number"===typeof e.data_length?n.data_length=t.longs===String?String(e.data_length):e.data_length:n.data_length=t.longs===String?a.Long.prototype.toString.call(e.data_length):t.longs===Number?new a.LongBits(e.data_length.low>>>0,e.data_length.high>>>0).toNumber(!0):e.data_length),e.by_shard&&(r=Object.keys(e.by_shard)).length){n.by_shard={};for(var o=0;o>>3){case 1:n.cell=e.string();break;case 2:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 3:n.srv_v_schema=s.vschema.SrvVSchema.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell))return"cell: string expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.srv_v_schema&&e.hasOwnProperty("srv_v_schema")&&(t=s.vschema.SrvVSchema.verify(e.srv_v_schema)))return"srv_v_schema."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.SrvVSchema)return e;var t=new s.vtadmin.SrvVSchema;if(null!=e.cell&&(t.cell=String(e.cell)),null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.SrvVSchema.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.srv_v_schema){if("object"!==typeof e.srv_v_schema)throw TypeError(".vtadmin.SrvVSchema.srv_v_schema: object expected");t.srv_v_schema=s.vschema.SrvVSchema.fromObject(e.srv_v_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cell="",r.cluster=null,r.srv_v_schema=null),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.srv_v_schema&&e.hasOwnProperty("srv_v_schema")&&(r.srv_v_schema=s.vschema.SrvVSchema.toObject(e.srv_v_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Tablet=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.tablet=s.topodata.Tablet.decode(e,e.uint32());break;case 3:n.state=e.int32();break;case 4:n.FQDN=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.tablet&&e.hasOwnProperty("tablet")&&(t=s.topodata.Tablet.verify(e.tablet)))return"tablet."+t;if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:}return null!=e.FQDN&&e.hasOwnProperty("FQDN")&&!a.isString(e.FQDN)?"FQDN: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.Tablet)return e;var t=new s.vtadmin.Tablet;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.Tablet.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.tablet){if("object"!==typeof e.tablet)throw TypeError(".vtadmin.Tablet.tablet: object expected");t.tablet=s.topodata.Tablet.fromObject(e.tablet)}switch(e.state){case"UNKNOWN":case 0:t.state=0;break;case"SERVING":case 1:t.state=1;break;case"NOT_SERVING":case 2:t.state=2}return null!=e.FQDN&&(t.FQDN=String(e.FQDN)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.tablet=null,r.state=t.enums===String?"UNKNOWN":0,r.FQDN=""),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.tablet&&e.hasOwnProperty("tablet")&&(r.tablet=s.topodata.Tablet.toObject(e.tablet,t)),null!=e.state&&e.hasOwnProperty("state")&&(r.state=t.enums===String?s.vtadmin.Tablet.ServingState[e.state]:e.state),null!=e.FQDN&&e.hasOwnProperty("FQDN")&&(r.FQDN=e.FQDN),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.ServingState=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="SERVING"]=1,t[e[2]="NOT_SERVING"]=2,t}(),e}(),e.VSchema=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.name=e.string();break;case 3:n.v_schema=s.vschema.Keyspace.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.v_schema&&e.hasOwnProperty("v_schema")&&(t=s.vschema.Keyspace.verify(e.v_schema)))return"v_schema."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.VSchema)return e;var t=new s.vtadmin.VSchema;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.VSchema.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.name&&(t.name=String(e.name)),null!=e.v_schema){if("object"!==typeof e.v_schema)throw TypeError(".vtadmin.VSchema.v_schema: object expected");t.v_schema=s.vschema.Keyspace.fromObject(e.v_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.name="",r.v_schema=null),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.v_schema&&e.hasOwnProperty("v_schema")&&(r.v_schema=s.vschema.Keyspace.toObject(e.v_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Vtctld=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hostname=e.string();break;case 2:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 3:n.FQDN=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.hostname&&e.hasOwnProperty("hostname")&&!a.isString(e.hostname))return"hostname: string expected";if(null!=e.cluster&&e.hasOwnProperty("cluster")){var t=s.vtadmin.Cluster.verify(e.cluster);if(t)return"cluster."+t}return null!=e.FQDN&&e.hasOwnProperty("FQDN")&&!a.isString(e.FQDN)?"FQDN: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.Vtctld)return e;var t=new s.vtadmin.Vtctld;if(null!=e.hostname&&(t.hostname=String(e.hostname)),null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.Vtctld.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}return null!=e.FQDN&&(t.FQDN=String(e.FQDN)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.hostname="",r.cluster=null,r.FQDN=""),null!=e.hostname&&e.hasOwnProperty("hostname")&&(r.hostname=e.hostname),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.FQDN&&e.hasOwnProperty("FQDN")&&(r.FQDN=e.FQDN),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VTGate=function(){function e(e){if(this.keyspaces=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hostname=e.string();break;case 2:n.pool=e.string();break;case 3:n.cell=e.string();break;case 4:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 5:n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(e.string());break;case 6:n.FQDN=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.hostname&&e.hasOwnProperty("hostname")&&!a.isString(e.hostname))return"hostname: string expected";if(null!=e.pool&&e.hasOwnProperty("pool")&&!a.isString(e.pool))return"pool: string expected";if(null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell))return"cell: string expected";if(null!=e.cluster&&e.hasOwnProperty("cluster")){var t=s.vtadmin.Cluster.verify(e.cluster);if(t)return"cluster."+t}if(null!=e.keyspaces&&e.hasOwnProperty("keyspaces")){if(!Array.isArray(e.keyspaces))return"keyspaces: array expected";for(var r=0;r>>3){case 1:n.cluster=s.vtadmin.Cluster.decode(e,e.uint32());break;case 2:n.keyspace=e.string();break;case 3:n.workflow=s.vtctldata.Workflow.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.cluster&&e.hasOwnProperty("cluster")&&(t=s.vtadmin.Cluster.verify(e.cluster)))return"cluster."+t;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.workflow&&e.hasOwnProperty("workflow")&&(t=s.vtctldata.Workflow.verify(e.workflow)))return"workflow."+t;return null},e.fromObject=function(e){if(e instanceof s.vtadmin.Workflow)return e;var t=new s.vtadmin.Workflow;if(null!=e.cluster){if("object"!==typeof e.cluster)throw TypeError(".vtadmin.Workflow.cluster: object expected");t.cluster=s.vtadmin.Cluster.fromObject(e.cluster)}if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.workflow){if("object"!==typeof e.workflow)throw TypeError(".vtadmin.Workflow.workflow: object expected");t.workflow=s.vtctldata.Workflow.fromObject(e.workflow)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster=null,r.keyspace="",r.workflow=null),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=s.vtadmin.Cluster.toObject(e.cluster,t)),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.workflow&&e.hasOwnProperty("workflow")&&(r.workflow=s.vtctldata.Workflow.toObject(e.workflow,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.options=s.vtctldata.CreateKeyspaceRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=s.vtctldata.CreateKeyspaceRequest.verify(e.options);if(t)return"options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.CreateKeyspaceRequest)return e;var t=new s.vtadmin.CreateKeyspaceRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.options){if("object"!==typeof e.options)throw TypeError(".vtadmin.CreateKeyspaceRequest.options: object expected");t.options=s.vtctldata.CreateKeyspaceRequest.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.vtctldata.CreateKeyspaceRequest.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateKeyspaceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.keyspace=s.vtadmin.Keyspace.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")){var t=s.vtadmin.Keyspace.verify(e.keyspace);if(t)return"keyspace."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.CreateKeyspaceResponse)return e;var t=new s.vtadmin.CreateKeyspaceResponse;if(null!=e.keyspace){if("object"!==typeof e.keyspace)throw TypeError(".vtadmin.CreateKeyspaceResponse.keyspace: object expected");t.keyspace=s.vtadmin.Keyspace.fromObject(e.keyspace)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=s.vtadmin.Keyspace.toObject(e.keyspace,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateShardRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.options=s.vtctldata.CreateShardRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=s.vtctldata.CreateShardRequest.verify(e.options);if(t)return"options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.CreateShardRequest)return e;var t=new s.vtadmin.CreateShardRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.options){if("object"!==typeof e.options)throw TypeError(".vtadmin.CreateShardRequest.options: object expected");t.options=s.vtctldata.CreateShardRequest.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.vtctldata.CreateShardRequest.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.options=s.vtctldata.DeleteKeyspaceRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=s.vtctldata.DeleteKeyspaceRequest.verify(e.options);if(t)return"options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.DeleteKeyspaceRequest)return e;var t=new s.vtadmin.DeleteKeyspaceRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.options){if("object"!==typeof e.options)throw TypeError(".vtadmin.DeleteKeyspaceRequest.options: object expected");t.options=s.vtctldata.DeleteKeyspaceRequest.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.vtctldata.DeleteKeyspaceRequest.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteShardsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.options=s.vtctldata.DeleteShardsRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.options&&e.hasOwnProperty("options")){var t=s.vtctldata.DeleteShardsRequest.verify(e.options);if(t)return"options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.DeleteShardsRequest)return e;var t=new s.vtadmin.DeleteShardsRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.options){if("object"!==typeof e.options)throw TypeError(".vtadmin.DeleteShardsRequest.options: object expected");t.options=s.vtctldata.DeleteShardsRequest.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.vtctldata.DeleteShardsRequest.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteTabletRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.DeleteTabletResponse)return e;var t=new s.vtadmin.DeleteTabletResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FindSchemaRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.table=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 3:n.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.table&&e.hasOwnProperty("table")&&!a.isString(e.table))return"table: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(e.string());break;case 3:n.keyspace_shards&&n.keyspace_shards.length||(n.keyspace_shards=[]),n.keyspace_shards.push(e.string());break;case 4:n.request_options=s.vtctldata.GetBackupsRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.backups&&n.backups.length||(n.backups=[]),n.backups.push(s.vtadmin.ClusterBackup.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.backups&&e.hasOwnProperty("backups")){if(!Array.isArray(e.backups))return"backups: array expected";for(var t=0;t>>3===1)n.clusters&&n.clusters.length||(n.clusters=[]),n.clusters.push(s.vtadmin.Cluster.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.clusters&&e.hasOwnProperty("clusters")){if(!Array.isArray(e.clusters))return"clusters: array expected";for(var t=0;t>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.gates&&n.gates.length||(n.gates=[]),n.gates.push(s.vtadmin.VTGate.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.gates&&e.hasOwnProperty("gates")){if(!Array.isArray(e.gates))return"gates: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetKeyspaceRequest)return e;var t=new s.vtadmin.GetKeyspaceRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetKeyspacesRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(s.vtadmin.Keyspace.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspaces&&e.hasOwnProperty("keyspaces")){if(!Array.isArray(e.keyspaces))return"keyspaces: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;case 3:n.table=e.string();break;case 4:n.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id))return"cluster_id: string expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.table&&e.hasOwnProperty("table")&&!a.isString(e.table))return"table: string expected";if(null!=e.table_size_options&&e.hasOwnProperty("table_size_options")){var t=s.vtadmin.GetSchemaTableSizeOptions.verify(e.table_size_options);if(t)return"table_size_options."+t}return null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetSchemaRequest)return e;var t=new s.vtadmin.GetSchemaRequest;if(null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.table&&(t.table=String(e.table)),null!=e.table_size_options){if("object"!==typeof e.table_size_options)throw TypeError(".vtadmin.GetSchemaRequest.table_size_options: object expected");t.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.fromObject(e.table_size_options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace="",r.table="",r.table_size_options=null),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.table&&e.hasOwnProperty("table")&&(r.table=e.table),null!=e.table_size_options&&e.hasOwnProperty("table_size_options")&&(r.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.toObject(e.table_size_options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSchemasRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.table_size_options=s.vtadmin.GetSchemaTableSizeOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.schemas&&n.schemas.length||(n.schemas=[]),n.schemas.push(s.vtadmin.Schema.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.schemas&&e.hasOwnProperty("schemas")){if(!Array.isArray(e.schemas))return"schemas: array expected";for(var t=0;t>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(e.string());break;case 3:n.keyspace_shards&&n.keyspace_shards.length||(n.keyspace_shards=[]),n.keyspace_shards.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.replication_positions&&n.replication_positions.length||(n.replication_positions=[]),n.replication_positions.push(s.vtadmin.ClusterShardReplicationPosition.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.replication_positions&&e.hasOwnProperty("replication_positions")){if(!Array.isArray(e.replication_positions))return"replication_positions: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.cell=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetSrvVSchemaRequest)return e;var t=new s.vtadmin.GetSrvVSchemaRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.cell&&(t.cell=String(e.cell)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.cell=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSrvVSchemasRequest=function(){function e(e){if(this.cluster_ids=[],this.cells=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.srv_v_schemas&&n.srv_v_schemas.length||(n.srv_v_schemas=[]),n.srv_v_schemas.push(s.vtadmin.SrvVSchema.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.srv_v_schemas&&e.hasOwnProperty("srv_v_schemas")){if(!Array.isArray(e.srv_v_schemas))return"srv_v_schemas: array expected";for(var t=0;t>>3){case 1:n.aggregate_sizes=e.bool();break;case 2:n.include_non_serving_shards=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.aggregate_sizes&&e.hasOwnProperty("aggregate_sizes")&&"boolean"!==typeof e.aggregate_sizes?"aggregate_sizes: boolean expected":null!=e.include_non_serving_shards&&e.hasOwnProperty("include_non_serving_shards")&&"boolean"!==typeof e.include_non_serving_shards?"include_non_serving_shards: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetSchemaTableSizeOptions)return e;var t=new s.vtadmin.GetSchemaTableSizeOptions;return null!=e.aggregate_sizes&&(t.aggregate_sizes=Boolean(e.aggregate_sizes)),null!=e.include_non_serving_shards&&(t.include_non_serving_shards=Boolean(e.include_non_serving_shards)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.aggregate_sizes=!1,r.include_non_serving_shards=!1),null!=e.aggregate_sizes&&e.hasOwnProperty("aggregate_sizes")&&(r.aggregate_sizes=e.aggregate_sizes),null!=e.include_non_serving_shards&&e.hasOwnProperty("include_non_serving_shards")&&(r.include_non_serving_shards=e.include_non_serving_shards),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetTabletRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.tablets&&n.tablets.length||(n.tablets=[]),n.tablets.push(s.vtadmin.Tablet.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablets&&e.hasOwnProperty("tablets")){if(!Array.isArray(e.tablets))return"tablets: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetVSchemaRequest)return e;var t=new s.vtadmin.GetVSchemaRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetVSchemasRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.v_schemas&&n.v_schemas.length||(n.v_schemas=[]),n.v_schemas.push(s.vtadmin.VSchema.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.v_schemas&&e.hasOwnProperty("v_schemas")){if(!Array.isArray(e.v_schemas))return"v_schemas: array expected";for(var t=0;t>>3===1)n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.vtctlds&&n.vtctlds.length||(n.vtctlds=[]),n.vtctlds.push(s.vtadmin.Vtctld.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.vtctlds&&e.hasOwnProperty("vtctlds")){if(!Array.isArray(e.vtctlds))return"vtctlds: array expected";for(var t=0;t>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;case 3:n.name=e.string();break;case 4:n.active_only=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null!=e.active_only&&e.hasOwnProperty("active_only")&&"boolean"!==typeof e.active_only?"active_only: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.GetWorkflowRequest)return e;var t=new s.vtadmin.GetWorkflowRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.name&&(t.name=String(e.name)),null!=e.active_only&&(t.active_only=Boolean(e.active_only)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace="",r.name="",r.active_only=!1),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.active_only&&e.hasOwnProperty("active_only")&&(r.active_only=e.active_only),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetWorkflowsRequest=function(){function e(e){if(this.cluster_ids=[],this.keyspaces=[],this.ignore_keyspaces=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;case 2:n.active_only=e.bool();break;case 3:n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(e.string());break;case 4:n.ignore_keyspaces&&n.ignore_keyspaces.length||(n.ignore_keyspaces=[]),n.ignore_keyspaces.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1){l.workflows_by_cluster===a.emptyObject&&(l.workflows_by_cluster={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtadmin.ClusterWorkflows.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.workflows_by_cluster[r]=n}else e.skipType(7&c)}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.workflows_by_cluster&&e.hasOwnProperty("workflows_by_cluster")){if(!a.isObject(e.workflows_by_cluster))return"workflows_by_cluster: object expected";for(var t=Object.keys(e.workflows_by_cluster),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.PingTabletResponse)return e;var t=new s.vtadmin.PingTabletResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RefreshStateRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.RefreshStateResponse)return e;var t=new s.vtadmin.RefreshStateResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReparentTabletRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.primary=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.primary&&e.hasOwnProperty("primary")&&!a.isString(e.primary)?"primary: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.ReparentTabletResponse)return e;var t=new s.vtadmin.ReparentTabletResponse;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.primary&&(t.primary=String(e.primary)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.primary=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.primary&&e.hasOwnProperty("primary")&&(r.primary=e.primary),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RunHealthCheckRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.RunHealthCheckResponse)return e;var t=new s.vtadmin.RunHealthCheckResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetReadOnlyRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.StartReplicationResponse)return e;var t=new s.vtadmin.StartReplicationResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationRequest=function(){function e(e){if(this.cluster_ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.alias=e.string();break;case 2:n.cluster_ids&&n.cluster_ids.length||(n.cluster_ids=[]),n.cluster_ids.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.alias&&e.hasOwnProperty("alias")&&!a.isString(e.alias))return"alias: string expected";if(null!=e.cluster_ids&&e.hasOwnProperty("cluster_ids")){if(!Array.isArray(e.cluster_ids))return"cluster_ids: array expected";for(var t=0;t>>3===1)n.status=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.status&&e.hasOwnProperty("status")&&!a.isString(e.status)?"status: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.StopReplicationResponse)return e;var t=new s.vtadmin.StopReplicationResponse;return null!=e.status&&(t.status=String(e.status)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=""),null!=e.status&&e.hasOwnProperty("status")&&(r.status=e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;case 3:n.ping_tablets=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&"boolean"!==typeof e.ping_tablets?"ping_tablets: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.ValidateKeyspaceRequest)return e;var t=new s.vtadmin.ValidateKeyspaceRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.ping_tablets&&(t.ping_tablets=Boolean(e.ping_tablets)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace="",r.ping_tablets=!1),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&(r.ping_tablets=e.ping_tablets),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateSchemaKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.ValidateSchemaKeyspaceRequest)return e;var t=new s.vtadmin.ValidateSchemaKeyspaceRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateVersionKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster_id=e.string();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&!a.isString(e.cluster_id)?"cluster_id: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.ValidateVersionKeyspaceRequest)return e;var t=new s.vtadmin.ValidateVersionKeyspaceRequest;return null!=e.cluster_id&&(t.cluster_id=String(e.cluster_id)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster_id="",r.keyspace=""),null!=e.cluster_id&&e.hasOwnProperty("cluster_id")&&(r.cluster_id=e.cluster_id),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VTExplainRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cluster=e.string();break;case 2:n.keyspace=e.string();break;case 3:n.sql=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cluster&&e.hasOwnProperty("cluster")&&!a.isString(e.cluster)?"cluster: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.sql&&e.hasOwnProperty("sql")&&!a.isString(e.sql)?"sql: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.VTExplainRequest)return e;var t=new s.vtadmin.VTExplainRequest;return null!=e.cluster&&(t.cluster=String(e.cluster)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.sql&&(t.sql=String(e.sql)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cluster="",r.keyspace="",r.sql=""),null!=e.cluster&&e.hasOwnProperty("cluster")&&(r.cluster=e.cluster),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.sql&&e.hasOwnProperty("sql")&&(r.sql=e.sql),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VTExplainResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.response=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.response&&e.hasOwnProperty("response")&&!a.isString(e.response)?"response: string expected":null},e.fromObject=function(e){if(e instanceof s.vtadmin.VTExplainResponse)return e;var t=new s.vtadmin.VTExplainResponse;return null!=e.response&&(t.response=String(e.response)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.response=""),null!=e.response&&e.hasOwnProperty("response")&&(r.response=e.response),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.mysqlctl=function(){var e={};return e.StartRequest=function(){function e(e){if(this.mysqld_args=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.mysqld_args&&n.mysqld_args.length||(n.mysqld_args=[]),n.mysqld_args.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.mysqld_args&&e.hasOwnProperty("mysqld_args")){if(!Array.isArray(e.mysqld_args))return"mysqld_args: array expected";for(var t=0;t>>3===1)n.wait_for_mysqld=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.wait_for_mysqld&&e.hasOwnProperty("wait_for_mysqld")&&"boolean"!==typeof e.wait_for_mysqld?"wait_for_mysqld: boolean expected":null},e.fromObject=function(e){if(e instanceof s.mysqlctl.ShutdownRequest)return e;var t=new s.mysqlctl.ShutdownRequest;return null!=e.wait_for_mysqld&&(t.wait_for_mysqld=Boolean(e.wait_for_mysqld)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.wait_for_mysqld=!1),null!=e.wait_for_mysqld&&e.hasOwnProperty("wait_for_mysqld")&&(r.wait_for_mysqld=e.wait_for_mysqld),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShutdownResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.directory=e.string();break;case 3:n.keyspace=e.string();break;case 4:n.shard=e.string();break;case 5:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 6:n.time=s.vttime.Time.decode(e,e.uint32());break;case 7:n.engine=e.string();break;case 8:n.status=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.directory&&e.hasOwnProperty("directory")&&!a.isString(e.directory))return"directory: string expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";var t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;if(null!=e.time&&e.hasOwnProperty("time")&&(t=s.vttime.Time.verify(e.time)))return"time."+t;if(null!=e.engine&&e.hasOwnProperty("engine")&&!a.isString(e.engine))return"engine: string expected";if(null!=e.status&&e.hasOwnProperty("status"))switch(e.status){default:return"status: enum value expected";case 0:case 1:case 2:case 3:case 4:}return null},e.fromObject=function(e){if(e instanceof s.mysqlctl.BackupInfo)return e;var t=new s.mysqlctl.BackupInfo;if(null!=e.name&&(t.name=String(e.name)),null!=e.directory&&(t.directory=String(e.directory)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".mysqlctl.BackupInfo.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}if(null!=e.time){if("object"!==typeof e.time)throw TypeError(".mysqlctl.BackupInfo.time: object expected");t.time=s.vttime.Time.fromObject(e.time)}switch(null!=e.engine&&(t.engine=String(e.engine)),e.status){case"UNKNOWN":case 0:t.status=0;break;case"INCOMPLETE":case 1:t.status=1;break;case"COMPLETE":case 2:t.status=2;break;case"INVALID":case 3:t.status=3;break;case"VALID":case 4:t.status=4}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.directory="",r.keyspace="",r.shard="",r.tablet_alias=null,r.time=null,r.engine="",r.status=t.enums===String?"UNKNOWN":0),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.directory&&e.hasOwnProperty("directory")&&(r.directory=e.directory),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.time&&e.hasOwnProperty("time")&&(r.time=s.vttime.Time.toObject(e.time,t)),null!=e.engine&&e.hasOwnProperty("engine")&&(r.engine=e.engine),null!=e.status&&e.hasOwnProperty("status")&&(r.status=t.enums===String?s.mysqlctl.BackupInfo.Status[e.status]:e.status),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Status=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="INCOMPLETE"]=1,t[e[2]="COMPLETE"]=2,t[e[3]="INVALID"]=3,t[e[4]="VALID"]=4,t}(),e}(),e}(),s.topodata=function(){var e={};return e.KeyRange=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.start=e.bytes();break;case 2:n.end=e.bytes();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.start&&e.hasOwnProperty("start")&&!(e.start&&"number"===typeof e.start.length||a.isString(e.start))?"start: buffer expected":null!=e.end&&e.hasOwnProperty("end")&&!(e.end&&"number"===typeof e.end.length||a.isString(e.end))?"end: buffer expected":null},e.fromObject=function(e){if(e instanceof s.topodata.KeyRange)return e;var t=new s.topodata.KeyRange;return null!=e.start&&("string"===typeof e.start?a.base64.decode(e.start,t.start=a.newBuffer(a.base64.length(e.start)),0):e.start.length&&(t.start=e.start)),null!=e.end&&("string"===typeof e.end?a.base64.decode(e.end,t.end=a.newBuffer(a.base64.length(e.end)),0):e.end.length&&(t.end=e.end)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(t.bytes===String?r.start="":(r.start=[],t.bytes!==Array&&(r.start=a.newBuffer(r.start))),t.bytes===String?r.end="":(r.end=[],t.bytes!==Array&&(r.end=a.newBuffer(r.end)))),null!=e.start&&e.hasOwnProperty("start")&&(r.start=t.bytes===String?a.base64.encode(e.start,0,e.start.length):t.bytes===Array?Array.prototype.slice.call(e.start):e.start),null!=e.end&&e.hasOwnProperty("end")&&(r.end=t.bytes===String?a.base64.encode(e.end,0,e.end.length):t.bytes===Array?Array.prototype.slice.call(e.end):e.end),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.KeyspaceType=function(){var e={},t=Object.create(e);return t[e[0]="NORMAL"]=0,t[e[1]="SNAPSHOT"]=1,t}(),e.KeyspaceIdType=function(){var e={},t=Object.create(e);return t[e[0]="UNSET"]=0,t[e[1]="UINT64"]=1,t[e[2]="BYTES"]=2,t}(),e.TabletAlias=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.cell=e.string();break;case 2:n.uid=e.uint32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null!=e.uid&&e.hasOwnProperty("uid")&&!a.isInteger(e.uid)?"uid: integer expected":null},e.fromObject=function(e){if(e instanceof s.topodata.TabletAlias)return e;var t=new s.topodata.TabletAlias;return null!=e.cell&&(t.cell=String(e.cell)),null!=e.uid&&(t.uid=e.uid>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cell="",r.uid=0),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),null!=e.uid&&e.hasOwnProperty("uid")&&(r.uid=e.uid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TabletType=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="PRIMARY"]=1,t.MASTER=1,t[e[2]="REPLICA"]=2,t[e[3]="RDONLY"]=3,t.BATCH=3,t[e[4]="SPARE"]=4,t[e[5]="EXPERIMENTAL"]=5,t[e[6]="BACKUP"]=6,t[e[7]="RESTORE"]=7,t[e[8]="DRAINED"]=8,t}(),e.Tablet=function(){function e(e){if(this.port_map={},this.tags={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:l.hostname=e.string();break;case 4:l.port_map===a.emptyObject&&(l.port_map={});var u=e.uint32()+e.pos;for(r="",n=0;e.pos>>3){case 1:r=e.string();break;case 2:n=e.int32();break;default:e.skipType(7&d)}}l.port_map[r]=n;break;case 5:l.keyspace=e.string();break;case 6:l.shard=e.string();break;case 7:l.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 8:l.type=e.int32();break;case 9:l.db_name_override=e.string();break;case 10:l.tags===a.emptyObject&&(l.tags={});u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.tags[r]=n;break;case 12:l.mysql_hostname=e.string();break;case 13:l.mysql_port=e.int32();break;case 14:l.primary_term_start_time=s.vttime.Time.decode(e,e.uint32());break;case 15:l.db_server_version=e.string();break;case 16:l.default_conn_collation=e.uint32();break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.alias&&e.hasOwnProperty("alias")&&(t=s.topodata.TabletAlias.verify(e.alias)))return"alias."+t;if(null!=e.hostname&&e.hasOwnProperty("hostname")&&!a.isString(e.hostname))return"hostname: string expected";if(null!=e.port_map&&e.hasOwnProperty("port_map")){if(!a.isObject(e.port_map))return"port_map: object expected";for(var r=Object.keys(e.port_map),n=0;n>>0),t},e.toObject=function(e,t){t||(t={});var r,n={};if((t.objects||t.defaults)&&(n.port_map={},n.tags={}),t.defaults&&(n.alias=null,n.hostname="",n.keyspace="",n.shard="",n.key_range=null,n.type=t.enums===String?"UNKNOWN":0,n.db_name_override="",n.mysql_hostname="",n.mysql_port=0,n.primary_term_start_time=null,n.db_server_version="",n.default_conn_collation=0),null!=e.alias&&e.hasOwnProperty("alias")&&(n.alias=s.topodata.TabletAlias.toObject(e.alias,t)),null!=e.hostname&&e.hasOwnProperty("hostname")&&(n.hostname=e.hostname),e.port_map&&(r=Object.keys(e.port_map)).length){n.port_map={};for(var i=0;i>>3){case 1:n.primary_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 8:n.primary_term_start_time=s.vttime.Time.decode(e,e.uint32());break;case 2:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 4:n.source_shards&&n.source_shards.length||(n.source_shards=[]),n.source_shards.push(s.topodata.Shard.SourceShard.decode(e,e.uint32()));break;case 6:n.tablet_controls&&n.tablet_controls.length||(n.tablet_controls=[]),n.tablet_controls.push(s.topodata.Shard.TabletControl.decode(e,e.uint32()));break;case 7:n.is_primary_serving=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.primary_alias&&e.hasOwnProperty("primary_alias")&&(r=s.topodata.TabletAlias.verify(e.primary_alias)))return"primary_alias."+r;if(null!=e.primary_term_start_time&&e.hasOwnProperty("primary_term_start_time")&&(r=s.vttime.Time.verify(e.primary_term_start_time)))return"primary_term_start_time."+r;if(null!=e.key_range&&e.hasOwnProperty("key_range")&&(r=s.topodata.KeyRange.verify(e.key_range)))return"key_range."+r;if(null!=e.source_shards&&e.hasOwnProperty("source_shards")){if(!Array.isArray(e.source_shards))return"source_shards: array expected";for(var t=0;t>>3){case 1:n.uid=e.uint32();break;case 2:n.keyspace=e.string();break;case 3:n.shard=e.string();break;case 4:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 5:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.uid&&e.hasOwnProperty("uid")&&!a.isInteger(e.uid))return"uid: integer expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.key_range&&e.hasOwnProperty("key_range")){var t=s.topodata.KeyRange.verify(e.key_range);if(t)return"key_range."+t}if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var r=0;r>>0),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.key_range){if("object"!==typeof e.key_range)throw TypeError(".topodata.Shard.SourceShard.key_range: object expected");t.key_range=s.topodata.KeyRange.fromObject(e.key_range)}if(e.tables){if(!Array.isArray(e.tables))throw TypeError(".topodata.Shard.SourceShard.tables: array expected");t.tables=[];for(var r=0;r>>3){case 1:n.tablet_type=e.int32();break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 4:n.denied_tables&&n.denied_tables.length||(n.denied_tables=[]),n.denied_tables.push(e.string());break;case 5:n.frozen=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3){case 1:n.sharding_column_name=e.string();break;case 2:n.sharding_column_type=e.int32();break;case 4:n.served_froms&&n.served_froms.length||(n.served_froms=[]),n.served_froms.push(s.topodata.Keyspace.ServedFrom.decode(e,e.uint32()));break;case 5:n.keyspace_type=e.int32();break;case 6:n.base_keyspace=e.string();break;case 7:n.snapshot_time=s.vttime.Time.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.sharding_column_name&&e.hasOwnProperty("sharding_column_name")&&!a.isString(e.sharding_column_name))return"sharding_column_name: string expected";if(null!=e.sharding_column_type&&e.hasOwnProperty("sharding_column_type"))switch(e.sharding_column_type){default:return"sharding_column_type: enum value expected";case 0:case 1:case 2:}if(null!=e.served_froms&&e.hasOwnProperty("served_froms")){if(!Array.isArray(e.served_froms))return"served_froms: array expected";for(var t=0;t>>3){case 1:n.tablet_type=e.int32();break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 3:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1)n.nodes&&n.nodes.length||(n.nodes=[]),n.nodes.push(s.topodata.ShardReplication.Node.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.nodes&&e.hasOwnProperty("nodes")){if(!Array.isArray(e.nodes))return"nodes: array expected";for(var t=0;t>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.topodata.ShardReplication.Node)return e;var t=new s.topodata.ShardReplication.Node;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".topodata.ShardReplication.Node.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.ShardReplicationError=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:}if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.topodata.ShardReplicationError)return e;var t=new s.topodata.ShardReplicationError;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"NOT_FOUND":case 1:t.type=1;break;case"TOPOLOGY_MISMATCH":case 2:t.type=2}if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".topodata.ShardReplicationError.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type=t.enums===String?"UNKNOWN":0,r.tablet_alias=null),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?s.topodata.ShardReplicationError.Type[e.type]:e.type),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Type=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="NOT_FOUND"]=1,t[e[2]="TOPOLOGY_MISMATCH"]=2,t}(),e}(),e.ShardReference=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.key_range&&e.hasOwnProperty("key_range")){var t=s.topodata.KeyRange.verify(e.key_range);if(t)return"key_range."+t}return null},e.fromObject=function(e){if(e instanceof s.topodata.ShardReference)return e;var t=new s.topodata.ShardReference;if(null!=e.name&&(t.name=String(e.name)),null!=e.key_range){if("object"!==typeof e.key_range)throw TypeError(".topodata.ShardReference.key_range: object expected");t.key_range=s.topodata.KeyRange.fromObject(e.key_range)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.key_range=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.key_range&&e.hasOwnProperty("key_range")&&(r.key_range=s.topodata.KeyRange.toObject(e.key_range,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShardTabletControl=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 3:n.query_service_disabled=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.key_range&&e.hasOwnProperty("key_range")){var t=s.topodata.KeyRange.verify(e.key_range);if(t)return"key_range."+t}return null!=e.query_service_disabled&&e.hasOwnProperty("query_service_disabled")&&"boolean"!==typeof e.query_service_disabled?"query_service_disabled: boolean expected":null},e.fromObject=function(e){if(e instanceof s.topodata.ShardTabletControl)return e;var t=new s.topodata.ShardTabletControl;if(null!=e.name&&(t.name=String(e.name)),null!=e.key_range){if("object"!==typeof e.key_range)throw TypeError(".topodata.ShardTabletControl.key_range: object expected");t.key_range=s.topodata.KeyRange.fromObject(e.key_range)}return null!=e.query_service_disabled&&(t.query_service_disabled=Boolean(e.query_service_disabled)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.key_range=null,r.query_service_disabled=!1),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.key_range&&e.hasOwnProperty("key_range")&&(r.key_range=s.topodata.KeyRange.toObject(e.key_range,t)),null!=e.query_service_disabled&&e.hasOwnProperty("query_service_disabled")&&(r.query_service_disabled=e.query_service_disabled),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SrvKeyspace=function(){function e(e){if(this.partitions=[],this.served_from=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.partitions&&n.partitions.length||(n.partitions=[]),n.partitions.push(s.topodata.SrvKeyspace.KeyspacePartition.decode(e,e.uint32()));break;case 2:n.sharding_column_name=e.string();break;case 3:n.sharding_column_type=e.int32();break;case 4:n.served_from&&n.served_from.length||(n.served_from=[]),n.served_from.push(s.topodata.SrvKeyspace.ServedFrom.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.partitions&&e.hasOwnProperty("partitions")){if(!Array.isArray(e.partitions))return"partitions: array expected";for(var t=0;t>>3){case 1:n.served_type=e.int32();break;case 2:n.shard_references&&n.shard_references.length||(n.shard_references=[]),n.shard_references.push(s.topodata.ShardReference.decode(e,e.uint32()));break;case 3:n.shard_tablet_controls&&n.shard_tablet_controls.length||(n.shard_tablet_controls=[]),n.shard_tablet_controls.push(s.topodata.ShardTabletControl.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.served_type&&e.hasOwnProperty("served_type"))switch(e.served_type){default:return"served_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}if(null!=e.shard_references&&e.hasOwnProperty("shard_references")){if(!Array.isArray(e.shard_references))return"shard_references: array expected";for(var t=0;t>>3){case 1:n.tablet_type=e.int32();break;case 2:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}return null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.topodata.SrvKeyspace.ServedFrom)return e;var t=new s.topodata.SrvKeyspace.ServedFrom;switch(e.tablet_type){case"UNKNOWN":case 0:t.tablet_type=0;break;case"PRIMARY":case 1:case"MASTER":case 1:t.tablet_type=1;break;case"REPLICA":case 2:t.tablet_type=2;break;case"RDONLY":case 3:case"BATCH":case 3:t.tablet_type=3;break;case"SPARE":case 4:t.tablet_type=4;break;case"EXPERIMENTAL":case 5:t.tablet_type=5;break;case"BACKUP":case 6:t.tablet_type=6;break;case"RESTORE":case 7:t.tablet_type=7;break;case"DRAINED":case 8:t.tablet_type=8}return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_type=t.enums===String?"UNKNOWN":0,r.keyspace=""),null!=e.tablet_type&&e.hasOwnProperty("tablet_type")&&(r.tablet_type=t.enums===String?s.topodata.TabletType[e.tablet_type]:e.tablet_type),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e.CellInfo=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.server_address=e.string();break;case 2:n.root=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.server_address&&e.hasOwnProperty("server_address")&&!a.isString(e.server_address)?"server_address: string expected":null!=e.root&&e.hasOwnProperty("root")&&!a.isString(e.root)?"root: string expected":null},e.fromObject=function(e){if(e instanceof s.topodata.CellInfo)return e;var t=new s.topodata.CellInfo;return null!=e.server_address&&(t.server_address=String(e.server_address)),null!=e.root&&(t.root=String(e.root)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.server_address="",r.root=""),null!=e.server_address&&e.hasOwnProperty("server_address")&&(r.server_address=e.server_address),null!=e.root&&e.hasOwnProperty("root")&&(r.root=e.root),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CellsAlias=function(){function e(e){if(this.cells=[],e)for(var t=Object.keys(e),r=0;r>>3===2)n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3){case 1:n.topo_type=e.string();break;case 2:n.server=e.string();break;case 3:n.root=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.topo_type&&e.hasOwnProperty("topo_type")&&!a.isString(e.topo_type)?"topo_type: string expected":null!=e.server&&e.hasOwnProperty("server")&&!a.isString(e.server)?"server: string expected":null!=e.root&&e.hasOwnProperty("root")&&!a.isString(e.root)?"root: string expected":null},e.fromObject=function(e){if(e instanceof s.topodata.TopoConfig)return e;var t=new s.topodata.TopoConfig;return null!=e.topo_type&&(t.topo_type=String(e.topo_type)),null!=e.server&&(t.server=String(e.server)),null!=e.root&&(t.root=String(e.root)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.topo_type="",r.server="",r.root=""),null!=e.topo_type&&e.hasOwnProperty("topo_type")&&(r.topo_type=e.topo_type),null!=e.server&&e.hasOwnProperty("server")&&(r.server=e.server),null!=e.root&&e.hasOwnProperty("root")&&(r.root=e.root),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExternalVitessCluster=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.topo_config=s.topodata.TopoConfig.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.topo_config&&e.hasOwnProperty("topo_config")){var t=s.topodata.TopoConfig.verify(e.topo_config);if(t)return"topo_config."+t}return null},e.fromObject=function(e){if(e instanceof s.topodata.ExternalVitessCluster)return e;var t=new s.topodata.ExternalVitessCluster;if(null!=e.topo_config){if("object"!==typeof e.topo_config)throw TypeError(".topodata.ExternalVitessCluster.topo_config: object expected");t.topo_config=s.topodata.TopoConfig.fromObject(e.topo_config)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.topo_config=null),null!=e.topo_config&&e.hasOwnProperty("topo_config")&&(r.topo_config=s.topodata.TopoConfig.toObject(e.topo_config,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExternalClusters=function(){function e(e){if(this.vitess_cluster=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.vitess_cluster&&n.vitess_cluster.length||(n.vitess_cluster=[]),n.vitess_cluster.push(s.topodata.ExternalVitessCluster.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.vitess_cluster&&e.hasOwnProperty("vitess_cluster")){if(!Array.isArray(e.vitess_cluster))return"vitess_cluster: array expected";for(var t=0;t>>3){case 1:n.seconds=e.int64();break;case 2:n.nanoseconds=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.seconds||!e.hasOwnProperty("seconds")||a.isInteger(e.seconds)||e.seconds&&a.isInteger(e.seconds.low)&&a.isInteger(e.seconds.high)?null!=e.nanoseconds&&e.hasOwnProperty("nanoseconds")&&!a.isInteger(e.nanoseconds)?"nanoseconds: integer expected":null:"seconds: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vttime.Time)return e;var t=new s.vttime.Time;return null!=e.seconds&&(a.Long?(t.seconds=a.Long.fromValue(e.seconds)).unsigned=!1:"string"===typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"===typeof e.seconds?t.seconds=e.seconds:"object"===typeof e.seconds&&(t.seconds=new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanoseconds&&(t.nanoseconds=0|e.nanoseconds),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanoseconds=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"===typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?a.Long.prototype.toString.call(e.seconds):t.longs===Number?new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanoseconds&&e.hasOwnProperty("nanoseconds")&&(r.nanoseconds=e.nanoseconds),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Duration=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.seconds=e.int64();break;case 2:n.nanos=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.seconds||!e.hasOwnProperty("seconds")||a.isInteger(e.seconds)||e.seconds&&a.isInteger(e.seconds.low)&&a.isInteger(e.seconds.high)?null!=e.nanos&&e.hasOwnProperty("nanos")&&!a.isInteger(e.nanos)?"nanos: integer expected":null:"seconds: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vttime.Duration)return e;var t=new s.vttime.Duration;return null!=e.seconds&&(a.Long?(t.seconds=a.Long.fromValue(e.seconds)).unsigned=!1:"string"===typeof e.seconds?t.seconds=parseInt(e.seconds,10):"number"===typeof e.seconds?t.seconds=e.seconds:"object"===typeof e.seconds&&(t.seconds=new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber())),null!=e.nanos&&(t.nanos=0|e.nanos),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.seconds=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.seconds=t.longs===String?"0":0;r.nanos=0}return null!=e.seconds&&e.hasOwnProperty("seconds")&&("number"===typeof e.seconds?r.seconds=t.longs===String?String(e.seconds):e.seconds:r.seconds=t.longs===String?a.Long.prototype.toString.call(e.seconds):t.longs===Number?new a.LongBits(e.seconds.low>>>0,e.seconds.high>>>0).toNumber():e.seconds),null!=e.nanos&&e.hasOwnProperty("nanos")&&(r.nanos=e.nanos),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.tabletmanagerdata=function(){var e={};return e.TableDefinition=function(){function e(e){if(this.columns=[],this.primary_key_columns=[],this.fields=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.schema=e.string();break;case 3:n.columns&&n.columns.length||(n.columns=[]),n.columns.push(e.string());break;case 4:n.primary_key_columns&&n.primary_key_columns.length||(n.primary_key_columns=[]),n.primary_key_columns.push(e.string());break;case 5:n.type=e.string();break;case 6:n.data_length=e.uint64();break;case 7:n.row_count=e.uint64();break;case 8:n.fields&&n.fields.length||(n.fields=[]),n.fields.push(s.query.Field.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.schema&&e.hasOwnProperty("schema")&&!a.isString(e.schema))return"schema: string expected";if(null!=e.columns&&e.hasOwnProperty("columns")){if(!Array.isArray(e.columns))return"columns: array expected";for(var t=0;t>>0,e.data_length.high>>>0).toNumber(!0))),null!=e.row_count&&(a.Long?(t.row_count=a.Long.fromValue(e.row_count)).unsigned=!0:"string"===typeof e.row_count?t.row_count=parseInt(e.row_count,10):"number"===typeof e.row_count?t.row_count=e.row_count:"object"===typeof e.row_count&&(t.row_count=new a.LongBits(e.row_count.low>>>0,e.row_count.high>>>0).toNumber(!0))),e.fields){if(!Array.isArray(e.fields))throw TypeError(".tabletmanagerdata.TableDefinition.fields: array expected");t.fields=[];for(r=0;r>>0,e.data_length.high>>>0).toNumber(!0):e.data_length),null!=e.row_count&&e.hasOwnProperty("row_count")&&("number"===typeof e.row_count?r.row_count=t.longs===String?String(e.row_count):e.row_count:r.row_count=t.longs===String?a.Long.prototype.toString.call(e.row_count):t.longs===Number?new a.LongBits(e.row_count.low>>>0,e.row_count.high>>>0).toNumber(!0):e.row_count),e.fields&&e.fields.length){r.fields=[];for(i=0;i>>3){case 1:n.database_schema=e.string();break;case 2:n.table_definitions&&n.table_definitions.length||(n.table_definitions=[]),n.table_definitions.push(s.tabletmanagerdata.TableDefinition.decode(e,e.uint32()));break;case 3:n.version=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.database_schema&&e.hasOwnProperty("database_schema")&&!a.isString(e.database_schema))return"database_schema: string expected";if(null!=e.table_definitions&&e.hasOwnProperty("table_definitions")){if(!Array.isArray(e.table_definitions))return"table_definitions: array expected";for(var t=0;t>>3){case 1:n.before_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;case 2:n.after_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.before_schema)))return"before_schema."+t;if(null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.after_schema)))return"after_schema."+t;return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.SchemaChangeResult)return e;var t=new s.tabletmanagerdata.SchemaChangeResult;if(null!=e.before_schema){if("object"!==typeof e.before_schema)throw TypeError(".tabletmanagerdata.SchemaChangeResult.before_schema: object expected");t.before_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.before_schema)}if(null!=e.after_schema){if("object"!==typeof e.after_schema)throw TypeError(".tabletmanagerdata.SchemaChangeResult.after_schema: object expected");t.after_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.after_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.before_schema=null,r.after_schema=null),null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(r.before_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.before_schema,t)),null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(r.after_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.after_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UserPermission=function(){function e(e){if(this.privileges={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.host=e.string();break;case 2:l.user=e.string();break;case 3:l.password_checksum=e.uint64();break;case 4:l.privileges===a.emptyObject&&(l.privileges={});var u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.privileges[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.host&&e.hasOwnProperty("host")&&!a.isString(e.host))return"host: string expected";if(null!=e.user&&e.hasOwnProperty("user")&&!a.isString(e.user))return"user: string expected";if(null!=e.password_checksum&&e.hasOwnProperty("password_checksum")&&!a.isInteger(e.password_checksum)&&!(e.password_checksum&&a.isInteger(e.password_checksum.low)&&a.isInteger(e.password_checksum.high)))return"password_checksum: integer|Long expected";if(null!=e.privileges&&e.hasOwnProperty("privileges")){if(!a.isObject(e.privileges))return"privileges: object expected";for(var t=Object.keys(e.privileges),r=0;r>>0,e.password_checksum.high>>>0).toNumber(!0))),e.privileges){if("object"!==typeof e.privileges)throw TypeError(".tabletmanagerdata.UserPermission.privileges: object expected");t.privileges={};for(var r=Object.keys(e.privileges),n=0;n>>0,e.password_checksum.high>>>0).toNumber(!0):e.password_checksum),e.privileges&&(r=Object.keys(e.privileges)).length){n.privileges={};for(var o=0;o>>3){case 1:l.host=e.string();break;case 2:l.db=e.string();break;case 3:l.user=e.string();break;case 4:l.privileges===a.emptyObject&&(l.privileges={});var u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.privileges[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.host&&e.hasOwnProperty("host")&&!a.isString(e.host))return"host: string expected";if(null!=e.db&&e.hasOwnProperty("db")&&!a.isString(e.db))return"db: string expected";if(null!=e.user&&e.hasOwnProperty("user")&&!a.isString(e.user))return"user: string expected";if(null!=e.privileges&&e.hasOwnProperty("privileges")){if(!a.isObject(e.privileges))return"privileges: object expected";for(var t=Object.keys(e.privileges),r=0;r>>3){case 1:n.user_permissions&&n.user_permissions.length||(n.user_permissions=[]),n.user_permissions.push(s.tabletmanagerdata.UserPermission.decode(e,e.uint32()));break;case 2:n.db_permissions&&n.db_permissions.length||(n.db_permissions=[]),n.db_permissions.push(s.tabletmanagerdata.DbPermission.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.user_permissions&&e.hasOwnProperty("user_permissions")){if(!Array.isArray(e.user_permissions))return"user_permissions: array expected";for(var t=0;t>>3===1)n.payload=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.payload&&e.hasOwnProperty("payload")&&!a.isString(e.payload)?"payload: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PingRequest)return e;var t=new s.tabletmanagerdata.PingRequest;return null!=e.payload&&(t.payload=String(e.payload)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.payload=""),null!=e.payload&&e.hasOwnProperty("payload")&&(r.payload=e.payload),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PingResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.payload=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.payload&&e.hasOwnProperty("payload")&&!a.isString(e.payload)?"payload: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PingResponse)return e;var t=new s.tabletmanagerdata.PingResponse;return null!=e.payload&&(t.payload=String(e.payload)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.payload=""),null!=e.payload&&e.hasOwnProperty("payload")&&(r.payload=e.payload),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SleepRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.duration=e.int64();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.duration||!e.hasOwnProperty("duration")||a.isInteger(e.duration)||e.duration&&a.isInteger(e.duration.low)&&a.isInteger(e.duration.high)?null:"duration: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.SleepRequest)return e;var t=new s.tabletmanagerdata.SleepRequest;return null!=e.duration&&(a.Long?(t.duration=a.Long.fromValue(e.duration)).unsigned=!1:"string"===typeof e.duration?t.duration=parseInt(e.duration,10):"number"===typeof e.duration?t.duration=e.duration:"object"===typeof e.duration&&(t.duration=new a.LongBits(e.duration.low>>>0,e.duration.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.duration=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.duration=t.longs===String?"0":0;return null!=e.duration&&e.hasOwnProperty("duration")&&("number"===typeof e.duration?r.duration=t.longs===String?String(e.duration):e.duration:r.duration=t.longs===String?a.Long.prototype.toString.call(e.duration):t.longs===Number?new a.LongBits(e.duration.low>>>0,e.duration.high>>>0).toNumber():e.duration),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SleepResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.name=e.string();break;case 2:l.parameters&&l.parameters.length||(l.parameters=[]),l.parameters.push(e.string());break;case 3:l.extra_env===a.emptyObject&&(l.extra_env={});var u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.extra_env[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.parameters&&e.hasOwnProperty("parameters")){if(!Array.isArray(e.parameters))return"parameters: array expected";for(var t=0;t>>3){case 1:n.exit_status=e.int64();break;case 2:n.stdout=e.string();break;case 3:n.stderr=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.exit_status||!e.hasOwnProperty("exit_status")||a.isInteger(e.exit_status)||e.exit_status&&a.isInteger(e.exit_status.low)&&a.isInteger(e.exit_status.high)?null!=e.stdout&&e.hasOwnProperty("stdout")&&!a.isString(e.stdout)?"stdout: string expected":null!=e.stderr&&e.hasOwnProperty("stderr")&&!a.isString(e.stderr)?"stderr: string expected":null:"exit_status: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteHookResponse)return e;var t=new s.tabletmanagerdata.ExecuteHookResponse;return null!=e.exit_status&&(a.Long?(t.exit_status=a.Long.fromValue(e.exit_status)).unsigned=!1:"string"===typeof e.exit_status?t.exit_status=parseInt(e.exit_status,10):"number"===typeof e.exit_status?t.exit_status=e.exit_status:"object"===typeof e.exit_status&&(t.exit_status=new a.LongBits(e.exit_status.low>>>0,e.exit_status.high>>>0).toNumber())),null!=e.stdout&&(t.stdout=String(e.stdout)),null!=e.stderr&&(t.stderr=String(e.stderr)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.exit_status=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.exit_status=t.longs===String?"0":0;r.stdout="",r.stderr=""}return null!=e.exit_status&&e.hasOwnProperty("exit_status")&&("number"===typeof e.exit_status?r.exit_status=t.longs===String?String(e.exit_status):e.exit_status:r.exit_status=t.longs===String?a.Long.prototype.toString.call(e.exit_status):t.longs===Number?new a.LongBits(e.exit_status.low>>>0,e.exit_status.high>>>0).toNumber():e.exit_status),null!=e.stdout&&e.hasOwnProperty("stdout")&&(r.stdout=e.stdout),null!=e.stderr&&e.hasOwnProperty("stderr")&&(r.stderr=e.stderr),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSchemaRequest=function(){function e(e){if(this.tables=[],this.exclude_tables=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;case 2:n.include_views=e.bool();break;case 3:n.exclude_tables&&n.exclude_tables.length||(n.exclude_tables=[]),n.exclude_tables.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var t=0;t>>3===1)n.schema_definition=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.schema_definition&&e.hasOwnProperty("schema_definition")){var t=s.tabletmanagerdata.SchemaDefinition.verify(e.schema_definition);if(t)return"schema_definition."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.GetSchemaResponse)return e;var t=new s.tabletmanagerdata.GetSchemaResponse;if(null!=e.schema_definition){if("object"!==typeof e.schema_definition)throw TypeError(".tabletmanagerdata.GetSchemaResponse.schema_definition: object expected");t.schema_definition=s.tabletmanagerdata.SchemaDefinition.fromObject(e.schema_definition)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.schema_definition=null),null!=e.schema_definition&&e.hasOwnProperty("schema_definition")&&(r.schema_definition=s.tabletmanagerdata.SchemaDefinition.toObject(e.schema_definition,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetPermissionsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.permissions=s.tabletmanagerdata.Permissions.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.permissions&&e.hasOwnProperty("permissions")){var t=s.tabletmanagerdata.Permissions.verify(e.permissions);if(t)return"permissions."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.GetPermissionsResponse)return e;var t=new s.tabletmanagerdata.GetPermissionsResponse;if(null!=e.permissions){if("object"!==typeof e.permissions)throw TypeError(".tabletmanagerdata.GetPermissionsResponse.permissions: object expected");t.permissions=s.tabletmanagerdata.Permissions.fromObject(e.permissions)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.permissions=null),null!=e.permissions&&e.hasOwnProperty("permissions")&&(r.permissions=s.tabletmanagerdata.Permissions.toObject(e.permissions,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetReadOnlyRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_type=e.int32();break;case 2:n.semiSync=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}return null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ChangeTypeRequest)return e;var t=new s.tabletmanagerdata.ChangeTypeRequest;switch(e.tablet_type){case"UNKNOWN":case 0:t.tablet_type=0;break;case"PRIMARY":case 1:case"MASTER":case 1:t.tablet_type=1;break;case"REPLICA":case 2:t.tablet_type=2;break;case"RDONLY":case 3:case"BATCH":case 3:t.tablet_type=3;break;case"SPARE":case 4:t.tablet_type=4;break;case"EXPERIMENTAL":case 5:t.tablet_type=5;break;case"BACKUP":case 6:t.tablet_type=6;break;case"RESTORE":case 7:t.tablet_type=7;break;case"DRAINED":case 8:t.tablet_type=8}return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_type=t.enums===String?"UNKNOWN":0,r.semiSync=!1),null!=e.tablet_type&&e.hasOwnProperty("tablet_type")&&(r.tablet_type=t.enums===String?s.topodata.TabletType[e.tablet_type]:e.tablet_type),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ChangeTypeResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.wait_position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.wait_position&&e.hasOwnProperty("wait_position")&&!a.isString(e.wait_position)?"wait_position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ReloadSchemaRequest)return e;var t=new s.tabletmanagerdata.ReloadSchemaRequest;return null!=e.wait_position&&(t.wait_position=String(e.wait_position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.wait_position=""),null!=e.wait_position&&e.hasOwnProperty("wait_position")&&(r.wait_position=e.wait_position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReloadSchemaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.changes&&n.changes.length||(n.changes=[]),n.changes.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.changes&&e.hasOwnProperty("changes")){if(!Array.isArray(e.changes))return"changes: array expected";for(var t=0;t>>3===1)n.change_results&&n.change_results.length||(n.change_results=[]),n.change_results.push(s.tabletmanagerdata.SchemaChangeResult.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.change_results&&e.hasOwnProperty("change_results")){if(!Array.isArray(e.change_results))return"change_results: array expected";for(var t=0;t>>3){case 1:n.sql=e.string();break;case 2:n.force=e.bool();break;case 3:n.allow_replication=e.bool();break;case 4:n.before_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;case 5:n.after_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;case 6:n.sql_mode=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.sql&&e.hasOwnProperty("sql")&&!a.isString(e.sql))return"sql: string expected";if(null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force)return"force: boolean expected";if(null!=e.allow_replication&&e.hasOwnProperty("allow_replication")&&"boolean"!==typeof e.allow_replication)return"allow_replication: boolean expected";var t;if(null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.before_schema)))return"before_schema."+t;if(null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.after_schema)))return"after_schema."+t;return null!=e.sql_mode&&e.hasOwnProperty("sql_mode")&&!a.isString(e.sql_mode)?"sql_mode: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ApplySchemaRequest)return e;var t=new s.tabletmanagerdata.ApplySchemaRequest;if(null!=e.sql&&(t.sql=String(e.sql)),null!=e.force&&(t.force=Boolean(e.force)),null!=e.allow_replication&&(t.allow_replication=Boolean(e.allow_replication)),null!=e.before_schema){if("object"!==typeof e.before_schema)throw TypeError(".tabletmanagerdata.ApplySchemaRequest.before_schema: object expected");t.before_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.before_schema)}if(null!=e.after_schema){if("object"!==typeof e.after_schema)throw TypeError(".tabletmanagerdata.ApplySchemaRequest.after_schema: object expected");t.after_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.after_schema)}return null!=e.sql_mode&&(t.sql_mode=String(e.sql_mode)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.sql="",r.force=!1,r.allow_replication=!1,r.before_schema=null,r.after_schema=null,r.sql_mode=""),null!=e.sql&&e.hasOwnProperty("sql")&&(r.sql=e.sql),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),null!=e.allow_replication&&e.hasOwnProperty("allow_replication")&&(r.allow_replication=e.allow_replication),null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(r.before_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.before_schema,t)),null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(r.after_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.after_schema,t)),null!=e.sql_mode&&e.hasOwnProperty("sql_mode")&&(r.sql_mode=e.sql_mode),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ApplySchemaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.before_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;case 2:n.after_schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.before_schema)))return"before_schema."+t;if(null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(t=s.tabletmanagerdata.SchemaDefinition.verify(e.after_schema)))return"after_schema."+t;return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ApplySchemaResponse)return e;var t=new s.tabletmanagerdata.ApplySchemaResponse;if(null!=e.before_schema){if("object"!==typeof e.before_schema)throw TypeError(".tabletmanagerdata.ApplySchemaResponse.before_schema: object expected");t.before_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.before_schema)}if(null!=e.after_schema){if("object"!==typeof e.after_schema)throw TypeError(".tabletmanagerdata.ApplySchemaResponse.after_schema: object expected");t.after_schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.after_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.before_schema=null,r.after_schema=null),null!=e.before_schema&&e.hasOwnProperty("before_schema")&&(r.before_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.before_schema,t)),null!=e.after_schema&&e.hasOwnProperty("after_schema")&&(r.after_schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.after_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.LockTablesRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.bytes();break;case 2:n.db_name=e.string();break;case 3:n.max_rows=e.uint64();break;case 4:n.caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.query&&e.hasOwnProperty("query")&&!(e.query&&"number"===typeof e.query.length||a.isString(e.query)))return"query: buffer expected";if(null!=e.db_name&&e.hasOwnProperty("db_name")&&!a.isString(e.db_name))return"db_name: string expected";if(null!=e.max_rows&&e.hasOwnProperty("max_rows")&&!a.isInteger(e.max_rows)&&!(e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)))return"max_rows: integer|Long expected";if(null!=e.caller_id&&e.hasOwnProperty("caller_id")){var t=s.vtrpc.CallerID.verify(e.caller_id);if(t)return"caller_id."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteQueryRequest)return e;var t=new s.tabletmanagerdata.ExecuteQueryRequest;if(null!=e.query&&("string"===typeof e.query?a.base64.decode(e.query,t.query=a.newBuffer(a.base64.length(e.query)),0):e.query.length&&(t.query=e.query)),null!=e.db_name&&(t.db_name=String(e.db_name)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!0:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0))),null!=e.caller_id){if("object"!==typeof e.caller_id)throw TypeError(".tabletmanagerdata.ExecuteQueryRequest.caller_id: object expected");t.caller_id=s.vtrpc.CallerID.fromObject(e.caller_id)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.query="":(r.query=[],t.bytes!==Array&&(r.query=a.newBuffer(r.query))),r.db_name="",a.Long){var n=new a.Long(0,0,!0);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;r.caller_id=null}return null!=e.query&&e.hasOwnProperty("query")&&(r.query=t.bytes===String?a.base64.encode(e.query,0,e.query.length):t.bytes===Array?Array.prototype.slice.call(e.query):e.query),null!=e.db_name&&e.hasOwnProperty("db_name")&&(r.db_name=e.db_name),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0):e.max_rows),null!=e.caller_id&&e.hasOwnProperty("caller_id")&&(r.caller_id=s.vtrpc.CallerID.toObject(e.caller_id,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteQueryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteQueryResponse)return e;var t=new s.tabletmanagerdata.ExecuteQueryResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.ExecuteQueryResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsDbaRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.bytes();break;case 2:n.db_name=e.string();break;case 3:n.max_rows=e.uint64();break;case 4:n.disable_binlogs=e.bool();break;case 5:n.reload_schema=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!(e.query&&"number"===typeof e.query.length||a.isString(e.query))?"query: buffer expected":null!=e.db_name&&e.hasOwnProperty("db_name")&&!a.isString(e.db_name)?"db_name: string expected":null==e.max_rows||!e.hasOwnProperty("max_rows")||a.isInteger(e.max_rows)||e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)?null!=e.disable_binlogs&&e.hasOwnProperty("disable_binlogs")&&"boolean"!==typeof e.disable_binlogs?"disable_binlogs: boolean expected":null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&"boolean"!==typeof e.reload_schema?"reload_schema: boolean expected":null:"max_rows: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsDbaRequest)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsDbaRequest;return null!=e.query&&("string"===typeof e.query?a.base64.decode(e.query,t.query=a.newBuffer(a.base64.length(e.query)),0):e.query.length&&(t.query=e.query)),null!=e.db_name&&(t.db_name=String(e.db_name)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!0:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0))),null!=e.disable_binlogs&&(t.disable_binlogs=Boolean(e.disable_binlogs)),null!=e.reload_schema&&(t.reload_schema=Boolean(e.reload_schema)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.query="":(r.query=[],t.bytes!==Array&&(r.query=a.newBuffer(r.query))),r.db_name="",a.Long){var n=new a.Long(0,0,!0);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;r.disable_binlogs=!1,r.reload_schema=!1}return null!=e.query&&e.hasOwnProperty("query")&&(r.query=t.bytes===String?a.base64.encode(e.query,0,e.query.length):t.bytes===Array?Array.prototype.slice.call(e.query):e.query),null!=e.db_name&&e.hasOwnProperty("db_name")&&(r.db_name=e.db_name),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0):e.max_rows),null!=e.disable_binlogs&&e.hasOwnProperty("disable_binlogs")&&(r.disable_binlogs=e.disable_binlogs),null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&(r.reload_schema=e.reload_schema),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsDbaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsDbaResponse)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsDbaResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.ExecuteFetchAsDbaResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAllPrivsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.bytes();break;case 2:n.db_name=e.string();break;case 3:n.max_rows=e.uint64();break;case 4:n.reload_schema=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!(e.query&&"number"===typeof e.query.length||a.isString(e.query))?"query: buffer expected":null!=e.db_name&&e.hasOwnProperty("db_name")&&!a.isString(e.db_name)?"db_name: string expected":null==e.max_rows||!e.hasOwnProperty("max_rows")||a.isInteger(e.max_rows)||e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)?null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&"boolean"!==typeof e.reload_schema?"reload_schema: boolean expected":null:"max_rows: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsAllPrivsRequest)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsAllPrivsRequest;return null!=e.query&&("string"===typeof e.query?a.base64.decode(e.query,t.query=a.newBuffer(a.base64.length(e.query)),0):e.query.length&&(t.query=e.query)),null!=e.db_name&&(t.db_name=String(e.db_name)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!0:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0))),null!=e.reload_schema&&(t.reload_schema=Boolean(e.reload_schema)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(t.bytes===String?r.query="":(r.query=[],t.bytes!==Array&&(r.query=a.newBuffer(r.query))),r.db_name="",a.Long){var n=new a.Long(0,0,!0);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;r.reload_schema=!1}return null!=e.query&&e.hasOwnProperty("query")&&(r.query=t.bytes===String?a.base64.encode(e.query,0,e.query.length):t.bytes===Array?Array.prototype.slice.call(e.query):e.query),null!=e.db_name&&e.hasOwnProperty("db_name")&&(r.db_name=e.db_name),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0):e.max_rows),null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&(r.reload_schema=e.reload_schema),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAllPrivsResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsAllPrivsResponse)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsAllPrivsResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.ExecuteFetchAsAllPrivsResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAppRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.bytes();break;case 2:n.max_rows=e.uint64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!(e.query&&"number"===typeof e.query.length||a.isString(e.query))?"query: buffer expected":null==e.max_rows||!e.hasOwnProperty("max_rows")||a.isInteger(e.max_rows)||e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)?null:"max_rows: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsAppRequest)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsAppRequest;return null!=e.query&&("string"===typeof e.query?a.base64.decode(e.query,t.query=a.newBuffer(a.base64.length(e.query)),0):e.query.length&&(t.query=e.query)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!0:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(t.bytes===String?r.query="":(r.query=[],t.bytes!==Array&&(r.query=a.newBuffer(r.query))),a.Long){var n=new a.Long(0,0,!0);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;return null!=e.query&&e.hasOwnProperty("query")&&(r.query=t.bytes===String?a.base64.encode(e.query,0,e.query.length):t.bytes===Array?Array.prototype.slice.call(e.query):e.query),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber(!0):e.max_rows),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAppResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ExecuteFetchAsAppResponse)return e;var t=new s.tabletmanagerdata.ExecuteFetchAsAppResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.ExecuteFetchAsAppResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReplicationStatusRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.status=s.replicationdata.Status.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.status&&e.hasOwnProperty("status")){var t=s.replicationdata.Status.verify(e.status);if(t)return"status."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ReplicationStatusResponse)return e;var t=new s.tabletmanagerdata.ReplicationStatusResponse;if(null!=e.status){if("object"!==typeof e.status)throw TypeError(".tabletmanagerdata.ReplicationStatusResponse.status: object expected");t.status=s.replicationdata.Status.fromObject(e.status)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=null),null!=e.status&&e.hasOwnProperty("status")&&(r.status=s.replicationdata.Status.toObject(e.status,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrimaryStatusRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.status=s.replicationdata.PrimaryStatus.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.status&&e.hasOwnProperty("status")){var t=s.replicationdata.PrimaryStatus.verify(e.status);if(t)return"status."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PrimaryStatusResponse)return e;var t=new s.tabletmanagerdata.PrimaryStatusResponse;if(null!=e.status){if("object"!==typeof e.status)throw TypeError(".tabletmanagerdata.PrimaryStatusResponse.status: object expected");t.status=s.replicationdata.PrimaryStatus.fromObject(e.status)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.status=null),null!=e.status&&e.hasOwnProperty("status")&&(r.status=s.replicationdata.PrimaryStatus.toObject(e.status,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrimaryPositionRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PrimaryPositionResponse)return e;var t=new s.tabletmanagerdata.PrimaryPositionResponse;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.WaitForPositionRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.WaitForPositionRequest)return e;var t=new s.tabletmanagerdata.WaitForPositionRequest;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.WaitForPositionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.wait_timeout=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null==e.wait_timeout||!e.hasOwnProperty("wait_timeout")||a.isInteger(e.wait_timeout)||e.wait_timeout&&a.isInteger(e.wait_timeout.low)&&a.isInteger(e.wait_timeout.high)?null:"wait_timeout: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StopReplicationMinimumRequest)return e;var t=new s.tabletmanagerdata.StopReplicationMinimumRequest;return null!=e.position&&(t.position=String(e.position)),null!=e.wait_timeout&&(a.Long?(t.wait_timeout=a.Long.fromValue(e.wait_timeout)).unsigned=!1:"string"===typeof e.wait_timeout?t.wait_timeout=parseInt(e.wait_timeout,10):"number"===typeof e.wait_timeout?t.wait_timeout=e.wait_timeout:"object"===typeof e.wait_timeout&&(t.wait_timeout=new a.LongBits(e.wait_timeout.low>>>0,e.wait_timeout.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.position="",a.Long){var n=new a.Long(0,0,!1);r.wait_timeout=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.wait_timeout=t.longs===String?"0":0;return null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.wait_timeout&&e.hasOwnProperty("wait_timeout")&&("number"===typeof e.wait_timeout?r.wait_timeout=t.longs===String?String(e.wait_timeout):e.wait_timeout:r.wait_timeout=t.longs===String?a.Long.prototype.toString.call(e.wait_timeout):t.longs===Number?new a.LongBits(e.wait_timeout.low>>>0,e.wait_timeout.high>>>0).toNumber():e.wait_timeout),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationMinimumResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StopReplicationMinimumResponse)return e;var t=new s.tabletmanagerdata.StopReplicationMinimumResponse;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartReplicationRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.semiSync=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StartReplicationRequest)return e;var t=new s.tabletmanagerdata.StartReplicationRequest;return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.semiSync=!1),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartReplicationResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.wait_timeout=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null==e.wait_timeout||!e.hasOwnProperty("wait_timeout")||a.isInteger(e.wait_timeout)||e.wait_timeout&&a.isInteger(e.wait_timeout.low)&&a.isInteger(e.wait_timeout.high)?null:"wait_timeout: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StartReplicationUntilAfterRequest)return e;var t=new s.tabletmanagerdata.StartReplicationUntilAfterRequest;return null!=e.position&&(t.position=String(e.position)),null!=e.wait_timeout&&(a.Long?(t.wait_timeout=a.Long.fromValue(e.wait_timeout)).unsigned=!1:"string"===typeof e.wait_timeout?t.wait_timeout=parseInt(e.wait_timeout,10):"number"===typeof e.wait_timeout?t.wait_timeout=e.wait_timeout:"object"===typeof e.wait_timeout&&(t.wait_timeout=new a.LongBits(e.wait_timeout.low>>>0,e.wait_timeout.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.position="",a.Long){var n=new a.Long(0,0,!1);r.wait_timeout=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.wait_timeout=t.longs===String?"0":0;return null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.wait_timeout&&e.hasOwnProperty("wait_timeout")&&("number"===typeof e.wait_timeout?r.wait_timeout=t.longs===String?String(e.wait_timeout):e.wait_timeout:r.wait_timeout=t.longs===String?a.Long.prototype.toString.call(e.wait_timeout):t.longs===Number?new a.LongBits(e.wait_timeout.low>>>0,e.wait_timeout.high>>>0).toNumber():e.wait_timeout),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartReplicationUntilAfterResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.addrs&&n.addrs.length||(n.addrs=[]),n.addrs.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.addrs&&e.hasOwnProperty("addrs")){if(!Array.isArray(e.addrs))return"addrs: array expected";for(var t=0;t>>3===1)n.query=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!a.isString(e.query)?"query: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VReplicationExecRequest)return e;var t=new s.tabletmanagerdata.VReplicationExecRequest;return null!=e.query&&(t.query=String(e.query)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.query=""),null!=e.query&&e.hasOwnProperty("query")&&(r.query=e.query),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VReplicationExecResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VReplicationExecResponse)return e;var t=new s.tabletmanagerdata.VReplicationExecResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.VReplicationExecResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VReplicationWaitForPosRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.id=e.int64();break;case 2:n.position=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.id||!e.hasOwnProperty("id")||a.isInteger(e.id)||e.id&&a.isInteger(e.id.low)&&a.isInteger(e.id.high)?null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null:"id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VReplicationWaitForPosRequest)return e;var t=new s.tabletmanagerdata.VReplicationWaitForPosRequest;return null!=e.id&&(a.Long?(t.id=a.Long.fromValue(e.id)).unsigned=!1:"string"===typeof e.id?t.id=parseInt(e.id,10):"number"===typeof e.id?t.id=e.id:"object"===typeof e.id&&(t.id=new a.LongBits(e.id.low>>>0,e.id.high>>>0).toNumber())),null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.id=t.longs===String?"0":0;r.position=""}return null!=e.id&&e.hasOwnProperty("id")&&("number"===typeof e.id?r.id=t.longs===String?String(e.id):e.id:r.id=t.longs===String?a.Long.prototype.toString.call(e.id):t.longs===Number?new a.LongBits(e.id.low>>>0,e.id.high>>>0).toNumber():e.id),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VReplicationWaitForPosResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.semiSync=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.InitPrimaryRequest)return e;var t=new s.tabletmanagerdata.InitPrimaryRequest;return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.semiSync=!1),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.InitPrimaryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.InitPrimaryResponse)return e;var t=new s.tabletmanagerdata.InitPrimaryResponse;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PopulateReparentJournalRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.time_created_ns=e.int64();break;case 2:n.action_name=e.string();break;case 3:n.primary_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.replication_position=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.time_created_ns&&e.hasOwnProperty("time_created_ns")&&!a.isInteger(e.time_created_ns)&&!(e.time_created_ns&&a.isInteger(e.time_created_ns.low)&&a.isInteger(e.time_created_ns.high)))return"time_created_ns: integer|Long expected";if(null!=e.action_name&&e.hasOwnProperty("action_name")&&!a.isString(e.action_name))return"action_name: string expected";if(null!=e.primary_alias&&e.hasOwnProperty("primary_alias")){var t=s.topodata.TabletAlias.verify(e.primary_alias);if(t)return"primary_alias."+t}return null!=e.replication_position&&e.hasOwnProperty("replication_position")&&!a.isString(e.replication_position)?"replication_position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PopulateReparentJournalRequest)return e;var t=new s.tabletmanagerdata.PopulateReparentJournalRequest;if(null!=e.time_created_ns&&(a.Long?(t.time_created_ns=a.Long.fromValue(e.time_created_ns)).unsigned=!1:"string"===typeof e.time_created_ns?t.time_created_ns=parseInt(e.time_created_ns,10):"number"===typeof e.time_created_ns?t.time_created_ns=e.time_created_ns:"object"===typeof e.time_created_ns&&(t.time_created_ns=new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber())),null!=e.action_name&&(t.action_name=String(e.action_name)),null!=e.primary_alias){if("object"!==typeof e.primary_alias)throw TypeError(".tabletmanagerdata.PopulateReparentJournalRequest.primary_alias: object expected");t.primary_alias=s.topodata.TabletAlias.fromObject(e.primary_alias)}return null!=e.replication_position&&(t.replication_position=String(e.replication_position)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.time_created_ns=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.time_created_ns=t.longs===String?"0":0;r.action_name="",r.primary_alias=null,r.replication_position=""}return null!=e.time_created_ns&&e.hasOwnProperty("time_created_ns")&&("number"===typeof e.time_created_ns?r.time_created_ns=t.longs===String?String(e.time_created_ns):e.time_created_ns:r.time_created_ns=t.longs===String?a.Long.prototype.toString.call(e.time_created_ns):t.longs===Number?new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber():e.time_created_ns),null!=e.action_name&&e.hasOwnProperty("action_name")&&(r.action_name=e.action_name),null!=e.primary_alias&&e.hasOwnProperty("primary_alias")&&(r.primary_alias=s.topodata.TabletAlias.toObject(e.primary_alias,t)),null!=e.replication_position&&e.hasOwnProperty("replication_position")&&(r.replication_position=e.replication_position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PopulateReparentJournalResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.parent=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.replication_position=e.string();break;case 3:n.time_created_ns=e.int64();break;case 4:n.semiSync=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")){var t=s.topodata.TabletAlias.verify(e.parent);if(t)return"parent."+t}return null!=e.replication_position&&e.hasOwnProperty("replication_position")&&!a.isString(e.replication_position)?"replication_position: string expected":null==e.time_created_ns||!e.hasOwnProperty("time_created_ns")||a.isInteger(e.time_created_ns)||e.time_created_ns&&a.isInteger(e.time_created_ns.low)&&a.isInteger(e.time_created_ns.high)?null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null:"time_created_ns: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.InitReplicaRequest)return e;var t=new s.tabletmanagerdata.InitReplicaRequest;if(null!=e.parent){if("object"!==typeof e.parent)throw TypeError(".tabletmanagerdata.InitReplicaRequest.parent: object expected");t.parent=s.topodata.TabletAlias.fromObject(e.parent)}return null!=e.replication_position&&(t.replication_position=String(e.replication_position)),null!=e.time_created_ns&&(a.Long?(t.time_created_ns=a.Long.fromValue(e.time_created_ns)).unsigned=!1:"string"===typeof e.time_created_ns?t.time_created_ns=parseInt(e.time_created_ns,10):"number"===typeof e.time_created_ns?t.time_created_ns=e.time_created_ns:"object"===typeof e.time_created_ns&&(t.time_created_ns=new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber())),null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.parent=null,r.replication_position="",a.Long){var n=new a.Long(0,0,!1);r.time_created_ns=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.time_created_ns=t.longs===String?"0":0;r.semiSync=!1}return null!=e.parent&&e.hasOwnProperty("parent")&&(r.parent=s.topodata.TabletAlias.toObject(e.parent,t)),null!=e.replication_position&&e.hasOwnProperty("replication_position")&&(r.replication_position=e.replication_position),null!=e.time_created_ns&&e.hasOwnProperty("time_created_ns")&&("number"===typeof e.time_created_ns?r.time_created_ns=t.longs===String?String(e.time_created_ns):e.time_created_ns:r.time_created_ns=t.longs===String?a.Long.prototype.toString.call(e.time_created_ns):t.longs===Number?new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber():e.time_created_ns),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.InitReplicaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.deprecated_position=e.string();break;case 2:n.primary_status=s.replicationdata.PrimaryStatus.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.deprecated_position&&e.hasOwnProperty("deprecated_position")&&!a.isString(e.deprecated_position))return"deprecated_position: string expected";if(null!=e.primary_status&&e.hasOwnProperty("primary_status")){var t=s.replicationdata.PrimaryStatus.verify(e.primary_status);if(t)return"primary_status."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.DemotePrimaryResponse)return e;var t=new s.tabletmanagerdata.DemotePrimaryResponse;if(null!=e.deprecated_position&&(t.deprecated_position=String(e.deprecated_position)),null!=e.primary_status){if("object"!==typeof e.primary_status)throw TypeError(".tabletmanagerdata.DemotePrimaryResponse.primary_status: object expected");t.primary_status=s.replicationdata.PrimaryStatus.fromObject(e.primary_status)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.deprecated_position="",r.primary_status=null),null!=e.deprecated_position&&e.hasOwnProperty("deprecated_position")&&(r.deprecated_position=e.deprecated_position),null!=e.primary_status&&e.hasOwnProperty("primary_status")&&(r.primary_status=s.replicationdata.PrimaryStatus.toObject(e.primary_status,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UndoDemotePrimaryRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.semiSync=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.UndoDemotePrimaryRequest)return e;var t=new s.tabletmanagerdata.UndoDemotePrimaryRequest;return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.semiSync=!1),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UndoDemotePrimaryResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.parent=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.time_created_ns=e.int64();break;case 3:n.force_start_replication=e.bool();break;case 4:n.wait_position=e.string();break;case 5:n.semiSync=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")){var t=s.topodata.TabletAlias.verify(e.parent);if(t)return"parent."+t}return null==e.time_created_ns||!e.hasOwnProperty("time_created_ns")||a.isInteger(e.time_created_ns)||e.time_created_ns&&a.isInteger(e.time_created_ns.low)&&a.isInteger(e.time_created_ns.high)?null!=e.force_start_replication&&e.hasOwnProperty("force_start_replication")&&"boolean"!==typeof e.force_start_replication?"force_start_replication: boolean expected":null!=e.wait_position&&e.hasOwnProperty("wait_position")&&!a.isString(e.wait_position)?"wait_position: string expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null:"time_created_ns: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.SetReplicationSourceRequest)return e;var t=new s.tabletmanagerdata.SetReplicationSourceRequest;if(null!=e.parent){if("object"!==typeof e.parent)throw TypeError(".tabletmanagerdata.SetReplicationSourceRequest.parent: object expected");t.parent=s.topodata.TabletAlias.fromObject(e.parent)}return null!=e.time_created_ns&&(a.Long?(t.time_created_ns=a.Long.fromValue(e.time_created_ns)).unsigned=!1:"string"===typeof e.time_created_ns?t.time_created_ns=parseInt(e.time_created_ns,10):"number"===typeof e.time_created_ns?t.time_created_ns=e.time_created_ns:"object"===typeof e.time_created_ns&&(t.time_created_ns=new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber())),null!=e.force_start_replication&&(t.force_start_replication=Boolean(e.force_start_replication)),null!=e.wait_position&&(t.wait_position=String(e.wait_position)),null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.parent=null,a.Long){var n=new a.Long(0,0,!1);r.time_created_ns=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.time_created_ns=t.longs===String?"0":0;r.force_start_replication=!1,r.wait_position="",r.semiSync=!1}return null!=e.parent&&e.hasOwnProperty("parent")&&(r.parent=s.topodata.TabletAlias.toObject(e.parent,t)),null!=e.time_created_ns&&e.hasOwnProperty("time_created_ns")&&("number"===typeof e.time_created_ns?r.time_created_ns=t.longs===String?String(e.time_created_ns):e.time_created_ns:r.time_created_ns=t.longs===String?a.Long.prototype.toString.call(e.time_created_ns):t.longs===Number?new a.LongBits(e.time_created_ns.low>>>0,e.time_created_ns.high>>>0).toNumber():e.time_created_ns),null!=e.force_start_replication&&e.hasOwnProperty("force_start_replication")&&(r.force_start_replication=e.force_start_replication),null!=e.wait_position&&e.hasOwnProperty("wait_position")&&(r.wait_position=e.wait_position),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetReplicationSourceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.parent=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.parent&&e.hasOwnProperty("parent")){var t=s.topodata.TabletAlias.verify(e.parent);if(t)return"parent."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.ReplicaWasRestartedRequest)return e;var t=new s.tabletmanagerdata.ReplicaWasRestartedRequest;if(null!=e.parent){if("object"!==typeof e.parent)throw TypeError(".tabletmanagerdata.ReplicaWasRestartedRequest.parent: object expected");t.parent=s.topodata.TabletAlias.fromObject(e.parent)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.parent=null),null!=e.parent&&e.hasOwnProperty("parent")&&(r.parent=s.topodata.TabletAlias.toObject(e.parent,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReplicaWasRestartedResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.stop_replication_mode=e.int32();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.stop_replication_mode&&e.hasOwnProperty("stop_replication_mode"))switch(e.stop_replication_mode){default:return"stop_replication_mode: enum value expected";case 0:case 1:}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StopReplicationAndGetStatusRequest)return e;var t=new s.tabletmanagerdata.StopReplicationAndGetStatusRequest;switch(e.stop_replication_mode){case"IOANDSQLTHREAD":case 0:t.stop_replication_mode=0;break;case"IOTHREADONLY":case 1:t.stop_replication_mode=1}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.stop_replication_mode=t.enums===String?"IOANDSQLTHREAD":0),null!=e.stop_replication_mode&&e.hasOwnProperty("stop_replication_mode")&&(r.stop_replication_mode=t.enums===String?s.replicationdata.StopReplicationMode[e.stop_replication_mode]:e.stop_replication_mode),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationAndGetStatusResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.hybrid_status=s.replicationdata.Status.decode(e,e.uint32());break;case 2:n.status=s.replicationdata.StopReplicationStatus.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.hybrid_status&&e.hasOwnProperty("hybrid_status")&&(t=s.replicationdata.Status.verify(e.hybrid_status)))return"hybrid_status."+t;if(null!=e.status&&e.hasOwnProperty("status")&&(t=s.replicationdata.StopReplicationStatus.verify(e.status)))return"status."+t;return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.StopReplicationAndGetStatusResponse)return e;var t=new s.tabletmanagerdata.StopReplicationAndGetStatusResponse;if(null!=e.hybrid_status){if("object"!==typeof e.hybrid_status)throw TypeError(".tabletmanagerdata.StopReplicationAndGetStatusResponse.hybrid_status: object expected");t.hybrid_status=s.replicationdata.Status.fromObject(e.hybrid_status)}if(null!=e.status){if("object"!==typeof e.status)throw TypeError(".tabletmanagerdata.StopReplicationAndGetStatusResponse.status: object expected");t.status=s.replicationdata.StopReplicationStatus.fromObject(e.status)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.hybrid_status=null,r.status=null),null!=e.hybrid_status&&e.hasOwnProperty("hybrid_status")&&(r.hybrid_status=s.replicationdata.Status.toObject(e.hybrid_status,t)),null!=e.status&&e.hasOwnProperty("status")&&(r.status=s.replicationdata.StopReplicationStatus.toObject(e.status,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PromoteReplicaRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.semiSync=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.semiSync&&e.hasOwnProperty("semiSync")&&"boolean"!==typeof e.semiSync?"semiSync: boolean expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PromoteReplicaRequest)return e;var t=new s.tabletmanagerdata.PromoteReplicaRequest;return null!=e.semiSync&&(t.semiSync=Boolean(e.semiSync)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.semiSync=!1),null!=e.semiSync&&e.hasOwnProperty("semiSync")&&(r.semiSync=e.semiSync),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PromoteReplicaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.position=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.PromoteReplicaResponse)return e;var t=new s.tabletmanagerdata.PromoteReplicaResponse;return null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BackupRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.concurrency=e.int64();break;case 2:n.allow_primary=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.concurrency||!e.hasOwnProperty("concurrency")||a.isInteger(e.concurrency)||e.concurrency&&a.isInteger(e.concurrency.low)&&a.isInteger(e.concurrency.high)?null!=e.allow_primary&&e.hasOwnProperty("allow_primary")&&"boolean"!==typeof e.allow_primary?"allow_primary: boolean expected":null:"concurrency: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.BackupRequest)return e;var t=new s.tabletmanagerdata.BackupRequest;return null!=e.concurrency&&(a.Long?(t.concurrency=a.Long.fromValue(e.concurrency)).unsigned=!1:"string"===typeof e.concurrency?t.concurrency=parseInt(e.concurrency,10):"number"===typeof e.concurrency?t.concurrency=e.concurrency:"object"===typeof e.concurrency&&(t.concurrency=new a.LongBits(e.concurrency.low>>>0,e.concurrency.high>>>0).toNumber())),null!=e.allow_primary&&(t.allow_primary=Boolean(e.allow_primary)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.concurrency=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.concurrency=t.longs===String?"0":0;r.allow_primary=!1}return null!=e.concurrency&&e.hasOwnProperty("concurrency")&&("number"===typeof e.concurrency?r.concurrency=t.longs===String?String(e.concurrency):e.concurrency:r.concurrency=t.longs===String?a.Long.prototype.toString.call(e.concurrency):t.longs===Number?new a.LongBits(e.concurrency.low>>>0,e.concurrency.high>>>0).toNumber():e.concurrency),null!=e.allow_primary&&e.hasOwnProperty("allow_primary")&&(r.allow_primary=e.allow_primary),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BackupResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.event=s.logutil.Event.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.event&&e.hasOwnProperty("event")){var t=s.logutil.Event.verify(e.event);if(t)return"event."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.BackupResponse)return e;var t=new s.tabletmanagerdata.BackupResponse;if(null!=e.event){if("object"!==typeof e.event)throw TypeError(".tabletmanagerdata.BackupResponse.event: object expected");t.event=s.logutil.Event.fromObject(e.event)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.event=null),null!=e.event&&e.hasOwnProperty("event")&&(r.event=s.logutil.Event.toObject(e.event,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RestoreFromBackupRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.backup_time=s.vttime.Time.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.backup_time&&e.hasOwnProperty("backup_time")){var t=s.vttime.Time.verify(e.backup_time);if(t)return"backup_time."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.RestoreFromBackupRequest)return e;var t=new s.tabletmanagerdata.RestoreFromBackupRequest;if(null!=e.backup_time){if("object"!==typeof e.backup_time)throw TypeError(".tabletmanagerdata.RestoreFromBackupRequest.backup_time: object expected");t.backup_time=s.vttime.Time.fromObject(e.backup_time)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.backup_time=null),null!=e.backup_time&&e.hasOwnProperty("backup_time")&&(r.backup_time=s.vttime.Time.toObject(e.backup_time,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RestoreFromBackupResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.event=s.logutil.Event.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.event&&e.hasOwnProperty("event")){var t=s.logutil.Event.verify(e.event);if(t)return"event."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.RestoreFromBackupResponse)return e;var t=new s.tabletmanagerdata.RestoreFromBackupResponse;if(null!=e.event){if("object"!==typeof e.event)throw TypeError(".tabletmanagerdata.RestoreFromBackupResponse.event: object expected");t.event=s.logutil.Event.fromObject(e.event)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.event=null),null!=e.event&&e.hasOwnProperty("event")&&(r.event=s.logutil.Event.toObject(e.event,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VExecRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.query=e.string();break;case 2:n.workflow=e.string();break;case 3:n.keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.query&&e.hasOwnProperty("query")&&!a.isString(e.query)?"query: string expected":null!=e.workflow&&e.hasOwnProperty("workflow")&&!a.isString(e.workflow)?"workflow: string expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VExecRequest)return e;var t=new s.tabletmanagerdata.VExecRequest;return null!=e.query&&(t.query=String(e.query)),null!=e.workflow&&(t.workflow=String(e.workflow)),null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.query="",r.workflow="",r.keyspace=""),null!=e.query&&e.hasOwnProperty("query")&&(r.query=e.query),null!=e.workflow&&e.hasOwnProperty("workflow")&&(r.workflow=e.workflow),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VExecResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.tabletmanagerdata.VExecResponse)return e;var t=new s.tabletmanagerdata.VExecResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".tabletmanagerdata.VExecResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.query=function(){var e={};return e.Target=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.tablet_type=e.int32();break;case 4:n.cell=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}return null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null},e.fromObject=function(e){if(e instanceof s.query.Target)return e;var t=new s.query.Target;switch(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),e.tablet_type){case"UNKNOWN":case 0:t.tablet_type=0;break;case"PRIMARY":case 1:case"MASTER":case 1:t.tablet_type=1;break;case"REPLICA":case 2:t.tablet_type=2;break;case"RDONLY":case 3:case"BATCH":case 3:t.tablet_type=3;break;case"SPARE":case 4:t.tablet_type=4;break;case"EXPERIMENTAL":case 5:t.tablet_type=5;break;case"BACKUP":case 6:t.tablet_type=6;break;case"RESTORE":case 7:t.tablet_type=7;break;case"DRAINED":case 8:t.tablet_type=8}return null!=e.cell&&(t.cell=String(e.cell)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.tablet_type=t.enums===String?"UNKNOWN":0,r.cell=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.tablet_type&&e.hasOwnProperty("tablet_type")&&(r.tablet_type=t.enums===String?s.topodata.TabletType[e.tablet_type]:e.tablet_type),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VTGateCallerID=function(){function e(e){if(this.groups=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.username=e.string();break;case 2:n.groups&&n.groups.length||(n.groups=[]),n.groups.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.username&&e.hasOwnProperty("username")&&!a.isString(e.username))return"username: string expected";if(null!=e.groups&&e.hasOwnProperty("groups")){if(!Array.isArray(e.groups))return"groups: array expected";for(var t=0;t>>3){case 1:n.timestamp=e.int64();break;case 2:n.shard=e.string();break;case 3:n.position=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.timestamp||!e.hasOwnProperty("timestamp")||a.isInteger(e.timestamp)||e.timestamp&&a.isInteger(e.timestamp.low)&&a.isInteger(e.timestamp.high)?null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null:"timestamp: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.EventToken)return e;var t=new s.query.EventToken;return null!=e.timestamp&&(a.Long?(t.timestamp=a.Long.fromValue(e.timestamp)).unsigned=!1:"string"===typeof e.timestamp?t.timestamp=parseInt(e.timestamp,10):"number"===typeof e.timestamp?t.timestamp=e.timestamp:"object"===typeof e.timestamp&&(t.timestamp=new a.LongBits(e.timestamp.low>>>0,e.timestamp.high>>>0).toNumber())),null!=e.shard&&(t.shard=String(e.shard)),null!=e.position&&(t.position=String(e.position)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.timestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.timestamp=t.longs===String?"0":0;r.shard="",r.position=""}return null!=e.timestamp&&e.hasOwnProperty("timestamp")&&("number"===typeof e.timestamp?r.timestamp=t.longs===String?String(e.timestamp):e.timestamp:r.timestamp=t.longs===String?a.Long.prototype.toString.call(e.timestamp):t.longs===Number?new a.LongBits(e.timestamp.low>>>0,e.timestamp.high>>>0).toNumber():e.timestamp),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MySqlFlag=function(){var e={},t=Object.create(e);return t[e[0]="EMPTY"]=0,t[e[1]="NOT_NULL_FLAG"]=1,t[e[2]="PRI_KEY_FLAG"]=2,t[e[4]="UNIQUE_KEY_FLAG"]=4,t[e[8]="MULTIPLE_KEY_FLAG"]=8,t[e[16]="BLOB_FLAG"]=16,t[e[32]="UNSIGNED_FLAG"]=32,t[e[64]="ZEROFILL_FLAG"]=64,t[e[128]="BINARY_FLAG"]=128,t[e[256]="ENUM_FLAG"]=256,t[e[512]="AUTO_INCREMENT_FLAG"]=512,t[e[1024]="TIMESTAMP_FLAG"]=1024,t[e[2048]="SET_FLAG"]=2048,t[e[4096]="NO_DEFAULT_VALUE_FLAG"]=4096,t[e[8192]="ON_UPDATE_NOW_FLAG"]=8192,t[e[32768]="NUM_FLAG"]=32768,t[e[16384]="PART_KEY_FLAG"]=16384,t.GROUP_FLAG=32768,t[e[65536]="UNIQUE_FLAG"]=65536,t[e[131072]="BINCMP_FLAG"]=131072,t}(),e.Flag=function(){var e={},t=Object.create(e);return t[e[0]="NONE"]=0,t[e[256]="ISINTEGRAL"]=256,t[e[512]="ISUNSIGNED"]=512,t[e[1024]="ISFLOAT"]=1024,t[e[2048]="ISQUOTED"]=2048,t[e[4096]="ISTEXT"]=4096,t[e[8192]="ISBINARY"]=8192,t}(),e.Type=function(){var e={},t=Object.create(e);return t[e[0]="NULL_TYPE"]=0,t[e[257]="INT8"]=257,t[e[770]="UINT8"]=770,t[e[259]="INT16"]=259,t[e[772]="UINT16"]=772,t[e[261]="INT24"]=261,t[e[774]="UINT24"]=774,t[e[263]="INT32"]=263,t[e[776]="UINT32"]=776,t[e[265]="INT64"]=265,t[e[778]="UINT64"]=778,t[e[1035]="FLOAT32"]=1035,t[e[1036]="FLOAT64"]=1036,t[e[2061]="TIMESTAMP"]=2061,t[e[2062]="DATE"]=2062,t[e[2063]="TIME"]=2063,t[e[2064]="DATETIME"]=2064,t[e[785]="YEAR"]=785,t[e[18]="DECIMAL"]=18,t[e[6163]="TEXT"]=6163,t[e[10260]="BLOB"]=10260,t[e[6165]="VARCHAR"]=6165,t[e[10262]="VARBINARY"]=10262,t[e[6167]="CHAR"]=6167,t[e[10264]="BINARY"]=10264,t[e[2073]="BIT"]=2073,t[e[2074]="ENUM"]=2074,t[e[2075]="SET"]=2075,t[e[28]="TUPLE"]=28,t[e[2077]="GEOMETRY"]=2077,t[e[2078]="JSON"]=2078,t[e[31]="EXPRESSION"]=31,t[e[4128]="HEXNUM"]=4128,t[e[4129]="HEXVAL"]=4129,t}(),e.Value=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.value=e.bytes();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 257:case 770:case 259:case 772:case 261:case 774:case 263:case 776:case 265:case 778:case 1035:case 1036:case 2061:case 2062:case 2063:case 2064:case 785:case 18:case 6163:case 10260:case 6165:case 10262:case 6167:case 10264:case 2073:case 2074:case 2075:case 28:case 2077:case 2078:case 31:case 4128:case 4129:}return null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"===typeof e.value.length||a.isString(e.value))?"value: buffer expected":null},e.fromObject=function(e){if(e instanceof s.query.Value)return e;var t=new s.query.Value;switch(e.type){case"NULL_TYPE":case 0:t.type=0;break;case"INT8":case 257:t.type=257;break;case"UINT8":case 770:t.type=770;break;case"INT16":case 259:t.type=259;break;case"UINT16":case 772:t.type=772;break;case"INT24":case 261:t.type=261;break;case"UINT24":case 774:t.type=774;break;case"INT32":case 263:t.type=263;break;case"UINT32":case 776:t.type=776;break;case"INT64":case 265:t.type=265;break;case"UINT64":case 778:t.type=778;break;case"FLOAT32":case 1035:t.type=1035;break;case"FLOAT64":case 1036:t.type=1036;break;case"TIMESTAMP":case 2061:t.type=2061;break;case"DATE":case 2062:t.type=2062;break;case"TIME":case 2063:t.type=2063;break;case"DATETIME":case 2064:t.type=2064;break;case"YEAR":case 785:t.type=785;break;case"DECIMAL":case 18:t.type=18;break;case"TEXT":case 6163:t.type=6163;break;case"BLOB":case 10260:t.type=10260;break;case"VARCHAR":case 6165:t.type=6165;break;case"VARBINARY":case 10262:t.type=10262;break;case"CHAR":case 6167:t.type=6167;break;case"BINARY":case 10264:t.type=10264;break;case"BIT":case 2073:t.type=2073;break;case"ENUM":case 2074:t.type=2074;break;case"SET":case 2075:t.type=2075;break;case"TUPLE":case 28:t.type=28;break;case"GEOMETRY":case 2077:t.type=2077;break;case"JSON":case 2078:t.type=2078;break;case"EXPRESSION":case 31:t.type=31;break;case"HEXNUM":case 4128:t.type=4128;break;case"HEXVAL":case 4129:t.type=4129}return null!=e.value&&("string"===typeof e.value?a.base64.decode(e.value,t.value=a.newBuffer(a.base64.length(e.value)),0):e.value.length&&(t.value=e.value)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.type=t.enums===String?"NULL_TYPE":0,t.bytes===String?r.value="":(r.value=[],t.bytes!==Array&&(r.value=a.newBuffer(r.value)))),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?s.query.Type[e.type]:e.type),null!=e.value&&e.hasOwnProperty("value")&&(r.value=t.bytes===String?a.base64.encode(e.value,0,e.value.length):t.bytes===Array?Array.prototype.slice.call(e.value):e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BindVariable=function(){function e(e){if(this.values=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.type=e.int32();break;case 2:n.value=e.bytes();break;case 3:n.values&&n.values.length||(n.values=[]),n.values.push(s.query.Value.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 257:case 770:case 259:case 772:case 261:case 774:case 263:case 776:case 265:case 778:case 1035:case 1036:case 2061:case 2062:case 2063:case 2064:case 785:case 18:case 6163:case 10260:case 6165:case 10262:case 6167:case 10264:case 2073:case 2074:case 2075:case 28:case 2077:case 2078:case 31:case 4128:case 4129:}if(null!=e.value&&e.hasOwnProperty("value")&&!(e.value&&"number"===typeof e.value.length||a.isString(e.value)))return"value: buffer expected";if(null!=e.values&&e.hasOwnProperty("values")){if(!Array.isArray(e.values))return"values: array expected";for(var t=0;t>>3){case 1:l.sql=e.string();break;case 2:l.bind_variables===a.emptyObject&&(l.bind_variables={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.query.BindVariable.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.bind_variables[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.sql&&e.hasOwnProperty("sql")&&!a.isString(e.sql))return"sql: string expected";if(null!=e.bind_variables&&e.hasOwnProperty("bind_variables")){if(!a.isObject(e.bind_variables))return"bind_variables: object expected";for(var t=Object.keys(e.bind_variables),r=0;r>>3){case 4:n.included_fields=e.int32();break;case 5:n.client_found_rows=e.bool();break;case 6:n.workload=e.int32();break;case 8:n.sql_select_limit=e.int64();break;case 9:n.transaction_isolation=e.int32();break;case 10:n.skip_query_plan_cache=e.bool();break;case 11:n.planner_version=e.int32();break;case 12:n.has_created_temp_tables=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.included_fields&&e.hasOwnProperty("included_fields"))switch(e.included_fields){default:return"included_fields: enum value expected";case 0:case 1:case 2:}if(null!=e.client_found_rows&&e.hasOwnProperty("client_found_rows")&&"boolean"!==typeof e.client_found_rows)return"client_found_rows: boolean expected";if(null!=e.workload&&e.hasOwnProperty("workload"))switch(e.workload){default:return"workload: enum value expected";case 0:case 1:case 2:case 3:}if(null!=e.sql_select_limit&&e.hasOwnProperty("sql_select_limit")&&!a.isInteger(e.sql_select_limit)&&!(e.sql_select_limit&&a.isInteger(e.sql_select_limit.low)&&a.isInteger(e.sql_select_limit.high)))return"sql_select_limit: integer|Long expected";if(null!=e.transaction_isolation&&e.hasOwnProperty("transaction_isolation"))switch(e.transaction_isolation){default:return"transaction_isolation: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:}if(null!=e.skip_query_plan_cache&&e.hasOwnProperty("skip_query_plan_cache")&&"boolean"!==typeof e.skip_query_plan_cache)return"skip_query_plan_cache: boolean expected";if(null!=e.planner_version&&e.hasOwnProperty("planner_version"))switch(e.planner_version){default:return"planner_version: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:}return null!=e.has_created_temp_tables&&e.hasOwnProperty("has_created_temp_tables")&&"boolean"!==typeof e.has_created_temp_tables?"has_created_temp_tables: boolean expected":null},e.fromObject=function(e){if(e instanceof s.query.ExecuteOptions)return e;var t=new s.query.ExecuteOptions;switch(e.included_fields){case"TYPE_AND_NAME":case 0:t.included_fields=0;break;case"TYPE_ONLY":case 1:t.included_fields=1;break;case"ALL":case 2:t.included_fields=2}switch(null!=e.client_found_rows&&(t.client_found_rows=Boolean(e.client_found_rows)),e.workload){case"UNSPECIFIED":case 0:t.workload=0;break;case"OLTP":case 1:t.workload=1;break;case"OLAP":case 2:t.workload=2;break;case"DBA":case 3:t.workload=3}switch(null!=e.sql_select_limit&&(a.Long?(t.sql_select_limit=a.Long.fromValue(e.sql_select_limit)).unsigned=!1:"string"===typeof e.sql_select_limit?t.sql_select_limit=parseInt(e.sql_select_limit,10):"number"===typeof e.sql_select_limit?t.sql_select_limit=e.sql_select_limit:"object"===typeof e.sql_select_limit&&(t.sql_select_limit=new a.LongBits(e.sql_select_limit.low>>>0,e.sql_select_limit.high>>>0).toNumber())),e.transaction_isolation){case"DEFAULT":case 0:t.transaction_isolation=0;break;case"REPEATABLE_READ":case 1:t.transaction_isolation=1;break;case"READ_COMMITTED":case 2:t.transaction_isolation=2;break;case"READ_UNCOMMITTED":case 3:t.transaction_isolation=3;break;case"SERIALIZABLE":case 4:t.transaction_isolation=4;break;case"CONSISTENT_SNAPSHOT_READ_ONLY":case 5:t.transaction_isolation=5;break;case"AUTOCOMMIT":case 6:t.transaction_isolation=6}switch(null!=e.skip_query_plan_cache&&(t.skip_query_plan_cache=Boolean(e.skip_query_plan_cache)),e.planner_version){case"DEFAULT_PLANNER":case 0:t.planner_version=0;break;case"V3":case 1:t.planner_version=1;break;case"Gen4":case 2:t.planner_version=2;break;case"Gen4Greedy":case 3:t.planner_version=3;break;case"Gen4Left2Right":case 4:t.planner_version=4;break;case"Gen4WithFallback":case 5:t.planner_version=5;break;case"Gen4CompareV3":case 6:t.planner_version=6}return null!=e.has_created_temp_tables&&(t.has_created_temp_tables=Boolean(e.has_created_temp_tables)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.included_fields=t.enums===String?"TYPE_AND_NAME":0,r.client_found_rows=!1,r.workload=t.enums===String?"UNSPECIFIED":0,a.Long){var n=new a.Long(0,0,!1);r.sql_select_limit=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.sql_select_limit=t.longs===String?"0":0;r.transaction_isolation=t.enums===String?"DEFAULT":0,r.skip_query_plan_cache=!1,r.planner_version=t.enums===String?"DEFAULT_PLANNER":0,r.has_created_temp_tables=!1}return null!=e.included_fields&&e.hasOwnProperty("included_fields")&&(r.included_fields=t.enums===String?s.query.ExecuteOptions.IncludedFields[e.included_fields]:e.included_fields),null!=e.client_found_rows&&e.hasOwnProperty("client_found_rows")&&(r.client_found_rows=e.client_found_rows),null!=e.workload&&e.hasOwnProperty("workload")&&(r.workload=t.enums===String?s.query.ExecuteOptions.Workload[e.workload]:e.workload),null!=e.sql_select_limit&&e.hasOwnProperty("sql_select_limit")&&("number"===typeof e.sql_select_limit?r.sql_select_limit=t.longs===String?String(e.sql_select_limit):e.sql_select_limit:r.sql_select_limit=t.longs===String?a.Long.prototype.toString.call(e.sql_select_limit):t.longs===Number?new a.LongBits(e.sql_select_limit.low>>>0,e.sql_select_limit.high>>>0).toNumber():e.sql_select_limit),null!=e.transaction_isolation&&e.hasOwnProperty("transaction_isolation")&&(r.transaction_isolation=t.enums===String?s.query.ExecuteOptions.TransactionIsolation[e.transaction_isolation]:e.transaction_isolation),null!=e.skip_query_plan_cache&&e.hasOwnProperty("skip_query_plan_cache")&&(r.skip_query_plan_cache=e.skip_query_plan_cache),null!=e.planner_version&&e.hasOwnProperty("planner_version")&&(r.planner_version=t.enums===String?s.query.ExecuteOptions.PlannerVersion[e.planner_version]:e.planner_version),null!=e.has_created_temp_tables&&e.hasOwnProperty("has_created_temp_tables")&&(r.has_created_temp_tables=e.has_created_temp_tables),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.IncludedFields=function(){var e={},t=Object.create(e);return t[e[0]="TYPE_AND_NAME"]=0,t[e[1]="TYPE_ONLY"]=1,t[e[2]="ALL"]=2,t}(),e.Workload=function(){var e={},t=Object.create(e);return t[e[0]="UNSPECIFIED"]=0,t[e[1]="OLTP"]=1,t[e[2]="OLAP"]=2,t[e[3]="DBA"]=3,t}(),e.TransactionIsolation=function(){var e={},t=Object.create(e);return t[e[0]="DEFAULT"]=0,t[e[1]="REPEATABLE_READ"]=1,t[e[2]="READ_COMMITTED"]=2,t[e[3]="READ_UNCOMMITTED"]=3,t[e[4]="SERIALIZABLE"]=4,t[e[5]="CONSISTENT_SNAPSHOT_READ_ONLY"]=5,t[e[6]="AUTOCOMMIT"]=6,t}(),e.PlannerVersion=function(){var e={},t=Object.create(e);return t[e[0]="DEFAULT_PLANNER"]=0,t[e[1]="V3"]=1,t[e[2]="Gen4"]=2,t[e[3]="Gen4Greedy"]=3,t[e[4]="Gen4Left2Right"]=4,t[e[5]="Gen4WithFallback"]=5,t[e[6]="Gen4CompareV3"]=6,t}(),e}(),e.Field=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.type=e.int32();break;case 3:n.table=e.string();break;case 4:n.org_table=e.string();break;case 5:n.database=e.string();break;case 6:n.org_name=e.string();break;case 7:n.column_length=e.uint32();break;case 8:n.charset=e.uint32();break;case 9:n.decimals=e.uint32();break;case 10:n.flags=e.uint32();break;case 11:n.column_type=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 257:case 770:case 259:case 772:case 261:case 774:case 263:case 776:case 265:case 778:case 1035:case 1036:case 2061:case 2062:case 2063:case 2064:case 785:case 18:case 6163:case 10260:case 6165:case 10262:case 6167:case 10264:case 2073:case 2074:case 2075:case 28:case 2077:case 2078:case 31:case 4128:case 4129:}return null!=e.table&&e.hasOwnProperty("table")&&!a.isString(e.table)?"table: string expected":null!=e.org_table&&e.hasOwnProperty("org_table")&&!a.isString(e.org_table)?"org_table: string expected":null!=e.database&&e.hasOwnProperty("database")&&!a.isString(e.database)?"database: string expected":null!=e.org_name&&e.hasOwnProperty("org_name")&&!a.isString(e.org_name)?"org_name: string expected":null!=e.column_length&&e.hasOwnProperty("column_length")&&!a.isInteger(e.column_length)?"column_length: integer expected":null!=e.charset&&e.hasOwnProperty("charset")&&!a.isInteger(e.charset)?"charset: integer expected":null!=e.decimals&&e.hasOwnProperty("decimals")&&!a.isInteger(e.decimals)?"decimals: integer expected":null!=e.flags&&e.hasOwnProperty("flags")&&!a.isInteger(e.flags)?"flags: integer expected":null!=e.column_type&&e.hasOwnProperty("column_type")&&!a.isString(e.column_type)?"column_type: string expected":null},e.fromObject=function(e){if(e instanceof s.query.Field)return e;var t=new s.query.Field;switch(null!=e.name&&(t.name=String(e.name)),e.type){case"NULL_TYPE":case 0:t.type=0;break;case"INT8":case 257:t.type=257;break;case"UINT8":case 770:t.type=770;break;case"INT16":case 259:t.type=259;break;case"UINT16":case 772:t.type=772;break;case"INT24":case 261:t.type=261;break;case"UINT24":case 774:t.type=774;break;case"INT32":case 263:t.type=263;break;case"UINT32":case 776:t.type=776;break;case"INT64":case 265:t.type=265;break;case"UINT64":case 778:t.type=778;break;case"FLOAT32":case 1035:t.type=1035;break;case"FLOAT64":case 1036:t.type=1036;break;case"TIMESTAMP":case 2061:t.type=2061;break;case"DATE":case 2062:t.type=2062;break;case"TIME":case 2063:t.type=2063;break;case"DATETIME":case 2064:t.type=2064;break;case"YEAR":case 785:t.type=785;break;case"DECIMAL":case 18:t.type=18;break;case"TEXT":case 6163:t.type=6163;break;case"BLOB":case 10260:t.type=10260;break;case"VARCHAR":case 6165:t.type=6165;break;case"VARBINARY":case 10262:t.type=10262;break;case"CHAR":case 6167:t.type=6167;break;case"BINARY":case 10264:t.type=10264;break;case"BIT":case 2073:t.type=2073;break;case"ENUM":case 2074:t.type=2074;break;case"SET":case 2075:t.type=2075;break;case"TUPLE":case 28:t.type=28;break;case"GEOMETRY":case 2077:t.type=2077;break;case"JSON":case 2078:t.type=2078;break;case"EXPRESSION":case 31:t.type=31;break;case"HEXNUM":case 4128:t.type=4128;break;case"HEXVAL":case 4129:t.type=4129}return null!=e.table&&(t.table=String(e.table)),null!=e.org_table&&(t.org_table=String(e.org_table)),null!=e.database&&(t.database=String(e.database)),null!=e.org_name&&(t.org_name=String(e.org_name)),null!=e.column_length&&(t.column_length=e.column_length>>>0),null!=e.charset&&(t.charset=e.charset>>>0),null!=e.decimals&&(t.decimals=e.decimals>>>0),null!=e.flags&&(t.flags=e.flags>>>0),null!=e.column_type&&(t.column_type=String(e.column_type)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.type=t.enums===String?"NULL_TYPE":0,r.table="",r.org_table="",r.database="",r.org_name="",r.column_length=0,r.charset=0,r.decimals=0,r.flags=0,r.column_type=""),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?s.query.Type[e.type]:e.type),null!=e.table&&e.hasOwnProperty("table")&&(r.table=e.table),null!=e.org_table&&e.hasOwnProperty("org_table")&&(r.org_table=e.org_table),null!=e.database&&e.hasOwnProperty("database")&&(r.database=e.database),null!=e.org_name&&e.hasOwnProperty("org_name")&&(r.org_name=e.org_name),null!=e.column_length&&e.hasOwnProperty("column_length")&&(r.column_length=e.column_length),null!=e.charset&&e.hasOwnProperty("charset")&&(r.charset=e.charset),null!=e.decimals&&e.hasOwnProperty("decimals")&&(r.decimals=e.decimals),null!=e.flags&&e.hasOwnProperty("flags")&&(r.flags=e.flags),null!=e.column_type&&e.hasOwnProperty("column_type")&&(r.column_type=e.column_type),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Row=function(){function e(e){if(this.lengths=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:if(n.lengths&&n.lengths.length||(n.lengths=[]),2===(7&o))for(var a=e.uint32()+e.pos;e.pos>>0,e.lengths[r].high>>>0).toNumber())}return null!=e.values&&("string"===typeof e.values?a.base64.decode(e.values,t.values=a.newBuffer(a.base64.length(e.values)),0):e.values.length&&(t.values=e.values)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.lengths=[]),t.defaults&&(t.bytes===String?r.values="":(r.values=[],t.bytes!==Array&&(r.values=a.newBuffer(r.values)))),e.lengths&&e.lengths.length){r.lengths=[];for(var n=0;n>>0,e.lengths[n].high>>>0).toNumber():e.lengths[n]}return null!=e.values&&e.hasOwnProperty("values")&&(r.values=t.bytes===String?a.base64.encode(e.values,0,e.values.length):t.bytes===Array?Array.prototype.slice.call(e.values):e.values),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.QueryResult=function(){function e(e){if(this.fields=[],this.rows=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.fields&&n.fields.length||(n.fields=[]),n.fields.push(s.query.Field.decode(e,e.uint32()));break;case 2:n.rows_affected=e.uint64();break;case 3:n.insert_id=e.uint64();break;case 4:n.rows&&n.rows.length||(n.rows=[]),n.rows.push(s.query.Row.decode(e,e.uint32()));break;case 6:n.info=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.fields&&e.hasOwnProperty("fields")){if(!Array.isArray(e.fields))return"fields: array expected";for(var t=0;t>>0,e.rows_affected.high>>>0).toNumber(!0))),null!=e.insert_id&&(a.Long?(t.insert_id=a.Long.fromValue(e.insert_id)).unsigned=!0:"string"===typeof e.insert_id?t.insert_id=parseInt(e.insert_id,10):"number"===typeof e.insert_id?t.insert_id=e.insert_id:"object"===typeof e.insert_id&&(t.insert_id=new a.LongBits(e.insert_id.low>>>0,e.insert_id.high>>>0).toNumber(!0))),e.rows){if(!Array.isArray(e.rows))throw TypeError(".query.QueryResult.rows: array expected");t.rows=[];for(r=0;r>>0,e.rows_affected.high>>>0).toNumber(!0):e.rows_affected),null!=e.insert_id&&e.hasOwnProperty("insert_id")&&("number"===typeof e.insert_id?r.insert_id=t.longs===String?String(e.insert_id):e.insert_id:r.insert_id=t.longs===String?a.Long.prototype.toString.call(e.insert_id):t.longs===Number?new a.LongBits(e.insert_id.low>>>0,e.insert_id.high>>>0).toNumber(!0):e.insert_id),e.rows&&e.rows.length){r.rows=[];for(i=0;i>>3){case 1:n.code=e.uint32();break;case 2:n.message=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.code&&e.hasOwnProperty("code")&&!a.isInteger(e.code)?"code: integer expected":null!=e.message&&e.hasOwnProperty("message")&&!a.isString(e.message)?"message: string expected":null},e.fromObject=function(e){if(e instanceof s.query.QueryWarning)return e;var t=new s.query.QueryWarning;return null!=e.code&&(t.code=e.code>>>0),null!=e.message&&(t.message=String(e.message)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.code=0,r.message=""),null!=e.code&&e.hasOwnProperty("code")&&(r.code=e.code),null!=e.message&&e.hasOwnProperty("message")&&(r.message=e.message),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamEvent=function(){function e(e){if(this.statements=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.statements&&n.statements.length||(n.statements=[]),n.statements.push(s.query.StreamEvent.Statement.decode(e,e.uint32()));break;case 2:n.event_token=s.query.EventToken.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.statements&&e.hasOwnProperty("statements")){if(!Array.isArray(e.statements))return"statements: array expected";for(var t=0;t>>3){case 1:n.category=e.int32();break;case 2:n.table_name=e.string();break;case 3:n.primary_key_fields&&n.primary_key_fields.length||(n.primary_key_fields=[]),n.primary_key_fields.push(s.query.Field.decode(e,e.uint32()));break;case 4:n.primary_key_values&&n.primary_key_values.length||(n.primary_key_values=[]),n.primary_key_values.push(s.query.Row.decode(e,e.uint32()));break;case 5:n.sql=e.bytes();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.category&&e.hasOwnProperty("category"))switch(e.category){default:return"category: enum value expected";case 0:case 1:case 2:}if(null!=e.table_name&&e.hasOwnProperty("table_name")&&!a.isString(e.table_name))return"table_name: string expected";if(null!=e.primary_key_fields&&e.hasOwnProperty("primary_key_fields")){if(!Array.isArray(e.primary_key_fields))return"primary_key_fields: array expected";for(var t=0;t>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.transaction_id=e.int64();break;case 6:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 7:n.reserved_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;return null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.ExecuteRequest)return e;var t=new s.query.ExecuteRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.ExecuteRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.ExecuteRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.ExecuteRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.query){if("object"!==typeof e.query)throw TypeError(".query.ExecuteRequest.query: object expected");t.query=s.query.BoundQuery.fromObject(e.query)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.options){if("object"!==typeof e.options)throw TypeError(".query.ExecuteRequest.options: object expected");t.options=s.query.ExecuteOptions.fromObject(e.options)}return null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.query=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(r.options=null,a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=s.query.BoundQuery.toObject(e.query,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.query.ExecuteResponse)return e;var t=new s.query.ExecuteResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ResultWithError=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ResultWithError)return e;var t=new s.query.ResultWithError;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ResultWithError.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ResultWithError.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.error=null,r.result=null),null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamExecuteRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.transaction_id=e.int64();break;case 7:n.reserved_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected":"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.StreamExecuteRequest)return e;var t=new s.query.StreamExecuteRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.StreamExecuteRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.StreamExecuteRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.StreamExecuteRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.query){if("object"!==typeof e.query)throw TypeError(".query.StreamExecuteRequest.query: object expected");t.query=s.query.BoundQuery.fromObject(e.query)}if(null!=e.options){if("object"!==typeof e.options)throw TypeError(".query.StreamExecuteRequest.options: object expected");t.options=s.query.ExecuteOptions.fromObject(e.options)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.query=null,r.options=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=s.query.BoundQuery.toObject(e.query,t)),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamExecuteResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.query.StreamExecuteResponse)return e;var t=new s.query.StreamExecuteResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.StreamExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;return null},e.fromObject=function(e){if(e instanceof s.query.BeginRequest)return e;var t=new s.query.BeginRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.BeginRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.BeginRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.BeginRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.options){if("object"!==typeof e.options)throw TypeError(".query.BeginRequest.options: object expected");t.options=s.query.ExecuteOptions.fromObject(e.options)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.options=null),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.transaction_id=e.int64();break;case 2:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.query.BeginResponse)return e;var t=new s.query.BeginResponse;if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.BeginResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CommitRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.CommitRequest)return e;var t=new s.query.CommitRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.CommitRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.CommitRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.CommitRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CommitResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.reserved_id=e.int64();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.CommitResponse)return e;var t=new s.query.CommitResponse;return null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;return null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RollbackRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.RollbackRequest)return e;var t=new s.query.RollbackRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.RollbackRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.RollbackRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.RollbackRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RollbackResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.reserved_id=e.int64();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.RollbackResponse)return e;var t=new s.query.RollbackResponse;return null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;return null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrepareRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.PrepareRequest)return e;var t=new s.query.PrepareRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.PrepareRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.PrepareRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.PrepareRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.dtid=""}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PrepareResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null},e.fromObject=function(e){if(e instanceof s.query.CommitPreparedRequest)return e;var t=new s.query.CommitPreparedRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.CommitPreparedRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.CommitPreparedRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.CommitPreparedRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.dtid=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CommitPreparedResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.RollbackPreparedRequest)return e;var t=new s.query.RollbackPreparedRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.RollbackPreparedRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.RollbackPreparedRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.RollbackPreparedRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.dtid=""}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RollbackPreparedResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.dtid=e.string();break;case 5:n.participants&&n.participants.length||(n.participants=[]),n.participants.push(s.query.Target.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+r;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+r;if(null!=e.target&&e.hasOwnProperty("target")&&(r=s.query.Target.verify(e.target)))return"target."+r;if(null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid))return"dtid: string expected";if(null!=e.participants&&e.hasOwnProperty("participants")){if(!Array.isArray(e.participants))return"participants: array expected";for(var t=0;t>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.StartCommitRequest)return e;var t=new s.query.StartCommitRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.StartCommitRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.StartCommitRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.StartCommitRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.dtid=""}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartCommitResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null:"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.SetRollbackRequest)return e;var t=new s.query.SetRollbackRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.SetRollbackRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.SetRollbackRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.SetRollbackRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.dtid=""}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetRollbackResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null},e.fromObject=function(e){if(e instanceof s.query.ConcludeTransactionRequest)return e;var t=new s.query.ConcludeTransactionRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.ConcludeTransactionRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.ConcludeTransactionRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.ConcludeTransactionRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.dtid=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ConcludeTransactionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.dtid=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid)?"dtid: string expected":null},e.fromObject=function(e){if(e instanceof s.query.ReadTransactionRequest)return e;var t=new s.query.ReadTransactionRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.ReadTransactionRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.ReadTransactionRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.ReadTransactionRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.dtid&&(t.dtid=String(e.dtid)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.dtid=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.dtid&&e.hasOwnProperty("dtid")&&(r.dtid=e.dtid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReadTransactionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.metadata=s.query.TransactionMetadata.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.metadata&&e.hasOwnProperty("metadata")){var t=s.query.TransactionMetadata.verify(e.metadata);if(t)return"metadata."+t}return null},e.fromObject=function(e){if(e instanceof s.query.ReadTransactionResponse)return e;var t=new s.query.ReadTransactionResponse;if(null!=e.metadata){if("object"!==typeof e.metadata)throw TypeError(".query.ReadTransactionResponse.metadata: object expected");t.metadata=s.query.TransactionMetadata.fromObject(e.metadata)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.metadata=null),null!=e.metadata&&e.hasOwnProperty("metadata")&&(r.metadata=s.query.TransactionMetadata.toObject(e.metadata,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginExecuteRequest=function(){function e(e){if(this.pre_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.reserved_id=e.int64();break;case 7:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>0,e.reserved_id.high>>>0).toNumber())),e.pre_queries){if(!Array.isArray(e.pre_queries))throw TypeError(".query.BeginExecuteRequest.pre_queries: array expected");t.pre_queries=[];for(var r=0;r>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),e.pre_queries&&e.pre_queries.length){r.pre_queries=[];for(var i=0;i>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.transaction_id=e.int64();break;case 4:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.BeginExecuteResponse)return e;var t=new s.query.BeginExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.BeginExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.BeginExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.BeginExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginStreamExecuteRequest=function(){function e(e){if(this.pre_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;case 7:n.reserved_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.pre_queries=[]),t.defaults)if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.query=null,r.options=null,a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=s.query.BoundQuery.toObject(e.query,t)),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),e.pre_queries&&e.pre_queries.length){r.pre_queries=[];for(var i=0;i>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BeginStreamExecuteResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.transaction_id=e.int64();break;case 4:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.BeginStreamExecuteResponse)return e;var t=new s.query.BeginStreamExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.BeginStreamExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.BeginStreamExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.BeginStreamExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MessageStreamRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.name=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null},e.fromObject=function(e){if(e instanceof s.query.MessageStreamRequest)return e;var t=new s.query.MessageStreamRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.MessageStreamRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.MessageStreamRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.MessageStreamRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.name&&(t.name=String(e.name)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.name=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MessageStreamResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.query.MessageStreamResponse)return e;var t=new s.query.MessageStreamResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.MessageStreamResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MessageAckRequest=function(){function e(e){if(this.ids=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.name=e.string();break;case 5:n.ids&&n.ids.length||(n.ids=[]),n.ids.push(s.query.Value.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+r;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+r;if(null!=e.target&&e.hasOwnProperty("target")&&(r=s.query.Target.verify(e.target)))return"target."+r;if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.ids&&e.hasOwnProperty("ids")){if(!Array.isArray(e.ids))return"ids: array expected";for(var t=0;t>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.query.MessageAckResponse)return e;var t=new s.query.MessageAckResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.MessageAckResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReserveExecuteRequest=function(){function e(e){if(this.pre_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.transaction_id=e.int64();break;case 6:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 7:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>0,e.transaction_id.high>>>0).toNumber())),null!=e.options){if("object"!==typeof e.options)throw TypeError(".query.ReserveExecuteRequest.options: object expected");t.options=s.query.ExecuteOptions.fromObject(e.options)}if(e.pre_queries){if(!Array.isArray(e.pre_queries))throw TypeError(".query.ReserveExecuteRequest.pre_queries: array expected");t.pre_queries=[];for(var r=0;r>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.options&&e.hasOwnProperty("options")&&(r.options=s.query.ExecuteOptions.toObject(e.options,t)),e.pre_queries&&e.pre_queries.length){r.pre_queries=[];for(var i=0;i>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.reserved_id=e.int64();break;case 4:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ReserveExecuteResponse)return e;var t=new s.query.ReserveExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ReserveExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ReserveExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.ReserveExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReserveStreamExecuteRequest=function(){function e(e){if(this.pre_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.transaction_id=e.int64();break;case 7:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>0,e.transaction_id.high>>>0).toNumber())),e.pre_queries){if(!Array.isArray(e.pre_queries))throw TypeError(".query.ReserveStreamExecuteRequest.pre_queries: array expected");t.pre_queries=[];for(var r=0;r>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),e.pre_queries&&e.pre_queries.length){r.pre_queries=[];for(var i=0;i>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.reserved_id=e.int64();break;case 4:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ReserveStreamExecuteResponse)return e;var t=new s.query.ReserveStreamExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ReserveStreamExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ReserveStreamExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.ReserveStreamExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReserveBeginExecuteRequest=function(){function e(e){if(this.pre_queries=[],this.post_begin_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;case 7:n.post_begin_queries&&n.post_begin_queries.length||(n.post_begin_queries=[]),n.post_begin_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.transaction_id=e.int64();break;case 4:n.reserved_id=e.int64();break;case 5:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ReserveBeginExecuteResponse)return e;var t=new s.query.ReserveBeginExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ReserveBeginExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ReserveBeginExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.ReserveBeginExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReserveBeginStreamExecuteRequest=function(){function e(e){if(this.pre_queries=[],this.post_begin_queries=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=s.query.BoundQuery.decode(e,e.uint32());break;case 5:n.options=s.query.ExecuteOptions.decode(e,e.uint32());break;case 6:n.pre_queries&&n.pre_queries.length||(n.pre_queries=[]),n.pre_queries.push(e.string());break;case 7:n.post_begin_queries&&n.post_begin_queries.length||(n.post_begin_queries=[]),n.post_begin_queries.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&(t=s.query.BoundQuery.verify(e.query)))return"query."+t;if(null!=e.options&&e.hasOwnProperty("options")&&(t=s.query.ExecuteOptions.verify(e.options)))return"options."+t;if(null!=e.pre_queries&&e.hasOwnProperty("pre_queries")){if(!Array.isArray(e.pre_queries))return"pre_queries: array expected";for(var r=0;r>>3){case 1:n.error=s.vtrpc.RPCError.decode(e,e.uint32());break;case 2:n.result=s.query.QueryResult.decode(e,e.uint32());break;case 3:n.transaction_id=e.int64();break;case 4:n.reserved_id=e.int64();break;case 5:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.error&&e.hasOwnProperty("error")&&(t=s.vtrpc.RPCError.verify(e.error)))return"error."+t;if(null!=e.result&&e.hasOwnProperty("result")&&(t=s.query.QueryResult.verify(e.result)))return"result."+t;if(null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&!a.isInteger(e.transaction_id)&&!(e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)))return"transaction_id: integer|Long expected";if(null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&!a.isInteger(e.reserved_id)&&!(e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)))return"reserved_id: integer|Long expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.ReserveBeginStreamExecuteResponse)return e;var t=new s.query.ReserveBeginStreamExecuteResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".query.ReserveBeginStreamExecuteResponse.error: object expected");t.error=s.vtrpc.RPCError.fromObject(e.error)}if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".query.ReserveBeginStreamExecuteResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}if(null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.ReserveBeginStreamExecuteResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.error=null,r.result=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0;r.tablet_alias=null}return null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.vtrpc.RPCError.toObject(e.error,t)),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReleaseRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.transaction_id=e.int64();break;case 5:n.reserved_id=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null==e.transaction_id||!e.hasOwnProperty("transaction_id")||a.isInteger(e.transaction_id)||e.transaction_id&&a.isInteger(e.transaction_id.low)&&a.isInteger(e.transaction_id.high)?null==e.reserved_id||!e.hasOwnProperty("reserved_id")||a.isInteger(e.reserved_id)||e.reserved_id&&a.isInteger(e.reserved_id.low)&&a.isInteger(e.reserved_id.high)?null:"reserved_id: integer|Long expected":"transaction_id: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.query.ReleaseRequest)return e;var t=new s.query.ReleaseRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".query.ReleaseRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".query.ReleaseRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.ReleaseRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.transaction_id&&(a.Long?(t.transaction_id=a.Long.fromValue(e.transaction_id)).unsigned=!1:"string"===typeof e.transaction_id?t.transaction_id=parseInt(e.transaction_id,10):"number"===typeof e.transaction_id?t.transaction_id=e.transaction_id:"object"===typeof e.transaction_id&&(t.transaction_id=new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber())),null!=e.reserved_id&&(a.Long?(t.reserved_id=a.Long.fromValue(e.reserved_id)).unsigned=!1:"string"===typeof e.reserved_id?t.reserved_id=parseInt(e.reserved_id,10):"number"===typeof e.reserved_id?t.reserved_id=e.reserved_id:"object"===typeof e.reserved_id&&(t.reserved_id=new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,a.Long){var n=new a.Long(0,0,!1);r.transaction_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.transaction_id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.reserved_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.reserved_id=t.longs===String?"0":0}return null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.transaction_id&&e.hasOwnProperty("transaction_id")&&("number"===typeof e.transaction_id?r.transaction_id=t.longs===String?String(e.transaction_id):e.transaction_id:r.transaction_id=t.longs===String?a.Long.prototype.toString.call(e.transaction_id):t.longs===Number?new a.LongBits(e.transaction_id.low>>>0,e.transaction_id.high>>>0).toNumber():e.transaction_id),null!=e.reserved_id&&e.hasOwnProperty("reserved_id")&&("number"===typeof e.reserved_id?r.reserved_id=t.longs===String?String(e.reserved_id):e.reserved_id:r.reserved_id=t.longs===String?a.Long.prototype.toString.call(e.reserved_id):t.longs===Number?new a.LongBits(e.reserved_id.low>>>0,e.reserved_id.high>>>0).toNumber():e.reserved_id),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReleaseResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.health_error=e.string();break;case 2:n.replication_lag_seconds=e.uint32();break;case 3:n.binlog_players_count=e.int32();break;case 4:n.filtered_replication_lag_seconds=e.int64();break;case 5:n.cpu_usage=e.double();break;case 6:n.qps=e.double();break;case 7:n.table_schema_changed&&n.table_schema_changed.length||(n.table_schema_changed=[]),n.table_schema_changed.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.health_error&&e.hasOwnProperty("health_error")&&!a.isString(e.health_error))return"health_error: string expected";if(null!=e.replication_lag_seconds&&e.hasOwnProperty("replication_lag_seconds")&&!a.isInteger(e.replication_lag_seconds))return"replication_lag_seconds: integer expected";if(null!=e.binlog_players_count&&e.hasOwnProperty("binlog_players_count")&&!a.isInteger(e.binlog_players_count))return"binlog_players_count: integer expected";if(null!=e.filtered_replication_lag_seconds&&e.hasOwnProperty("filtered_replication_lag_seconds")&&!a.isInteger(e.filtered_replication_lag_seconds)&&!(e.filtered_replication_lag_seconds&&a.isInteger(e.filtered_replication_lag_seconds.low)&&a.isInteger(e.filtered_replication_lag_seconds.high)))return"filtered_replication_lag_seconds: integer|Long expected";if(null!=e.cpu_usage&&e.hasOwnProperty("cpu_usage")&&"number"!==typeof e.cpu_usage)return"cpu_usage: number expected";if(null!=e.qps&&e.hasOwnProperty("qps")&&"number"!==typeof e.qps)return"qps: number expected";if(null!=e.table_schema_changed&&e.hasOwnProperty("table_schema_changed")){if(!Array.isArray(e.table_schema_changed))return"table_schema_changed: array expected";for(var t=0;t>>0),null!=e.binlog_players_count&&(t.binlog_players_count=0|e.binlog_players_count),null!=e.filtered_replication_lag_seconds&&(a.Long?(t.filtered_replication_lag_seconds=a.Long.fromValue(e.filtered_replication_lag_seconds)).unsigned=!1:"string"===typeof e.filtered_replication_lag_seconds?t.filtered_replication_lag_seconds=parseInt(e.filtered_replication_lag_seconds,10):"number"===typeof e.filtered_replication_lag_seconds?t.filtered_replication_lag_seconds=e.filtered_replication_lag_seconds:"object"===typeof e.filtered_replication_lag_seconds&&(t.filtered_replication_lag_seconds=new a.LongBits(e.filtered_replication_lag_seconds.low>>>0,e.filtered_replication_lag_seconds.high>>>0).toNumber())),null!=e.cpu_usage&&(t.cpu_usage=Number(e.cpu_usage)),null!=e.qps&&(t.qps=Number(e.qps)),e.table_schema_changed){if(!Array.isArray(e.table_schema_changed))throw TypeError(".query.RealtimeStats.table_schema_changed: array expected");t.table_schema_changed=[];for(var r=0;r>>0,e.filtered_replication_lag_seconds.high>>>0).toNumber():e.filtered_replication_lag_seconds),null!=e.cpu_usage&&e.hasOwnProperty("cpu_usage")&&(r.cpu_usage=t.json&&!isFinite(e.cpu_usage)?String(e.cpu_usage):e.cpu_usage),null!=e.qps&&e.hasOwnProperty("qps")&&(r.qps=t.json&&!isFinite(e.qps)?String(e.qps):e.qps),e.table_schema_changed&&e.table_schema_changed.length){r.table_schema_changed=[];for(var i=0;i>>3){case 1:n.healthy_tablet_count=e.int32();break;case 2:n.unhealthy_tablet_count=e.int32();break;case 3:n.replication_lag_seconds_min=e.uint32();break;case 4:n.replication_lag_seconds_max=e.uint32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.healthy_tablet_count&&e.hasOwnProperty("healthy_tablet_count")&&!a.isInteger(e.healthy_tablet_count)?"healthy_tablet_count: integer expected":null!=e.unhealthy_tablet_count&&e.hasOwnProperty("unhealthy_tablet_count")&&!a.isInteger(e.unhealthy_tablet_count)?"unhealthy_tablet_count: integer expected":null!=e.replication_lag_seconds_min&&e.hasOwnProperty("replication_lag_seconds_min")&&!a.isInteger(e.replication_lag_seconds_min)?"replication_lag_seconds_min: integer expected":null!=e.replication_lag_seconds_max&&e.hasOwnProperty("replication_lag_seconds_max")&&!a.isInteger(e.replication_lag_seconds_max)?"replication_lag_seconds_max: integer expected":null},e.fromObject=function(e){if(e instanceof s.query.AggregateStats)return e;var t=new s.query.AggregateStats;return null!=e.healthy_tablet_count&&(t.healthy_tablet_count=0|e.healthy_tablet_count),null!=e.unhealthy_tablet_count&&(t.unhealthy_tablet_count=0|e.unhealthy_tablet_count),null!=e.replication_lag_seconds_min&&(t.replication_lag_seconds_min=e.replication_lag_seconds_min>>>0),null!=e.replication_lag_seconds_max&&(t.replication_lag_seconds_max=e.replication_lag_seconds_max>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.healthy_tablet_count=0,r.unhealthy_tablet_count=0,r.replication_lag_seconds_min=0,r.replication_lag_seconds_max=0),null!=e.healthy_tablet_count&&e.hasOwnProperty("healthy_tablet_count")&&(r.healthy_tablet_count=e.healthy_tablet_count),null!=e.unhealthy_tablet_count&&e.hasOwnProperty("unhealthy_tablet_count")&&(r.unhealthy_tablet_count=e.unhealthy_tablet_count),null!=e.replication_lag_seconds_min&&e.hasOwnProperty("replication_lag_seconds_min")&&(r.replication_lag_seconds_min=e.replication_lag_seconds_min),null!=e.replication_lag_seconds_max&&e.hasOwnProperty("replication_lag_seconds_max")&&(r.replication_lag_seconds_max=e.replication_lag_seconds_max),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamHealthResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.target=s.query.Target.decode(e,e.uint32());break;case 2:n.serving=e.bool();break;case 3:n.tablet_externally_reparented_timestamp=e.int64();break;case 4:n.realtime_stats=s.query.RealtimeStats.decode(e,e.uint32());break;case 5:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.serving&&e.hasOwnProperty("serving")&&"boolean"!==typeof e.serving)return"serving: boolean expected";if(null!=e.tablet_externally_reparented_timestamp&&e.hasOwnProperty("tablet_externally_reparented_timestamp")&&!a.isInteger(e.tablet_externally_reparented_timestamp)&&!(e.tablet_externally_reparented_timestamp&&a.isInteger(e.tablet_externally_reparented_timestamp.low)&&a.isInteger(e.tablet_externally_reparented_timestamp.high)))return"tablet_externally_reparented_timestamp: integer|Long expected";if(null!=e.realtime_stats&&e.hasOwnProperty("realtime_stats")&&(t=s.query.RealtimeStats.verify(e.realtime_stats)))return"realtime_stats."+t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;return null},e.fromObject=function(e){if(e instanceof s.query.StreamHealthResponse)return e;var t=new s.query.StreamHealthResponse;if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".query.StreamHealthResponse.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.serving&&(t.serving=Boolean(e.serving)),null!=e.tablet_externally_reparented_timestamp&&(a.Long?(t.tablet_externally_reparented_timestamp=a.Long.fromValue(e.tablet_externally_reparented_timestamp)).unsigned=!1:"string"===typeof e.tablet_externally_reparented_timestamp?t.tablet_externally_reparented_timestamp=parseInt(e.tablet_externally_reparented_timestamp,10):"number"===typeof e.tablet_externally_reparented_timestamp?t.tablet_externally_reparented_timestamp=e.tablet_externally_reparented_timestamp:"object"===typeof e.tablet_externally_reparented_timestamp&&(t.tablet_externally_reparented_timestamp=new a.LongBits(e.tablet_externally_reparented_timestamp.low>>>0,e.tablet_externally_reparented_timestamp.high>>>0).toNumber())),null!=e.realtime_stats){if("object"!==typeof e.realtime_stats)throw TypeError(".query.StreamHealthResponse.realtime_stats: object expected");t.realtime_stats=s.query.RealtimeStats.fromObject(e.realtime_stats)}if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".query.StreamHealthResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.target=null,r.serving=!1,a.Long){var n=new a.Long(0,0,!1);r.tablet_externally_reparented_timestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.tablet_externally_reparented_timestamp=t.longs===String?"0":0;r.realtime_stats=null,r.tablet_alias=null}return null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.serving&&e.hasOwnProperty("serving")&&(r.serving=e.serving),null!=e.tablet_externally_reparented_timestamp&&e.hasOwnProperty("tablet_externally_reparented_timestamp")&&("number"===typeof e.tablet_externally_reparented_timestamp?r.tablet_externally_reparented_timestamp=t.longs===String?String(e.tablet_externally_reparented_timestamp):e.tablet_externally_reparented_timestamp:r.tablet_externally_reparented_timestamp=t.longs===String?a.Long.prototype.toString.call(e.tablet_externally_reparented_timestamp):t.longs===Number?new a.LongBits(e.tablet_externally_reparented_timestamp.low>>>0,e.tablet_externally_reparented_timestamp.high>>>0).toNumber():e.tablet_externally_reparented_timestamp),null!=e.realtime_stats&&e.hasOwnProperty("realtime_stats")&&(r.realtime_stats=s.query.RealtimeStats.toObject(e.realtime_stats,t)),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TransactionState=function(){var e={},t=Object.create(e);return t[e[0]="UNKNOWN"]=0,t[e[1]="PREPARE"]=1,t[e[2]="COMMIT"]=2,t[e[3]="ROLLBACK"]=3,t}(),e.TransactionMetadata=function(){function e(e){if(this.participants=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.dtid=e.string();break;case 2:n.state=e.int32();break;case 3:n.time_created=e.int64();break;case 4:n.participants&&n.participants.length||(n.participants=[]),n.participants.push(s.query.Target.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.dtid&&e.hasOwnProperty("dtid")&&!a.isString(e.dtid))return"dtid: string expected";if(null!=e.state&&e.hasOwnProperty("state"))switch(e.state){default:return"state: enum value expected";case 0:case 1:case 2:case 3:}if(null!=e.time_created&&e.hasOwnProperty("time_created")&&!a.isInteger(e.time_created)&&!(e.time_created&&a.isInteger(e.time_created.low)&&a.isInteger(e.time_created.high)))return"time_created: integer|Long expected";if(null!=e.participants&&e.hasOwnProperty("participants")){if(!Array.isArray(e.participants))return"participants: array expected";for(var t=0;t>>0,e.time_created.high>>>0).toNumber())),e.participants){if(!Array.isArray(e.participants))throw TypeError(".query.TransactionMetadata.participants: array expected");t.participants=[];for(var r=0;r>>0,e.time_created.high>>>0).toNumber():e.time_created),e.participants&&e.participants.length){r.participants=[];for(var i=0;i>>3){case 1:n.principal=e.string();break;case 2:n.component=e.string();break;case 3:n.subcomponent=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.principal&&e.hasOwnProperty("principal")&&!a.isString(e.principal)?"principal: string expected":null!=e.component&&e.hasOwnProperty("component")&&!a.isString(e.component)?"component: string expected":null!=e.subcomponent&&e.hasOwnProperty("subcomponent")&&!a.isString(e.subcomponent)?"subcomponent: string expected":null},e.fromObject=function(e){if(e instanceof s.vtrpc.CallerID)return e;var t=new s.vtrpc.CallerID;return null!=e.principal&&(t.principal=String(e.principal)),null!=e.component&&(t.component=String(e.component)),null!=e.subcomponent&&(t.subcomponent=String(e.subcomponent)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.principal="",r.component="",r.subcomponent=""),null!=e.principal&&e.hasOwnProperty("principal")&&(r.principal=e.principal),null!=e.component&&e.hasOwnProperty("component")&&(r.component=e.component),null!=e.subcomponent&&e.hasOwnProperty("subcomponent")&&(r.subcomponent=e.subcomponent),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Code=function(){var e={},t=Object.create(e);return t[e[0]="OK"]=0,t[e[1]="CANCELED"]=1,t[e[2]="UNKNOWN"]=2,t[e[3]="INVALID_ARGUMENT"]=3,t[e[4]="DEADLINE_EXCEEDED"]=4,t[e[5]="NOT_FOUND"]=5,t[e[6]="ALREADY_EXISTS"]=6,t[e[7]="PERMISSION_DENIED"]=7,t[e[8]="RESOURCE_EXHAUSTED"]=8,t[e[9]="FAILED_PRECONDITION"]=9,t[e[10]="ABORTED"]=10,t[e[11]="OUT_OF_RANGE"]=11,t[e[12]="UNIMPLEMENTED"]=12,t[e[13]="INTERNAL"]=13,t[e[14]="UNAVAILABLE"]=14,t[e[15]="DATA_LOSS"]=15,t[e[16]="UNAUTHENTICATED"]=16,t[e[17]="CLUSTER_EVENT"]=17,t[e[18]="READ_ONLY"]=18,t}(),e.RPCError=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 2:n.message=e.string();break;case 3:n.code=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.message&&e.hasOwnProperty("message")&&!a.isString(e.message))return"message: string expected";if(null!=e.code&&e.hasOwnProperty("code"))switch(e.code){default:return"code: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:}return null},e.fromObject=function(e){if(e instanceof s.vtrpc.RPCError)return e;var t=new s.vtrpc.RPCError;switch(null!=e.message&&(t.message=String(e.message)),e.code){case"OK":case 0:t.code=0;break;case"CANCELED":case 1:t.code=1;break;case"UNKNOWN":case 2:t.code=2;break;case"INVALID_ARGUMENT":case 3:t.code=3;break;case"DEADLINE_EXCEEDED":case 4:t.code=4;break;case"NOT_FOUND":case 5:t.code=5;break;case"ALREADY_EXISTS":case 6:t.code=6;break;case"PERMISSION_DENIED":case 7:t.code=7;break;case"RESOURCE_EXHAUSTED":case 8:t.code=8;break;case"FAILED_PRECONDITION":case 9:t.code=9;break;case"ABORTED":case 10:t.code=10;break;case"OUT_OF_RANGE":case 11:t.code=11;break;case"UNIMPLEMENTED":case 12:t.code=12;break;case"INTERNAL":case 13:t.code=13;break;case"UNAVAILABLE":case 14:t.code=14;break;case"DATA_LOSS":case 15:t.code=15;break;case"UNAUTHENTICATED":case 16:t.code=16;break;case"CLUSTER_EVENT":case 17:t.code=17;break;case"READ_ONLY":case 18:t.code=18}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.message="",r.code=t.enums===String?"OK":0),null!=e.message&&e.hasOwnProperty("message")&&(r.message=e.message),null!=e.code&&e.hasOwnProperty("code")&&(r.code=t.enums===String?s.vtrpc.Code[e.code]:e.code),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.replicationdata=function(){var e={};return e.Status=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.io_thread_running=e.bool();break;case 3:n.sql_thread_running=e.bool();break;case 4:n.replication_lag_seconds=e.uint32();break;case 5:n.source_host=e.string();break;case 6:n.source_port=e.int32();break;case 7:n.connect_retry=e.int32();break;case 8:n.relay_log_position=e.string();break;case 9:n.file_position=e.string();break;case 10:n.file_relay_log_position=e.string();break;case 11:n.source_server_id=e.uint32();break;case 12:n.source_uuid=e.string();break;case 13:n.io_state=e.int32();break;case 14:n.last_io_error=e.string();break;case 15:n.sql_state=e.int32();break;case 16:n.last_sql_error=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null!=e.io_thread_running&&e.hasOwnProperty("io_thread_running")&&"boolean"!==typeof e.io_thread_running?"io_thread_running: boolean expected":null!=e.sql_thread_running&&e.hasOwnProperty("sql_thread_running")&&"boolean"!==typeof e.sql_thread_running?"sql_thread_running: boolean expected":null!=e.replication_lag_seconds&&e.hasOwnProperty("replication_lag_seconds")&&!a.isInteger(e.replication_lag_seconds)?"replication_lag_seconds: integer expected":null!=e.source_host&&e.hasOwnProperty("source_host")&&!a.isString(e.source_host)?"source_host: string expected":null!=e.source_port&&e.hasOwnProperty("source_port")&&!a.isInteger(e.source_port)?"source_port: integer expected":null!=e.connect_retry&&e.hasOwnProperty("connect_retry")&&!a.isInteger(e.connect_retry)?"connect_retry: integer expected":null!=e.relay_log_position&&e.hasOwnProperty("relay_log_position")&&!a.isString(e.relay_log_position)?"relay_log_position: string expected":null!=e.file_position&&e.hasOwnProperty("file_position")&&!a.isString(e.file_position)?"file_position: string expected":null!=e.file_relay_log_position&&e.hasOwnProperty("file_relay_log_position")&&!a.isString(e.file_relay_log_position)?"file_relay_log_position: string expected":null!=e.source_server_id&&e.hasOwnProperty("source_server_id")&&!a.isInteger(e.source_server_id)?"source_server_id: integer expected":null!=e.source_uuid&&e.hasOwnProperty("source_uuid")&&!a.isString(e.source_uuid)?"source_uuid: string expected":null!=e.io_state&&e.hasOwnProperty("io_state")&&!a.isInteger(e.io_state)?"io_state: integer expected":null!=e.last_io_error&&e.hasOwnProperty("last_io_error")&&!a.isString(e.last_io_error)?"last_io_error: string expected":null!=e.sql_state&&e.hasOwnProperty("sql_state")&&!a.isInteger(e.sql_state)?"sql_state: integer expected":null!=e.last_sql_error&&e.hasOwnProperty("last_sql_error")&&!a.isString(e.last_sql_error)?"last_sql_error: string expected":null},e.fromObject=function(e){if(e instanceof s.replicationdata.Status)return e;var t=new s.replicationdata.Status;return null!=e.position&&(t.position=String(e.position)),null!=e.io_thread_running&&(t.io_thread_running=Boolean(e.io_thread_running)),null!=e.sql_thread_running&&(t.sql_thread_running=Boolean(e.sql_thread_running)),null!=e.replication_lag_seconds&&(t.replication_lag_seconds=e.replication_lag_seconds>>>0),null!=e.source_host&&(t.source_host=String(e.source_host)),null!=e.source_port&&(t.source_port=0|e.source_port),null!=e.connect_retry&&(t.connect_retry=0|e.connect_retry),null!=e.relay_log_position&&(t.relay_log_position=String(e.relay_log_position)),null!=e.file_position&&(t.file_position=String(e.file_position)),null!=e.file_relay_log_position&&(t.file_relay_log_position=String(e.file_relay_log_position)),null!=e.source_server_id&&(t.source_server_id=e.source_server_id>>>0),null!=e.source_uuid&&(t.source_uuid=String(e.source_uuid)),null!=e.io_state&&(t.io_state=0|e.io_state),null!=e.last_io_error&&(t.last_io_error=String(e.last_io_error)),null!=e.sql_state&&(t.sql_state=0|e.sql_state),null!=e.last_sql_error&&(t.last_sql_error=String(e.last_sql_error)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position="",r.io_thread_running=!1,r.sql_thread_running=!1,r.replication_lag_seconds=0,r.source_host="",r.source_port=0,r.connect_retry=0,r.relay_log_position="",r.file_position="",r.file_relay_log_position="",r.source_server_id=0,r.source_uuid="",r.io_state=0,r.last_io_error="",r.sql_state=0,r.last_sql_error=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.io_thread_running&&e.hasOwnProperty("io_thread_running")&&(r.io_thread_running=e.io_thread_running),null!=e.sql_thread_running&&e.hasOwnProperty("sql_thread_running")&&(r.sql_thread_running=e.sql_thread_running),null!=e.replication_lag_seconds&&e.hasOwnProperty("replication_lag_seconds")&&(r.replication_lag_seconds=e.replication_lag_seconds),null!=e.source_host&&e.hasOwnProperty("source_host")&&(r.source_host=e.source_host),null!=e.source_port&&e.hasOwnProperty("source_port")&&(r.source_port=e.source_port),null!=e.connect_retry&&e.hasOwnProperty("connect_retry")&&(r.connect_retry=e.connect_retry),null!=e.relay_log_position&&e.hasOwnProperty("relay_log_position")&&(r.relay_log_position=e.relay_log_position),null!=e.file_position&&e.hasOwnProperty("file_position")&&(r.file_position=e.file_position),null!=e.file_relay_log_position&&e.hasOwnProperty("file_relay_log_position")&&(r.file_relay_log_position=e.file_relay_log_position),null!=e.source_server_id&&e.hasOwnProperty("source_server_id")&&(r.source_server_id=e.source_server_id),null!=e.source_uuid&&e.hasOwnProperty("source_uuid")&&(r.source_uuid=e.source_uuid),null!=e.io_state&&e.hasOwnProperty("io_state")&&(r.io_state=e.io_state),null!=e.last_io_error&&e.hasOwnProperty("last_io_error")&&(r.last_io_error=e.last_io_error),null!=e.sql_state&&e.hasOwnProperty("sql_state")&&(r.sql_state=e.sql_state),null!=e.last_sql_error&&e.hasOwnProperty("last_sql_error")&&(r.last_sql_error=e.last_sql_error),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationStatus=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.before=s.replicationdata.Status.decode(e,e.uint32());break;case 2:n.after=s.replicationdata.Status.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.before&&e.hasOwnProperty("before")&&(t=s.replicationdata.Status.verify(e.before)))return"before."+t;if(null!=e.after&&e.hasOwnProperty("after")&&(t=s.replicationdata.Status.verify(e.after)))return"after."+t;return null},e.fromObject=function(e){if(e instanceof s.replicationdata.StopReplicationStatus)return e;var t=new s.replicationdata.StopReplicationStatus;if(null!=e.before){if("object"!==typeof e.before)throw TypeError(".replicationdata.StopReplicationStatus.before: object expected");t.before=s.replicationdata.Status.fromObject(e.before)}if(null!=e.after){if("object"!==typeof e.after)throw TypeError(".replicationdata.StopReplicationStatus.after: object expected");t.after=s.replicationdata.Status.fromObject(e.after)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.before=null,r.after=null),null!=e.before&&e.hasOwnProperty("before")&&(r.before=s.replicationdata.Status.toObject(e.before,t)),null!=e.after&&e.hasOwnProperty("after")&&(r.after=s.replicationdata.Status.toObject(e.after,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationMode=function(){var e={},t=Object.create(e);return t[e[0]="IOANDSQLTHREAD"]=0,t[e[1]="IOTHREADONLY"]=1,t}(),e.PrimaryStatus=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.file_position=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position)?"position: string expected":null!=e.file_position&&e.hasOwnProperty("file_position")&&!a.isString(e.file_position)?"file_position: string expected":null},e.fromObject=function(e){if(e instanceof s.replicationdata.PrimaryStatus)return e;var t=new s.replicationdata.PrimaryStatus;return null!=e.position&&(t.position=String(e.position)),null!=e.file_position&&(t.file_position=String(e.file_position)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position="",r.file_position=""),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.file_position&&e.hasOwnProperty("file_position")&&(r.file_position=e.file_position),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.logutil=function(){var e={};return e.Level=function(){var e={},t=Object.create(e);return t[e[0]="INFO"]=0,t[e[1]="WARNING"]=1,t[e[2]="ERROR"]=2,t[e[3]="CONSOLE"]=3,t}(),e.Event=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.time=s.vttime.Time.decode(e,e.uint32());break;case 2:n.level=e.int32();break;case 3:n.file=e.string();break;case 4:n.line=e.int64();break;case 5:n.value=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.time&&e.hasOwnProperty("time")){var t=s.vttime.Time.verify(e.time);if(t)return"time."+t}if(null!=e.level&&e.hasOwnProperty("level"))switch(e.level){default:return"level: enum value expected";case 0:case 1:case 2:case 3:}return null!=e.file&&e.hasOwnProperty("file")&&!a.isString(e.file)?"file: string expected":null==e.line||!e.hasOwnProperty("line")||a.isInteger(e.line)||e.line&&a.isInteger(e.line.low)&&a.isInteger(e.line.high)?null!=e.value&&e.hasOwnProperty("value")&&!a.isString(e.value)?"value: string expected":null:"line: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.logutil.Event)return e;var t=new s.logutil.Event;if(null!=e.time){if("object"!==typeof e.time)throw TypeError(".logutil.Event.time: object expected");t.time=s.vttime.Time.fromObject(e.time)}switch(e.level){case"INFO":case 0:t.level=0;break;case"WARNING":case 1:t.level=1;break;case"ERROR":case 2:t.level=2;break;case"CONSOLE":case 3:t.level=3}return null!=e.file&&(t.file=String(e.file)),null!=e.line&&(a.Long?(t.line=a.Long.fromValue(e.line)).unsigned=!1:"string"===typeof e.line?t.line=parseInt(e.line,10):"number"===typeof e.line?t.line=e.line:"object"===typeof e.line&&(t.line=new a.LongBits(e.line.low>>>0,e.line.high>>>0).toNumber())),null!=e.value&&(t.value=String(e.value)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.time=null,r.level=t.enums===String?"INFO":0,r.file="",a.Long){var n=new a.Long(0,0,!1);r.line=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.line=t.longs===String?"0":0;r.value=""}return null!=e.time&&e.hasOwnProperty("time")&&(r.time=s.vttime.Time.toObject(e.time,t)),null!=e.level&&e.hasOwnProperty("level")&&(r.level=t.enums===String?s.logutil.Level[e.level]:e.level),null!=e.file&&e.hasOwnProperty("file")&&(r.file=e.file),null!=e.line&&e.hasOwnProperty("line")&&("number"===typeof e.line?r.line=t.longs===String?String(e.line):e.line:r.line=t.longs===String?a.Long.prototype.toString.call(e.line):t.longs===Number?new a.LongBits(e.line.low>>>0,e.line.high>>>0).toNumber():e.line),null!=e.value&&e.hasOwnProperty("value")&&(r.value=e.value),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),s.vschema=function(){var e={};return e.RoutingRules=function(){function e(e){if(this.rules=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.rules&&n.rules.length||(n.rules=[]),n.rules.push(s.vschema.RoutingRule.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>3){case 1:n.from_table=e.string();break;case 2:n.to_tables&&n.to_tables.length||(n.to_tables=[]),n.to_tables.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.from_table&&e.hasOwnProperty("from_table")&&!a.isString(e.from_table))return"from_table: string expected";if(null!=e.to_tables&&e.hasOwnProperty("to_tables")){if(!Array.isArray(e.to_tables))return"to_tables: array expected";for(var t=0;t>>3){case 1:l.sharded=e.bool();break;case 2:l.vindexes===a.emptyObject&&(l.vindexes={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vschema.Vindex.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.vindexes[r]=n;break;case 3:l.tables===a.emptyObject&&(l.tables={});u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vschema.Table.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.tables[r]=n;break;case 4:l.require_explicit_routing=e.bool();break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.sharded&&e.hasOwnProperty("sharded")&&"boolean"!==typeof e.sharded)return"sharded: boolean expected";if(null!=e.vindexes&&e.hasOwnProperty("vindexes")){if(!a.isObject(e.vindexes))return"vindexes: object expected";for(var t=Object.keys(e.vindexes),r=0;r>>3){case 1:l.type=e.string();break;case 2:l.params===a.emptyObject&&(l.params={});var u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.params[r]=n;break;case 3:l.owner=e.string();break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type))return"type: string expected";if(null!=e.params&&e.hasOwnProperty("params")){if(!a.isObject(e.params))return"params: object expected";for(var t=Object.keys(e.params),r=0;r>>3){case 1:n.type=e.string();break;case 2:n.column_vindexes&&n.column_vindexes.length||(n.column_vindexes=[]),n.column_vindexes.push(s.vschema.ColumnVindex.decode(e,e.uint32()));break;case 3:n.auto_increment=s.vschema.AutoIncrement.decode(e,e.uint32());break;case 4:n.columns&&n.columns.length||(n.columns=[]),n.columns.push(s.vschema.Column.decode(e,e.uint32()));break;case 5:n.pinned=e.string();break;case 6:n.column_list_authoritative=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type))return"type: string expected";if(null!=e.column_vindexes&&e.hasOwnProperty("column_vindexes")){if(!Array.isArray(e.column_vindexes))return"column_vindexes: array expected";for(var t=0;t>>3){case 1:n.column=e.string();break;case 2:n.name=e.string();break;case 3:n.columns&&n.columns.length||(n.columns=[]),n.columns.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.column&&e.hasOwnProperty("column")&&!a.isString(e.column))return"column: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.columns&&e.hasOwnProperty("columns")){if(!Array.isArray(e.columns))return"columns: array expected";for(var t=0;t>>3){case 1:n.column=e.string();break;case 2:n.sequence=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.column&&e.hasOwnProperty("column")&&!a.isString(e.column)?"column: string expected":null!=e.sequence&&e.hasOwnProperty("sequence")&&!a.isString(e.sequence)?"sequence: string expected":null},e.fromObject=function(e){if(e instanceof s.vschema.AutoIncrement)return e;var t=new s.vschema.AutoIncrement;return null!=e.column&&(t.column=String(e.column)),null!=e.sequence&&(t.sequence=String(e.sequence)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.column="",r.sequence=""),null!=e.column&&e.hasOwnProperty("column")&&(r.column=e.column),null!=e.sequence&&e.hasOwnProperty("sequence")&&(r.sequence=e.sequence),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Column=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.type=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 257:case 770:case 259:case 772:case 261:case 774:case 263:case 776:case 265:case 778:case 1035:case 1036:case 2061:case 2062:case 2063:case 2064:case 785:case 18:case 6163:case 10260:case 6165:case 10262:case 6167:case 10264:case 2073:case 2074:case 2075:case 28:case 2077:case 2078:case 31:case 4128:case 4129:}return null},e.fromObject=function(e){if(e instanceof s.vschema.Column)return e;var t=new s.vschema.Column;switch(null!=e.name&&(t.name=String(e.name)),e.type){case"NULL_TYPE":case 0:t.type=0;break;case"INT8":case 257:t.type=257;break;case"UINT8":case 770:t.type=770;break;case"INT16":case 259:t.type=259;break;case"UINT16":case 772:t.type=772;break;case"INT24":case 261:t.type=261;break;case"UINT24":case 774:t.type=774;break;case"INT32":case 263:t.type=263;break;case"UINT32":case 776:t.type=776;break;case"INT64":case 265:t.type=265;break;case"UINT64":case 778:t.type=778;break;case"FLOAT32":case 1035:t.type=1035;break;case"FLOAT64":case 1036:t.type=1036;break;case"TIMESTAMP":case 2061:t.type=2061;break;case"DATE":case 2062:t.type=2062;break;case"TIME":case 2063:t.type=2063;break;case"DATETIME":case 2064:t.type=2064;break;case"YEAR":case 785:t.type=785;break;case"DECIMAL":case 18:t.type=18;break;case"TEXT":case 6163:t.type=6163;break;case"BLOB":case 10260:t.type=10260;break;case"VARCHAR":case 6165:t.type=6165;break;case"VARBINARY":case 10262:t.type=10262;break;case"CHAR":case 6167:t.type=6167;break;case"BINARY":case 10264:t.type=10264;break;case"BIT":case 2073:t.type=2073;break;case"ENUM":case 2074:t.type=2074;break;case"SET":case 2075:t.type=2075;break;case"TUPLE":case 28:t.type=28;break;case"GEOMETRY":case 2077:t.type=2077;break;case"JSON":case 2078:t.type=2078;break;case"EXPRESSION":case 31:t.type=31;break;case"HEXNUM":case 4128:t.type=4128;break;case"HEXVAL":case 4129:t.type=4129}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.type=t.enums===String?"NULL_TYPE":0),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?s.query.Type[e.type]:e.type),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SrvVSchema=function(){function e(e){if(this.keyspaces={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.keyspaces===a.emptyObject&&(l.keyspaces={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vschema.Keyspace.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.keyspaces[r]=n;break;case 2:l.routing_rules=s.vschema.RoutingRules.decode(e,e.uint32());break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspaces&&e.hasOwnProperty("keyspaces")){if(!a.isObject(e.keyspaces))return"keyspaces: object expected";for(var t=Object.keys(e.keyspaces),r=0;r>>3){case 1:n.args&&n.args.length||(n.args=[]),n.args.push(e.string());break;case 2:n.action_timeout=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.args&&e.hasOwnProperty("args")){if(!Array.isArray(e.args))return"args: array expected";for(var t=0;t>>0,e.action_timeout.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.args=[]),t.defaults)if(a.Long){var n=new a.Long(0,0,!1);r.action_timeout=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.action_timeout=t.longs===String?"0":0;if(e.args&&e.args.length){r.args=[];for(var i=0;i>>0,e.action_timeout.high>>>0).toNumber():e.action_timeout),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteVtctlCommandResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.event=s.logutil.Event.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.event&&e.hasOwnProperty("event")){var t=s.logutil.Event.verify(e.event);if(t)return"event."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ExecuteVtctlCommandResponse)return e;var t=new s.vtctldata.ExecuteVtctlCommandResponse;if(null!=e.event){if("object"!==typeof e.event)throw TypeError(".vtctldata.ExecuteVtctlCommandResponse.event: object expected");t.event=s.logutil.Event.fromObject(e.event)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.event=null),null!=e.event&&e.hasOwnProperty("event")&&(r.event=s.logutil.Event.toObject(e.event,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MaterializationIntent=function(){var e={},t=Object.create(e);return t[e[0]="CUSTOM"]=0,t[e[1]="MOVETABLES"]=1,t[e[2]="CREATELOOKUPINDEX"]=2,t}(),e.TableMaterializeSettings=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.target_table=e.string();break;case 2:n.source_expression=e.string();break;case 3:n.create_ddl=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.target_table&&e.hasOwnProperty("target_table")&&!a.isString(e.target_table)?"target_table: string expected":null!=e.source_expression&&e.hasOwnProperty("source_expression")&&!a.isString(e.source_expression)?"source_expression: string expected":null!=e.create_ddl&&e.hasOwnProperty("create_ddl")&&!a.isString(e.create_ddl)?"create_ddl: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.TableMaterializeSettings)return e;var t=new s.vtctldata.TableMaterializeSettings;return null!=e.target_table&&(t.target_table=String(e.target_table)),null!=e.source_expression&&(t.source_expression=String(e.source_expression)),null!=e.create_ddl&&(t.create_ddl=String(e.create_ddl)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.target_table="",r.source_expression="",r.create_ddl=""),null!=e.target_table&&e.hasOwnProperty("target_table")&&(r.target_table=e.target_table),null!=e.source_expression&&e.hasOwnProperty("source_expression")&&(r.source_expression=e.source_expression),null!=e.create_ddl&&e.hasOwnProperty("create_ddl")&&(r.create_ddl=e.create_ddl),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MaterializeSettings=function(){function e(e){if(this.table_settings=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.workflow=e.string();break;case 2:n.source_keyspace=e.string();break;case 3:n.target_keyspace=e.string();break;case 4:n.stop_after_copy=e.bool();break;case 5:n.table_settings&&n.table_settings.length||(n.table_settings=[]),n.table_settings.push(s.vtctldata.TableMaterializeSettings.decode(e,e.uint32()));break;case 6:n.cell=e.string();break;case 7:n.tablet_types=e.string();break;case 8:n.external_cluster=e.string();break;case 9:n.materialization_intent=e.int32();break;case 10:n.source_time_zone=e.string();break;case 11:n.target_time_zone=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.workflow&&e.hasOwnProperty("workflow")&&!a.isString(e.workflow))return"workflow: string expected";if(null!=e.source_keyspace&&e.hasOwnProperty("source_keyspace")&&!a.isString(e.source_keyspace))return"source_keyspace: string expected";if(null!=e.target_keyspace&&e.hasOwnProperty("target_keyspace")&&!a.isString(e.target_keyspace))return"target_keyspace: string expected";if(null!=e.stop_after_copy&&e.hasOwnProperty("stop_after_copy")&&"boolean"!==typeof e.stop_after_copy)return"stop_after_copy: boolean expected";if(null!=e.table_settings&&e.hasOwnProperty("table_settings")){if(!Array.isArray(e.table_settings))return"table_settings: array expected";for(var t=0;t>>3){case 1:n.name=e.string();break;case 2:n.keyspace=s.topodata.Keyspace.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")){var t=s.topodata.Keyspace.verify(e.keyspace);if(t)return"keyspace."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.Keyspace)return e;var t=new s.vtctldata.Keyspace;if(null!=e.name&&(t.name=String(e.name)),null!=e.keyspace){if("object"!==typeof e.keyspace)throw TypeError(".vtctldata.Keyspace.keyspace: object expected");t.keyspace=s.topodata.Keyspace.fromObject(e.keyspace)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.keyspace=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=s.topodata.Keyspace.toObject(e.keyspace,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Shard=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.name=e.string();break;case 3:n.shard=s.topodata.Shard.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")){var t=s.topodata.Shard.verify(e.shard);if(t)return"shard."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.Shard)return e;var t=new s.vtctldata.Shard;if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.name&&(t.name=String(e.name)),null!=e.shard){if("object"!==typeof e.shard)throw TypeError(".vtctldata.Shard.shard: object expected");t.shard=s.topodata.Shard.fromObject(e.shard)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.name="",r.shard=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=s.topodata.Shard.toObject(e.shard,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Workflow=function(){function e(e){if(this.shard_streams={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.name=e.string();break;case 2:l.source=s.vtctldata.Workflow.ReplicationLocation.decode(e,e.uint32());break;case 3:l.target=s.vtctldata.Workflow.ReplicationLocation.decode(e,e.uint32());break;case 4:l.max_v_replication_lag=e.int64();break;case 5:l.shard_streams===a.emptyObject&&(l.shard_streams={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.Workflow.ShardStream.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.shard_streams[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.source&&e.hasOwnProperty("source")&&(n=s.vtctldata.Workflow.ReplicationLocation.verify(e.source)))return"source."+n;if(null!=e.target&&e.hasOwnProperty("target")&&(n=s.vtctldata.Workflow.ReplicationLocation.verify(e.target)))return"target."+n;if(null!=e.max_v_replication_lag&&e.hasOwnProperty("max_v_replication_lag")&&!a.isInteger(e.max_v_replication_lag)&&!(e.max_v_replication_lag&&a.isInteger(e.max_v_replication_lag.low)&&a.isInteger(e.max_v_replication_lag.high)))return"max_v_replication_lag: integer|Long expected";if(null!=e.shard_streams&&e.hasOwnProperty("shard_streams")){if(!a.isObject(e.shard_streams))return"shard_streams: object expected";for(var t=Object.keys(e.shard_streams),r=0;r>>0,e.max_v_replication_lag.high>>>0).toNumber())),e.shard_streams){if("object"!==typeof e.shard_streams)throw TypeError(".vtctldata.Workflow.shard_streams: object expected");t.shard_streams={};for(var r=Object.keys(e.shard_streams),n=0;n>>0,e.max_v_replication_lag.high>>>0).toNumber():e.max_v_replication_lag),e.shard_streams&&(r=Object.keys(e.shard_streams)).length){n.shard_streams={};for(var o=0;o>>3){case 1:n.keyspace=e.string();break;case 2:n.shards&&n.shards.length||(n.shards=[]),n.shards.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shards&&e.hasOwnProperty("shards")){if(!Array.isArray(e.shards))return"shards: array expected";for(var t=0;t>>3){case 1:n.streams&&n.streams.length||(n.streams=[]),n.streams.push(s.vtctldata.Workflow.Stream.decode(e,e.uint32()));break;case 2:n.tablet_controls&&n.tablet_controls.length||(n.tablet_controls=[]),n.tablet_controls.push(s.topodata.Shard.TabletControl.decode(e,e.uint32()));break;case 3:n.is_primary_serving=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.streams&&e.hasOwnProperty("streams")){if(!Array.isArray(e.streams))return"streams: array expected";for(var t=0;t>>3){case 1:n.id=e.int64();break;case 2:n.shard=e.string();break;case 3:n.tablet=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.binlog_source=s.binlogdata.BinlogSource.decode(e,e.uint32());break;case 5:n.position=e.string();break;case 6:n.stop_position=e.string();break;case 7:n.state=e.string();break;case 8:n.db_name=e.string();break;case 9:n.transaction_timestamp=s.vttime.Time.decode(e,e.uint32());break;case 10:n.time_updated=s.vttime.Time.decode(e,e.uint32());break;case 11:n.message=e.string();break;case 12:n.copy_states&&n.copy_states.length||(n.copy_states=[]),n.copy_states.push(s.vtctldata.Workflow.Stream.CopyState.decode(e,e.uint32()));break;case 13:n.logs&&n.logs.length||(n.logs=[]),n.logs.push(s.vtctldata.Workflow.Stream.Log.decode(e,e.uint32()));break;case 14:n.log_fetch_error=e.string();break;case 15:n.tags&&n.tags.length||(n.tags=[]),n.tags.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isInteger(e.id)&&!(e.id&&a.isInteger(e.id.low)&&a.isInteger(e.id.high)))return"id: integer|Long expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.tablet&&e.hasOwnProperty("tablet")&&(r=s.topodata.TabletAlias.verify(e.tablet)))return"tablet."+r;if(null!=e.binlog_source&&e.hasOwnProperty("binlog_source")&&(r=s.binlogdata.BinlogSource.verify(e.binlog_source)))return"binlog_source."+r;if(null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position))return"position: string expected";if(null!=e.stop_position&&e.hasOwnProperty("stop_position")&&!a.isString(e.stop_position))return"stop_position: string expected";if(null!=e.state&&e.hasOwnProperty("state")&&!a.isString(e.state))return"state: string expected";if(null!=e.db_name&&e.hasOwnProperty("db_name")&&!a.isString(e.db_name))return"db_name: string expected";if(null!=e.transaction_timestamp&&e.hasOwnProperty("transaction_timestamp")&&(r=s.vttime.Time.verify(e.transaction_timestamp)))return"transaction_timestamp."+r;if(null!=e.time_updated&&e.hasOwnProperty("time_updated")&&(r=s.vttime.Time.verify(e.time_updated)))return"time_updated."+r;if(null!=e.message&&e.hasOwnProperty("message")&&!a.isString(e.message))return"message: string expected";if(null!=e.copy_states&&e.hasOwnProperty("copy_states")){if(!Array.isArray(e.copy_states))return"copy_states: array expected";for(var t=0;t>>0,e.id.high>>>0).toNumber())),null!=e.shard&&(t.shard=String(e.shard)),null!=e.tablet){if("object"!==typeof e.tablet)throw TypeError(".vtctldata.Workflow.Stream.tablet: object expected");t.tablet=s.topodata.TabletAlias.fromObject(e.tablet)}if(null!=e.binlog_source){if("object"!==typeof e.binlog_source)throw TypeError(".vtctldata.Workflow.Stream.binlog_source: object expected");t.binlog_source=s.binlogdata.BinlogSource.fromObject(e.binlog_source)}if(null!=e.position&&(t.position=String(e.position)),null!=e.stop_position&&(t.stop_position=String(e.stop_position)),null!=e.state&&(t.state=String(e.state)),null!=e.db_name&&(t.db_name=String(e.db_name)),null!=e.transaction_timestamp){if("object"!==typeof e.transaction_timestamp)throw TypeError(".vtctldata.Workflow.Stream.transaction_timestamp: object expected");t.transaction_timestamp=s.vttime.Time.fromObject(e.transaction_timestamp)}if(null!=e.time_updated){if("object"!==typeof e.time_updated)throw TypeError(".vtctldata.Workflow.Stream.time_updated: object expected");t.time_updated=s.vttime.Time.fromObject(e.time_updated)}if(null!=e.message&&(t.message=String(e.message)),e.copy_states){if(!Array.isArray(e.copy_states))throw TypeError(".vtctldata.Workflow.Stream.copy_states: array expected");t.copy_states=[];for(var r=0;r>>0,e.id.high>>>0).toNumber():e.id),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.tablet&&e.hasOwnProperty("tablet")&&(r.tablet=s.topodata.TabletAlias.toObject(e.tablet,t)),null!=e.binlog_source&&e.hasOwnProperty("binlog_source")&&(r.binlog_source=s.binlogdata.BinlogSource.toObject(e.binlog_source,t)),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.stop_position&&e.hasOwnProperty("stop_position")&&(r.stop_position=e.stop_position),null!=e.state&&e.hasOwnProperty("state")&&(r.state=e.state),null!=e.db_name&&e.hasOwnProperty("db_name")&&(r.db_name=e.db_name),null!=e.transaction_timestamp&&e.hasOwnProperty("transaction_timestamp")&&(r.transaction_timestamp=s.vttime.Time.toObject(e.transaction_timestamp,t)),null!=e.time_updated&&e.hasOwnProperty("time_updated")&&(r.time_updated=s.vttime.Time.toObject(e.time_updated,t)),null!=e.message&&e.hasOwnProperty("message")&&(r.message=e.message),e.copy_states&&e.copy_states.length){r.copy_states=[];for(var i=0;i>>3){case 1:n.table=e.string();break;case 2:n.last_pk=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.table&&e.hasOwnProperty("table")&&!a.isString(e.table)?"table: string expected":null!=e.last_pk&&e.hasOwnProperty("last_pk")&&!a.isString(e.last_pk)?"last_pk: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.Workflow.Stream.CopyState)return e;var t=new s.vtctldata.Workflow.Stream.CopyState;return null!=e.table&&(t.table=String(e.table)),null!=e.last_pk&&(t.last_pk=String(e.last_pk)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.table="",r.last_pk=""),null!=e.table&&e.hasOwnProperty("table")&&(r.table=e.table),null!=e.last_pk&&e.hasOwnProperty("last_pk")&&(r.last_pk=e.last_pk),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Log=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.id=e.int64();break;case 2:n.stream_id=e.int64();break;case 3:n.type=e.string();break;case 4:n.state=e.string();break;case 5:n.created_at=s.vttime.Time.decode(e,e.uint32());break;case 6:n.updated_at=s.vttime.Time.decode(e,e.uint32());break;case 7:n.message=e.string();break;case 8:n.count=e.int64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isInteger(e.id)&&!(e.id&&a.isInteger(e.id.low)&&a.isInteger(e.id.high)))return"id: integer|Long expected";if(null!=e.stream_id&&e.hasOwnProperty("stream_id")&&!a.isInteger(e.stream_id)&&!(e.stream_id&&a.isInteger(e.stream_id.low)&&a.isInteger(e.stream_id.high)))return"stream_id: integer|Long expected";if(null!=e.type&&e.hasOwnProperty("type")&&!a.isString(e.type))return"type: string expected";if(null!=e.state&&e.hasOwnProperty("state")&&!a.isString(e.state))return"state: string expected";var t;if(null!=e.created_at&&e.hasOwnProperty("created_at")&&(t=s.vttime.Time.verify(e.created_at)))return"created_at."+t;if(null!=e.updated_at&&e.hasOwnProperty("updated_at")&&(t=s.vttime.Time.verify(e.updated_at)))return"updated_at."+t;return null!=e.message&&e.hasOwnProperty("message")&&!a.isString(e.message)?"message: string expected":null==e.count||!e.hasOwnProperty("count")||a.isInteger(e.count)||e.count&&a.isInteger(e.count.low)&&a.isInteger(e.count.high)?null:"count: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vtctldata.Workflow.Stream.Log)return e;var t=new s.vtctldata.Workflow.Stream.Log;if(null!=e.id&&(a.Long?(t.id=a.Long.fromValue(e.id)).unsigned=!1:"string"===typeof e.id?t.id=parseInt(e.id,10):"number"===typeof e.id?t.id=e.id:"object"===typeof e.id&&(t.id=new a.LongBits(e.id.low>>>0,e.id.high>>>0).toNumber())),null!=e.stream_id&&(a.Long?(t.stream_id=a.Long.fromValue(e.stream_id)).unsigned=!1:"string"===typeof e.stream_id?t.stream_id=parseInt(e.stream_id,10):"number"===typeof e.stream_id?t.stream_id=e.stream_id:"object"===typeof e.stream_id&&(t.stream_id=new a.LongBits(e.stream_id.low>>>0,e.stream_id.high>>>0).toNumber())),null!=e.type&&(t.type=String(e.type)),null!=e.state&&(t.state=String(e.state)),null!=e.created_at){if("object"!==typeof e.created_at)throw TypeError(".vtctldata.Workflow.Stream.Log.created_at: object expected");t.created_at=s.vttime.Time.fromObject(e.created_at)}if(null!=e.updated_at){if("object"!==typeof e.updated_at)throw TypeError(".vtctldata.Workflow.Stream.Log.updated_at: object expected");t.updated_at=s.vttime.Time.fromObject(e.updated_at)}return null!=e.message&&(t.message=String(e.message)),null!=e.count&&(a.Long?(t.count=a.Long.fromValue(e.count)).unsigned=!1:"string"===typeof e.count?t.count=parseInt(e.count,10):"number"===typeof e.count?t.count=e.count:"object"===typeof e.count&&(t.count=new a.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber())),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(a.Long){var n=new a.Long(0,0,!1);r.id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.id=t.longs===String?"0":0;if(a.Long){n=new a.Long(0,0,!1);r.stream_id=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.stream_id=t.longs===String?"0":0;if(r.type="",r.state="",r.created_at=null,r.updated_at=null,r.message="",a.Long){n=new a.Long(0,0,!1);r.count=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.count=t.longs===String?"0":0}return null!=e.id&&e.hasOwnProperty("id")&&("number"===typeof e.id?r.id=t.longs===String?String(e.id):e.id:r.id=t.longs===String?a.Long.prototype.toString.call(e.id):t.longs===Number?new a.LongBits(e.id.low>>>0,e.id.high>>>0).toNumber():e.id),null!=e.stream_id&&e.hasOwnProperty("stream_id")&&("number"===typeof e.stream_id?r.stream_id=t.longs===String?String(e.stream_id):e.stream_id:r.stream_id=t.longs===String?a.Long.prototype.toString.call(e.stream_id):t.longs===Number?new a.LongBits(e.stream_id.low>>>0,e.stream_id.high>>>0).toNumber():e.stream_id),null!=e.type&&e.hasOwnProperty("type")&&(r.type=e.type),null!=e.state&&e.hasOwnProperty("state")&&(r.state=e.state),null!=e.created_at&&e.hasOwnProperty("created_at")&&(r.created_at=s.vttime.Time.toObject(e.created_at,t)),null!=e.updated_at&&e.hasOwnProperty("updated_at")&&(r.updated_at=s.vttime.Time.toObject(e.updated_at,t)),null!=e.message&&e.hasOwnProperty("message")&&(r.message=e.message),null!=e.count&&e.hasOwnProperty("count")&&("number"===typeof e.count?r.count=t.longs===String?String(e.count):e.count:r.count=t.longs===String?a.Long.prototype.toString.call(e.count):t.longs===Number?new a.LongBits(e.count.low>>>0,e.count.high>>>0).toNumber():e.count),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e}(),e}(),e.AddCellInfoRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.cell_info=s.topodata.CellInfo.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.cell_info&&e.hasOwnProperty("cell_info")){var t=s.topodata.CellInfo.verify(e.cell_info);if(t)return"cell_info."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.AddCellInfoRequest)return e;var t=new s.vtctldata.AddCellInfoRequest;if(null!=e.name&&(t.name=String(e.name)),null!=e.cell_info){if("object"!==typeof e.cell_info)throw TypeError(".vtctldata.AddCellInfoRequest.cell_info: object expected");t.cell_info=s.topodata.CellInfo.fromObject(e.cell_info)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.cell_info=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.cell_info&&e.hasOwnProperty("cell_info")&&(r.cell_info=s.topodata.CellInfo.toObject(e.cell_info,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.AddCellInfoResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3){case 1:n.routing_rules=s.vschema.RoutingRules.decode(e,e.uint32());break;case 2:n.skip_rebuild=e.bool();break;case 3:n.rebuild_cells&&n.rebuild_cells.length||(n.rebuild_cells=[]),n.rebuild_cells.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.routing_rules&&e.hasOwnProperty("routing_rules")){var t=s.vschema.RoutingRules.verify(e.routing_rules);if(t)return"routing_rules."+t}if(null!=e.skip_rebuild&&e.hasOwnProperty("skip_rebuild")&&"boolean"!==typeof e.skip_rebuild)return"skip_rebuild: boolean expected";if(null!=e.rebuild_cells&&e.hasOwnProperty("rebuild_cells")){if(!Array.isArray(e.rebuild_cells))return"rebuild_cells: array expected";for(var r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.allow_long_unavailability=e.bool();break;case 3:n.sql&&n.sql.length||(n.sql=[]),n.sql.push(e.string());break;case 4:n.ddl_strategy=e.string();break;case 5:n.uuid_list&&n.uuid_list.length||(n.uuid_list=[]),n.uuid_list.push(e.string());break;case 6:n.migration_context=e.string();break;case 7:n.wait_replicas_timeout=s.vttime.Duration.decode(e,e.uint32());break;case 8:n.skip_preflight=e.bool();break;case 9:n.caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.allow_long_unavailability&&e.hasOwnProperty("allow_long_unavailability")&&"boolean"!==typeof e.allow_long_unavailability)return"allow_long_unavailability: boolean expected";if(null!=e.sql&&e.hasOwnProperty("sql")){if(!Array.isArray(e.sql))return"sql: array expected";for(var t=0;t>>3===1)n.uuid_list&&n.uuid_list.length||(n.uuid_list=[]),n.uuid_list.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.uuid_list&&e.hasOwnProperty("uuid_list")){if(!Array.isArray(e.uuid_list))return"uuid_list: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.skip_rebuild=e.bool();break;case 3:n.dry_run=e.bool();break;case 4:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 5:n.v_schema=s.vschema.Keyspace.decode(e,e.uint32());break;case 6:n.sql=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.skip_rebuild&&e.hasOwnProperty("skip_rebuild")&&"boolean"!==typeof e.skip_rebuild)return"skip_rebuild: boolean expected";if(null!=e.dry_run&&e.hasOwnProperty("dry_run")&&"boolean"!==typeof e.dry_run)return"dry_run: boolean expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1)n.v_schema=s.vschema.Keyspace.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.v_schema&&e.hasOwnProperty("v_schema")){var t=s.vschema.Keyspace.verify(e.v_schema);if(t)return"v_schema."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ApplyVSchemaResponse)return e;var t=new s.vtctldata.ApplyVSchemaResponse;if(null!=e.v_schema){if("object"!==typeof e.v_schema)throw TypeError(".vtctldata.ApplyVSchemaResponse.v_schema: object expected");t.v_schema=s.vschema.Keyspace.fromObject(e.v_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.v_schema=null),null!=e.v_schema&&e.hasOwnProperty("v_schema")&&(r.v_schema=s.vschema.Keyspace.toObject(e.v_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BackupRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.allow_primary=e.bool();break;case 3:n.concurrency=e.uint64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null!=e.allow_primary&&e.hasOwnProperty("allow_primary")&&"boolean"!==typeof e.allow_primary?"allow_primary: boolean expected":null==e.concurrency||!e.hasOwnProperty("concurrency")||a.isInteger(e.concurrency)||e.concurrency&&a.isInteger(e.concurrency.low)&&a.isInteger(e.concurrency.high)?null:"concurrency: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vtctldata.BackupRequest)return e;var t=new s.vtctldata.BackupRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.BackupRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return null!=e.allow_primary&&(t.allow_primary=Boolean(e.allow_primary)),null!=e.concurrency&&(a.Long?(t.concurrency=a.Long.fromValue(e.concurrency)).unsigned=!0:"string"===typeof e.concurrency?t.concurrency=parseInt(e.concurrency,10):"number"===typeof e.concurrency?t.concurrency=e.concurrency:"object"===typeof e.concurrency&&(t.concurrency=new a.LongBits(e.concurrency.low>>>0,e.concurrency.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.tablet_alias=null,r.allow_primary=!1,a.Long){var n=new a.Long(0,0,!0);r.concurrency=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.concurrency=t.longs===String?"0":0;return null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.allow_primary&&e.hasOwnProperty("allow_primary")&&(r.allow_primary=e.allow_primary),null!=e.concurrency&&e.hasOwnProperty("concurrency")&&("number"===typeof e.concurrency?r.concurrency=t.longs===String?String(e.concurrency):e.concurrency:r.concurrency=t.longs===String?a.Long.prototype.toString.call(e.concurrency):t.longs===Number?new a.LongBits(e.concurrency.low>>>0,e.concurrency.high>>>0).toNumber(!0):e.concurrency),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BackupResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.keyspace=e.string();break;case 3:n.shard=e.string();break;case 4:n.event=s.logutil.Event.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.event&&e.hasOwnProperty("event")&&(t=s.logutil.Event.verify(e.event)))return"event."+t;return null},e.fromObject=function(e){if(e instanceof s.vtctldata.BackupResponse)return e;var t=new s.vtctldata.BackupResponse;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.BackupResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.event){if("object"!==typeof e.event)throw TypeError(".vtctldata.BackupResponse.event: object expected");t.event=s.logutil.Event.fromObject(e.event)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null,r.keyspace="",r.shard="",r.event=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.event&&e.hasOwnProperty("event")&&(r.event=s.logutil.Event.toObject(e.event,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BackupShardRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.allow_primary=e.bool();break;case 4:n.concurrency=e.uint64();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.allow_primary&&e.hasOwnProperty("allow_primary")&&"boolean"!==typeof e.allow_primary?"allow_primary: boolean expected":null==e.concurrency||!e.hasOwnProperty("concurrency")||a.isInteger(e.concurrency)||e.concurrency&&a.isInteger(e.concurrency.low)&&a.isInteger(e.concurrency.high)?null:"concurrency: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vtctldata.BackupShardRequest)return e;var t=new s.vtctldata.BackupShardRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.allow_primary&&(t.allow_primary=Boolean(e.allow_primary)),null!=e.concurrency&&(a.Long?(t.concurrency=a.Long.fromValue(e.concurrency)).unsigned=!0:"string"===typeof e.concurrency?t.concurrency=parseInt(e.concurrency,10):"number"===typeof e.concurrency?t.concurrency=e.concurrency:"object"===typeof e.concurrency&&(t.concurrency=new a.LongBits(e.concurrency.low>>>0,e.concurrency.high>>>0).toNumber(!0))),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults)if(r.keyspace="",r.shard="",r.allow_primary=!1,a.Long){var n=new a.Long(0,0,!0);r.concurrency=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.concurrency=t.longs===String?"0":0;return null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.allow_primary&&e.hasOwnProperty("allow_primary")&&(r.allow_primary=e.allow_primary),null!=e.concurrency&&e.hasOwnProperty("concurrency")&&("number"===typeof e.concurrency?r.concurrency=t.longs===String?String(e.concurrency):e.concurrency:r.concurrency=t.longs===String?a.Long.prototype.toString.call(e.concurrency):t.longs===Number?new a.LongBits(e.concurrency.low>>>0,e.concurrency.high>>>0).toNumber(!0):e.concurrency),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ChangeTabletTypeRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.db_type=e.int32();break;case 3:n.dry_run=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}if(null!=e.db_type&&e.hasOwnProperty("db_type"))switch(e.db_type){default:return"db_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}return null!=e.dry_run&&e.hasOwnProperty("dry_run")&&"boolean"!==typeof e.dry_run?"dry_run: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ChangeTabletTypeRequest)return e;var t=new s.vtctldata.ChangeTabletTypeRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.ChangeTabletTypeRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}switch(e.db_type){case"UNKNOWN":case 0:t.db_type=0;break;case"PRIMARY":case 1:case"MASTER":case 1:t.db_type=1;break;case"REPLICA":case 2:t.db_type=2;break;case"RDONLY":case 3:case"BATCH":case 3:t.db_type=3;break;case"SPARE":case 4:t.db_type=4;break;case"EXPERIMENTAL":case 5:t.db_type=5;break;case"BACKUP":case 6:t.db_type=6;break;case"RESTORE":case 7:t.db_type=7;break;case"DRAINED":case 8:t.db_type=8}return null!=e.dry_run&&(t.dry_run=Boolean(e.dry_run)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null,r.db_type=t.enums===String?"UNKNOWN":0,r.dry_run=!1),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.db_type&&e.hasOwnProperty("db_type")&&(r.db_type=t.enums===String?s.topodata.TabletType[e.db_type]:e.db_type),null!=e.dry_run&&e.hasOwnProperty("dry_run")&&(r.dry_run=e.dry_run),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ChangeTabletTypeResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.before_tablet=s.topodata.Tablet.decode(e,e.uint32());break;case 2:n.after_tablet=s.topodata.Tablet.decode(e,e.uint32());break;case 3:n.was_dry_run=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.before_tablet&&e.hasOwnProperty("before_tablet")&&(t=s.topodata.Tablet.verify(e.before_tablet)))return"before_tablet."+t;if(null!=e.after_tablet&&e.hasOwnProperty("after_tablet")&&(t=s.topodata.Tablet.verify(e.after_tablet)))return"after_tablet."+t;return null!=e.was_dry_run&&e.hasOwnProperty("was_dry_run")&&"boolean"!==typeof e.was_dry_run?"was_dry_run: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ChangeTabletTypeResponse)return e;var t=new s.vtctldata.ChangeTabletTypeResponse;if(null!=e.before_tablet){if("object"!==typeof e.before_tablet)throw TypeError(".vtctldata.ChangeTabletTypeResponse.before_tablet: object expected");t.before_tablet=s.topodata.Tablet.fromObject(e.before_tablet)}if(null!=e.after_tablet){if("object"!==typeof e.after_tablet)throw TypeError(".vtctldata.ChangeTabletTypeResponse.after_tablet: object expected");t.after_tablet=s.topodata.Tablet.fromObject(e.after_tablet)}return null!=e.was_dry_run&&(t.was_dry_run=Boolean(e.was_dry_run)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.before_tablet=null,r.after_tablet=null,r.was_dry_run=!1),null!=e.before_tablet&&e.hasOwnProperty("before_tablet")&&(r.before_tablet=s.topodata.Tablet.toObject(e.before_tablet,t)),null!=e.after_tablet&&e.hasOwnProperty("after_tablet")&&(r.after_tablet=s.topodata.Tablet.toObject(e.after_tablet,t)),null!=e.was_dry_run&&e.hasOwnProperty("was_dry_run")&&(r.was_dry_run=e.was_dry_run),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateKeyspaceRequest=function(){function e(e){if(this.served_froms=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.force=e.bool();break;case 3:n.allow_empty_v_schema=e.bool();break;case 4:n.sharding_column_name=e.string();break;case 5:n.sharding_column_type=e.int32();break;case 6:n.served_froms&&n.served_froms.length||(n.served_froms=[]),n.served_froms.push(s.topodata.Keyspace.ServedFrom.decode(e,e.uint32()));break;case 7:n.type=e.int32();break;case 8:n.base_keyspace=e.string();break;case 9:n.snapshot_time=s.vttime.Time.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force)return"force: boolean expected";if(null!=e.allow_empty_v_schema&&e.hasOwnProperty("allow_empty_v_schema")&&"boolean"!==typeof e.allow_empty_v_schema)return"allow_empty_v_schema: boolean expected";if(null!=e.sharding_column_name&&e.hasOwnProperty("sharding_column_name")&&!a.isString(e.sharding_column_name))return"sharding_column_name: string expected";if(null!=e.sharding_column_type&&e.hasOwnProperty("sharding_column_type"))switch(e.sharding_column_type){default:return"sharding_column_type: enum value expected";case 0:case 1:case 2:}if(null!=e.served_froms&&e.hasOwnProperty("served_froms")){if(!Array.isArray(e.served_froms))return"served_froms: array expected";for(var t=0;t>>3===1)n.keyspace=s.vtctldata.Keyspace.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")){var t=s.vtctldata.Keyspace.verify(e.keyspace);if(t)return"keyspace."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.CreateKeyspaceResponse)return e;var t=new s.vtctldata.CreateKeyspaceResponse;if(null!=e.keyspace){if("object"!==typeof e.keyspace)throw TypeError(".vtctldata.CreateKeyspaceResponse.keyspace: object expected");t.keyspace=s.vtctldata.Keyspace.fromObject(e.keyspace)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=s.vtctldata.Keyspace.toObject(e.keyspace,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateShardRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard_name=e.string();break;case 3:n.force=e.bool();break;case 4:n.include_parent=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard_name&&e.hasOwnProperty("shard_name")&&!a.isString(e.shard_name)?"shard_name: string expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force?"force: boolean expected":null!=e.include_parent&&e.hasOwnProperty("include_parent")&&"boolean"!==typeof e.include_parent?"include_parent: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.CreateShardRequest)return e;var t=new s.vtctldata.CreateShardRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard_name&&(t.shard_name=String(e.shard_name)),null!=e.force&&(t.force=Boolean(e.force)),null!=e.include_parent&&(t.include_parent=Boolean(e.include_parent)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard_name="",r.force=!1,r.include_parent=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard_name&&e.hasOwnProperty("shard_name")&&(r.shard_name=e.shard_name),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),null!=e.include_parent&&e.hasOwnProperty("include_parent")&&(r.include_parent=e.include_parent),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CreateShardResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=s.vtctldata.Keyspace.decode(e,e.uint32());break;case 2:n.shard=s.vtctldata.Shard.decode(e,e.uint32());break;case 3:n.shard_already_exists=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(t=s.vtctldata.Keyspace.verify(e.keyspace)))return"keyspace."+t;if(null!=e.shard&&e.hasOwnProperty("shard")&&(t=s.vtctldata.Shard.verify(e.shard)))return"shard."+t;return null!=e.shard_already_exists&&e.hasOwnProperty("shard_already_exists")&&"boolean"!==typeof e.shard_already_exists?"shard_already_exists: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.CreateShardResponse)return e;var t=new s.vtctldata.CreateShardResponse;if(null!=e.keyspace){if("object"!==typeof e.keyspace)throw TypeError(".vtctldata.CreateShardResponse.keyspace: object expected");t.keyspace=s.vtctldata.Keyspace.fromObject(e.keyspace)}if(null!=e.shard){if("object"!==typeof e.shard)throw TypeError(".vtctldata.CreateShardResponse.shard: object expected");t.shard=s.vtctldata.Shard.fromObject(e.shard)}return null!=e.shard_already_exists&&(t.shard_already_exists=Boolean(e.shard_already_exists)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=null,r.shard=null,r.shard_already_exists=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=s.vtctldata.Keyspace.toObject(e.keyspace,t)),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=s.vtctldata.Shard.toObject(e.shard,t)),null!=e.shard_already_exists&&e.hasOwnProperty("shard_already_exists")&&(r.shard_already_exists=e.shard_already_exists),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteCellInfoRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.force=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force?"force: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.DeleteCellInfoRequest)return e;var t=new s.vtctldata.DeleteCellInfoRequest;return null!=e.name&&(t.name=String(e.name)),null!=e.force&&(t.force=Boolean(e.force)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.force=!1),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteCellInfoResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.name=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.DeleteCellsAliasRequest)return e;var t=new s.vtctldata.DeleteCellsAliasRequest;return null!=e.name&&(t.name=String(e.name)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name=""),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteCellsAliasResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.recursive=e.bool();break;case 3:n.force=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.recursive&&e.hasOwnProperty("recursive")&&"boolean"!==typeof e.recursive?"recursive: boolean expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force?"force: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.DeleteKeyspaceRequest)return e;var t=new s.vtctldata.DeleteKeyspaceRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.recursive&&(t.recursive=Boolean(e.recursive)),null!=e.force&&(t.force=Boolean(e.force)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.recursive=!1,r.force=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.recursive&&e.hasOwnProperty("recursive")&&(r.recursive=e.recursive),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteKeyspaceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.shards&&n.shards.length||(n.shards=[]),n.shards.push(s.vtctldata.Shard.decode(e,e.uint32()));break;case 2:n.recursive=e.bool();break;case 4:n.even_if_serving=e.bool();break;case 5:n.force=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.shards&&e.hasOwnProperty("shards")){if(!Array.isArray(e.shards))return"shards: array expected";for(var t=0;t>>3===1)n.cell=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.DeleteSrvVSchemaRequest)return e;var t=new s.vtctldata.DeleteSrvVSchemaRequest;return null!=e.cell&&(t.cell=String(e.cell)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cell=""),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.DeleteSrvVSchemaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_aliases&&n.tablet_aliases.length||(n.tablet_aliases=[]),n.tablet_aliases.push(s.topodata.TabletAlias.decode(e,e.uint32()));break;case 2:n.allow_primary=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_aliases&&e.hasOwnProperty("tablet_aliases")){if(!Array.isArray(e.tablet_aliases))return"tablet_aliases: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.new_primary=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.ignore_replicas&&n.ignore_replicas.length||(n.ignore_replicas=[]),n.ignore_replicas.push(s.topodata.TabletAlias.decode(e,e.uint32()));break;case 5:n.wait_replicas_timeout=s.vttime.Duration.decode(e,e.uint32());break;case 6:n.prevent_cross_cell_promotion=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.new_primary&&e.hasOwnProperty("new_primary")&&(r=s.topodata.TabletAlias.verify(e.new_primary)))return"new_primary."+r;if(null!=e.ignore_replicas&&e.hasOwnProperty("ignore_replicas")){if(!Array.isArray(e.ignore_replicas))return"ignore_replicas: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.promoted_primary=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.events&&n.events.length||(n.events=[]),n.events.push(s.logutil.Event.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.promoted_primary&&e.hasOwnProperty("promoted_primary")&&(r=s.topodata.TabletAlias.verify(e.promoted_primary)))return"promoted_primary."+r;if(null!=e.events&&e.hasOwnProperty("events")){if(!Array.isArray(e.events))return"events: array expected";for(var t=0;t>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.query=e.string();break;case 3:n.max_rows=e.int64();break;case 4:n.use_pool=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null!=e.query&&e.hasOwnProperty("query")&&!a.isString(e.query)?"query: string expected":null==e.max_rows||!e.hasOwnProperty("max_rows")||a.isInteger(e.max_rows)||e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)?null!=e.use_pool&&e.hasOwnProperty("use_pool")&&"boolean"!==typeof e.use_pool?"use_pool: boolean expected":null:"max_rows: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vtctldata.ExecuteFetchAsAppRequest)return e;var t=new s.vtctldata.ExecuteFetchAsAppRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.ExecuteFetchAsAppRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return null!=e.query&&(t.query=String(e.query)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!1:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber())),null!=e.use_pool&&(t.use_pool=Boolean(e.use_pool)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.tablet_alias=null,r.query="",a.Long){var n=new a.Long(0,0,!1);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;r.use_pool=!1}return null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=e.query),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber():e.max_rows),null!=e.use_pool&&e.hasOwnProperty("use_pool")&&(r.use_pool=e.use_pool),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsAppResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ExecuteFetchAsAppResponse)return e;var t=new s.vtctldata.ExecuteFetchAsAppResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".vtctldata.ExecuteFetchAsAppResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsDBARequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.query=e.string();break;case 3:n.max_rows=e.int64();break;case 4:n.disable_binlogs=e.bool();break;case 5:n.reload_schema=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null!=e.query&&e.hasOwnProperty("query")&&!a.isString(e.query)?"query: string expected":null==e.max_rows||!e.hasOwnProperty("max_rows")||a.isInteger(e.max_rows)||e.max_rows&&a.isInteger(e.max_rows.low)&&a.isInteger(e.max_rows.high)?null!=e.disable_binlogs&&e.hasOwnProperty("disable_binlogs")&&"boolean"!==typeof e.disable_binlogs?"disable_binlogs: boolean expected":null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&"boolean"!==typeof e.reload_schema?"reload_schema: boolean expected":null:"max_rows: integer|Long expected"},e.fromObject=function(e){if(e instanceof s.vtctldata.ExecuteFetchAsDBARequest)return e;var t=new s.vtctldata.ExecuteFetchAsDBARequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.ExecuteFetchAsDBARequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return null!=e.query&&(t.query=String(e.query)),null!=e.max_rows&&(a.Long?(t.max_rows=a.Long.fromValue(e.max_rows)).unsigned=!1:"string"===typeof e.max_rows?t.max_rows=parseInt(e.max_rows,10):"number"===typeof e.max_rows?t.max_rows=e.max_rows:"object"===typeof e.max_rows&&(t.max_rows=new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber())),null!=e.disable_binlogs&&(t.disable_binlogs=Boolean(e.disable_binlogs)),null!=e.reload_schema&&(t.reload_schema=Boolean(e.reload_schema)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.tablet_alias=null,r.query="",a.Long){var n=new a.Long(0,0,!1);r.max_rows=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.max_rows=t.longs===String?"0":0;r.disable_binlogs=!1,r.reload_schema=!1}return null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=e.query),null!=e.max_rows&&e.hasOwnProperty("max_rows")&&("number"===typeof e.max_rows?r.max_rows=t.longs===String?String(e.max_rows):e.max_rows:r.max_rows=t.longs===String?a.Long.prototype.toString.call(e.max_rows):t.longs===Number?new a.LongBits(e.max_rows.low>>>0,e.max_rows.high>>>0).toNumber():e.max_rows),null!=e.disable_binlogs&&e.hasOwnProperty("disable_binlogs")&&(r.disable_binlogs=e.disable_binlogs),null!=e.reload_schema&&e.hasOwnProperty("reload_schema")&&(r.reload_schema=e.reload_schema),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteFetchAsDBAResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.result=s.query.QueryResult.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.result&&e.hasOwnProperty("result")){var t=s.query.QueryResult.verify(e.result);if(t)return"result."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ExecuteFetchAsDBAResponse)return e;var t=new s.vtctldata.ExecuteFetchAsDBAResponse;if(null!=e.result){if("object"!==typeof e.result)throw TypeError(".vtctldata.ExecuteFetchAsDBAResponse.result: object expected");t.result=s.query.QueryResult.fromObject(e.result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.result=null),null!=e.result&&e.hasOwnProperty("result")&&(r.result=s.query.QueryResult.toObject(e.result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteHookRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.tablet_hook_request=s.tabletmanagerdata.ExecuteHookRequest.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;if(null!=e.tablet_hook_request&&e.hasOwnProperty("tablet_hook_request")&&(t=s.tabletmanagerdata.ExecuteHookRequest.verify(e.tablet_hook_request)))return"tablet_hook_request."+t;return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ExecuteHookRequest)return e;var t=new s.vtctldata.ExecuteHookRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.ExecuteHookRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}if(null!=e.tablet_hook_request){if("object"!==typeof e.tablet_hook_request)throw TypeError(".vtctldata.ExecuteHookRequest.tablet_hook_request: object expected");t.tablet_hook_request=s.tabletmanagerdata.ExecuteHookRequest.fromObject(e.tablet_hook_request)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null,r.tablet_hook_request=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.tablet_hook_request&&e.hasOwnProperty("tablet_hook_request")&&(r.tablet_hook_request=s.tabletmanagerdata.ExecuteHookRequest.toObject(e.tablet_hook_request,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ExecuteHookResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.hook_result=s.tabletmanagerdata.ExecuteHookResponse.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.hook_result&&e.hasOwnProperty("hook_result")){var t=s.tabletmanagerdata.ExecuteHookResponse.verify(e.hook_result);if(t)return"hook_result."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ExecuteHookResponse)return e;var t=new s.vtctldata.ExecuteHookResponse;if(null!=e.hook_result){if("object"!==typeof e.hook_result)throw TypeError(".vtctldata.ExecuteHookResponse.hook_result: object expected");t.hook_result=s.tabletmanagerdata.ExecuteHookResponse.fromObject(e.hook_result)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.hook_result=null),null!=e.hook_result&&e.hasOwnProperty("hook_result")&&(r.hook_result=s.tabletmanagerdata.ExecuteHookResponse.toObject(e.hook_result,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FindAllShardsInKeyspaceRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.keyspace=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.FindAllShardsInKeyspaceRequest)return e;var t=new s.vtctldata.FindAllShardsInKeyspaceRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.FindAllShardsInKeyspaceResponse=function(){function e(e){if(this.shards={},e)for(var t=Object.keys(e),r=0;r>>3===1){l.shards===a.emptyObject&&(l.shards={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.Shard.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.shards[r]=n}else e.skipType(7&c)}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.shards&&e.hasOwnProperty("shards")){if(!a.isObject(e.shards))return"shards: object expected";for(var t=Object.keys(e.shards),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.limit=e.uint32();break;case 4:n.detailed=e.bool();break;case 5:n.detailed_limit=e.uint32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.limit&&e.hasOwnProperty("limit")&&!a.isInteger(e.limit)?"limit: integer expected":null!=e.detailed&&e.hasOwnProperty("detailed")&&"boolean"!==typeof e.detailed?"detailed: boolean expected":null!=e.detailed_limit&&e.hasOwnProperty("detailed_limit")&&!a.isInteger(e.detailed_limit)?"detailed_limit: integer expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetBackupsRequest)return e;var t=new s.vtctldata.GetBackupsRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.limit&&(t.limit=e.limit>>>0),null!=e.detailed&&(t.detailed=Boolean(e.detailed)),null!=e.detailed_limit&&(t.detailed_limit=e.detailed_limit>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.limit=0,r.detailed=!1,r.detailed_limit=0),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.limit&&e.hasOwnProperty("limit")&&(r.limit=e.limit),null!=e.detailed&&e.hasOwnProperty("detailed")&&(r.detailed=e.detailed),null!=e.detailed_limit&&e.hasOwnProperty("detailed_limit")&&(r.detailed_limit=e.detailed_limit),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetBackupsResponse=function(){function e(e){if(this.backups=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.backups&&n.backups.length||(n.backups=[]),n.backups.push(s.mysqlctl.BackupInfo.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.backups&&e.hasOwnProperty("backups")){if(!Array.isArray(e.backups))return"backups: array expected";for(var t=0;t>>3===1)n.cell=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetCellInfoRequest)return e;var t=new s.vtctldata.GetCellInfoRequest;return null!=e.cell&&(t.cell=String(e.cell)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cell=""),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetCellInfoResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.cell_info=s.topodata.CellInfo.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cell_info&&e.hasOwnProperty("cell_info")){var t=s.topodata.CellInfo.verify(e.cell_info);if(t)return"cell_info."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetCellInfoResponse)return e;var t=new s.vtctldata.GetCellInfoResponse;if(null!=e.cell_info){if("object"!==typeof e.cell_info)throw TypeError(".vtctldata.GetCellInfoResponse.cell_info: object expected");t.cell_info=s.topodata.CellInfo.fromObject(e.cell_info)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cell_info=null),null!=e.cell_info&&e.hasOwnProperty("cell_info")&&(r.cell_info=s.topodata.CellInfo.toObject(e.cell_info,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetCellInfoNamesRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.names&&n.names.length||(n.names=[]),n.names.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.names&&e.hasOwnProperty("names")){if(!Array.isArray(e.names))return"names: array expected";for(var t=0;t>>3===1){l.aliases===a.emptyObject&&(l.aliases={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.topodata.CellsAlias.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.aliases[r]=n}else e.skipType(7&c)}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.aliases&&e.hasOwnProperty("aliases")){if(!a.isObject(e.aliases))return"aliases: object expected";for(var t=Object.keys(e.aliases),r=0;r>>3===1)n.keyspaces&&n.keyspaces.length||(n.keyspaces=[]),n.keyspaces.push(s.vtctldata.Keyspace.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspaces&&e.hasOwnProperty("keyspaces")){if(!Array.isArray(e.keyspaces))return"keyspaces: array expected";for(var t=0;t>>3===1)n.keyspace=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetKeyspaceRequest)return e;var t=new s.vtctldata.GetKeyspaceRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetKeyspaceResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.keyspace=s.vtctldata.Keyspace.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")){var t=s.vtctldata.Keyspace.verify(e.keyspace);if(t)return"keyspace."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetKeyspaceResponse)return e;var t=new s.vtctldata.GetKeyspaceResponse;if(null!=e.keyspace){if("object"!==typeof e.keyspace)throw TypeError(".vtctldata.GetKeyspaceResponse.keyspace: object expected");t.keyspace=s.vtctldata.Keyspace.fromObject(e.keyspace)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=s.vtctldata.Keyspace.toObject(e.keyspace,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetPermissionsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetPermissionsRequest)return e;var t=new s.vtctldata.GetPermissionsRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.GetPermissionsRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetPermissionsResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.permissions=s.tabletmanagerdata.Permissions.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.permissions&&e.hasOwnProperty("permissions")){var t=s.tabletmanagerdata.Permissions.verify(e.permissions);if(t)return"permissions."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetPermissionsResponse)return e;var t=new s.vtctldata.GetPermissionsResponse;if(null!=e.permissions){if("object"!==typeof e.permissions)throw TypeError(".vtctldata.GetPermissionsResponse.permissions: object expected");t.permissions=s.tabletmanagerdata.Permissions.fromObject(e.permissions)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.permissions=null),null!=e.permissions&&e.hasOwnProperty("permissions")&&(r.permissions=s.tabletmanagerdata.Permissions.toObject(e.permissions,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetRoutingRulesRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.routing_rules=s.vschema.RoutingRules.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.routing_rules&&e.hasOwnProperty("routing_rules")){var t=s.vschema.RoutingRules.verify(e.routing_rules);if(t)return"routing_rules."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetRoutingRulesResponse)return e;var t=new s.vtctldata.GetRoutingRulesResponse;if(null!=e.routing_rules){if("object"!==typeof e.routing_rules)throw TypeError(".vtctldata.GetRoutingRulesResponse.routing_rules: object expected");t.routing_rules=s.vschema.RoutingRules.fromObject(e.routing_rules)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.routing_rules=null),null!=e.routing_rules&&e.hasOwnProperty("routing_rules")&&(r.routing_rules=s.vschema.RoutingRules.toObject(e.routing_rules,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSchemaRequest=function(){function e(e){if(this.tables=[],this.exclude_tables=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;case 3:n.exclude_tables&&n.exclude_tables.length||(n.exclude_tables=[]),n.exclude_tables.push(e.string());break;case 4:n.include_views=e.bool();break;case 5:n.table_names_only=e.bool();break;case 6:n.table_sizes_only=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var r=0;r>>3===1)n.schema=s.tabletmanagerdata.SchemaDefinition.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.schema&&e.hasOwnProperty("schema")){var t=s.tabletmanagerdata.SchemaDefinition.verify(e.schema);if(t)return"schema."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetSchemaResponse)return e;var t=new s.vtctldata.GetSchemaResponse;if(null!=e.schema){if("object"!==typeof e.schema)throw TypeError(".vtctldata.GetSchemaResponse.schema: object expected");t.schema=s.tabletmanagerdata.SchemaDefinition.fromObject(e.schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.schema=null),null!=e.schema&&e.hasOwnProperty("schema")&&(r.schema=s.tabletmanagerdata.SchemaDefinition.toObject(e.schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetShardRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard_name=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard_name&&e.hasOwnProperty("shard_name")&&!a.isString(e.shard_name)?"shard_name: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetShardRequest)return e;var t=new s.vtctldata.GetShardRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard_name&&(t.shard_name=String(e.shard_name)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard_name=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard_name&&e.hasOwnProperty("shard_name")&&(r.shard_name=e.shard_name),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetShardResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.shard=s.vtctldata.Shard.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.shard&&e.hasOwnProperty("shard")){var t=s.vtctldata.Shard.verify(e.shard);if(t)return"shard."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetShardResponse)return e;var t=new s.vtctldata.GetShardResponse;if(null!=e.shard){if("object"!==typeof e.shard)throw TypeError(".vtctldata.GetShardResponse.shard: object expected");t.shard=s.vtctldata.Shard.fromObject(e.shard)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.shard=null),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=s.vtctldata.Shard.toObject(e.shard,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSrvKeyspaceNamesRequest=function(){function e(e){if(this.cells=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1){l.names===a.emptyObject&&(l.names={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.GetSrvKeyspaceNamesResponse.NameList.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.names[r]=n}else e.skipType(7&c)}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.names&&e.hasOwnProperty("names")){if(!a.isObject(e.names))return"names: object expected";for(var t=Object.keys(e.names),r=0;r>>3===1)n.names&&n.names.length||(n.names=[]),n.names.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.names&&e.hasOwnProperty("names")){if(!Array.isArray(e.names))return"names: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1){l.srv_keyspaces===a.emptyObject&&(l.srv_keyspaces={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.topodata.SrvKeyspace.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.srv_keyspaces[r]=n}else e.skipType(7&c)}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.srv_keyspaces&&e.hasOwnProperty("srv_keyspaces")){if(!a.isObject(e.srv_keyspaces))return"srv_keyspaces: object expected";for(var t=Object.keys(e.srv_keyspaces),r=0;r>>3===1)n.cell=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetSrvVSchemaRequest)return e;var t=new s.vtctldata.GetSrvVSchemaRequest;return null!=e.cell&&(t.cell=String(e.cell)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.cell=""),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSrvVSchemaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.srv_v_schema=s.vschema.SrvVSchema.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.srv_v_schema&&e.hasOwnProperty("srv_v_schema")){var t=s.vschema.SrvVSchema.verify(e.srv_v_schema);if(t)return"srv_v_schema."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetSrvVSchemaResponse)return e;var t=new s.vtctldata.GetSrvVSchemaResponse;if(null!=e.srv_v_schema){if("object"!==typeof e.srv_v_schema)throw TypeError(".vtctldata.GetSrvVSchemaResponse.srv_v_schema: object expected");t.srv_v_schema=s.vschema.SrvVSchema.fromObject(e.srv_v_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.srv_v_schema=null),null!=e.srv_v_schema&&e.hasOwnProperty("srv_v_schema")&&(r.srv_v_schema=s.vschema.SrvVSchema.toObject(e.srv_v_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetSrvVSchemasRequest=function(){function e(e){if(this.cells=[],e)for(var t=Object.keys(e),r=0;r>>3===2)n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1){l.srv_v_schemas===a.emptyObject&&(l.srv_v_schemas={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vschema.SrvVSchema.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.srv_v_schemas[r]=n}else e.skipType(7&c)}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.srv_v_schemas&&e.hasOwnProperty("srv_v_schemas")){if(!a.isObject(e.srv_v_schemas))return"srv_v_schemas: object expected";for(var t=Object.keys(e.srv_v_schemas),r=0;r>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetTabletRequest)return e;var t=new s.vtctldata.GetTabletRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.GetTabletRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetTabletResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet=s.topodata.Tablet.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet&&e.hasOwnProperty("tablet")){var t=s.topodata.Tablet.verify(e.tablet);if(t)return"tablet."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetTabletResponse)return e;var t=new s.vtctldata.GetTabletResponse;if(null!=e.tablet){if("object"!==typeof e.tablet)throw TypeError(".vtctldata.GetTabletResponse.tablet: object expected");t.tablet=s.topodata.Tablet.fromObject(e.tablet)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet=null),null!=e.tablet&&e.hasOwnProperty("tablet")&&(r.tablet=s.topodata.Tablet.toObject(e.tablet,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetTabletsRequest=function(){function e(e){if(this.cells=[],this.tablet_aliases=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 4:n.strict=e.bool();break;case 5:n.tablet_aliases&&n.tablet_aliases.length||(n.tablet_aliases=[]),n.tablet_aliases.push(s.topodata.TabletAlias.decode(e,e.uint32()));break;case 6:n.tablet_type=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1)n.tablets&&n.tablets.length||(n.tablets=[]),n.tablets.push(s.topodata.Tablet.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablets&&e.hasOwnProperty("tablets")){if(!Array.isArray(e.tablets))return"tablets: array expected";for(var t=0;t>>3===1)n.keyspace=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetVSchemaRequest)return e;var t=new s.vtctldata.GetVSchemaRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetVersionRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetVersionRequest)return e;var t=new s.vtctldata.GetVersionRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.GetVersionRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetVersionResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.version=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.version&&e.hasOwnProperty("version")&&!a.isString(e.version)?"version: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetVersionResponse)return e;var t=new s.vtctldata.GetVersionResponse;return null!=e.version&&(t.version=String(e.version)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.version=""),null!=e.version&&e.hasOwnProperty("version")&&(r.version=e.version),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetVSchemaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.v_schema=s.vschema.Keyspace.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.v_schema&&e.hasOwnProperty("v_schema")){var t=s.vschema.Keyspace.verify(e.v_schema);if(t)return"v_schema."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetVSchemaResponse)return e;var t=new s.vtctldata.GetVSchemaResponse;if(null!=e.v_schema){if("object"!==typeof e.v_schema)throw TypeError(".vtctldata.GetVSchemaResponse.v_schema: object expected");t.v_schema=s.vschema.Keyspace.fromObject(e.v_schema)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.v_schema=null),null!=e.v_schema&&e.hasOwnProperty("v_schema")&&(r.v_schema=s.vschema.Keyspace.toObject(e.v_schema,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetWorkflowsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.active_only=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.active_only&&e.hasOwnProperty("active_only")&&"boolean"!==typeof e.active_only?"active_only: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.GetWorkflowsRequest)return e;var t=new s.vtctldata.GetWorkflowsRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.active_only&&(t.active_only=Boolean(e.active_only)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.active_only=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.active_only&&e.hasOwnProperty("active_only")&&(r.active_only=e.active_only),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.GetWorkflowsResponse=function(){function e(e){if(this.workflows=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.workflows&&n.workflows.length||(n.workflows=[]),n.workflows.push(s.vtctldata.Workflow.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.workflows&&e.hasOwnProperty("workflows")){if(!Array.isArray(e.workflows))return"workflows: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.primary_elect_tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.force=e.bool();break;case 5:n.wait_replicas_timeout=s.vttime.Duration.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";var t;if(null!=e.primary_elect_tablet_alias&&e.hasOwnProperty("primary_elect_tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.primary_elect_tablet_alias)))return"primary_elect_tablet_alias."+t;if(null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force)return"force: boolean expected";if(null!=e.wait_replicas_timeout&&e.hasOwnProperty("wait_replicas_timeout")&&(t=s.vttime.Duration.verify(e.wait_replicas_timeout)))return"wait_replicas_timeout."+t;return null},e.fromObject=function(e){if(e instanceof s.vtctldata.InitShardPrimaryRequest)return e;var t=new s.vtctldata.InitShardPrimaryRequest;if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.primary_elect_tablet_alias){if("object"!==typeof e.primary_elect_tablet_alias)throw TypeError(".vtctldata.InitShardPrimaryRequest.primary_elect_tablet_alias: object expected");t.primary_elect_tablet_alias=s.topodata.TabletAlias.fromObject(e.primary_elect_tablet_alias)}if(null!=e.force&&(t.force=Boolean(e.force)),null!=e.wait_replicas_timeout){if("object"!==typeof e.wait_replicas_timeout)throw TypeError(".vtctldata.InitShardPrimaryRequest.wait_replicas_timeout: object expected");t.wait_replicas_timeout=s.vttime.Duration.fromObject(e.wait_replicas_timeout)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.primary_elect_tablet_alias=null,r.force=!1,r.wait_replicas_timeout=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.primary_elect_tablet_alias&&e.hasOwnProperty("primary_elect_tablet_alias")&&(r.primary_elect_tablet_alias=s.topodata.TabletAlias.toObject(e.primary_elect_tablet_alias,t)),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),null!=e.wait_replicas_timeout&&e.hasOwnProperty("wait_replicas_timeout")&&(r.wait_replicas_timeout=s.vttime.Duration.toObject(e.wait_replicas_timeout,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.InitShardPrimaryResponse=function(){function e(e){if(this.events=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.events&&n.events.length||(n.events=[]),n.events.push(s.logutil.Event.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.events&&e.hasOwnProperty("events")){if(!Array.isArray(e.events))return"events: array expected";for(var t=0;t>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.PingTabletRequest)return e;var t=new s.vtctldata.PingTabletRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.PingTabletRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PingTabletResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.new_primary=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.avoid_primary=s.topodata.TabletAlias.decode(e,e.uint32());break;case 5:n.wait_replicas_timeout=s.vttime.Duration.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";var t;if(null!=e.new_primary&&e.hasOwnProperty("new_primary")&&(t=s.topodata.TabletAlias.verify(e.new_primary)))return"new_primary."+t;if(null!=e.avoid_primary&&e.hasOwnProperty("avoid_primary")&&(t=s.topodata.TabletAlias.verify(e.avoid_primary)))return"avoid_primary."+t;if(null!=e.wait_replicas_timeout&&e.hasOwnProperty("wait_replicas_timeout")&&(t=s.vttime.Duration.verify(e.wait_replicas_timeout)))return"wait_replicas_timeout."+t;return null},e.fromObject=function(e){if(e instanceof s.vtctldata.PlannedReparentShardRequest)return e;var t=new s.vtctldata.PlannedReparentShardRequest;if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.new_primary){if("object"!==typeof e.new_primary)throw TypeError(".vtctldata.PlannedReparentShardRequest.new_primary: object expected");t.new_primary=s.topodata.TabletAlias.fromObject(e.new_primary)}if(null!=e.avoid_primary){if("object"!==typeof e.avoid_primary)throw TypeError(".vtctldata.PlannedReparentShardRequest.avoid_primary: object expected");t.avoid_primary=s.topodata.TabletAlias.fromObject(e.avoid_primary)}if(null!=e.wait_replicas_timeout){if("object"!==typeof e.wait_replicas_timeout)throw TypeError(".vtctldata.PlannedReparentShardRequest.wait_replicas_timeout: object expected");t.wait_replicas_timeout=s.vttime.Duration.fromObject(e.wait_replicas_timeout)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.new_primary=null,r.avoid_primary=null,r.wait_replicas_timeout=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.new_primary&&e.hasOwnProperty("new_primary")&&(r.new_primary=s.topodata.TabletAlias.toObject(e.new_primary,t)),null!=e.avoid_primary&&e.hasOwnProperty("avoid_primary")&&(r.avoid_primary=s.topodata.TabletAlias.toObject(e.avoid_primary,t)),null!=e.wait_replicas_timeout&&e.hasOwnProperty("wait_replicas_timeout")&&(r.wait_replicas_timeout=s.vttime.Duration.toObject(e.wait_replicas_timeout,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.PlannedReparentShardResponse=function(){function e(e){if(this.events=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.promoted_primary=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.events&&n.events.length||(n.events=[]),n.events.push(s.logutil.Event.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.promoted_primary&&e.hasOwnProperty("promoted_primary")&&(r=s.topodata.TabletAlias.verify(e.promoted_primary)))return"promoted_primary."+r;if(null!=e.events&&e.hasOwnProperty("events")){if(!Array.isArray(e.events))return"events: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 3:n.allow_partial=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1)n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.RefreshStateRequest)return e;var t=new s.vtctldata.RefreshStateRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.RefreshStateRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RefreshStateResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3){case 1:n.is_partial_refresh=e.bool();break;case 2:n.partial_refresh_details=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.is_partial_refresh&&e.hasOwnProperty("is_partial_refresh")&&"boolean"!==typeof e.is_partial_refresh?"is_partial_refresh: boolean expected":null!=e.partial_refresh_details&&e.hasOwnProperty("partial_refresh_details")&&!a.isString(e.partial_refresh_details)?"partial_refresh_details: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.RefreshStateByShardResponse)return e;var t=new s.vtctldata.RefreshStateByShardResponse;return null!=e.is_partial_refresh&&(t.is_partial_refresh=Boolean(e.is_partial_refresh)),null!=e.partial_refresh_details&&(t.partial_refresh_details=String(e.partial_refresh_details)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.is_partial_refresh=!1,r.partial_refresh_details=""),null!=e.is_partial_refresh&&e.hasOwnProperty("is_partial_refresh")&&(r.is_partial_refresh=e.is_partial_refresh),null!=e.partial_refresh_details&&e.hasOwnProperty("partial_refresh_details")&&(r.partial_refresh_details=e.partial_refresh_details),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReloadSchemaRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ReloadSchemaRequest)return e;var t=new s.vtctldata.ReloadSchemaRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.ReloadSchemaRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReloadSchemaResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.wait_position=e.string();break;case 3:n.include_primary=e.bool();break;case 4:n.concurrency=e.uint32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.wait_position&&e.hasOwnProperty("wait_position")&&!a.isString(e.wait_position)?"wait_position: string expected":null!=e.include_primary&&e.hasOwnProperty("include_primary")&&"boolean"!==typeof e.include_primary?"include_primary: boolean expected":null!=e.concurrency&&e.hasOwnProperty("concurrency")&&!a.isInteger(e.concurrency)?"concurrency: integer expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ReloadSchemaKeyspaceRequest)return e;var t=new s.vtctldata.ReloadSchemaKeyspaceRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.wait_position&&(t.wait_position=String(e.wait_position)),null!=e.include_primary&&(t.include_primary=Boolean(e.include_primary)),null!=e.concurrency&&(t.concurrency=e.concurrency>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.wait_position="",r.include_primary=!1,r.concurrency=0),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.wait_position&&e.hasOwnProperty("wait_position")&&(r.wait_position=e.wait_position),null!=e.include_primary&&e.hasOwnProperty("include_primary")&&(r.include_primary=e.include_primary),null!=e.concurrency&&e.hasOwnProperty("concurrency")&&(r.concurrency=e.concurrency),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReloadSchemaKeyspaceResponse=function(){function e(e){if(this.events=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.events&&n.events.length||(n.events=[]),n.events.push(s.logutil.Event.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.events&&e.hasOwnProperty("events")){if(!Array.isArray(e.events))return"events: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.wait_position=e.string();break;case 4:n.include_primary=e.bool();break;case 5:n.concurrency=e.uint32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.wait_position&&e.hasOwnProperty("wait_position")&&!a.isString(e.wait_position)?"wait_position: string expected":null!=e.include_primary&&e.hasOwnProperty("include_primary")&&"boolean"!==typeof e.include_primary?"include_primary: boolean expected":null!=e.concurrency&&e.hasOwnProperty("concurrency")&&!a.isInteger(e.concurrency)?"concurrency: integer expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ReloadSchemaShardRequest)return e;var t=new s.vtctldata.ReloadSchemaShardRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.wait_position&&(t.wait_position=String(e.wait_position)),null!=e.include_primary&&(t.include_primary=Boolean(e.include_primary)),null!=e.concurrency&&(t.concurrency=e.concurrency>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.wait_position="",r.include_primary=!1,r.concurrency=0),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.wait_position&&e.hasOwnProperty("wait_position")&&(r.wait_position=e.wait_position),null!=e.include_primary&&e.hasOwnProperty("include_primary")&&(r.include_primary=e.include_primary),null!=e.concurrency&&e.hasOwnProperty("concurrency")&&(r.concurrency=e.concurrency),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReloadSchemaShardResponse=function(){function e(e){if(this.events=[],e)for(var t=Object.keys(e),r=0;r>>3===2)n.events&&n.events.length||(n.events=[]),n.events.push(s.logutil.Event.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.events&&e.hasOwnProperty("events")){if(!Array.isArray(e.events))return"events: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.name=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name)?"name: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.RemoveBackupRequest)return e;var t=new s.vtctldata.RemoveBackupRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.name&&(t.name=String(e.name)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.name=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RemoveBackupResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.cell=e.string();break;case 3:n.force=e.bool();break;case 4:n.recursive=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force?"force: boolean expected":null!=e.recursive&&e.hasOwnProperty("recursive")&&"boolean"!==typeof e.recursive?"recursive: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.RemoveKeyspaceCellRequest)return e;var t=new s.vtctldata.RemoveKeyspaceCellRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.cell&&(t.cell=String(e.cell)),null!=e.force&&(t.force=Boolean(e.force)),null!=e.recursive&&(t.recursive=Boolean(e.recursive)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.cell="",r.force=!1,r.recursive=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),null!=e.recursive&&e.hasOwnProperty("recursive")&&(r.recursive=e.recursive),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RemoveKeyspaceCellResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard_name=e.string();break;case 3:n.cell=e.string();break;case 4:n.force=e.bool();break;case 5:n.recursive=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard_name&&e.hasOwnProperty("shard_name")&&!a.isString(e.shard_name)?"shard_name: string expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force?"force: boolean expected":null!=e.recursive&&e.hasOwnProperty("recursive")&&"boolean"!==typeof e.recursive?"recursive: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.RemoveShardCellRequest)return e;var t=new s.vtctldata.RemoveShardCellRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard_name&&(t.shard_name=String(e.shard_name)),null!=e.cell&&(t.cell=String(e.cell)),null!=e.force&&(t.force=Boolean(e.force)),null!=e.recursive&&(t.recursive=Boolean(e.recursive)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard_name="",r.cell="",r.force=!1,r.recursive=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard_name&&e.hasOwnProperty("shard_name")&&(r.shard_name=e.shard_name),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),null!=e.recursive&&e.hasOwnProperty("recursive")&&(r.recursive=e.recursive),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RemoveShardCellResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet&&e.hasOwnProperty("tablet")){var t=s.topodata.TabletAlias.verify(e.tablet);if(t)return"tablet."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ReparentTabletRequest)return e;var t=new s.vtctldata.ReparentTabletRequest;if(null!=e.tablet){if("object"!==typeof e.tablet)throw TypeError(".vtctldata.ReparentTabletRequest.tablet: object expected");t.tablet=s.topodata.TabletAlias.fromObject(e.tablet)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet=null),null!=e.tablet&&e.hasOwnProperty("tablet")&&(r.tablet=s.topodata.TabletAlias.toObject(e.tablet,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ReparentTabletResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.primary=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.primary&&e.hasOwnProperty("primary")){var t=s.topodata.TabletAlias.verify(e.primary);if(t)return"primary."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ReparentTabletResponse)return e;var t=new s.vtctldata.ReparentTabletResponse;if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.primary){if("object"!==typeof e.primary)throw TypeError(".vtctldata.ReparentTabletResponse.primary: object expected");t.primary=s.topodata.TabletAlias.fromObject(e.primary)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.primary=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.primary&&e.hasOwnProperty("primary")&&(r.primary=s.topodata.TabletAlias.toObject(e.primary,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RestoreFromBackupRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.backup_time=s.vttime.Time.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;if(null!=e.backup_time&&e.hasOwnProperty("backup_time")&&(t=s.vttime.Time.verify(e.backup_time)))return"backup_time."+t;return null},e.fromObject=function(e){if(e instanceof s.vtctldata.RestoreFromBackupRequest)return e;var t=new s.vtctldata.RestoreFromBackupRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.RestoreFromBackupRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}if(null!=e.backup_time){if("object"!==typeof e.backup_time)throw TypeError(".vtctldata.RestoreFromBackupRequest.backup_time: object expected");t.backup_time=s.vttime.Time.fromObject(e.backup_time)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null,r.backup_time=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.backup_time&&e.hasOwnProperty("backup_time")&&(r.backup_time=s.vttime.Time.toObject(e.backup_time,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RestoreFromBackupResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.keyspace=e.string();break;case 3:n.shard=e.string();break;case 4:n.event=s.logutil.Event.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.event&&e.hasOwnProperty("event")&&(t=s.logutil.Event.verify(e.event)))return"event."+t;return null},e.fromObject=function(e){if(e instanceof s.vtctldata.RestoreFromBackupResponse)return e;var t=new s.vtctldata.RestoreFromBackupResponse;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.RestoreFromBackupResponse.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.event){if("object"!==typeof e.event)throw TypeError(".vtctldata.RestoreFromBackupResponse.event: object expected");t.event=s.logutil.Event.fromObject(e.event)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null,r.keyspace="",r.shard="",r.event=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.event&&e.hasOwnProperty("event")&&(r.event=s.logutil.Event.toObject(e.event,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RunHealthCheckRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.RunHealthCheckRequest)return e;var t=new s.vtctldata.RunHealthCheckRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.RunHealthCheckRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RunHealthCheckResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.tablet_type=e.int32();break;case 3:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 4:n.remove=e.bool();break;case 5:n.source_keyspace=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1)n.keyspace=s.topodata.Keyspace.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")){var t=s.topodata.Keyspace.verify(e.keyspace);if(t)return"keyspace."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.SetKeyspaceServedFromResponse)return e;var t=new s.vtctldata.SetKeyspaceServedFromResponse;if(null!=e.keyspace){if("object"!==typeof e.keyspace)throw TypeError(".vtctldata.SetKeyspaceServedFromResponse.keyspace: object expected");t.keyspace=s.topodata.Keyspace.fromObject(e.keyspace)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=s.topodata.Keyspace.toObject(e.keyspace,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetKeyspaceShardingInfoRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.column_name=e.string();break;case 3:n.column_type=e.int32();break;case 4:n.force=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.column_name&&e.hasOwnProperty("column_name")&&!a.isString(e.column_name))return"column_name: string expected";if(null!=e.column_type&&e.hasOwnProperty("column_type"))switch(e.column_type){default:return"column_type: enum value expected";case 0:case 1:case 2:}return null!=e.force&&e.hasOwnProperty("force")&&"boolean"!==typeof e.force?"force: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.SetKeyspaceShardingInfoRequest)return e;var t=new s.vtctldata.SetKeyspaceShardingInfoRequest;switch(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.column_name&&(t.column_name=String(e.column_name)),e.column_type){case"UNSET":case 0:t.column_type=0;break;case"UINT64":case 1:t.column_type=1;break;case"BYTES":case 2:t.column_type=2}return null!=e.force&&(t.force=Boolean(e.force)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.column_name="",r.column_type=t.enums===String?"UNSET":0,r.force=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.column_name&&e.hasOwnProperty("column_name")&&(r.column_name=e.column_name),null!=e.column_type&&e.hasOwnProperty("column_type")&&(r.column_type=t.enums===String?s.topodata.KeyspaceIdType[e.column_type]:e.column_type),null!=e.force&&e.hasOwnProperty("force")&&(r.force=e.force),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetKeyspaceShardingInfoResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.keyspace=s.topodata.Keyspace.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")){var t=s.topodata.Keyspace.verify(e.keyspace);if(t)return"keyspace."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.SetKeyspaceShardingInfoResponse)return e;var t=new s.vtctldata.SetKeyspaceShardingInfoResponse;if(null!=e.keyspace){if("object"!==typeof e.keyspace)throw TypeError(".vtctldata.SetKeyspaceShardingInfoResponse.keyspace: object expected");t.keyspace=s.topodata.Keyspace.fromObject(e.keyspace)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=s.topodata.Keyspace.toObject(e.keyspace,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetShardIsPrimaryServingRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.is_serving=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.is_serving&&e.hasOwnProperty("is_serving")&&"boolean"!==typeof e.is_serving?"is_serving: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.SetShardIsPrimaryServingRequest)return e;var t=new s.vtctldata.SetShardIsPrimaryServingRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.is_serving&&(t.is_serving=Boolean(e.is_serving)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.is_serving=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.is_serving&&e.hasOwnProperty("is_serving")&&(r.is_serving=e.is_serving),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetShardIsPrimaryServingResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.shard=s.topodata.Shard.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.shard&&e.hasOwnProperty("shard")){var t=s.topodata.Shard.verify(e.shard);if(t)return"shard."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.SetShardIsPrimaryServingResponse)return e;var t=new s.vtctldata.SetShardIsPrimaryServingResponse;if(null!=e.shard){if("object"!==typeof e.shard)throw TypeError(".vtctldata.SetShardIsPrimaryServingResponse.shard: object expected");t.shard=s.topodata.Shard.fromObject(e.shard)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.shard=null),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=s.topodata.Shard.toObject(e.shard,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetShardTabletControlRequest=function(){function e(e){if(this.cells=[],this.denied_tables=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.tablet_type=e.int32();break;case 4:n.cells&&n.cells.length||(n.cells=[]),n.cells.push(e.string());break;case 5:n.denied_tables&&n.denied_tables.length||(n.denied_tables=[]),n.denied_tables.push(e.string());break;case 6:n.disable_query_service=e.bool();break;case 7:n.remove=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}if(null!=e.cells&&e.hasOwnProperty("cells")){if(!Array.isArray(e.cells))return"cells: array expected";for(var t=0;t>>3===1)n.shard=s.topodata.Shard.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.shard&&e.hasOwnProperty("shard")){var t=s.topodata.Shard.verify(e.shard);if(t)return"shard."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.SetShardTabletControlResponse)return e;var t=new s.vtctldata.SetShardTabletControlResponse;if(null!=e.shard){if("object"!==typeof e.shard)throw TypeError(".vtctldata.SetShardTabletControlResponse.shard: object expected");t.shard=s.topodata.Shard.fromObject(e.shard)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.shard=null),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=s.topodata.Shard.toObject(e.shard,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetWritableRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.writable=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null!=e.writable&&e.hasOwnProperty("writable")&&"boolean"!==typeof e.writable?"writable: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.SetWritableRequest)return e;var t=new s.vtctldata.SetWritableRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.SetWritableRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return null!=e.writable&&(t.writable=Boolean(e.writable)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null,r.writable=!1),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.writable&&e.hasOwnProperty("writable")&&(r.writable=e.writable),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SetWritableResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ShardReplicationAddRequest)return e;var t=new s.vtctldata.ShardReplicationAddRequest;if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.ShardReplicationAddRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.tablet_alias=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShardReplicationAddResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.cell=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.cell&&e.hasOwnProperty("cell")&&!a.isString(e.cell)?"cell: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ShardReplicationFixRequest)return e;var t=new s.vtctldata.ShardReplicationFixRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.cell&&(t.cell=String(e.cell)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.cell=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.cell&&e.hasOwnProperty("cell")&&(r.cell=e.cell),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShardReplicationFixResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.error=s.topodata.ShardReplicationError.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.error&&e.hasOwnProperty("error")){var t=s.topodata.ShardReplicationError.verify(e.error);if(t)return"error."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ShardReplicationFixResponse)return e;var t=new s.vtctldata.ShardReplicationFixResponse;if(null!=e.error){if("object"!==typeof e.error)throw TypeError(".vtctldata.ShardReplicationFixResponse.error: object expected");t.error=s.topodata.ShardReplicationError.fromObject(e.error)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.error=null),null!=e.error&&e.hasOwnProperty("error")&&(r.error=s.topodata.ShardReplicationError.toObject(e.error,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShardReplicationPositionsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ShardReplicationPositionsRequest)return e;var t=new s.vtctldata.ShardReplicationPositionsRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShardReplicationPositionsResponse=function(){function e(e){if(this.replication_statuses={},this.tablet_map={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.replication_statuses===a.emptyObject&&(l.replication_statuses={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.replicationdata.Status.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.replication_statuses[r]=n;break;case 2:l.tablet_map===a.emptyObject&&(l.tablet_map={});u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.topodata.Tablet.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.tablet_map[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.replication_statuses&&e.hasOwnProperty("replication_statuses")){if(!a.isObject(e.replication_statuses))return"replication_statuses: object expected";for(var t=Object.keys(e.replication_statuses),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.ShardReplicationRemoveRequest)return e;var t=new s.vtctldata.ShardReplicationRemoveRequest;if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.ShardReplicationRemoveRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.tablet_alias=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ShardReplicationRemoveResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());break;case 2:n.duration=s.vttime.Duration.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(t=s.topodata.TabletAlias.verify(e.tablet_alias)))return"tablet_alias."+t;if(null!=e.duration&&e.hasOwnProperty("duration")&&(t=s.vttime.Duration.verify(e.duration)))return"duration."+t;return null},e.fromObject=function(e){if(e instanceof s.vtctldata.SleepTabletRequest)return e;var t=new s.vtctldata.SleepTabletRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.SleepTabletRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}if(null!=e.duration){if("object"!==typeof e.duration)throw TypeError(".vtctldata.SleepTabletRequest.duration: object expected");t.duration=s.vttime.Duration.fromObject(e.duration)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null,r.duration=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),null!=e.duration&&e.hasOwnProperty("duration")&&(r.duration=s.vttime.Duration.toObject(e.duration,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SleepTabletResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.uid=e.uint32();break;case 4:n.source_keyspace=e.string();break;case 5:n.source_shard=e.string();break;case 6:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 7:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.uid&&e.hasOwnProperty("uid")&&!a.isInteger(e.uid))return"uid: integer expected";if(null!=e.source_keyspace&&e.hasOwnProperty("source_keyspace")&&!a.isString(e.source_keyspace))return"source_keyspace: string expected";if(null!=e.source_shard&&e.hasOwnProperty("source_shard")&&!a.isString(e.source_shard))return"source_shard: string expected";if(null!=e.key_range&&e.hasOwnProperty("key_range")){var t=s.topodata.KeyRange.verify(e.key_range);if(t)return"key_range."+t}if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var r=0;r>>0),null!=e.source_keyspace&&(t.source_keyspace=String(e.source_keyspace)),null!=e.source_shard&&(t.source_shard=String(e.source_shard)),null!=e.key_range){if("object"!==typeof e.key_range)throw TypeError(".vtctldata.SourceShardAddRequest.key_range: object expected");t.key_range=s.topodata.KeyRange.fromObject(e.key_range)}if(e.tables){if(!Array.isArray(e.tables))throw TypeError(".vtctldata.SourceShardAddRequest.tables: array expected");t.tables=[];for(var r=0;r>>3===1)n.shard=s.topodata.Shard.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.shard&&e.hasOwnProperty("shard")){var t=s.topodata.Shard.verify(e.shard);if(t)return"shard."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.SourceShardAddResponse)return e;var t=new s.vtctldata.SourceShardAddResponse;if(null!=e.shard){if("object"!==typeof e.shard)throw TypeError(".vtctldata.SourceShardAddResponse.shard: object expected");t.shard=s.topodata.Shard.fromObject(e.shard)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.shard=null),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=s.topodata.Shard.toObject(e.shard,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SourceShardDeleteRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.uid=e.uint32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.uid&&e.hasOwnProperty("uid")&&!a.isInteger(e.uid)?"uid: integer expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.SourceShardDeleteRequest)return e;var t=new s.vtctldata.SourceShardDeleteRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.uid&&(t.uid=e.uid>>>0),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.uid=0),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.uid&&e.hasOwnProperty("uid")&&(r.uid=e.uid),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.SourceShardDeleteResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.shard=s.topodata.Shard.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.shard&&e.hasOwnProperty("shard")){var t=s.topodata.Shard.verify(e.shard);if(t)return"shard."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.SourceShardDeleteResponse)return e;var t=new s.vtctldata.SourceShardDeleteResponse;if(null!=e.shard){if("object"!==typeof e.shard)throw TypeError(".vtctldata.SourceShardDeleteResponse.shard: object expected");t.shard=s.topodata.Shard.fromObject(e.shard)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.shard=null),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=s.topodata.Shard.toObject(e.shard,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartReplicationRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.StartReplicationRequest)return e;var t=new s.vtctldata.StartReplicationRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.StartReplicationRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StartReplicationResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet_alias=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")){var t=s.topodata.TabletAlias.verify(e.tablet_alias);if(t)return"tablet_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.StopReplicationRequest)return e;var t=new s.vtctldata.StopReplicationRequest;if(null!=e.tablet_alias){if("object"!==typeof e.tablet_alias)throw TypeError(".vtctldata.StopReplicationRequest.tablet_alias: object expected");t.tablet_alias=s.topodata.TabletAlias.fromObject(e.tablet_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet_alias=null),null!=e.tablet_alias&&e.hasOwnProperty("tablet_alias")&&(r.tablet_alias=s.topodata.TabletAlias.toObject(e.tablet_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StopReplicationResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.tablet=s.topodata.TabletAlias.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tablet&&e.hasOwnProperty("tablet")){var t=s.topodata.TabletAlias.verify(e.tablet);if(t)return"tablet."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.TabletExternallyReparentedRequest)return e;var t=new s.vtctldata.TabletExternallyReparentedRequest;if(null!=e.tablet){if("object"!==typeof e.tablet)throw TypeError(".vtctldata.TabletExternallyReparentedRequest.tablet: object expected");t.tablet=s.topodata.TabletAlias.fromObject(e.tablet)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.tablet=null),null!=e.tablet&&e.hasOwnProperty("tablet")&&(r.tablet=s.topodata.TabletAlias.toObject(e.tablet,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TabletExternallyReparentedResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.new_primary=s.topodata.TabletAlias.decode(e,e.uint32());break;case 4:n.old_primary=s.topodata.TabletAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";var t;if(null!=e.new_primary&&e.hasOwnProperty("new_primary")&&(t=s.topodata.TabletAlias.verify(e.new_primary)))return"new_primary."+t;if(null!=e.old_primary&&e.hasOwnProperty("old_primary")&&(t=s.topodata.TabletAlias.verify(e.old_primary)))return"old_primary."+t;return null},e.fromObject=function(e){if(e instanceof s.vtctldata.TabletExternallyReparentedResponse)return e;var t=new s.vtctldata.TabletExternallyReparentedResponse;if(null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.new_primary){if("object"!==typeof e.new_primary)throw TypeError(".vtctldata.TabletExternallyReparentedResponse.new_primary: object expected");t.new_primary=s.topodata.TabletAlias.fromObject(e.new_primary)}if(null!=e.old_primary){if("object"!==typeof e.old_primary)throw TypeError(".vtctldata.TabletExternallyReparentedResponse.old_primary: object expected");t.old_primary=s.topodata.TabletAlias.fromObject(e.old_primary)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.new_primary=null,r.old_primary=null),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.new_primary&&e.hasOwnProperty("new_primary")&&(r.new_primary=s.topodata.TabletAlias.toObject(e.new_primary,t)),null!=e.old_primary&&e.hasOwnProperty("old_primary")&&(r.old_primary=s.topodata.TabletAlias.toObject(e.old_primary,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UpdateCellInfoRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.cell_info=s.topodata.CellInfo.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.cell_info&&e.hasOwnProperty("cell_info")){var t=s.topodata.CellInfo.verify(e.cell_info);if(t)return"cell_info."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.UpdateCellInfoRequest)return e;var t=new s.vtctldata.UpdateCellInfoRequest;if(null!=e.name&&(t.name=String(e.name)),null!=e.cell_info){if("object"!==typeof e.cell_info)throw TypeError(".vtctldata.UpdateCellInfoRequest.cell_info: object expected");t.cell_info=s.topodata.CellInfo.fromObject(e.cell_info)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.cell_info=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.cell_info&&e.hasOwnProperty("cell_info")&&(r.cell_info=s.topodata.CellInfo.toObject(e.cell_info,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UpdateCellInfoResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.cell_info=s.topodata.CellInfo.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.cell_info&&e.hasOwnProperty("cell_info")){var t=s.topodata.CellInfo.verify(e.cell_info);if(t)return"cell_info."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.UpdateCellInfoResponse)return e;var t=new s.vtctldata.UpdateCellInfoResponse;if(null!=e.name&&(t.name=String(e.name)),null!=e.cell_info){if("object"!==typeof e.cell_info)throw TypeError(".vtctldata.UpdateCellInfoResponse.cell_info: object expected");t.cell_info=s.topodata.CellInfo.fromObject(e.cell_info)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.cell_info=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.cell_info&&e.hasOwnProperty("cell_info")&&(r.cell_info=s.topodata.CellInfo.toObject(e.cell_info,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UpdateCellsAliasRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.cells_alias=s.topodata.CellsAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.cells_alias&&e.hasOwnProperty("cells_alias")){var t=s.topodata.CellsAlias.verify(e.cells_alias);if(t)return"cells_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.UpdateCellsAliasRequest)return e;var t=new s.vtctldata.UpdateCellsAliasRequest;if(null!=e.name&&(t.name=String(e.name)),null!=e.cells_alias){if("object"!==typeof e.cells_alias)throw TypeError(".vtctldata.UpdateCellsAliasRequest.cells_alias: object expected");t.cells_alias=s.topodata.CellsAlias.fromObject(e.cells_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.cells_alias=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.cells_alias&&e.hasOwnProperty("cells_alias")&&(r.cells_alias=s.topodata.CellsAlias.toObject(e.cells_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.UpdateCellsAliasResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.cells_alias=s.topodata.CellsAlias.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.name&&e.hasOwnProperty("name")&&!a.isString(e.name))return"name: string expected";if(null!=e.cells_alias&&e.hasOwnProperty("cells_alias")){var t=s.topodata.CellsAlias.verify(e.cells_alias);if(t)return"cells_alias."+t}return null},e.fromObject=function(e){if(e instanceof s.vtctldata.UpdateCellsAliasResponse)return e;var t=new s.vtctldata.UpdateCellsAliasResponse;if(null!=e.name&&(t.name=String(e.name)),null!=e.cells_alias){if("object"!==typeof e.cells_alias)throw TypeError(".vtctldata.UpdateCellsAliasResponse.cells_alias: object expected");t.cells_alias=s.topodata.CellsAlias.fromObject(e.cells_alias)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.name="",r.cells_alias=null),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),null!=e.cells_alias&&e.hasOwnProperty("cells_alias")&&(r.cells_alias=s.topodata.CellsAlias.toObject(e.cells_alias,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.ping_tablets=e.bool();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&"boolean"!==typeof e.ping_tablets?"ping_tablets: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ValidateRequest)return e;var t=new s.vtctldata.ValidateRequest;return null!=e.ping_tablets&&(t.ping_tablets=Boolean(e.ping_tablets)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.ping_tablets=!1),null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&(r.ping_tablets=e.ping_tablets),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateResponse=function(){function e(e){if(this.results=[],this.results_by_keyspace={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.results&&l.results.length||(l.results=[]),l.results.push(e.string());break;case 2:l.results_by_keyspace===a.emptyObject&&(l.results_by_keyspace={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.ValidateKeyspaceResponse.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.results_by_keyspace[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.ping_tablets=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&"boolean"!==typeof e.ping_tablets?"ping_tablets: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ValidateKeyspaceRequest)return e;var t=new s.vtctldata.ValidateKeyspaceRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.ping_tablets&&(t.ping_tablets=Boolean(e.ping_tablets)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.ping_tablets=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&(r.ping_tablets=e.ping_tablets),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateKeyspaceResponse=function(){function e(e){if(this.results=[],this.results_by_shard={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.results&&l.results.length||(l.results=[]),l.results.push(e.string());break;case 2:l.results_by_shard===a.emptyObject&&(l.results_by_shard={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.ValidateShardResponse.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.results_by_shard[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.exclude_tables&&n.exclude_tables.length||(n.exclude_tables=[]),n.exclude_tables.push(e.string());break;case 3:n.include_views=e.bool();break;case 4:n.skip_no_primary=e.bool();break;case 5:n.include_vschema=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.exclude_tables&&e.hasOwnProperty("exclude_tables")){if(!Array.isArray(e.exclude_tables))return"exclude_tables: array expected";for(var t=0;t>>3){case 1:l.results&&l.results.length||(l.results=[]),l.results.push(e.string());break;case 2:l.results_by_shard===a.emptyObject&&(l.results_by_shard={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.ValidateShardResponse.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.results_by_shard[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.ping_tablets=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&"boolean"!==typeof e.ping_tablets?"ping_tablets: boolean expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ValidateShardRequest)return e;var t=new s.vtctldata.ValidateShardRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),null!=e.ping_tablets&&(t.ping_tablets=Boolean(e.ping_tablets)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard="",r.ping_tablets=!1),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),null!=e.ping_tablets&&e.hasOwnProperty("ping_tablets")&&(r.ping_tablets=e.ping_tablets),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateShardResponse=function(){function e(e){if(this.results=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.results&&n.results.length||(n.results=[]),n.results.push(e.string());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3===1)n.keyspace=e.string();else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null},e.fromObject=function(e){if(e instanceof s.vtctldata.ValidateVersionKeyspaceRequest)return e;var t=new s.vtctldata.ValidateVersionKeyspaceRequest;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.ValidateVersionKeyspaceResponse=function(){function e(e){if(this.results=[],this.results_by_shard={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.results&&l.results.length||(l.results=[]),l.results.push(e.string());break;case 2:l.results_by_shard===a.emptyObject&&(l.results_by_shard={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.ValidateShardResponse.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.results_by_shard[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shards&&n.shards.length||(n.shards=[]),n.shards.push(e.string());break;case 3:n.exclude_tables&&n.exclude_tables.length||(n.exclude_tables=[]),n.exclude_tables.push(e.string());break;case 4:n.include_views=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shards&&e.hasOwnProperty("shards")){if(!Array.isArray(e.shards))return"shards: array expected";for(var t=0;t>>3){case 1:l.results&&l.results.length||(l.results=[]),l.results.push(e.string());break;case 2:l.results_by_shard===a.emptyObject&&(l.results_by_shard={});var u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.vtctldata.ValidateShardResponse.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.results_by_shard[r]=n;break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.results&&e.hasOwnProperty("results")){if(!Array.isArray(e.results))return"results: array expected";for(var t=0;t>>3){case 1:n.client=e.int32();break;case 2:n.conn=e.int32();break;case 3:n.server=e.int32();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.client&&e.hasOwnProperty("client")&&!a.isInteger(e.client)?"client: integer expected":null!=e.conn&&e.hasOwnProperty("conn")&&!a.isInteger(e.conn)?"conn: integer expected":null!=e.server&&e.hasOwnProperty("server")&&!a.isInteger(e.server)?"server: integer expected":null},e.fromObject=function(e){if(e instanceof s.binlogdata.Charset)return e;var t=new s.binlogdata.Charset;return null!=e.client&&(t.client=0|e.client),null!=e.conn&&(t.conn=0|e.conn),null!=e.server&&(t.server=0|e.server),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.client=0,r.conn=0,r.server=0),null!=e.client&&e.hasOwnProperty("client")&&(r.client=e.client),null!=e.conn&&e.hasOwnProperty("conn")&&(r.conn=e.conn),null!=e.server&&e.hasOwnProperty("server")&&(r.server=e.server),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.BinlogTransaction=function(){function e(e){if(this.statements=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.statements&&n.statements.length||(n.statements=[]),n.statements.push(s.binlogdata.BinlogTransaction.Statement.decode(e,e.uint32()));break;case 4:n.event_token=s.query.EventToken.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.statements&&e.hasOwnProperty("statements")){if(!Array.isArray(e.statements))return"statements: array expected";for(var t=0;t>>3){case 1:n.category=e.int32();break;case 2:n.charset=s.binlogdata.Charset.decode(e,e.uint32());break;case 3:n.sql=e.bytes();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.category&&e.hasOwnProperty("category"))switch(e.category){default:return"category: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:}if(null!=e.charset&&e.hasOwnProperty("charset")){var t=s.binlogdata.Charset.verify(e.charset);if(t)return"charset."+t}return null!=e.sql&&e.hasOwnProperty("sql")&&!(e.sql&&"number"===typeof e.sql.length||a.isString(e.sql))?"sql: buffer expected":null},e.fromObject=function(e){if(e instanceof s.binlogdata.BinlogTransaction.Statement)return e;var t=new s.binlogdata.BinlogTransaction.Statement;switch(e.category){case"BL_UNRECOGNIZED":case 0:t.category=0;break;case"BL_BEGIN":case 1:t.category=1;break;case"BL_COMMIT":case 2:t.category=2;break;case"BL_ROLLBACK":case 3:t.category=3;break;case"BL_DML_DEPRECATED":case 4:t.category=4;break;case"BL_DDL":case 5:t.category=5;break;case"BL_SET":case 6:t.category=6;break;case"BL_INSERT":case 7:t.category=7;break;case"BL_UPDATE":case 8:t.category=8;break;case"BL_DELETE":case 9:t.category=9}if(null!=e.charset){if("object"!==typeof e.charset)throw TypeError(".binlogdata.BinlogTransaction.Statement.charset: object expected");t.charset=s.binlogdata.Charset.fromObject(e.charset)}return null!=e.sql&&("string"===typeof e.sql?a.base64.decode(e.sql,t.sql=a.newBuffer(a.base64.length(e.sql)),0):e.sql.length&&(t.sql=e.sql)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.category=t.enums===String?"BL_UNRECOGNIZED":0,r.charset=null,t.bytes===String?r.sql="":(r.sql=[],t.bytes!==Array&&(r.sql=a.newBuffer(r.sql)))),null!=e.category&&e.hasOwnProperty("category")&&(r.category=t.enums===String?s.binlogdata.BinlogTransaction.Statement.Category[e.category]:e.category),null!=e.charset&&e.hasOwnProperty("charset")&&(r.charset=s.binlogdata.Charset.toObject(e.charset,t)),null!=e.sql&&e.hasOwnProperty("sql")&&(r.sql=t.bytes===String?a.base64.encode(e.sql,0,e.sql.length):t.bytes===Array?Array.prototype.slice.call(e.sql):e.sql),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.Category=function(){var e={},t=Object.create(e);return t[e[0]="BL_UNRECOGNIZED"]=0,t[e[1]="BL_BEGIN"]=1,t[e[2]="BL_COMMIT"]=2,t[e[3]="BL_ROLLBACK"]=3,t[e[4]="BL_DML_DEPRECATED"]=4,t[e[5]="BL_DDL"]=5,t[e[6]="BL_SET"]=6,t[e[7]="BL_INSERT"]=7,t[e[8]="BL_UPDATE"]=8,t[e[9]="BL_DELETE"]=9,t}(),e}(),e}(),e.StreamKeyRangeRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 3:n.charset=s.binlogdata.Charset.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position))return"position: string expected";var t;if(null!=e.key_range&&e.hasOwnProperty("key_range")&&(t=s.topodata.KeyRange.verify(e.key_range)))return"key_range."+t;if(null!=e.charset&&e.hasOwnProperty("charset")&&(t=s.binlogdata.Charset.verify(e.charset)))return"charset."+t;return null},e.fromObject=function(e){if(e instanceof s.binlogdata.StreamKeyRangeRequest)return e;var t=new s.binlogdata.StreamKeyRangeRequest;if(null!=e.position&&(t.position=String(e.position)),null!=e.key_range){if("object"!==typeof e.key_range)throw TypeError(".binlogdata.StreamKeyRangeRequest.key_range: object expected");t.key_range=s.topodata.KeyRange.fromObject(e.key_range)}if(null!=e.charset){if("object"!==typeof e.charset)throw TypeError(".binlogdata.StreamKeyRangeRequest.charset: object expected");t.charset=s.binlogdata.Charset.fromObject(e.charset)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.position="",r.key_range=null,r.charset=null),null!=e.position&&e.hasOwnProperty("position")&&(r.position=e.position),null!=e.key_range&&e.hasOwnProperty("key_range")&&(r.key_range=s.topodata.KeyRange.toObject(e.key_range,t)),null!=e.charset&&e.hasOwnProperty("charset")&&(r.charset=s.binlogdata.Charset.toObject(e.charset,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamKeyRangeResponse=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3===1)n.binlog_transaction=s.binlogdata.BinlogTransaction.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.binlog_transaction&&e.hasOwnProperty("binlog_transaction")){var t=s.binlogdata.BinlogTransaction.verify(e.binlog_transaction);if(t)return"binlog_transaction."+t}return null},e.fromObject=function(e){if(e instanceof s.binlogdata.StreamKeyRangeResponse)return e;var t=new s.binlogdata.StreamKeyRangeResponse;if(null!=e.binlog_transaction){if("object"!==typeof e.binlog_transaction)throw TypeError(".binlogdata.StreamKeyRangeResponse.binlog_transaction: object expected");t.binlog_transaction=s.binlogdata.BinlogTransaction.fromObject(e.binlog_transaction)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.binlog_transaction=null),null!=e.binlog_transaction&&e.hasOwnProperty("binlog_transaction")&&(r.binlog_transaction=s.binlogdata.BinlogTransaction.toObject(e.binlog_transaction,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.StreamTablesRequest=function(){function e(e){if(this.tables=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.position=e.string();break;case 2:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;case 3:n.charset=s.binlogdata.Charset.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position))return"position: string expected";if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var t=0;t>>3===1)n.binlog_transaction=s.binlogdata.BinlogTransaction.decode(e,e.uint32());else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.binlog_transaction&&e.hasOwnProperty("binlog_transaction")){var t=s.binlogdata.BinlogTransaction.verify(e.binlog_transaction);if(t)return"binlog_transaction."+t}return null},e.fromObject=function(e){if(e instanceof s.binlogdata.StreamTablesResponse)return e;var t=new s.binlogdata.StreamTablesResponse;if(null!=e.binlog_transaction){if("object"!==typeof e.binlog_transaction)throw TypeError(".binlogdata.StreamTablesResponse.binlog_transaction: object expected");t.binlog_transaction=s.binlogdata.BinlogTransaction.fromObject(e.binlog_transaction)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.binlog_transaction=null),null!=e.binlog_transaction&&e.hasOwnProperty("binlog_transaction")&&(r.binlog_transaction=s.binlogdata.BinlogTransaction.toObject(e.binlog_transaction,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.CharsetConversion=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.from_charset=e.string();break;case 2:n.to_charset=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.from_charset&&e.hasOwnProperty("from_charset")&&!a.isString(e.from_charset)?"from_charset: string expected":null!=e.to_charset&&e.hasOwnProperty("to_charset")&&!a.isString(e.to_charset)?"to_charset: string expected":null},e.fromObject=function(e){if(e instanceof s.binlogdata.CharsetConversion)return e;var t=new s.binlogdata.CharsetConversion;return null!=e.from_charset&&(t.from_charset=String(e.from_charset)),null!=e.to_charset&&(t.to_charset=String(e.to_charset)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.from_charset="",r.to_charset=""),null!=e.from_charset&&e.hasOwnProperty("from_charset")&&(r.from_charset=e.from_charset),null!=e.to_charset&&e.hasOwnProperty("to_charset")&&(r.to_charset=e.to_charset),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.Rule=function(){function e(e){if(this.convert_enum_to_text={},this.convert_charset={},e)for(var t=Object.keys(e),r=0;r>>3){case 1:l.match=e.string();break;case 2:l.filter=e.string();break;case 3:l.convert_enum_to_text===a.emptyObject&&(l.convert_enum_to_text={});var u=e.uint32()+e.pos;for(r="",n="";e.pos>>3){case 1:r=e.string();break;case 2:n=e.string();break;default:e.skipType(7&d)}}l.convert_enum_to_text[r]=n;break;case 4:l.convert_charset===a.emptyObject&&(l.convert_charset={});u=e.uint32()+e.pos;for(r="",n=null;e.pos>>3){case 1:r=e.string();break;case 2:n=s.binlogdata.CharsetConversion.decode(e,e.uint32());break;default:e.skipType(7&d)}}l.convert_charset[r]=n;break;case 5:l.source_unique_key_columns=e.string();break;case 6:l.target_unique_key_columns=e.string();break;case 7:l.source_unique_key_target_columns=e.string();break;default:e.skipType(7&c)}}return l},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.match&&e.hasOwnProperty("match")&&!a.isString(e.match))return"match: string expected";if(null!=e.filter&&e.hasOwnProperty("filter")&&!a.isString(e.filter))return"filter: string expected";if(null!=e.convert_enum_to_text&&e.hasOwnProperty("convert_enum_to_text")){if(!a.isObject(e.convert_enum_to_text))return"convert_enum_to_text: object expected";for(var t=Object.keys(e.convert_enum_to_text),r=0;r>>3){case 1:n.rules&&n.rules.length||(n.rules=[]),n.rules.push(s.binlogdata.Rule.decode(e,e.uint32()));break;case 2:n.field_event_mode=e.int32();break;case 3:n.workflow_type=e.int64();break;case 4:n.workflow_name=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.rules&&e.hasOwnProperty("rules")){if(!Array.isArray(e.rules))return"rules: array expected";for(var t=0;t>>0,e.workflow_type.high>>>0).toNumber())),null!=e.workflow_name&&(t.workflow_name=String(e.workflow_name)),t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.rules=[]),t.defaults){if(r.field_event_mode=t.enums===String?"ERR_ON_MISMATCH":0,a.Long){var n=new a.Long(0,0,!1);r.workflow_type=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.workflow_type=t.longs===String?"0":0;r.workflow_name=""}if(e.rules&&e.rules.length){r.rules=[];for(var i=0;i>>0,e.workflow_type.high>>>0).toNumber():e.workflow_type),null!=e.workflow_name&&e.hasOwnProperty("workflow_name")&&(r.workflow_name=e.workflow_name),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e.FieldEventMode=function(){var e={},t=Object.create(e);return t[e[0]="ERR_ON_MISMATCH"]=0,t[e[1]="BEST_EFFORT"]=1,t}(),e}(),e.OnDDLAction=function(){var e={},t=Object.create(e);return t[e[0]="IGNORE"]=0,t[e[1]="STOP"]=1,t[e[2]="EXEC"]=2,t[e[3]="EXEC_IGNORE"]=3,t}(),e.VReplicationWorkflowType=function(){var e={},t=Object.create(e);return t[e[0]="MATERIALIZE"]=0,t[e[1]="MOVETABLES"]=1,t[e[2]="CREATELOOKUPINDEX"]=2,t[e[3]="MIGRATE"]=3,t[e[4]="RESHARD"]=4,t[e[5]="ONLINEDDL"]=5,t}(),e.BinlogSource=function(){function e(e){if(this.tables=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.tablet_type=e.int32();break;case 4:n.key_range=s.topodata.KeyRange.decode(e,e.uint32());break;case 5:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;case 6:n.filter=s.binlogdata.Filter.decode(e,e.uint32());break;case 7:n.on_ddl=e.int32();break;case 8:n.external_mysql=e.string();break;case 9:n.stop_after_copy=e.bool();break;case 10:n.external_cluster=e.string();break;case 11:n.source_time_zone=e.string();break;case 12:n.target_time_zone=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.tablet_type&&e.hasOwnProperty("tablet_type"))switch(e.tablet_type){default:return"tablet_type: enum value expected";case 0:case 1:case 1:case 2:case 3:case 3:case 4:case 5:case 6:case 7:case 8:}var t;if(null!=e.key_range&&e.hasOwnProperty("key_range")&&(t=s.topodata.KeyRange.verify(e.key_range)))return"key_range."+t;if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var r=0;r>>3){case 1:n.before=s.query.Row.decode(e,e.uint32());break;case 2:n.after=s.query.Row.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.before&&e.hasOwnProperty("before")&&(t=s.query.Row.verify(e.before)))return"before."+t;if(null!=e.after&&e.hasOwnProperty("after")&&(t=s.query.Row.verify(e.after)))return"after."+t;return null},e.fromObject=function(e){if(e instanceof s.binlogdata.RowChange)return e;var t=new s.binlogdata.RowChange;if(null!=e.before){if("object"!==typeof e.before)throw TypeError(".binlogdata.RowChange.before: object expected");t.before=s.query.Row.fromObject(e.before)}if(null!=e.after){if("object"!==typeof e.after)throw TypeError(".binlogdata.RowChange.after: object expected");t.after=s.query.Row.fromObject(e.after)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.before=null,r.after=null),null!=e.before&&e.hasOwnProperty("before")&&(r.before=s.query.Row.toObject(e.before,t)),null!=e.after&&e.hasOwnProperty("after")&&(r.after=s.query.Row.toObject(e.after,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.RowEvent=function(){function e(e){if(this.row_changes=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.table_name=e.string();break;case 2:n.row_changes&&n.row_changes.length||(n.row_changes=[]),n.row_changes.push(s.binlogdata.RowChange.decode(e,e.uint32()));break;case 3:n.keyspace=e.string();break;case 4:n.shard=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.table_name&&e.hasOwnProperty("table_name")&&!a.isString(e.table_name))return"table_name: string expected";if(null!=e.row_changes&&e.hasOwnProperty("row_changes")){if(!Array.isArray(e.row_changes))return"row_changes: array expected";for(var t=0;t>>3){case 1:n.table_name=e.string();break;case 2:n.fields&&n.fields.length||(n.fields=[]),n.fields.push(s.query.Field.decode(e,e.uint32()));break;case 3:n.keyspace=e.string();break;case 4:n.shard=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.table_name&&e.hasOwnProperty("table_name")&&!a.isString(e.table_name))return"table_name: string expected";if(null!=e.fields&&e.hasOwnProperty("fields")){if(!Array.isArray(e.fields))return"fields: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;case 3:n.gtid=e.string();break;case 4:n.table_p_ks&&n.table_p_ks.length||(n.table_p_ks=[]),n.table_p_ks.push(s.binlogdata.TableLastPK.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace))return"keyspace: string expected";if(null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard))return"shard: string expected";if(null!=e.gtid&&e.hasOwnProperty("gtid")&&!a.isString(e.gtid))return"gtid: string expected";if(null!=e.table_p_ks&&e.hasOwnProperty("table_p_ks")){if(!Array.isArray(e.table_p_ks))return"table_p_ks: array expected";for(var t=0;t>>3===1)n.shard_gtids&&n.shard_gtids.length||(n.shard_gtids=[]),n.shard_gtids.push(s.binlogdata.ShardGtid.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.shard_gtids&&e.hasOwnProperty("shard_gtids")){if(!Array.isArray(e.shard_gtids))return"shard_gtids: array expected";for(var t=0;t>>3){case 1:n.keyspace=e.string();break;case 2:n.shard=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){return"object"!==typeof e||null===e?"object expected":null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null},e.fromObject=function(e){if(e instanceof s.binlogdata.KeyspaceShard)return e;var t=new s.binlogdata.KeyspaceShard;return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.keyspace="",r.shard=""),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MigrationType=function(){var e={},t=Object.create(e);return t[e[0]="TABLES"]=0,t[e[1]="SHARDS"]=1,t}(),e.Journal=function(){function e(e){if(this.tables=[],this.shard_gtids=[],this.participants=[],this.source_workflows=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.id=e.int64();break;case 2:n.migration_type=e.int32();break;case 3:n.tables&&n.tables.length||(n.tables=[]),n.tables.push(e.string());break;case 4:n.local_position=e.string();break;case 5:n.shard_gtids&&n.shard_gtids.length||(n.shard_gtids=[]),n.shard_gtids.push(s.binlogdata.ShardGtid.decode(e,e.uint32()));break;case 6:n.participants&&n.participants.length||(n.participants=[]),n.participants.push(s.binlogdata.KeyspaceShard.decode(e,e.uint32()));break;case 7:n.source_workflows&&n.source_workflows.length||(n.source_workflows=[]),n.source_workflows.push(e.string());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.id&&e.hasOwnProperty("id")&&!a.isInteger(e.id)&&!(e.id&&a.isInteger(e.id.low)&&a.isInteger(e.id.high)))return"id: integer|Long expected";if(null!=e.migration_type&&e.hasOwnProperty("migration_type"))switch(e.migration_type){default:return"migration_type: enum value expected";case 0:case 1:}if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var t=0;t>>0,e.id.high>>>0).toNumber())),e.migration_type){case"TABLES":case 0:t.migration_type=0;break;case"SHARDS":case 1:t.migration_type=1}if(e.tables){if(!Array.isArray(e.tables))throw TypeError(".binlogdata.Journal.tables: array expected");t.tables=[];for(var r=0;r>>0,e.id.high>>>0).toNumber():e.id),null!=e.migration_type&&e.hasOwnProperty("migration_type")&&(r.migration_type=t.enums===String?s.binlogdata.MigrationType[e.migration_type]:e.migration_type),e.tables&&e.tables.length){r.tables=[];for(var i=0;i>>3){case 1:n.type=e.int32();break;case 2:n.timestamp=e.int64();break;case 3:n.gtid=e.string();break;case 4:n.statement=e.string();break;case 5:n.row_event=s.binlogdata.RowEvent.decode(e,e.uint32());break;case 6:n.field_event=s.binlogdata.FieldEvent.decode(e,e.uint32());break;case 7:n.vgtid=s.binlogdata.VGtid.decode(e,e.uint32());break;case 8:n.journal=s.binlogdata.Journal.decode(e,e.uint32());break;case 9:n.dml=e.string();break;case 20:n.current_time=e.int64();break;case 21:n.last_p_k_event=s.binlogdata.LastPKEvent.decode(e,e.uint32());break;case 22:n.keyspace=e.string();break;case 23:n.shard=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.type&&e.hasOwnProperty("type"))switch(e.type){default:return"type: enum value expected";case 0:case 1:case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:}if(null!=e.timestamp&&e.hasOwnProperty("timestamp")&&!a.isInteger(e.timestamp)&&!(e.timestamp&&a.isInteger(e.timestamp.low)&&a.isInteger(e.timestamp.high)))return"timestamp: integer|Long expected";if(null!=e.gtid&&e.hasOwnProperty("gtid")&&!a.isString(e.gtid))return"gtid: string expected";if(null!=e.statement&&e.hasOwnProperty("statement")&&!a.isString(e.statement))return"statement: string expected";var t;if(null!=e.row_event&&e.hasOwnProperty("row_event")&&(t=s.binlogdata.RowEvent.verify(e.row_event)))return"row_event."+t;if(null!=e.field_event&&e.hasOwnProperty("field_event")&&(t=s.binlogdata.FieldEvent.verify(e.field_event)))return"field_event."+t;if(null!=e.vgtid&&e.hasOwnProperty("vgtid")&&(t=s.binlogdata.VGtid.verify(e.vgtid)))return"vgtid."+t;if(null!=e.journal&&e.hasOwnProperty("journal")&&(t=s.binlogdata.Journal.verify(e.journal)))return"journal."+t;if(null!=e.dml&&e.hasOwnProperty("dml")&&!a.isString(e.dml))return"dml: string expected";if(null!=e.current_time&&e.hasOwnProperty("current_time")&&!a.isInteger(e.current_time)&&!(e.current_time&&a.isInteger(e.current_time.low)&&a.isInteger(e.current_time.high)))return"current_time: integer|Long expected";if(null!=e.last_p_k_event&&e.hasOwnProperty("last_p_k_event")&&(t=s.binlogdata.LastPKEvent.verify(e.last_p_k_event)))return"last_p_k_event."+t;return null!=e.keyspace&&e.hasOwnProperty("keyspace")&&!a.isString(e.keyspace)?"keyspace: string expected":null!=e.shard&&e.hasOwnProperty("shard")&&!a.isString(e.shard)?"shard: string expected":null},e.fromObject=function(e){if(e instanceof s.binlogdata.VEvent)return e;var t=new s.binlogdata.VEvent;switch(e.type){case"UNKNOWN":case 0:t.type=0;break;case"GTID":case 1:t.type=1;break;case"BEGIN":case 2:t.type=2;break;case"COMMIT":case 3:t.type=3;break;case"ROLLBACK":case 4:t.type=4;break;case"DDL":case 5:t.type=5;break;case"INSERT":case 6:t.type=6;break;case"REPLACE":case 7:t.type=7;break;case"UPDATE":case 8:t.type=8;break;case"DELETE":case 9:t.type=9;break;case"SET":case 10:t.type=10;break;case"OTHER":case 11:t.type=11;break;case"ROW":case 12:t.type=12;break;case"FIELD":case 13:t.type=13;break;case"HEARTBEAT":case 14:t.type=14;break;case"VGTID":case 15:t.type=15;break;case"JOURNAL":case 16:t.type=16;break;case"VERSION":case 17:t.type=17;break;case"LASTPK":case 18:t.type=18;break;case"SAVEPOINT":case 19:t.type=19}if(null!=e.timestamp&&(a.Long?(t.timestamp=a.Long.fromValue(e.timestamp)).unsigned=!1:"string"===typeof e.timestamp?t.timestamp=parseInt(e.timestamp,10):"number"===typeof e.timestamp?t.timestamp=e.timestamp:"object"===typeof e.timestamp&&(t.timestamp=new a.LongBits(e.timestamp.low>>>0,e.timestamp.high>>>0).toNumber())),null!=e.gtid&&(t.gtid=String(e.gtid)),null!=e.statement&&(t.statement=String(e.statement)),null!=e.row_event){if("object"!==typeof e.row_event)throw TypeError(".binlogdata.VEvent.row_event: object expected");t.row_event=s.binlogdata.RowEvent.fromObject(e.row_event)}if(null!=e.field_event){if("object"!==typeof e.field_event)throw TypeError(".binlogdata.VEvent.field_event: object expected");t.field_event=s.binlogdata.FieldEvent.fromObject(e.field_event)}if(null!=e.vgtid){if("object"!==typeof e.vgtid)throw TypeError(".binlogdata.VEvent.vgtid: object expected");t.vgtid=s.binlogdata.VGtid.fromObject(e.vgtid)}if(null!=e.journal){if("object"!==typeof e.journal)throw TypeError(".binlogdata.VEvent.journal: object expected");t.journal=s.binlogdata.Journal.fromObject(e.journal)}if(null!=e.dml&&(t.dml=String(e.dml)),null!=e.current_time&&(a.Long?(t.current_time=a.Long.fromValue(e.current_time)).unsigned=!1:"string"===typeof e.current_time?t.current_time=parseInt(e.current_time,10):"number"===typeof e.current_time?t.current_time=e.current_time:"object"===typeof e.current_time&&(t.current_time=new a.LongBits(e.current_time.low>>>0,e.current_time.high>>>0).toNumber())),null!=e.last_p_k_event){if("object"!==typeof e.last_p_k_event)throw TypeError(".binlogdata.VEvent.last_p_k_event: object expected");t.last_p_k_event=s.binlogdata.LastPKEvent.fromObject(e.last_p_k_event)}return null!=e.keyspace&&(t.keyspace=String(e.keyspace)),null!=e.shard&&(t.shard=String(e.shard)),t},e.toObject=function(e,t){t||(t={});var r={};if(t.defaults){if(r.type=t.enums===String?"UNKNOWN":0,a.Long){var n=new a.Long(0,0,!1);r.timestamp=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.timestamp=t.longs===String?"0":0;if(r.gtid="",r.statement="",r.row_event=null,r.field_event=null,r.vgtid=null,r.journal=null,r.dml="",a.Long){n=new a.Long(0,0,!1);r.current_time=t.longs===String?n.toString():t.longs===Number?n.toNumber():n}else r.current_time=t.longs===String?"0":0;r.last_p_k_event=null,r.keyspace="",r.shard=""}return null!=e.type&&e.hasOwnProperty("type")&&(r.type=t.enums===String?s.binlogdata.VEventType[e.type]:e.type),null!=e.timestamp&&e.hasOwnProperty("timestamp")&&("number"===typeof e.timestamp?r.timestamp=t.longs===String?String(e.timestamp):e.timestamp:r.timestamp=t.longs===String?a.Long.prototype.toString.call(e.timestamp):t.longs===Number?new a.LongBits(e.timestamp.low>>>0,e.timestamp.high>>>0).toNumber():e.timestamp),null!=e.gtid&&e.hasOwnProperty("gtid")&&(r.gtid=e.gtid),null!=e.statement&&e.hasOwnProperty("statement")&&(r.statement=e.statement),null!=e.row_event&&e.hasOwnProperty("row_event")&&(r.row_event=s.binlogdata.RowEvent.toObject(e.row_event,t)),null!=e.field_event&&e.hasOwnProperty("field_event")&&(r.field_event=s.binlogdata.FieldEvent.toObject(e.field_event,t)),null!=e.vgtid&&e.hasOwnProperty("vgtid")&&(r.vgtid=s.binlogdata.VGtid.toObject(e.vgtid,t)),null!=e.journal&&e.hasOwnProperty("journal")&&(r.journal=s.binlogdata.Journal.toObject(e.journal,t)),null!=e.dml&&e.hasOwnProperty("dml")&&(r.dml=e.dml),null!=e.current_time&&e.hasOwnProperty("current_time")&&("number"===typeof e.current_time?r.current_time=t.longs===String?String(e.current_time):e.current_time:r.current_time=t.longs===String?a.Long.prototype.toString.call(e.current_time):t.longs===Number?new a.LongBits(e.current_time.low>>>0,e.current_time.high>>>0).toNumber():e.current_time),null!=e.last_p_k_event&&e.hasOwnProperty("last_p_k_event")&&(r.last_p_k_event=s.binlogdata.LastPKEvent.toObject(e.last_p_k_event,t)),null!=e.keyspace&&e.hasOwnProperty("keyspace")&&(r.keyspace=e.keyspace),null!=e.shard&&e.hasOwnProperty("shard")&&(r.shard=e.shard),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MinimalTable=function(){function e(e){if(this.fields=[],this.p_k_columns=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.name=e.string();break;case 2:n.fields&&n.fields.length||(n.fields=[]),n.fields.push(s.query.Field.decode(e,e.uint32()));break;case 3:if(n.p_k_columns&&n.p_k_columns.length||(n.p_k_columns=[]),2===(7&o))for(var a=e.uint32()+e.pos;e.pos>>0,e.p_k_columns[r].high>>>0).toNumber())}return t},e.toObject=function(e,t){t||(t={});var r={};if((t.arrays||t.defaults)&&(r.fields=[],r.p_k_columns=[]),t.defaults&&(r.name=""),null!=e.name&&e.hasOwnProperty("name")&&(r.name=e.name),e.fields&&e.fields.length){r.fields=[];for(var n=0;n>>0,e.p_k_columns[n].high>>>0).toNumber():e.p_k_columns[n]}return r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.MinimalSchema=function(){function e(e){if(this.tables=[],e)for(var t=Object.keys(e),r=0;r>>3===1)n.tables&&n.tables.length||(n.tables=[]),n.tables.push(s.binlogdata.MinimalTable.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.tables&&e.hasOwnProperty("tables")){if(!Array.isArray(e.tables))return"tables: array expected";for(var t=0;t>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.position=e.string();break;case 5:n.filter=s.binlogdata.Filter.decode(e,e.uint32());break;case 6:n.table_last_p_ks&&n.table_last_p_ks.length||(n.table_last_p_ks=[]),n.table_last_p_ks.push(s.binlogdata.TableLastPK.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+r;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+r;if(null!=e.target&&e.hasOwnProperty("target")&&(r=s.query.Target.verify(e.target)))return"target."+r;if(null!=e.position&&e.hasOwnProperty("position")&&!a.isString(e.position))return"position: string expected";if(null!=e.filter&&e.hasOwnProperty("filter")&&(r=s.binlogdata.Filter.verify(e.filter)))return"filter."+r;if(null!=e.table_last_p_ks&&e.hasOwnProperty("table_last_p_ks")){if(!Array.isArray(e.table_last_p_ks))return"table_last_p_ks: array expected";for(var t=0;t>>3===1)n.events&&n.events.length||(n.events=[]),n.events.push(s.binlogdata.VEvent.decode(e,e.uint32()));else e.skipType(7&o)}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.events&&e.hasOwnProperty("events")){if(!Array.isArray(e.events))return"events: array expected";for(var t=0;t>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=e.string();break;case 5:n.lastpk=s.query.QueryResult.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;if(null!=e.query&&e.hasOwnProperty("query")&&!a.isString(e.query))return"query: string expected";if(null!=e.lastpk&&e.hasOwnProperty("lastpk")&&(t=s.query.QueryResult.verify(e.lastpk)))return"lastpk."+t;return null},e.fromObject=function(e){if(e instanceof s.binlogdata.VStreamRowsRequest)return e;var t=new s.binlogdata.VStreamRowsRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".binlogdata.VStreamRowsRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".binlogdata.VStreamRowsRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".binlogdata.VStreamRowsRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}if(null!=e.query&&(t.query=String(e.query)),null!=e.lastpk){if("object"!==typeof e.lastpk)throw TypeError(".binlogdata.VStreamRowsRequest.lastpk: object expected");t.lastpk=s.query.QueryResult.fromObject(e.lastpk)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.query="",r.lastpk=null),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=e.query),null!=e.lastpk&&e.hasOwnProperty("lastpk")&&(r.lastpk=s.query.QueryResult.toObject(e.lastpk,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VStreamRowsResponse=function(){function e(e){if(this.fields=[],this.pkfields=[],this.rows=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.fields&&n.fields.length||(n.fields=[]),n.fields.push(s.query.Field.decode(e,e.uint32()));break;case 2:n.pkfields&&n.pkfields.length||(n.pkfields=[]),n.pkfields.push(s.query.Field.decode(e,e.uint32()));break;case 3:n.gtid=e.string();break;case 4:n.rows&&n.rows.length||(n.rows=[]),n.rows.push(s.query.Row.decode(e,e.uint32()));break;case 5:n.lastpk=s.query.Row.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.fields&&e.hasOwnProperty("fields")){if(!Array.isArray(e.fields))return"fields: array expected";for(var t=0;t>>3){case 1:n.table_last_p_k=s.binlogdata.TableLastPK.decode(e,e.uint32());break;case 2:n.completed=e.bool();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.table_last_p_k&&e.hasOwnProperty("table_last_p_k")){var t=s.binlogdata.TableLastPK.verify(e.table_last_p_k);if(t)return"table_last_p_k."+t}return null!=e.completed&&e.hasOwnProperty("completed")&&"boolean"!==typeof e.completed?"completed: boolean expected":null},e.fromObject=function(e){if(e instanceof s.binlogdata.LastPKEvent)return e;var t=new s.binlogdata.LastPKEvent;if(null!=e.table_last_p_k){if("object"!==typeof e.table_last_p_k)throw TypeError(".binlogdata.LastPKEvent.table_last_p_k: object expected");t.table_last_p_k=s.binlogdata.TableLastPK.fromObject(e.table_last_p_k)}return null!=e.completed&&(t.completed=Boolean(e.completed)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.table_last_p_k=null,r.completed=!1),null!=e.table_last_p_k&&e.hasOwnProperty("table_last_p_k")&&(r.table_last_p_k=s.binlogdata.TableLastPK.toObject(e.table_last_p_k,t)),null!=e.completed&&e.hasOwnProperty("completed")&&(r.completed=e.completed),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.TableLastPK=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.table_name=e.string();break;case 3:n.lastpk=s.query.QueryResult.decode(e,e.uint32());break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.table_name&&e.hasOwnProperty("table_name")&&!a.isString(e.table_name))return"table_name: string expected";if(null!=e.lastpk&&e.hasOwnProperty("lastpk")){var t=s.query.QueryResult.verify(e.lastpk);if(t)return"lastpk."+t}return null},e.fromObject=function(e){if(e instanceof s.binlogdata.TableLastPK)return e;var t=new s.binlogdata.TableLastPK;if(null!=e.table_name&&(t.table_name=String(e.table_name)),null!=e.lastpk){if("object"!==typeof e.lastpk)throw TypeError(".binlogdata.TableLastPK.lastpk: object expected");t.lastpk=s.query.QueryResult.fromObject(e.lastpk)}return t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.table_name="",r.lastpk=null),null!=e.table_name&&e.hasOwnProperty("table_name")&&(r.table_name=e.table_name),null!=e.lastpk&&e.hasOwnProperty("lastpk")&&(r.lastpk=s.query.QueryResult.toObject(e.lastpk,t)),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VStreamResultsRequest=function(){function e(e){if(e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.effective_caller_id=s.vtrpc.CallerID.decode(e,e.uint32());break;case 2:n.immediate_caller_id=s.query.VTGateCallerID.decode(e,e.uint32());break;case 3:n.target=s.query.Target.decode(e,e.uint32());break;case 4:n.query=e.string();break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";var t;if(null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(t=s.vtrpc.CallerID.verify(e.effective_caller_id)))return"effective_caller_id."+t;if(null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(t=s.query.VTGateCallerID.verify(e.immediate_caller_id)))return"immediate_caller_id."+t;if(null!=e.target&&e.hasOwnProperty("target")&&(t=s.query.Target.verify(e.target)))return"target."+t;return null!=e.query&&e.hasOwnProperty("query")&&!a.isString(e.query)?"query: string expected":null},e.fromObject=function(e){if(e instanceof s.binlogdata.VStreamResultsRequest)return e;var t=new s.binlogdata.VStreamResultsRequest;if(null!=e.effective_caller_id){if("object"!==typeof e.effective_caller_id)throw TypeError(".binlogdata.VStreamResultsRequest.effective_caller_id: object expected");t.effective_caller_id=s.vtrpc.CallerID.fromObject(e.effective_caller_id)}if(null!=e.immediate_caller_id){if("object"!==typeof e.immediate_caller_id)throw TypeError(".binlogdata.VStreamResultsRequest.immediate_caller_id: object expected");t.immediate_caller_id=s.query.VTGateCallerID.fromObject(e.immediate_caller_id)}if(null!=e.target){if("object"!==typeof e.target)throw TypeError(".binlogdata.VStreamResultsRequest.target: object expected");t.target=s.query.Target.fromObject(e.target)}return null!=e.query&&(t.query=String(e.query)),t},e.toObject=function(e,t){t||(t={});var r={};return t.defaults&&(r.effective_caller_id=null,r.immediate_caller_id=null,r.target=null,r.query=""),null!=e.effective_caller_id&&e.hasOwnProperty("effective_caller_id")&&(r.effective_caller_id=s.vtrpc.CallerID.toObject(e.effective_caller_id,t)),null!=e.immediate_caller_id&&e.hasOwnProperty("immediate_caller_id")&&(r.immediate_caller_id=s.query.VTGateCallerID.toObject(e.immediate_caller_id,t)),null!=e.target&&e.hasOwnProperty("target")&&(r.target=s.query.Target.toObject(e.target,t)),null!=e.query&&e.hasOwnProperty("query")&&(r.query=e.query),r},e.prototype.toJSON=function(){return this.constructor.toObject(this,n.util.toJSONOptions)},e}(),e.VStreamResultsResponse=function(){function e(e){if(this.fields=[],this.rows=[],e)for(var t=Object.keys(e),r=0;r>>3){case 1:n.fields&&n.fields.length||(n.fields=[]),n.fields.push(s.query.Field.decode(e,e.uint32()));break;case 3:n.gtid=e.string();break;case 4:n.rows&&n.rows.length||(n.rows=[]),n.rows.push(s.query.Row.decode(e,e.uint32()));break;default:e.skipType(7&o)}}return n},e.decodeDelimited=function(e){return e instanceof i||(e=new i(e)),this.decode(e,e.uint32())},e.verify=function(e){if("object"!==typeof e||null===e)return"object expected";if(null!=e.fields&&e.hasOwnProperty("fields")){if(!Array.isArray(e.fields))return"fields: array expected";for(var t=0;t=e&&r<=t}},u=function(e){return"function"===typeof e||o(e)&&n(e,(function(e){return"function"===typeof e})).length===e.length},d=function(e){return"string"===typeof e&&!!e.length},p={},f=function(){return{unhandledExceptions:!0,unhandledRejections:!0}};p.schema={apiKey:{defaultValue:function(){return null},message:"is required",validate:d},appVersion:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||d(e)}},appType:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||d(e)}},autoDetectErrors:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledErrorTypes:{defaultValue:function(){return f()},message:"should be an object containing the flags { unhandledExceptions:true|false, unhandledRejections:true|false }",allowPartialObject:!0,validate:function(e){if("object"!==typeof e||!e)return!1;var t=l(e),r=l(f());return!(n(t,(function(e){return i(r,e)})).length0)}},onError:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},onSession:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},onBreadcrumb:{defaultValue:function(){return[]},message:"should be a function or array of functions",validate:u},endpoints:{defaultValue:function(){return{notify:"https://notify.bugsnag.com",sessions:"https://sessions.bugsnag.com"}},message:"should be an object containing endpoint URLs { notify, sessions }",validate:function(e){return e&&"object"===typeof e&&d(e.notify)&&d(e.sessions)&&0===n(l(e),(function(e){return!i(["notify","sessions"],e)})).length}},autoTrackSessions:{defaultValue:function(e){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}},enabledReleaseStages:{defaultValue:function(){return null},message:"should be an array of strings",validate:function(e){return null===e||o(e)&&n(e,(function(e){return"string"===typeof e})).length===e.length}},releaseStage:{defaultValue:function(){return"production"},message:"should be a string",validate:function(e){return"string"===typeof e&&e.length}},maxBreadcrumbs:{defaultValue:function(){return 25},message:"should be a number \u2264100",validate:function(e){return c(0,100)(e)}},enabledBreadcrumbTypes:{defaultValue:function(){return t},message:"should be null or a list of available breadcrumb types ("+t.join(",")+")",validate:function(e){return null===e||o(e)&&r(e,(function(e,r){return!1===e?e:i(t,r)}),!0)}},context:{defaultValue:function(){},message:"should be a string",validate:function(e){return void 0===e||"string"===typeof e}},user:{defaultValue:function(){return{}},message:"should be an object with { id, email, name } properties",validate:function(e){return null===e||e&&r(l(e),(function(e,t){return e&&i(["id","email","name"],t)}),!0)}},metadata:{defaultValue:function(){return{}},message:"should be an object",validate:function(e){return"object"===typeof e&&null!==e}},logger:{defaultValue:function(){},message:"should be null or an object with methods { debug, info, warn, error }",validate:function(e){return!e||e&&r(["debug","info","warn","error"],(function(t,r){return t&&"function"===typeof e[r]}),!0)}},redactedKeys:{defaultValue:function(){return["password"]},message:"should be an array of strings|regexes",validate:function(e){return o(e)&&e.length===n(e,(function(e){return"string"===typeof e||e&&"function"===typeof e.test})).length}},plugins:{defaultValue:function(){return[]},message:"should be an array of plugin objects",validate:function(e){return o(e)&&e.length===n(e,(function(e){return e&&"object"===typeof e&&"function"===typeof e.load})).length}}};var h=function(e){for(var t=1;t-1&&(t=t.replace(/eval code/g,"eval").replace(/(\(eval at [^\()]*)|(\)\,.*$)/g,""));var r=t.replace(/^\s+/,"").replace(/\(eval code/g,"("),n=r.match(/ (\((.+):(\d+):(\d+)\)$)/),i=(r=n?r.replace(n[0],""):r).split(/\s+/).slice(1),o=this.extractLocation(n?n[1]:i.pop()),a=i.join(" ")||void 0,s=["eval",""].indexOf(o[0])>-1?void 0:o[0];return new e({functionName:a,fileName:s,lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseFFOrSafari:function(t){return t.stack.split("\n").filter((function(e){return!e.match(n)}),this).map((function(t){if(t.indexOf(" > eval")>-1&&(t=t.replace(/ line (\d+)(?: > eval line \d+)* > eval\:\d+\:\d+/g,":$1")),-1===t.indexOf("@")&&-1===t.indexOf(":"))return new e({functionName:t});var r=/((.*".+"[^@]*)?[^@]*)(?:@)/,n=t.match(r),i=n&&n[1]?n[1]:void 0,o=this.extractLocation(t.replace(r,""));return new e({functionName:i,fileName:o[0],lineNumber:o[1],columnNumber:o[2],source:t})}),this)},parseOpera:function(e){return!e.stacktrace||e.message.indexOf("\n")>-1&&e.message.split("\n").length>e.stacktrace.split("\n").length?this.parseOpera9(e):e.stack?this.parseOpera11(e):this.parseOpera10(e)},parseOpera9:function(t){for(var r=/Line (\d+).*script (?:in )?(\S+)/i,n=t.message.split("\n"),i=[],o=2,a=n.length;o/,"$2").replace(/\([^\)]*\)/g,"")||void 0;o.match(/\(([^\)]*)\)/)&&(r=o.replace(/^[^\(]+\(([^\)]*)\)$/,"$1"));var s=void 0===r||"[arguments not available]"===r?void 0:r.split(",");return new e({functionName:a,args:s,fileName:i[0],lineNumber:i[1],columnNumber:i[2],source:t})}),this)}}}));var k=O,j=function(e){return!!e&&(!!e.stack||!!e.stacktrace||!!e["opera#sourceloc"])&&"string"===typeof(e.stack||e.stacktrace||e["opera#sourceloc"])&&e.stack!==e.name+": "+e.message};function x(e){switch(Object.prototype.toString.call(e)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return e instanceof Error}}var S=x,P=function(e,t,r,n){var i;if(t){var o;if(null===r)return R(e,t);"object"===typeof r&&(o=r),"string"===typeof r&&((i={})[r]=n,o=i),o&&(e[t]||(e[t]={}),e[t]=h({},e[t],o))}},R=function(e,t,r){"string"===typeof t&&(r?e[t]&&delete e[t][r]:delete e[t])},T={add:P,get:function(e,t,r){if("string"===typeof t)return r?e[t]?e[t][r]:void 0:e[t]},clear:R},E={};!function(t,r){"use strict";"function"===typeof e&&e.amd?e("stack-generator",["stackframe"],r):"object"===typeof E?E=r(w):t.StackGenerator=r(t.StackFrame)}(this,(function(e){return{backtrace:function(t){var r=[],n=10;"object"===typeof t&&"number"===typeof t.maxStackSize&&(n=t.maxStackSize);for(var i=arguments.callee;i&&r.length-1&&!t.file&&!t.method&&(t.file="global code"),t},N=function(e){return/^global code$/i.test(e)?"global code":e},C=function(){return{unhandled:!1,severity:"warning",severityReason:{type:"handledException"}}},D=function(e){return"string"===typeof e?e:""};q.getStacktrace=function(e,t,r){if(j(e))return k.parse(e).slice(t);try{return n(E.backtrace(),(function(e){return-1===(e.functionName||"").indexOf("StackGenerator$$")})).slice(1+r)}catch(i){return[]}},q.create=function(e,t,r,n,i,o){void 0===i&&(i=0);var a,s=I(e,t,n,o),l=s[0],c=s[1];try{var u=q.getStacktrace(l,c>0?1+c+i:0,1+i);a=new q(l.name,l.message,u,r,e)}catch(d){a=new q(l.name,l.message,[],r,e)}return"InvalidError"===l.name&&a.addMetadata(""+n,"non-error parameter",L(e)),a};var L=function(e){return null===e?"null":void 0===e?"undefined":e},I=function(e,t,r,n){var i,o=0,a=function(e){n&&n.warn(r+' received a non-error: "'+e+'"');var t=new Error(r+' received a non-error. See "'+r+'" tab for more detail.');return t.name="InvalidError",t};if(t)switch(typeof e){case"string":case"number":case"boolean":i=new Error(String(e)),o+=1;break;case"function":i=a("function"),o+=2;break;case"object":null!==e&&S(e)?i=e:null!==e&&M(e)?((i=new Error(e.message||e.errorMessage)).name=e.name||e.errorClass,o+=1):(i=a(null===e?"null":"unsupported object"),o+=2);break;default:i=a("nothing"),o+=2}else S(e)?i=e:(i=a(typeof e),o+=2);if(!j(i))try{throw i}catch(s){j(s)&&(i=s,o=1)}return[i,o]};q.__type="browserjs";var M=function(e){return("string"===typeof e.name||"string"===typeof e.errorClass)&&("string"===typeof e.message||"string"===typeof e.errorMessage)},B=q,V=function(e,t,r){var n=0;!function i(){if(n>=e.length)return r(null,!0);t(e[n],(function(e,t){return e?r(e):!1===t?r(null,!1):(n++,void i())}))}()},F=function(e,t,r,n){var i=function(e,n){if("function"!==typeof e)return n(null);try{if(2!==e.length){var i=e(t);return i&&"function"===typeof i.then?i.then((function(e){return setTimeout((function(){return n(null,e)}))}),(function(e){setTimeout((function(){return r(e),n(null,!0)}))})):n(null,i)}e(t,(function(e,t){if(e)return r(e),n(null);n(null,t)}))}catch(o){r(o),n(null)}};V(e,i,n)},G=function(e,t,r,n){for(var i=!1,o=e.slice();!i&&o.length;)try{i=!1===o.pop()(t)}catch(a){n.error("Error occurred in "+r+" callback, continuing anyway\u2026"),n.error(a)}return i},J=function(e,t){var r="000000000"+e;return r.substr(r.length-t)},z="object"===typeof window?window:self,K=0;for(var U in z)Object.hasOwnProperty.call(z,U)&&K++;var W=navigator.mimeTypes?navigator.mimeTypes.length:0,H=J((W+navigator.userAgent.length).toString(36)+K.toString(36),4),Q=function(){return H},Y=0,X=4,$=36,Z=Math.pow($,X);function ee(){return J((Math.random()*Z<<0).toString($),X)}function te(){return Y=Ythis._config.maxBreadcrumbs&&(this._breadcrumbs=this._breadcrumbs.slice(this._breadcrumbs.length-this._config.maxBreadcrumbs)))}},o._isBreadcrumbTypeEnabled=function(e){var t=this._config.enabledBreadcrumbTypes;return null===t||i(t,e)},o.notify=function(e,t,r){void 0===r&&(r=ae);var n=B.create(e,!0,void 0,"notify()",this._depth+1,this._logger);this._notify(n,t,r)},o._notify=function(t,r,n){var o=this;if(void 0===n&&(n=ae),t.app=h({},t.app,{releaseStage:this._config.releaseStage,version:this._config.appVersion,type:this._config.appType}),t.context=t.context||this._context,t._metadata=h({},t._metadata,this._metadata),t._user=h({},t._user,this._user),t.breadcrumbs=this._breadcrumbs.slice(),null!==this._config.enabledReleaseStages&&!i(this._config.enabledReleaseStages,this._config.releaseStage))return this._logger.warn("Event not sent due to releaseStage/enabledReleaseStages configuration"),n(null,t);var a=t.severity,s=function(e){o._logger.error("Error occurred in onError callback, continuing anyway\u2026"),o._logger.error(e)},l=[].concat(this._cbs.e).concat(r);F(l,t,s,(function(r,i){if(r&&s(r),!i)return o._logger.debug("Event not sent due to onError callback"),n(null,t);o._isBreadcrumbTypeEnabled("error")&&e.prototype.leaveBreadcrumb.call(o,t.errors[0].errorClass,{errorClass:t.errors[0].errorClass,errorMessage:t.errors[0].errorMessage,severity:t.severity},"error"),a!==t.severity&&(t._handledState.severityReason={type:"userCallbackSetSeverity"}),t.unhandled!==t._handledState.unhandled&&(t._handledState.severityReason.unhandledOverridden=!0,t._handledState.unhandled=t.unhandled),o._session&&(o._session._track(t),t._session=o._session),o._delivery.sendEvent({apiKey:t.apiKey||o._config.apiKey,notifier:o._notifier,events:[t]},(function(e){return n(e,t)}))}))},e}(),le=function(e,t){return new Error("Invalid configuration\n"+y(l(e),(function(r){return" - "+r+" "+e[r]+", got "+ce(t[r])})).join("\n\n"))},ce=function(e){switch(typeof e){case"string":case"number":case"object":return JSON.stringify(e);default:return String(e)}},ue=se,de=function(e,t,r,n){var i=n&&n.redactedKeys?n.redactedKeys:[],o=n&&n.redactedPaths?n.redactedPaths:[];return JSON.stringify(ke(e,i,o),t,r)},pe=20,fe=25e3,he=8,ye="...";function me(e){return e instanceof Error||/^\[object (Error|(Dom)?Exception)\]$/.test(Object.prototype.toString.call(e))}function be(e){return"[Throws: "+(e?e.message:"?")+"]"}function ge(e,t){for(var r=0,n=e.length;rhe&&i>fe}if(i++,a.length>pe)return ye;if(s())return ye;if(null===e||"object"!==typeof e)return e;if(ge(n,e))return"[Circular]";if(n.push(e),"function"===typeof e.toJSON)try{i--;var l=o(e.toJSON(),a);return n.pop(),l}catch(y){return be(y)}if(me(e)){i--;var c=o({name:e.name,message:e.message},a);return n.pop(),c}if(we(e)){for(var u=[],d=0,p=e.length;d1e6&&(e.events[0]._metadata={notifier:"WARNING!\nSerialized payload was "+r.length/1e6+"MB (limit = 1MB)\nmetadata was removed"},(r=de(e,null,null,{redactedPaths:xe,redactedKeys:t})).length>1e6))throw new Error("payload exceeded 1MB limit");return r},je.session=function(e,t){var r=de(e,null,null);if(r.length>1e6)throw new Error("payload exceeded 1MB limit");return r};var Se={};Se=function(e,t){return void 0===t&&(t=window),{sendEvent:function(r,n){void 0===n&&(n=function(){});var i=Pe(e._config,"notify","4",t),o=new t.XDomainRequest;o.onload=function(){n(null)},o.open("POST",i),setTimeout((function(){try{o.send(je.event(r,e._config.redactedKeys))}catch(t){e._logger.error(t),n(t)}}),0)},sendSession:function(r,n){void 0===n&&(n=function(){});var i=Pe(e._config,"sessions","1",t),o=new t.XDomainRequest;o.onload=function(){n(null)},o.open("POST",i),setTimeout((function(){try{o.send(je.session(r,e._config.redactedKeys))}catch(t){e._logger.error(t),n(t)}}),0)}}};var Pe=function(e,t,r,n){var i=JSON.parse(JSON.stringify(new Date));return Re(e.endpoints[t],n.location.protocol)+"?apiKey="+encodeURIComponent(e.apiKey)+"&payloadVersion="+r+"&sentAt="+encodeURIComponent(i)},Re=Se._matchPageProtocol=function(e,t){return"http:"===t?e.replace(/^https:/,"http:"):e},Te=function(e,t){return void 0===t&&(t=window),{sendEvent:function(r,n){void 0===n&&(n=function(){});try{var i=e._config.endpoints.notify,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&n(null)},o.open("POST",i),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",r.apiKey||e._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","4"),o.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),o.send(je.event(r,e._config.redactedKeys))}catch(a){e._logger.error(a)}},sendSession:function(r,n){void 0===n&&(n=function(){});try{var i=e._config.endpoints.sessions,o=new t.XMLHttpRequest;o.onreadystatechange=function(){o.readyState===t.XMLHttpRequest.DONE&&n(null)},o.open("POST",i),o.setRequestHeader("Content-Type","application/json"),o.setRequestHeader("Bugsnag-Api-Key",e._config.apiKey),o.setRequestHeader("Bugsnag-Payload-Version","1"),o.setRequestHeader("Bugsnag-Sent-At",(new Date).toISOString()),o.send(je.session(r,e._config.redactedKeys))}catch(a){e._logger.error(a)}}}},Ee=new Date,qe=function(){Ee=new Date},Ae={name:"appDuration",load:function(e){return e.addOnError((function(e){var t=new Date;e.app.duration=t-Ee}),!0),{reset:qe}}},Ne=function(e){return void 0===e&&(e=window),{load:function(t){t.addOnError((function(t){void 0===t.context&&(t.context=e.location.pathname)}),!0)}}},Ce=function(e,t){var r="000000000"+e;return r.substr(r.length-t)},De="object"===typeof window?window:self,Le=0;for(var Ie in De)Object.hasOwnProperty.call(De,Ie)&&Le++;var Me=navigator.mimeTypes?navigator.mimeTypes.length:0,Be=Ce((Me+navigator.userAgent.length).toString(36)+Le.toString(36),4),Ve=function(){return Be},Fe=0,Ge=4,Je=36,ze=Math.pow(Je,Ge);function Ke(){return Ce((Math.random()*ze<<0).toString(Je),Ge)}function Ue(){return Fe=Fedocument.documentElement.clientHeight?"landscape":"portrait",r._config.generateAnonymousId&&(n.id=Ye()),r.addOnSession((function(e){e.device=h({},e.device,n),r._config.collectUserIp||$e(e)})),r.addOnError((function(e){e.device=h({},e.device,n,{time:new Date}),r._config.collectUserIp||$e(e)}),!0)},configSchema:{generateAnonymousId:{validate:function(e){return!0===e||!1===e},defaultValue:function(){return!0},message:"should be true|false"}}}},$e=function(e){var t=e.getUser();t&&t.id||e.setUser(e.device.id)},Ze=function(e){return void 0===e&&(e=window),{load:function(t){t.addOnError((function(t){t.request&&t.request.url||(t.request=h({},t.request,{url:e.location.href}))}),!0)}}},et={load:function(e){e._sessionDelegate=tt}},tt={startSession:function(e,t){var r=e;return r._session=t,r._pausedSession=null,null===r._config.enabledReleaseStages||i(r._config.enabledReleaseStages,r._config.releaseStage)?(r._delivery.sendSession({notifier:r._notifier,device:t.device,app:t.app,sessions:[{id:t.id,startedAt:t.startedAt,user:t._user}]}),r):(r._logger.warn("Session not sent due to releaseStage/enabledReleaseStages configuration"),r)},resumeSession:function(e){return e._session?e:e._pausedSession?(e._session=e._pausedSession,e._pausedSession=null,e):e.startSession()},pauseSession:function(e){e._pausedSession=e._session,e._session=null}},rt={load:function(e){e._config.collectUserIp||e.addOnError((function(e){e._user&&"undefined"===typeof e._user.id&&delete e._user.id,e._user=h({id:"[REDACTED]"},e._user),e.request=h({clientIp:"[REDACTED]"},e.request)}))},configSchema:{collectUserIp:{defaultValue:function(){return!0},message:"should be true|false",validate:function(e){return!0===e||!1===e}}}},nt={load:function(e){!/^(local-)?dev(elopment)?$/.test(e._config.releaseStage)&&e._isBreadcrumbTypeEnabled("log")&&y(it,(function(t){var n=console[t];console[t]=function(){for(var i=arguments.length,o=new Array(i),a=0;a1){var n=Array.prototype.indexOf.call(e.parentNode.childNodes,e)+1;r.push(":nth-child("+n+")")}return 1===t.document.querySelectorAll(r.join("")).length?r.join(""):e.parentNode?pt(e.parentNode,t)+" > "+r.join(""):r.join("")}function ft(e,t){var r="(...)";return e&&e.length<=t?e:e.slice(0,t-r.length)+r}var ht={};ht=function(e){void 0===e&&(e=window);var t={load:function(t){if("addEventListener"in e&&t._isBreadcrumbTypeEnabled("navigation")){var r=function(e){return function(){return t.leaveBreadcrumb(e,{},"navigation")}};e.addEventListener("pagehide",r("Page hidden"),!0),e.addEventListener("pageshow",r("Page shown"),!0),e.addEventListener("load",r("Page loaded"),!0),e.document.addEventListener("DOMContentLoaded",r("DOMContentLoaded"),!0),e.addEventListener("load",(function(){return e.addEventListener("popstate",r("Navigated back"),!0)})),e.addEventListener("hashchange",(function(r){var n=r.oldURL?{from:yt(r.oldURL,e),to:yt(r.newURL,e),state:gt(e)}:{to:yt(e.location.href,e)};t.leaveBreadcrumb("Hash changed",n,"navigation")}),!0),e.history.replaceState&&bt(t,e.history,"replaceState",e),e.history.pushState&&bt(t,e.history,"pushState",e)}}};return t};var yt=function(e,t){var r=t.document.createElement("A");return r.href=e,""+r.pathname+r.search+r.hash},mt=function(e,t,r,n){var i=yt(e.location.href,e);return{title:r,state:t,prevState:gt(e),to:n||i,from:i}},bt=function(e,t,r,n){var i=t[r];t[r]=function(o,a,s){e.leaveBreadcrumb("History "+r,mt(n,o,a,s),"navigation"),"function"===typeof e.resetEventCount&&e.resetEventCount(),e._config.autoTrackSessions&&e.startSession(),i.apply(t,[o,a].concat(void 0!==s?s:[]))}},gt=function(e){try{return e.history.state}catch(t){}},_t="request",vt="BS~~S",wt="BS~~U",Ot="BS~~M",kt=function(e,t){void 0===e&&(e=[]),void 0===t&&(t=window);var r={load:function(r){if(r._isBreadcrumbTypeEnabled("request")){var n=[r._config.endpoints.notify,r._config.endpoints.sessions].concat(e);s(),u();var o=function(e,t,n){var i={status:e.status,request:t+" "+n};e.status>=400?r.leaveBreadcrumb("fetch() failed",i,_t):r.leaveBreadcrumb("fetch() succeeded",i,_t)},a=function(e,t){r.leaveBreadcrumb("fetch() error",{request:e+" "+t},_t)}}function s(){if("addEventListener"in t.XMLHttpRequest.prototype){var e=t.XMLHttpRequest.prototype.open;t.XMLHttpRequest.prototype.open=function(t,r){this[wt]=r,this[Ot]=t,this[vt]&&(this.removeEventListener("load",l),this.removeEventListener("error",c)),this.addEventListener("load",l),this.addEventListener("error",c),this[vt]=!0,e.apply(this,arguments)}}}function l(){var e=this[wt];if(void 0!==e){if("string"!==typeof e||!i(n,e.replace(/\?.*$/,""))){var t={status:this.status,request:this[Ot]+" "+this[wt]};this.status>=400?r.leaveBreadcrumb("XMLHttpRequest failed",t,_t):r.leaveBreadcrumb("XMLHttpRequest succeeded",t,_t)}}else r._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}function c(){var e=this[wt];void 0!==e?"string"===typeof e&&i(n,e.replace(/\?.*$/,""))||r.leaveBreadcrumb("XMLHttpRequest error",{request:this[Ot]+" "+this[wt]},_t):r._logger.warn("The request URL is no longer present on this XMLHttpRequest. A breadcrumb cannot be left for this request.")}function u(){if("fetch"in t&&!t.fetch.polyfill){var e=t.fetch;t.fetch=function(){var t,r=arguments,n=arguments[0],i=arguments[1],s=null;return n&&"object"===typeof n?(s=n.url,i&&"method"in i?t=i.method:n&&"method"in n&&(t=n.method)):(s=n,i&&"method"in i&&(t=i.method)),void 0===t&&(t="GET"),new Promise((function(n,i){e.apply(void 0,r).then((function(e){o(e,t,s),n(e)})).catch((function(e){a(t,s),i(e)}))}))}}}}};return r},jt={load:function(e){var t=0;e.addOnError((function(r){if(t>=e._config.maxEvents)return!1;t++})),e.resetEventCount=function(){t=0}},configSchema:{maxEvents:{defaultValue:function(){return 10},message:"should be a positive integer \u2264100",validate:function(e){return c(1,100)(e)}}}},xt={},St=(xt={load:function(e){e.addOnError((function(e){var t=r(e.errors,(function(e,t){return e.concat(t.stacktrace)}),[]);y(t,(function(e){e.file=St(e.file)}))}))}})._strip=function(e){return"string"===typeof e?e.replace(/\?.*$/,"").replace(/#.*$/,""):e},Pt=function(e){return void 0===e&&(e=window),{load:function(t){if(t._config.autoDetectErrors&&t._config.enabledErrorTypes.unhandledExceptions){var r=e.onerror;e.onerror=n}function n(e,n,i,o,a){if(0===i&&/Script error\.?/.test(e))t._logger.warn("Ignoring cross-domain or eval script error. See docs: https://tinyurl.com/yy3rn63z");else{var s,l={severity:"error",unhandled:!0,severityReason:{type:"unhandledException"}};if(a)s=t.Event.create(a,!0,l,"window onerror",1),Rt(s.errors[0].stacktrace,n,i,o);else if("object"!==typeof e||null===e||n&&"string"===typeof n||i||o||a)s=t.Event.create(e,!0,l,"window onerror",1),Rt(s.errors[0].stacktrace,n,i,o);else{var c=e.type?"Event: "+e.type:"Error",u=e.message||e.detail||"";(s=t.Event.create({name:c,message:u},!0,l,"window onerror",1)).originalError=e,s.addMetadata("window onerror",{event:e,extraParameters:n})}t._notify(s)}"function"===typeof r&&r.apply(this,arguments)}}}},Rt=function(e,t,r,n){e[0]||e.push({});var i=e[0];i.file||"string"!==typeof t||(i.file=t),!i.lineNumber&&Tt(r)&&(i.lineNumber=r),i.columnNumber||(Tt(n)?i.columnNumber=n:window.event&&Tt(window.event.errorCharacter)&&(i.columnNumber=window.event.errorCharacter))},Tt=function(e){return"number"===typeof e&&"NaN"!==String.call(e)},Et=function(e){return void 0===e&&(e=window),{load:function(t){if(t._config.autoDetectErrors&&t._config.enabledErrorTypes.unhandledRejections){var r=function(e){var r=e.reason,n=!1;try{e.detail&&e.detail.reason&&(r=e.detail.reason,n=!0)}catch(o){}var i=t.Event.create(r,!1,{severity:"error",unhandled:!0,severityReason:{type:"unhandledPromiseRejection"}},"unhandledrejection handler",1,t._logger);n&&y(i.errors[0].stacktrace,qt(r)),t._notify(i,(function(e){var t;S(e.originalError)&&!e.originalError.stack&&e.addMetadata("unhandledRejection handler",((t={})[Object.prototype.toString.call(e.originalError)]={name:e.originalError.name,message:e.originalError.message,code:e.originalError.code},t))}))};"addEventListener"in e?e.addEventListener("unhandledrejection",r):e.onunhandledrejection=function(e,t){r({detail:{reason:e,promise:t}})}}}}},qt=function(e){return function(t){t.file!==e.toString()&&t.method&&(t.method=t.method.replace(/^\s+/,""))}},At={},Nt="Bugsnag JavaScript",Ct="7.14.1",Dt="https://github.com/bugsnag/bugsnag-js",Lt=h({},p.schema,g),It={_client:null,createClient:function(e){"string"===typeof e&&(e={apiKey:e}),e||(e={});var t=[Ae,Xe(),Ne(),Ze(),jt,et,rt,xt,Pt(),Et(),ht(),ut(),kt(),nt,st()],r=new ue(e,Lt,t,{name:Nt,version:Ct,url:Dt});return r._setDelivery(window.XDomainRequest?Se:Te),r._logger.debug("Loaded!"),r.leaveBreadcrumb("Bugsnag loaded",{},"state"),r._config.autoTrackSessions?r.startSession():r},start:function(e){return It._client?(It._client._logger.warn("Bugsnag.start() was called more than once. Ignoring."),It._client):(It._client=It.createClient(e),It._client)}};return y(["resetEventCount"].concat(l(ue.prototype)),(function(e){/^_/.test(e)||(It[e]=function(){if(!It._client)return console.log("Bugsnag."+e+"() was called before Bugsnag.start()");It._client._depth+=1;var t=It._client[e].apply(It._client,arguments);return It._client._depth-=1,t})})),(At=It).Client=ue,At.Event=B,At.Session=oe,At.Breadcrumb=v,At.default=It,At}()},4410:function(e,t,r){e.exports=r(8225)},7206:function(e){"use strict";e.exports=function(e,t){var r=new Array(arguments.length-1),n=0,i=2,o=!0;for(;i1&&"="===e.charAt(t);)++r;return Math.ceil(3*e.length)/4-r};for(var n=new Array(64),i=new Array(123),o=0;o<64;)i[n[o]=o<26?o+65:o<52?o+71:o<62?o-4:o-59|43]=o++;r.encode=function(e,t,r){for(var i,o=null,a=[],s=0,l=0;t>2],i=(3&c)<<4,l=1;break;case 1:a[s++]=n[i|c>>4],i=(15&c)<<2,l=2;break;case 2:a[s++]=n[i|c>>6],a[s++]=n[63&c],l=0}s>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,a)),s=0)}return l&&(a[s++]=n[i],a[s++]=61,1===l&&(a[s++]=61)),o?(s&&o.push(String.fromCharCode.apply(String,a.slice(0,s))),o.join("")):String.fromCharCode.apply(String,a.slice(0,s))};var a="invalid encoding";r.decode=function(e,t,r){for(var n,o=r,s=0,l=0;l1)break;if(void 0===(c=i[c]))throw Error(a);switch(s){case 0:n=c,s=1;break;case 1:t[r++]=n<<2|(48&c)>>4,n=c,s=2;break;case 2:t[r++]=(15&n)<<4|(60&c)>>2,n=c,s=3;break;case 3:t[r++]=(3&n)<<6|c,s=0}}if(1===s)throw Error(a);return r-o},r.test=function(e){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(e)}},7111:function(e){"use strict";function t(){this._listeners={}}e.exports=t,t.prototype.on=function(e,t,r){return(this._listeners[e]||(this._listeners[e]=[])).push({fn:t,ctx:r||this}),this},t.prototype.off=function(e,t){if(void 0===e)this._listeners={};else if(void 0===t)this._listeners[e]=[];else for(var r=this._listeners[e],n=0;n0?0:2147483648,r,n);else if(isNaN(t))e(2143289344,r,n);else if(t>34028234663852886e22)e((i<<31|2139095040)>>>0,r,n);else if(t<11754943508222875e-54)e((i<<31|Math.round(t/1401298464324817e-60))>>>0,r,n);else{var o=Math.floor(Math.log(t)/Math.LN2);e((i<<31|o+127<<23|8388607&Math.round(t*Math.pow(2,-o)*8388608))>>>0,r,n)}}function a(e,t,r){var n=e(t,r),i=2*(n>>31)+1,o=n>>>23&255,a=8388607&n;return 255===o?a?NaN:i*(1/0):0===o?1401298464324817e-60*i*a:i*Math.pow(2,o-150)*(a+8388608)}e.writeFloatLE=t.bind(null,r),e.writeFloatBE=t.bind(null,n),e.readFloatLE=a.bind(null,i),e.readFloatBE=a.bind(null,o)}(),"undefined"!==typeof Float64Array?function(){var t=new Float64Array([-0]),r=new Uint8Array(t.buffer),n=128===r[7];function i(e,n,i){t[0]=e,n[i]=r[0],n[i+1]=r[1],n[i+2]=r[2],n[i+3]=r[3],n[i+4]=r[4],n[i+5]=r[5],n[i+6]=r[6],n[i+7]=r[7]}function o(e,n,i){t[0]=e,n[i]=r[7],n[i+1]=r[6],n[i+2]=r[5],n[i+3]=r[4],n[i+4]=r[3],n[i+5]=r[2],n[i+6]=r[1],n[i+7]=r[0]}function a(e,n){return r[0]=e[n],r[1]=e[n+1],r[2]=e[n+2],r[3]=e[n+3],r[4]=e[n+4],r[5]=e[n+5],r[6]=e[n+6],r[7]=e[n+7],t[0]}function s(e,n){return r[7]=e[n],r[6]=e[n+1],r[5]=e[n+2],r[4]=e[n+3],r[3]=e[n+4],r[2]=e[n+5],r[1]=e[n+6],r[0]=e[n+7],t[0]}e.writeDoubleLE=n?i:o,e.writeDoubleBE=n?o:i,e.readDoubleLE=n?a:s,e.readDoubleBE=n?s:a}():function(){function t(e,t,r,n,i,o){var a=n<0?1:0;if(a&&(n=-n),0===n)e(0,i,o+t),e(1/n>0?0:2147483648,i,o+r);else if(isNaN(n))e(0,i,o+t),e(2146959360,i,o+r);else if(n>17976931348623157e292)e(0,i,o+t),e((a<<31|2146435072)>>>0,i,o+r);else{var s;if(n<22250738585072014e-324)e((s=n/5e-324)>>>0,i,o+t),e((a<<31|s/4294967296)>>>0,i,o+r);else{var l=Math.floor(Math.log(n)/Math.LN2);1024===l&&(l=1023),e(4503599627370496*(s=n*Math.pow(2,-l))>>>0,i,o+t),e((a<<31|l+1023<<20|1048576*s&1048575)>>>0,i,o+r)}}}function a(e,t,r,n,i){var o=e(n,i+t),a=e(n,i+r),s=2*(a>>31)+1,l=a>>>20&2047,c=4294967296*(1048575&a)+o;return 2047===l?c?NaN:s*(1/0):0===l?5e-324*s*c:s*Math.pow(2,l-1075)*(c+4503599627370496)}e.writeDoubleLE=t.bind(null,r,0,4),e.writeDoubleBE=t.bind(null,n,4,0),e.readDoubleLE=a.bind(null,i,0,4),e.readDoubleBE=a.bind(null,o,4,0)}(),e}function r(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}function n(e,t,r){t[r]=e>>>24,t[r+1]=e>>>16&255,t[r+2]=e>>>8&255,t[r+3]=255&e}function i(e,t){return(e[t]|e[t+1]<<8|e[t+2]<<16|e[t+3]<<24)>>>0}function o(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}e.exports=t(t)},7172:function(module){"use strict";function inquire(moduleName){try{var mod=eval("quire".replace(/^/,"re"))(moduleName);if(mod&&(mod.length||Object.keys(mod).length))return mod}catch(e){}return null}module.exports=inquire},8236:function(e){"use strict";e.exports=function(e,t,r){var n=r||8192,i=n>>>1,o=null,a=n;return function(r){if(r<1||r>i)return e(r);a+r>n&&(o=e(n),a=0);var s=t.call(o,a,a+=r);return 7&a&&(a=1+(7|a)),s}}},3861:function(e,t){"use strict";var r=t;r.length=function(e){for(var t=0,r=0,n=0;n191&&n<224?o[a++]=(31&n)<<6|63&e[t++]:n>239&&n<365?(n=((7&n)<<18|(63&e[t++])<<12|(63&e[t++])<<6|63&e[t++])-65536,o[a++]=55296+(n>>10),o[a++]=56320+(1023&n)):o[a++]=(15&n)<<12|(63&e[t++])<<6|63&e[t++],a>8191&&((i||(i=[])).push(String.fromCharCode.apply(String,o)),a=0);return i?(a&&i.push(String.fromCharCode.apply(String,o.slice(0,a))),i.join("")):String.fromCharCode.apply(String,o.slice(0,a))},r.write=function(e,t,r){for(var n,i,o=r,a=0;a>6|192,t[r++]=63&n|128):55296===(64512&n)&&56320===(64512&(i=e.charCodeAt(a+1)))?(n=65536+((1023&n)<<10)+(1023&i),++a,t[r++]=n>>18|240,t[r++]=n>>12&63|128,t[r++]=n>>6&63|128,t[r++]=63&n|128):(t[r++]=n>>12|224,t[r++]=n>>6&63|128,t[r++]=63&n|128);return r-o}},1694:function(e,t){var r;!function(){"use strict";var n={}.hasOwnProperty;function i(){for(var e=[],t=0;t=t?e:""+Array(t+1-n.length).join(r)+e},g={s:b,z:function(e){var t=-e.utcOffset(),r=Math.abs(t),n=Math.floor(r/60),i=r%60;return(t<=0?"+":"-")+b(n,2,"0")+":"+b(i,2,"0")},m:function e(t,r){if(t.date()0,m<=y.r||!y.r){m<=1&&h>0&&(y=p[h-1]);var b=d[y.l];s&&(m=s(""+m)),c="string"==typeof b?b.replace("%d",m):b(m,n,y.l,u);break}}if(n)return c;var g=u?d.future:d.past;return"function"==typeof g?g(c):g.replace("%s",c)},n.to=function(e,t){return o(e,t,this,!0)},n.from=function(e,t){return o(e,t,this)};var a=function(e){return e.$u?r.utc():r()};n.toNow=function(e){return this.to(a(this),e)},n.fromNow=function(e){return this.from(a(this),e)}}}()},9412:function(e){"use strict";var t="%[a-f0-9]{2}",r=new RegExp(t,"gi"),n=new RegExp("("+t+")+","gi");function i(e,t){try{return decodeURIComponent(e.join(""))}catch(o){}if(1===e.length)return e;t=t||1;var r=e.slice(0,t),n=e.slice(t);return Array.prototype.concat.call([],i(r),i(n))}function o(e){try{return decodeURIComponent(e)}catch(o){for(var t=e.match(r),n=1;ne.length)&&(t=e.length);for(var r=0,n=new Array(t);rparseInt(e.userAgent.split("Firefox/")[1],10),e.hasTouch=!!e.win.TouchEvent,e.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],e.noop=function(){},e.supportsPassiveEvents=function(){var t=!1;if(!e.isMS){var r=Object.defineProperty({},"passive",{get:function(){t=!0}});e.win.addEventListener&&e.win.removeEventListener&&(e.win.addEventListener("testPassive",e.noop,r),e.win.removeEventListener("testPassive",e.noop,r))}return t}(),e.charts=[],e.dateFormats={},e.seriesTypes={},e.symbolSizes={},e.chartCount=0}(t||(t={})),t})),t(r,"Core/Utilities.js",[r["Core/Globals.js"]],(function(e){function t(r,n,i,o){var a=n?"Highcharts error":"Highcharts warning";32===r&&(r=a+": Deprecated member");var s=l(r),c=s?a+" #"+r+": www.highcharts.com/errors/"+r+"/":r.toString();if("undefined"!==typeof o){var u="";s&&(c+="?"),y(o,(function(e,t){u+="\n - "+t+": "+e,s&&(c+=encodeURI(t)+"="+encodeURI(e))})),c+=u}b(e,"displayError",{chart:i,code:r,message:c,params:o},(function(){if(n)throw Error(c);v.console&&-1===t.messages.indexOf(c)&&console.warn(c)})),t.messages.push(c)}function r(e,t){return parseInt(e,t||10)}function n(e){return"string"===typeof e}function i(e){return"[object Array]"===(e=Object.prototype.toString.call(e))||"[object Array Iterator]"===e}function o(e,t){return!!e&&"object"===typeof e&&(!t||!i(e))}function a(e){return o(e)&&"number"===typeof e.nodeType}function s(e){var t=e&&e.constructor;return!(!o(e,!0)||a(e)||!t||!t.name||"Object"===t.name)}function l(e){return"number"===typeof e&&!isNaN(e)&&1/0>e&&-1/0r&&(r=e[t]);return r},arrayMin:function(e){for(var t=e.length,r=e[0];t--;)e[t]t?e=o-1&&(o=Math.floor(a)),Math.max(0,o-(s(i,"padding-left",!0)||0)-(s(i,"padding-right",!0)||0));if("height"===o)return Math.max(0,Math.min(i.offsetHeight,i.scrollHeight)-(s(i,"padding-top",!0)||0)-(s(i,"padding-bottom",!0)||0));if(v.getComputedStyle||t(27,!0),i=v.getComputedStyle(i,void 0)){var l=i.getPropertyValue(o);p(a,"opacity"!==o)&&(l=r(l))}return l},inArray:function(e,r,n){return t(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),r.indexOf(e,n)},isArray:i,isClass:s,isDOMElement:a,isFunction:function(e){return"function"===typeof e},isNumber:l,isObject:o,isString:n,keys:function(e){return t(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(e)},merge:function(){var e,t=arguments,r={},n=function e(t,r){return"object"!==typeof t&&(t={}),y(r,(function(n,i){"__proto__"!==i&&"constructor"!==i&&(!o(n,!0)||s(n)||a(n)?t[i]=r[i]:t[i]=e(t[i]||{},n))})),t};!0===t[0]&&(r=t[1],t=Array.prototype.slice.call(t,2));var i=t.length;for(e=0;e=r&&(t=[1/r]))),n=0;n=e||!i&&a<=(t[n]+(t[n+1]||t[n]))/2));n++);return h(o*r,-Math.round(Math.log(.001)/Math.LN10))},objectEach:y,offset:function(e){var t=_.documentElement;return{top:(e=e.parentElement||e.parentNode?e.getBoundingClientRect():{top:0,left:0,width:0,height:0}).top+(v.pageYOffset||t.scrollTop)-(t.clientTop||0),left:e.left+(v.pageXOffset||t.scrollLeft)-(t.clientLeft||0),width:e.width,height:e.height}},pad:function(e,t,r){return Array((t||2)+1-String(e).replace("-","").length).join(r||"0")+e},pick:p,pInt:r,relativeLength:function(e,t,r){return/%$/.test(e)?t*parseFloat(e)/100+(r||0):parseFloat(e)},removeEvent:m,splat:function(e){return i(e)?e:[e]},stableSort:function(e,t){var r,n,i=e.length;for(n=0;n>16,(65280&i)>>8,255&i,1]:4===n&&(r=[(3840&i)>>4|(3840&i)>>8,(240&i)>>4|240&i,(15&i)<<4|15&i,1])}if(!r)for(i=t.parsers.length;i--&&!r;){var o=t.parsers[i];(n=o.regex.exec(e))&&(r=o.parse(n))}}r&&(this.rgba=r)},t.prototype.get=function(e){var t=this.input,i=this.rgba;if("object"===typeof t&&"undefined"!==typeof this.stops){var o=n(t);return o.stops=[].slice.call(o.stops),this.stops.forEach((function(t,r){o.stops[r]=[o.stops[r][0],t.get(e)]})),o}return i&&r(i[0])?"rgb"===e||!e&&1===i[3]?"rgb("+i[0]+","+i[1]+","+i[2]+")":"a"===e?""+i[3]:"rgba("+i.join(",")+")":t},t.prototype.brighten=function(e){var t=this.rgba;if(this.stops)this.stops.forEach((function(t){t.brighten(e)}));else if(r(e)&&0!==e)for(var n=0;3>n;n++)t[n]+=i(255*e),0>t[n]&&(t[n]=0),255d?"AM":"PM",P:12>d?"am":"pm",S:c(s.getSeconds()),L:c(Math.floor(r%1e3),3)},e.dateFormats),l(s,(function(e,n){for(;-1!==t.indexOf("%"+n);)t=t.replace("%"+n,"function"===typeof e?e.call(a,r):e)})),i?t.substr(0,1).toUpperCase()+t.substr(1):t},t.prototype.resolveDTLFormat=function(e){return a(e,!0)?e:{main:(e=d(e))[0],from:e[1],to:e[2]}},t.prototype.getTimeTicks=function(e,t,r,i){var a,s=this,l=[],c={},d=new s.Date(t),f=e.unitRange,h=e.count||1;if(i=u(i,1),n(t)){if(s.set("Milliseconds",d,f>=p.second?0:h*Math.floor(s.get("Milliseconds",d)/h)),f>=p.second&&s.set("Seconds",d,f>=p.minute?0:h*Math.floor(s.get("Seconds",d)/h)),f>=p.minute&&s.set("Minutes",d,f>=p.hour?0:h*Math.floor(s.get("Minutes",d)/h)),f>=p.hour&&s.set("Hours",d,f>=p.day?0:h*Math.floor(s.get("Hours",d)/h)),f>=p.day&&s.set("Date",d,f>=p.month?1:Math.max(1,h*Math.floor(s.get("Date",d)/h))),f>=p.month){s.set("Month",d,f>=p.year?0:h*Math.floor(s.get("Month",d)/h));var y=s.get("FullYear",d)}f>=p.year&&s.set("FullYear",d,y-y%h),f===p.week&&(y=s.get("Day",d),s.set("Date",d,s.get("Date",d)-y+i+(y4*p.month||s.getTimezoneOffset(t)!==s.getTimezoneOffset(r)),t=d.getTime(),d=1;tl.length&&l.forEach((function(e){0===e%18e5&&"000000000"===s.dateFormat("%H%M%S%L",e)&&(c[e]="day")}))}return l.info=o(e,{higherRanks:c,totalRange:f*h}),l},t.prototype.getDateFormat=function(e,t,r,n){var i=this.dateFormat("%m-%d %H:%M:%S.%L",t),o={millisecond:15,second:12,minute:9,hour:6,day:3},a="millisecond";for(s in p){if(e===p.week&&+this.dateFormat("%w",t)===r&&"00:00:00.000"===i.substr(6)){var s="week";break}if(p[s]>e){s=a;break}if(o[s]&&i.substr(o[s])!=="01-01 00:00:00.000".substr(o[s]))break;"week"!==s&&(a=s)}if(s)var l=this.resolveDTLFormat(n[s]).main;return l},t}(),t})),t(r,"Core/DefaultOptions.js",[r["Core/Chart/ChartDefaults.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Color/Palettes.js"],r["Core/Time.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i,o){t=t.parse;var a=o.merge,s={colors:n.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:"January February March April May June July August September October November December".split(" "),shortMonths:"Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec".split(" "),weekdays:"Sunday Monday Tuesday Wednesday Thursday Friday Saturday".split(" "),decimalPoint:".",numericSymbols:"kMGTPE".split(""),resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:e,title:{text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{text:"",align:"center",widthAdjust:-44},caption:{margin:15,text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},labels:{style:{position:"absolute",color:"#333333"}},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",layout:"horizontal",labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{activeColor:"#003399",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"12px",fontWeight:"bold",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#cccccc"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:r.svg,borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %b %e, %H:%M:%S.%L",second:"%A, %b %e, %H:%M:%S",minute:"%A, %b %e, %H:%M",hour:"%A, %b %e, %H:%M",day:"%A, %b %e, %Y",week:"Week from %A, %b %e, %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:r.isTouchDevice?25:10,headerFormat:'{point.key}
',pointFormat:'\u25cf {series.name}: {point.y}
',backgroundColor:t("#f7f7f7").setOpacity(.85).get(),borderWidth:1,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"12px",whiteSpace:"nowrap"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"9px"},text:"Highcharts.com"}};s.chart.styledMode=!1;var l=new i(a(s.global,s.time));return e={defaultOptions:s,defaultTime:l,getOptions:function(){return s},setOptions:function(e){return a(!0,s,e),(e.time||e.global)&&(r.time?r.time.update(a(s.global,s.time,e.global,e.time)):r.time=l),s}}})),t(r,"Core/Animation/Fx.js",[r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(e,t,r){var n=e.parse,i=t.win,o=r.isNumber,a=r.objectEach;return function(){function e(e,t,r){this.pos=NaN,this.options=t,this.elem=e,this.prop=r}return e.prototype.dSetter=function(){var e=this.paths,t=e&&e[0];e=e&&e[1];var r=this.now||0,n=[];if(1!==r&&t&&e)if(t.length===e.length&&1>r)for(var i=0;i=o+this.startTime){this.now=this.end,this.pos=1,this.update();var l=s[this.prop]=!0;a(s,(function(e){!0!==e&&(l=!1)})),l&&i&&i.call(n),e=!1}else this.pos=r.easing((t-this.startTime)/o),this.now=this.start+(this.end-this.start)*this.pos,this.update(),e=!0;return e},e.prototype.initPath=function(e,t,r){function n(e,t){for(;e.lengthu[1]){var p=t+ +u[1];0<=p?(u[0]=(+u[0]).toExponential(p).split("e")[0],t=p):(u[0]=u[0].split(".")[0]||0,e=20>t?(u[0]*Math.pow(10,u[1])).toFixed(t):0,u[1]=0)}}else t=2;p=(Math.abs(u[1]?u[0]:e)+Math.pow(10,-Math.max(t,c)-1)).toFixed(t);var f=3<(c=String(l(p))).length?c.length%3:0;return r=s(r,o.decimalPoint),i=s(i,o.thousandsSep),e=(0>e?"-":"")+(f?c.substr(0,f)+i:""),e=0>+u[1]&&!d?"0":e+c.substr(f).replace(/(\d{3})(?=\d)/g,"$1"+i),t&&(e+=r+p.slice(-t)),u[1]&&0!==+e&&(e+="e"+u[1]),e}var n=e.defaultOptions,i=e.defaultTime,o=t.getNestedProperty,a=t.isNumber,s=t.pick,l=t.pInt;return{dateFormat:function(e,t,r){return i.dateFormat(e,t,r)},format:function(e,t,a){var s="{",l=!1,c=/f$/,u=/\.([0-9])/,d=n.lang,p=a&&a.time||i;a=a&&a.numberFormatter||r;for(var f=[];e;){var h=e.indexOf(s);if(-1===h)break;var y=e.slice(0,h);if(l){if(y=y.split(":"),s=o(y.shift()||"",t),y.length&&"number"===typeof s)if(y=y.join(":"),c.test(y)){var m=parseInt((y.match(u)||["","-1"])[1],10);null!==s&&(s=a(s,m,d.decimalPoint,-1c){for(i(t,u),h=s=0;h<=c;)h+=t[s].size,s++;f=t.splice(s-1,t.length)}for(i(t,d),t=t.map((function(e){return{size:e.size,targets:[e.target],align:n(e.align,.5)}}));p;){for(s=t.length;s--;)c=t[s],u=(Math.min.apply(0,c.targets)+Math.max.apply(0,c.targets))/2,c.pos=r(u-c.size*c.align,0,o-c.size);for(s=t.length,p=!1;s--;)0t[s].pos&&(t[s-1].size+=t[s].size,t[s-1].targets=t[s-1].targets.concat(t[s].targets),t[s-1].align=.5,t[s-1].pos+t[s-1].size>o&&(t[s-1].pos=o-t[s-1].size),t.splice(s,1),p=!0)}return l.push.apply(l,f),s=0,t.some((function(t){var r=0;return(t.targets||[]).some((function(){return l[s].pos=t.pos+r,"undefined"!==typeof a&&Math.abs(l[s].pos-l[s].target)>a?(l.slice(0,s+1).forEach((function(e){return delete e.pos})),l.reducedLen=(l.reducedLen||o)-.1*o,l.reducedLen>.1*o&&e(l,o,a),!0):(r+=l[s].size,s++,!1)}))})),i(l,d),l}}(t||(t={})),t})),t(r,"Core/Renderer/SVG/SVGElement.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i){var o=e.animate,a=e.animObject,s=e.stop,l=n.deg2rad,c=n.doc,u=n.noop,d=n.svg,p=n.SVG_NS,f=n.win,h=i.addEvent,y=i.attr,m=i.createElement,b=i.css,g=i.defined,_=i.erase,v=i.extend,w=i.fireEvent,O=i.isArray,k=i.isFunction,j=i.isNumber,x=i.isString,S=i.merge,P=i.objectEach,R=i.pick,T=i.pInt,E=i.syncTimeout,q=i.uniqueKey;return e=function(){function e(){this.element=void 0,this.onEvents={},this.opacity=1,this.renderer=void 0,this.SVG_NS=p,this.symbolCustomAttribs="x y width height r start end innerR anchorX anchorY rounded".split(" ")}return e.prototype._defaultGetter=function(e){return e=R(this[e+"Value"],this[e],this.element?this.element.getAttribute(e):null,0),/^[\-0-9\.]+$/.test(e)&&(e=parseFloat(e)),e},e.prototype._defaultSetter=function(e,t,r){r.setAttribute(t,e)},e.prototype.add=function(e){var t=this.renderer,r=this.element;if(e&&(this.parentGroup=e),this.parentInverted=e&&e.inverted,"undefined"!==typeof this.textStr&&"text"===this.element.nodeName&&t.buildText(this),this.added=!0,!e||e.handleZ||this.zIndex)var n=this.zIndexSetter();return n||(e?e.element:t.box).appendChild(r),this.onAdd&&this.onAdd(),this},e.prototype.addClass=function(e,t){var r=t?"":this.attr("class")||"";return e=(e||"").split(/ /g).reduce((function(e,t){return-1===r.indexOf(t)&&e.push(t),e}),r?[r]:[]).join(" "),e!==r&&this.attr("class",e),this},e.prototype.afterSetters=function(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)},e.prototype.align=function(e,t,r){var n,i,o,a={},s=this.renderer,l=s.alignedObjects;e?(this.alignOptions=e,this.alignByTranslate=t,(!r||x(r))&&(this.alignTo=n=r||"renderer",_(l,this),l.push(this),r=void 0)):(e=this.alignOptions,t=this.alignByTranslate,n=this.alignTo),r=R(r,s[n],"scrollablePlotBox"===n?s.plotBox:void 0,s),n=e.align;var c=e.verticalAlign;return s=(r.x||0)+(e.x||0),l=(r.y||0)+(e.y||0),"right"===n?i=1:"center"===n&&(i=2),i&&(s+=(r.width-(e.width||0))/i),a[t?"translateX":"x"]=Math.round(s),"bottom"===c?o=1:"middle"===c&&(o=2),o&&(l+=(r.height-(e.height||0))/o),a[t?"translateY":"y"]=Math.round(l),this[this.placed?"animate":"attr"](a),this.placed=!0,this.alignAttr=a,this},e.prototype.alignSetter=function(e){var t={left:"start",center:"middle",right:"end"};t[e]&&(this.alignValue=e,this.element.setAttribute("text-anchor",t[e]))},e.prototype.animate=function(e,t,r){var n=this,i=a(R(t,this.renderer.globalAnimation,!0));return t=i.defer,R(c.hidden,c.msHidden,c.webkitHidden,!1)&&(i.duration=0),0!==i.duration?(r&&(i.complete=r),E((function(){n.element&&o(n,e,i)}),t)):(this.attr(e,void 0,r),P(e,(function(e,t){i.step&&i.step.call(this,e,{prop:t,pos:1,elem:this})}),this)),this},e.prototype.applyTextOutline=function(e){var t=this.element;-1!==e.indexOf("contrast")&&(e=e.replace(/contrast/g,this.renderer.getContrast(t.style.fill)));var r=e.split(" ");if(e=r[r.length-1],(r=r[0])&&"none"!==r&&n.svg){this.fakeTS=!0,this.ySetter=this.xSetter,r=r.replace(/(^[\d\.]+)(.*?)$/g,(function(e,t,r){return 2*Number(t)+r})),this.removeTextOutline();var i=c.createElementNS(p,"tspan");y(i,{class:"highcharts-text-outline",fill:e,stroke:e,"stroke-width":r,"stroke-linejoin":"round"}),[].forEach.call(t.childNodes,(function(e){var t=e.cloneNode(!0);t.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach((function(e){return t.removeAttribute(e)})),i.appendChild(t)}));var o=c.createElementNS(p,"tspan");o.textContent="\u200b",["x","y"].forEach((function(e){var r=t.getAttribute(e);r&&o.setAttribute(e,r)})),i.appendChild(o),t.insertBefore(i,t.firstChild)}},e.prototype.attr=function(e,t,r,n){var i,o,a,l=this.element,c=this.symbolCustomAttribs,u=this;if("string"===typeof e&&"undefined"!==typeof t){var d=e;(e={})[d]=t}return"string"===typeof e?u=(this[e+"Getter"]||this._defaultGetter).call(this,e,l):(P(e,(function(t,r){o=!1,n||s(this,r),this.symbolName&&-1!==c.indexOf(r)&&(i||(this.symbolAttr(e),i=!0),o=!0),!this.rotation||"x"!==r&&"y"!==r||(this.doTransform=!0),o||((a=this[r+"Setter"]||this._defaultSetter).call(this,t,r,l),!this.styledMode&&this.shadows&&/^(width|height|visibility|x|y|d|transform|cx|cy|r)$/.test(r)&&this.updateShadows(r,t,a))}),this),this.afterSetters()),r&&r.call(this),u},e.prototype.clip=function(e){return this.attr("clip-path",e?"url("+this.renderer.url+"#"+e.id+")":"none")},e.prototype.crisp=function(e,t){t=t||e.strokeWidth||0;var r=Math.round(t)%2/2;return e.x=Math.floor(e.x||this.x||0)+r,e.y=Math.floor(e.y||this.y||0)+r,e.width=Math.floor((e.width||this.width||0)-2*r),e.height=Math.floor((e.height||this.height||0)-2*r),g(e.strokeWidth)&&(e.strokeWidth=t),e},e.prototype.complexColor=function(e,t,n){var i,o,a,s,l,c,u,d,p,f,h,y=this.renderer,m=[];w(this.renderer,"complexColor",{args:arguments},(function(){if(e.radialGradient?o="radialGradient":e.linearGradient&&(o="linearGradient"),o){if(a=e[o],l=y.gradients,c=e.stops,p=n.radialReference,O(a)&&(e[o]=a={x1:a[0],y1:a[1],x2:a[2],y2:a[3],gradientUnits:"userSpaceOnUse"}),"radialGradient"===o&&p&&!g(a.gradientUnits)&&(s=a,a=S(a,y.getRadialAttr(p,s),{gradientUnits:"userSpaceOnUse"})),P(a,(function(e,t){"id"!==t&&m.push(t,e)})),P(c,(function(e){m.push(e)})),m=m.join(","),l[m])f=l[m].attr("id");else{a.id=f=q();var b=l[m]=y.createElement(o).attr(a).add(y.defs);b.radAttr=s,b.stops=[],c.forEach((function(e){0===e[1].indexOf("rgba")?(i=r.parse(e[1]),u=i.get("rgb"),d=i.get("a")):(u=e[1],d=1),e=y.createElement("stop").attr({offset:e[0],"stop-color":u,"stop-opacity":d}).add(b),b.stops.push(e)}))}h="url("+y.url+"#"+f+")",n.setAttribute(t,h),n.gradient=m,e.toString=function(){return h}}}))},e.prototype.css=function(e){var t=this.styles,r={},n=this.element,i=["textOutline","textOverflow","width"],o="",a=!t;if(e&&e.color&&(e.fill=e.color),t&&P(e,(function(e,n){t&&t[n]!==e&&(r[n]=e,a=!0)})),a){if(t&&(e=v(t,r)),e)if(null===e.width||"auto"===e.width)delete this.textWidth;else if("text"===n.nodeName.toLowerCase()&&e.width)var s=this.textWidth=T(e.width);if(this.styles=e,s&&!d&&this.renderer.forExport&&delete e.width,n.namespaceURI===this.SVG_NS){var l=function(e,t){return"-"+t.toLowerCase()};P(e,(function(e,t){-1===i.indexOf(t)&&(o+=t.replace(/([A-Z])/g,l)+":"+e+";")})),o&&y(n,"style",o)}else b(n,e);this.added&&("text"===this.element.nodeName&&this.renderer.buildText(this),e&&e.textOutline&&this.applyTextOutline(e.textOutline))}return this},e.prototype.dashstyleSetter=function(e){var t=this["stroke-width"];if("inherit"===t&&(t=1),e=e&&e.toLowerCase()){var r=e.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(e=r.length;e--;)r[e]=""+T(r[e])*R(t,NaN);e=r.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",e)}},e.prototype.destroy=function(){var e=this,t=e.element||{},r=e.renderer,n=t.ownerSVGElement,i=r.isSVG&&"SPAN"===t.nodeName&&e.parentGroup||void 0;if(t.onclick=t.onmouseout=t.onmouseover=t.onmousemove=t.point=null,s(e),e.clipPath&&n){var o=e.clipPath;[].forEach.call(n.querySelectorAll("[clip-path],[CLIP-PATH]"),(function(e){-1d.width)&&(d={width:0,height:0})}else d=this.htmlGetBBox();if(n.isSVG&&(t=d.width,n=d.height,u&&(d.height=n={"11px,17":14,"13px,20":16}[(p||"")+","+Math.round(n)]||n),r&&(u=r*l,d.width=Math.abs(n*Math.sin(u))+Math.abs(t*Math.cos(u)),d.height=Math.abs(n*Math.cos(u))+Math.abs(t*Math.sin(u)))),f&&(""===a||0]*>/g,"").replace(/</g,"<").replace(/>/g,">")},e.prototype.toFront=function(){var e=this.element;return e.parentNode.appendChild(e),this},e.prototype.translate=function(e,t){return this.attr({translateX:e,translateY:t})},e.prototype.updateShadows=function(e,t,r){var n=this.shadows;if(n)for(var i=n.length;i--;)r.call(n[i],"height"===e?Math.max(t-(n[i].cutHeight||0),0):"d"===e?this.d:t,e,n[i])},e.prototype.updateTransform=function(){var e=this.scaleX,t=this.scaleY,r=this.inverted,n=this.rotation,i=this.matrix,o=this.element,a=this.translateX||0,s=this.translateY||0;r&&(a+=this.width,s+=this.height),a=["translate("+a+","+s+")"],g(i)&&a.push("matrix("+i.join(",")+")"),r?a.push("rotate(90) scale(-1,1)"):n&&a.push("rotate("+n+" "+R(this.rotationOriginX,o.getAttribute("x"),0)+" "+R(this.rotationOriginY,o.getAttribute("y")||0)+")"),(g(e)||g(t))&&a.push("scale("+R(e,1)+" "+R(t,1)+")"),a.length&&o.setAttribute("transform",a.join(" "))},e.prototype.visibilitySetter=function(e,t,r){"inherit"===e?r.removeAttribute(t):this[t]!==e&&r.setAttribute(t,e),this[t]=e},e.prototype.xGetter=function(e){return"circle"===this.element.nodeName&&("x"===e?e="cx":"y"===e&&(e="cy")),this._defaultGetter(e)},e.prototype.zIndexSetter=function(e,t){var r=this.renderer,n=this.parentGroup,i=(n||r).element||r.box,o=this.element;r=i===r.box;var a,s=!1,l=this.added;if(g(e)?(o.setAttribute("data-z-index",e),e=+e,this[t]===e&&(l=!1)):g(this[t])&&o.removeAttribute("data-z-index"),this[t]=e,l){for((e=this.zIndex)&&n&&(n.handleZ=!0),a=(t=i.childNodes).length-1;0<=a&&!s;a--){l=(n=t[a]).getAttribute("data-z-index");var c=!g(l);n!==o&&(0>e&&c&&!r&&!a?(i.insertBefore(o,t[a]),s=!0):(T(l)<=e||c&&(!g(e)||0<=e))&&(i.insertBefore(o,t[a+1]||null),s=!0))}s||(i.insertBefore(o,t[r?3:0]||null),s=!0)}return s},e}(),e.prototype["stroke-widthSetter"]=e.prototype.strokeSetter,e.prototype.yGetter=e.prototype.xGetter,e.prototype.matrixSetter=e.prototype.rotationOriginXSetter=e.prototype.rotationOriginYSetter=e.prototype.rotationSetter=e.prototype.scaleXSetter=e.prototype.scaleYSetter=e.prototype.translateXSetter=e.prototype.translateYSetter=e.prototype.verticalAlignSetter=function(e,t){this[t]=e,this.doTransform=!0},e})),t(r,"Core/Renderer/RendererRegistry.js",[r["Core/Globals.js"]],(function(e){var t;return function(t){var r;t.rendererTypes={},t.getRendererType=function(e){return void 0===e&&(e=r),t.rendererTypes[e]||t.rendererTypes[r]},t.registerRendererType=function(n,i,o){t.rendererTypes[n]=i,r&&!o||(r=n,e.Renderer=i)}}(t||(t={})),t})),t(r,"Core/Renderer/SVG/SVGLabel.js",[r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(e,t){var r=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),n=t.defined,i=t.extend,o=t.isNumber,a=t.merge,s=t.pick,l=t.removeEvent;return function(t){function c(e,r,n,i,o,a,s,l,u,d){var p,f=t.call(this)||this;return f.paddingLeftSetter=f.paddingSetter,f.paddingRightSetter=f.paddingSetter,f.init(e,"g"),f.textStr=r,f.x=n,f.y=i,f.anchorX=a,f.anchorY=s,f.baseline=u,f.className=d,f.addClass("button"===d?"highcharts-no-tooltip":"highcharts-label"),d&&f.addClass("highcharts-"+d),f.text=e.text(void 0,0,0,l).attr({zIndex:1}),"string"===typeof o&&((p=/^url\((.*?)\)$/.test(o))||f.renderer.symbols[o])&&(f.symbolKey=o),f.bBox=c.emptyBBox,f.padding=3,f.baselineOffset=0,f.needsBox=e.styledMode||p,f.deferredAttr={},f.alignFactor=0,f}return r(c,t),c.prototype.alignSetter=function(e){(e={left:0,center:.5,right:1}[e])!==this.alignFactor&&(this.alignFactor=e,this.bBox&&o(this.xSetting)&&this.attr({x:this.xSetting}))},c.prototype.anchorXSetter=function(e,t){this.anchorX=e,this.boxAttr(t,Math.round(e)-this.getCrispAdjust()-this.xSetting)},c.prototype.anchorYSetter=function(e,t){this.anchorY=e,this.boxAttr(t,e-this.ySetting)},c.prototype.boxAttr=function(e,t){this.box?this.box.attr(e,t):this.deferredAttr[e]=t},c.prototype.css=function(t){if(t){var r={};t=a(t),c.textProps.forEach((function(e){"undefined"!==typeof t[e]&&(r[e]=t[e],delete t[e])})),this.text.css(r);var n="width"in r;"fontSize"in r||"fontWeight"in r?this.updateTextPadding():n&&this.updateBoxSize()}return e.prototype.css.call(this,t)},c.prototype.destroy=function(){l(this.element,"mouseenter"),l(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),e.prototype.destroy.call(this)},c.prototype.fillSetter=function(e,t){e&&(this.needsBox=!0),this.fill=e,this.boxAttr(t,e)},c.prototype.getBBox=function(){this.textStr&&0===this.bBox.width&&0===this.bBox.height&&this.updateBoxSize();var e=this.padding,t=s(this.paddingLeft,e);return{width:this.width,height:this.height,x:this.bBox.x-t,y:this.bBox.y-e}},c.prototype.getCrispAdjust=function(){return this.renderer.styledMode&&this.box?this.box.strokeWidth()%2/2:(this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2},c.prototype.heightSetter=function(e){this.heightSetting=e},c.prototype.onAdd=function(){var e=this.textStr;this.text.add(this),this.attr({text:n(e)?e:"",x:this.x,y:this.y}),this.box&&n(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})},c.prototype.paddingSetter=function(e,t){o(e)?e!==this[t]&&(this[t]=e,this.updateTextPadding()):this[t]=void 0},c.prototype.rSetter=function(e,t){this.boxAttr(t,e)},c.prototype.shadow=function(e){return e&&!this.renderer.styledMode&&(this.updateBoxSize(),this.box&&this.box.shadow(e)),this},c.prototype.strokeSetter=function(e,t){this.stroke=e,this.boxAttr(t,e)},c.prototype["stroke-widthSetter"]=function(e,t){e&&(this.needsBox=!0),this["stroke-width"]=e,this.boxAttr(t,e)},c.prototype["text-alignSetter"]=function(e){this.textAlign=e},c.prototype.textSetter=function(e){"undefined"!==typeof e&&this.text.attr({text:e}),this.updateTextPadding()},c.prototype.updateBoxSize=function(){var e=this.text.element.style,t={},r=this.padding,a=this.bBox=o(this.widthSetting)&&o(this.heightSetting)&&!this.textAlign||!n(this.text.textStr)?c.emptyBBox:this.text.getBBox();this.width=this.getPaddedWidth(),this.height=(this.heightSetting||a.height||0)+2*r,e=this.renderer.fontMetrics(e&&e.fontSize,this.text),this.baselineOffset=r+Math.min((this.text.firstLineMetrics||e).b,a.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-e.h)/2),this.needsBox&&(this.box||((r=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect()).addClass(("button"===this.className?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),r.add(this)),r=this.getCrispAdjust(),t.x=r,t.y=(this.baseline?-this.baselineOffset:0)+r,t.width=Math.round(this.width),t.height=Math.round(this.height),this.box.attr(i(t,this.deferredAttr)),this.deferredAttr={})},c.prototype.updateTextPadding=function(){var e=this.text;this.updateBoxSize();var t=this.baseline?0:this.baselineOffset,r=s(this.paddingLeft,this.padding);n(this.widthSetting)&&this.bBox&&("center"===this.textAlign||"right"===this.textAlign)&&(r+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),r===e.x&&t===e.y||(e.attr("x",r),e.hasBoxWidthChanged&&(this.bBox=e.getBBox(!0)),"undefined"!==typeof t&&e.attr("y",t)),e.x=r,e.y=t},c.prototype.widthSetter=function(e){this.widthSetting=o(e)?e:void 0},c.prototype.getPaddedWidth=function(){var e=this.padding,t=s(this.paddingLeft,e);return e=s(this.paddingRight,e),(this.widthSetting||this.bBox.width||0)+t+e},c.prototype.xSetter=function(e){this.x=e,this.alignFactor&&(e-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(e),this.attr("translateX",this.xSetting)},c.prototype.ySetter=function(e){this.ySetting=this.y=Math.round(e),this.attr("translateY",this.ySetting)},c.emptyBBox={width:0,height:0,x:0,y:0},c.textProps="color direction fontFamily fontSize fontStyle fontWeight lineHeight textAlign textDecoration textOutline textOverflow width".split(" "),c}(e)})),t(r,"Core/Renderer/SVG/Symbols.js",[r["Core/Utilities.js"]],(function(e){function t(e,t,r,n,o){var s=[];if(o){var l=o.start||0,c=a(o.r,r);r=a(o.r,n||r);var u=(o.end||0)-.001;n=o.innerR;var d=a(o.open,.001>Math.abs((o.end||0)-l-2*Math.PI)),p=Math.cos(l),f=Math.sin(l),h=Math.cos(u),y=Math.sin(u);l=a(o.longArc,.001>u-l-Math.PI?0:1),s.push(["M",e+c*p,t+r*f],["A",c,r,0,l,a(o.clockwise,1),e+c*h,t+r*y]),i(n)&&s.push(d?["M",e+n*h,t+n*y]:["L",e+n*h,t+n*y],["A",n,n,0,l,i(o.clockwise)?1-o.clockwise:0,e+n*p,t+n*f]),d||s.push(["Z"])}return s}function r(e,t,r,i,o){return o&&o.r?n(e,t,r,i,o):[["M",e,t],["L",e+r,t],["L",e+r,t+i],["L",e,t+i],["Z"]]}function n(e,t,r,n,i){return[["M",e+(i=i&&i.r||0),t],["L",e+r-i,t],["C",e+r,t,e+r,t,e+r,t+i],["L",e+r,t+n-i],["C",e+r,t+n,e+r,t+n,e+r-i,t+n],["L",e+i,t+n],["C",e,t+n,e,t+n,e,t+n-i],["L",e,t+i],["C",e,t,e,t,e+i,t]]}var i=e.defined,o=e.isNumber,a=e.pick;return{arc:t,callout:function(e,t,r,i,a){var s=Math.min(a&&a.r||0,r,i),l=s+6,c=a&&a.anchorX;a=a&&a.anchorY||0;var u=n(e,t,r,i,{r:s});return o(c)?(e+c>=r?a>t+l&&a=e+c?a>t+l&&ai&&c>e+l&&ca&&c>e+l&&c/g.test(o))?""!==o&&(i&&i.appendChild(r),o=new e(o),this.modifyTree(o.nodes),o.addToDOM(t.element),this.modifyDOM(),this.ellipsis&&-1!==(r.textContent||"").indexOf("\u2026")&&t.attr("title",this.unescapeEntities(t.textStr||"",["<",">"])),i&&i.removeChild(r)):r.appendChild(n.createTextNode(this.unescapeEntities(o))),s(this.textOutline)&&t.applyTextOutline&&t.applyTextOutline(this.textOutline)}},t.prototype.modifyDOM=function(){var e,t=this,r=this.svgElement,s=a(r.element,"x");for(r.firstLineMetrics=void 0;(e=r.element.firstChild)&&/^[\s\u200B]*$/.test(e.textContent||" ");)r.element.removeChild(e);[].forEach.call(r.element.querySelectorAll("tspan.highcharts-br"),(function(e,n){e.nextSibling&&e.previousSibling&&(0===n&&1===e.previousSibling.nodeType&&(r.firstLineMetrics=r.renderer.fontMetrics(void 0,e.previousSibling)),a(e,{dy:t.getLineHeight(e.nextSibling),x:s}))}));var l=this.width||0;if(l){var c=function(e,o){var c=e.textContent||"",u=c.replace(/([^\^])-/g,"$1- ").split(" "),d=!t.noWrap&&(1i){for(;d<=p;)f=Math.ceil((d+p)/2),r&&(a=o(r,f)),y=h(f,a&&a.length-1),d===p?d=p+1:y>i?p=f-1:d=f;0===p?e.textContent="":t&&p===t.length-1||(e.textContent=a||o(t||r,f))}r&&r.splice(0,f),s.actualWidth=y,s.rotation=c},t.prototype.unescapeEntities=function(e,t){return l(this.renderer.escapes,(function(r,n){t&&-1!==t.indexOf(r)||(e=e.toString().replace(new RegExp(r,"g"),n))})),e},t}()})),t(r,"Core/Renderer/SVG/SVGRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Color/Color.js"],r["Core/Globals.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGLabel.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Renderer/SVG/TextBuilder.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i,o,a,s,l){var c,u=r.charts,d=r.deg2rad,p=r.doc,f=r.isFirefox,h=r.isMS,y=r.isWebKit,m=r.noop,b=r.SVG_NS,g=r.symbolSizes,_=r.win,v=l.addEvent,w=l.attr,O=l.createElement,k=l.css,j=l.defined,x=l.destroyObjectProperties,S=l.extend,P=l.isArray,R=l.isNumber,T=l.isObject,E=l.isString,q=l.merge,A=l.pick,N=l.pInt,C=l.uniqueKey;return r=function(){function r(e,t,r,n,i,o,a){this.width=this.url=this.style=this.isSVG=this.imgCount=this.height=this.gradients=this.globalAnimation=this.defs=this.chartIndex=this.cacheKeys=this.cache=this.boxWrapper=this.box=this.alignedObjects=void 0,this.init(e,t,r,n,i,o,a)}return r.prototype.init=function(e,t,r,n,i,o,a){var s,l=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),c=l.element;a||l.css(this.getStyle(n)),e.appendChild(c),w(e,"dir","ltr"),-1===e.innerHTML.indexOf("xmlns")&&w(c,"xmlns",this.SVG_NS),this.isSVG=!0,this.box=c,this.boxWrapper=l,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(p.createTextNode("Created with Highcharts 9.3.2")),this.defs=this.createElement("defs").add(),this.allowHTML=o,this.forExport=i,this.styledMode=a,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.setSize(t,r,!1),f&&e.getBoundingClientRect&&((t=function(){k(e,{left:0,top:0}),s=e.getBoundingClientRect(),k(e,{left:Math.ceil(s.left)-s.left+"px",top:Math.ceil(s.top)-s.top+"px"})})(),this.unSubPixelFix=v(_,"resize",t))},r.prototype.definition=function(t){return new e([t]).addToDOM(this.defs.element)},r.prototype.getReferenceURL=function(){if((f||y)&&p.getElementsByTagName("base").length){if(!j(c)){var t=C();t=new e([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:t},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":"url(#"+t+")",fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(p.body),k(t,{position:"fixed",top:0,left:0,zIndex:9e5});var r=p.elementFromPoint(6,6);c="hitme"===(r&&r.id),p.body.removeChild(t)}if(c)return _.location.href.split("#")[0].replace(/<[^>]*>/g,"").replace(/([\('\)])/g,"\\$1").replace(/ /g,"%20")}return""},r.prototype.getStyle=function(e){return this.style=S({fontFamily:'"Lucida Grande", "Lucida Sans Unicode", Arial, Helvetica, sans-serif',fontSize:"12px"},e)},r.prototype.setStyle=function(e){this.boxWrapper.css(this.getStyle(e))},r.prototype.isHidden=function(){return!this.boxWrapper.getBBox().width},r.prototype.destroy=function(){var e=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),x(this.gradients||{}),this.gradients=null,e&&(this.defs=e.destroy()),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null},r.prototype.createElement=function(e){var t=new this.Element;return t.init(this,e),t},r.prototype.getRadialAttr=function(e,t){return{cx:e[0]-e[2]/2+(t.cx||0)*e[2],cy:e[1]-e[2]/2+(t.cy||0)*e[2],r:(t.r||0)*e[2]}},r.prototype.buildText=function(e){new s(e).buildSVG()},r.prototype.getContrast=function(e){return(e=t.parse(e).rgba)[0]*=1,e[1]*=1.2,e[2]*=.5,459(e=/px/.test(e)?N(e):12)?e+3:Math.round(1.2*e),b:Math.round(.8*t),f:e}},r.prototype.rotCorr=function(e,t,r){var n=e;return t&&r&&(n=Math.max(n*Math.cos(t*d),4)),{x:-e/3*Math.sin(t*d),y:n}},r.prototype.pathToSegments=function(e){for(var t=[],r=[],n={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2},i=0;i":">","'":"'",'"':"""},symbols:a,draw:m}),n.registerRendererType("svg",r,!0),r})),t(r,"Core/Renderer/HTML/HTMLElement.js",[r["Core/Globals.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(e,t,r){var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=e.isFirefox,o=e.isMS,a=e.isWebKit,s=e.win,l=r.css,c=r.defined,u=r.extend,d=r.pick,p=r.pInt;return function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.compose=function(e){if(-1===t.composedClasses.indexOf(e)){t.composedClasses.push(e);var r=t.prototype,n=e.prototype;n.getSpanCorrection=r.getSpanCorrection,n.htmlCss=r.htmlCss,n.htmlGetBBox=r.htmlGetBBox,n.htmlUpdateTransform=r.htmlUpdateTransform,n.setSpanRotation=r.setSpanRotation}return e},t.prototype.getSpanCorrection=function(e,t,r){this.xCorr=-e*r,this.yCorr=-t},t.prototype.htmlCss=function(e){var t="SPAN"===this.element.tagName&&e&&"width"in e,r=d(t&&e.width,void 0);if(t){delete e.width,this.textWidth=r;var n=!0}return e&&"ellipsis"===e.textOverflow&&(e.whiteSpace="nowrap",e.overflow="hidden"),this.styles=u(this.styles,e),l(this.element,e),n&&this.htmlUpdateTransform(),this},t.prototype.htmlGetBBox=function(){var e=this.element;return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}},t.prototype.htmlUpdateTransform=function(){if(this.added){var e=this.renderer,t=this.element,r=this.translateX||0,n=this.translateY||0,i=this.x||0,o=this.y||0,a=this.textAlign||"left",s={left:0,center:.5,right:1}[a],u=this.styles;if(u=u&&u.whiteSpace,l(t,{marginLeft:r,marginTop:n}),!e.styledMode&&this.shadows&&this.shadows.forEach((function(e){l(e,{marginLeft:r+1,marginTop:n+1})})),this.inverted&&[].forEach.call(t.childNodes,(function(r){e.invertChild(r,t)})),"SPAN"===t.tagName){var d=this.rotation,f=this.textWidth&&p(this.textWidth),h=[d,a,t.innerHTML,this.textWidth,this.textAlign].join(),y=void 0;if(y=!1,f!==this.oldTextWidth){if(this.textPxLength)var m=this.textPxLength;else l(t,{width:"",whiteSpace:u||"nowrap"}),m=t.offsetWidth;(f>this.oldTextWidth||m>f)&&(/[ \-]/.test(t.textContent||t.innerText)||"ellipsis"===t.style.textOverflow)&&(l(t,{width:m>f||d?f+"px":"auto",display:"block",whiteSpace:u||"normal"}),this.oldTextWidth=f,y=!0)}this.hasBoxWidthChanged=y,h!==this.cTT&&(y=e.fontMetrics(t.style.fontSize,t).b,!c(d)||d===(this.oldRotation||0)&&a===this.oldAlign||this.setSpanRotation(d,s,y),this.getSpanCorrection(!c(d)&&this.textPxLength||t.offsetWidth,y,s,d,a)),l(t,{left:i+(this.xCorr||0)+"px",top:o+(this.yCorr||0)+"px"}),this.cTT=h,this.oldRotation=d,this.oldAlign=a}}else this.alignOnAdd=!0},t.prototype.setSpanRotation=function(e,t,r){var n={},c=o&&!/Edge/.test(s.navigator.userAgent)?"-ms-transform":a?"-webkit-transform":i?"MozTransform":s.opera?"-o-transform":void 0;c&&(n[c]=n.transform="rotate("+e+"deg)",n[c+(i?"Origin":"-origin")]=n.transformOrigin=100*t+"% "+r+"px",l(this.element,n))},t.composedClasses=[],t}(t)})),t(r,"Core/Renderer/HTML/HTMLRenderer.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Utilities.js"]],(function(e,t,r,n){var i=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),o=n.attr,a=n.createElement,s=n.extend,l=n.pick;return function(r){function n(){return null!==r&&r.apply(this,arguments)||this}return i(n,r),n.compose=function(e){return-1===n.composedClasses.indexOf(e)&&(n.composedClasses.push(e),e.prototype.html=n.prototype.html),e},n.prototype.html=function(r,n,i){var c=this.createElement("span"),u=c.element,d=c.renderer,p=d.isSVG,f=function(e,r){["opacity","visibility"].forEach((function(n){e[n+"Setter"]=function(i,o,a){var s=e.div?e.div.style:r;t.prototype[n+"Setter"].call(this,i,o,a),s&&(s[o]=i)}})),e.addedSetters=!0};return c.textSetter=function(t){t!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,e.setElementHTML(this.element,l(t,"")),this.textStr=t,c.doTransform=!0)},p&&f(c,c.element.style),c.xSetter=c.ySetter=c.alignSetter=c.rotationSetter=function(e,t){"align"===t?c.alignValue=c.textAlign=e:c[t]=e,c.doTransform=!0},c.afterSetters=function(){this.doTransform&&(this.htmlUpdateTransform(),this.doTransform=!1)},c.attr({text:r,x:Math.round(n),y:Math.round(i)}).css({position:"absolute"}),d.styledMode||c.css({fontFamily:this.style.fontFamily,fontSize:this.style.fontSize}),u.style.whiteSpace="nowrap",c.css=c.htmlCss,p&&(c.add=function(e){var t=d.box.parentNode,r=[];if(this.parentGroup=e){var n=e.div;if(!n){for(;e;)r.push(e),e=e.parentGroup;r.reverse().forEach((function(e){function i(t,r){e[r]=t,"translateX"===r?d.left=t+"px":d.top=t+"px",e.doTransform=!0}var l=o(e.element,"class"),u=e.styles||{},d=(n=e.div=e.div||a("div",l?{className:l}:void 0,{position:"absolute",left:(e.translateX||0)+"px",top:(e.translateY||0)+"px",display:e.display,opacity:e.opacity,cursor:u.cursor,pointerEvents:u.pointerEvents,visibility:e.visibility},n||t)).style;s(e,{classSetter:function(e){return function(t){this.element.setAttribute("class",t),e.className=t}}(n),on:function(){return r[0].div&&c.on.apply({element:r[0].div,onEvents:e.onEvents},arguments),e},translateXSetter:i,translateYSetter:i}),e.addedSetters||f(e)}))}}else n=t;return n.appendChild(u),c.added=!0,c.alignOnAdd&&c.htmlUpdateTransform(),c}),c},n.composedClasses=[],n}(r)})),t(r,"Core/Axis/AxisDefaults.js",[],(function(){var e;return function(e){e.defaultXAxisOptions={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e. %b"},week:{main:"%e. %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotation:void 0,autoRotationLimit:80,distance:void 0,enabled:!0,indentation:10,overflow:"justify",padding:5,reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,x:0,zIndex:7,style:{color:"#666666",cursor:"default",fontSize:"11px"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minPadding:.01,offset:void 0,opposite:!1,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",rotation:0,useHTML:!1,x:0,y:0,style:{color:"#666666"}},type:"linear",uniqueNames:!0,visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#ccd6eb",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#ccd6eb"},e.defaultYAxisOptions={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:-8},startOnTick:!0,title:{rotation:270,text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){return(0,this.axis.chart.numberFormatter)(this.total,-1)},style:{color:"#000000",fontSize:"11px",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},e.defaultLeftAxisOptions={labels:{x:-15},title:{rotation:270}},e.defaultRightAxisOptions={labels:{x:15},title:{rotation:90}},e.defaultBottomAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}},e.defaultTopAxisOptions={labels:{autoRotation:[-45],x:0},margin:15,title:{rotation:0}}}(e||(e={})),e})),t(r,"Core/Foundation.js",[r["Core/Utilities.js"]],(function(e){var t,r=e.addEvent,n=e.isFunction,i=e.objectEach,o=e.removeEvent;return function(e){e.registerEventOptions=function(e,t){e.eventOptions=e.eventOptions||{},i(t.events,(function(t,i){e.eventOptions[i]!==t&&(e.eventOptions[i]&&(o(e,i,e.eventOptions[i]),delete e.eventOptions[i]),n(t)&&(e.eventOptions[i]=t,r(e,i,t)))}))}}(t||(t={})),t})),t(r,"Core/Axis/Tick.js",[r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Utilities.js"]],(function(e,t,r){var n=t.deg2rad,i=r.clamp,o=r.correctFloat,a=r.defined,s=r.destroyObjectProperties,l=r.extend,c=r.fireEvent,u=r.isNumber,d=r.merge,p=r.objectEach,f=r.pick;return t=function(){function t(e,t,r,n,i){this.isNewLabel=this.isNew=!0,this.axis=e,this.pos=t,this.type=r||"",this.parameters=i||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,c(this,"init"),r||n||this.addLabel()}return t.prototype.addLabel=function(){var t=this,r=t.axis,n=r.options,i=r.chart,s=r.categories,d=r.logarithmic,p=r.names,h=t.pos,y=f(t.options&&t.options.labels,n.labels),m=r.tickPositions,b=h===m[0],g=h===m[m.length-1],_=(!y.step||1===y.step)&&1===r.tickInterval;m=m.info;var v,w=t.label;if(s=this.parameters.category||(s?f(s[h],p[h],h):h),d&&u(s)&&(s=o(d.lin2log(s))),r.dateTime)if(m)var O=i.time.resolveDTLFormat(n.dateTimeLabelFormats[!n.grid&&m.higherRanks[h]||m.unitName]),k=O.main;else u(s)&&(k=r.dateTime.getXDateFormat(s,n.dateTimeLabelFormats||{}));t.isFirst=b,t.isLast=g;var j={axis:r,chart:i,dateTimeLabelFormat:k,isFirst:b,isLast:g,pos:h,tick:t,tickPositionInfo:m,value:s};c(this,"labelFormat",j);var x=function(t){return y.formatter?y.formatter.call(t,t):y.format?(t.text=r.defaultLabelFormatter.call(t),e.format(y.format,t,i)):r.defaultLabelFormatter.call(t,t)};n=x.call(j,j);var S=O&&O.list;t.shortenLabel=S?function(){for(v=0;vu&&i-d*pa&&(l=Math.round((o-i)/Math.cos(u*n))):(o=i+(1-d)*p,i-d*pa&&(m=a-e.x+m*d,b=-1),(m=Math.min(h,m))m||t.autoRotation&&(c.styles||{}).width)&&(l=m)),l&&(this.shortenLabel?this.shortenLabel():(y.width=Math.floor(l)+"px",(r.style||{}).textOverflow||(y.textOverflow="ellipsis"),c.css(y)))},t.prototype.moveLabel=function(e,t){var r=this,n=r.label,i=r.axis,o=i.reversed,a=!1;if(n&&n.textStr===e?(r.movedLabel=n,a=!0,delete r.label):p(i.ticks,(function(t){a||t.isNew||t===r||!t.label||t.label.textStr!==e||(r.movedLabel=t.label,a=!0,t.labelPos=r.movedLabel.xy,delete t.label)})),!a&&(r.labelPos||n)){var s=r.labelPos||n.xy;n=i.horiz?o?0:i.width+i.left:s.x,i=i.horiz?s.y:o?i.width+i.left:0,r.movedLabel=r.createLabel({x:n,y:i},e,t),r.movedLabel&&r.movedLabel.attr({opacity:0})}},t.prototype.render=function(e,t,r){var n=this.axis,i=n.horiz,o=this.pos,a=f(this.tickmarkOffset,n.tickmarkOffset);a=(o=this.getPosition(i,o,a,t)).x;var s=o.y;n=i&&a===n.pos+n.len||!i&&s===n.pos?-1:1,i=f(r,this.label&&this.label.newOpacity,1),r=f(r,1),this.isActive=!0,this.renderGridLine(t,r,n),this.renderMark(o,r,n),this.renderLabel(o,t,i,e),this.isNew=!1,c(this,"afterRender")},t.prototype.renderGridLine=function(e,t,r){var n=this.axis,i=n.options,o={},a=this.pos,s=this.type,l=f(this.tickmarkOffset,n.tickmarkOffset),c=n.chart.renderer,u=this.gridLine,d=i.gridLineWidth,p=i.gridLineColor,h=i.gridLineDashStyle;"minor"===this.type&&(d=i.minorGridLineWidth,p=i.minorGridLineColor,h=i.minorGridLineDashStyle),u||(n.chart.styledMode||(o.stroke=p,o["stroke-width"]=d||0,o.dashstyle=h),s||(o.zIndex=1),e&&(t=0),this.gridLine=u=c.path().attr(o).addClass("highcharts-"+(s?s+"-":"")+"grid-line").add(n.gridGroup)),u&&(r=n.getPlotLinePath({value:a+l,lineWidth:u.strokeWidth()*r,force:"pass",old:e}))&&u[e||this.isNew?"attr":"animate"]({d:r,opacity:t})},t.prototype.renderMark=function(e,t,r){var n=this.axis,i=n.options,o=n.chart.renderer,a=this.type,s=n.tickSize(a?a+"Tick":"tick"),l=e.x;e=e.y;var c=f(i["minor"!==a?"tickWidth":"minorTickWidth"],!a&&n.isXAxis?1:0);i=i["minor"!==a?"tickColor":"minorTickColor"];var u=this.mark,d=!u;s&&(n.opposite&&(s[0]=-s[0]),u||(this.mark=u=o.path().addClass("highcharts-"+(a?a+"-":"")+"tick").add(n.axisGroup),n.chart.styledMode||u.attr({stroke:i,"stroke-width":c})),u[d?"attr":"animate"]({d:this.getMarkPath(l,e,s[0],u.strokeWidth()*r,n.horiz,o),opacity:t}))},t.prototype.renderLabel=function(e,t,r,n){var i=this.axis,o=i.horiz,a=i.options,s=this.label,l=a.labels,c=l.step;i=f(this.tickmarkOffset,i.tickmarkOffset);var d=e.x;e=e.y;var p=!0;s&&u(d)&&(s.xy=e=this.getLabelPosition(d,e,s,o,l,i,n,c),this.isFirst&&!this.isLast&&!a.showFirstLabel||this.isLast&&!this.isFirst&&!a.showLastLabel?p=!1:!o||l.step||l.rotation||t||0===r||this.handleOverflow(e),c&&n%c&&(p=!1),p&&u(e.y)?(e.opacity=r,s[this.isNewLabel?"attr":"animate"](e),this.isNewLabel=!1):(s.attr("y",-9999),this.isNewLabel=!0))},t.prototype.replaceMovedLabel=function(){var e=this.label,t=this.axis,r=t.reversed;if(e&&!this.isNew){var n=t.horiz?r?t.left:t.width+t.left:e.xy.x;r=t.horiz?e.xy.y:r?t.width+t.top:t.top,e.animate({x:n,y:r,opacity:0},void 0,e.destroy),delete this.label}t.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel},t}(),t})),t(r,"Core/Axis/Axis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/AxisDefaults.js"],r["Core/Color/Color.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Axis/Tick.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i,o,a,s){var l=e.animObject,c=n.defaultOptions,u=i.registerEventOptions,d=o.deg2rad,p=s.arrayMax,f=s.arrayMin,h=s.clamp,y=s.correctFloat,m=s.defined,b=s.destroyObjectProperties,g=s.erase,_=s.error,v=s.extend,w=s.fireEvent,O=s.getMagnitude,k=s.isArray,j=s.isNumber,x=s.isString,S=s.merge,P=s.normalizeTickInterval,R=s.objectEach,T=s.pick,E=s.relativeLength,q=s.removeEvent,A=s.splat,N=s.syncTimeout;return e=function(){function e(e,t){this.zoomEnabled=this.width=this.visible=this.userOptions=this.translationSlope=this.transB=this.transA=this.top=this.ticks=this.tickRotCorr=this.tickPositions=this.tickmarkOffset=this.tickInterval=this.tickAmount=this.side=this.series=this.right=this.positiveValuesOnly=this.pos=this.pointRangePadding=this.pointRange=this.plotLinesAndBandsGroups=this.plotLinesAndBands=this.paddedTicks=this.overlap=this.options=this.offset=this.names=this.minPixelPadding=this.minorTicks=this.minorTickInterval=this.min=this.maxLabelLength=this.max=this.len=this.left=this.labelFormatter=this.labelEdge=this.isLinked=this.height=this.hasVisibleSeries=this.hasNames=this.eventOptions=this.coll=this.closestPointRange=this.chart=this.categories=this.bottom=this.alternateBands=void 0,this.init(e,t)}return e.prototype.init=function(e,t){var r=t.isX;this.chart=e,this.horiz=e.inverted&&!this.isZAxis?!r:r,this.isXAxis=r,this.coll=this.coll||(r?"xAxis":"yAxis"),w(this,"init",{userOptions:t}),this.opposite=T(t.opposite,this.opposite),this.side=T(t.side,this.side,this.horiz?this.opposite?0:2:this.opposite?1:3),this.setOptions(t);var n=this.options,i=n.labels,o=n.type;this.userOptions=t,this.minPixelPadding=0,this.reversed=T(n.reversed,this.reversed),this.visible=n.visible,this.zoomEnabled=n.zoomEnabled,this.hasNames="category"===o||!0===n.categories,this.categories=n.categories||this.hasNames,this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=m(n.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len=0,this.minRange=this.userMinRange=n.minRange||n.maxZoom,this.range=n.range,this.offset=n.offset||0,this.min=this.max=null,t=T(n.crosshair,A(e.options.tooltip.crosshairs)[r?0:1]),this.crosshair=!0===t?{}:t,-1===e.axes.indexOf(this)&&(r?e.axes.splice(e.xAxis.length,0,this):e.axes.push(this),e[this.coll].push(this)),this.series=this.series||[],e.inverted&&!this.isZAxis&&r&&"undefined"===typeof this.reversed&&(this.reversed=!0),this.labelRotation=j(i.rotation)?i.rotation:void 0,u(this,n),w(this,"afterInit")},e.prototype.setOptions=function(e){this.options=S(t.defaultXAxisOptions,"yAxis"===this.coll&&t.defaultYAxisOptions,[t.defaultTopAxisOptions,t.defaultRightAxisOptions,t.defaultBottomAxisOptions,t.defaultLeftAxisOptions][this.side],S(c[this.coll],e)),w(this,"afterSetOptions",{userOptions:e})},e.prototype.defaultLabelFormatter=function(e){var t=this.axis;e=this.chart.numberFormatter;var r=j(this.value)?this.value:NaN,n=t.chart.time,i=this.dateTimeLabelFormat,o=c.lang,a=o.numericSymbols;o=o.numericSymbolMagnitude||1e3;var s=t.logarithmic?Math.abs(r):t.tickInterval,l=a&&a.length;if(t.categories)var u=""+this.value;else if(i)u=n.dateFormat(i,r);else if(l&&1e3<=s)for(;l--&&"undefined"===typeof u;)s>=(t=Math.pow(o,l+1))&&0===10*r%t&&null!==a[l]&&0!==r&&(u=e(r/t,-1)+a[l]);return"undefined"===typeof u&&(u=1e4<=Math.abs(r)?e(r,-1):e(r,-1,void 0,"")),u},e.prototype.getSeriesExtremes=function(){var e,t=this,r=t.chart;w(this,"getSeriesExtremes",null,(function(){t.hasVisibleSeries=!1,t.dataMin=t.dataMax=t.threshold=null,t.softThreshold=!t.isXAxis,t.stacking&&t.stacking.buildStacks(),t.series.forEach((function(n){if(n.visible||!r.options.chart.ignoreHiddenSeries){var i=n.options,o=i.threshold;if(t.hasVisibleSeries=!0,t.positiveValuesOnly&&0>=o&&(o=null),t.isXAxis){if((i=n.xData).length){i=t.logarithmic?i.filter(t.validatePositiveValue):i;var a=(e=n.getXExtremes(i)).min,s=e.max;j(a)||a instanceof Date||(i=i.filter(j),a=(e=n.getXExtremes(i)).min,s=e.max),i.length&&(t.dataMin=Math.min(T(t.dataMin,a),a),t.dataMax=Math.max(T(t.dataMax,s),s))}}else n=n.applyExtremes(),j(n.dataMin)&&(a=n.dataMin,t.dataMin=Math.min(T(t.dataMin,a),a)),j(n.dataMax)&&(s=n.dataMax,t.dataMax=Math.max(T(t.dataMax,s),s)),m(o)&&(t.threshold=o),(!i.softThreshold||t.positiveValuesOnly)&&(t.softThreshold=!1)}}))})),w(this,"afterGetSeriesExtremes")},e.prototype.translate=function(e,t,r,n,i,o){var a=this.linkedParent||this,s=n&&a.old?a.old.min:a.min,l=a.minPixelPadding;i=(a.isOrdinal||a.brokenAxis&&a.brokenAxis.hasBreaks||a.logarithmic&&i)&&a.lin2val;var c=1,u=0;return(n=n&&a.old?a.old.transA:a.transA)||(n=a.transA),r&&(c*=-1,u=a.len),a.reversed&&(u-=(c*=-1)*(a.sector||a.len)),t?(e=(e*c+u-l)/n+s,i&&(e=a.lin2val(e))):(i&&(e=a.val2lin(e)),e=j(s)?c*(e-s)*n+u+c*l+(j(o)?n*o:0):void 0),e},e.prototype.toPixels=function(e,t){return this.translate(e,!1,!this.horiz,null,!0)+(t?0:this.pos)},e.prototype.toValue=function(e,t){return this.translate(e-(t?0:this.pos),!0,!this.horiz,null,!0)},e.prototype.getPlotLinePath=function(e){function t(e,t,r){return("pass"!==_&&er)&&(_?e=h(e,t,r):a=!0),e}var r,n,i,o,a,s=this,l=s.chart,c=s.left,u=s.top,d=e.old,p=e.value,f=e.lineWidth,y=d&&l.oldChartHeight||l.chartHeight,m=d&&l.oldChartWidth||l.chartWidth,b=s.transB,g=e.translatedValue,_=e.force;return e={value:p,lineWidth:f,old:d,force:_,acrossPanes:e.acrossPanes,translatedValue:g},w(this,"getPlotLinePath",e,(function(e){g=T(g,s.translate(p,null,null,d)),g=h(g,-1e5,1e5),r=i=Math.round(g+b),n=o=Math.round(y-g-b),j(g)?s.horiz?(n=u,o=y-s.bottom,r=i=t(r,c,c+s.width)):(r=c,i=m-s.right,n=o=t(n,u,u+s.height)):(a=!0,_=!1),e.path=a&&!_?null:l.renderer.crispLine([["M",r,n],["L",i,o]],f||1)})),e.path},e.prototype.getLinearTickPositions=function(e,t,r){var n=y(Math.floor(t/e)*e);r=y(Math.ceil(r/e)*e);var i,o=[];if(y(n+e)===n&&(i=20),this.single)return[t];for(t=n;t<=r&&(o.push(t),(t=y(t+e,i))!==a);)var a=t;return o},e.prototype.getMinorTickInterval=function(){var e=this.options;return!0===e.minorTicks?T(e.minorTickInterval,"auto"):!1===e.minorTicks?null:e.minorTickInterval},e.prototype.getMinorTickPositions=function(){var e=this.options,t=this.tickPositions,r=this.minorTickInterval,n=this.pointRangePadding||0,i=this.min-n,o=(n=this.max+n)-i,a=[];if(o&&o/r=this.minRange,u=this.minRange,d=(u-s+a)/2;d=[a-d,T(i.min,a-d)],c&&(d[2]=this.logarithmic?this.logarithmic.log2lin(this.dataMin):this.dataMin),s=[(a=p(d))+u,T(i.max,a+u)],c&&(s[2]=o?o.log2lin(this.dataMax):this.dataMax),(s=f(s))-a=p)b=p,u=0;else if(this.dataMax<=p){var g=p;c=0}this.min=T(f,b,this.dataMin),this.max=T(h,g,this.dataMax)}if(r&&(this.positiveValuesOnly&&!e&&0>=Math.min(this.min,T(this.dataMin,this.min))&&_(10,1,t),this.min=y(r.log2lin(this.min),16),this.max=y(r.log2lin(this.max),16)),this.range&&m(this.max)&&(this.userMin=this.min=f=Math.max(this.dataMin,this.minFromRange()),this.userMax=h=this.max,this.range=null),w(this,"foundExtremes"),this.beforePadding&&this.beforePadding(),this.adjustForMinRange(),!(s||this.axisPointRange||this.stacking&&this.stacking.usePercentage||o)&&m(this.min)&&m(this.max)&&(t=this.max-this.min)&&(!m(f)&&u&&(this.min-=t*u),!m(h)&&c&&(this.max+=t*c)),j(this.userMin)||(j(n.softMin)&&n.softMinthis.max&&(this.max=h=n.softMax),j(n.ceiling)&&(this.max=Math.min(this.max,n.ceiling))),l&&m(this.dataMin)&&(p=p||0,!m(f)&&this.min=p?this.min=this.options.minRange?Math.min(p,this.max-this.minRange):p:!m(h)&&this.max>p&&this.dataMax<=p&&(this.max=this.options.minRange?Math.max(p,this.min+this.minRange):p)),j(this.min)&&j(this.max)&&!this.chart.polar&&this.min>this.max&&(m(this.options.min)?this.max=this.min:m(this.options.max)&&(this.min=this.max)),this.tickInterval=this.min===this.max||"undefined"===typeof this.min||"undefined"===typeof this.max?1:o&&this.linkedParent&&!d&&a===this.linkedParent.options.tickPixelInterval?d=this.linkedParent.tickInterval:T(d,this.tickAmount?(this.max-this.min)/Math.max(this.tickAmount-1,1):void 0,s?1:(this.max-this.min)*a/Math.max(this.len,a)),i&&!e){var v=this.min!==(this.old&&this.old.min)||this.max!==(this.old&&this.old.max);this.series.forEach((function(e){e.forceCrop=e.forceCropping&&e.forceCropping(),e.processData(v)})),w(this,"postProcessData",{hasExtemesChanged:v})}this.setAxisTranslation(),w(this,"initialAxisTranslation"),this.pointRange&&!d&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval)),e=T(n.minTickInterval,this.dateTime&&!this.series.some((function(e){return e.noSharedTooltip}))?this.closestPointRange:0),!d&&this.tickIntervalthis.tickInterval||void 0!==this.tickAmount),!!this.tickAmount)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()},e.prototype.setTickPositions=function(){var e=this.options,t=e.tickPositions,r=this.getMinorTickInterval(),n=this.hasVerticalPanning(),i="colorAxis"===this.coll,o=(i||!n)&&e.startOnTick;n=(i||!n)&&e.endOnTick,i=e.tickPositioner,this.tickmarkOffset=this.categories&&"between"===e.tickmarkPlacement&&1===this.tickInterval?.5:0,this.minorTickInterval="auto"===r&&this.tickInterval?this.tickInterval/5:r,this.single=this.min===this.max&&m(this.min)&&!this.tickAmount&&(parseInt(this.min,10)===this.min||!1!==e.allowDecimals),this.tickPositions=r=t&&t.slice(),!r&&(this.ordinal&&this.ordinal.positions||!((this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))?r=this.dateTime?this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,e.units),this.min,this.max,e.startOfWeek,this.ordinal&&this.ordinal.positions,this.closestPointRange,!0):this.logarithmic?this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max):this.getLinearTickPositions(this.tickInterval,this.min,this.max):(r=[this.min,this.max],_(19,!1,this.chart)),r.length>this.len&&(r=[r[0],r.pop()])[0]===r[1]&&(r.length=1),this.tickPositions=r,i&&(i=i.apply(this,[this.min,this.max])))&&(this.tickPositions=r=i),this.paddedTicks=r.slice(0),this.trimTicks(r,o,n),this.isLinked||(this.single&&2>r.length&&!this.categories&&!this.series.some((function(e){return e.is("heatmap")&&"between"===e.options.pointPlacement}))&&(this.min-=.5,this.max+=.5),t||i||this.adjustTickAmount()),w(this,"afterSetTickPositions")},e.prototype.trimTicks=function(e,t,r){var n=e[0],i=e[e.length-1],o=!this.isOrdinal&&this.minPointOffset||0;if(w(this,"trimTicks"),!this.isLinked){if(t&&-1/0!==n)this.min=n;else for(;this.min-o>e[0];)e.shift();if(r)this.max=i;else for(;this.max+or&&(this.finalTickAmt=r,r=5),this.tickAmount=r},e.prototype.adjustTickAmount=function(){var e=this.options,t=this.tickInterval,r=this.tickPositions,n=this.tickAmount,i=this.finalTickAmt,o=r&&r.length,a=T(this.threshold,this.softThreshold?0:null);if(this.hasData()&&j(this.min)&&j(this.max)){if(on&&(this.tickInterval*=2,this.setTickPositions());if(m(i)){for(t=e=r.length;t--;)(3===i&&1===t%2||2>=i&&0s&&(t=s)),m(i)&&(os&&(o=s))),r.displayBtn="undefined"!==typeof t||"undefined"!==typeof o,r.setExtremes(t,o,!1,void 0,{trigger:"zoom"})),e.zoomed=!0})),e.zoomed},e.prototype.setAxisSize=function(){var e=this.chart,t=this.options,r=t.offsets||[0,0,0,0],n=this.horiz,i=this.width=Math.round(E(T(t.width,e.plotWidth-r[3]+r[1]),e.plotWidth)),o=this.height=Math.round(E(T(t.height,e.plotHeight-r[0]+r[2]),e.plotHeight)),a=this.top=Math.round(E(T(t.top,e.plotTop+r[0]),e.plotHeight,e.plotTop));t=this.left=Math.round(E(T(t.left,e.plotLeft+r[3]),e.plotWidth,e.plotLeft)),this.bottom=e.chartHeight-o-a,this.right=e.chartWidth-i-t,this.len=Math.max(n?i:o,0),this.pos=n?t:a},e.prototype.getExtremes=function(){var e=this.logarithmic;return{min:e?y(e.lin2log(this.min)):this.min,max:e?y(e.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}},e.prototype.getThreshold=function(e){var t=this.logarithmic,r=t?t.lin2log(this.min):this.min;return t=t?t.lin2log(this.max):this.max,null===e||-1/0===e?e=r:1/0===e?e=t:r>e?e=r:tt?e.align="right":195t&&(e.align="left")})),e.align},e.prototype.tickSize=function(e){var t=this.options,r=T(t["tick"===e?"tickWidth":"minorTickWidth"],"tick"===e&&this.isXAxis&&!this.categories?1:0),n=t["tick"===e?"tickLength":"minorTickLength"];if(r&&n){"inside"===t[e+"Position"]&&(n=-n);var i=[n,r]}return w(this,"afterTickSize",e={tickSize:i}),e.tickSize},e.prototype.labelMetrics=function(){var e=this.tickPositions&&this.tickPositions[0]||0;return this.chart.renderer.fontMetrics(this.options.labels.style.fontSize,this.ticks[e]&&this.ticks[e].label)},e.prototype.unsquish=function(){var e,t,r=this.options.labels,n=this.horiz,i=this.tickInterval,o=this.len/(((this.categories?1:0)+this.max-this.min)/i),a=r.rotation,s=this.labelMetrics(),l=Math.max(this.max-this.min,0),c=function(e){var t=e/(o||1);return(t=1l&&1/0!==e&&1/0!==o&&l&&(t=Math.ceil(l/i)),y(t*i)},u=i,p=Number.MAX_VALUE;if(n){if(!r.staggerLines&&!r.step)if(j(a))var f=[a];else o=r){var n=(t=c(Math.abs(s.h/Math.sin(d*r))))+Math.abs(r/360);nn.step)return n.rotation?0:(this.staggerLines||1)*this.len/i;if(!r){if(void 0!==(e=n.style.width))return parseInt(String(e),10);if(o)return o-t.spacing[3]}return.33*t.chartWidth},e.prototype.renderUnsquish=function(){var e=this.chart,t=e.renderer,r=this.tickPositions,n=this.ticks,i=this.options.labels,o=i.style,a=this.horiz,s=this.getSlotWidth(),l=Math.max(1,Math.round(s-2*i.padding)),c={},u=this.labelMetrics(),d=o.textOverflow,p=0;if(x(i.rotation)||(c.rotation=i.rotation||0),r.forEach((function(e){(e=n[e]).movedLabel&&e.replaceMovedLabel(),e&&e.label&&e.label.textPxLength>p&&(p=e.label.textPxLength)})),this.maxLabelLength=p,this.autoRotation)p>l&&p>u.h?c.rotation=this.labelRotation:this.labelRotation=0;else if(s){var f=l;if(!d){var h="clip";for(l=r.length;!a&&l--;){var y=r[l];(y=n[y].label)&&(y.styles&&"ellipsis"===y.styles.textOverflow?y.css({textOverflow:"clip"}):y.textPxLength>s&&y.css({width:s+"px"}),y.getBBox().height>this.len/r.length-(u.h-u.f)&&(y.specificTextOverflow="ellipsis"))}}}c.rotation&&(f=p>.5*e.chartHeight?.33*e.chartHeight:p,d||(h="ellipsis")),(this.labelAlign=i.align||this.autoLabelAlign(this.labelRotation))&&(c.align=this.labelAlign),r.forEach((function(e){var t=(e=n[e])&&e.label,r=o.width,i={};t&&(t.attr(c),e.shortenLabel?e.shortenLabel():f&&!r&&"nowrap"!==o.whiteSpace&&(f=this.min&&e<=this.max||this.grid&&this.grid.isColumn)&&(n[e]||(n[e]=new a(this,e)),r&&n[e].isNew&&n[e].render(t,!0,-1),n[e].render(t))},e.prototype.render=function(){var e,t,r=this,n=r.chart,i=r.logarithmic,s=r.options,c=r.isLinked,u=r.tickPositions,d=r.axisTitle,p=r.ticks,f=r.minorTicks,h=r.alternateBands,y=s.stackLabels,m=s.alternateGridColor,b=r.tickmarkOffset,g=r.axisLine,_=r.showAxis,v=l(n.renderer.globalAnimation);if(r.labelEdge.length=0,r.overlap=!1,[p,f,h].forEach((function(e){R(e,(function(e){e.isActive=!1}))})),r.hasData()||c){var O=r.chart.hasRendered&&r.old&&j(r.old.min);r.minorTickInterval&&!r.categories&&r.getMinorTickPositions().forEach((function(e){r.renderMinorTick(e,O)})),u.length&&(u.forEach((function(e,t){r.renderTick(e,t,O)})),b&&(0===r.min||r.single)&&(p[-1]||(p[-1]=new a(r,-1,null,!0)),p[-1].render(-1))),m&&u.forEach((function(a,s){t="undefined"!==typeof u[s+1]?u[s+1]+b:r.max-b,0===s%2&&at&&(!a||c<=r)&&"undefined"!==typeof c&&u.push(c),c>r&&(f=!0),c=y}}}else t=this.lin2log(t),r=this.lin2log(r),e=a?s.getMinorTickInterval():c.tickInterval,e=o("auto"===e?null:e,this.minorAutoInterval,c.tickPixelInterval/(a?5:1)*(r-t)/((a?l/s.tickPositions.length:l)||1)),e=i(e,void 0,n(e)),u=s.getLinearTickPositions(e,t,r).map(this.log2lin),a||(this.minorAutoInterval=e/5);return a||(s.tickInterval=e),u},e.prototype.lin2log=function(e){return Math.pow(10,e)},e.prototype.log2lin=function(e){return Math.log(e)/Math.LN10},e}();e.Additions=l}(t||(t={})),t})),t(r,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[r["Core/Utilities.js"]],(function(e){var t,r=e.erase,n=e.extend,i=e.isNumber;return function(e){var t,o=[];e.compose=function(e,r){return t||(t=e),-1===o.indexOf(r)&&(o.push(r),n(r.prototype,a.prototype)),r};var a=function(){function e(){}return e.prototype.getPlotBandPath=function(e,t,r){void 0===r&&(r=this.options);var n=this.getPlotLinePath({value:t,force:!0,acrossPanes:r.acrossPanes}),o=[],a=this.horiz;if(t=!i(this.min)||!i(this.max)||ethis.max&&t>this.max,e=this.getPlotLinePath({value:e,force:!0,acrossPanes:r.acrossPanes}),r=1,e&&n){if(t){var s=e.toString()===n.toString();r=0}for(t=0;tb-l?b:b-l);else{if(!y)return!1;s[e]=Math.max(a,i+l+r>t?i:i+l)}},g=function(e,t,r,n,i){var a;return it-o?a=!1:s[e]=it-n/2?t-n-2:i-r/2,a},v=function(e){var t=h;h=y,y=t,n=e};return(i.inverted||1t}))&&(e=e.map((function(e){var t=r(e.anchorX,e.anchorY,e.point.isHeader,e.boxWidth,!1);return f(e,{target:t.y,x:t.x})}))),n.cleanSplit(),s(e,N);var C=E,D=E;e.forEach((function(e){var t=e.x,r=e.boxWidth;(e=e.isHeader)||(n.outside&&E+tD&&(D=E+t))})),e.forEach((function(e){var t=e.x,r=e.anchorX,i=e.pos,o=e.point.isHeader;if(i={visibility:"undefined"===typeof i?"hidden":"inherit",x:t,y:i+q,anchorX:r,anchorY:e.anchorY},n.outside&&tr[0]?Math.max(Math.abs(r[0]),i.width-r[0]):Math.max(Math.abs(r[0]),i.width),n.height=0>r[1]?Math.max(Math.abs(r[1]),i.height-Math.abs(r[1])):Math.max(Math.abs(r[1]),i.height),this.tracker?this.tracker.attr(n):(this.tracker=t.renderer.rect(n).addClass("highcharts-tracker").add(t),e.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}}},e.prototype.styledModeFormat=function(e){return e.replace('style="font-size: 10px"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex}"')},e.prototype.tooltipFooterHeaderFormatter=function(e,t){var r=e.series,n=r.tooltipOptions,i=r.xAxis,a=i&&i.dateTime;i={isFooter:t,labelConfig:e};var s=n.xDateFormat,l=n[t?"footerFormat":"headerFormat"];return h(this,"headerFormatter",i,(function(t){a&&!s&&m(e.key)&&(s=a.getXDateFormat(e.key,n.dateTimeLabelFormats)),a&&s&&(e.point&&e.point.tooltipDateKeys||["key"]).forEach((function(e){l=l.replace("{point."+e+"}","{point."+e+":"+s+"}")})),r.chart.styledMode&&(l=this.styledModeFormat(l)),t.text=o(l,{point:e,series:r},this.chart)})),i.text},e.prototype.update=function(e){this.destroy(),g(!0,this.chart.options.tooltip.userOptions,e),this.init(this.chart,g(!0,this.options,e))},e.prototype.updatePosition=function(e){var t=this.chart,r=this.options,n=t.pointer,i=this.getLabel();n=n.getChartPosition();var o=(r.positioner||this.getPosition).call(this,i.width,i.height,e),a=e.plotX+t.plotLeft;e=e.plotY+t.plotTop,this.outside&&(r=r.borderWidth+2*this.distance,this.renderer.setSize(i.width+r,i.height+r,!1),1===n.scaleX&&1===n.scaleY||(u(this.container,{transform:"scale("+n.scaleX+", "+n.scaleY+")"}),a*=n.scaleX,e*=n.scaleY),a+=n.left-o.x,e+=n.top-o.y),this.move(Math.round(o.x),Math.round(o.y||0),a,e)},e}(),e})),t(r,"Core/Series/Point.js",[r["Core/Renderer/HTML/AST.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/FormatUtilities.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i){var o=t.animObject,a=r.defaultOptions,s=n.format,l=i.addEvent,c=i.defined,u=i.erase,d=i.extend,p=i.fireEvent,f=i.getNestedProperty,h=i.isArray,y=i.isFunction,m=i.isNumber,b=i.isObject,g=i.merge,_=i.objectEach,v=i.pick,w=i.syncTimeout,O=i.removeEvent,k=i.uniqueKey;return t=function(){function t(){this.colorIndex=this.category=void 0,this.formatPrefix="point",this.id=void 0,this.isNull=!1,this.percentage=this.options=this.name=void 0,this.selected=!1,this.total=this.series=void 0,this.visible=!0,this.x=void 0}return t.prototype.animateBeforeDestroy=function(){var e=this,t={x:e.startXPos,opacity:0},r=e.getGraphicalProps();r.singular.forEach((function(r){e[r]=e[r].animate("dataLabel"===r?{x:e[r].startXPos,y:e[r].startYPos,opacity:0}:t)})),r.plural.forEach((function(t){e[t].forEach((function(t){t.element&&t.animate(d({x:e.startXPos},t.startYPos?{x:t.startXPos,y:t.startYPos}:{}))}))}))},t.prototype.applyOptions=function(e,r){var n=this.series,i=n.options.pointValKey||n.pointValKey;return e=t.prototype.optionsToObject.call(this,e),d(this,e),this.options=this.options?d(this.options,e):e,e.group&&delete this.group,e.dataLabels&&delete this.dataLabels,i&&(this.y=t.prototype.getNestedProperty.call(this,i)),this.formatPrefix=(this.isNull=v(this.isValid&&!this.isValid(),null===this.x||!m(this.y)))?"null":"point",this.selected&&(this.state="select"),"name"in this&&"undefined"===typeof r&&n.xAxis&&n.xAxis.hasNames&&(this.x=n.xAxis.nameToX(this)),"undefined"===typeof this.x&&n?this.x="undefined"===typeof r?n.autoIncrement():r:m(e.x)&&n.options.relativeXValue&&(this.x=n.autoIncrement(e.x)),this},t.prototype.destroy=function(){function e(){for(i in(t.graphic||t.dataLabel||t.dataLabels)&&(O(t),t.destroyElements()),t)t[i]=null}var t=this,r=t.series,n=r.chart;r=r.options.dataSorting;var i,a=n.hoverPoints,s=o(t.series.chart.renderer.globalAnimation);t.legendItem&&n.legend.destroyItem(t),a&&(t.setState(),u(a,t),a.length||(n.hoverPoints=null)),t===n.hoverPoint&&t.onMouseOut(),r&&r.enabled?(this.animateBeforeDestroy(),w(e,s.duration)):e(),n.pointCount--},t.prototype.destroyElements=function(e){var t=this;(e=t.getGraphicalProps(e)).singular.forEach((function(e){t[e]=t[e].destroy()})),e.plural.forEach((function(e){t[e].forEach((function(e){e.element&&e.destroy()})),delete t[e]}))},t.prototype.firePointEvent=function(e,t,r){var n=this,i=this.series.options;(i.point.events[e]||n.options&&n.options.events&&n.options.events[e])&&n.importEvents(),"click"===e&&i.allowPointSelect&&(r=function(e){n.select&&n.select(null,e.ctrlKey||e.metaKey||e.shiftKey)}),p(n,e,t,r)},t.prototype.getClassName=function(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+("undefined"!==typeof this.colorIndex?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")},t.prototype.getGraphicalProps=function(e){var t,r=this,n=[],i={singular:[],plural:[]};for((e=e||{graphic:1,dataLabel:1}).graphic&&n.push("graphic","upperGraphic","shadowGroup"),e.dataLabel&&n.push("dataLabel","dataLabelUpper","connector"),t=n.length;t--;){var o=n[t];r[o]&&i.singular.push(o)}return["dataLabel","connector"].forEach((function(t){var n=t+"s";e[t]&&r[n]&&i.plural.push(n)})),i},t.prototype.getLabelConfig=function(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}},t.prototype.getNestedProperty=function(e){if(e)return 0===e.indexOf("custom.")?f(e,this.options):this[e]},t.prototype.getZone=function(){var e=this.series,t=e.zones;e=e.zoneAxis||"y";var r,n=0;for(r=t[n];this[e]>=r.value;)r=t[++n];return this.nonZonedColor||(this.nonZonedColor=this.color),this.color=r&&r.color&&!this.options.color?r.color:this.nonZonedColor,r},t.prototype.hasNewShapeType=function(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType},t.prototype.init=function(e,t,r){return this.series=e,this.applyOptions(t,r),this.id=c(this.id)?this.id:k(),this.resolveColor(),e.chart.pointCount++,p(this,"afterInit"),this},t.prototype.optionsToObject=function(e){var r=this.series,n=r.options.keys,i=n||r.pointArrayMap||["y"],o=i.length,a={},s=0,l=0;if(m(e)||null===e)a[i[0]]=e;else if(h(e))for(!n&&e.length>o&&("string"===(r=typeof e[0])?a.name=e[0]:"number"===r&&(a.x=e[0]),s++);la+l&&(h=a+l),ms+c&&(m=s+c),this.hasDragged=Math.sqrt(Math.pow(u-h,2)+Math.pow(d-m,2)),10e.options.findNearestPointBy.indexOf("y");if(e=e.searchPoint(r,i),(i=y(e,!0)&&e.series)&&!(i=!y(n,!0))){i=n.distX-e.distX;var o=n.dist-e.dist,a=(e.series.group&&e.series.group.zIndex)-(n.series.group&&n.series.group.zIndex);i=0<(0!==i&&t?i:0!==o?o:0!==a?a:n.series.index>e.series.index?-1:1)}i&&(n=e)})),n)},e.prototype.getChartCoordinatesFromPoint=function(e,t){var r=e.series,n=r.xAxis;r=r.yAxis;var i=e.shapeArgs;if(n&&r){var o=g(e.clientX,e.plotX),a=e.plotY||0;return e.isNode&&i&&h(i.x)&&h(i.y)&&(o=i.x,a=i.y),t?{chartX:r.len+r.pos-a,chartY:n.len+n.pos-o}:{chartX:o+n.pos,chartY:a+r.pos}}if(i&&i.x&&i.y)return{chartX:i.x,chartY:i.y}},e.prototype.getChartPosition=function(){if(this.chartPosition)return this.chartPosition;var e=this.chart.container,t=b(e);this.chartPosition={left:t.left,top:t.top,scaleX:1,scaleY:1};var r=e.offsetWidth;return e=e.offsetHeight,2y.max&&(r=y.max-_,j=!0);j?(O-=.8*(O-a[c][0]),"number"===typeof k&&(k-=.8*(k-a[c][1])),t()):a[c]=[O,k],h||(o[c]=v-f,o[p]=_),o=h?1/w:w,i[p]=_,i[c]=r,n[h?e?"scaleY":"scaleX":"scale"+u]=w,n["translate"+u]=o*f+(O-o*b)},e.prototype.reset=function(e,t){var r=this.chart,n=r.hoverSeries,i=r.hoverPoint,o=r.hoverPoints,a=r.tooltip,s=a&&a.shared?o:i;e&&s&&_(s).forEach((function(t){t.series.isCartesian&&"undefined"===typeof t.plotX&&(e=!1)})),e?a&&s&&_(s).length&&(a.refresh(s),a.shared&&o?o.forEach((function(e){e.setState(e.state,!0),e.series.isCartesian&&(e.series.xAxis.crosshair&&e.series.xAxis.drawCrosshair(null,e),e.series.yAxis.crosshair&&e.series.yAxis.drawCrosshair(null,e))})):i&&(i.setState(i.state,!0),r.axes.forEach((function(e){e.crosshair&&i.series[e.coll]===e&&e.drawCrosshair(null,i)})))):(i&&i.onMouseOut(),o&&o.forEach((function(e){e.setState()})),n&&n.onMouseOut(),a&&a.hide(t),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),r.axes.forEach((function(e){e.hideCrosshair()})),this.hoverX=r.hoverPoints=r.hoverPoint=null)},e.prototype.runPointActions=function(t,r){var n=this.chart,i=n.tooltip&&n.tooltip.options.enabled?n.tooltip:void 0,a=!!i&&i.shared,l=r||n.hoverPoint,c=l&&l.series||n.hoverSeries;l=(r=this.getHoverData(l,c,n.series,(!t||"touchmove"!==t.type)&&(!!r||c&&c.directTouch&&this.isDirectTouch),a,t)).hoverPoint,c=r.hoverSeries;var u=r.hoverPoints;if(r=c&&c.tooltipOptions.followPointer&&!c.tooltipOptions.split,a=a&&c&&!c.noSharedTooltip,l&&(l!==n.hoverPoint||i&&i.isHidden)){if((n.hoverPoints||[]).forEach((function(e){-1===u.indexOf(e)&&e.setState()})),n.hoverSeries!==c&&c.onMouseOver(),this.applyInactiveState(u),(u||[]).forEach((function(e){e.setState("hover")})),n.hoverPoint&&n.hoverPoint.firePointEvent("mouseOut"),!l.series)return;n.hoverPoints=u,n.hoverPoint=l,l.firePointEvent("mouseOver"),i&&i.refresh(a?u:l,t)}else r&&i&&!i.isHidden&&(l=i.getAnchor([{}],t),n.isInsidePlot(l[0],l[1],{visiblePlotOnly:!0})&&i.updatePosition({plotX:l[0],plotY:l[1]}));this.unDocMouseMove||(this.unDocMouseMove=s(n.container.ownerDocument,"mousemove",(function(t){var r=o[e.hoverChartIndex];r&&r.pointer.onDocumentMouseMove(t)})),this.eventsToUnbind.push(this.unDocMouseMove)),n.axes.forEach((function(e){var r,i=g((e.crosshair||{}).snap,!0);i&&((r=n.hoverPoint)&&r.series[e.coll]===e||(r=p(u,(function(t){return t.series[e.coll]===e})))),r||!i?e.drawCrosshair(t,r):e.hideCrosshair()}))},e.prototype.scaleGroups=function(e,t){var r=this.chart;r.series.forEach((function(n){var i=e||n.getPlotBox();n.group&&(n.xAxis&&n.xAxis.zoomEnabled||r.mapView)&&(n.group.attr(i),n.markerGroup&&(n.markerGroup.attr(i),n.markerGroup.clip(t?r.clipRect:null)),n.dataLabelsGroup&&n.dataLabelsGroup.attr(i))})),r.clipRect.attr(t||r.clipBox)},e.prototype.setDOMEvents=function(){var r=this,n=this.chart.container,i=n.ownerDocument;n.onmousedown=this.onContainerMouseDown.bind(this),n.onmousemove=this.onContainerMouseMove.bind(this),n.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(s(n,"mouseenter",this.onContainerMouseEnter.bind(this))),this.eventsToUnbind.push(s(n,"mouseleave",this.onContainerMouseLeave.bind(this))),e.unbindDocumentMouseUp||(e.unbindDocumentMouseUp=s(i,"mouseup",this.onDocumentMouseUp.bind(this)));for(var o=this.chart.renderTo.parentElement;o&&"BODY"!==o.tagName;)this.eventsToUnbind.push(s(o,"scroll",(function(){delete r.chartPosition}))),o=o.parentElement;t.hasTouch&&(this.eventsToUnbind.push(s(n,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1})),this.eventsToUnbind.push(s(n,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),e.unbindDocumentTouchEnd||(e.unbindDocumentTouchEnd=s(i,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})))},e.prototype.setHoverChartIndex=function(){var r=this.chart,n=t.charts[g(e.hoverChartIndex,-1)];n&&n!==r&&n.pointer.onContainerMouseLeave({relatedTarget:!0}),n&&n.mouseIsDown||(e.hoverChartIndex=r.index)},e.prototype.touch=function(e,t){var r=this.chart;if(this.setHoverChartIndex(),1===e.touches.length)if(e=this.normalize(e),r.isInsidePlot(e.chartX-r.plotLeft,e.chartY-r.plotTop,{visiblePlotOnly:!0})&&!r.openMenu){if(t&&this.runPointActions(e),"touchmove"===e.type)var n=!!(t=this.pinchDown)[0]&&4<=Math.sqrt(Math.pow(t[0].chartX-e.chartX,2)+Math.pow(t[0].chartY-e.chartY,2));g(n,!0)&&this.pinch(e)}else t&&this.reset();else 2===e.touches.length&&this.pinch(e)},e.prototype.touchSelect=function(e){return!(!this.chart.options.chart.zoomBySingleTouch||!e.touches||1!==e.touches.length)},e.prototype.zoomOption=function(e){var t=this.chart,r=t.options.chart;t=t.inverted;var n=r.zoomType||"";/touch/.test(e.type)&&(n=g(r.pinchType,n)),this.zoomX=e=/x/.test(n),this.zoomY=r=/y/.test(n),this.zoomHor=e&&!t||r&&t,this.zoomVert=r&&!t||e&&t,this.hasZoom=e||r},e}(),e})),t(r,"Core/MSPointer.js",[r["Core/Globals.js"],r["Core/Pointer.js"],r["Core/Utilities.js"]],(function(e,t,r){function n(){var e=[];return e.item=function(e){return this[e]},p(h,(function(t){e.push({pageX:t.pageX,pageY:t.pageY,target:t.target})})),e}function i(e,r,i,o){var s=a[t.hoverChartIndex||NaN];"touch"!==e.pointerType&&e.pointerType!==e.MSPOINTER_TYPE_TOUCH||!s||(s=s.pointer,o(e),s[r]({type:i,target:e.currentTarget,preventDefault:l,touches:n()}))}var o=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),a=e.charts,s=e.doc,l=e.noop,c=e.win,u=r.addEvent,d=r.css,p=r.objectEach,f=r.removeEvent,h={},y=!!c.PointerEvent;return function(t){function r(){return null!==t&&t.apply(this,arguments)||this}return o(r,t),r.isRequired=function(){return!(e.hasTouch||!c.PointerEvent&&!c.MSPointerEvent)},r.prototype.batchMSEvents=function(e){e(this.chart.container,y?"pointerdown":"MSPointerDown",this.onContainerPointerDown),e(this.chart.container,y?"pointermove":"MSPointerMove",this.onContainerPointerMove),e(s,y?"pointerup":"MSPointerUp",this.onDocumentPointerUp)},r.prototype.destroy=function(){this.batchMSEvents(f),t.prototype.destroy.call(this)},r.prototype.init=function(e,r){t.prototype.init.call(this,e,r),this.hasZoom&&d(e.container,{"-ms-touch-action":"none","touch-action":"none"})},r.prototype.onContainerPointerDown=function(e){i(e,"onContainerTouchStart","touchstart",(function(e){h[e.pointerId]={pageX:e.pageX,pageY:e.pageY,target:e.currentTarget}}))},r.prototype.onContainerPointerMove=function(e){i(e,"onContainerTouchMove","touchmove",(function(e){h[e.pointerId]={pageX:e.pageX,pageY:e.pageY},h[e.pointerId].target||(h[e.pointerId].target=e.currentTarget)}))},r.prototype.onDocumentPointerUp=function(e){i(e,"onDocumentTouchEnd","touchend",(function(e){delete h[e.pointerId]}))},r.prototype.setDOMEvents=function(){t.prototype.setDOMEvents.call(this),(this.hasZoom||this.followTouchMove)&&this.batchMSEvents(u)},r}(t)})),t(r,"Core/Legend/Legend.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/FormatUtilities.js"],r["Core/Globals.js"],r["Core/Series/Point.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i,o){var a=e.animObject,s=e.setAnimation,l=t.format;e=r.isFirefox;var c=r.marginNames;r=r.win;var u=i.distribute,d=o.addEvent,p=o.createElement,f=o.css,h=o.defined,y=o.discardElement,m=o.find,b=o.fireEvent,g=o.isNumber,_=o.merge,v=o.pick,w=o.relativeLength,O=o.stableSort,k=o.syncTimeout;return i=o.wrap,o=function(){function e(e,t){this.allItems=[],this.contentGroup=this.box=void 0,this.display=!1,this.group=void 0,this.offsetWidth=this.maxLegendWidth=this.maxItemWidth=this.legendWidth=this.legendHeight=this.lastLineHeight=this.lastItemY=this.itemY=this.itemX=this.itemMarginTop=this.itemMarginBottom=this.itemHeight=this.initialItemY=0,this.options={},this.padding=0,this.pages=[],this.proximate=!1,this.scrollGroup=void 0,this.widthOption=this.totalItemWidth=this.titleHeight=this.symbolWidth=this.symbolHeight=0,this.chart=e,this.init(e,t)}return e.prototype.init=function(e,t){this.chart=e,this.setOptions(t),t.enabled&&(this.render(),d(this.chart,"endResize",(function(){this.legend.positionCheckboxes()})),this.proximate?this.unchartrender=d(this.chart,"render",(function(){this.legend.proximatePositions(),this.legend.positionItems()})):this.unchartrender&&this.unchartrender())},e.prototype.setOptions=function(e){var t=v(e.padding,8);this.options=e,this.chart.styledMode||(this.itemStyle=e.itemStyle,this.itemHiddenStyle=_(this.itemStyle,e.itemHiddenStyle)),this.itemMarginTop=e.itemMarginTop||0,this.itemMarginBottom=e.itemMarginBottom||0,this.padding=t,this.initialItemY=t-5,this.symbolWidth=v(e.symbolWidth,16),this.pages=[],this.proximate="proximate"===e.layout&&!this.chart.inverted,this.baseline=void 0},e.prototype.update=function(e,t){var r=this.chart;this.setOptions(_(!0,this.options,e)),this.destroy(),r.isDirtyLegend=r.isDirtyBox=!0,v(t,!0)&&r.redraw(),b(this,"afterUpdate")},e.prototype.colorizeItem=function(e,t){if(e.legendGroup[t?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){var r=this.options,n=e.legendItem,i=e.legendLine,o=e.legendSymbol,a=this.itemHiddenStyle.color;r=t?r.itemStyle.color:a;var s=t&&e.color||a,l=e.options&&e.options.marker,c={fill:s};n&&n.css({fill:r,color:r}),i&&i.attr({stroke:s}),o&&(l&&o.isMarker&&(c=e.pointAttribs(),t||(c.stroke=c.fill=a)),o.attr(c))}b(this,"afterColorizeItem",{item:e,visible:t})},e.prototype.positionItems=function(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()},e.prototype.positionItem=function(e){var t=this,r=this.options,n=r.symbolPadding,i=!r.rtl,o=e._legendItemPos;r=o[0],o=o[1];var a=e.checkbox,s=e.legendGroup;s&&s.element&&(n={translateX:i?r:this.legendWidth-r-2*n-4,translateY:o},i=function(){b(t,"afterPositionItem",{item:e})},h(s.translateY)?s.animate(n,void 0,i):(s.attr(n),i())),a&&(a.x=r,a.y=o)},e.prototype.destroyItem=function(e){var t=e.checkbox;["legendItem","legendLine","legendSymbol","legendGroup"].forEach((function(t){e[t]&&(e[t]=e[t].destroy())})),t&&y(e.checkbox)},e.prototype.destroy=function(){function e(e){this[e]&&(this[e]=this[e].destroy())}this.getAllItems().forEach((function(t){["legendItem","legendGroup"].forEach(e,t)})),"clipRect up down pager nav box title group".split(" ").forEach(e,this),this.display=null},e.prototype.positionCheckboxes=function(){var e=this.group&&this.group.alignAttr,t=this.clipHeight||this.legendHeight,r=this.titleHeight;if(e){var n=e.translateY;this.allItems.forEach((function(i){var o=i.checkbox;if(o){var a=n+r+o.y+(this.scrollOffset||0)+3;f(o,{left:e.translateX+i.checkboxOffset+o.x-20+"px",top:a+"px",display:this.proximate||a>n-6&&a1.5*r?t.height:r))},e.prototype.layoutItem=function(e){var t=this.options,r=this.padding,n="horizontal"===t.layout,i=e.itemHeight,o=this.itemMarginBottom,a=this.itemMarginTop,s=n?v(t.itemDistance,20):0,l=this.maxLegendWidth;t=t.alignColumns&&this.totalItemWidth>l?this.maxItemWidth:e.itemWidth,n&&this.itemX-r+t>l&&(this.itemX=r,this.lastLineHeight&&(this.itemY+=a+this.lastLineHeight+o),this.lastLineHeight=0),this.lastItemY=a+this.itemY+o,this.lastLineHeight=Math.max(i,this.lastLineHeight),e._legendItemPos=[this.itemX,this.itemY],n?this.itemX+=t:(this.itemY+=a+i+o,this.lastLineHeight=i),this.offsetWidth=this.widthOption||Math.max((n?this.itemX-r-(e.checkbox?0:s):t)+r,this.offsetWidth)},e.prototype.getAllItems=function(){var e=[];return this.chart.series.forEach((function(t){var r=t&&t.options;t&&v(r.showInLegend,!h(r.linkedTo)&&void 0,!0)&&(e=e.concat(t.legendItems||("point"===r.legendType?t.data:t)))})),b(this,"afterGetAllItems",{allItems:e}),e},e.prototype.getAlignment=function(){var e=this.options;return this.proximate?e.align.charAt(0)+"tv":e.floating?"":e.align.charAt(0)+e.verticalAlign.charAt(0)+e.layout.charAt(0)},e.prototype.adjustMargins=function(e,t){var r=this.chart,n=this.options,i=this.getAlignment();i&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach((function(o,a){o.test(i)&&!h(e[a])&&(r[c[a]]=Math.max(r[c[a]],r.legend[(a+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][a]*n[a%2?"x":"y"]+v(n.margin,12)+t[a]+(r.titleOffset[a]||0)))}))},e.prototype.proximatePositions=function(){var e=this.chart,t=[],r="left"===this.options.align;this.allItems.forEach((function(n){var i,o=r;if(n.yAxis){n.xAxis.options.reversed&&(o=!o),n.points&&(i=m(o?n.points:n.points.slice(0).reverse(),(function(e){return g(e.plotY)}))),o=this.itemMarginTop+n.legendItem.getBBox().height+this.itemMarginBottom;var a=n.yAxis.top-e.plotTop;n.visible?(i=i?i.plotY:n.yAxis.height,i+=a-.3*o):i=a+n.yAxis.height,t.push({target:i,size:o,item:n})}}),this),u(t,e.plotHeight).forEach((function(t){t.item._legendItemPos&&(t.item._legendItemPos[1]=e.plotTop-e.spacing[0]+t.pos)}))},e.prototype.render=function(){var e=this.chart,t=e.renderer,r=this.options,n=this.padding,i=this.getAllItems(),o=this.group,a=this.box;this.itemX=n,this.itemY=this.initialItemY,this.lastItemY=this.offsetWidth=0,this.widthOption=w(r.width,e.spacingBox.width-n);var s=e.spacingBox.width-2*n-r.x;-1<["rm","lm"].indexOf(this.getAlignment().substring(0,2))&&(s/=2),this.maxLegendWidth=this.widthOption||s,o||(this.group=o=t.g("legend").addClass(r.className||"").attr({zIndex:7}).add(),this.contentGroup=t.g().attr({zIndex:1}).add(o),this.scrollGroup=t.g().add(this.contentGroup)),this.renderTitle(),O(i,(function(e,t){return(e.options&&e.options.legendIndex||0)-(t.options&&t.options.legendIndex||0)})),r.reversed&&i.reverse(),this.allItems=i,this.display=s=!!i.length,this.itemHeight=this.totalItemWidth=this.maxItemWidth=this.lastLineHeight=0,i.forEach(this.renderItem,this),i.forEach(this.layoutItem,this),i=(this.widthOption||this.offsetWidth)+n;var l=this.lastItemY+this.lastLineHeight+this.titleHeight;l=this.handleOverflow(l),l+=n,a||(this.box=a=t.rect().addClass("highcharts-legend-box").attr({r:r.borderRadius}).add(o),a.isNew=!0),e.styledMode||a.attr({stroke:r.borderColor,"stroke-width":r.borderWidth||0,fill:r.backgroundColor||"none"}).shadow(r.shadow),0s&&!1!==d.enabled?(this.clipHeight=t=Math.max(s-20-this.titleHeight-c,0),this.currentPage=v(this.currentPage,1),this.fullHeight=e,y.forEach((function(e,n){var i=e._legendItemPos[1],o=Math.round(e.legendItem.getBBox().height),a=h.length;(!a||i-h[a-1]>t&&(r||i)!==h[a-1])&&(h.push(r||i),a++),e.pageIx=a-1,r&&(y[n-1].pageIx=a-1),n===y.length-1&&i+o-h[a-1]>t&&o<=t&&(h.push(i),e.pageIx=a),i!==r&&(r=i)})),_||(_=n.clipRect=o.clipRect(0,c,9999,0),n.contentGroup.clip(_)),m(t),g||(this.nav=g=o.g().attr({zIndex:1}).add(this.group),this.up=o.symbol("triangle",0,0,f,f).add(g),b("upTracker").on("click",(function(){n.scroll(-1,p)})),this.pager=o.text("",15,10).addClass("highcharts-legend-navigation"),i.styledMode||this.pager.css(d.style),this.pager.add(g),this.down=o.symbol("triangle-down",0,0,f,f).add(g),b("downTracker").on("click",(function(){n.scroll(1,p)}))),n.scroll(0),e=s):g&&(m(),this.nav=g.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),e},e.prototype.scroll=function(e,t){var r=this,n=this.chart,i=this.pages,o=i.length,l=this.clipHeight,c=this.options.navigation,u=this.pager,d=this.padding,p=this.currentPage+e;p>o&&(p=o),0=Math.max(l+o,d.pos)&&s<=Math.min(l+o+i.width,d.pos+d.len)||(e.isInsidePlot=!1)}return!r.ignoreY&&e.isInsidePlot&&(n=u&&(n?u.xAxis:u.yAxis)||{pos:a,len:1/0},(r=r.paneCoordinates?n.pos+t:a+t)>=Math.max(c+a,n.pos)&&r<=Math.min(c+a+i.height,n.pos+n.len)||(e.isInsidePlot=!1)),B(this,"afterIsInsidePlot",e),e.isInsidePlot},e.prototype.redraw=function(e){B(this,"beforeRedraw");var t=this.hasCartesianSeries?this.axes:this.colorAxis||[],r=this.series,n=this.pointer,i=this.legend,o=this.userOptions.legend,a=this.renderer,s=a.isHidden(),l=[],c=this.isDirtyBox,u=this.isDirtyLegend;for(this.setResponsive&&this.setResponsive(!1),b(!!this.hasRendered&&e,this),s&&this.temporaryDisplay(),this.layOutTitles(),e=r.length;e--;){var d=r[e];if(d.options.stacking||d.options.centerInCategory){var p=!0;if(d.isDirty){var f=!0;break}}}if(f)for(e=r.length;e--;)(d=r[e]).options.stacking&&(d.isDirty=!0);r.forEach((function(e){e.isDirty&&("point"===e.options.legendType?("function"===typeof e.updateTotals&&e.updateTotals(),u=!0):o&&(o.labelFormatter||o.labelFormat)&&(u=!0)),e.isDirtyData&&B(e,"updatedData")})),u&&i&&i.options.enabled&&(i.render(),this.isDirtyLegend=!1),p&&this.getStacks(),t.forEach((function(e){e.updateNames(),e.setScale()})),this.getMargins(),t.forEach((function(e){e.isDirty&&(c=!0)})),t.forEach((function(e){var t=e.min+","+e.max;e.extKey!==t&&(e.extKey=t,l.push((function(){B(e,"afterSetExtremes",I(e.eventArgs,e.getExtremes())),delete e.eventArgs}))),(c||p)&&e.redraw()})),c&&this.drawChartBox(),B(this,"predraw"),r.forEach((function(e){(c||e.isDirty)&&e.visible&&e.redraw(),e.isDirtyData=!1})),n&&n.reset(!0),a.draw(),B(this,"redraw"),B(this,"render"),s&&this.temporaryDisplay(!0),l.forEach((function(e){e.call()}))},e.prototype.get=function(e){function t(t){return t.id===e||t.options&&t.options.id===e}for(var r=this.series,n=M(this.axes,t)||M(this.series,t),i=0;!n&&i=s&&i<=l||c||!N(i))&&(u=!0),n[c?"zoomX":"zoomY"]&&u&&(t=a.zoom(e.min,e.max),a.displayBtn&&(o=!0))}));var a=r.resetZoomButton;o&&!a?r.showResetZoom():!o&&J(a)&&(r.resetZoomButton=a.destroy()),t&&r.redraw(W(r.options.chart.animation,e&&e.animation,100>r.pointCount))},e.prototype.pan=function(e,t){var r=this,n=r.hoverPoints;t="object"===typeof t?t:{enabled:t,type:"x"};var i=r.options.chart,o=r.options.mapNavigation&&r.options.mapNavigation.enabled;i&&i.panning&&(i.panning=t);var a,s=t.type;B(this,"pan",{originalEvent:e},(function(){n&&n.forEach((function(e){e.setState()}));var t=r.xAxis;"xy"===s?t=t.concat(r.yAxis):"y"===s&&(t=r.yAxis);var i={};t.forEach((function(t){if(t.options.panningEnabled&&!t.options.isInternal){var n=t.horiz,l=e[n?"chartX":"chartY"],c=r[n=n?"mouseDownX":"mouseDownY"],u=t.minPointOffset||0,d=t.reversed&&!r.inverted||!t.reversed&&r.inverted?-1:1,p=t.getExtremes(),f=t.toValue(c-l,!0)+u*d,h=t.toValue(c+t.len-l,!0)-(u*d||t.isXAxis&&t.pointRangePadding||0),y=h=d&&f<=h&&(t.setExtremes(c,f,!1,!1,{trigger:"pan"}),r.resetZoomButton||o||c===d||f===h||!s.match("y")||(r.showResetZoom(),t.displayBtn=!1),a=!0),i[n]=l)}})),U(i,(function(e,t){r[t]=e})),a&&r.redraw(!1),A(r.container,{cursor:"move"})}))},e}(),I(e.prototype,{callbacks:[],collectionsWithInit:{xAxis:[e.prototype.addAxis,[!0]],yAxis:[e.prototype.addAxis,[!1]],series:[e.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:"backgroundColor borderColor borderWidth borderRadius plotBackgroundColor plotBackgroundImage plotBorderColor plotBorderWidth plotShadow shadow".split(" "),propsRequireReflow:"margin marginTop marginRight marginBottom marginLeft spacing spacingTop spacingRight spacingBottom spacingLeft".split(" "),propsRequireUpdateSeries:"chart.inverted chart.polar chart.ignoreHiddenSeries chart.type colors plotOptions time tooltip".split(" ")}),e})),t(r,"Core/Legend/LegendSymbol.js",[r["Core/Utilities.js"]],(function(e){var t,r=e.merge,n=e.pick;return function(e){e.drawLineMarker=function(e){var t=this.options,i=e.symbolWidth,o=e.symbolHeight,a=o/2,s=this.chart.renderer,l=this.legendGroup;e=e.baseline-Math.round(.3*e.fontMetrics.b);var c={},u=t.marker;this.chart.styledMode||(c={"stroke-width":t.lineWidth||0},t.dashStyle&&(c.dashstyle=t.dashStyle)),this.legendLine=s.path([["M",0,e],["L",i,e]]).addClass("highcharts-graph").attr(c).add(l),u&&!1!==u.enabled&&i&&(t=Math.min(n(u.radius,a),a),0===this.symbol.indexOf("url")&&(u=r(u,{width:o,height:o}),t=0),this.legendSymbol=i=s.symbol(this.symbol,i/2-t,e-t,2*t,2*t,u).addClass("highcharts-point").add(l),i.isMarker=!0)},e.drawRectangle=function(e,t){var r=e.symbolHeight,i=e.options.squareSymbol;t.legendSymbol=this.chart.renderer.rect(i?(e.symbolWidth-r)/2:0,e.baseline-r+1,i?r:e.symbolWidth,r,n(e.options.symbolRadius,r/2)).addClass("highcharts-point").attr({zIndex:3}).add(t.legendGroup)}}(t||(t={})),t})),t(r,"Core/Series/SeriesDefaults.js",[],(function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:50},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",defer:!0,formatter:function(){var e=this.series.chart.numberFormatter;return"number"!==typeof this.y?"":e(this.y,-1)},padding:5,style:{fontSize:"11px",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:50},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:50},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}})),t(r,"Core/Series/Series.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/DefaultOptions.js"],r["Core/Foundation.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Core/Series/Point.js"],r["Core/Series/SeriesDefaults.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i,o,a,s,l,c){var u=e.animObject,d=e.setAnimation,p=t.defaultOptions,f=r.registerEventOptions,h=n.hasTouch,y=n.svg,m=n.win,b=s.seriesTypes,g=c.addEvent,_=c.arrayMax,v=c.arrayMin,w=c.clamp,O=c.cleanRecursively,k=c.correctFloat,j=c.defined,x=c.erase,S=c.error,P=c.extend,R=c.find,T=c.fireEvent,E=c.getNestedProperty,q=c.isArray,A=c.isNumber,N=c.isString,C=c.merge,D=c.objectEach,L=c.pick,I=c.removeEvent,M=c.splat,B=c.syncTimeout;return e=function(){function e(){this.zones=this.yAxis=this.xAxis=this.userOptions=this.tooltipOptions=this.processedYData=this.processedXData=this.points=this.options=this.linkedSeries=this.index=this.eventsToUnbind=this.eventOptions=this.data=this.chart=this._i=void 0}return e.prototype.init=function(e,t){T(this,"init",{options:t});var r=this,n=e.series;this.eventsToUnbind=[],r.chart=e,r.options=r.setOptions(t),t=r.options,r.linkedSeries=[],r.bindAxes(),P(r,{name:t.name,state:"",visible:!1!==t.visible,selected:!0===t.selected}),f(this,t);var i,o=t.events;(o&&o.click||t.point&&t.point.events&&t.point.events.click||t.allowPointSelect)&&(e.runTrackerClick=!0),r.getColor(),r.getSymbol(),r.parallelArrays.forEach((function(e){r[e+"Data"]||(r[e+"Data"]=[])})),r.isCartesian&&(e.hasCartesianSeries=!0),n.length&&(i=n[n.length-1]),r._i=L(i&&i._i,-1)+1,r.opacity=r.options.opacity,e.orderSeries(this.insert(n)),t.dataSorting&&t.dataSorting.enabled?r.setDataSortingOptions():r.points||r.data||r.setData(t.data,!1),T(this,"afterInit")},e.prototype.is=function(e){return b[e]&&this instanceof b[e]},e.prototype.insert=function(e){var t,r=this.options.index;if(A(r)){for(t=e.length;t--;)if(r>=L(e[t].options.index,e[t]._i)){e.splice(t+1,0,this);break}-1===t&&e.unshift(this),t+=1}else e.push(this);return L(t,e.length-1)},e.prototype.bindAxes=function(){var e,t=this,r=t.options,n=t.chart;T(this,"bindAxes",null,(function(){(t.axisTypes||[]).forEach((function(i){var o=0;n[i].forEach((function(n){e=n.options,(r[i]===o&&!e.isInternal||"undefined"!==typeof r[i]&&r[i]===e.id||"undefined"===typeof r[i]&&0===e.index)&&(t.insert(n.series),t[i]=n,n.isDirty=!0),e.isInternal||o++})),t[i]||t.optionalAxis===i||S(18,!0,n)}))})),T(this,"afterBindAxes")},e.prototype.updateParallelArrays=function(e,t){var r=e.series,n=arguments,i=A(t)?function(n){var i="y"===n&&r.toYData?r.toYData(e):e[n];r[n+"Data"][t]=i}:function(e){Array.prototype[t].apply(r[e+"Data"],Array.prototype.slice.call(n,2))};r.parallelArrays.forEach(i)},e.prototype.hasData=function(){return this.visible&&"undefined"!==typeof this.dataMax&&"undefined"!==typeof this.dataMin||this.visible&&this.yData&&0=this.cropStart?c-this.cropStart:c),!n&&A(c)&&s[c]&&s[c].touched&&(c=void 0),c},e.prototype.updateData=function(e,t){var r,n,i,o=this.options,a=o.dataSorting,s=this.points,l=[],c=this.requireSorting,u=e.length===s.length,d=!0;if(this.xIncrement=null,e.forEach((function(e,t){var n=j(e)&&this.pointClass.prototype.optionsToObject.call({series:this},e)||{},d=n.x;n.id||A(d)?(-1===(n=this.findPointIndex(n,i))||"undefined"===typeof n?l.push(e):s[n]&&e!==o.data[n]?(s[n].update(e,!1,null,!1),s[n].touched=!0,c&&(i=n+1)):s[n]&&(s[n].touched=!0),(!u||t!==n||a&&a.enabled||this.hasDerivedData)&&(r=!0)):l.push(e)}),this),r)for(e=s.length;e--;)(n=s[e])&&!n.touched&&n.remove&&n.remove(!1,t);else!u||a&&a.enabled?d=!1:(e.forEach((function(e,t){e!==s[t].y&&s[t].update&&s[t].update(e,!1,null,!1)})),l.length=0);return s.forEach((function(e){e&&(e.touched=!1)})),!!d&&(l.forEach((function(e){this.addPoint(e,!1,null,null,!1)}),this),null===this.xIncrement&&this.xData&&this.xData.length&&(this.xIncrement=_(this.xData),this.autoIncrement()),!0)},e.prototype.setData=function(e,t,r,n){var i=this,o=i.points,a=o&&o.length||0,s=i.options,l=i.chart,c=s.dataSorting,u=i.xAxis,d=s.turboThreshold,p=this.xData,f=this.yData,h=i.pointArrayMap;h=h&&h.length;var y,m=s.keys,b=0,g=1,_=null,v=(e=e||[]).length;if(t=L(t,!0),c&&c.enabled&&(e=this.sortData(e)),!1!==n&&v&&a&&!i.cropped&&!i.hasGroupedData&&i.visible&&!i.isSeriesBoosting&&(y=this.updateData(e,r)),!y){if(i.xIncrement=null,i.colorCounter=0,this.parallelArrays.forEach((function(e){i[e+"Data"].length=0})),d&&v>d)if(_=i.getFirstValidPoint(e),A(_))for(r=0;re?1:0})).forEach((function(e,t){e.x=t}),this),t.linkedSeries&&t.linkedSeries.forEach((function(t){var r=t.options,i=r.data;r.dataSorting&&r.dataSorting.enabled||!i||(i.forEach((function(r,o){i[o]=n(t,r),e[o]&&(i[o].x=e[o].x,i[o].index=o)})),t.setData(i,!1))})),e},e.prototype.getProcessedData=function(e){var t=this.xAxis,r=this.options,n=r.cropThreshold,i=e||this.getExtremesFromAll||r.getExtremesFromAll,o=this.isCartesian;e=t&&t.val2lin,r=!(!t||!t.logarithmic);var a=0,s=this.xData,l=this.yData,c=this.requireSorting,u=!1,d=s.length;if(t){var p=(u=t.getExtremes()).min,f=u.max;u=t.categories&&!t.names.length}if(o&&this.sorted&&!i&&(!n||d>n||this.forceCrop))if(s[d-1]f)s=[],l=[];else if(this.yData&&(s[0]f)){var h=this.cropData(this.xData,this.yData,p,f);s=h.xData,l=h.yData,a=h.start,h=!0}for(n=s.length||1;--n;)if(0<(t=r?e(s[n])-e(s[n-1]):s[n]-s[n-1])&&("undefined"===typeof y||tt&&c&&!u&&(S(15,!1,this.chart),c=!1);return{xData:s,yData:l,cropped:h,cropStart:a,closestPointRange:y}},e.prototype.processData=function(e){var t=this.xAxis;if(this.isCartesian&&!this.isDirty&&!t.isDirty&&!this.yAxis.isDirty&&!e)return!1;e=this.getProcessedData(),this.cropped=e.cropped,this.cropStart=e.cropStart,this.processedXData=e.xData,this.processedYData=e.yData,this.closestPointRange=this.basePointRange=e.closestPointRange,T(this,"afterProcessData")},e.prototype.cropData=function(e,t,r,n,i){var o,a=e.length,s=0,l=a;for(i=L(i,this.cropShoulder),o=0;o=r){s=Math.max(0,o-i);break}for(r=o;rn){l=r+i;break}return{xData:e.slice(s,l),yData:t.slice(s,l),start:s,end:l}},e.prototype.generatePoints=function(){var e=this.options,t=e.data,r=this.processedXData,n=this.processedYData,i=this.pointClass,o=r.length,a=this.cropStart||0,s=this.hasGroupedData,l=e.keys,c=[];e=e.dataGrouping&&e.dataGrouping.groupAll?a:0;var u,d,p=this.data;if(!p&&!s){var f=[];f.length=t.length,p=this.data=f}for(l&&s&&(this.options.keys=!1),d=0;d=l&&(i[s-a]||f)<=c,h&&f)if(h=p.length)for(;h--;)A(p[h])&&(o[u++]=p[h]);else o[u++]=p}return e={activeYData:o,dataMin:v(o),dataMax:_(o)},T(this,"afterGetExtremes",{dataExtremes:e}),e},e.prototype.applyExtremes=function(){var e=this.getExtremes();return this.dataMin=e.dataMin,this.dataMax=e.dataMax,e},e.prototype.getFirstValidPoint=function(e){for(var t=e.length,r=0,n=null;null===n&&r=O&&(O=null),m.total=m.stackTotal=g.total,m.percentage=g.total&&m.y/g.total*100,m.stackY=v,this.irregularWidths||g.setOffset(this.pointXOffset||0,this.barW||0)),m.yBottom=j(O)?w(s.translate(O,0,1,0,1),-1e5,1e5):null,this.dataModify&&(v=this.dataModify.modifyValue(v,e)),m.plotY=void 0,A(v)&&"undefined"!==typeof(g=s.translate(v,!1,!0,!1,!0))&&(m.plotY=w(g,-1e5,1e5)),m.isInside=this.isPointInside(m),m.clientX=d?k(i.translate(b,0,0,0,1,u)):t,m.negative=m[h]<(r[h+"Threshold"]||p||0),m.category=o&&"undefined"!==typeof o[m.x]?o[m.x]:m.x,!m.isNull&&!1!==m.visible){"undefined"!==typeof P&&(y=Math.min(y,Math.abs(t-P)));var P=t}m.zone=this.zones.length?m.getZone():void 0,!m.graphic&&this.group&&a&&(m.isNew=!0)}this.closestPointRangePx=y,T(this,"afterTranslate")},e.prototype.getValidPoints=function(e,t,r){var n=this.chart;return(e||this.points||[]).filter((function(e){return!(t&&!n.isInsidePlot(e.plotX,e.plotY,{inverted:n.inverted}))&&!1!==e.visible&&(r||!e.isNull)}))},e.prototype.getClipBox=function(){var e=this.chart,t=this.xAxis,r=this.yAxis,n=C(e.clipBox);return t&&t.len!==e.plotSizeX&&(n.width=t.len),r&&r.len!==e.plotSizeY&&(n.height=r.len),n},e.prototype.getSharedClipKey=function(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0)},e.prototype.setClip=function(){var e=this.chart,t=this.group,r=this.markerGroup,n=e.sharedClips;e=e.renderer;var i=this.getClipBox(),o=this.getSharedClipKey(),a=n[o];a?a.animate(i):n[o]=a=e.clipRect(i),t&&t.clip(!1===this.options.clip?void 0:a),r&&r.clip()},e.prototype.animate=function(e){var t=this.chart,r=this.group,n=this.markerGroup,i=t.inverted,o=u(this.options.animation),a=[this.getSharedClipKey(),o.duration,o.easing,o.defer].join(),s=t.sharedClips[a],l=t.sharedClips[a+"m"];if(e&&r)o=this.getClipBox(),s?s.attr("height",o.height):(o.width=0,i&&(o.x=t.plotHeight),s=t.renderer.clipRect(o),t.sharedClips[a]=s,l=t.renderer.clipRect({x:i?(t.plotSizeX||0)+99:-99,y:i?-t.plotLeft:-t.plotTop,width:99,height:i?t.chartWidth:t.chartHeight}),t.sharedClips[a+"m"]=l),r.clip(s),n&&n.clip(l);else if(s&&!s.hasClass("highcharts-animating")){t=this.getClipBox();var c=o.step;n&&n.element.childNodes.length&&(o.step=function(e,t){c&&c.apply(t,arguments),l&&l.element&&l.attr(t.prop,"width"===t.prop?e+99:e)}),s.addClass("highcharts-animating").animate(t,o)}},e.prototype.afterAnimate=function(){var e=this;this.setClip(),D(this.chart.sharedClips,(function(t,r,n){t&&!e.chart.container.querySelector('[clip-path="url(#'+t.id+')"]')&&(t.destroy(),delete n[r])})),this.finishedAnimating=!0,T(this,"afterAnimate")},e.prototype.drawPoints=function(){var e,t,r=this.points,n=this.chart,i=this.options.marker,o=this[this.specialGroup]||this.markerGroup,a=this.xAxis,s=L(i.enabled,!(a&&!a.isRadial)||null,this.closestPointRangePx>=i.enabledThreshold*i.radius);if(!1!==i.enabled||this._hasPointMarkers)for(e=0;eO.max,l.resetZones&&0===t&&(t=void 0)})),this.clips=p}else l.visible&&(f&&f.show(!0),h&&h.show(!0))},e.prototype.invertGroups=function(e){function t(){["group","markerGroup"].forEach((function(t){r[t]&&(n.renderer.isVML&&r[t].attr({width:r.yAxis.len,height:r.xAxis.len}),r[t].width=r.yAxis.len,r[t].height=r.xAxis.len,r[t].invert(!r.isRadialSeries&&e))}))}var r=this,n=r.chart;r.xAxis&&(r.eventsToUnbind.push(g(n,"resize",t)),t(),r.invertGroups=t)},e.prototype.plotGroup=function(e,t,r,n,i){var o=this[e],a=!o;return r={visibility:r,zIndex:n||.1},"undefined"===typeof this.opacity||this.chart.styledMode||"inactive"===this.state||(r.opacity=this.opacity),a&&(this[e]=o=this.chart.renderer.g().add(i)),o.addClass("highcharts-"+t+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(j(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(o.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),o.attr(r)[a?"attr":"animate"](this.getPlotBox()),o},e.prototype.getPlotBox=function(){var e=this.chart,t=this.xAxis,r=this.yAxis;return e.inverted&&(t=r,r=this.xAxis),{translateX:t?t.left:e.plotLeft,translateY:r?r.top:e.plotTop,scaleX:1,scaleY:1}},e.prototype.removeEvents=function(e){e||I(this),this.eventsToUnbind.length&&(this.eventsToUnbind.forEach((function(e){e()})),this.eventsToUnbind.length=0)},e.prototype.render=function(){var e=this,t=e.chart,r=e.options,n=u(r.animation),i=e.visible?"inherit":"hidden",o=r.zIndex,a=e.hasRendered,s=t.seriesGroup,l=t.inverted;t=!e.finishedAnimating&&t.renderer.isSVG?n.duration:0,T(this,"render");var c=e.plotGroup("group","series",i,o,s);e.markerGroup=e.plotGroup("markerGroup","markers",i,o,s),!1!==r.clip&&e.setClip(),e.animate&&t&&e.animate(!0),c.inverted=!!L(e.invertible,e.isCartesian)&&l,e.drawGraph&&(e.drawGraph(),e.applyZones()),e.visible&&e.drawPoints(),e.drawDataLabels&&e.drawDataLabels(),e.redrawPoints&&e.redrawPoints(),e.drawTracker&&!1!==e.options.enableMouseTracking&&e.drawTracker(),e.invertGroups(l),e.animate&&t&&e.animate(),a||(t&&n.defer&&(t+=n.defer),e.animationTimeout=B((function(){e.afterAnimate()}),t||0)),e.isDirty=!1,e.hasRendered=!0,T(e,"afterRender")},e.prototype.redraw=function(){var e=this.chart,t=this.isDirty||this.isDirtyData,r=this.group,n=this.xAxis,i=this.yAxis;r&&(e.inverted&&r.attr({width:e.plotWidth,height:e.plotHeight}),r.animate({translateX:L(n&&n.left,e.plotLeft),translateY:L(i&&i.top,e.plotTop)})),this.translate(),this.render(),t&&delete this.kdTree},e.prototype.searchPoint=function(e,t){var r=this.xAxis,n=this.yAxis,i=this.chart.inverted;return this.searchKDTree({clientX:i?r.len-e.chartY+r.pos:e.chartX-r.pos,plotY:i?n.len-e.chartX+n.pos:e.chartY-n.pos},t,e)},e.prototype.buildKDTree=function(e){function t(e,n,i){var o=e&&e.length;if(o){var a=r.kdAxisArray[n%i];return e.sort((function(e,t){return e[a]-t[a]})),{point:e[o=Math.floor(o/2)],left:t(e.slice(0,o),n+1,i),right:t(e.slice(o+1),n+1,i)}}}this.buildingKdTree=!0;var r=this,n=-1(u=t[u]-c[u])?"right":"left",r[f=0>u?"left":"right"]&&(d=(f=e(t,r[f],s+1,l))[a]f;)h--;this.updateParallelArrays(p,"splice",h,0,0),this.updateParallelArrays(p,h),l&&p.name&&(l[f]=p.name),u.splice(h,0,e),c&&(this.data.splice(h,0,null),this.processData()),"point"===o.legendType&&this.generatePoints(),r&&(a[0]&&a[0].remove?a[0].remove(!1):(a.shift(),this.updateParallelArrays(p,"shift"),u.shift())),!1!==i&&T(this,"addPoint",{point:p}),this.isDirtyData=this.isDirty=!0,t&&s.redraw(n)},e.prototype.removePoint=function(e,t,r){var n=this,i=n.data,o=i[e],a=n.points,s=n.chart,l=function(){a&&a.length===i.length&&a.splice(e,1),i.splice(e,1),n.options.data.splice(e,1),n.updateParallelArrays(o||{series:n},"splice",e,1),o&&o.destroy(),n.isDirty=!0,n.isDirtyData=!0,t&&s.redraw()};d(r,s),t=L(t,!0),o?o.firePointEvent("remove",null,l):l()},e.prototype.remove=function(e,t,r,n){function i(){o.destroy(n),a.isDirtyLegend=a.isDirtyBox=!0,a.linkSeries(),L(e,!0)&&a.redraw(t)}var o=this,a=o.chart;!1!==r?T(o,"remove",null,i):i()},e.prototype.update=function(e,t){e=O(e,this.userOptions),T(this,"update",{options:e});var r,n=this,i=n.chart,o=n.userOptions,a=n.initialType||n.type,s=i.options.plotOptions,l=b[a].prototype,c=n.finishedAnimating&&{animation:!1},u={},d=["eventOptions","navigatorSeries","baseSeries"],p=e.type||o.type||i.options.chart.type,f=!(this.hasDerivedData||p&&p!==this.type||"undefined"!==typeof e.pointStart||"undefined"!==typeof e.pointInterval||"undefined"!==typeof e.relativeXValue||n.hasOptionChanged("dataGrouping")||n.hasOptionChanged("pointStart")||n.hasOptionChanged("pointInterval")||n.hasOptionChanged("pointIntervalUnit")||n.hasOptionChanged("keys"));if(p=p||a,f&&(d.push("data","isDirtyData","points","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","_hasPointLabels","clips","nodes","layout","mapMap","mapData","minY","maxY","minX","maxX"),!1!==e.visible&&d.push("area","graph"),n.parallelArrays.forEach((function(e){d.push(e+"Data")})),e.data&&(e.dataSorting&&P(n.options.dataSorting,e.dataSorting),this.setData(e.data,!1))),e=C(o,c,{index:"undefined"===typeof o.index?n.index:o.index,pointStart:L(s&&s.series&&s.series.pointStart,o.pointStart,n.xData[0])},!f&&{data:n.options.data},e),f&&e.data&&(e.data=n.options.data),(d=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(d)).forEach((function(e){d[e]=n[e],delete n[e]})),s=!1,b[p]){if(s=p!==n.type,n.remove(!1,!1,!1,!0),s)if(Object.setPrototypeOf)Object.setPrototypeOf(n,b[p].prototype);else{for(r in c=Object.hasOwnProperty.call(n,"hcEvents")&&n.hcEvents,l)n[r]=void 0;P(n,b[p].prototype),c?n.hcEvents=c:delete n.hcEvents}}else S(17,!0,i,{missingModuleFor:p});if(d.forEach((function(e){n[e]=d[e]})),n.init(i,e),f&&this.points){var h=n.options;!1===h.visible?(u.graphic=1,u.dataLabel=1):n._hasPointLabels||(e=h.marker,l=h.dataLabels,!e||!1!==e.enabled&&(o.marker&&o.marker.symbol)===e.symbol||(u.graphic=1),l&&!1===l.enabled&&(u.dataLabel=1)),this.points.forEach((function(e){e&&e.series&&(e.resolveColor(),Object.keys(u).length&&e.destroyElements(u),!1===h.showInLegend&&e.legendItem&&i.legend.destroyItem(e))}),this)}n.initialType=a,i.linkSeries(),s&&n.linkedSeries.length&&(n.isDirtyData=!0),T(this,"afterUpdate"),L(t,!0)&&i.redraw(!!f&&void 0)},e.prototype.setName=function(e){this.name=this.options.name=this.userOptions.name=e,this.chart.isDirtyLegend=!0},e.prototype.hasOptionChanged=function(e){var t=this.options[e],r=this.chart.options.plotOptions,n=this.userOptions[e];return n?t!==n:t!==L(r&&r[this.type]&&r[this.type][e],r&&r.series&&r.series[e],t)},e.prototype.onMouseOver=function(){var e=this.chart,t=e.hoverSeries;e.pointer.setHoverChartIndex(),t&&t!==this&&t.onMouseOut(),this.options.events.mouseOver&&T(this,"mouseOver"),this.setState("hover"),e.hoverSeries=this},e.prototype.onMouseOut=function(){var e=this.options,t=this.chart,r=t.tooltip,n=t.hoverPoint;t.hoverSeries=null,n&&n.onMouseOut(),this&&e.events.mouseOut&&T(this,"mouseOut"),!r||this.stickyTracking||r.shared&&!this.noSharedTooltip||r.hide(),t.series.forEach((function(e){e.setState("",!0)}))},e.prototype.setState=function(e,t){var r=this,n=r.options,i=r.graph,o=n.inactiveOtherPoints,a=n.states,s=L(a[e||"normal"]&&a[e||"normal"].animation,r.chart.options.chart.animation),l=n.lineWidth,c=0,u=n.opacity;if(e=e||"",r.state!==e&&([r.group,r.markerGroup,r.dataLabelsGroup].forEach((function(t){t&&(r.state&&t.removeClass("highcharts-series-"+r.state),e&&t.addClass("highcharts-series-"+e))})),r.state=e,!r.chart.styledMode)){if(a[e]&&!1===a[e].enabled)return;if(e&&(l=a[e].lineWidth||l+(a[e].lineWidthPlus||0),u=L(a[e].opacity,u)),i&&!i.dashstyle)for(n={"stroke-width":l},i.animate(n,s);r["zone-graph-"+c];)r["zone-graph-"+c].animate(n,s),c+=1;o||[r.group,r.markerGroup,r.dataLabelsGroup,r.labelBySeries].forEach((function(e){e&&e.animate({opacity:u},s)}))}t&&o&&r.points&&r.setAllPointsToState(e||void 0)},e.prototype.setAllPointsToState=function(e){this.points.forEach((function(t){t.setState&&t.setState(e)}))},e.prototype.setVisible=function(e,t){var r=this,n=r.chart,i=r.legendItem,o=n.options.chart.ignoreHiddenSeries,a=r.visible,s=(r.visible=e=r.options.visible=r.userOptions.visible="undefined"===typeof e?!a:e)?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach((function(e){r[e]&&r[e][s]()})),n.hoverSeries!==r&&(n.hoverPoint&&n.hoverPoint.series)!==r||r.onMouseOut(),i&&n.legend.colorizeItem(r,e),r.isDirty=!0,r.options.stacking&&n.series.forEach((function(e){e.options.stacking&&e.visible&&(e.isDirty=!0)})),r.linkedSeries.forEach((function(t){t.setVisible(e,!1)})),o&&(n.isDirtyBox=!0),T(r,s),!1!==t&&n.redraw()},e.prototype.show=function(){this.setVisible(!0)},e.prototype.hide=function(){this.setVisible(!1)},e.prototype.select=function(e){this.selected=e=this.options.selected="undefined"===typeof e?!this.selected:e,this.checkbox&&(this.checkbox.checked=e),T(this,e?"select":"unselect")},e.prototype.shouldShowTooltip=function(e,t,r){return void 0===r&&(r={}),r.series=this,r.visiblePlotOnly=!0,this.chart.isInsidePlot(e,t,r)},e.defaultOptions=a,e}(),P(e.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,cropShoulder:1,directTouch:!1,drawLegendSymbol:i.drawLineMarker,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:o,requireSorting:!0,sorted:!0}),s.series=e,e})),t(r,"Extensions/ScrollablePlotArea.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Renderer/RendererRegistry.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i,o){var a=e.stop,s=o.addEvent,l=o.createElement,c=o.merge,u=o.pick;s(r,"afterSetChartSize",(function(e){var r=this.options.chart.scrollablePlotArea,n=r&&r.minWidth;if(r=r&&r.minHeight,!this.renderer.forExport){if(n){if(this.scrollablePixelsX=n=Math.max(0,n-this.chartWidth)){this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.width=this.plotWidth+=n,this.inverted?this.clipBox.height+=n:this.clipBox.width+=n;var i={1:{name:"right",value:n}}}}else r&&(this.scrollablePixelsY=n=Math.max(0,r-this.chartHeight))&&(this.scrollablePlotBox=this.renderer.scrollablePlotBox=c(this.plotBox),this.plotBox.height=this.plotHeight+=n,this.inverted?this.clipBox.width+=n:this.clipBox.height+=n,i={2:{name:"bottom",value:n}});i&&!e.skipAxes&&this.axes.forEach((function(e){i[e.side]?e.getPlotLinePath=function(){var r=i[e.side].name,n=this[r];this[r]=n-i[e.side].value;var o=t.prototype.getPlotLinePath.apply(this,arguments);return this[r]=n,o}:(e.setAxisSize(),e.setAxisTranslation())}))}})),s(r,"render",(function(){this.scrollablePixelsX||this.scrollablePixelsY?(this.setUpScrolling&&this.setUpScrolling(),this.applyFixed()):this.fixedDiv&&this.applyFixed()})),r.prototype.setUpScrolling=function(){var e=this,t={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};this.scrollablePixelsX&&(t.overflowX="auto"),this.scrollablePixelsY&&(t.overflowY="auto"),this.scrollingParent=l("div",{className:"highcharts-scrolling-parent"},{position:"relative"},this.renderTo),this.scrollingContainer=l("div",{className:"highcharts-scrolling"},t,this.scrollingParent),s(this.scrollingContainer,"scroll",(function(){e.pointer&&delete e.pointer.chartPosition})),this.innerContainer=l("div",{className:"highcharts-inner-container"},null,this.scrollingContainer),this.innerContainer.appendChild(this.container),this.setUpScrolling=null},r.prototype.moveFixedElements=function(){var e,t=this.container,r=this.fixedRenderer,n=".highcharts-contextbutton .highcharts-credits .highcharts-legend .highcharts-legend-checkbox .highcharts-navigator-series .highcharts-navigator-xaxis .highcharts-navigator-yaxis .highcharts-navigator .highcharts-reset-zoom .highcharts-drillup-button .highcharts-scrollbar .highcharts-subtitle .highcharts-title".split(" ");this.scrollablePixelsX&&!this.inverted?e=".highcharts-yaxis":this.scrollablePixelsX&&this.inverted||this.scrollablePixelsY&&!this.inverted?e=".highcharts-xaxis":this.scrollablePixelsY&&this.inverted&&(e=".highcharts-yaxis"),e&&n.push(e+":not(.highcharts-radial-axis)",e+"-labels:not(.highcharts-radial-axis-labels)"),n.forEach((function(e){[].forEach.call(t.querySelectorAll(e),(function(e){(e.namespaceURI===r.SVG_NS?r.box:r.box.parentNode).appendChild(e),e.style.pointerEvents="auto"}))}))},r.prototype.applyFixed=function(){var e=!this.fixedDiv,t=this.options.chart,r=t.scrollablePlotArea,n=i.getRendererType();e?(this.fixedDiv=l("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(t.style&&t.style.zIndex||0)+2,top:0},null,!0),this.scrollingContainer&&this.scrollingContainer.parentNode.insertBefore(this.fixedDiv,this.scrollingContainer),this.renderTo.style.overflow="visible",this.fixedRenderer=t=new n(this.fixedDiv,this.chartWidth,this.chartHeight,this.options.chart.style),this.scrollableMask=t.path().attr({fill:this.options.chart.backgroundColor||"#fff","fill-opacity":u(r.opacity,.85),zIndex:-1}).addClass("highcharts-scrollable-mask").add(),s(this,"afterShowResetZoom",this.moveFixedElements),s(this,"afterDrilldown",this.moveFixedElements),s(this,"afterLayOutTitles",this.moveFixedElements)):this.fixedRenderer.setSize(this.chartWidth,this.chartHeight),(this.scrollableDirty||e)&&(this.scrollableDirty=!1,this.moveFixedElements()),t=this.chartWidth+(this.scrollablePixelsX||0),n=this.chartHeight+(this.scrollablePixelsY||0),a(this.container),this.container.style.width=t+"px",this.container.style.height=n+"px",this.renderer.boxWrapper.attr({width:t,height:n,viewBox:[0,0,t,n].join(" ")}),this.chartBackground.attr({width:t,height:n}),this.scrollingContainer.style.height=this.chartHeight+"px",e&&(r.scrollPositionX&&(this.scrollingContainer.scrollLeft=this.scrollablePixelsX*r.scrollPositionX),r.scrollPositionY&&(this.scrollingContainer.scrollTop=this.scrollablePixelsY*r.scrollPositionY)),n=this.axisOffset,e=this.plotTop-n[0]-1,r=this.plotLeft-n[3]-1,t=this.plotTop+this.plotHeight+n[2]+1,n=this.plotLeft+this.plotWidth+n[1]+1;var o=this.plotLeft+this.plotWidth-(this.scrollablePixelsX||0),c=this.plotTop+this.plotHeight-(this.scrollablePixelsY||0);e=this.scrollablePixelsX?[["M",0,e],["L",this.plotLeft-1,e],["L",this.plotLeft-1,t],["L",0,t],["Z"],["M",o,e],["L",this.chartWidth,e],["L",this.chartWidth,t],["L",o,t],["Z"]]:this.scrollablePixelsY?[["M",r,0],["L",r,this.plotTop-1],["L",n,this.plotTop-1],["L",n,0],["Z"],["M",r,c],["L",r,this.chartHeight],["L",n,this.chartHeight],["L",n,c],["Z"]]:[["M",0,0]],"adjustHeight"!==this.redrawTrigger&&this.scrollableMask.attr({d:e})},s(t,"afterInit",(function(){this.chart.scrollableDirty=!0})),s(n,"show",(function(){this.chart.scrollableDirty=!0}))})),t(r,"Core/Axis/StackingAxis.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Axis/Axis.js"],r["Core/Utilities.js"]],(function(e,t,r){var n,i=e.getDeferredAnimation,o=r.addEvent,a=r.destroyObjectProperties,s=r.fireEvent,l=r.isNumber,c=r.objectEach;return function(e){function t(){var e=this.stacking;if(e){var t=e.stacks;c(t,(function(e,r){a(e),t[r]=null})),e&&e.stackTotalGroup&&e.stackTotalGroup.destroy()}}function r(){this.stacking||(this.stacking=new u(this))}var n=[];e.compose=function(e){return-1===n.indexOf(e)&&(n.push(e),o(e,"init",r),o(e,"destroy",t)),e};var u=function(){function e(e){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=e}return e.prototype.buildStacks=function(){var e,t=this.axis,r=t.series,n=t.options.reversedStacks,i=r.length;if(!t.isXAxis){for(this.usePercentage=!1,e=i;e--;){var o=r[n?e:i-e-1];o.setStackedPoints(),o.setGroupedPoints()}for(e=0;eo&&t.shadow)),s&&(s.startX=r.xMap,s.isArea=r.isArea)}))},r.prototype.getGraphPath=function(e,t,r){var n,o=this,a=o.options,s=[],l=[],c=a.step,u=(e=e||o.points).reversed;return u&&e.reverse(),(c={right:1,center:2}[c]||c&&3)&&u&&(c=4-c),(e=this.getValidPoints(e,!1,!(a.connectNulls&&!t&&!r))).forEach((function(u,d){var p=u.plotX,f=u.plotY,h=e[d-1];(u.leftCliff||h&&h.rightCliff)&&!r&&(n=!0),u.isNull&&!i(t)&&0e&&u>i?d=2*i-(u=Math.max(e,i)):ur&&d>i?u=2*i-(d=Math.max(r,i)):d=Math.abs(t)&&.5e.closestPointRange*e.xAxis.transA;n=e.borderWidth=_(r.borderWidth,n?0:1);var o=e.xAxis,a=e.yAxis,s=r.threshold,l=e.translatedThreshold=a.getThreshold(s),c=_(r.minPointLength,5),u=e.getColumnMetrics(),p=u.width,h=e.pointXOffset=u.offset,y=e.dataMin,m=e.dataMax,g=e.barW=Math.max(p,1+2*n);t.inverted&&(l-=.5),r.pointPadding&&(g=Math.ceil(g)),i.prototype.translate.apply(e),e.points.forEach((function(n){var i=_(n.yBottom,l),v=999+Math.abs(i),w=n.plotX||0;v=d(n.plotY,-v,a.len+v);var O=Math.min(v,i),k=Math.max(v,i)-O,j=p,x=w+h,S=g;c&&Math.abs(k)c?i-c:l-(w?c:0)),f(n.options.pointWidth)&&(j=S=Math.ceil(n.options.pointWidth),x-=Math.round((j-p)/2)),r.centerInCategory&&(x=e.adjustForMissingColumns(x,j,n,u)),n.barX=x,n.pointWidth=j,n.tooltipPos=t.inverted?[d(a.len+a.pos-t.plotLeft-v,a.pos-t.plotLeft,a.len+a.pos-t.plotLeft),o.len+o.pos-t.plotTop-x-S/2,k]:[o.left-t.plotLeft+x+S/2,d(v+a.pos-t.plotTop,a.pos-t.plotTop,a.len+a.pos-t.plotTop),k],n.shapeType=e.pointClass.prototype.shapeType||"rect",n.shapeArgs=e.crispCol.apply(e,n.isNull?[x,l,S,0]:[x,O,S,k])}))},t.prototype.drawGraph=function(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")},t.prototype.pointAttribs=function(e,t){var r=this.options,n=this.pointAttrToOptions||{},i=n.stroke||"borderColor",o=n["stroke-width"]||"borderWidth",a=e&&e.color||this.color,s=e&&e[i]||r[i]||a;n=e&&e.options.dashStyle||r.dashStyle;var l=e&&e[o]||r[o]||this[o]||0,u=_(e&&e.opacity,r.opacity,1);if(e&&this.zones.length){var d=e.getZone();a=e.options.color||d&&(d.color||e.nonZonedColor)||this.color,d&&(s=d.borderColor||s,n=d.dashStyle||n,l=d.borderWidth||l)}return t&&e&&(t=(e=g(r.states[t],e.options.states&&e.options.states[t]||{})).brightness,a=e.color||"undefined"!==typeof t&&c(a).brighten(e.brightness).get()||a,s=e[i]||s,l=e[o]||l,n=e.dashStyle||n,u=_(e.opacity,u)),i={fill:a,stroke:s,"stroke-width":l,opacity:u},n&&(i.dashstyle=n),i},t.prototype.drawPoints=function(){var e,t=this,r=this.chart,n=t.options,i=r.renderer,o=n.animationLimit||250;t.points.forEach((function(a){var s=a.graphic,l=!!s,c=s&&r.pointCountb,"left"===y?u.y-=b?f.height:0:"center"===y?(u.x-=f.width/2,u.y-=f.height/2):"right"===y&&(u.x-=f.width,u.y-=b?0:f.height),t.placed=!0,t.alignAttr=u):(b(n),t.align(r,void 0,n),u=t.alignAttr),g&&0<=n.height?this.justifyDataLabel(t,r,u,f,n,i):p(r.crop,!0)&&(_=a.isInsidePlot(u.x,u.y,{paneCoordinates:!0,series:o})&&a.isInsidePlot(u.x+f.width,u.y+f.height,{paneCoordinates:!0,series:o})),r.shape&&!h&&t[i?"attr":"animate"]({anchorX:l?a.plotWidth-e.plotY:e.plotX,anchorY:l?a.plotHeight-e.plotX:e.plotY})}i&&c&&(t.placed=!1),_||c&&!g||(t.hide(!0),t.placed=!1)}function r(){var e=this,t=e.chart,r=e.options,n=e.points,s=e.hasRendered||0,u=t.renderer,y=r.dataLabels,m=y.animation;if(m=y.defer?i(t,m,e):{defer:0,duration:0},y=h(h(t.options.plotOptions&&t.options.plotOptions.series&&t.options.plotOptions.series.dataLabels,t.options.plotOptions&&t.options.plotOptions[e.type]&&t.options.plotOptions[e.type].dataLabels),y),l(this,"drawDataLabels"),c(y)||y.enabled||e._hasPointLabels){var b=e.plotGroup("dataLabelsGroup","data-labels",s?"inherit":"hidden",y.zIndex||6);b.attr({opacity:+s}),!s&&(s=e.dataLabelsGroup)&&(e.visible&&b.show(!0),s[r.animation?"animate":"attr"]({opacity:1},m)),n.forEach((function(n){f(h(y,n.dlOptions||n.options&&n.options.dataLabels)).forEach((function(i,s){var l=i.enabled&&(!n.isNull||n.dataLabelOnNull)&&function(e,t){var r=t.filter;return!r||(t=r.operator,e=e[r.property],r=r.value,">"===t&&e>r||"<"===t&&e="===t&&e>=r||"<="===t&&e<=r||"=="===t&&e==r||"==="===t&&e===r)}(n,i),c=n.connectors?n.connectors[s]:n.connector,f=n.dataLabels?n.dataLabels[s]:n.dataLabel,h=p(i.distance,n.labelDistance),y=!f;if(l){var m=n.getLabelConfig(),g=p(i[n.formatPrefix+"Format"],i.format);m=a(g)?o(g,m,t):(i[n.formatPrefix+"Formatter"]||i.formatter).call(m,i),g=i.style;var _=i.rotation;t.styledMode||(g.color=p(i.color,g.color,e.color,"#000000"),"contrast"===g.color?(n.contrastColor=u.getContrast(n.color||e.color),g.color=!a(h)&&i.inside||0>h||r.stacking?n.contrastColor:"#000000"):delete n.contrastColor,r.cursor&&(g.cursor=r.cursor));var v={r:i.borderRadius||0,rotation:_,padding:i.padding,zIndex:1};t.styledMode||(v.fill=i.backgroundColor,v.stroke=i.borderColor,v["stroke-width"]=i.borderWidth),d(v,(function(e,t){"undefined"===typeof e&&delete v[t]}))}!f||l&&a(m)&&!!f.div===!!i.useHTML||(n.dataLabel=f=n.dataLabel&&n.dataLabel.destroy(),n.dataLabels&&(1===n.dataLabels.length?delete n.dataLabels:delete n.dataLabels[s]),s||delete n.dataLabel,c&&(n.connector=n.connector.destroy(),n.connectors&&(1===n.connectors.length?delete n.connectors:delete n.connectors[s]))),l&&a(m)&&(f?v.text=m:(n.dataLabels=n.dataLabels||[],f=n.dataLabels[s]=_?u.text(m,0,-9999,i.useHTML).addClass("highcharts-data-label"):u.label(m,0,-9999,i.shape,null,null,i.useHTML,null,"data-label"),s||(n.dataLabel=f),f.addClass(" highcharts-data-label-color-"+n.colorIndex+" "+(i.className||"")+(i.useHTML?" highcharts-tracker":""))),f.options=i,f.attr(v),t.styledMode||f.css(g).shadow(i.shadow),f.added||f.add(b),i.textPath&&!i.useHTML&&(f.setTextPath(n.getDataLabelPath&&n.getDataLabelPath(f)||n.graphic,i.textPath),n.dataLabelPath&&!i.textPath.enabled&&(n.dataLabelPath=n.dataLabelPath.destroy())),e.alignDataLabel(n,f,i,null,y))}))}))}l(this,"afterDrawDataLabels")}function n(e,t,r,n,i,o){var a=this.chart,s=t.align,l=t.verticalAlign,c=e.box?0:e.padding||0,u=t.x;u=void 0===u?0:u;var d=t.y;d=void 0===d?0:d;var p=(r.x||0)+c;if(0>p){"right"===s&&0<=u?(t.align="left",t.inside=!0):u-=p;var f=!0}return(p=(r.x||0)+n.width-c)>a.plotWidth&&("left"===s&&0>=u?(t.align="right",t.inside=!0):u+=a.plotWidth-p,f=!0),0>(p=r.y+c)&&("bottom"===l&&0<=d?(t.verticalAlign="top",t.inside=!0):d-=p,f=!0),(p=(r.y||0)+n.height-c)>a.plotHeight&&("top"===l&&0>=d?(t.verticalAlign="bottom",t.inside=!0):d+=a.plotHeight-p,f=!0),f&&(t.x=u,t.y=d,e.placed=!o,e.align(t,void 0,i)),f}function h(e,t){var r,n=[];if(c(e)&&!c(t))n=e.map((function(e){return u(e,t)}));else if(c(t)&&!c(e))n=t.map((function(t){return u(e,t)}));else if(c(e)||c(t))for(r=Math.max(e.length,t.length);r--;)n[r]=u(e[r],t[r]);else n=u(e,t);return n}function y(e,t,r,n,i){var o=this.chart,a=o.inverted,s=this.xAxis,l=s.reversed,c=a?t.height/2:t.width/2;e=(e=e.pointWidth)?e/2:0,t.startXPos=a?i.x:l?-c-e:s.width-c+e,t.startYPos=a?l?this.yAxis.height-c+e:-c-e:i.y,n?"hidden"===t.visibility&&(t.show(),t.attr({opacity:0}).animate({opacity:1})):t.attr({opacity:1}).animate({opacity:0},void 0,t.hide),o.hasRendered&&(r&&t.attr({x:t.startXPos,y:t.startYPos}),t.placed=!0)}var m=[];e.compose=function(e){if(-1===m.indexOf(e)){var i=e.prototype;m.push(e),i.alignDataLabel=t,i.drawDataLabels=r,i.justifyDataLabel=n,i.setDataLabelStartPos=y}}}(n||(n={})),n})),t(r,"Series/Column/ColumnDataLabel.js",[r["Core/Series/DataLabel.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Utilities.js"]],(function(e,t,r){var n,i=t.series,o=r.merge,a=r.pick;return function(t){function r(e,t,r,n,s){var l=this.chart.inverted,c=e.series,u=(c.xAxis?c.xAxis.len:this.chart.plotSizeX)||0;c=(c.yAxis?c.yAxis.len:this.chart.plotSizeY)||0;var d=e.dlBox||e.shapeArgs,p=a(e.below,e.plotY>a(this.translatedThreshold,c)),f=a(r.inside,!!this.options.stacking);d&&(0>(n=o(d)).y&&(n.height+=n.y,n.y=0),0<(d=n.y+n.height-c)&&d\u25cf {series.name}
',pointFormat:"x: {point.x}
y: {point.y}
"}}),r}(t),a(n.prototype,{drawTracker:e.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"],takeOrdinalPosition:!1}),o(n,"afterTranslate",(function(){this.applyJitter()})),r.registerSeriesType("scatter",n),n})),t(r,"Series/CenteredUtilities.js",[r["Core/Globals.js"],r["Core/Series/Series.js"],r["Core/Utilities.js"]],(function(e,t,r){var n,i=e.deg2rad,o=r.isNumber,a=r.pick,s=r.relativeLength;return function(e){e.getCenter=function(){var e=this.options,r=this.chart,n=2*(e.slicedOffset||0),i=r.plotWidth-2*n,o=r.plotHeight-2*n,l=e.center,c=Math.min(i,o),u=e.size,d=e.innerSize||0;for("string"===typeof u&&(u=parseFloat(u)),"string"===typeof d&&(d=parseFloat(d)),e=[a(l[0],"50%"),a(l[1],"50%"),a(u&&0>u?void 0:e.size,"100%"),a(d&&0>d?void 0:e.innerSize||0,"0%")],!r.angular||this instanceof t||(e[3]=0),l=0;4>l;++l)u=e[l],r=2>l||2===l&&/%$/.test(u),e[l]=s(u,[i,o,c,e[2]][l])+(r?n:0);return e[3]>e[2]&&(e[3]=e[2]),e},e.getStartAndEndRadians=function(e,t){return e=o(e)?e:0,t=o(t)&&t>e&&360>t-e?t:e+360,{start:i*(e+-90),end:i*(t+-90)}}}(n||(n={})),n})),t(r,"Series/Pie/PiePoint.js",[r["Core/Animation/AnimationUtilities.js"],r["Core/Series/Point.js"],r["Core/Utilities.js"]],(function(e,t,r){var n=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),i=e.setAnimation,o=r.addEvent,a=r.defined;e=r.extend;var s=r.isNumber,l=r.pick,c=r.relativeLength;return t=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.labelDistance=void 0,t.options=void 0,t.series=void 0,t}return n(t,e),t.prototype.getConnectorPath=function(){var e=this.labelPosition,t=this.series.options.dataLabels,r=this.connectorShapes,n=t.connectorShape;return r[n]&&(n=r[n]),n.call(this,{x:e.final.x,y:e.final.y,alignment:e.alignment},e.connectorPosition,t)},t.prototype.getTranslate=function(){return this.sliced?this.slicedTranslation:{translateX:0,translateY:0}},t.prototype.haloPath=function(e){var t=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(t.x,t.y,t.r+e,t.r+e,{innerR:t.r-1,start:t.start,end:t.end})},t.prototype.init=function(){var t=this;e.prototype.init.apply(this,arguments),this.name=l(this.name,"Slice");var r=function(e){t.slice("select"===e.type)};return o(this,"select",r),o(this,"unselect",r),this},t.prototype.isValid=function(){return s(this.y)&&0<=this.y},t.prototype.setVisible=function(e,t){var r=this,n=this.series,i=n.chart,o=n.options.ignoreHiddenPoint;t=l(t,o),e!==this.visible&&(this.visible=this.options.visible=e="undefined"===typeof e?!this.visible:e,n.options.data[n.data.indexOf(this)]=this.options,["graphic","dataLabel","connector","shadowGroup"].forEach((function(t){r[t]&&r[t][e?"show":"hide"](e)})),this.legendItem&&i.legend.colorizeItem(this,e),e||"hover"!==this.state||this.setState(""),o&&(n.isDirty=!0),t&&i.redraw())},t.prototype.slice=function(e,t,r){var n=this.series;i(r,n.chart),l(t,!0),this.sliced=this.options.sliced=a(e)?e:!this.sliced,n.options.data[n.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate()),this.shadowGroup&&this.shadowGroup.animate(this.getTranslate())},t}(t),e(t.prototype,{connectorShapes:{fixedOffset:function(e,t,r){var n=t.breakAt;return t=t.touchingSliceAt,[["M",e.x,e.y],r.softConnector?["C",e.x+("left"===e.alignment?-5:5),e.y,2*n.x-t.x,2*n.y-t.y,n.x,n.y]:["L",n.x,n.y],["L",t.x,t.y]]},straight:function(e,t){return t=t.touchingSliceAt,[["M",e.x,e.y],["L",t.x,t.y]]},crookedLine:function(e,t,r){t=t.touchingSliceAt;var n=this.series,i=n.center[0],o=n.chart.plotWidth,a=n.chart.plotLeft;n=e.alignment;var s=this.shapeArgs.r;return r=c(r.crookDistance,1),r=["L",o="left"===n?i+s+(o+a-i-s)*(1-r):a+(i-s)*r,e.y],i=!0,("left"===n?o>e.x||ot.x)&&(i=!1),e=[["M",e.x,e.y]],i&&e.push(r),e.push(["L",t.x,t.y]),e}}}),t})),t(r,"Series/Pie/PieSeries.js",[r["Series/CenteredUtilities.js"],r["Series/Column/ColumnSeries.js"],r["Core/Globals.js"],r["Core/Legend/LegendSymbol.js"],r["Series/Pie/PiePoint.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Core/Renderer/SVG/Symbols.js"],r["Core/Utilities.js"]],(function(e,t,r,n,i,o,a,s,l){var c=this&&this.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},e(t,r)};return function(t,r){function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}(),u=e.getStartAndEndRadians;r=r.noop;var d=l.clamp,p=l.extend,f=l.fireEvent,h=l.merge,y=l.pick,m=l.relativeLength;return l=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.center=void 0,t.data=void 0,t.maxLabelDistance=void 0,t.options=void 0,t.points=void 0,t}return c(t,e),t.prototype.animate=function(e){var t=this,r=t.points,n=t.startAngleRad;e||r.forEach((function(e){var r=e.graphic,i=e.shapeArgs;r&&i&&(r.attr({r:y(e.startR,t.center&&t.center[3]/2),start:n,end:n}),r.animate({r:i.r,start:i.start,end:i.end},t.options.animation))}))},t.prototype.drawEmpty=function(){var e=this.startAngleRad,t=this.endAngleRad,r=this.options;if(0===this.total&&this.center){var n=this.center[0],i=this.center[1];this.graph||(this.graph=this.chart.renderer.arc(n,i,this.center[1]/2,0,e,t).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:s.arc(n,i,this.center[2]/2,0,{start:e,end:t,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":r.borderWidth,fill:r.fillColor||"none",stroke:r.color||"#cccccc"})}else this.graph&&(this.graph=this.graph.destroy())},t.prototype.drawPoints=function(){var e=this.chart.renderer;this.points.forEach((function(t){t.graphic&&t.hasNewShapeType()&&(t.graphic=t.graphic.destroy()),t.graphic||(t.graphic=e[t.shapeType](t.shapeArgs).add(t.series.group),t.delayedRendering=!0)}))},t.prototype.generatePoints=function(){e.prototype.generatePoints.call(this),this.updateTotals()},t.prototype.getX=function(e,t,r){var n=this.center,i=this.radii?this.radii[r.index]||0:n[2]/2;return e=Math.asin(d((e-n[1])/(i+r.labelDistance),-1,1)),n[0]+(t?-1:1)*Math.cos(e)*(i+r.labelDistance)+(01.5*Math.PI?b-=2*Math.PI:b<-Math.PI/2&&(b+=2*Math.PI),p.slicedTranslation={translateX:Math.round(Math.cos(b)*r),translateY:Math.round(Math.sin(b)*r)},g=Math.cos(b)*e[2]/2;var _=Math.sin(b)*e[2]/2;p.tooltipPos=[e[0]+.7*g,e[1]+.7*_],p.half=b<-Math.PI/2||b>Math.PI/2?1:0,p.angle=b,h=Math.min(n,p.labelDistance/5),p.labelPosition={natural:{x:e[0]+g+Math.cos(b)*p.labelDistance,y:e[1]+_+Math.sin(b)*p.labelDistance},final:{},alignment:0>p.labelDistance?"center":p.half?"right":"left",connectorPosition:{breakAt:{x:e[0]+g+Math.cos(b)*h,y:e[1]+_+Math.sin(b)*h},touchingSliceAt:{x:e[0]+g,y:e[1]+_}}}}f(this,"afterTranslate")},t.prototype.updateTotals=function(){var e,t=this.points,r=t.length,n=this.options.ignoreHiddenPoint,i=0;for(e=0;eS&&(e.dataLabel.css({width:Math.round(.7*S)+"px"}),e.dataLabel.shortened=!0)):(e.dataLabel=e.dataLabel.destroy(),e.dataLabels&&1===e.dataLabels.length&&delete e.dataLabels))})),E.forEach((function(t,r){var l,c=t.length,p=[];if(c){if(g.sortByAngle(t,r-.5),0k-O&&0===r&&(_=Math.round(u+i-k+O),q[1]=Math.max(_,q[1])),0>h-a/2?q[0]=Math.max(Math.round(a/2-h),q[0]):h+a/2>j&&(q[2]=Math.max(Math.round(h+a/2-j),q[2])),n.sideOverflow=_)}}})),0===c(q)||this.verifyDataLabelOverflow(q))&&(this.placeDataLabels(),this.points.forEach((function(e){var i;b=p(w,e.options.dataLabels),(t=f(b.connectorWidth,1))&&(r=e.connector,(n=e.dataLabel)&&n._pos&&e.visible&&0t.bottom-2?n:r,t.half,t)},justify:function(e,t,r){return r[0]+(e.half?-1:1)*(t+e.labelDistance)},alignToPlotEdges:function(e,t,r,n){return e=e.getBBox().width,t?e+n:r-e-n},alignToConnectors:function(e,t,r,n){var i,o=0;return e.forEach((function(e){(i=e.dataLabel.getBBox().width)>o&&(o=i)})),t?o+n:r-o-n}};t.compose=function(t){e.compose(l),-1===o.indexOf(t)&&(o.push(t),(t=t.prototype).dataLabelPositioners=y,t.alignDataLabel=a,t.drawDataLabels=r,t.placeDataLabels=n,t.verifyDataLabelOverflow=i)}}(o||(o={})),o})),t(r,"Extensions/OverlappingDataLabels.js",[r["Core/Chart/Chart.js"],r["Core/Utilities.js"]],(function(e,t){function r(e,t){var r=!1;if(e){var n=e.newOpacity;e.oldOpacity!==n&&(e.alignAttr&&e.placed?(e[n?"removeClass":"addClass"]("highcharts-data-label-hidden"),r=!0,e.alignAttr.opacity=n,e[e.isOld?"animate":"attr"](e.alignAttr,null,(function(){t.styledMode||e.css({pointerEvents:n?"auto":"none"})})),i(t,"afterHideOverlappingLabel")):e.attr({opacity:n})),e.isOld=!0}return r}var n=t.addEvent,i=t.fireEvent,o=t.isArray,a=t.isNumber,s=t.objectEach,l=t.pick;n(e,"render",(function(){var e=this,t=[];(this.labelCollectors||[]).forEach((function(e){t=t.concat(e())})),(this.yAxis||[]).forEach((function(e){e.stacking&&e.options.stackLabels&&!e.options.stackLabels.allowOverlap&&s(e.stacking.stacks,(function(e){s(e,(function(e){e.label&&"hidden"!==e.label.visibility&&t.push(e.label)}))}))})),(this.series||[]).forEach((function(n){var i=n.options.dataLabels;n.visible&&(!1!==i.enabled||n._hasPointLabels)&&(i=function(n){return n.forEach((function(n){n.visible&&(o(n.dataLabels)?n.dataLabels:n.dataLabel?[n.dataLabel]:[]).forEach((function(i){var o=i.options;i.labelrank=l(o.labelrank,n.labelrank,n.shapeArgs&&n.shapeArgs.height),o.allowOverlap?(i.oldOpacity=i.opacity,i.newOpacity=1,r(i,e)):t.push(i)}))}))},i(n.nodes||[]),i(n.points))})),this.hideOverlappingLabels(t)})),e.prototype.hideOverlappingLabels=function(e){var t,n,o,s=this,l=e.length,c=s.renderer,u=!1,d=function(e){var t,r,n=e.box?0:e.padding||0,i=t=0;if(e&&(!e.alignAttr||e.placed)){var o=e.alignAttr||{x:e.attr("x"),y:e.attr("y")},s=e.parentGroup;e.width||(t=e.getBBox(),e.width=t.width,e.height=t.height,t=c.fontMetrics(null,e.element).h);var l=e.width-2*n;return(r={left:"0",center:"0.5",right:"1"}[e.alignValue])?i=+r*l:a(e.x)&&Math.round(e.x)!==e.translateX&&(i=e.x-e.translateX),{x:o.x+(s.translateX||0)+n-(i||0),y:o.y+(s.translateY||0)+n-t,width:e.width-2*n,height:e.height-2*n}}};for(n=0;n=p.x+p.width||f.x+f.width<=p.x||f.y>=p.y+p.height||f.y+f.height<=p.y||((d.labelrank=l(r.minWidth,0)&&this.chartHeight>=l(r.minHeight,0)}).call(this)&&t.push(e._id)},e.prototype.setResponsive=function(e,t){var r=this,i=this.options.responsive,o=this.currentResponsive,s=[];!t&&i&&i.rules&&i.rules.forEach((function(e){"undefined"===typeof e._id&&(e._id=u()),r.matchResponsiveRule(e,s)}),this),t=a.apply(void 0,s.map((function(e){return n((i||{}).rules||[],(function(t){return t._id===e}))})).map((function(e){return e&&e.chartOptions}))),t.isResponsiveOptions=!0,(s=s.toString()||void 0)!==(o&&o.ruleIds)&&(o&&this.update(o.undoOptions,e,!0),s?((o=this.currentOptions(t)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:s,mergedOptions:t,undoOptions:o},this.update(t,e,!0)):this.currentResponsive=void 0)},e}()}(t||(t={})),t})),t(r,"masters/highcharts.src.js",[r["Core/Globals.js"],r["Core/Utilities.js"],r["Core/DefaultOptions.js"],r["Core/Animation/Fx.js"],r["Core/Animation/AnimationUtilities.js"],r["Core/Renderer/HTML/AST.js"],r["Core/FormatUtilities.js"],r["Core/Renderer/RendererUtilities.js"],r["Core/Renderer/SVG/SVGElement.js"],r["Core/Renderer/SVG/SVGRenderer.js"],r["Core/Renderer/HTML/HTMLElement.js"],r["Core/Renderer/HTML/HTMLRenderer.js"],r["Core/Axis/Axis.js"],r["Core/Axis/DateTimeAxis.js"],r["Core/Axis/LogarithmicAxis.js"],r["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],r["Core/Axis/Tick.js"],r["Core/Tooltip.js"],r["Core/Series/Point.js"],r["Core/Pointer.js"],r["Core/MSPointer.js"],r["Core/Legend/Legend.js"],r["Core/Chart/Chart.js"],r["Core/Series/Series.js"],r["Core/Series/SeriesRegistry.js"],r["Series/Column/ColumnSeries.js"],r["Series/Column/ColumnDataLabel.js"],r["Series/Pie/PieSeries.js"],r["Series/Pie/PieDataLabel.js"],r["Core/Series/DataLabel.js"],r["Core/Responsive.js"],r["Core/Color/Color.js"],r["Core/Time.js"]],(function(e,t,r,n,i,o,a,s,l,c,u,d,p,f,h,y,m,b,g,_,v,w,O,k,j,x,S,P,R,T,E,q,A){return e.animate=i.animate,e.animObject=i.animObject,e.getDeferredAnimation=i.getDeferredAnimation,e.setAnimation=i.setAnimation,e.stop=i.stop,e.timers=n.timers,e.AST=o,e.Axis=p,e.Chart=O,e.chart=O.chart,e.Fx=n,e.Legend=w,e.PlotLineOrBand=y,e.Point=g,e.Pointer=v.isRequired()?v:_,e.Series=k,e.SVGElement=l,e.SVGRenderer=c,e.Tick=m,e.Time=A,e.Tooltip=b,e.Color=q,e.color=q.parse,d.compose(c),u.compose(l),e.defaultOptions=r.defaultOptions,e.getOptions=r.getOptions,e.time=r.defaultTime,e.setOptions=r.setOptions,e.dateFormat=a.dateFormat,e.format=a.format,e.numberFormat=a.numberFormat,e.addEvent=t.addEvent,e.arrayMax=t.arrayMax,e.arrayMin=t.arrayMin,e.attr=t.attr,e.clearTimeout=t.clearTimeout,e.correctFloat=t.correctFloat,e.createElement=t.createElement,e.css=t.css,e.defined=t.defined,e.destroyObjectProperties=t.destroyObjectProperties,e.discardElement=t.discardElement,e.distribute=s.distribute,e.erase=t.erase,e.error=t.error,e.extend=t.extend,e.extendClass=t.extendClass,e.find=t.find,e.fireEvent=t.fireEvent,e.getMagnitude=t.getMagnitude,e.getStyle=t.getStyle,e.inArray=t.inArray,e.isArray=t.isArray,e.isClass=t.isClass,e.isDOMElement=t.isDOMElement,e.isFunction=t.isFunction,e.isNumber=t.isNumber,e.isObject=t.isObject,e.isString=t.isString,e.keys=t.keys,e.merge=t.merge,e.normalizeTickInterval=t.normalizeTickInterval,e.objectEach=t.objectEach,e.offset=t.offset,e.pad=t.pad,e.pick=t.pick,e.pInt=t.pInt,e.relativeLength=t.relativeLength,e.removeEvent=t.removeEvent,e.seriesType=j.seriesType,e.splat=t.splat,e.stableSort=t.stableSort,e.syncTimeout=t.syncTimeout,e.timeUnits=t.timeUnits,e.uniqueKey=t.uniqueKey,e.useSerialIds=t.useSerialIds,e.wrap=t.wrap,S.compose(x),T.compose(k),f.compose(p),h.compose(p),R.compose(P),y.compose(p),E.compose(O),e})),r["masters/highcharts.src.js"]._modules=r,r["masters/highcharts.src.js"]},e.exports?(o.default=o,e.exports=i.document?o(i):o):void 0===(n=function(){return o(i)}.call(t,r,t,e))||(e.exports=n)},2110:function(e,t,r){"use strict";var n=r(7441),i={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},o={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},a={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return n.isMemo(e)?a:s[e.$$typeof]||i}s[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[n.Memo]=a;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!==typeof r){if(h){var i=f(r);i&&i!==h&&e(t,i,n)}var a=u(r);d&&(a=a.concat(d(r)));for(var s=l(t),y=l(r),m=0;m"']/g,Y=RegExp(H.source),X=RegExp(Q.source),$=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,oe=RegExp(ie.source),ae=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ce=/\{\n\/\* \[wrapped with (.+)\] \*/,ue=/,? & /,de=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,pe=/[()=,{}\[\]\/\s]/,fe=/\\(\\)?/g,he=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,ye=/\w*$/,me=/^[-+]0x[0-9a-f]+$/i,be=/^0b[01]+$/i,ge=/^\[object .+?Constructor\]$/,_e=/^0o[0-7]+$/i,ve=/^(?:0|[1-9]\d*)$/,we=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,Oe=/($^)/,ke=/['\n\r\u2028\u2029\\]/g,je="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",xe="\\u2700-\\u27bf",Se="a-z\\xdf-\\xf6\\xf8-\\xff",Pe="A-Z\\xc0-\\xd6\\xd8-\\xde",Re="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Ee="['\u2019]",qe="[\\ud800-\\udfff]",Ae="["+Te+"]",Ne="["+je+"]",Ce="\\d+",De="[\\u2700-\\u27bf]",Le="["+Se+"]",Ie="[^\\ud800-\\udfff"+Te+Ce+xe+Se+Pe+"]",Me="\\ud83c[\\udffb-\\udfff]",Be="[^\\ud800-\\udfff]",Ve="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Ge="["+Pe+"]",Je="(?:"+Le+"|"+Ie+")",ze="(?:"+Ge+"|"+Ie+")",Ke="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Ue="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",We="(?:"+Ne+"|"+Me+")"+"?",He="[\\ufe0e\\ufe0f]?",Qe=He+We+("(?:\\u200d(?:"+[Be,Ve,Fe].join("|")+")"+He+We+")*"),Ye="(?:"+[De,Ve,Fe].join("|")+")"+Qe,Xe="(?:"+[Be+Ne+"?",Ne,Ve,Fe,qe].join("|")+")",$e=RegExp(Ee,"g"),Ze=RegExp(Ne,"g"),et=RegExp(Me+"(?="+Me+")|"+Xe+Qe,"g"),tt=RegExp([Ge+"?"+Le+"+"+Ke+"(?="+[Ae,Ge,"$"].join("|")+")",ze+"+"+Ue+"(?="+[Ae,Ge+Je,"$"].join("|")+")",Ge+"?"+Je+"+"+Ke,Ge+"+"+Ue,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ce,Ye].join("|"),"g"),rt=RegExp("[\\u200d\\ud800-\\udfff"+je+Re+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ot=-1,at={};at[L]=at[I]=at[M]=at[B]=at[V]=at[F]=at[G]=at[J]=at[z]=!0,at[g]=at[_]=at[C]=at[v]=at[D]=at[w]=at[O]=at[k]=at[x]=at[S]=at[P]=at[T]=at[E]=at[q]=at[N]=!1;var st={};st[g]=st[_]=st[C]=st[D]=st[v]=st[w]=st[L]=st[I]=st[M]=st[B]=st[V]=st[x]=st[S]=st[P]=st[T]=st[E]=st[q]=st[A]=st[F]=st[G]=st[J]=st[z]=!0,st[O]=st[k]=st[N]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ct=parseFloat,ut=parseInt,dt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,pt="object"==typeof self&&self&&self.Object===Object&&self,ft=dt||pt||Function("return this")(),ht=t&&!t.nodeType&&t,yt=ht&&e&&!e.nodeType&&e,mt=yt&&yt.exports===ht,bt=mt&&dt.process,gt=function(){try{var e=yt&&yt.require&&yt.require("util").types;return e||bt&&bt.binding&&bt.binding("util")}catch(t){}}(),_t=gt&>.isArrayBuffer,vt=gt&>.isDate,wt=gt&>.isMap,Ot=gt&>.isRegExp,kt=gt&>.isSet,jt=gt&>.isTypedArray;function xt(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function St(e,t,r,n){for(var i=-1,o=null==e?0:e.length;++i-1}function At(e,t,r){for(var n=-1,i=null==e?0:e.length;++n-1;);return r}function tr(e,t){for(var r=e.length;r--&&Ft(t,e[r],0)>-1;);return r}function rr(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var nr=Ut({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),ir=Ut({"&":"&","<":"<",">":">",'"':""","'":"'"});function or(e){return"\\"+lt[e]}function ar(e){return rt.test(e)}function sr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function lr(e,t){return function(r){return e(t(r))}}function cr(e,t){for(var r=-1,n=e.length,i=0,o=[];++r",""":'"',"'":"'"});var mr=function e(t){var r=(t=null==t?ft:mr.defaults(ft.Object(),t,mr.pick(ft,it))).Array,n=t.Date,se=t.Error,je=t.Function,xe=t.Math,Se=t.Object,Pe=t.RegExp,Re=t.String,Te=t.TypeError,Ee=r.prototype,qe=je.prototype,Ae=Se.prototype,Ne=t["__core-js_shared__"],Ce=qe.toString,De=Ae.hasOwnProperty,Le=0,Ie=function(){var e=/[^.]+$/.exec(Ne&&Ne.keys&&Ne.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Me=Ae.toString,Be=Ce.call(Se),Ve=ft._,Fe=Pe("^"+Ce.call(De).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Ge=mt?t.Buffer:i,Je=t.Symbol,ze=t.Uint8Array,Ke=Ge?Ge.allocUnsafe:i,Ue=lr(Se.getPrototypeOf,Se),We=Se.create,He=Ae.propertyIsEnumerable,Qe=Ee.splice,Ye=Je?Je.isConcatSpreadable:i,Xe=Je?Je.iterator:i,et=Je?Je.toStringTag:i,rt=function(){try{var e=fo(Se,"defineProperty");return e({},"",{}),e}catch(t){}}(),lt=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,dt=n&&n.now!==ft.Date.now&&n.now,pt=t.setTimeout!==ft.setTimeout&&t.setTimeout,ht=xe.ceil,yt=xe.floor,bt=Se.getOwnPropertySymbols,gt=Ge?Ge.isBuffer:i,Mt=t.isFinite,Ut=Ee.join,br=lr(Se.keys,Se),gr=xe.max,_r=xe.min,vr=n.now,wr=t.parseInt,Or=xe.random,kr=Ee.reverse,jr=fo(t,"DataView"),xr=fo(t,"Map"),Sr=fo(t,"Promise"),Pr=fo(t,"Set"),Rr=fo(t,"WeakMap"),Tr=fo(Se,"create"),Er=Rr&&new Rr,qr={},Ar=Vo(jr),Nr=Vo(xr),Cr=Vo(Sr),Dr=Vo(Pr),Lr=Vo(Rr),Ir=Je?Je.prototype:i,Mr=Ir?Ir.valueOf:i,Br=Ir?Ir.toString:i;function Vr(e){if(ns(e)&&!Ua(e)&&!(e instanceof zr)){if(e instanceof Jr)return e;if(De.call(e,"__wrapped__"))return Fo(e)}return new Jr(e)}var Fr=function(){function e(){}return function(t){if(!rs(t))return{};if(We)return We(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function Gr(){}function Jr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function zr(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=m,this.__views__=[]}function Kr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function cn(e,t,r,n,o,a){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=o?r(e,n,o,a):r(e)),s!==i)return s;if(!rs(e))return e;var d=Ua(e);if(d){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&De.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Ei(e,s)}else{var p=mo(e),f=p==k||p==j;if(Ya(e))return ji(e,l);if(p==P||p==g||f&&!o){if(s=c||f?{}:go(e),!l)return c?function(e,t){return qi(e,yo(e),t)}(e,function(e,t){return e&&qi(t,Cs(t),e)}(s,e)):function(e,t){return qi(e,ho(e),t)}(e,on(s,e))}else{if(!st[p])return o?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case C:return xi(e);case v:case w:return new n(+e);case D:return function(e,t){var r=t?xi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case L:case I:case M:case B:case V:case F:case G:case J:case z:return Si(e,r);case x:return new n;case S:case q:return new n(e);case T:return function(e){var t=new e.constructor(e.source,ye.exec(e));return t.lastIndex=e.lastIndex,t}(e);case E:return new n;case A:return i=e,Mr?Se(Mr.call(i)):{}}var i}(e,p,l)}}a||(a=new Qr);var h=a.get(e);if(h)return h;a.set(e,s),ls(e)?e.forEach((function(n){s.add(cn(n,t,r,n,e,a))})):is(e)&&e.forEach((function(n,i){s.set(i,cn(n,t,r,i,e,a))}));var y=d?i:(u?c?oo:io:c?Cs:Ns)(e);return Pt(y||e,(function(n,i){y&&(n=e[i=n]),tn(s,i,cn(n,t,r,i,e,a))})),s}function un(e,t,r){var n=r.length;if(null==e)return!n;for(e=Se(e);n--;){var o=r[n],a=t[o],s=e[o];if(s===i&&!(o in e)||!a(s))return!1}return!0}function dn(e,t,r){if("function"!=typeof e)throw new Te(o);return No((function(){e.apply(i,r)}),t)}function pn(e,t,r,n){var i=-1,o=qt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;r&&(t=Nt(t,Xt(r))),n?(o=At,a=!1):t.length>=200&&(o=Zt,a=!1,t=new Hr(t));e:for(;++i-1},Ur.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},Wr.prototype.clear=function(){this.size=0,this.__data__={hash:new Kr,map:new(xr||Ur),string:new Kr}},Wr.prototype.delete=function(e){var t=uo(this,e).delete(e);return this.size-=t?1:0,t},Wr.prototype.get=function(e){return uo(this,e).get(e)},Wr.prototype.has=function(e){return uo(this,e).has(e)},Wr.prototype.set=function(e,t){var r=uo(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Hr.prototype.add=Hr.prototype.push=function(e){return this.__data__.set(e,a),this},Hr.prototype.has=function(e){return this.__data__.has(e)},Qr.prototype.clear=function(){this.__data__=new Ur,this.size=0},Qr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Qr.prototype.get=function(e){return this.__data__.get(e)},Qr.prototype.has=function(e){return this.__data__.has(e)},Qr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof Ur){var n=r.__data__;if(!xr||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new Wr(n)}return r.set(e,t),this.size=r.size,this};var fn=Ci(wn),hn=Ci(On,!0);function yn(e,t){var r=!0;return fn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function mn(e,t,r){for(var n=-1,o=e.length;++n0&&r(s)?t>1?gn(s,t-1,r,n,i):Ct(i,s):n||(i[i.length]=s)}return i}var _n=Di(),vn=Di(!0);function wn(e,t){return e&&_n(e,t,Ns)}function On(e,t){return e&&vn(e,t,Ns)}function kn(e,t){return Et(t,(function(t){return Za(e[t])}))}function jn(e,t){for(var r=0,n=(t=vi(t,e)).length;null!=e&&rt}function Rn(e,t){return null!=e&&De.call(e,t)}function Tn(e,t){return null!=e&&t in Se(e)}function En(e,t,n){for(var o=n?At:qt,a=e[0].length,s=e.length,l=s,c=r(s),u=1/0,d=[];l--;){var p=e[l];l&&t&&(p=Nt(p,Xt(t))),u=_r(p.length,u),c[l]=!n&&(t||a>=120&&p.length>=120)?new Hr(l&&p):i}p=e[0];var f=-1,h=c[0];e:for(;++f=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function Un(e,t,r){for(var n=-1,i=t.length,o={};++n-1;)s!==e&&Qe.call(s,l,1),Qe.call(e,l,1);return e}function Hn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==o){var o=i;vo(i)?Qe.call(e,i,1):pi(e,i)}}return e}function Qn(e,t){return e+yt(Or()*(t-e+1))}function Yn(e,t){var r="";if(!e||t<1||t>h)return r;do{t%2&&(r+=e),(t=yt(t/2))&&(e+=e)}while(t);return r}function Xn(e,t){return Co(Ro(e,t,ol),e+"")}function $n(e){return Xr(Gs(e))}function Zn(e,t){var r=Gs(e);return Io(r,ln(t,0,r.length))}function ei(e,t,r,n){if(!rs(e))return e;for(var o=-1,a=(t=vi(t,e)).length,s=a-1,l=e;null!=l&&++oo?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var a=r(o);++i>>1,a=e[o];null!==a&&!us(a)&&(r?a<=t:a=200){var c=t?null:Yi(e);if(c)return ur(c);a=!1,i=Zt,l=new Hr}else l=t?[]:s;e:for(;++n=n?e:ii(e,t,r)}var ki=lt||function(e){return ft.clearTimeout(e)};function ji(e,t){if(t)return e.slice();var r=e.length,n=Ke?Ke(r):new e.constructor(r);return e.copy(n),n}function xi(e){var t=new e.constructor(e.byteLength);return new ze(t).set(new ze(e)),t}function Si(e,t){var r=t?xi(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Pi(e,t){if(e!==t){var r=e!==i,n=null===e,o=e===e,a=us(e),s=t!==i,l=null===t,c=t===t,u=us(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||n&&s&&c||!r&&c||!o)return 1;if(!n&&!a&&!u&&e1?r[o-1]:i,s=o>2?r[2]:i;for(a=e.length>3&&"function"==typeof a?(o--,a):i,s&&wo(r[0],r[1],s)&&(a=o<3?i:a,o=1),t=Se(t);++n-1?o[a?t[s]:s]:i}}function Vi(e){return no((function(t){var r=t.length,n=r,a=Jr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new Te(o);if(a&&!l&&"wrapper"==so(s))var l=new Jr([],!0)}for(n=l?n:r;++n1&&_.reverse(),f&&ul))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var p=-1,f=!0,h=2&r?new Hr:i;for(a.set(e,t),a.set(t,e);++p-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return Pt(b,(function(r){var n="_."+r[0];t&r[1]&&!qt(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(ce);return t?t[1].split(ue):[]}(n),r)))}function Lo(e){var t=0,r=0;return function(){var n=vr(),o=16-(n-r);if(r=n,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Io(e,t){var r=-1,n=e.length,o=n-1;for(t=t===i?n:t;++r1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,sa(e,r)}));function ha(e){var t=Vr(e);return t.__chain__=!0,t}function ya(e,t){return t(e)}var ma=no((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,o=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof zr&&vo(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:ya,args:[o],thisArg:i}),new Jr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(o)}));var ba=Ai((function(e,t,r){De.call(e,r)?++e[r]:an(e,r,1)}));var ga=Bi(Ko),_a=Bi(Uo);function va(e,t){return(Ua(e)?Pt:fn)(e,co(t,3))}function wa(e,t){return(Ua(e)?Rt:hn)(e,co(t,3))}var Oa=Ai((function(e,t,r){De.call(e,r)?e[r].push(t):an(e,r,[t])}));var ka=Xn((function(e,t,n){var i=-1,o="function"==typeof t,a=Ha(e)?r(e.length):[];return fn(e,(function(e){a[++i]=o?xt(t,e,n):qn(e,t,n)})),a})),ja=Ai((function(e,t,r){an(e,r,t)}));function xa(e,t){return(Ua(e)?Nt:Vn)(e,co(t,3))}var Sa=Ai((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Pa=Xn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&wo(e,t[0],t[1])?t=[]:r>2&&wo(t[0],t[1],t[2])&&(t=[t[0]]),Kn(e,gn(t,1),[])})),Ra=dt||function(){return ft.Date.now()};function Ta(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,$i(e,d,i,i,i,i,t)}function Ea(e,t){var r;if("function"!=typeof t)throw new Te(o);return e=ms(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var qa=Xn((function(e,t,r){var n=1;if(r.length){var i=cr(r,lo(qa));n|=c}return $i(e,n,t,r,i)})),Aa=Xn((function(e,t,r){var n=3;if(r.length){var i=cr(r,lo(Aa));n|=c}return $i(t,n,e,r,i)}));function Na(e,t,r){var n,a,s,l,c,u,d=0,p=!1,f=!1,h=!0;if("function"!=typeof e)throw new Te(o);function y(t){var r=n,o=a;return n=a=i,d=t,l=e.apply(o,r)}function m(e){return d=e,c=No(g,t),p?y(e):l}function b(e){var r=e-u;return u===i||r>=t||r<0||f&&e-d>=s}function g(){var e=Ra();if(b(e))return _(e);c=No(g,function(e){var r=t-(e-u);return f?_r(r,s-(e-d)):r}(e))}function _(e){return c=i,h&&n?y(e):(n=a=i,l)}function v(){var e=Ra(),r=b(e);if(n=arguments,a=this,u=e,r){if(c===i)return m(u);if(f)return ki(c),c=No(g,t),y(u)}return c===i&&(c=No(g,t)),l}return t=gs(t)||0,rs(r)&&(p=!!r.leading,s=(f="maxWait"in r)?gr(gs(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),v.cancel=function(){c!==i&&ki(c),d=0,n=u=a=c=i},v.flush=function(){return c===i?l:_(Ra())},v}var Ca=Xn((function(e,t){return dn(e,1,t)})),Da=Xn((function(e,t,r){return dn(e,gs(t)||0,r)}));function La(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(o);var r=function r(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var a=e.apply(this,n);return r.cache=o.set(i,a)||o,a};return r.cache=new(La.Cache||Wr),r}function Ia(e){if("function"!=typeof e)throw new Te(o);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}La.Cache=Wr;var Ma=wi((function(e,t){var r=(t=1==t.length&&Ua(t[0])?Nt(t[0],Xt(co())):Nt(gn(t,1),Xt(co()))).length;return Xn((function(n){for(var i=-1,o=_r(n.length,r);++i=t})),Ka=An(function(){return arguments}())?An:function(e){return ns(e)&&De.call(e,"callee")&&!He.call(e,"callee")},Ua=r.isArray,Wa=_t?Xt(_t):function(e){return ns(e)&&Sn(e)==C};function Ha(e){return null!=e&&ts(e.length)&&!Za(e)}function Qa(e){return ns(e)&&Ha(e)}var Ya=gt||gl,Xa=vt?Xt(vt):function(e){return ns(e)&&Sn(e)==w};function $a(e){if(!ns(e))return!1;var t=Sn(e);return t==O||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!as(e)}function Za(e){if(!rs(e))return!1;var t=Sn(e);return t==k||t==j||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==ms(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=h}function rs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var is=wt?Xt(wt):function(e){return ns(e)&&mo(e)==x};function os(e){return"number"==typeof e||ns(e)&&Sn(e)==S}function as(e){if(!ns(e)||Sn(e)!=P)return!1;var t=Ue(e);if(null===t)return!0;var r=De.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ce.call(r)==Be}var ss=Ot?Xt(Ot):function(e){return ns(e)&&Sn(e)==T};var ls=kt?Xt(kt):function(e){return ns(e)&&mo(e)==E};function cs(e){return"string"==typeof e||!Ua(e)&&ns(e)&&Sn(e)==q}function us(e){return"symbol"==typeof e||ns(e)&&Sn(e)==A}var ds=jt?Xt(jt):function(e){return ns(e)&&ts(e.length)&&!!at[Sn(e)]};var ps=Wi(Bn),fs=Wi((function(e,t){return e<=t}));function hs(e){if(!e)return[];if(Ha(e))return cs(e)?fr(e):Ei(e);if(Xe&&e[Xe])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Xe]());var t=mo(e);return(t==x?sr:t==E?ur:Gs)(e)}function ys(e){return e?(e=gs(e))===f||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ms(e){var t=ys(e),r=t%1;return t===t?r?t-r:t:0}function bs(e){return e?ln(ms(e),0,m):0}function gs(e){if("number"==typeof e)return e;if(us(e))return y;if(rs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Yt(e);var r=be.test(e);return r||_e.test(e)?ut(e.slice(2),r?2:8):me.test(e)?y:+e}function _s(e){return qi(e,Cs(e))}function vs(e){return null==e?"":ui(e)}var ws=Ni((function(e,t){if(xo(t)||Ha(t))qi(t,Ns(t),e);else for(var r in t)De.call(t,r)&&tn(e,r,t[r])})),Os=Ni((function(e,t){qi(t,Cs(t),e)})),ks=Ni((function(e,t,r,n){qi(t,Cs(t),e,n)})),js=Ni((function(e,t,r,n){qi(t,Ns(t),e,n)})),xs=no(sn);var Ss=Xn((function(e,t){e=Se(e);var r=-1,n=t.length,o=n>2?t[2]:i;for(o&&wo(t[0],t[1],o)&&(n=1);++r1),t})),qi(e,oo(e),r),n&&(r=cn(r,7,to));for(var i=t.length;i--;)pi(r,t[i]);return r}));var Ms=no((function(e,t){return null==e?{}:function(e,t){return Un(e,t,(function(t,r){return Ts(e,r)}))}(e,t)}));function Bs(e,t){if(null==e)return{};var r=Nt(oo(e),(function(e){return[e]}));return t=co(t),Un(e,r,(function(e,r){return t(e,r[0])}))}var Vs=Xi(Ns),Fs=Xi(Cs);function Gs(e){return null==e?[]:$t(e,Ns(e))}var Js=Ii((function(e,t,r){return t=t.toLowerCase(),e+(r?zs(t):t)}));function zs(e){return $s(vs(e).toLowerCase())}function Ks(e){return(e=vs(e))&&e.replace(we,nr).replace(Ze,"")}var Us=Ii((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),Ws=Ii((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Hs=Li("toLowerCase");var Qs=Ii((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Ys=Ii((function(e,t,r){return e+(r?" ":"")+$s(t)}));var Xs=Ii((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),$s=Li("toUpperCase");function Zs(e,t,r){return e=vs(e),(t=r?i:t)===i?function(e){return nt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(de)||[]}(e):e.match(t)||[]}var el=Xn((function(e,t){try{return xt(e,i,t)}catch(r){return $a(r)?r:new se(r)}})),tl=no((function(e,t){return Pt(t,(function(t){t=Bo(t),an(e,t,qa(e[t],e))})),e}));function rl(e){return function(){return e}}var nl=Vi(),il=Vi(!0);function ol(e){return e}function al(e){return Ln("function"==typeof e?e:cn(e,1))}var sl=Xn((function(e,t){return function(r){return qn(r,e,t)}})),ll=Xn((function(e,t){return function(r){return qn(e,r,t)}}));function cl(e,t,r){var n=Ns(t),i=kn(t,n);null!=r||rs(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=kn(t,Ns(t)));var o=!(rs(r)&&"chain"in r)||!!r.chain,a=Za(e);return Pt(i,(function(r){var n=t[r];e[r]=n,a&&(e.prototype[r]=function(){var t=this.__chain__;if(o||t){var r=e(this.__wrapped__),i=r.__actions__=Ei(this.__actions__);return i.push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,Ct([this.value()],arguments))})})),e}function ul(){}var dl=zi(Nt),pl=zi(Tt),fl=zi(It);function hl(e){return Oo(e)?Kt(Bo(e)):function(e){return function(t){return jn(t,e)}}(e)}var yl=Ui(),ml=Ui(!0);function bl(){return[]}function gl(){return!1}var _l=Ji((function(e,t){return e+t}),0),vl=Qi("ceil"),wl=Ji((function(e,t){return e/t}),1),Ol=Qi("floor");var kl=Ji((function(e,t){return e*t}),1),jl=Qi("round"),xl=Ji((function(e,t){return e-t}),0);return Vr.after=function(e,t){if("function"!=typeof t)throw new Te(o);return e=ms(e),function(){if(--e<1)return t.apply(this,arguments)}},Vr.ary=Ta,Vr.assign=ws,Vr.assignIn=Os,Vr.assignInWith=ks,Vr.assignWith=js,Vr.at=xs,Vr.before=Ea,Vr.bind=qa,Vr.bindAll=tl,Vr.bindKey=Aa,Vr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ua(e)?e:[e]},Vr.chain=ha,Vr.chunk=function(e,t,n){t=(n?wo(e,t,n):t===i)?1:gr(ms(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var a=0,s=0,l=r(ht(o/t));ao?0:o+r),(n=n===i||n>o?o:ms(n))<0&&(n+=o),n=r>n?0:bs(n);r>>0)?(e=vs(e))&&("string"==typeof t||null!=t&&!ss(t))&&!(t=ui(t))&&ar(e)?Oi(fr(e),0,r):e.split(t,r):[]},Vr.spread=function(e,t){if("function"!=typeof e)throw new Te(o);return t=null==t?0:gr(ms(t),0),Xn((function(r){var n=r[t],i=Oi(r,0,t);return n&&Ct(i,n),xt(e,this,i)}))},Vr.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},Vr.take=function(e,t,r){return e&&e.length?ii(e,0,(t=r||t===i?1:ms(t))<0?0:t):[]},Vr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=n-(t=r||t===i?1:ms(t)))<0?0:t,n):[]},Vr.takeRightWhile=function(e,t){return e&&e.length?hi(e,co(t,3),!1,!0):[]},Vr.takeWhile=function(e,t){return e&&e.length?hi(e,co(t,3)):[]},Vr.tap=function(e,t){return t(e),e},Vr.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Te(o);return rs(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Na(e,t,{leading:n,maxWait:t,trailing:i})},Vr.thru=ya,Vr.toArray=hs,Vr.toPairs=Vs,Vr.toPairsIn=Fs,Vr.toPath=function(e){return Ua(e)?Nt(e,Bo):us(e)?[e]:Ei(Mo(vs(e)))},Vr.toPlainObject=_s,Vr.transform=function(e,t,r){var n=Ua(e),i=n||Ya(e)||ds(e);if(t=co(t,4),null==r){var o=e&&e.constructor;r=i?n?new o:[]:rs(e)&&Za(o)?Fr(Ue(e)):{}}return(i?Pt:wn)(e,(function(e,n,i){return t(r,e,n,i)})),r},Vr.unary=function(e){return Ta(e,1)},Vr.union=na,Vr.unionBy=ia,Vr.unionWith=oa,Vr.uniq=function(e){return e&&e.length?di(e):[]},Vr.uniqBy=function(e,t){return e&&e.length?di(e,co(t,2)):[]},Vr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?di(e,i,t):[]},Vr.unset=function(e,t){return null==e||pi(e,t)},Vr.unzip=aa,Vr.unzipWith=sa,Vr.update=function(e,t,r){return null==e?e:fi(e,t,_i(r))},Vr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:fi(e,t,_i(r),n)},Vr.values=Gs,Vr.valuesIn=function(e){return null==e?[]:$t(e,Cs(e))},Vr.without=la,Vr.words=Zs,Vr.wrap=function(e,t){return Ba(_i(t),e)},Vr.xor=ca,Vr.xorBy=ua,Vr.xorWith=da,Vr.zip=pa,Vr.zipObject=function(e,t){return bi(e||[],t||[],tn)},Vr.zipObjectDeep=function(e,t){return bi(e||[],t||[],ei)},Vr.zipWith=fa,Vr.entries=Vs,Vr.entriesIn=Fs,Vr.extend=Os,Vr.extendWith=ks,cl(Vr,Vr),Vr.add=_l,Vr.attempt=el,Vr.camelCase=Js,Vr.capitalize=zs,Vr.ceil=vl,Vr.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=gs(r))===r?r:0),t!==i&&(t=(t=gs(t))===t?t:0),ln(gs(e),t,r)},Vr.clone=function(e){return cn(e,4)},Vr.cloneDeep=function(e){return cn(e,5)},Vr.cloneDeepWith=function(e,t){return cn(e,5,t="function"==typeof t?t:i)},Vr.cloneWith=function(e,t){return cn(e,4,t="function"==typeof t?t:i)},Vr.conformsTo=function(e,t){return null==t||un(e,t,Ns(t))},Vr.deburr=Ks,Vr.defaultTo=function(e,t){return null==e||e!==e?t:e},Vr.divide=wl,Vr.endsWith=function(e,t,r){e=vs(e),t=ui(t);var n=e.length,o=r=r===i?n:ln(ms(r),0,n);return(r-=t.length)>=0&&e.slice(r,o)==t},Vr.eq=Ga,Vr.escape=function(e){return(e=vs(e))&&X.test(e)?e.replace(Q,ir):e},Vr.escapeRegExp=function(e){return(e=vs(e))&&oe.test(e)?e.replace(ie,"\\$&"):e},Vr.every=function(e,t,r){var n=Ua(e)?Tt:yn;return r&&wo(e,t,r)&&(t=i),n(e,co(t,3))},Vr.find=ga,Vr.findIndex=Ko,Vr.findKey=function(e,t){return Bt(e,co(t,3),wn)},Vr.findLast=_a,Vr.findLastIndex=Uo,Vr.findLastKey=function(e,t){return Bt(e,co(t,3),On)},Vr.floor=Ol,Vr.forEach=va,Vr.forEachRight=wa,Vr.forIn=function(e,t){return null==e?e:_n(e,co(t,3),Cs)},Vr.forInRight=function(e,t){return null==e?e:vn(e,co(t,3),Cs)},Vr.forOwn=function(e,t){return e&&wn(e,co(t,3))},Vr.forOwnRight=function(e,t){return e&&On(e,co(t,3))},Vr.get=Rs,Vr.gt=Ja,Vr.gte=za,Vr.has=function(e,t){return null!=e&&bo(e,t,Rn)},Vr.hasIn=Ts,Vr.head=Ho,Vr.identity=ol,Vr.includes=function(e,t,r,n){e=Ha(e)?e:Gs(e),r=r&&!n?ms(r):0;var i=e.length;return r<0&&(r=gr(i+r,0)),cs(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Ft(e,t,r)>-1},Vr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:ms(r);return i<0&&(i=gr(n+i,0)),Ft(e,t,i)},Vr.inRange=function(e,t,r){return t=ys(t),r===i?(r=t,t=0):r=ys(r),function(e,t,r){return e>=_r(t,r)&&e=-9007199254740991&&e<=h},Vr.isSet=ls,Vr.isString=cs,Vr.isSymbol=us,Vr.isTypedArray=ds,Vr.isUndefined=function(e){return e===i},Vr.isWeakMap=function(e){return ns(e)&&mo(e)==N},Vr.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Sn(e)},Vr.join=function(e,t){return null==e?"":Ut.call(e,t)},Vr.kebabCase=Us,Vr.last=$o,Vr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var o=n;return r!==i&&(o=(o=ms(r))<0?gr(n+o,0):_r(o,n-1)),t===t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,o):Vt(e,Jt,o,!0)},Vr.lowerCase=Ws,Vr.lowerFirst=Hs,Vr.lt=ps,Vr.lte=fs,Vr.max=function(e){return e&&e.length?mn(e,ol,Pn):i},Vr.maxBy=function(e,t){return e&&e.length?mn(e,co(t,2),Pn):i},Vr.mean=function(e){return zt(e,ol)},Vr.meanBy=function(e,t){return zt(e,co(t,2))},Vr.min=function(e){return e&&e.length?mn(e,ol,Bn):i},Vr.minBy=function(e,t){return e&&e.length?mn(e,co(t,2),Bn):i},Vr.stubArray=bl,Vr.stubFalse=gl,Vr.stubObject=function(){return{}},Vr.stubString=function(){return""},Vr.stubTrue=function(){return!0},Vr.multiply=kl,Vr.nth=function(e,t){return e&&e.length?zn(e,ms(t)):i},Vr.noConflict=function(){return ft._===this&&(ft._=Ve),this},Vr.noop=ul,Vr.now=Ra,Vr.pad=function(e,t,r){e=vs(e);var n=(t=ms(t))?pr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Ki(yt(i),r)+e+Ki(ht(i),r)},Vr.padEnd=function(e,t,r){e=vs(e);var n=(t=ms(t))?pr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var o=Or();return _r(e+o*(t-e+ct("1e-"+((o+"").length-1))),t)}return Qn(e,t)},Vr.reduce=function(e,t,r){var n=Ua(e)?Dt:Wt,i=arguments.length<3;return n(e,co(t,4),r,i,fn)},Vr.reduceRight=function(e,t,r){var n=Ua(e)?Lt:Wt,i=arguments.length<3;return n(e,co(t,4),r,i,hn)},Vr.repeat=function(e,t,r){return t=(r?wo(e,t,r):t===i)?1:ms(t),Yn(vs(e),t)},Vr.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Vr.result=function(e,t,r){var n=-1,o=(t=vi(t,e)).length;for(o||(o=1,e=i);++nh)return[];var r=m,n=_r(e,m);t=co(t),e-=m;for(var i=Qt(n,t);++r=a)return e;var l=r-pr(n);if(l<1)return n;var c=s?Oi(s,0,l).join(""):e.slice(0,l);if(o===i)return c+n;if(s&&(l+=c.length-l),ss(o)){if(e.slice(l).search(o)){var u,d=c;for(o.global||(o=Pe(o.source,vs(ye.exec(o))+"g")),o.lastIndex=0;u=o.exec(d);)var p=u.index;c=c.slice(0,p===i?l:p)}}else if(e.indexOf(ui(o),l)!=l){var f=c.lastIndexOf(o);f>-1&&(c=c.slice(0,f))}return c+n},Vr.unescape=function(e){return(e=vs(e))&&Y.test(e)?e.replace(H,yr):e},Vr.uniqueId=function(e){var t=++Le;return vs(e)+t},Vr.upperCase=Xs,Vr.upperFirst=$s,Vr.each=va,Vr.eachRight=wa,Vr.first=Ho,cl(Vr,function(){var e={};return wn(Vr,(function(t,r){De.call(Vr.prototype,r)||(e[r]=t)})),e}(),{chain:!1}),Vr.VERSION="4.17.21",Pt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Vr[e].placeholder=Vr})),Pt(["drop","take"],(function(e,t){zr.prototype[e]=function(r){r=r===i?1:gr(ms(r),0);var n=this.__filtered__&&!t?new zr(this):this.clone();return n.__filtered__?n.__takeCount__=_r(r,n.__takeCount__):n.__views__.push({size:_r(r,m),type:e+(n.__dir__<0?"Right":"")}),n},zr.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),Pt(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;zr.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:co(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),Pt(["head","last"],(function(e,t){var r="take"+(t?"Right":"");zr.prototype[e]=function(){return this[r](1).value()[0]}})),Pt(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");zr.prototype[e]=function(){return this.__filtered__?new zr(this):this[r](1)}})),zr.prototype.compact=function(){return this.filter(ol)},zr.prototype.find=function(e){return this.filter(e).head()},zr.prototype.findLast=function(e){return this.reverse().find(e)},zr.prototype.invokeMap=Xn((function(e,t){return"function"==typeof e?new zr(this):this.map((function(r){return qn(r,e,t)}))})),zr.prototype.reject=function(e){return this.filter(Ia(co(e)))},zr.prototype.slice=function(e,t){e=ms(e);var r=this;return r.__filtered__&&(e>0||t<0)?new zr(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=ms(t))<0?r.dropRight(-t):r.take(t-e)),r)},zr.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},zr.prototype.toArray=function(){return this.take(m)},wn(zr.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),o=Vr[n?"take"+("last"==t?"Right":""):t],a=n||/^find/.test(t);o&&(Vr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,l=t instanceof zr,c=s[0],u=l||Ua(t),d=function(e){var t=o.apply(Vr,Ct([e],s));return n&&p?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var p=this.__chain__,f=!!this.__actions__.length,h=a&&!p,y=l&&!f;if(!a&&u){t=y?t:new zr(this);var m=e.apply(t,s);return m.__actions__.push({func:ya,args:[d],thisArg:i}),new Jr(m,p)}return h&&y?e.apply(this,s):(m=this.thru(d),h?n?m.value()[0]:m.value():m)})})),Pt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Ee[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Vr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(Ua(i)?i:[],e)}return this[r]((function(r){return t.apply(Ua(r)?r:[],e)}))}})),wn(zr.prototype,(function(e,t){var r=Vr[t];if(r){var n=r.name+"";De.call(qr,n)||(qr[n]=[]),qr[n].push({name:t,func:r})}})),qr[Fi(i,2).name]=[{name:"wrapper",func:i}],zr.prototype.clone=function(){var e=new zr(this.__wrapped__);return e.__actions__=Ei(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Ei(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Ei(this.__views__),e},zr.prototype.reverse=function(){if(this.__filtered__){var e=new zr(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},zr.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=Ua(e),n=t<0,i=r?e.length:0,o=function(e,t,r){var n=-1,i=r.length;for(;++n=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Vr.prototype.plant=function(e){for(var t,r=this;r instanceof Gr;){var n=Fo(r);n.__index__=0,n.__values__=i,t?o.__wrapped__=n:t=n;var o=n;r=r.__wrapped__}return o.__wrapped__=e,t},Vr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof zr){var t=e;return this.__actions__.length&&(t=new zr(this)),(t=t.reverse()).__actions__.push({func:ya,args:[ra],thisArg:i}),new Jr(t,this.__chain__)}return this.thru(ra)},Vr.prototype.toJSON=Vr.prototype.valueOf=Vr.prototype.value=function(){return yi(this.__wrapped__,this.__actions__)},Vr.prototype.first=Vr.prototype.head,Xe&&(Vr.prototype[Xe]=function(){return this}),Vr}();ft._=mr,(n=function(){return mr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},1725:function(e){"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(e){if(null===e||void 0===e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(i){return!1}}()?Object.assign:function(e,o){for(var a,s,l=i(e),c=1;c "+e.len)}function l(e){this.buf=e,this.pos=0,this.len=e.length}var c="undefined"!==typeof Uint8Array?function(e){if(e instanceof Uint8Array||Array.isArray(e))return new l(e);throw Error("illegal buffer")}:function(e){if(Array.isArray(e))return new l(e);throw Error("illegal buffer")},u=function(){return i.Buffer?function(e){return(l.create=function(e){return i.Buffer.isBuffer(e)?new n(e):c(e)})(e)}:c};function d(){var e=new o(0,0),t=0;if(!(this.len-this.pos>4)){for(;t<3;++t){if(this.pos>=this.len)throw s(this);if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e}return e.lo=(e.lo|(127&this.buf[this.pos++])<<7*t)>>>0,e}for(;t<4;++t)if(e.lo=(e.lo|(127&this.buf[this.pos])<<7*t)>>>0,this.buf[this.pos++]<128)return e;if(e.lo=(e.lo|(127&this.buf[this.pos])<<28)>>>0,e.hi=(e.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return e;if(t=0,this.len-this.pos>4){for(;t<5;++t)if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}else for(;t<5;++t){if(this.pos>=this.len)throw s(this);if(e.hi=(e.hi|(127&this.buf[this.pos])<<7*t+3)>>>0,this.buf[this.pos++]<128)return e}throw Error("invalid varint encoding")}function p(e,t){return(e[t-4]|e[t-3]<<8|e[t-2]<<16|e[t-1]<<24)>>>0}function f(){if(this.pos+8>this.len)throw s(this,8);return new o(p(this.buf,this.pos+=4),p(this.buf,this.pos+=4))}l.create=u(),l.prototype._slice=i.Array.prototype.subarray||i.Array.prototype.slice,l.prototype.uint32=function(){var e=4294967295;return function(){if(e=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return e;if(e=(e|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return e;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return e}}(),l.prototype.int32=function(){return 0|this.uint32()},l.prototype.sint32=function(){var e=this.uint32();return e>>>1^-(1&e)|0},l.prototype.bool=function(){return 0!==this.uint32()},l.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return p(this.buf,this.pos+=4)},l.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|p(this.buf,this.pos+=4)},l.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var e=i.float.readFloatLE(this.buf,this.pos);return this.pos+=4,e},l.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var e=i.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,e},l.prototype.bytes=function(){var e=this.uint32(),t=this.pos,r=this.pos+e;if(r>this.len)throw s(this,e);return this.pos+=e,Array.isArray(this.buf)?this.buf.slice(t,r):t===r?new this.buf.constructor(0):this._slice.call(this.buf,t,r)},l.prototype.string=function(){var e=this.bytes();return a.read(e,0,e.length)},l.prototype.skip=function(e){if("number"===typeof e){if(this.pos+e>this.len)throw s(this,e);this.pos+=e}else do{if(this.pos>=this.len)throw s(this)}while(128&this.buf[this.pos++]);return this},l.prototype.skipType=function(e){switch(e){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!==(e=7&this.uint32());)this.skipType(e);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+e+" at offset "+this.pos)}return this},l._configure=function(e){n=e,l.create=u(),n._configure();var t=i.Long?"toLong":"toNumber";i.merge(l.prototype,{int64:function(){return d.call(this)[t](!1)},uint64:function(){return d.call(this)[t](!0)},sint64:function(){return d.call(this).zzDecode()[t](!1)},fixed64:function(){return f.call(this)[t](!0)},sfixed64:function(){return f.call(this)[t](!1)}})}},3557:function(e,t,r){"use strict";e.exports=o;var n=r(6216);(o.prototype=Object.create(n.prototype)).constructor=o;var i=r(3097);function o(e){n.call(this,e)}o._configure=function(){i.Buffer&&(o.prototype._slice=i.Buffer.prototype.slice)},o.prototype.string=function(){var e=this.uint32();return this.buf.utf8Slice?this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+e,this.len)):this.buf.toString("utf-8",this.pos,this.pos=Math.min(this.pos+e,this.len))},o._configure()},7907:function(e){"use strict";e.exports={}},9994:function(e,t,r){"use strict";t.Service=r(4281)},4281:function(e,t,r){"use strict";e.exports=i;var n=r(3097);function i(e,t,r){if("function"!==typeof e)throw TypeError("rpcImpl must be a function");n.EventEmitter.call(this),this.rpcImpl=e,this.requestDelimited=Boolean(t),this.responseDelimited=Boolean(r)}(i.prototype=Object.create(n.EventEmitter.prototype)).constructor=i,i.prototype.rpcCall=function e(t,r,i,o,a){if(!o)throw TypeError("request must be specified");var s=this;if(!a)return n.asPromise(e,s,t,r,i,o);if(s.rpcImpl)try{return s.rpcImpl(t,r[s.requestDelimited?"encodeDelimited":"encode"](o).finish(),(function(e,r){if(e)return s.emit("error",e,t),a(e);if(null!==r){if(!(r instanceof i))try{r=i[s.responseDelimited?"decodeDelimited":"decode"](r)}catch(e){return s.emit("error",e,t),a(e)}return s.emit("data",r,t),a(null,r)}s.end(!0)}))}catch(l){return s.emit("error",l,t),void setTimeout((function(){a(l)}),0)}else setTimeout((function(){a(Error("already ended"))}),0)},i.prototype.end=function(e){return this.rpcImpl&&(e||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},9351:function(e,t,r){"use strict";e.exports=i;var n=r(3097);function i(e,t){this.lo=e>>>0,this.hi=t>>>0}var o=i.zero=new i(0,0);o.toNumber=function(){return 0},o.zzEncode=o.zzDecode=function(){return this},o.length=function(){return 1};var a=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(e){if(0===e)return o;var t=e<0;t&&(e=-e);var r=e>>>0,n=(e-r)/4294967296>>>0;return t&&(n=~n>>>0,r=~r>>>0,++r>4294967295&&(r=0,++n>4294967295&&(n=0))),new i(r,n)},i.from=function(e){if("number"===typeof e)return i.fromNumber(e);if(n.isString(e)){if(!n.Long)return i.fromNumber(parseInt(e,10));e=n.Long.fromString(e)}return e.low||e.high?new i(e.low>>>0,e.high>>>0):o},i.prototype.toNumber=function(e){if(!e&&this.hi>>>31){var t=1+~this.lo>>>0,r=~this.hi>>>0;return t||(r=r+1>>>0),-(t+4294967296*r)}return this.lo+4294967296*this.hi},i.prototype.toLong=function(e){return n.Long?new n.Long(0|this.lo,0|this.hi,Boolean(e)):{low:0|this.lo,high:0|this.hi,unsigned:Boolean(e)}};var s=String.prototype.charCodeAt;i.fromHash=function(e){return e===a?o:new i((s.call(e,0)|s.call(e,1)<<8|s.call(e,2)<<16|s.call(e,3)<<24)>>>0,(s.call(e,4)|s.call(e,5)<<8|s.call(e,6)<<16|s.call(e,7)<<24)>>>0)},i.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)},i.prototype.zzEncode=function(){var e=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^e)>>>0,this.lo=(this.lo<<1^e)>>>0,this},i.prototype.zzDecode=function(){var e=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^e)>>>0,this.hi=(this.hi>>>1^e)>>>0,this},i.prototype.length=function(){var e=this.lo,t=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===t?e<16384?e<128?1:2:e<2097152?3:4:t<16384?t<128?5:6:t<2097152?7:8:r<128?9:10}},3097:function(e,t,r){"use strict";var n=t;function i(e,t,r){for(var n=Object.keys(t),i=0;i0)},n.Buffer=function(){try{var e=n.inquire("buffer").Buffer;return e.prototype.utf8Write?e:null}catch(t){return null}}(),n._Buffer_from=null,n._Buffer_allocUnsafe=null,n.newBuffer=function(e){return"number"===typeof e?n.Buffer?n._Buffer_allocUnsafe(e):new n.Array(e):n.Buffer?n._Buffer_from(e):"undefined"===typeof Uint8Array?e:new Uint8Array(e)},n.Array="undefined"!==typeof Uint8Array?Uint8Array:Array,n.Long=n.global.dcodeIO&&n.global.dcodeIO.Long||n.global.Long||n.inquire("long"),n.key2Re=/^true|false|0|1$/,n.key32Re=/^-?(?:0|[1-9][0-9]*)$/,n.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/,n.longToHash=function(e){return e?n.LongBits.from(e).toHash():n.LongBits.zeroHash},n.longFromHash=function(e,t){var r=n.LongBits.fromHash(e);return n.Long?n.Long.fromBits(r.lo,r.hi,t):r.toNumber(Boolean(t))},n.merge=i,n.lcFirst=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},n.newError=o,n.ProtocolError=o("ProtocolError"),n.oneOfGetter=function(e){for(var t={},r=0;r-1;--r)if(1===t[e[r]]&&void 0!==this[e[r]]&&null!==this[e[r]])return e[r]}},n.oneOfSetter=function(e){return function(t){for(var r=0;r>>7|e.hi<<25)>>>0,e.hi>>>=7;for(;e.lo>127;)t[r++]=127&e.lo|128,e.lo=e.lo>>>7;t[r++]=e.lo}function m(e,t,r){t[r]=255&e,t[r+1]=e>>>8&255,t[r+2]=e>>>16&255,t[r+3]=e>>>24}d.create=p(),d.alloc=function(e){return new i.Array(e)},i.Array!==Array&&(d.alloc=i.pool(d.alloc,i.Array.prototype.subarray)),d.prototype._push=function(e,t,r){return this.tail=this.tail.next=new l(e,t,r),this.len+=t,this},h.prototype=Object.create(l.prototype),h.prototype.fn=function(e,t,r){for(;e>127;)t[r++]=127&e|128,e>>>=7;t[r]=e},d.prototype.uint32=function(e){return this.len+=(this.tail=this.tail.next=new h((e>>>=0)<128?1:e<16384?2:e<2097152?3:e<268435456?4:5,e)).len,this},d.prototype.int32=function(e){return e<0?this._push(y,10,o.fromNumber(e)):this.uint32(e)},d.prototype.sint32=function(e){return this.uint32((e<<1^e>>31)>>>0)},d.prototype.uint64=function(e){var t=o.from(e);return this._push(y,t.length(),t)},d.prototype.int64=d.prototype.uint64,d.prototype.sint64=function(e){var t=o.from(e).zzEncode();return this._push(y,t.length(),t)},d.prototype.bool=function(e){return this._push(f,1,e?1:0)},d.prototype.fixed32=function(e){return this._push(m,4,e>>>0)},d.prototype.sfixed32=d.prototype.fixed32,d.prototype.fixed64=function(e){var t=o.from(e);return this._push(m,4,t.lo)._push(m,4,t.hi)},d.prototype.sfixed64=d.prototype.fixed64,d.prototype.float=function(e){return this._push(i.float.writeFloatLE,4,e)},d.prototype.double=function(e){return this._push(i.float.writeDoubleLE,8,e)};var b=i.Array.prototype.set?function(e,t,r){t.set(e,r)}:function(e,t,r){for(var n=0;n>>0;if(!t)return this._push(f,1,0);if(i.isString(e)){var r=d.alloc(t=a.length(e));a.decode(e,r,0),e=r}return this.uint32(t)._push(b,t,e)},d.prototype.string=function(e){var t=s.length(e);return t?this.uint32(t)._push(s.write,t,e):this._push(f,1,0)},d.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new l(c,0,0),this.len=0,this},d.prototype.reset=function(){return this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new l(c,0,0),this.len=0),this},d.prototype.ldelim=function(){var e=this.head,t=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=e.next,this.tail=t,this.len+=r),this},d.prototype.finish=function(){for(var e=this.head.next,t=this.constructor.alloc(this.len),r=0;e;)e.fn(e.val,t,r),r+=e.len,e=e.next;return t},d._configure=function(e){n=e,d.create=p(),n._configure()}},2815:function(e,t,r){"use strict";e.exports=o;var n=r(7063);(o.prototype=Object.create(n.prototype)).constructor=o;var i=r(3097);function o(){n.call(this)}function a(e,t,r){e.length<40?i.utf8.write(e,t,r):t.utf8Write?t.utf8Write(e,r):t.write(e,r)}o._configure=function(){o.alloc=i._Buffer_allocUnsafe,o.writeBytesBuffer=i.Buffer&&i.Buffer.prototype instanceof Uint8Array&&"set"===i.Buffer.prototype.set.name?function(e,t,r){t.set(e,r)}:function(e,t,r){if(e.copy)e.copy(t,r,0,e.length);else for(var n=0;n>>0;return this.uint32(t),t&&this._push(o.writeBytesBuffer,t,e),this},o.prototype.string=function(e){var t=i.Buffer.byteLength(e);return this.uint32(t),t&&this._push(a,t,e),this},o._configure()},4245:function(e,t,r){"use strict";var n=r(3038).default,i=r(3269).default,o=r(319).default,a=r(499),s=r(9412),l=r(845),c=r(2683);function u(e){if("string"!==typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function d(e,t){return t.encode?t.strict?a(e):encodeURIComponent(e):e}function p(e,t){return t.decode?s(e):e}function f(e){return Array.isArray(e)?e.sort():"object"===typeof e?f(Object.keys(e)).sort((function(e,t){return Number(e)-Number(t)})).map((function(t){return e[t]})):e}function h(e){var t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function y(e){var t=(e=h(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function m(e,t){return t.parseNumbers&&!Number.isNaN(Number(e))&&"string"===typeof e&&""!==e.trim()?e=Number(e):!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()||(e="true"===e.toLowerCase()),e}function b(e,t){u((t=Object.assign({decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1},t)).arrayFormatSeparator);var r=function(e){var t;switch(e.arrayFormat){case"index":return function(e,r,n){t=/\[(\d*)\]$/.exec(e),e=e.replace(/\[\d*\]$/,""),t?(void 0===n[e]&&(n[e]={}),n[e][t[1]]=r):n[e]=r};case"bracket":return function(e,r,n){t=/(\[\])$/.exec(e),e=e.replace(/\[\]$/,""),t?void 0!==n[e]?n[e]=[].concat(n[e],r):n[e]=[r]:n[e]=r};case"comma":case"separator":return function(t,r,n){var i="string"===typeof r&&r.includes(e.arrayFormatSeparator),o="string"===typeof r&&!i&&p(r,e).includes(e.arrayFormatSeparator);r=o?p(r,e):r;var a=i||o?r.split(e.arrayFormatSeparator).map((function(t){return p(t,e)})):null===r?r:p(r,e);n[t]=a};default:return function(e,t,r){void 0!==r[e]?r[e]=[].concat(r[e],t):r[e]=t}}}(t),o=Object.create(null);if("string"!==typeof e)return o;if(!(e=e.trim().replace(/^[?#&]/,"")))return o;var a,s=i(e.split("&"));try{for(s.s();!(a=s.n()).done;){var c=a.value;if(""!==c){var d=l(t.decode?c.replace(/\+/g," "):c,"="),h=n(d,2),y=h[0],b=h[1];b=void 0===b?null:["comma","separator"].includes(t.arrayFormat)?b:p(b,t),r(p(y,t),b,o)}}}catch(x){s.e(x)}finally{s.f()}for(var g=0,_=Object.keys(o);g<_.length;g++){var v=_[g],w=o[v];if("object"===typeof w&&null!==w)for(var O=0,k=Object.keys(w);O0})).join("&")},t.parseUrl=function(e,t){t=Object.assign({decode:!0},t);var r=l(e,"#"),i=n(r,2),o=i[0],a=i[1];return Object.assign({url:o.split("?")[0]||"",query:b(y(e),t)},t&&t.parseFragmentIdentifier&&a?{fragmentIdentifier:p(a,t)}:{})},t.stringifyUrl=function(e,r){r=Object.assign({encode:!0,strict:!0},r);var n=h(e.url).split("?")[0]||"",i=t.extract(e.url),o=t.parse(i,{sort:!1}),a=Object.assign(o,e.query),s=t.stringify(a,r);s&&(s="?".concat(s));var l=function(e){var t="",r=e.indexOf("#");return-1!==r&&(t=e.slice(r)),t}(e.url);return e.fragmentIdentifier&&(l="#".concat(d(e.fragmentIdentifier,r))),"".concat(n).concat(s).concat(l)},t.pick=function(e,r,n){n=Object.assign({parseFragmentIdentifier:!0},n);var i=t.parseUrl(e,n),o=i.url,a=i.query,s=i.fragmentIdentifier;return t.stringifyUrl({url:o,query:c(a,r),fragmentIdentifier:s},n)},t.exclude=function(e,r,n){var i=Array.isArray(r)?function(e){return!r.includes(e)}:function(e,t){return!r(e,t)};return t.pick(e,i,n)}},4463:function(e,t,r){"use strict";var n=r(2791),i=r(1725),o=r(5296);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r