(function(){"use strict";var t;function e(t){var e=0;return function(){return e>>0)+"_",i=0;return function t(r){if(this instanceof t)throw new TypeError("Symbol is not a constructor");return new e(n+(r||"")+"_"+i++,r)}})),i("Symbol.iterator",(function(t){if(t)return t;t=Symbol("Symbol.iterator");for(var i="Array Int8Array Uint8Array Uint8ClampedArray Int16Array Uint16Array Int32Array Uint32Array Float32Array Float64Array".split(" "),a=0;ae&&(e=Math.max(0,n+e)),(null==r||r>n)&&(r=n),0>(r=Number(r))&&(r=Math.max(0,n+r)),e=Number(e||0);e(e=e||0)&&(e=Math.max(e+n,0));e>4),64!=a&&(e(o<<4&240|a>>2),64!=u&&e(a<<6&192|u))}}(t,(function(t){n[i++]=t})),i!==r?n.subarray(0,i):n}function U(){if(!k){k={};for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789".split(""),e=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var n=t.concat(e[r].split(""));_[r]=n;for(var i=0;i>2];a=e[(3&a)<<4|u>>4],u=e[(15&u)<<2|s>>6],s=e[63&s],r[o++]=f+a+u+s}switch(f=0,s=n,t.length-i){case 2:s=e[(15&(f=t[i+1]))<<2]||n;case 1:t=t[i],r[o]=e[t>>2]+e[(3&t)<<4|f>>4]+s+n}return r.join("")}for(e="";10240t,r=(t=Math.abs(t))>>>0;t=Math.floor((t-r)/4294967296),e&&(e=(r=a(J(r,t))).next().value,t=r.next().value,r=e),V=r>>>0,W=t>>>0}var X,Y="function"==typeof BigInt;function J(t,e){return e=~e,t?t=1+~t:e+=1,[t,e]}function K(t,e){this.i=t>>>0,this.h=e>>>0}function Z(t){if(!t)return X||(X=new K(0,0));if(!/^-?\d+$/.test(t))return null;if(16>t.length)H(Number(t));else if(Y)t=BigInt(t),V=Number(t&BigInt(4294967295))>>>0,W=Number(t>>BigInt(32)&BigInt(4294967295));else{var e=+("-"===t[0]);W=V=0;for(var r=t.length,n=e,i=(r-e)%6+e;i<=r;n=i,i+=6)n=Number(t.slice(n,i)),W*=1e6,4294967296<=(V=1e6*V+n)&&(W+=V/4294967296|0,V%=4294967296);e&&(t=(e=a(J(V,W))).next().value,e=e.next().value,V=t,W=e)}return new K(V,W)}function q(t,e){return Error("Invalid wire type: "+t+" (at position "+e+")")}function $(){return Error("Failed to read varint, encoding is invalid.")}function Q(t,e){return Error("Tried to read past the end of the data "+e+" > "+t)}function tt(){throw Error("Invalid UTF8")}function et(t,e){return e=String.fromCharCode.apply(null,e),null==t?e:t+e}var rt,nt,it,ot=void 0,at="undefined"!=typeof TextDecoder,ut="undefined"!=typeof TextEncoder;function st(t){if(t!==G)throw Error("illegal external caller")}function ft(t,e){if(st(e),this.V=t,null!=t&&0===t.length)throw Error("ByteString should be constructed with non-empty values")}function lt(){return it||(it=new ft(null,G))}function ht(t){st(G);var e=t.V;return null==(e=null==e||C&&null!=e&&e instanceof Uint8Array?e:"string"==typeof e?N(e):null)?e:t.V=e}function ct(t,e){this.i=null,this.m=!1,this.h=this.j=this.l=0,pt(this,t,e)}function pt(t,e,r){r=void 0===r?{}:r,t.S=void 0!==r.S&&r.S,e&&(e=function(t){if("string"==typeof t)return{buffer:N(t),C:!1};if(Array.isArray(t))return{buffer:new Uint8Array(t),C:!1};if(t.constructor===Uint8Array)return{buffer:t,C:!1};if(t.constructor===ArrayBuffer)return{buffer:new Uint8Array(t),C:!1};if(t.constructor===ft)return{buffer:ht(t)||D(),C:!0};if(t instanceof Uint8Array)return{buffer:new Uint8Array(t.buffer,t.byteOffset,t.byteLength),C:!1};throw Error("Type not convertible to a Uint8Array, expected a Uint8Array, an ArrayBuffer, a base64 encoded string, a ByteString or an Array of numbers")}(e),t.i=e.buffer,t.m=e.C,t.l=0,t.j=t.i.length,t.h=t.l)}function vt(t,e){if(t.h=e,e>t.j)throw Q(t.j,e)}function dt(t){var e=t.i,r=t.h,n=e[r++],i=127&n;if(128&n&&(i|=(127&(n=e[r++]))<<7,128&n&&(i|=(127&(n=e[r++]))<<14,128&n&&(i|=(127&(n=e[r++]))<<21,128&n&&(i|=(n=e[r++])<<28,128&n&&128&e[r++]&&128&e[r++]&&128&e[r++]&&128&e[r++]&&128&e[r++])))))throw $();return vt(t,r),i}function yt(t,e){if(0>e)throw Error("Tried to read a negative byte length: "+e);var r=t.h,n=r+e;if(n>t.j)throw Q(e,t.j-r);return t.h=n,r}ct.prototype.reset=function(){this.h=this.l};var gt=[];function mt(){this.h=[]}function bt(t,e,r){for(;0>>7|r<<25)>>>0,r>>>=7;t.h.push(e)}function wt(t,e){for(;127>>=7;t.h.push(e)}function At(t,e){if(gt.length){var r=gt.pop();pt(r,t,e),t=r}else t=new ct(t,e);this.h=t,this.j=this.h.h,this.i=this.l=-1,this.setOptions(e)}function jt(t){var e=t.h;if(e.h==e.j)return!1;t.j=t.h.h;var r=dt(t.h)>>>0;if(e=r>>>3,!(0<=(r&=7)&&5>=r))throw q(r,t.j);if(1>e)throw Error("Invalid field number: "+e+" (at position "+t.j+")");return t.l=e,t.i=r,!0}function xt(t){switch(t.i){case 0:if(0!=t.i)xt(t);else t:{for(var e=(t=t.h).h,r=e+10,n=t.i;e>>0,vt(t=t.h,t.h+e));break;case 5:vt(t=t.h,t.h+4);break;case 3:for(e=t.l;;){if(!jt(t))throw Error("Unmatched start-group tag: stream EOF");if(4==t.i){if(t.l!=e)throw Error("Unmatched end-group tag");break}xt(t)}break;default:throw q(t.i,t.j)}}mt.prototype.length=function(){return this.h.length},mt.prototype.end=function(){var t=this.h;return this.h=[],t},At.prototype.setOptions=function(t){t=void 0===t?{}:t,this.ca=void 0!==t.ca&&t.ca},At.prototype.reset=function(){this.h.reset(),this.j=this.h.h,this.i=this.l=-1};var Et=[];function Ot(){this.j=[],this.i=0,this.h=new mt}function Ft(t,e){0!==e.length&&(t.j.push(e),t.i+=e.length)}var St="function"==typeof Symbol&&"symbol"==typeof Symbol()?Symbol():void 0;function Tt(t,e){return St?t[St]|=e:void 0!==t.A?t.A|=e:(Object.defineProperties(t,{A:{value:e,configurable:!0,writable:!0,enumerable:!1}}),e)}function _t(t,e){St?t[St]&&(t[St]&=~e):void 0!==t.A&&(t.A&=~e)}function kt(t){var e;return null==(e=St?t[St]:t.A)?0:e}function Rt(t,e){St?t[St]=e:void 0!==t.A?t.A=e:Object.defineProperties(t,{A:{value:e,configurable:!0,writable:!0,enumerable:!1}})}function Ut(t){return Tt(t,1),t}function Ct(t,e){Rt(e,-51&(0|t))}function Pt(t,e){Rt(e,-41&(18|t))}var Bt={};function Mt(t){return null!==t&&"object"==typeof t&&!Array.isArray(t)&&t.constructor===Object}var It,Lt,Nt=[];function Dt(t){if(2&kt(t.o))throw Error("Cannot mutate an immutable Message")}function Gt(t){var e=t.length;(e=e?t[e-1]:void 0)&&Mt(e)?e.g=1:(e={},t.push((e.g=1,e)))}function zt(t){var e=t.i+t.G;return t.B||(t.B=t.o[e]={})}function Vt(t,e){return-1===e?null:e>=t.i?t.B?t.B[e]:void 0:t.o[e+t.G]}function Wt(t,e,r,n){Dt(t),Ht(t,e,r,n)}function Ht(t,e,r,n){t.j&&(t.j=void 0),e>=t.i||n?zt(t)[e]=r:(t.o[e+t.G]=r,(t=t.B)&&e in t&&delete t[e])}function Xt(t,e,r,n){var i=Vt(t,e);Array.isArray(i)||(i=It);var o=kt(i);if(1&o||Ut(i),n)2&o||Tt(i,2),1&r||Object.freeze(i);else{n=!(2&r);var a=2&o;1&r||!a?n&&16&o&&!a&&_t(i,16):Ht(t,e,i=Ut(Array.prototype.slice.call(i)))}return i}function Yt(t,e){var r=Vt(t,e),n=null==r?r:"number"==typeof r||"NaN"===r||"Infinity"===r||"-Infinity"===r?Number(r):void 0;return null!=n&&n!==r&&Ht(t,e,n),n}function Jt(t,e,r,n,i){t.h||(t.h={});var o=t.h[r],a=Xt(t,r,3,i);if(!o){var u=a;o=[];var s=!!(16&kt(t.o));a=!!(2&kt(u));var f=u;!i&&a&&(u=Array.prototype.slice.call(u));for(var l=a,h=0;ha&&"number"!=typeof t[a]){var u=t[a++];r(e,u)}for(;a>>0)>>31)+1,o=a>>>23&255,a&=8388607,Wt(e,r,255==o?a?NaN:1/0*t:0==o?t*Math.pow(2,-149)*a:t*Math.pow(2,o-150)*(a+Math.pow(2,23))),!0}),(function(t,e,r){if(null!=(e=Yt(e,r))){wt(t.h,8*r+5),t=t.h;var n=+e;0===n?0<1/n?V=W=0:(W=0,V=2147483648):isNaN(n)?(W=0,V=2147483647):34028234663852886e22<(n=(r=0>n?-2147483648:0)?-n:n)?(W=0,V=(2139095040|r)>>>0):11754943508222875e-54>n?(n=Math.round(n/Math.pow(2,-149)),W=0,V=(r|n)>>>0):(e=Math.floor(Math.log(n)/Math.LN2),n*=Math.pow(2,-e),16777216<=(n=Math.round(8388608*n))&&++e,W=0,V=(r|e+127<<23|8388607&n)>>>0),r=V,t.h.push(r>>>0&255),t.h.push(r>>>8&255),t.h.push(r>>>16&255),t.h.push(r>>>24&255)}})),Me=Pe((function(t,e,r){if(0!==t.i)return!1;var n=t.h,i=0,o=t=0,a=n.i,u=n.h;do{var s=a[u++];i|=(127&s)<o&&128&s);for(32>4),o=3;32>o&&128&s;o+=7)t|=(127&(s=a[u++]))<s))throw $();return n=i>>>0,(t=2147483648&(s=t>>>0))&&(s=~s>>>0,0==(n=1+~n>>>0)&&(s=s+1>>>0)),n=4294967296*s+(n>>>0),Wt(e,r,t?-n:n),!0}),(function(t,e,r){null!=(e=Vt(e,r))&&("string"==typeof e&&Z(e),null!=e&&(wt(t.h,8*r),"number"==typeof e?(t=t.h,H(e),bt(t,V,W)):(r=Z(e),bt(t.h,r.i,r.h))))})),Ie=Pe((function(t,e,r){return 0===t.i&&(Wt(e,r,dt(t.h)),!0)}),(function(t,e,r){if(null!=(e=Vt(e,r))&&null!=e)if(wt(t.h,8*r),t=t.h,0<=(r=e))wt(t,r);else{for(e=0;9>e;e++)t.h.push(127&r|128),r>>=7;t.h.push(1)}})),Le=Pe((function(t,e,r){if(2!==t.i)return!1;var n=dt(t.h)>>>0,i=yt(t=t.h,n);if(t=t.i,at){var o,a=t;(o=rt)||(o=rt=new TextDecoder("utf-8",{fatal:!0})),t=i+n,a=0===i&&t===a.length?a:a.subarray(i,t);try{var u=o.decode(a)}catch(t){if(void 0===ot){try{o.decode(new Uint8Array([128]))}catch(t){}try{o.decode(new Uint8Array([97])),ot=!0}catch(t){ot=!1}}throw!ot&&(rt=void 0),t}}else{n=(u=i)+n,i=[];for(var s,f,l=null;u(s=t[u++])?i.push(s):224>s?u>=n?tt():(f=t[u++],194>s||128!=(192&f)?(u--,tt()):i.push((31&s)<<6|63&f)):240>s?u>=n-1?tt():128!=(192&(f=t[u++]))||224===s&&160>f||237===s&&160<=f||128!=(192&(a=t[u++]))?(u--,tt()):i.push((15&s)<<12|(63&f)<<6|63&a):244>=s?u>=n-2?tt():128!=(192&(f=t[u++]))||0!=f-144+(s<<28)>>30||128!=(192&(a=t[u++]))||128!=(192&(o=t[u++]))?(u--,tt()):(s=(7&s)<<18|(63&f)<<12|(63&a)<<6|63&o,s-=65536,i.push(55296+(s>>10&1023),56320+(1023&s))):tt(),8192<=i.length&&(l=et(l,i),i.length=0);u=et(l,i)}return Wt(e,r,u),!0}),(function(t,e,r){if(null!=(e=Vt(e,r))){var n=!1;if(n=void 0!==n&&n,ut){if(n&&/(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])/.test(e))throw Error("Found an unpaired surrogate");e=(nt||(nt=new TextEncoder)).encode(e)}else{for(var i=0,o=new Uint8Array(3*e.length),a=0;au)o[i++]=u;else{if(2048>u)o[i++]=u>>6|192;else{if(55296<=u&&57343>=u){if(56319>=u&&a=s){u=1024*(u-55296)+s-56320+65536,o[i++]=u>>18|240,o[i++]=u>>12&63|128,o[i++]=u>>6&63|128,o[i++]=63&u|128;continue}a--}if(n)throw Error("Found an unpaired surrogate");u=65533}o[i++]=u>>12|224,o[i++]=u>>6&63|128}o[i++]=63&u|128}}e=i===o.length?o:o.subarray(0,i)}wt(t.h,8*r+2),wt(t.h,e.length),Ft(t,t.h.end()),Ft(t,e)}})),Ne=Pe((function(t,e,r,n,i){if(2!==t.i)return!1;e=qt(e,r,n),r=t.h.j,n=dt(t.h)>>>0;var o=t.h.h+n,a=o-r;if(0>=a&&(t.h.j=o,i(e,t,void 0,void 0,void 0),a=o-t.h.h),a)throw Error("Message parsing ended unexpectedly. Expected to read "+n+" bytes, instead read "+(n-a)+" bytes, either the data ended unexpectedly or the message misreported its own length");return t.h.h=o,t.h.j=r,!0}),(function(t,e,r,n,i){if(null!=(e=Kt(e,n,r)))for(n=0;n>>=7,a.i++;o.push(u),a.i++}}));function De(t){return function(e,r){t:{if(Et.length){var n=Et.pop();n.setOptions(r),pt(n.h,e,r),e=n}else e=new At(e,r);try{var i=Re(t),o=Ue(new i.P,e,i);break t}finally{(i=e.h).i=null,i.m=!1,i.l=0,i.j=0,i.h=0,i.S=!1,e.l=-1,e.i=-1,100>Et.length&&Et.push(e)}o=void 0}return o}}function Ge(t){return function(){var e=new Ot;Ce(this,e,Oe(t)),Ft(e,e.h.end());for(var r=new Uint8Array(e.i),n=e.j,i=n.length,o=0,a=0;a