连云港陪玩陪聊
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

1 lines
123 KiB

!function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).SVGA=t()}}((function(){return function t(e,r,i){function n(s,a){if(!r[s]){if(!e[s]){var u="function"==typeof require&&require;if(!a&&u)return u(s,!0);if(o)return o(s,!0);var h=new Error("Cannot find module '"+s+"'");throw h.code="MODULE_NOT_FOUND",h}var l=r[s]={exports:{}};e[s][0].call(l.exports,(function(t){return n(e[s][1][t]||t)}),l,l.exports,t,e,r,i)}return r[s].exports}for(var o="function"==typeof require&&require,s=0;s<i.length;s++)n(i[s]);return n}({1:[function(t,e,r){"use strict";e.exports=function(){var e={};function r(){e.converter._configure(),e.decoder._configure(),e.Field._configure(),e.MapField._configure(),e.Message._configure(),e.Namespace._configure(),e.Method._configure(),e.ReflectionObject._configure(),e.OneOf._configure(),e.parse._configure(),e.Reader._configure(),e.Root._configure(),e.Service._configure(),e.verifier._configure(),e.Type._configure(),e.types._configure(),e.wrappers._configure(),e.Writer._configure()}if(e.build="minimal",e.Writer=t(34),e.Reader=t(22),e.util=t(31),e.rpc=t(25),e.roots=t(24),e.verifier=t(32),e.tokenize=t(27),e.parse=t(19),e.common=t(5),e.ReflectionObject=t(17),e.Namespace=t(16),e.Root=t(23),e.Enum=t(8),e.Type=t(28),e.Field=t(9),e.OneOf=t(18),e.MapField=t(13),e.Service=t(26),e.Method=t(15),e.converter=t(6),e.decoder=t(7),e.Message=t(14),e.wrappers=t(33),e.types=t(29),e.util=t(31),e.configure=r,e.load=function(t,r,i){return"function"==typeof r?(i=r,r=new e.Root):r||(r=new e.Root),r.load(t,i)},e.loadSync=function(t,r){return r||(r=new e.Root),r.loadSync(t)},e.parseFromPbString=function(t,r,i){return"function"==typeof r?(i=r,r=new e.Root):r||(r=new e.Root),r.parseFromPbString(t,i)},r(),arguments&&arguments.length)for(var i=0;i<arguments.length;i++){var n=arguments[i];if(n.hasOwnProperty("exports"))return void(n.exports=e)}return e}()},{13:13,14:14,15:15,16:16,17:17,18:18,19:19,22:22,23:23,24:24,25:25,26:26,27:27,28:28,29:29,31:31,32:32,33:33,34:34,5:5,6:6,7:7,8:8,9:9}],24:[function(t,e,r){"use strict";e.exports={}},{}],27:[function(t,e,r){"use strict";e.exports=d;var i=/[\s{}=;:[\],'"()<>]/g,n=/(?:"([^"\\]*(?:\\.[^"\\]*)*)")/g,o=/(?:'([^'\\]*(?:\\.[^'\\]*)*)')/g,s=/^ *[*/]+ */,a=/^\s*\*?\/*/,u=/\n/g,h=/\s/,l=/\\(.?)/g,f={0:"\0",r:"\r",n:"\n",t:"\t"};function c(t){return t.replace(l,(function(t,e){switch(e){case"\\":case"":return e;default:return f[e]||""}}))}function d(t,e){t=t.toString();var r=0,l=t.length,f=1,d=null,p=null,y=0,m=!1,v=[],g=null;function b(t){return Error("illegal "+t+" (line "+f+")")}function w(e){return t.charAt(e)}function _(r,i){d=t.charAt(r++),y=f,m=!1;var n,o=r-(e?2:3);do{if(--o<0||"\n"===(n=t.charAt(o))){m=!0;break}}while(" "===n||"\t"===n);for(var h=t.substring(r,i).split(u),l=0;l<h.length;++l)h[l]=h[l].replace(e?a:s,"").trim();p=h.join("\n").trim()}function x(e){var r=k(e),i=t.substring(e,r);return/^\s*\/{1,2}/.test(i)}function k(t){for(var e=t;e<l&&"\n"!==w(e);)e++;return e}function A(){if(v.length>0)return v.shift();if(g)return function(){var e="'"===g?o:n;e.lastIndex=r-1;var i=e.exec(t);if(!i)throw b("string");return r=e.lastIndex,O(g),g=null,c(i[1])}();var s,a,u,d,p;do{if(r===l)return null;for(s=!1;h.test(u=w(r));)if("\n"===u&&++f,++r===l)return null;if("/"===w(r)){if(++r===l)throw b("comment");if("/"===w(r))if(e){if(d=r,p=!1,x(r)){p=!0;do{if((r=k(r))===l)break;r++}while(x(r))}else r=Math.min(l,k(r)+1);p&&_(d,r),f++,s=!0}else{for(p="/"===w(d=r+1);"\n"!==w(++r);)if(r===l)return null;++r,p&&_(d,r-1),++f,s=!0}else{if("*"!==(u=w(r)))return"/";d=r+1,p=e||"*"===w(d);do{if("\n"===u&&++f,++r===l)throw b("comment");a=u,u=w(r)}while("*"!==a||"/"!==u);++r,p&&_(d,r-2),s=!0}}}while(s);var y=r;if(i.lastIndex=0,!i.test(w(y++)))for(;y<l&&!i.test(w(y));)++y;var m=t.substring(r,r=y);return'"'!==m&&"'"!==m||(g=m),m}function O(t){v.push(t)}function S(){if(!v.length){var t=A();if(null===t)return null;O(t)}return v[0]}return Object.defineProperty({next:A,peek:S,push:O,skip:function(t,e){var r=S();if(r===t)return A(),!0;if(!e)throw b("token '"+r+"', '"+t+"' expected");return!1},cmnt:function(t){var r=null;return void 0===t?y===f-1&&(e||"*"===d||m)&&(r=p):(y<t&&S(),y!==t||m||!e&&"/"!==d||(r=p)),r}},"line",{get:function(){return f}})}d.unescape=c},{}],5:[function(t,e,r){"use strict";e.exports=o;var i,n=/\/|\./;function o(t,e){n.test(t)||(t="google/protobuf/"+t+".proto",e={nested:{google:{nested:{protobuf:{nested:e}}}}}),o[t]=e}o("any",{Any:{fields:{type_url:{type:"string",id:1},value:{type:"bytes",id:2}}}}),o("duration",{Duration:i={fields:{seconds:{type:"int64",id:1},nanos:{type:"int32",id:2}}}}),o("timestamp",{Timestamp:i}),o("empty",{Empty:{fields:{}}}),o("struct",{Struct:{fields:{fields:{keyType:"string",type:"Value",id:1}}},Value:{oneofs:{kind:{oneof:["nullValue","numberValue","stringValue","boolValue","structValue","listValue"]}},fields:{nullValue:{type:"NullValue",id:1},numberValue:{type:"double",id:2},stringValue:{type:"string",id:3},boolValue:{type:"bool",id:4},structValue:{type:"Struct",id:5},listValue:{type:"ListValue",id:6}}},NullValue:{values:{NULL_VALUE:0}},ListValue:{fields:{values:{rule:"repeated",type:"Value",id:1}}}}),o("wrappers",{DoubleValue:{fields:{value:{type:"double",id:1}}},FloatValue:{fields:{value:{type:"float",id:1}}},Int64Value:{fields:{value:{type:"int64",id:1}}},UInt64Value:{fields:{value:{type:"uint64",id:1}}},Int32Value:{fields:{value:{type:"int32",id:1}}},UInt32Value:{fields:{value:{type:"uint32",id:1}}},BoolValue:{fields:{value:{type:"bool",id:1}}},StringValue:{fields:{value:{type:"string",id:1}}},BytesValue:{fields:{value:{type:"bytes",id:1}}}}),o("field_mask",{FieldMask:{fields:{paths:{rule:"repeated",type:"string",id:1}}}}),o.get=function(t){return o[t]||null}},{}],22:[function(t,e,r){"use strict";e.exports=a;var i,n,o=t(31);function s(t,e){return RangeError("index out of range: "+t.pos+" + "+(e||1)+" > "+t.len)}function a(t){this.buf=t,this.pos=0,this.len=t.length}var u,h="undefined"!=typeof Uint8Array?function(t){if(t instanceof Uint8Array||Array.isArray(t))return new a(t);if("undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer)return new a(new Uint8Array(t));throw Error("illegal buffer")}:function(t){if(Array.isArray(t))return new a(t);throw Error("illegal buffer")};function l(){var t=new i(0,0),e=0;if(!(this.len-this.pos>4)){for(;e<3;++e){if(this.pos>=this.len)throw s(this);if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t}return t.lo=(t.lo|(127&this.buf[this.pos++])<<7*e)>>>0,t}for(;e<4;++e)if(t.lo=(t.lo|(127&this.buf[this.pos])<<7*e)>>>0,this.buf[this.pos++]<128)return t;if(t.lo=(t.lo|(127&this.buf[this.pos])<<28)>>>0,t.hi=(t.hi|(127&this.buf[this.pos])>>4)>>>0,this.buf[this.pos++]<128)return t;if(e=0,this.len-this.pos>4){for(;e<5;++e)if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t}else for(;e<5;++e){if(this.pos>=this.len)throw s(this);if(t.hi=(t.hi|(127&this.buf[this.pos])<<7*e+3)>>>0,this.buf[this.pos++]<128)return t}throw Error("invalid varint encoding")}function f(t,e){return(t[e-4]|t[e-3]<<8|t[e-2]<<16|t[e-1]<<24)>>>0}function c(){if(this.pos+8>this.len)throw s(this,8);return new i(f(this.buf,this.pos+=4),f(this.buf,this.pos+=4))}a.create=o.Buffer?function(t){return(a.create=function(t){return o.Buffer.isBuffer(t)?new(void 0)(t):h(t)})(t)}:h,a.prototype._slice=o.Array.prototype.subarray||o.Array.prototype.slice,a.prototype.uint32=(u=4294967295,function(){if(u=(127&this.buf[this.pos])>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<7)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<14)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(127&this.buf[this.pos])<<21)>>>0,this.buf[this.pos++]<128)return u;if(u=(u|(15&this.buf[this.pos])<<28)>>>0,this.buf[this.pos++]<128)return u;if((this.pos+=5)>this.len)throw this.pos=this.len,s(this,10);return u}),a.prototype.int32=function(){return 0|this.uint32()},a.prototype.sint32=function(){var t=this.uint32();return t>>>1^-(1&t)|0},a.prototype.bool=function(){return 0!==this.uint32()},a.prototype.fixed32=function(){if(this.pos+4>this.len)throw s(this,4);return f(this.buf,this.pos+=4)},a.prototype.sfixed32=function(){if(this.pos+4>this.len)throw s(this,4);return 0|f(this.buf,this.pos+=4)},a.prototype.float=function(){if(this.pos+4>this.len)throw s(this,4);var t=o.float.readFloatLE(this.buf,this.pos);return this.pos+=4,t},a.prototype.double=function(){if(this.pos+8>this.len)throw s(this,4);var t=o.float.readDoubleLE(this.buf,this.pos);return this.pos+=8,t},a.prototype.bytes=function(){var t=this.uint32(),e=this.pos,r=this.pos+t;if(r>this.len)throw s(this,t);return this.pos+=t,Array.isArray(this.buf)?this.buf.slice(e,r):e===r?new this.buf.constructor(0):this._slice.call(this.buf,e,r)},a.prototype.string=function(){var t=this.bytes();return n.read(t,0,t.length)},a.prototype.skip=function(t){if("number"==typeof t){if(this.pos+t>this.len)throw s(this,t);this.pos+=t}else do{if(this.pos>=this.len)throw s(this)}while(128&this.buf[this.pos++]);return this},a.prototype.skipType=function(t){switch(t){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(t=7&this.uint32());)this.skipType(t);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+t+" at offset "+this.pos)}return this},a._configure=function(){i=t(12),n=t(30);var e=o.Long?"toLong":"toNumber";o.merge(a.prototype,{int64:function(){return l.call(this)[e](!1)},uint64:function(){return l.call(this)[e](!0)},sint64:function(){return l.call(this).zzDecode()[e](!1)},fixed64:function(){return c.call(this)[e](!0)},sfixed64:function(){return c.call(this)[e](!1)}})}},{12:12,30:30,31:31}],32:[function(t,e,r){"use strict";var i,n;function o(t,e){return t.name+": "+e+(t.repeated&&"array"!==e?"[]":t.map&&"object"!==e?"{k:"+t.keyType+"}":"")+" expected"}function s(t,e,r,s){var a=s.types;if(t.resolvedType)if(t.resolvedType instanceof i){if(Object.keys(t.resolvedType.values).indexOf(r)<0)return o(t,"enum value")}else{var u=a[e].verify(r);if(u)return t.name+"."+u}else switch(t.type){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":if(!n.isInteger(r))return o(t,"integer");break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":if(!(n.isInteger(r)||r&&n.isInteger(r.low)&&n.isInteger(r.high)))return o(t,"integer|Long");break;case"float":case"double":if("number"!=typeof r)return o(t,"number");break;case"bool":if("boolean"!=typeof r)return o(t,"boolean");break;case"string":if(!n.isString(r))return o(t,"string");break;case"bytes":if(!(r&&"number"==typeof r.length||n.isString(r)))return o(t,"buffer")}}function a(t,e){switch(t.keyType){case"int32":case"uint32":case"sint32":case"fixed32":case"sfixed32":if(!n.key32Re.test(e))return o(t,"integer key");break;case"int64":case"uint64":case"sint64":case"fixed64":case"sfixed64":if(!n.key64Re.test(e))return o(t,"integer|Long key");break;case"bool":if(!n.key2Re.test(e))return o(t,"boolean key")}}function u(t){return function(e){return function(r){var i;if("object"!=typeof r||null===r)return"object expected";var u,h={};t.oneofsArray.length&&(u={});for(var l=0;l<t.fieldsArray.length;++l){var f,c=t._fieldsArray[l].resolve(),d=r[c.name];if(!c.optional||null!=d&&r.hasOwnProperty(c.name))if(c.map){if(!n.isObject(d))return o(c,"object");var p=Object.keys(d);for(f=0;f<p.length;++f){if(i=a(c,p[f]))return i;if(i=s(c,l,d[p[f]],e))return i}}else if(c.repeated){if(!Array.isArray(d))return o(c,"array");for(f=0;f<d.length;++f)if(i=s(c,l,d[f],e))return i}else{if(c.partOf){var y=c.partOf.name;if(1===h[c.partOf.name]&&1===u[y])return c.partOf.name+": multiple values";u[y]=1}if(i=s(c,l,d,e))return i}}}}}e.exports=u,u._configure=function(){i=t(8),n=t(31)}},{31:31,8:8}],19:[function(t,e,r){"use strict";var i,n,o,s,a,u,h,l,f,c,d;e.exports=A,A.filename=null,A.defaults={keepCase:!1};var p=/^[1-9][0-9]*$/,y=/^-?[1-9][0-9]*$/,m=/^0[x][0-9a-fA-F]+$/,v=/^-?0[x][0-9a-fA-F]+$/,g=/^0[0-7]+$/,b=/^-?0[0-7]+$/,w=/^(?![eE])[0-9]*(?:\.[0-9]*)?(?:[eE][+-]?[0-9]+)?$/,_=/^[a-zA-Z_][a-zA-Z_0-9]*$/,x=/^(?:\.?[a-zA-Z_][a-zA-Z_0-9]*)+$/,k=/^(?:\.[a-zA-Z][a-zA-Z_0-9]*)+$/;function A(t,e,r){e instanceof n||(r=e,e=new n),r||(r=A.defaults);var O,S,E,N,T,j=i(t,r.alternateCommentMode||!1),R=j.next,F=j.push,I=j.peek,B=j.skip,P=j.cmnt,C=!0,M=!1,D=e,L=r.keepCase?function(t){return t}:d.camelCase;function z(t,e,r){var i=A.filename;return r||(A.filename=null),Error("illegal "+(e||"token")+" '"+t+"' ("+(i?i+", ":"")+"line "+j.line+")")}function V(){var t,e=[];do{if('"'!==(t=R())&&"'"!==t)throw z(t);e.push(R()),B(t),t=I()}while('"'===t||"'"===t);return e.join("")}function Z(t){var e=R();switch(e){case"'":case'"':return F(e),V();case"true":case"TRUE":return!0;case"false":case"FALSE":return!1}try{return function(t,e){var r=1;switch("-"===t.charAt(0)&&(r=-1,t=t.substring(1)),t){case"inf":case"INF":case"Inf":return r*(1/0);case"nan":case"NAN":case"Nan":case"NaN":return NaN;case"0":return 0}if(p.test(t))return r*parseInt(t,10);if(m.test(t))return r*parseInt(t,16);if(g.test(t))return r*parseInt(t,8);if(w.test(t))return r*parseFloat(t);throw z(t,"number",!0)}(e)}catch(r){if(t&&x.test(e))return e;throw z(e,"value")}}function U(t,e){var r,i;do{!e||'"'!==(r=I())&&"'"!==r?t.push([i=q(R()),B("to",!0)?q(R()):i]):t.push(V())}while(B(",",!0));B(";")}function q(t,e){switch(t){case"max":case"MAX":case"Max":return 536870911;case"0":return 0}if(!e&&"-"===t.charAt(0))throw z(t,"id");if(y.test(t))return parseInt(t,10);if(v.test(t))return parseInt(t,16);if(b.test(t))return parseInt(t,8);throw z(t,"id")}function J(){if(void 0!==O)throw z("package");if(O=R(),!x.test(O))throw z(O,"name");D=D.define(O),B(";")}function $(){var t,e=I();switch(e){case"weak":t=E||(E=[]),R();break;case"public":R();default:t=S||(S=[])}e=V(),B(";"),t.push(e)}function K(){if(B("="),N=V(),!(M="proto3"===N)&&"proto2"!==N)throw z(N,"syntax");B(";")}function H(t,e){switch(e){case"option":return G(t,e),B(";"),!0;case"message":return function(t,e){if(!_.test(e=R()))throw z(e,"type name");var r=new o(e);W(r,(function(t){if(!H(r,t))switch(t){case"map":!function(t){B("<");var e=R();if(void 0===c.mapKey[e])throw z(e,"type");B(",");var r=R();if(!x.test(r))throw z(r,"type");B(">");var i=R();if(!_.test(i))throw z(i,"name");B("=");var n=new a(L(i),q(R()),e,r);W(n,(function(t){if("option"!==t)throw z(t);G(n,t),B(";")}),(function(){tt(n)})),t.add(n)}(r);break;case"required":case"optional":case"repeated":X(r,t);break;case"oneof":!function(t,e){if(!_.test(e=R()))throw z(e,"name");var r=new u(L(e));W(r,(function(t){"option"===t?(G(r,t),B(";")):(F(t),X(r,"optional"))})),t.add(r)}(r,t);break;case"extensions":U(r.extensions||(r.extensions=[]));break;case"reserved":U(r.reserved||(r.reserved=[]),!0);break;default:if(!M||!x.test(t))throw z(t);F(t),X(r,"optional")}})),t.add(r)}(t,e),!0;case"enum":return function(t,e){if(!_.test(e=R()))throw z(e,"name");var r=new h(e);W(r,(function(t){switch(t){case"option":G(r,t),B(";");break;case"reserved":U(r.reserved||(r.reserved=[]),!0);break;default:!function(t,e){if(!_.test(e))throw z(e,"name");B("=");var r=q(R(),!0),i={};W(i,(function(t){if("option"!==t)throw z(t);G(i,t),B(";")}),(function(){tt(i)})),t.add(e,r,i.comment)}(r,t)}})),t.add(r)}(t,e),!0;case"service":return function(t,e){if(!_.test(e=R()))throw z(e,"service name");var r=new l(e);W(r,(function(t){if(!H(r,t)){if("rpc"!==t)throw z(t);!function(t,e){var r=e;if(!_.test(e=R()))throw z(e,"name");var i,n,o,s,a=e;if(B("("),B("stream",!0)&&(n=!0),!x.test(e=R()))throw z(e);if(i=e,B(")"),B("returns"),B("("),B("stream",!0)&&(s=!0),!x.test(e=R()))throw z(e);o=e,B(")");var u=new f(a,r,i,o,n,s);W(u,(function(t){if("option"!==t)throw z(t);G(u,t),B(";")})),t.add(u)}(r,t)}})),t.add(r)}(t,e),!0;case"extend":return function(t,e){if(!x.test(e=R()))throw z(e,"reference");var r=e;W(null,(function(e){switch(e){case"required":case"repeated":case"optional":X(t,e,r);break;default:if(!M||!x.test(e))throw z(e);F(e),X(t,"optional",r)}}))}(t,e),!0}return!1}function W(t,e,r){var i=j.line;if(t&&(t.comment=P(),t.filename=A.filename),B("{",!0)){for(var n;"}"!==(n=R());)e(n);B(";",!0)}else r&&r(),B(";"),t&&"string"!=typeof t.comment&&(t.comment=P(i))}function X(t,e,r){var i=R();if("group"!==i){if(!x.test(i))throw z(i,"type");var n=R();if(!_.test(n))throw z(n,"name");n=L(n),B("=");var a=new s(n,q(R()),i,e,r);W(a,(function(t){if("option"!==t)throw z(t);G(a,t),B(";")}),(function(){tt(a)})),t.add(a),M||!a.repeated||void 0===c.packed[i]&&void 0!==c.basic[i]||a.setOption("packed",!1,!0)}else!function(t,e){var r=R();if(!_.test(r))throw z(r,"name");var i=d.lcFirst(r);r===i&&(r=d.ucFirst(r)),B("=");var n=q(R()),a=new o(r);a.group=!0;var u=new s(i,n,r,e);u.filename=A.filename,W(a,(function(t){switch(t){case"option":G(a,t),B(";");break;case"required":case"optional":case"repeated":X(a,t);break;default:throw z(t)}})),t.add(a).add(u)}(t,e)}function G(t,e){var r=B("(",!0);if(!x.test(e=R()))throw z(e,"name");var i=e;r&&(B(")"),i="("+i+")",e=I(),k.test(e)&&(i+=e,R())),B("="),Y(t,i)}function Y(t,e){if(B("{",!0))do{if(!_.test(T=R()))throw z(T,"name");"{"===I()?Y(t,e+"."+T):(B(":"),"{"===I()?Y(t,e+"."+T):Q(t,e+"."+T,Z(!0)))}while(!B("}",!0));else Q(t,e,Z(!0))}function Q(t,e,r){t.setOption&&t.setOption(e,r)}function tt(t){if(B("[",!0)){do{G(t,"option")}while(B(",",!0));B("]")}return t}for(;null!==(T=R());)switch(T){case"package":if(!C)throw z(T);J();break;case"import":if(!C)throw z(T);$();break;case"syntax":if(!C)throw z(T);K();break;case"option":if(!C)throw z(T);G(D,T),B(";");break;default:if(H(D,T)){C=!1;continue}throw z(T)}return A.filename=null,{package:O,imports:S,weakImports:E,syntax:N,root:e}}A._configure=function(){i=t(27),n=t(23),o=t(28),s=t(9),a=t(13),u=t(18),h=t(8),l=t(26),f=t(15),c=t(29),d=t(31)}},{13:13,15:15,18:18,23:23,26:26,27:27,28:28,29:29,31:31,8:8,9:9}],17:[function(t,e,r){"use strict";var i,n;function o(t,e){if(!i.isString(t))throw TypeError("name must be a string");if(e&&!i.isObject(e))throw TypeError("options must be an object");this.options=e,this.name=t,this.parent=null,this.resolved=!1,this.comment=null,this.filename=null}e.exports=o,o.className="ReflectionObject",Object.defineProperties(o.prototype,{root:{get:function(){for(var t=this;null!==t.parent;)t=t.parent;return t}},fullName:{get:function(){for(var t=[this.name],e=this.parent;e;)t.unshift(e.name),e=e.parent;return t.join(".")}}}),o.prototype.toJSON=function(){throw Error()},o.prototype.onAdd=function(t){this.parent&&this.parent!==t&&this.parent.remove(this),this.parent=t,this.resolved=!1;var e=t.root;e instanceof n&&e._handleAdd(this)},o.prototype.onRemove=function(t){var e=t.root;e instanceof n&&e._handleRemove(this),this.parent=null,this.resolved=!1},o.prototype.resolve=function(){return this.resolved||this.root instanceof n&&(this.resolved=!0),this},o.prototype.getOption=function(t){if(this.options)return this.options[t]},o.prototype.setOption=function(t,e,r){return r&&this.options&&void 0!==this.options[t]||((this.options||(this.options={}))[t]=e),this},o.prototype.setOptions=function(t,e){if(t)for(var r=Object.keys(t),i=0;i<r.length;++i)this.setOption(r[i],t[r[i]],e);return this},o.prototype.toString=function(){var t=this.constructor.className,e=this.fullName;return e.length?t+" "+e:t},o._configure=function(e){n=t(23),i=t(31)}},{23:23,31:31}],16:[function(t,e,r){"use strict";e.exports=l;var i,n,o,s,a,u=t(17);function h(t,e){if(t&&t.length){for(var r={},i=0;i<t.length;++i)r[t[i].name]=t[i].toJSON(e);return r}}function l(t,e){u.call(this,t,e),this.nested=void 0,this._nestedArray=null}function f(t){return t._nestedArray=null,t}((l.prototype=Object.create(u.prototype)).constructor=l).className="Namespace",l.fromJSON=function(t,e){return new l(t,e.options).addJSON(e.nested)},l.arrayToJSON=h,l.isReservedId=function(t,e){if(t)for(var r=0;r<t.length;++r)if("string"!=typeof t[r]&&t[r][0]<=e&&t[r][1]>=e)return!0;return!1},l.isReservedName=function(t,e){if(t)for(var r=0;r<t.length;++r)if(t[r]===e)return!0;return!1},Object.defineProperty(l.prototype,"nestedArray",{get:function(){return this._nestedArray||(this._nestedArray=o.toArray(this.nested))}}),l.prototype.toJSON=function(t){return o.toObject(["options",this.options,"nested",h(this.nestedArray,t)])},l.prototype.addJSON=function(t){if(t)for(var e,r=Object.keys(t),o=0;o<r.length;++o)e=t[r[o]],this.add((void 0!==e.fields?s.fromJSON:void 0!==e.values?i.fromJSON:void 0!==e.methods?a.fromJSON:void 0!==e.id?n.fromJSON:l.fromJSON)(r[o],e));return this},l.prototype.get=function(t){return this.nested&&this.nested[t]||null},l.prototype.getEnum=function(t){if(this.nested&&this.nested[t]instanceof i)return this.nested[t].values;throw Error("no such enum: "+t)},l.prototype.add=function(t){if(!(t instanceof n&&void 0!==t.extend||t instanceof s||t instanceof i||t instanceof a||t instanceof l))throw TypeError("object must be a valid nested object");if(this.nested){var e=this.get(t.name);if(e){if(!(e instanceof l&&t instanceof l)||e instanceof s||e instanceof a)throw Error("duplicate name '"+t.name+"' in "+this);for(var r=e.nestedArray,o=0;o<r.length;++o)t.add(r[o]);this.remove(e),this.nested||(this.nested={}),t.setOptions(e.options,!0)}}else this.nested={};return this.nested[t.name]=t,t.onAdd(this),f(this)},l.prototype.remove=function(t){if(!(t instanceof u))throw TypeError("object must be a ReflectionObject");if(t.parent!==this)throw Error(t+" is not a member of "+this);return delete this.nested[t.name],Object.keys(this.nested).length||(this.nested=void 0),t.onRemove(this),f(this)},l.prototype.define=function(t,e){if(o.isString(t))t=t.split(".");else if(!Array.isArray(t))throw TypeError("illegal path");if(t&&t.length&&""===t[0])throw Error("path must be relative");for(var r=this;t.length>0;){var i=t.shift();if(r.nested&&r.nested[i]){if(!((r=r.nested[i])instanceof l))throw Error("path conflicts with non-namespace objects")}else r.add(r=new l(i))}return e&&r.addJSON(e),r},l.prototype.resolveAll=function(){for(var t=this.nestedArray,e=0;e<t.length;)t[e]instanceof l?t[e++].resolveAll():t[e++].resolve();return this.resolve()},l.prototype.lookup=function(t,e,r){if("boolean"==typeof e?(r=e,e=void 0):e&&!Array.isArray(e)&&(e=[e]),o.isString(t)&&t.length){if("."===t)return this.root;t=t.split(".")}else if(!t.length)return this;if(""===t[0])return this.root.lookup(t.slice(1),e);var i=this.get(t[0]);if(i){if(1===t.length){if(!e||e.indexOf(i.constructor)>-1)return i}else if(i instanceof l&&(i=i.lookup(t.slice(1),e,!0)))return i}else for(var n=0;n<this.nestedArray.length;++n)if(this._nestedArray[n]instanceof l&&(i=this._nestedArray[n].lookup(t,e,!0)))return i;return null===this.parent||r?null:this.parent.lookup(t,e)},l.prototype.lookupType=function(t){var e=this.lookup(t,[s]);if(!e)throw Error("no such type: "+t);return e},l.prototype.lookupEnum=function(t){var e=this.lookup(t,[i]);if(!e)throw Error("no such Enum '"+t+"' in "+this);return e},l.prototype.lookupTypeOrEnum=function(t){var e=this.lookup(t,[s,i]);if(!e)throw Error("no such Type or Enum '"+t+"' in "+this);return e},l.prototype.lookupService=function(t){var e=this.lookup(t,[a]);if(!e)throw Error("no such Service '"+t+"' in "+this);return e},l._configure=function(){i=t(8),n=t(9),o=t(31),s=t(28),a=t(26)}},{17:17,26:26,28:28,31:31,8:8,9:9}],8:[function(t,e,r){"use strict";e.exports=o;var i=t(17);((o.prototype=Object.create(i.prototype)).constructor=o).className="Enum";var n=t(16);function o(t,e,r,n,o){if(i.call(this,t,r),e&&"object"!=typeof e)throw TypeError("values must be an object");if(this.valuesById={},this.values=Object.create(this.valuesById),this.comment=n,this.comments=o||{},this.reserved=void 0,e)for(var s=Object.keys(e),a=0;a<s.length;++a)"number"==typeof e[s[a]]&&(this.valuesById[this.values[s[a]]=e[s[a]]]=s[a])}o.fromJSON=function(t,e){var r=new o(t,e.values,e.options,e.comment,e.comments);return r.reserved=e.reserved,r},o.prototype.toJSON=function(t){var e=!!t&&Boolean(t.keepComments);return util.toObject(["options",this.options,"values",this.values,"reserved",this.reserved&&this.reserved.length?this.reserved:void 0,"comment",e?this.comment:void 0,"comments",e?this.comments:void 0])},o.prototype.add=function(t,e,r){if(!util.isString(t))throw TypeError("name must be a string");if(!util.isInteger(e))throw TypeError("id must be an integer");if(void 0!==this.values[t])throw Error("duplicate name '"+t+"' in "+this);if(this.isReservedId(e))throw Error("id "+e+" is reserved in "+this);if(this.isReservedName(t))throw Error("name '"+t+"' is reserved in "+this);if(void 0!==this.valuesById[e]){if(!this.options||!this.options.allow_alias)throw Error("duplicate id "+e+" in "+this);this.values[t]=e}else this.valuesById[this.values[t]=e]=t;return this.comments[t]=r||null,this},o.prototype.remove=function(t){if(!util.isString(t))throw TypeError("name must be a string");var e=this.values[t];if(null==e)throw Error("name '"+t+"' does not exist in "+this);return delete this.valuesById[e],delete this.values[t],delete this.comments[t],this},o.prototype.isReservedId=function(t){return n.isReservedId(this.reserved,t)},o.prototype.isReservedName=function(t){return n.isReservedName(this.reserved,t)}},{16:16,17:17}],23:[function(t,e,r){"use strict";e.exports=f;var i=t(16);((f.prototype=Object.create(i.prototype)).constructor=f).className="Root";var n,o,s,a=t(9),u=t(8),h=t(18),l=t(31);function f(t){i.call(this,"",t),this.deferred=[],this.files=[],this.names=[]}function c(){}f.fromJSON=function(t,e){return t="string"==typeof t?JSON.parse(t):t,e||(e=new f),t.options&&e.setOptions(t.options),e.addJSON(t.nested)},f.prototype.resolvePath=l.path.resolve,f.prototype.parseFromPbString=function t(e,r,i){"function"==typeof r&&(i=r,r=void 0);var n=this;if(!i)return l.asPromise(t,n,e,r);var a=null;if("string"==typeof e)a=JSON.parse(e);else{if("object"!=typeof e)return void console.log("pb\u683c\u5f0f\u8f6c\u5316\u5931\u8d25");a=e}function u(t,e){if(i){var r=i;i=null,r(t,e)}}function h(t,e){try{if(l.isString(e)&&"{"===e.charAt(0)&&(e=JSON.parse(e)),l.isString(e)){o.filename=t;var i,s=o(e,n,r),a=0;if(s.imports)for(;a<s.imports.length;++a)f(i=s.imports[a]);if(s.weakImports){for(a=0;a<s.weakImports.length;++a)i=s.weakImports[a];f(i)}}else n.setOptions(e.options).addJSON(e.nested)}catch(h){u(h)}u(null,n)}function f(t){n.names.indexOf(t)>-1||(n.names.push(t),t in s&&h(t,s[t]))}h(a.name,a.pbJsonStr)},f.prototype.load=function t(e,r,i){"function"==typeof r&&(i=r,r=void 0);var n=this;if(!i)return l.asPromise(t,n,e,r);var a=i===c;function u(t,e){if(i){var r=i;if(i=null,a)throw t;r(t,e)}}function h(t,e){try{if(l.isString(e)&&"{"===e.charAt(0)&&(e=JSON.parse(e)),l.isString(e)){o.filename=t;var i,s=o(e,n,r),h=0;if(s.imports)for(;h<s.imports.length;++h)(i=n.resolvePath(t,s.imports[h]))&&f(i);if(s.weakImports)for(h=0;h<s.weakImports.length;++h)(i=n.resolvePath(t,s.weakImports[h]))&&f(i,!0)}else n.setOptions(e.options).addJSON(e.nested)}catch(c){u(c)}a||d||u(null,n)}function f(t,e){var r=t.lastIndexOf("google/protobuf/");if(r>-1){var o=t.substring(r);o in s&&(t=o)}if(!(n.files.indexOf(t)>-1))if(n.files.push(t),t in s)a?h(t,s[t]):(++d,setTimeout((function(){--d,h(t,s[t])})));else if(a){var f;try{f=l.fs.readFileSync(t).toString("utf8")}catch(c){return void(e||u(c))}h(t,f)}else++d,l.fetch(t,(function(r,o){--d,i&&(r?e?d||u(null,n):u(r):h(t,o))}))}var d=0;l.isString(e)&&(e=[e]);for(var p,y=0;y<e.length;++y)(p=n.resolvePath("",e[y]))&&f(p);if(a)return n;d||u(null,n)},f.prototype.loadSync=function(t,e){if(!l.isNode)throw Error("not supported");return this.load(t,e,c)},f.prototype.resolveAll=function(){if(this.deferred.length)throw Error("unresolvable extensions: "+this.deferred.map((function(t){return"'extend "+t.extend+"' in "+t.parent.fullName})).join(", "));return i.prototype.resolveAll.call(this)};var d=/^[A-Z]/;function p(t,e){var r=e.parent.lookup(e.extend);if(r){var i=new a(e.fullName,e.id,e.type,e.rule,void 0,e.options);return i.declaringField=e,e.extensionField=i,r.add(i),!0}return!1}f.prototype._handleAdd=function(t){if(t instanceof a)void 0===t.extend||t.extensionField||p(0,t)||this.deferred.push(t);else if(t instanceof u)d.test(t.name)&&(t.parent[t.name]=t.values);else if(!(t instanceof h)){if(t instanceof n)for(var e=0;e<this.deferred.length;)p(0,this.deferred[e])?this.deferred.splice(e,1):++e;for(var r=0;r<t.nestedArray.length;++r)this._handleAdd(t._nestedArray[r]);d.test(t.name)&&(t.parent[t.name]=t)}},f.prototype._handleRemove=function(t){if(t instanceof a){if(void 0!==t.extend)if(t.extensionField)t.extensionField.parent.remove(t.extensionField),t.extensionField=null;else{var e=this.deferred.indexOf(t);e>-1&&this.deferred.splice(e,1)}}else if(t instanceof u)d.test(t.name)&&delete t.parent[t.name];else if(t instanceof i){for(var r=0;r<t.nestedArray.length;++r)this._handleRemove(t._nestedArray[r]);d.test(t.name)&&delete t.parent[t.name]}},f._configure=function(){n=t(28),o=t(19),s=t(5),a=t(9),u=t(8),h=t(18),l=t(31)}},{16:16,18:18,19:19,28:28,31:31,5:5,8:8,9:9}],28:[function(t,e,r){"use strict";e.exports=m;var i,n,o,s,a,u,h,l,f,c,d,p,y=t(16);function m(t,e){y.call(this,t,e),this.fields={},this.oneofs=void 0,this.extensions=void 0,this.reserved=void 0,this.group=void 0,this._fieldsById=null,this._fieldsArray=null,this._oneofsArray=null,this._ctor=null}function v(t){return t._fieldsById=t._fieldsArray=t._oneofsArray=null,delete t.encode,delete t.decode,delete t.verify,t}((m.prototype=Object.create(y.prototype)).constructor=m).className="Type",Object.defineProperties(m.prototype,{fieldsById:{get:function(){if(this._fieldsById)return this._fieldsById;this._fieldsById={};for(var t=Object.keys(this.fields),e=0;e<t.length;++e){var r=this.fields[t[e]],i=r.id;if(this._fieldsById[i])throw Error("duplicate id "+i+" in "+this);this._fieldsById[i]=r}return this._fieldsById}},fieldsArray:{get:function(){return this._fieldsArray||(this._fieldsArray=u.toArray(this.fields))}},oneofsArray:{get:function(){return this._oneofsArray||(this._oneofsArray=u.toArray(this.oneofs))}},ctor:{get:function(){return this._ctor||(this.ctor=m.generateConstructor(this))},set:function(t){var e=t.prototype;e instanceof o||((t.prototype=new o).constructor=t,u.merge(t.prototype,e)),t.$type=t.prototype.$type=this,u.merge(t,o,!0),u.merge(t.prototype,o,!0),this._ctor=t;for(var r=0;r<this.fieldsArray.length;++r)this._fieldsArray[r].resolve();var i={};for(r=0;r<this.oneofsArray.length;++r){var n=this._oneofsArray[r].resolve().name,s=function(t){for(var e={},r=0;r<t.length;++r)e[t[r]]=0;return{setter:function(r){if(!(t.indexOf(r)<0)){e[r]=1;for(var i=0;i<t.length;++i)t[i]!==r&&delete this[t[i]]}},getter:function(){for(var t=Object.keys(this),r=t.length-1;r>-1;--r)if(1===e[t[r]]&&void 0!==this[t[r]]&&null!==this[t[r]])return t[r]}}}(this._oneofsArray[r].oneof);i[n]={get:s.getter,set:s.setter}}r&&Object.defineProperties(t.prototype,i)}}}),m.generateConstructor=function(t){return function(e){for(var r,i=0;i<t.fieldsArray.length;i++)(r=t._fieldsArray[i]).map?this[r.name]={}:r.repeated&&(this[r.name]=[]);if(e)for(var n=Object.keys(e),o=0;o<n.length;++o)null!=e[n[o]]&&(this[n[o]]=e[n[o]])}},m.fromJSON=function(t,e){var r=new m(t,e.options);r.extensions=e.extensions,r.reserved=e.reserved;for(var o=Object.keys(e.fields),a=0;a<o.length;++a)r.add((void 0!==e.fields[o[a]].keyType?p.fromJSON:n.fromJSON)(o[a],e.fields[o[a]]));if(e.oneofs)for(o=Object.keys(e.oneofs),a=0;a<o.length;++a)r.add(s.fromJSON(o[a],e.oneofs[o[a]]));if(e.nested)for(o=Object.keys(e.nested),a=0;a<o.length;++a){var u=e.nested[o[a]];r.add((void 0!==u.id?n.fromJSON:void 0!==u.fields?m.fromJSON:void 0!==u.values?i.fromJSON:void 0!==u.methods?f.fromJSON:y.fromJSON)(o[a],u))}return e.extensions&&e.extensions.length&&(r.extensions=e.extensions),e.reserved&&e.reserved.length&&(r.reserved=e.reserved),e.group&&(r.group=!0),e.comment&&(r.comment=e.comment),r},m.prototype.toJSON=function(t){var e=y.prototype.toJSON.call(this,t),r=!!t&&Boolean(t.keepComments);return{options:e&&e.options||void 0,oneofs:y.arrayToJSON(this.oneofsArray,t),fields:y.arrayToJSON(this.fieldsArray.filter((function(t){return!t.declaringField})),t)||{},extensions:this.extensions&&this.extensions.length?this.extensions:void 0,reserved:this.reserved&&this.reserved.length?this.reserved:void 0,group:this.group||void 0,nested:e&&e.nested||void 0,comment:r?this.comment:void 0}},m.prototype.resolveAll=function(){for(var t=this.fieldsArray,e=0;e<t.length;)t[e++].resolve();var r=this.oneofsArray;for(e=0;e<r.length;)r[e++].resolve();return y.prototype.resolveAll.call(this)},m.prototype.get=function(t){return this.fields[t]||this.oneofs&&this.oneofs[t]||this.nested&&this.nested[t]||null},m.prototype.add=function(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);if(t instanceof n&&void 0===t.extend){if(this._fieldsById&&this._fieldsById[t.id])throw Error("duplicate id "+t.id+" in "+this);if(this.isReservedId(t.id))throw Error("id "+t.id+" is reserved in "+this);if(this.isReservedName(t.name))throw Error("name '"+t.name+"' is reserved in "+this);return t.parent&&t.parent.remove(t),this.fields[t.name]=t,t.message=this,t.onAdd(this),v(this)}return t instanceof s?(this.oneofs||(this.oneofs={}),this.oneofs[t.name]=t,t.onAdd(this),v(this)):y.prototype.add.call(this,t)},m.prototype.remove=function(t){if(t instanceof n&&void 0===t.extend){if(!this.fields||this.fields[t.name]!==t)throw Error(t+" is not a member of "+this);return delete this.fields[t.name],t.parent=null,t.onRemove(this),v(this)}if(t instanceof s){if(!this.oneofs||this.oneofs[t.name]!==t)throw Error(t+" is not a member of "+this);return delete this.oneofs[t.name],t.parent=null,t.onRemove(this),v(this)}return y.prototype.remove.call(this,t)},m.prototype.isReservedId=function(t){return y.isReservedId(this.reserved,t)},m.prototype.isReservedName=function(t){return y.isReservedName(this.reserved,t)},m.prototype.create=function(t){return new this.ctor(t)},m.prototype.setup=function(){for(var t=this.fullName,e=[],r=0;r<this.fieldsArray.length;++r)e.push(this._fieldsArray[r].resolve().resolvedType);this.decode=l(this)({Reader:a,types:e,util:u}),this.verify=h(this)({types:e,util:u}),this.fromObject=d.fromObject(this)({types:e,util:u}),this.toObject=d.toObject(this)({types:e,util:u});var i=c[t];if(i){var n=Object.create(this);n.fromObject=this.fromObject,this.fromObject=i.fromObject.bind(n),n.toObject=this.toObject,this.toObject=i.toObject.bind(n)}return this},m.prototype.encode=function(t,e){return this.setup().encode(t,e)},m.prototype.encodeDelimited=function(t,e){return this.encode(t,e&&e.len?e.fork():e).ldelim()},m.prototype.decode=function(t,e){return this.setup().decode(t,e)},m.prototype.decodeDelimited=function(t){return t instanceof a||(t=a.create(t)),this.decode(t,t.uint32())},m.prototype.verify=function(t){return this.setup().verify(t)},m.prototype.fromObject=function(t){return this.setup().fromObject(t)},m.prototype.toObject=function(t,e){return this.setup().toObject(t,e)},m.d=function(t){return function(e){u.decorateType(e,t)}},m._configure=function(){i=t(8),n=t(9),o=t(14),s=t(18),t(34),a=t(22),u=t(31),h=t(32),l=t(7),f=t(26),c=t(33),d=t(6),p=t(13)}},{13:13,14:14,16:16,18:18,22:22,26:26,31:31,32:32,33:33,34:34,6:6,7:7,8:8,9:9}],18:[function(t,e,r){"use strict";e.exports=s;var i,n,o=t(17);function s(t,e,r,i){if(Array.isArray(e)||(r=e,e=void 0),o.call(this,t,r),void 0!==e&&!Array.isArray(e))throw TypeError("fieldNames must be an Array");this.oneof=e||[],this.fieldsArray=[],this.comment=i}function a(t){if(t.parent)for(var e=0;e<t.fieldsArray.length;++e)t.fieldsArray[e].parent||t.parent.add(t.fieldsArray[e])}((s.prototype=Object.create(o.prototype)).constructor=s).className="OneOf",s.fromJSON=function(t,e){return new s(t,e.oneof,e.options,e.comment)},s.prototype.toJSON=function(t){var e=!!t&&Boolean(t.keepComments);return n.toObject(["options",this.options,"oneof",this.oneof,"comment",e?this.comment:void 0])},s.prototype.add=function(t){if(!(t instanceof i))throw TypeError("field must be a Field");return t.parent&&t.parent!==this.parent&&t.parent.remove(t),this.oneof.push(t.name),this.fieldsArray.push(t),t.partOf=this,a(this),this},s.prototype.remove=function(t){if(!(t instanceof i))throw TypeError("field must be a Field");var e=this.fieldsArray.indexOf(t);if(e<0)throw Error(t+" is not a member of "+this);return this.fieldsArray.splice(e,1),(e=this.oneof.indexOf(t.name))>-1&&this.oneof.splice(e,1),t.partOf=null,this},s.prototype.onAdd=function(t){o.prototype.onAdd.call(this,t);for(var e=0;e<this.oneof.length;++e){var r=t.get(this.oneof[e]);r&&!r.partOf&&(r.partOf=this,this.fieldsArray.push(r))}a(this)},s.prototype.onRemove=function(t){for(var e,r=0;r<this.fieldsArray.length;++r)(e=this.fieldsArray[r]).parent&&e.parent.remove(e);o.prototype.onRemove.call(this,t)},s.d=function(){for(var t=new Array(arguments.length),e=0;e<arguments.length;)t[e]=arguments[e++];return function(e,r){n.decorateType(e.constructor).add(new s(r,t)),Object.defineProperty(e,r,{get:n.oneOfGetter(t),set:n.oneOfSetter(t)})}},s._configure=function(){i=t(9),n=t(31)}},{17:17,31:31,9:9}],9:[function(t,e,r){"use strict";e.exports=h;var i,n,o,s,a=t(17);((h.prototype=Object.create(a.prototype)).constructor=h).className="Field";var u=/^required|optional|repeated$/;function h(t,e,r,i,s,h,l){if(o.isObject(i)?(l=s,h=i,i=s=void 0):o.isObject(s)&&(l=h,h=s,s=void 0),a.call(this,t,h),!o.isInteger(e)||e<0)throw TypeError("id must be a non-negative integer");if(!o.isString(r))throw TypeError("type must be a string");if(void 0!==i&&!u.test(i=i.toString().toLowerCase()))throw TypeError("rule must be a string rule");if(void 0!==s&&!o.isString(s))throw TypeError("extend must be a string");this.rule=i&&"optional"!==i?i:void 0,this.type=r,this.id=e,this.extend=s||void 0,this.required="required"===i,this.optional=!this.required,this.repeated="repeated"===i,this.map=!1,this.message=null,this.partOf=null,this.typeDefault=null,this.defaultValue=null,this.long=!!o.Long&&void 0!==n.long[r],this.bytes="bytes"===r,this.resolvedType=null,this.extensionField=null,this.declaringField=null,this._packed=null,this.comment=l}h.fromJSON=function(t,e){return new h(t,e.id,e.type,e.rule,e.extend,e.options,e.comment)},Object.defineProperty(h.prototype,"packed",{get:function(){return null===this._packed&&(this._packed=!1!==this.getOption("packed")),this._packed}}),h.prototype.setOption=function(t,e,r){return"packed"===t&&(this._packed=null),a.prototype.setOption.call(this,t,e,r)},h.prototype.toJSON=function(t){var e=!!t&&Boolean(t.keepComments);return o.toObject(["rule","optional"!==this.rule&&this.rule||void 0,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",e?this.comment:void 0])},h.prototype.resolve=function(){if(this.resolved)return this;if(void 0===(this.typeDefault=n.defaults[this.type])&&(this.resolvedType=(this.declaringField?this.declaringField.parent:this.parent).lookupTypeOrEnum(this.type),this.resolvedType instanceof s?this.typeDefault=null:this.typeDefault=this.resolvedType.values[Object.keys(this.resolvedType.values)[0]]),this.options&&null!=this.options.default&&(this.typeDefault=this.options.default,this.resolvedType instanceof i&&"string"==typeof this.typeDefault&&(this.typeDefault=this.resolvedType.values[this.typeDefault])),this.options&&(!0!==this.options.packed&&(void 0===this.options.packed||!this.resolvedType||this.resolvedType instanceof i)||delete this.options.packed,Object.keys(this.options).length||(this.options=void 0)),this.long)this.typeDefault=o.Long.fromNumber(this.typeDefault,"u"===this.type.charAt(0)),Object.freeze&&Object.freeze(this.typeDefault);else if(this.bytes&&"string"==typeof this.typeDefault){var t;o.utf8.write(this.typeDefault,t=o.newBuffer(o.utf8.length(this.typeDefault)),0),this.typeDefault=t}return this.map?this.defaultValue=o.emptyObject:this.repeated?this.defaultValue=o.emptyArray:this.defaultValue=this.typeDefault,this.parent instanceof s&&(this.parent.ctor.prototype[this.name]=this.defaultValue),a.prototype.resolve.call(this)},h.d=function(t,e,r,i){return"function"==typeof e?e=o.decorateType(e).name:e&&"object"==typeof e&&(e=o.decorateEnum(e).name),function(n,s){o.decorateType(n.constructor).add(new h(s,t,e,r,{default:i}))}},h._configure=function(){s=t(28),i=t(8),n=t(29),o=t(31)}},{17:17,28:28,29:29,31:31,8:8}],13:[function(t,e,r){"use strict";e.exports=s;var i,n,o=t(9);function s(t,e,r,i,s,a){if(o.call(this,t,e,i,void 0,void 0,s,a),!n.isString(r))throw TypeError("keyType must be a string");this.keyType=r,this.resolvedKeyType=null,this.map=!0}((s.prototype=Object.create(o.prototype)).constructor=s).className="MapField",s.fromJSON=function(t,e){return new s(t,e.id,e.keyType,e.type,e.options,e.comment)},s.prototype.toJSON=function(t){var e=!!t&&Boolean(t.keepComments);return n.toObject(["keyType",this.keyType,"type",this.type,"id",this.id,"extend",this.extend,"options",this.options,"comment",e?this.comment:void 0])},s.prototype.resolve=function(){if(this.resolved)return this;if(void 0===i.mapKey[this.keyType])throw Error("invalid key type: "+this.keyType);return o.prototype.resolve.call(this)},s.d=function(t,e,r){return"function"==typeof r?r=n.decorateType(r).name:r&&"object"==typeof r&&(r=n.decorateEnum(r).name),function(i,o){n.decorateType(i.constructor).add(new s(o,t,e,r))}},s._configure=function(){i=t(29),n=t(31)}},{29:29,31:31,9:9}],15:[function(t,e,r){"use strict";e.exports=o;var i,n=t(17);function o(t,e,r,o,s,a,u,h){if(i.isObject(s)?(u=s,s=a=void 0):i.isObject(a)&&(u=a,a=void 0),void 0!==e&&!i.isString(e))throw TypeError("type must be a string");if(!i.isString(r))throw TypeError("requestType must be a string");if(!i.isString(o))throw TypeError("responseType must be a string");n.call(this,t,u),this.type=e||"rpc",this.requestType=r,this.requestStream=!!s||void 0,this.responseType=o,this.responseStream=!!a||void 0,this.resolvedRequestType=null,this.resolvedResponseType=null,this.comment=h}((o.prototype=Object.create(n.prototype)).constructor=o).className="Method",o.fromJSON=function(t,e){return new o(t,e.type,e.requestType,e.responseType,e.requestStream,e.responseStream,e.options,e.comment)},o.prototype.toJSON=function(t){var e=!!t&&Boolean(t.keepComments);return i.toObject(["type","rpc"!==this.type&&this.type||void 0,"requestType",this.requestType,"requestStream",this.requestStream,"responseType",this.responseType,"responseStream",this.responseStream,"options",this.options,"comment",e?this.comment:void 0])},o.prototype.resolve=function(){return this.resolved?this:(this.resolvedRequestType=this.parent.lookupType(this.requestType),this.resolvedResponseType=this.parent.lookupType(this.responseType),n.prototype.resolve.call(this))},o._configure=function(){i=t(31)}},{17:17,31:31}],7:[function(t,e,r){"use strict";var i,n,o;function s(t){return"missing required '"+t.name+"'"}function a(t){return function(e){var r=e.Reader,a=e.types,u=e.util;return function(e,h){e instanceof r||(e=r.create(e));for(var l,f=void 0===h?e.len:e.pos+h,c=new this.ctor;e.pos<f;){var d=e.uint32();if(t.group&&4==(7&d))break;for(var p=d>>>3,y=0,m=!1;y<t.fieldsArray.length;++y){var v=t._fieldsArray[y].resolve(),g=v.name,b=v.resolvedType instanceof i?"int32":v.type;if(p==v.id){if(m=!0,v.map)e.skip().pos++,c[g]===u.emptyObject&&(c[g]={}),l=e[v.keyType](),e.pos++,n.long[v.keyType],null==n.basic[b]?c[g]["object"==typeof l?u.longToHash(l):l]=a[y].decode(e,e.uint32()):c[g]["object"==typeof l?u.longToHash(l):l]=e[b]();else if(v.repeated)if(c[g]&&c[g].length||(c[g]=[]),null!=n.packed[b]&&2==(7&d))for(var w=e.uint32()+e.pos;e.pos<w;)c[g].push(e[b]());else null==n.basic[b]?v.resolvedType.group?c[g].push(a[y].decode(e)):c[g].push(a[y].decode(e,e.uint32())):c[g].push(e[b]());else null==n.basic[b]?v.resolvedType.group?c[g]=a[y].decode(e):c[g]=a[y].decode(e,e.uint32()):c[g]=e[b]();break}}m||(console.log("t",d),e.skipType(7&d))}for(y=0;y<t._fieldsArray.length;++y){var _=t._fieldsArray[y];if(_.required&&!c.hasOwnProperty(_.name))throw o.ProtocolError(s(_),{instance:c})}return c}}}e.exports=a,a._configure=function(){i=t(8),n=t(29),o=t(31)}},{29:29,31:31,8:8}],14:[function(t,e,r){"use strict";var i;function n(t){if(t)for(var e=Object.keys(t),r=0;r<e.length;++r)this[e[r]]=t[e[r]]}e.exports=n,n.create=function(t){return this.$type.create(t)},n.encode=function(t,e){return arguments.length?1==arguments.length?this.$type.encode(arguments[0]):this.$type.encode(arguments[0],arguments[1]):this.$type.encode(this)},n.encodeDelimited=function(t,e){return this.$type.encodeDelimited(t,e)},n.decode=function(t){return this.$type.decode(t)},n.decodeDelimited=function(t){return this.$type.decodeDelimited(t)},n.verify=function(t){return this.$type.verify(t)},n.fromObject=function(t){return this.$type.fromObject(t)},n.toObject=function(t,e){return t=t||this,this.$type.toObject(t,e)},n.prototype.toJSON=function(){return this.$type.toObject(this,i.toJSONOptions)},n.set=function(t,e){n[t]=e},n.get=function(t){return n[t]},n._configure=function(){i=t(31)}},{31:31}],29:[function(t,e,r){"use strict";var i=e.exports,n=t(31),o=["double","float","int32","uint32","sint32","fixed32","sfixed32","int64","uint64","sint64","fixed64","sfixed64","bool","string","bytes"];function s(t,e){var r=0,i={};for(e|=0;r<t.length;)i[o[r+e]]=t[r++];return i}i.basic=s([1,5,0,0,0,5,5,0,0,0,1,1,0,2,2]),i.defaults=s([0,0,0,0,0,0,0,0,0,0,0,0,!1,"",n.emptyArray,null]),i.long=s([0,0,0,1,1],7),i.mapKey=s([0,0,0,5,5,0,0,0,1,1,0,2],2),i.packed=s([1,5,0,0,0,5,5,0,0,0,1,1,0]),i._configure=function(){n=t(31)}},{31:31}],33:[function(t,e,r){"use strict";var i,n=r;n[".google.protobuf.Any"]={fromObject:function(t){if(t&&t["@type"]){var e=this.lookup(t["@type"]);if(e){var r="."===t["@type"].charAt(0)?t["@type"].substr(1):t["@type"];return this.create({type_url:"/"+r,value:e.encode(e.fromObject(t)).finish()})}}return this.fromObject(t)},toObject:function(t,e){if(e&&e.json&&t.type_url&&t.value){var r=t.type_url.substring(t.type_url.lastIndexOf("/")+1),n=this.lookup(r);n&&(t=n.decode(t.value))}if(!(t instanceof this.ctor)&&t instanceof i){var o=t.$type.toObject(t,e);return o["@type"]=t.$type.fullName,o}return this.toObject(t,e)}},n._configure=function(){i=t(14)}},{14:14}],6:[function(t,e,r){"use strict";var i,n,o=e.exports;function s(t,e,r,o){var s=o.m,a=o.d,u=o.types,h=o.ksi,l=void 0!==h;if(t.resolvedType)if(t.resolvedType instanceof i){for(var f=l?a[r][h]:a[r],c=t.resolvedType.values,d=Object.keys(c),p=0;p<d.length;p++)if(!(t.repeated&&c[d[p]]===t.typeDefault||d[p]!=f&&c[d[p]]!=f)){l?s[r][h]=c[d[p]]:s[r]=c[d[p]];break}}else{if("object"!=typeof(l?a[r][h]:a[r]))throw TypeError(t.fullName+": object expected");l?s[r][h]=u[e].fromObject(a[r][h]):s[r]=u[e].fromObject(a[r])}else{var y=!1;switch(t.type){case"double":case"float":l?s[r][h]=Number(a[r][h]):s[r]=Number(a[r]);break;case"uint32":case"fixed32":l?s[r][h]=a[r][h]>>>0:s[r]=a[r]>>>0;break;case"int32":case"sint32":case"sfixed32":l?s[r][h]=0|a[r][h]:s[r]=0|a[r];break;case"uint64":y=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":n.Long?l?s[r][h]=n.Long.fromValue(a[r][h]).unsigned=y:s[r]=n.Long.fromValue(a[r]).unsigned=y:"string"==typeof(l?a[r][h]:a[r])?l?s[r][h]=parseInt(a[r][h],10):s[r]=parseInt(a[r],10):"number"==typeof(l?a[r][h]:a[r])?l?s[r][h]=a[r][h]:s[r]=a[r]:"object"==typeof(l?a[r][h]:a[r])&&(l?s[r][h]=new n.LongBits(a[r][h].low>>>0,a[r][h].high>>>0).toNumber(y):s[r]=new n.LongBits(a[r].low>>>0,a[r].high>>>0).toNumber(y));break;case"bytes":"string"==typeof(l?a[r][h]:a[r])?l?n.base64.decode(a[r][h],s[r][h]=n.newBuffer(n.base64.length(a[r][h])),0):n.base64.decode(a[r],s[r]=n.newBuffer(n.base64.length(a[r])),0):(l?a[r][h]:a[r]).length&&(l?s[r][h]=a[r][h]:s[r]=a[r]);break;case"string":l?s[r][h]=String(a[r][h]):s[r]=String(a[r]);break;case"bool":l?s[r][h]=Boolean(a[r][h]):s[r]=Boolean(a[r])}}}function a(t,e,r,o){var s=o.m,a=o.d,u=o.types,h=o.ksi,l=o.o,f=void 0!==h;if(t.resolvedType)t.resolvedType instanceof i?f?a[r][h]=l.enums===String?u[e].values[s[r][h]]:s[r][h]:a[r]=l.enums===String?u[e].values[s[r]]:s[r]:f?a[r][h]=u[e].toObject(s[r][h],l):a[r]=u[e].toObject(s[r],l);else{var c=!1;switch(t.type){case"double":case"float":f?a[r][h]=l.json&&!isFinite(s[r][h])?String(s[r][h]):s[r][h]:a[r]=l.json&&!isFinite(s[r])?String(s[r]):s[r];break;case"uint64":c=!0;case"int64":case"sint64":case"fixed64":case"sfixed64":"number"==typeof s[r][h]?f?a[r][h]=l.longs===String?String(s[r][h]):s[r][h]:a[r]=l.longs===String?String(s[r]):s[r]:f?a[r][h]=l.longs===String?n.Long.prototype.toString.call(s[r][h]):l.longs===Number?new n.LongBits(s[r][h].low>>>0,s[r][h].high>>>0).toNumber(c):s[r][h]:a[r]=l.longs===String?n.Long.prototype.toString.call(s[r]):l.longs===Number?new n.LongBits(s[r].low>>>0,s[r].high>>>0).toNumber(c):s[r];break;case"bytes":f?a[r][h]=l.bytes===String?n.base64.encode(s[r][h],0,s[r][h].length):l.bytes===Array?Array.prototype.slice.call(s[r][h]):s[r][h]:a[r]=l.bytes===String?n.base64.encode(s[r],0,s[r].length):l.bytes===Array?Array.prototype.slice.call(s[r]):s[r];break;default:f?a[r][h]=s[r][h]:a[r]=s[r]}}}o._configure=function(){i=t(8),n=t(31)},o.fromObject=function(t){var e=t.fieldsArray;return function(t){return function(r){if(r instanceof this.ctor)return r;if(!e.length)return new this.ctor;for(var o=new this.ctor,a=0;a<e.length;++a){var u,h=e[a].resolve(),l=h.name;if(h.map){if(r[l]){if("object"!=typeof r[l])throw TypeError(h.fullName+": object expected");o[l]={}}var f=Object.keys(r[l]);for(u=0;u<f.length;++u)s(h,a,l,n.merge(n.copy(t),{m:o,d:r,ksi:f[u]}))}else if(h.repeated){if(r[l]){if(!Array.isArray(r[l]))throw TypeError(h.fullName+": array expected");for(o[l]=[],u=0;u<r[l].length;++u)s(h,a,l,n.merge(n.copy(t),{m:o,d:r,ksi:u}))}}else(h.resolvedType instanceof i||null!=r[l])&&s(h,a,l,n.merge(n.copy(t),{m:o,d:r}))}return o}}},o.toObject=function(t){var e=t.fieldsArray.slice().sort(n.compareFieldsById);return function(r){return e.length?function(o,s){s=s||{};for(var u,h,l={},f=[],c=[],d=[],p=0;p<e.length;++p)e[p].partOf||(e[p].resolve().repeated?f:e[p].map?c:d).push(e[p]);if(f.length&&(s.arrays||s.defaults))for(p=0;p<f.length;++p)l[f[p].name]=[];if(c.length&&(s.objects||s.defaults))for(p=0;p<c.length;++p)l[c[p].name]={};if(d.length&&s.defaults)for(p=0;p<d.length;++p)if(h=(u=d[p]).name,u.resolvedType instanceof i)l[h]=s.enums=String?u.resolvedType.valuesById[u.typeDefault]:u.typeDefault;else if(u.long)if(n.Long){var y=new n.Long(u.typeDefault.low,u.typeDefault.high,u.typeDefault.unsigned);l[h]=s.longs===String?y.toString():s.longs===Number?y.toNumber():y}else l[h]=s.longs===String?u.typeDefault.toString():u.typeDefault.toNumber();else u.bytes?l[h]=s.bytes===String?String.fromCharCode.apply(String,u.typeDefault):Array.prototype.slice.call(u.typeDefault).join("*..*").split("*..*"):l[h]=u.typeDefault;var m=!1;for(p=0;p<e.length;++p){h=(u=e[p]).name;var v,g,b=t._fieldsArray.indexOf(u);if(u.map){if(m||(m=!0),o[h]&&(v=Object.keys(o[h]).length))for(l[h]={},g=0;g<v.length;++g)a(u,b,h,n.merge(n.copy(r),{m:o,d:l,ksi:v[g],o:s}))}else if(u.repeated){if(o[h]&&o[h].length)for(l[h]=[],g=0;g<o[h].length;++g)a(u,b,h,n.merge(n.copy(r),{m:o,d:l,ksi:g,o:s}))}else null!=o[h]&&o.hasOwnProperty(h)&&a(u,b,h,n.merge(n.copy(r),{m:o,d:l,o:s})),u.partOf&&s.oneofs&&(l[u.partOf.name]=h)}return l}:function(){return{}}}}},{31:31,8:8}],26:[function(t,e,r){"use strict";e.exports=a;var i,n,o,s=t(16);function a(t,e){s.call(this,t,e),this.methods={},this._methodsArray=null}function u(t){return t._methodsArray=null,t}((a.prototype=Object.create(s.prototype)).constructor=a).className="Service",a.fromJSON=function(t,e){var r=new a(t,e.options);if(e.methods)for(var n=Object.keys(e.methods),o=0;o<n.length;++o)r.add(i.fromJSON(n[o],e.methods[n[o]]));return e.nested&&r.addJSON(e.nested),r.comment=e.comment,r},a.prototype.toJSON=function(t){var e=s.prototype.toJSON.call(this,t),r=!!t&&Boolean(t.keepComments);return n.toObject(["options",e&&e.options||void 0,"methods",s.arrayToJSON(this.methodsArray,t)||{},"nested",e&&e.nested||void 0,"comment",r?this.comment:void 0])},Object.defineProperty(a.prototype,"methodsArray",{get:function(){return this._methodsArray||(this._methodsArray=n.toArray(this.methods))}}),a.prototype.get=function(t){return this.methods[t]||s.prototype.get.call(this,t)},a.prototype.resolveAll=function(){for(var t=this.methodsArray,e=0;e<t.length;++e)t[e].resolve();return s.prototype.resolve.call(this)},a.prototype.add=function(t){if(this.get(t.name))throw Error("duplicate name '"+t.name+"' in "+this);return t instanceof i?(this.methods[t.name]=t,t.parent=this,u(this)):s.prototype.add.call(this,t)},a.prototype.remove=function(t){if(t instanceof i){if(this.methods[t.name]!==t)throw Error(t+" is not a member of "+this);return delete this.methods[t.name],t.parent=null,u(this)}return s.prototype.remove.call(this,t)},a.prototype.create=function(t,e,r){for(var i,s=new o.Service(t,e,r),a=0;a<this.methodsArray.length;++a){var u=n.lcFirst((i=this._methodsArray[a]).resolve().name).replace(/[^$\w_]/g,"");s[u]=n.codegen(["r","c"],n.isReserved(u)?u+"_":u)("return this.rpcCall(m,q,s,r,c)")({m:i,q:i.resolvedRequestType.ctor,s:i.resolvedResponseType.ctor})}return s},a._configure=function(){i=t(15),n=t(31),o=t(25)}},{15:15,16:16,25:25,31:31}],34:[function(t,e,r){"use strict";e.exports=h;var i,n=t(31),o=t(30);function s(t,e,r){this.fn=t,this.len=e,this.next=void 0,this.val=r}function a(){}function u(t){this.head=t.head,this.tail=t.tail,this.len=t.len,this.next=t.states}function h(){this.len=0,this.head=new s(a,0,0),this.tail=this.head,this.states=null}function l(t,e,r){e[r]=255&t}function f(t,e){this.len=t,this.next=void 0,this.val=e}function c(t,e,r){for(;t.hi;)e[r++]=127&t.lo|128,t.lo=(t.lo>>>7|t.hi<<25)>>>0,t.hi>>>=7;for(;t.lo>127;)e[r++]=127&t.lo|128,t.lo=t.lo>>>7;e[r++]=t.lo}function d(t,e,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}h.create=n.Buffer?function(){return(h.create=function(){return new(void 0)})()}:function(){return new h},h.alloc=function(t){return new n.Array(t)},n.Array!==Array&&(h.alloc=n.pool(h.alloc,n.Array.prototype.subarray)),h.prototype._push=function(t,e,r){return this.tail=this.tail.next=new s(t,e,r),this.len+=e,this},f.prototype=Object.create(s.prototype),f.prototype.fn=function(t,e,r){for(;t>127;)e[r++]=127&t|128,t>>>=7;e[r]=t},h.prototype.uint32=function(t){return this.len+=(this.tail=this.tail.next=new f((t>>>=0)<128?1:t<16384?2:t<2097152?3:t<268435456?4:5,t)).len,this},h.prototype.int32=function(t){return t<0?this._push(c,10,i.fromNumber(t)):this.uint32(t)},h.prototype.sint32=function(t){return this.uint32((t<<1^t>>31)>>>0)},h.prototype.uint64=function(t){var e=i.from(t);return this._push(c,e.length(),e)},h.prototype.int64=h.prototype.uint64,h.prototype.sint64=function(t){var e=i.from(t).zzEncode();return this._push(c,e.length(),e)},h.prototype.bool=function(t){return this._push(l,1,t?1:0)},h.prototype.fixed32=function(t){return this._push(d,4,t>>>0)},h.prototype.sfixed32=h.prototype.fixed32,h.prototype.fixed64=function(t){var e=i.from(t);return this._push(d,4,e.lo)._push(d,4,e.hi)},h.prototype.sfixed64=h.prototype.fixed64,h.prototype.float=function(t){return this._push(n.float.writeFloatLE,4,t)},h.prototype.double=function(t){return this._push(n.float.writeDoubleLE,8,t)};var p=n.Array.prototype.set?function(t,e,r){e.set(t,r)}:function(t,e,r){for(var i=0;i<t.length;++i)e[r+i]=t[i]};h.prototype.bytes=function(t){var e=t.length>>>0;if(!e)return this._push(l,1,0);if(n.isString(t)){var r=h.alloc(e=o.length(t));o.write(t,r,0),t=r}return this.uint32(e)._push(p,e,t)},h.prototype.string=function(t){var e=o.length(t);return e?this.uint32(e)._push(o.write,e,t):this._push(l,1,0)},h.prototype.fork=function(){return this.states=new u(this),this.head=this.tail=new s(a,0,0),this.len=0,this},h.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 s(a,0,0),this.len=0),this},h.prototype.ldelim=function(){var t=this.head,e=this.tail,r=this.len;return this.reset().uint32(r),r&&(this.tail.next=t.next,this.tail=e,this.len+=r),this},h.prototype.finish=function(){for(var t=this.head.next,e=this.constructor.alloc(this.len),r=0;t;)t.fn(t.val,e,r),r+=t.len,t=t.next;return e},h._configure=function(){i=t(12),t(4),o=t(30)}},{12:12,30:30,31:31,4:4}],31:[function(t,e,r){"use strict";var i=e.exports,n=t(24);i.LongBits=t(12),i.Long=t(11),i.pool=t(21),i.float=t(10),i.asPromise=t(3),i.EventEmitter=t(2),i.path=t(20),i.base64=t(4),i.utf8=t(30),i.compareFieldsById=function(t,e){return t.id-e.id},i.toArray=function(t){if(t){for(var e=Object.keys(t),r=new Array(e.length),i=0;i<e.length;)r[i]=t[e[i++]];return r}return[]},i.toObject=function(t){for(var e={},r=0;r<t.length;){var i=t[r++],n=t[r++];void 0!==n&&(e[i]=n)}return e},i.isString=function(t){return"string"==typeof t||t instanceof String},i.isReserved=function(t){return/^(?:do|if|in|for|let|new|try|var|case|else|enum|eval|false|null|this|true|void|with|break|catch|class|const|super|throw|while|yield|delete|export|import|public|return|static|switch|typeof|default|extends|finally|package|private|continue|debugger|function|arguments|interface|protected|implements|instanceof)$/.test(t)},i.isObject=function(t){return t&&"object"==typeof t},i.Array="undefined"!=typeof Uint8Array?Uint8Array:Array,i.oneOfGetter=function(t){for(var e={},r=0;r<t.length;++r)e[t[r]]=1;return function(){for(var t=Object.keys(this),r=t.length-1;r>-1;--r)if(1===e[t[r]]&&void 0!==this[t[r]]&&null!==this[t[r]])return t[r]}},i.oneOfSetter=function(t){return function(e){for(var r=0;r<t.length;++r)t[r]!==e&&delete this[t[r]]}},i.merge=function(t,e,r){for(var i=Object.keys(e),n=0;n<i.length;++n)void 0!==t[i[n]]&&r||(t[i[n]]=e[i[n]]);return t},i.decorateType=function(e,r){if(e.$type)return r&&e.$type.name!==r&&(i.decorateRoot.remove(e.$type),e.$type.name=r,i.decorateRoot.add(e.$type)),e.$type;Type||(Type=t(28));var n=new Type(r||e.name);return i.decorateRoot.add(n),n.ctor=e,Object.defineProperty(e,"$type",{value:n,enumerable:!1}),Object.defineProperty(e.prototype,"$type",{value:n,enumerable:!1}),n},i.emptyArray=Object.freeze?Object.freeze([]):[],i.emptyObject=Object.freeze?Object.freeze({}):{},i.longToHash=function(t){return t?i.LongBits.from(t).toHash():i.LongBits.zeroHash},i.copy=function(t){if("object"!=typeof t)return t;var e={};for(var r in t)e[r]=t[r];return e},i.deepCopy=function t(e){if("object"!=typeof e)return e;var r={};for(var i in e)r[i]=t(e[i]);return r},i.ProtocolError=function(t){function e(t,r){if(!(this instanceof e))return new e(t,r);Object.defineProperty(this,"message",{get:function(){return t}}),Error.captureStackTrace?Error.captureStackTrace(this,e):Object.defineProperty(this,"stack",{value:(new Error).stack||""}),r&&merge(this,r)}return(e.prototype=Object.create(Error.prototype)).constructor=e,Object.defineProperty(e.prototype,"name",{get:function(){return t}}),e.prototype.toString=function(){return this.name+": "+this.message},e},i.toJSONOptions={longs:String,enums:String,bytes:String,json:!0},i.Buffer=null,i.newBuffer=function(t){return"number"==typeof t?new i.Array(t):"undefined"==typeof Uint8Array?t:new Uint8Array(t)},i.stringToBytes=function(t){var e,r,i=[];e=t.length;for(var n=0;n<e;n++)(r=t.charCodeAt(n))>=65536&&r<=1114111?(i.push(r>>18&7|240),i.push(r>>12&63|128),i.push(r>>6&63|128),i.push(63&r|128)):r>=2048&&r<=65535?(i.push(r>>12&15|224),i.push(r>>6&63|128),i.push(63&r|128)):r>=128&&r<=2047?(i.push(r>>6&31|192),i.push(63&r|128)):i.push(255&r);return i},i.byteToString=function(t){if("string"==typeof t)return t;for(var e="",r=t,i=0;i<r.length;i++){var n=r[i].toString(2),o=n.match(/^1+?(?=0)/);if(o&&8==n.length){for(var s=o[0].length,a=r[i].toString(2).slice(7-s),u=1;u<s;u++)a+=r[u+i].toString(2).slice(2);e+=String.fromCharCode(parseInt(a,2)),i+=s-1}else e+=String.fromCharCode(r[i])}return e},i.isInteger=Number.isInteger||function(t){return"number"==typeof t&&isFinite(t)&&Math.floor(t)===t},Object.defineProperty(i,"decorateRoot",{get:function(){return n.decorated||(n.decorated=new(t(23)))}})},{10:10,11:11,12:12,2:2,20:20,21:21,23:23,24:24,28:28,3:3,30:30,4:4}],25:[function(t,e,r){"use strict";e.exports=n;var i=t(31);function n(t,e,r){if("function"!=typeof t)throw TypeError("rpcImpl must be a function");i.EventEmitter.call(this),this.rpcImpl=t,this.requestDelimited=Boolean(e),this.responseDelimited=Boolean(r)}(n.prototype=Object.create(i.EventEmitter.prototype)).constructor=n,n.prototype.rpcCall=function t(e,r,n,o,s){if(!o)throw TypeError("request must be specified");var a=this;if(!s)return i.asPromise(t,a,e,r,n,o);if(a.rpcImpl)try{return a.rpcImpl(e,r[a.requestDelimited?"encodeDelimited":"encode"](o).finish(),(function(t,r){if(t)return a.emit("error",t,e),s(t);if(null!==r){if(!(r instanceof n))try{r=n[a.responseDelimited?"decodeDelimited":"decode"](r)}catch(t){return a.emit("error",t,e),s(t)}return a.emit("data",r,e),s(null,r)}a.end(!0)}))}catch(u){return a.emit("error",u,e),void setTimeout((function(){s(u)}),0)}else setTimeout((function(){s(Error("already ended"))}),0)},n.prototype.end=function(t){return this.rpcImpl&&(t||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off()),this}},{31:31}],2:[function(t,e,r){"use strict";function i(){this._listeners={}}e.exports=i,i.prototype.on=function(t,e,r){return(this._listeners[t]||(this._listeners[t]=[])).push({fn:e,ctx:r||this}),this},i.prototype.off=function(t,e){if(void 0===t)this._listeners={};else if(void 0===e)this._listeners[t]=[];else for(var r=this._listeners[t],i=0;i<r.length;)r[i].fn===e?r.splice(i,1):++i;return this},i.prototype.emit=function(t){var e=this._listeners[t];if(e){for(var r=[],i=1;i<arguments.length;)r.push(arguments[i++]);for(i=0;i<e.length;)e[i].fn.apply(e[i++].ctx,r)}return this}},{}],3:[function(t,e,r){"use strict";e.exports=function(t,e){for(var r=new Array(arguments.length-1),i=0,n=2,o=!0;n<arguments.length;)r[i++]=arguments[n++];return new Promise((function(n,s){r[i]=function(t){if(o)if(o=!1,t)s(t);else{for(var e=new Array(arguments.length-1),r=0;r<e.length;)e[r++]=arguments[r];n.apply(null,e)}};try{t.apply(e||null,r)}catch(a){o&&(o=!1,s(a))}}))}},{}],4:[function(t,e,r){"use strict";var i=e.exports;i.length=function(t){var e=t.length;if(!e)return 0;for(var r=0;--e%4>1&&"="===t.charAt(e);)++r;return Math.ceil(3*t.length)/4-r};for(var n=new Array(64),o=new Array(123),s=0;s<64;)o[n[s]=s<26?s+65:s<52?s+71:s<62?s-4:s-59|43]=s++;i.encode=function(t,e,r){for(var i,o=null,s=[],a=0,u=0;e<r;){var h=t[e++];switch(u){case 0:s[a++]=n[h>>2],i=(3&h)<<4,u=1;break;case 1:s[a++]=n[i|h>>4],i=(15&h)<<2,u=2;break;case 2:s[a++]=n[i|h>>6],s[a++]=n[63&h],u=0}a>8191&&((o||(o=[])).push(String.fromCharCode.apply(String,s)),a=0)}return u&&(s[a++]=n[i],s[a++]=61,1===u&&(s[a++]=61)),o?(a&&o.push(String.fromCharCode.apply(String,s.slice(0,a))),o.join("")):String.fromCharCode.apply(String,s.slice(0,a))},i.decode=function(t,e,r){for(var i,n=r,s=0,a=0;a<t.length;){var u=t.charCodeAt(a++);if(61===u&&s>1)break;if(void 0===(u=o[u]))throw Error("invalid encoding");switch(s){case 0:i=u,s=1;break;case 1:e[r++]=i<<2|(48&u)>>4,i=u,s=2;break;case 2:e[r++]=(15&i)<<4|(60&u)>>2,i=u,s=3;break;case 3:e[r++]=(3&i)<<6|u,s=0}}if(1===s)throw Error("invalid encoding");return r-n},i.test=function(t){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(t)}},{}],10:[function(t,e,r){"use strict";function i(t){return"undefined"!=typeof Float32Array?function(){var e=new Float32Array([-0]),r=new Uint8Array(e.buffer),i=128===r[3];function n(t,i,n){e[0]=t,i[n]=r[0],i[n+1]=r[1],i[n+2]=r[2],i[n+3]=r[3]}function o(t,i,n){e[0]=t,i[n]=r[3],i[n+1]=r[2],i[n+2]=r[1],i[n+3]=r[0]}function s(t,i){return r[0]=t[i],r[1]=t[i+1],r[2]=t[i+2],r[3]=t[i+3],e[0]}function a(t,i){return r[3]=t[i],r[2]=t[i+1],r[1]=t[i+2],r[0]=t[i+3],e[0]}t.writeFloatLE=i?n:o,t.writeFloatBE=i?o:n,t.readFloatLE=i?s:a,t.readFloatBE=i?a:s}():function(){function e(t,e,r,i){var n=e<0?1:0;if(n&&(e=-e),0===e)t(1/e>0?0:2147483648,r,i);else if(isNaN(e))t(2143289344,r,i);else if(e>34028234663852886e22)t((n<<31|2139095040)>>>0,r,i);else if(e<11754943508222875e-54)t((n<<31|Math.round(e/1401298464324817e-60))>>>0,r,i);else{var o=Math.floor(Math.log(e)/Math.LN2);t((n<<31|o+127<<23|8388607&Math.round(e*Math.pow(2,-o)*8388608))>>>0,r,i)}}function r(t,e,r){var i=t(e,r),n=2*(i>>31)+1,o=i>>>23&255,s=8388607&i;return 255===o?s?NaN:n*(1/0):0===o?1401298464324817e-60*n*s:n*Math.pow(2,o-150)*(s+8388608)}t.writeFloatLE=e.bind(null,n),t.writeFloatBE=e.bind(null,o),t.readFloatLE=r.bind(null,s),t.readFloatBE=r.bind(null,a)}(),"undefined"!=typeof Float64Array?function(){var e=new Float64Array([-0]),r=new Uint8Array(e.buffer),i=128===r[7];function n(t,i,n){e[0]=t,i[n]=r[0],i[n+1]=r[1],i[n+2]=r[2],i[n+3]=r[3],i[n+4]=r[4],i[n+5]=r[5],i[n+6]=r[6],i[n+7]=r[7]}function o(t,i,n){e[0]=t,i[n]=r[7],i[n+1]=r[6],i[n+2]=r[5],i[n+3]=r[4],i[n+4]=r[3],i[n+5]=r[2],i[n+6]=r[1],i[n+7]=r[0]}function s(t,i){return r[0]=t[i],r[1]=t[i+1],r[2]=t[i+2],r[3]=t[i+3],r[4]=t[i+4],r[5]=t[i+5],r[6]=t[i+6],r[7]=t[i+7],e[0]}function a(t,i){return r[7]=t[i],r[6]=t[i+1],r[5]=t[i+2],r[4]=t[i+3],r[3]=t[i+4],r[2]=t[i+5],r[1]=t[i+6],r[0]=t[i+7],e[0]}t.writeDoubleLE=i?n:o,t.writeDoubleBE=i?o:n,t.readDoubleLE=i?s:a,t.readDoubleBE=i?a:s}():function(){function e(t,e,r,i,n,o){var s=i<0?1:0;if(s&&(i=-i),0===i)t(0,n,o+e),t(1/i>0?0:2147483648,n,o+r);else if(isNaN(i))t(0,n,o+e),t(2146959360,n,o+r);else if(i>17976931348623157e292)t(0,n,o+e),t((s<<31|2146435072)>>>0,n,o+r);else{var a;if(i<22250738585072014e-324)t((a=i/5e-324)>>>0,n,o+e),t((s<<31|a/4294967296)>>>0,n,o+r);else{var u=Math.floor(Math.log(i)/Math.LN2);1024===u&&(u=1023),t(4503599627370496*(a=i*Math.pow(2,-u))>>>0,n,o+e),t((s<<31|u+1023<<20|1048576*a&1048575)>>>0,n,o+r)}}}function r(t,e,r,i,n){var o=t(i,n+e),s=t(i,n+r),a=2*(s>>31)+1,u=s>>>20&2047,h=4294967296*(1048575&s)+o;return 2047===u?h?NaN:a*(1/0):0===u?5e-324*a*h:a*Math.pow(2,u-1075)*(h+4503599627370496)}t.writeDoubleLE=e.bind(null,n,0,4),t.writeDoubleBE=e.bind(null,o,4,0),t.readDoubleLE=r.bind(null,s,0,4),t.readDoubleBE=r.bind(null,a,4,0)}(),t}function n(t,e,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24}function o(t,e,r){e[r]=t>>>24,e[r+1]=t>>>16&255,e[r+2]=t>>>8&255,e[r+3]=255&t}function s(t,e){return(t[e]|t[e+1]<<8|t[e+2]<<16|t[e+3]<<24)>>>0}function a(t,e){return(t[e]<<24|t[e+1]<<16|t[e+2]<<8|t[e+3])>>>0}e.exports=i(i)},{}],11:[function(t,e,r){"use strict";e.exports=n;var i=null;try{i=new WebAssembly.Instance(new WebAssembly.Module(new Uint8Array([0,97,115,109,1,0,0,0,1,13,2,96,0,1,127,96,4,127,127,127,127,1,127,3,7,6,0,1,1,1,1,1,6,6,1,127,1,65,0,11,7,50,6,3,109,117,108,0,1,5,100,105,118,95,115,0,2,5,100,105,118,95,117,0,3,5,114,101,109,95,115,0,4,5,114,101,109,95,117,0,5,8,103,101,116,95,104,105,103,104,0,0,10,191,1,6,4,0,35,0,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,126,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,127,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,128,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,129,34,4,66,32,135,167,36,0,32,4,167,11,36,1,1,126,32,0,173,32,1,173,66,32,134,132,32,2,173,32,3,173,66,32,134,132,130,34,4,66,32,135,167,36,0,32,4,167,11])),{}).exports}catch(E){}function n(t,e,r){this.low=0|t,this.high=0|e,this.unsigned=!!r}function o(t){return!0===(t&&t.__isLong__)}n.prototype.__isLong__,Object.defineProperty(n.prototype,"__isLong__",{value:!0}),n.isLong=o;var s={},a={};function u(t,e){var r,i,n;return e?(n=0<=(t>>>=0)&&t<256)&&(i=a[t])?i:(r=l(t,(0|t)<0?-1:0,!0),n&&(a[t]=r),r):(n=-128<=(t|=0)&&t<128)&&(i=s[t])?i:(r=l(t,t<0?-1:0,!1),n&&(s[t]=r),r)}function h(t,e){if(isNaN(t))return e?b:g;if(e){if(t<0)return b;if(t>=y)return A}else{if(t<=-m)return O;if(t+1>=m)return k}return t<0?h(-t,e).neg():l(t%p|0,t/p|0,e)}function l(t,e,r){return new n(t,e,r)}n.fromInt=u,n.fromNumber=h,n.fromBits=l;var f=Math.pow;function c(t,e,r){if(0===t.length)throw Error("empty string");if("NaN"===t||"Infinity"===t||"+Infinity"===t||"-Infinity"===t)return g;if("number"==typeof e?(r=e,e=!1):e=!!e,(r=r||10)<2||36<r)throw RangeError("radix");var i;if((i=t.indexOf("-"))>0)throw Error("interior hyphen");if(0===i)return c(t.substring(1),e,r).neg();for(var n=h(f(r,8)),o=g,s=0;s<t.length;s+=8){var a=Math.min(8,t.length-s),u=parseInt(t.substring(s,s+a),r);if(a<8){var l=h(f(r,a));o=o.mul(l).add(h(u))}else o=(o=o.mul(n)).add(h(u))}return o.unsigned=e,o}function d(t,e){return"number"==typeof t?h(t,e):"string"==typeof t?c(t,e):l(t.low,t.high,"boolean"==typeof e?e:t.unsigned)}n.fromString=c,n.fromValue=d;var p=4294967296,y=p*p,m=y/2,v=u(1<<24),g=u(0);n.ZERO=g;var b=u(0,!0);n.UZERO=b;var w=u(1);n.ONE=w;var _=u(1,!0);n.UONE=_;var x=u(-1);n.NEG_ONE=x;var k=l(-1,2147483647,!1);n.MAX_VALUE=k;var A=l(-1,-1,!0);n.MAX_UNSIGNED_VALUE=A;var O=l(0,-2147483648,!1);n.MIN_VALUE=O;var S=n.prototype;S.toInt=function(){return this.unsigned?this.low>>>0:this.low},S.toNumber=function(){return this.unsigned?(this.high>>>0)*p+(this.low>>>0):this.high*p+(this.low>>>0)},S.toString=function(t){if((t=t||10)<2||36<t)throw RangeError("radix");if(this.isZero())return"0";if(this.isNegative()){if(this.eq(O)){var e=h(t),r=this.div(e),i=r.mul(e).sub(this);return r.toString(t)+i.toInt().toString(t)}return"-"+this.neg().toString(t)}for(var n=h(f(t,6),this.unsigned),o=this,s="";;){var a=o.div(n),u=(o.sub(a.mul(n)).toInt()>>>0).toString(t);if((o=a).isZero())return u+s;for(;u.length<6;)u="0"+u;s=""+u+s}},S.getHighBits=function(){return this.high},S.getHighBitsUnsigned=function(){return this.high>>>0},S.getLowBits=function(){return this.low},S.getLowBitsUnsigned=function(){return this.low>>>0},S.getNumBitsAbs=function(){if(this.isNegative())return this.eq(O)?64:this.neg().getNumBitsAbs();for(var t=0!=this.high?this.high:this.low,e=31;e>0&&0==(t&1<<e);e--);return 0!=this.high?e+33:e+1},S.isZero=function(){return 0===this.high&&0===this.low},S.eqz=S.isZero,S.isNegative=function(){return!this.unsigned&&this.high<0},S.isPositive=function(){return this.unsigned||this.high>=0},S.isOdd=function(){return 1==(1&this.low)},S.isEven=function(){return 0==(1&this.low)},S.equals=function(t){return o(t)||(t=d(t)),(this.unsigned===t.unsigned||this.high>>>31!=1||t.high>>>31!=1)&&this.high===t.high&&this.low===t.low},S.eq=S.equals,S.notEquals=function(t){return!this.eq(t)},S.neq=S.notEquals,S.ne=S.notEquals,S.lessThan=function(t){return this.comp(t)<0},S.lt=S.lessThan,S.lessThanOrEqual=function(t){return this.comp(t)<=0},S.lte=S.lessThanOrEqual,S.le=S.lessThanOrEqual,S.greaterThan=function(t){return this.comp(t)>0},S.gt=S.greaterThan,S.greaterThanOrEqual=function(t){return this.comp(t)>=0},S.gte=S.greaterThanOrEqual,S.ge=S.greaterThanOrEqual,S.compare=function(t){if(o(t)||(t=d(t)),this.eq(t))return 0;var e=this.isNegative(),r=t.isNegative();return e&&!r?-1:!e&&r?1:this.unsigned?t.high>>>0>this.high>>>0||t.high===this.high&&t.low>>>0>this.low>>>0?-1:1:this.sub(t).isNegative()?-1:1},S.comp=S.compare,S.negate=function(){return!this.unsigned&&this.eq(O)?O:this.not().add(w)},S.neg=S.negate,S.add=function(t){o(t)||(t=d(t));var e=this.high>>>16,r=65535&this.high,i=this.low>>>16,n=65535&this.low,s=t.high>>>16,a=65535&t.high,u=t.low>>>16,h=0,f=0,c=0,p=0;return c+=(p+=n+(65535&t.low))>>>16,f+=(c+=i+u)>>>16,h+=(f+=r+a)>>>16,h+=e+s,l((c&=65535)<<16|(p&=65535),(h&=65535)<<16|(f&=65535),this.unsigned)},S.subtract=function(t){return o(t)||(t=d(t)),this.add(t.neg())},S.sub=S.subtract,S.multiply=function(t){if(this.isZero())return g;if(o(t)||(t=d(t)),i)return l(i.mul(this.low,this.high,t.low,t.high),i.get_high(),this.unsigned);if(t.isZero())return g;if(this.eq(O))return t.isOdd()?O:g;if(t.eq(O))return this.isOdd()?O:g;if(this.isNegative())return t.isNegative()?this.neg().mul(t.neg()):this.neg().mul(t).neg();if(t.isNegative())return this.mul(t.neg()).neg();if(this.lt(v)&&t.lt(v))return h(this.toNumber()*t.toNumber(),this.unsigned);var e=this.high>>>16,r=65535&this.high,n=this.low>>>16,s=65535&this.low,a=t.high>>>16,u=65535&t.high,f=t.low>>>16,c=65535&t.low,p=0,y=0,m=0,b=0;return m+=(b+=s*c)>>>16,y+=(m+=n*c)>>>16,m&=65535,y+=(m+=s*f)>>>16,p+=(y+=r*c)>>>16,y&=65535,p+=(y+=n*f)>>>16,y&=65535,p+=(y+=s*u)>>>16,p+=e*c+r*f+n*u+s*a,l((m&=65535)<<16|(b&=65535),(p&=65535)<<16|(y&=65535),this.unsigned)},S.mul=S.multiply,S.divide=function(t){if(o(t)||(t=d(t)),t.isZero())throw Error("division by zero");var e,r,n;if(i)return this.unsigned||-2147483648!==this.high||-1!==t.low||-1!==t.high?l((this.unsigned?i.div_u:i.div_s)(this.low,this.high,t.low,t.high),i.get_high(),this.unsigned):this;if(this.isZero())return this.unsigned?b:g;if(this.unsigned){if(t.unsigned||(t=t.toUnsigned()),t.gt(this))return b;if(t.gt(this.shru(1)))return _;n=b}else{if(this.eq(O))return t.eq(w)||t.eq(x)?O:t.eq(O)?w:(e=this.shr(1).div(t).shl(1)).eq(g)?t.isNegative()?w:x:(r=this.sub(t.mul(e)),n=e.add(r.div(t)));if(t.eq(O))return this.unsigned?b:g;if(this.isNegative())return t.isNegative()?this.neg().div(t.neg()):this.neg().div(t).neg();if(t.isNegative())return this.div(t.neg()).neg();n=g}for(r=this;r.gte(t);){e=Math.max(1,Math.floor(r.toNumber()/t.toNumber()));for(var s=Math.ceil(Math.log(e)/Math.LN2),a=s<=48?1:f(2,s-48),u=h(e),c=u.mul(t);c.isNegative()||c.gt(r);)c=(u=h(e-=a,this.unsigned)).mul(t);u.isZero()&&(u=w),n=n.add(u),r=r.sub(c)}return n},S.div=S.divide,S.modulo=function(t){return o(t)||(t=d(t)),i?l((this.unsigned?i.rem_u:i.rem_s)(this.low,this.high,t.low,t.high),i.get_high(),this.unsigned):this.sub(this.div(t).mul(t))},S.mod=S.modulo,S.rem=S.modulo,S.not=function(){return l(~this.low,~this.high,this.unsigned)},S.and=function(t){return o(t)||(t=d(t)),l(this.low&t.low,this.high&t.high,this.unsigned)},S.or=function(t){return o(t)||(t=d(t)),l(this.low|t.low,this.high|t.high,this.unsigned)},S.xor=function(t){return o(t)||(t=d(t)),l(this.low^t.low,this.high^t.high,this.unsigned)},S.shiftLeft=function(t){return o(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?l(this.low<<t,this.high<<t|this.low>>>32-t,this.unsigned):l(0,this.low<<t-32,this.unsigned)},S.shl=S.shiftLeft,S.shiftRight=function(t){return o(t)&&(t=t.toInt()),0==(t&=63)?this:t<32?l(this.low>>>t|this.high<<32-t,this.high>>t,this.unsigned):l(this.high>>t-32,this.high>=0?0:-1,this.unsigned)},S.shr=S.shiftRight,S.shiftRightUnsigned=function(t){if(o(t)&&(t=t.toInt()),0==(t&=63))return this;var e=this.high;return t<32?l(this.low>>>t|e<<32-t,e>>>t,this.unsigned):l(32===t?e:e>>>t-32,0,this.unsigned)},S.shru=S.shiftRightUnsigned,S.shr_u=S.shiftRightUnsigned,S.toSigned=function(){return this.unsigned?l(this.low,this.high,!1):this},S.toUnsigned=function(){return this.unsigned?this:l(this.low,this.high,!0)},S.toBytes=function(t){return t?this.toBytesLE():this.toBytesBE()},S.toBytesLE=function(){var t=this.high,e=this.low;return[255&e,e>>>8&255,e>>>16&255,e>>>24,255&t,t>>>8&255,t>>>16&255,t>>>24]},S.toBytesBE=function(){var t=this.high,e=this.low;return[t>>>24,t>>>16&255,t>>>8&255,255&t,e>>>24,e>>>16&255,e>>>8&255,255&e]},n.fromBytes=function(t,e,r){return r?n.fromBytesLE(t,e):n.fromBytesBE(t,e)},n.fromBytesLE=function(t,e){return new n(t[0]|t[1]<<8|t[2]<<16|t[3]<<24,t[4]|t[5]<<8|t[6]<<16|t[7]<<24,e)},n.fromBytesBE=function(t,e){return new n(t[4]<<24|t[5]<<16|t[6]<<8|t[7],t[0]<<24|t[1]<<16|t[2]<<8|t[3],e)}},{}],12:[function(t,e,r){"use strict";function i(t,e){this.lo=t>>>0,this.hi=e>>>0}e.exports=i;var n=i.zero=new i(0,0);n.toNumber=function(){return 0},n.zzEncode=n.zzDecode=function(){return this},n.length=function(){return 1};var o=i.zeroHash="\0\0\0\0\0\0\0\0";i.fromNumber=function(t){if(0===t)return n;var e=t<0;e&&(t=-t);var r=t>>>0,o=(t-r)/4294967296>>>0;return e&&(o=~o>>>0,r=~r>>>0,++r>4294967295&&(r=0,++o>4294967295&&(o=0))),new i(r,o)},i.from=function(t){return"number"==typeof t?i.fromNumber(t):"string"==typeof t||t instanceof String?i.fromNumber(parseInt(t,10)):t.low||t.high?new i(t.low>>>0,t.high>>>0):n},i.prototype.toNumber=function(t){if(!t&&this.hi>>>31){var e=1+~this.lo>>>0,r=~this.hi>>>0;return e||(r=r+1>>>0),-(e+4294967296*r)}return this.lo+4294967296*this.hi},i.prototype.toLong=function(t){return{low:0|this.lo,high:0|this.hi,unsigned:Boolean(t)}};var s=String.prototype.charCodeAt;i.fromHash=function(t){return t===o?n:new i((s.call(t,0)|s.call(t,1)<<8|s.call(t,2)<<16|s.call(t,3)<<24)>>>0,(s.call(t,4)|s.call(t,5)<<8|s.call(t,6)<<16|s.call(t,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 t=this.hi>>31;return this.hi=((this.hi<<1|this.lo>>>31)^t)>>>0,this.lo=(this.lo<<1^t)>>>0,this},i.prototype.zzDecode=function(){var t=-(1&this.lo);return this.lo=((this.lo>>>1|this.hi<<31)^t)>>>0,this.hi=(this.hi>>>1^t)>>>0,this},i.prototype.length=function(){var t=this.lo,e=(this.lo>>>28|this.hi<<4)>>>0,r=this.hi>>>24;return 0===r?0===e?t<16384?t<128?1:2:t<2097152?3:4:e<16384?e<128?5:6:e<2097152?7:8:r<128?9:10}},{}],20:[function(t,e,r){"use strict";var i=e.exports,n=i.isAbsolute=function(t){return/^(?:\/|\w+:)/.test(t)},o=i.normalize=function(t){var e=(t=t.replace(/\\/g,"/").replace(/\/{2,}/g,"/")).split("/"),r=n(t),i="";r&&(i=e.shift()+"/");for(var o=0;o<e.length;)".."===e[o]?o>0&&".."!==e[o-1]?e.splice(--o,2):r?e.splice(o,1):++o:"."===e[o]?e.splice(o,1):++o;return i+e.join("/")};i.resolve=function(t,e,r){return r||(e=o(e)),n(e)?e:(r||(t=o(t)),(t=t.replace(/(?:\/|^)[^/]+$/,"")).length?o(t+"/"+e):e)}},{}],21:[function(t,e,r){"use strict";e.exports=function(t,e,r){var i=r||8192,n=i>>>1,o=null,s=i;return function(r){if(r<1||r>n)return t(r);s+r>i&&(o=t(i),s=0);var a=e.call(o,s,s+=r);return 7&s&&(s=1+(7|s)),a}}},{}],30:[function(t,e,r){"use strict";var i=e.exports;i.length=function(t){for(var e=0,r=0,i=0;i<t.length;++i)(r=t.charCodeAt(i))<128?e+=1:r<2048?e+=2:55296==(64512&r)&&56320==(64512&t.charCodeAt(i+1))?(++i,e+=4):e+=3;return e},i.read=function(t,e,r){if(r-e<1)return"";for(var i,n=null,o=[],s=0;e<r;)(i=t[e++])<128?o[s++]=i:i>191&&i<224?o[s++]=(31&i)<<6|63&t[e++]:i>239&&i<365?(i=((7&i)<<18|(63&t[e++])<<12|(63&t[e++])<<6|63&t[e++])-65536,o[s++]=55296+(i>>10),o[s++]=56320+(1023&i)):o[s++]=(15&i)<<12|(63&t[e++])<<6|63&t[e++],s>8191&&((n||(n=[])).push(String.fromCharCode.apply(String,o)),s=0);return n?(s&&n.push(String.fromCharCode.apply(String,o.slice(0,s))),n.join("")):String.fromCharCode.apply(String,o.slice(0,s))},i.write=function(t,e,r){for(var i,n,o=r,s=0;s<t.length;++s)(i=t.charCodeAt(s))<128?e[r++]=i:i<2048?(e[r++]=i>>6|192,e[r++]=63&i|128):55296==(64512&i)&&56320==(64512&(n=t.charCodeAt(s+1)))?(i=65536+((1023&i)<<10)+(1023&n),++s,e[r++]=i>>18|240,e[r++]=i>>12&63|128,e[r++]=i>>6&63|128,e[r++]=63&i|128):(e[r++]=i>>12|224,e[r++]=i>>6&63|128,e[r++]=63&i|128);return r-o}},{}],35:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getMiniBridge=void 0,r.getMiniBridge=function(){return"undefined"==typeof wx&&"undefined"!=typeof my?my:wx}},{}],36:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.BezierPath=void 0;var i=function(t,e,r){this.d=t,this.transform=e,this.styles=r,this._d=t,this._transform=e,this._styles=r};r.BezierPath=i},{}],37:[function(t,e,r){"use strict";var i,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.EllipsePath=void 0;var o=function(t){function e(e,r,i,n,o,s){var a=t.call(this,"",o,s)||this;return a._x=e,a._y=r,a._radiusX=i,a._radiusY=n,a._transform=o,a._styles=s,a}return n(e,t),e}(t(36).BezierPath);r.EllipsePath=o},{36:36}],38:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.FrameEntity=void 0;var i=t(36),n=function t(e){this.alpha=0,this.transform={a:1,b:0,c:0,d:1,tx:0,ty:0},this.layout={x:0,y:0,width:0,height:0},this.nx=0,this.ny=0,this.shapes=[],this.alpha=parseFloat(e.alpha)||0,e.layout&&(this.layout.x=parseFloat(e.layout.x)||0,this.layout.y=parseFloat(e.layout.y)||0,this.layout.width=parseFloat(e.layout.width)||0,this.layout.height=parseFloat(e.layout.height)||0),e.transform&&(this.transform.a=parseFloat(e.transform.a)||1,this.transform.b=parseFloat(e.transform.b)||0,this.transform.c=parseFloat(e.transform.c)||0,this.transform.d=parseFloat(e.transform.d)||1,this.transform.tx=parseFloat(e.transform.tx)||0,this.transform.ty=parseFloat(e.transform.ty)||0),e.clipPath&&e.clipPath.length>0&&(this.maskPath=new i.BezierPath(e.clipPath,void 0,{fill:"#000000"})),e.shapes&&(e.shapes instanceof Array&&e.shapes.forEach((function(t){switch(t.pathArgs=t.args,t.type){case 0:t.type="shape",t.pathArgs=t.shape;break;case 1:t.type="rect",t.pathArgs=t.rect;break;case 2:t.type="ellipse",t.pathArgs=t.ellipse;break;case 3:t.type="keep"}if(t.styles){t.styles.fill&&("number"==typeof t.styles.fill.r&&(t.styles.fill[0]=t.styles.fill.r),"number"==typeof t.styles.fill.g&&(t.styles.fill[1]=t.styles.fill.g),"number"==typeof t.styles.fill.b&&(t.styles.fill[2]=t.styles.fill.b),"number"==typeof t.styles.fill.a&&(t.styles.fill[3]=t.styles.fill.a)),t.styles.stroke&&("number"==typeof t.styles.stroke.r&&(t.styles.stroke[0]=t.styles.stroke.r),"number"==typeof t.styles.stroke.g&&(t.styles.stroke[1]=t.styles.stroke.g),"number"==typeof t.styles.stroke.b&&(t.styles.stroke[2]=t.styles.stroke.b),"number"==typeof t.styles.stroke.a&&(t.styles.stroke[3]=t.styles.stroke.a));var e=t.styles.lineDash||[];switch(t.styles.lineDashI>0&&e.push(t.styles.lineDashI),t.styles.lineDashII>0&&(e.length<1&&e.push(0),e.push(t.styles.lineDashII),e.push(0)),t.styles.lineDashIII>0&&(e.length<2&&(e.push(0),e.push(0)),e[2]=t.styles.lineDashIII),t.styles.lineDash=e,t.styles.lineJoin){case 0:t.styles.lineJoin="miter";break;case 1:t.styles.lineJoin="round";break;case 2:t.styles.lineJoin="bevel"}switch(t.styles.lineCap){case 0:t.styles.lineCap="butt";break;case 1:t.styles.lineCap="round";break;case 2:t.styles.lineCap="square"}}})),e.shapes[0]&&"keep"===e.shapes[0].type?this.shapes=t.lastShapes:(this.shapes=e.shapes,t.lastShapes=e.shapes));var r=this.transform.a*this.layout.x+this.transform.c*this.layout.y+this.transform.tx,n=this.transform.a*(this.layout.x+this.layout.width)+this.transform.c*this.layout.y+this.transform.tx,o=this.transform.a*this.layout.x+this.transform.c*(this.layout.y+this.layout.height)+this.transform.tx,s=this.transform.a*(this.layout.x+this.layout.width)+this.transform.c*(this.layout.y+this.layout.height)+this.transform.tx,a=this.transform.b*this.layout.x+this.transform.d*this.layout.y+this.transform.ty,u=this.transform.b*(this.layout.x+this.layout.width)+this.transform.d*this.layout.y+this.transform.ty,h=this.transform.b*this.layout.x+this.transform.d*(this.layout.y+this.layout.height)+this.transform.ty,l=this.transform.b*(this.layout.x+this.layout.width)+this.transform.d*(this.layout.y+this.layout.height)+this.transform.ty;this.nx=Math.min(Math.min(o,s),Math.min(r,n)),this.ny=Math.min(Math.min(h,l),Math.min(a,u))};r.FrameEntity=n},{36:36}],39:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Player=r.Parser=void 0;var i=t(41),n=t(42);r.Parser=i.Parser,r.Player=n.Player},{41:41,42:42}],42:[function(t,e,r){"use strict";var i=this&&this.__awaiter||function(t,e,r,i){return new(r||(r=Promise))((function(n,o){function s(t){try{u(i.next(t))}catch(e){o(e)}}function a(t){try{u(i.throw(t))}catch(e){o(e)}}function u(t){var e;t.done?n(t.value):(e=t.value,e instanceof r?e:new r((function(t){t(e)}))).then(s,a)}u((i=i.apply(t,e||[])).next())}))},n=this&&this.__generator||function(t,e){var r,i,n,o,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,i&&(n=2&o[0]?i.return:o[0]?i.throw||((n=i.return)&&n.call(i),0):i.next)&&!(n=n.call(i,o[1])).done)return n;switch(i=0,n&&(o=[2&o[0],n.value]),o[0]){case 0:case 1:n=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(n=(n=s.trys).length>0&&n[n.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!n||o[1]>n[0]&&o[1]<n[3])){s.label=o[1];break}if(6===o[0]&&s.label<n[1]){s.label=n[1],n=o;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(o);break}n[2]&&s.ops.pop(),s.trys.pop();continue}o=e.call(t,s)}catch(a){o=[6,a],i=0}finally{r=n=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}};Object.defineProperty(r,"__esModule",{value:!0}),r.Player=void 0;var o=t(45),s=t(47),a=t(35).getMiniBridge(),u=function(){function t(){this.loops=0,this.clearsAfterStop=!0,this.fillMode="Forward",this._contentMode="AspectFit",this._animator=new s.ValueAnimator,this._forwardAnimating=!1,this._currentFrame=0,this._dynamicImage={},this._dynamicText={}}return t.prototype.setCanvas=function(t,e){return i(this,void 0,void 0,(function(){var r=this;return n(this,(function(i){return[2,new Promise((function(i,n){var o=a.createSelectorQuery();e&&(o=o.in(e)),o.select(t).fields({node:!0,size:!0}).exec((function(t){var e;if(r.canvas=null===(e=null==t?void 0:t[0])||void 0===e?void 0:e.node,r.canvas)if(r.ctx=r.canvas.getContext("2d"),r.ctx){var o=a.getSystemInfoSync().pixelRatio;r.canvas.width=t[0].width*o,r.canvas.height=t[0].height*o,i(void 0)}else n("canvas context not found.");else n("canvas not found.")}))}))]}))}))},t.prototype.setVideoItem=function(t){return i(this,void 0,void 0,(function(){var e,r,s=this;return n(this,(function(a){switch(a.label){case 0:return this._currentFrame=0,this._videoItem=t,t?[4,Promise.all(Object.keys(t.spec.images).map((function(e){return i(s,void 0,void 0,(function(){var r;return n(this,(function(i){switch(i.label){case 0:return i.trys.push([0,2,,3]),[4,this.loadWXImage(t.spec.images[e])];case 1:return r=i.sent(),[2,{key:e,value:r}];case 2:return i.sent(),[2,{key:e,value:void 0}];case 3:return[2]}}))}))})))]:[3,2];case 1:return e=a.sent(),r={},e.forEach((function(t){r[t.key]=t.value})),t.decodedImages=r,this._renderer=new o.Renderer(this._videoItem,this.ctx,this.canvas),[3,3];case 2:this._renderer=void 0,a.label=3;case 3:return this.clear(),this._update(),[2]}}))}))},t.prototype.loadWXImage=function(t){var e=this;if(!this.canvas)throw"no canvas";return new Promise((function(r,i){var n=e.canvas.createImage();n.onload=function(){r(n)},n.onerror=function(t){console.log(t),i("image decoded fail.")},n.src="string"==typeof t?t:"data:image/png;base64,"+a.arrayBufferToBase64(t)}))},t.prototype.setContentMode=function(t){this._contentMode=t,this._update()},t.prototype.startAnimation=function(t){void 0===t&&(t=!1),this.stopAnimation(!1),this._doStart(void 0,t,void 0)},t.prototype.startAnimationWithRange=function(t,e){void 0===e&&(e=!1),this.stopAnimation(!1),this._doStart(t,e,void 0)},t.prototype.pauseAnimation=function(){this.stopAnimation(!1)},t.prototype.stopAnimation=function(t){this._forwardAnimating=!1,void 0!==this._animator&&this._animator.stop(),void 0===t&&(t=this.clearsAfterStop),t&&this.clear()},t.prototype.clear=function(){var t;null===(t=this._renderer)||void 0===t||t.clear()},t.prototype.stepToFrame=function(t,e){void 0===e&&(e=!1);var r=this._videoItem;r&&(t>=r.frames||t<0||(this.pauseAnimation(),this._currentFrame=t,this._update(),e&&this._doStart(void 0,!1,this._currentFrame)))},t.prototype.stepToPercentage=function(t,e){void 0===e&&(e=!1);var r=this._videoItem;if(r){var i=t*r.frames;i>=r.frames&&i>0&&(i=r.frames-1),this.stepToFrame(i,e)}},t.prototype.setImage=function(t,e){return i(this,void 0,void 0,(function(){var r;return n(this,(function(i){switch(i.label){case 0:return[4,this.loadWXImage(t)];case 1:return r=i.sent(),this._dynamicImage[e]=r,[2]}}))}))},t.prototype.setText=function(t,e){this._dynamicText[e]=t},t.prototype.clearDynamicObjects=function(){this._dynamicImage={},this._dynamicText={}},t.prototype.onFinished=function(t){this._onFinished=t},t.prototype.onFrame=function(t){this._onFrame=t},t.prototype.onPercentage=function(t){this._onPercentage=t},t.prototype._doStart=function(t,e,r){var i=this;void 0===e&&(e=!1),void 0===r&&(r=0);var n=this._videoItem;n&&(this._animator=new s.ValueAnimator,this._animator.canvas=this.canvas,void 0!==t?(this._animator.startValue=Math.max(0,t.location),this._animator.endValue=Math.min(n.frames-1,t.location+t.length),this._animator.duration=(this._animator.endValue-this._animator.startValue+1)*(1/n.FPS)*1e3):(this._animator.startValue=0,this._animator.endValue=n.frames-1,this._animator.duration=n.frames*(1/n.FPS)*1e3),this._animator.loops=this.loops<=0?1/0:this.loops,this._animator.fillRule="Backward"===this.fillMode?1:0,this._animator.onUpdate=function(t){i._currentFrame!==Math.floor(t)&&(i._forwardAnimating&&(i._currentFrame,Math.floor(t)),i._currentFrame=Math.floor(t),i._update(),"function"==typeof i._onFrame&&i._onFrame(i._currentFrame),"function"==typeof i._onPercentage&&i._onPercentage((i._currentFrame+1)/n.frames))},this._animator.onEnd=function(){i._forwardAnimating=!1,!0===i.clearsAfterStop&&i.clear(),"function"==typeof i._onFinished&&i._onFinished()},!0===e?(this._animator.reverse(r),this._forwardAnimating=!1):(this._animator.start(r),this._forwardAnimating=!0),this._currentFrame=this._animator.startValue,this._update())},t.prototype._resize=function(){var t=this.ctx,e=this._videoItem;if(t&&e){var r=1,i=1,n=0,o=0,s=this.canvas.width,a=this.canvas.height,u=e.videoSize;if("Fill"===this._contentMode)r=s/u.width,i=a/u.height;else if("AspectFit"===this._contentMode||"AspectFill"===this._contentMode){var h=u.width/u.height,l=s/a;h>=l&&"AspectFit"===this._contentMode||h<=l&&"AspectFill"===this._contentMode?(r=i=s/u.width,o=(a-u.height*i)/2):(h<l&&"AspectFit"===this._contentMode||h>l&&"AspectFill"===this._contentMode)&&(r=i=a/u.height,n=(s-u.width*r)/2)}this._renderer&&(this._renderer.globalTransform={a:r,b:0,c:0,d:i,tx:n,ty:o})}},t.prototype._update=function(){this._resize(),this._renderer&&(this._renderer._dynamicImage=this._dynamicImage,this._renderer._dynamicText=this._dynamicText,this._renderer.drawFrame(this._currentFrame),this._renderer.playAudio(this._currentFrame))},t}();r.Player=u},{35:35,45:45,47:47}],41:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Parser=void 0;var i=t(48),n=t(35),o=t(40).inflate,s=t(43).ProtoMovieEntity,a=n.getMiniBridge(),u=function(){function t(){}return t.prototype.load=function(t){return new Promise((function(e,r){0===t.indexOf("http://")||0===t.indexOf("https://")?a.request({url:t,dataType:"arraybuffer",responseType:"arraybuffer",success:function(t){try{var n=o(t.data),a=s.decode(n);e(new i.VideoEntity(a))}catch(u){r(u)}},fail:function(t){r(t)}}):a.getFileSystemManager().readFile({filePath:t,success:function(t){try{var n=o(t.data),a=s.decode(n);e(new i.VideoEntity(a))}catch(u){r(u)}},fail:function(t){r(t)}})}))},t}();r.Parser=u},{35:35,40:40,43:43,48:48}],40:[function(t,e,r){"use strict";var i;i=this,function(t){var e=function(t,e,r,i){for(var n=65535&t|0,o=t>>>16&65535|0,s=0;0!==r;){r-=s=r>2e3?2e3:r;do{o=o+(n=n+e[i++]|0)|0}while(--s);n%=65521,o%=65521}return n|o<<16|0},r=new Uint32Array(function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}()),i=function(t,e,i,n){var o=r,s=n+i;t^=-1;for(var a=n;a<s;a++)t=t>>>8^o[255&(t^e[a])];return-1^t},n=function(t,e){var r,i,n,o,s,a,u,h,l,f,c,d,p,y,m,v,g,b,w,_,x,k,A,O,S=t.state;r=t.next_in,A=t.input,i=r+(t.avail_in-5),n=t.next_out,O=t.output,o=n-(e-t.avail_out),s=n+(t.avail_out-257),a=S.dmax,u=S.wsize,h=S.whave,l=S.wnext,f=S.window,c=S.hold,d=S.bits,p=S.lencode,y=S.distcode,m=(1<<S.lenbits)-1,v=(1<<S.distbits)-1;t:do{d<15&&(c+=A[r++]<<d,d+=8,c+=A[r++]<<d,d+=8),g=p[c&m];e:for(;;){if(c>>>=b=g>>>24,d-=b,0==(b=g>>>16&255))O[n++]=65535&g;else{if(!(16&b)){if(0==(64&b)){g=p[(65535&g)+(c&(1<<b)-1)];continue e}if(32&b){S.mode=12;break t}t.msg="invalid literal/length code",S.mode=30;break t}w=65535&g,(b&=15)&&(d<b&&(c+=A[r++]<<d,d+=8),w+=c&(1<<b)-1,c>>>=b,d-=b),d<15&&(c+=A[r++]<<d,d+=8,c+=A[r++]<<d,d+=8),g=y[c&v];r:for(;;){if(c>>>=b=g>>>24,d-=b,!(16&(b=g>>>16&255))){if(0==(64&b)){g=y[(65535&g)+(c&(1<<b)-1)];continue r}t.msg="invalid distance code",S.mode=30;break t}if(_=65535&g,d<(b&=15)&&(c+=A[r++]<<d,(d+=8)<b&&(c+=A[r++]<<d,d+=8)),(_+=c&(1<<b)-1)>a){t.msg="invalid distance too far back",S.mode=30;break t}if(c>>>=b,d-=b,_>(b=n-o)){if((b=_-b)>h&&S.sane){t.msg="invalid distance too far back",S.mode=30;break t}if(x=0,k=f,0===l){if(x+=u-b,b<w){w-=b;do{O[n++]=f[x++]}while(--b);x=n-_,k=O}}else if(l<b){if(x+=u+l-b,(b-=l)<w){w-=b;do{O[n++]=f[x++]}while(--b);if(x=0,l<w){w-=b=l;do{O[n++]=f[x++]}while(--b);x=n-_,k=O}}}else if(x+=l-b,b<w){w-=b;do{O[n++]=f[x++]}while(--b);x=n-_,k=O}for(;w>2;)O[n++]=k[x++],O[n++]=k[x++],O[n++]=k[x++],w-=3;w&&(O[n++]=k[x++],w>1&&(O[n++]=k[x++]))}else{x=n-_;do{O[n++]=O[x++],O[n++]=O[x++],O[n++]=O[x++],w-=3}while(w>2);w&&(O[n++]=O[x++],w>1&&(O[n++]=O[x++]))}break}}break}}while(r<i&&n<s);r-=w=d>>3,c&=(1<<(d-=w<<3))-1,t.next_in=r,t.next_out=n,t.avail_in=r<i?i-r+5:5-(r-i),t.avail_out=n<s?s-n+257:257-(n-s),S.hold=c,S.bits=d},o=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),s=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),a=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),u=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),h=function(t,e,r,i,n,h,l,f){var c,d,p,y,m,v,g,b,w,_=f.bits,x=0,k=0,A=0,O=0,S=0,E=0,N=0,T=0,j=0,R=0,F=null,I=0,B=new Uint16Array(16),P=new Uint16Array(16),C=null,M=0;for(x=0;x<=15;x++)B[x]=0;for(k=0;k<i;k++)B[e[r+k]]++;for(S=_,O=15;O>=1&&0===B[O];O--);if(S>O&&(S=O),0===O)return n[h++]=20971520,n[h++]=20971520,f.bits=1,0;for(A=1;A<O&&0===B[A];A++);for(S<A&&(S=A),T=1,x=1;x<=15;x++)if(T<<=1,(T-=B[x])<0)return-1;if(T>0&&(0===t||1!==O))return-1;for(P[1]=0,x=1;x<15;x++)P[x+1]=P[x]+B[x];for(k=0;k<i;k++)0!==e[r+k]&&(l[P[e[r+k]]++]=k);if(0===t?(F=C=l,v=19):1===t?(F=o,I-=257,C=s,M-=257,v=256):(F=a,C=u,v=-1),R=0,k=0,x=A,m=h,E=S,N=0,p=-1,y=(j=1<<S)-1,1===t&&j>852||2===t&&j>592)return 1;for(;;){g=x-N,l[k]<v?(b=0,w=l[k]):l[k]>v?(b=C[M+l[k]],w=F[I+l[k]]):(b=96,w=0),c=1<<x-N,A=d=1<<E;do{n[m+(R>>N)+(d-=c)]=g<<24|b<<16|w|0}while(0!==d);for(c=1<<x-1;R&c;)c>>=1;if(0!==c?(R&=c-1,R+=c):R=0,k++,0==--B[x]){if(x===O)break;x=e[r+l[k]]}if(x>S&&(R&y)!==p){for(0===N&&(N=S),m+=A,T=1<<(E=x-N);E+N<O&&!((T-=B[E+N])<=0);)E++,T<<=1;if(j+=1<<E,1===t&&j>852||2===t&&j>592)return 1;n[p=R&y]=S<<24|E<<16|m-h|0}}return 0!==R&&(n[m+R]=x-N<<24|64<<16|0),f.bits=S,0},l={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},f=l.Z_FINISH,c=l.Z_BLOCK,d=l.Z_TREES,p=l.Z_OK,y=l.Z_STREAM_END,m=l.Z_NEED_DICT,v=l.Z_STREAM_ERROR,g=l.Z_DATA_ERROR,b=l.Z_MEM_ERROR,w=l.Z_BUF_ERROR,_=l.Z_DEFLATED,x=12,k=30,A=function(t){return(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)};function O(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var S,E,N=function(t){if(!t||!t.state)return v;var e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,p},T=function(t){if(!t||!t.state)return v;var e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,N(t)},j=function(t,e){var r;if(!t||!t.state)return v;var i=t.state;return e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?v:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=r,i.wbits=e,T(t))},R=function(t,e){if(!t)return v;var r=new O;t.state=r,r.window=null;var i=j(t,e);return i!==p&&(t.state=null),i},F=!0,I=function(t){if(F){S=new Int32Array(512),E=new Int32Array(32);for(var e=0;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(h(1,t.lens,0,288,S,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;h(2,t.lens,0,32,E,0,t.work,{bits:5}),F=!1}t.lencode=S,t.lenbits=9,t.distcode=E,t.distbits=5},B=function(t,e,r,i){var n,o=t.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),i>=o.wsize?(o.window.set(e.subarray(r-o.wsize,r),0),o.wnext=0,o.whave=o.wsize):((n=o.wsize-o.wnext)>i&&(n=i),o.window.set(e.subarray(r-i,r-i+n),o.wnext),(i-=n)?(o.window.set(e.subarray(r-i,r),0),o.wnext=i,o.whave=o.wsize):(o.wnext+=n,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=n))),0},P=T,C=R,M=function(t,r){var o,s,a,u,l,O,S,E,N,T,j,R,F,P,C,M,D,L,z,V,Z,U,q,J,$=0,K=new Uint8Array(4),H=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(!t||!t.state||!t.output||!t.input&&0!==t.avail_in)return v;(o=t.state).mode===x&&(o.mode=13),l=t.next_out,a=t.output,S=t.avail_out,u=t.next_in,s=t.input,O=t.avail_in,E=o.hold,N=o.bits,T=O,j=S,U=p;t:for(;;)switch(o.mode){case 1:if(0===o.wrap){o.mode=13;break}for(;N<16;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(2&o.wrap&&35615===E){o.check=0,K[0]=255&E,K[1]=E>>>8&255,o.check=i(o.check,K,2,0),E=0,N=0,o.mode=2;break}if(o.flags=0,o.head&&(o.head.done=!1),!(1&o.wrap)||(((255&E)<<8)+(E>>8))%31){t.msg="incorrect header check",o.mode=k;break}if((15&E)!==_){t.msg="unknown compression method",o.mode=k;break}if(N-=4,Z=8+(15&(E>>>=4)),0===o.wbits)o.wbits=Z;else if(Z>o.wbits){t.msg="invalid window size",o.mode=k;break}o.dmax=1<<o.wbits,t.adler=o.check=1,o.mode=512&E?10:x,E=0,N=0;break;case 2:for(;N<16;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(o.flags=E,(255&o.flags)!==_){t.msg="unknown compression method",o.mode=k;break}if(57344&o.flags){t.msg="unknown header flags set",o.mode=k;break}o.head&&(o.head.text=E>>8&1),512&o.flags&&(K[0]=255&E,K[1]=E>>>8&255,o.check=i(o.check,K,2,0)),E=0,N=0,o.mode=3;case 3:for(;N<32;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}o.head&&(o.head.time=E),512&o.flags&&(K[0]=255&E,K[1]=E>>>8&255,K[2]=E>>>16&255,K[3]=E>>>24&255,o.check=i(o.check,K,4,0)),E=0,N=0,o.mode=4;case 4:for(;N<16;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}o.head&&(o.head.xflags=255&E,o.head.os=E>>8),512&o.flags&&(K[0]=255&E,K[1]=E>>>8&255,o.check=i(o.check,K,2,0)),E=0,N=0,o.mode=5;case 5:if(1024&o.flags){for(;N<16;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}o.length=E,o.head&&(o.head.extra_len=E),512&o.flags&&(K[0]=255&E,K[1]=E>>>8&255,o.check=i(o.check,K,2,0)),E=0,N=0}else o.head&&(o.head.extra=null);o.mode=6;case 6:if(1024&o.flags&&((R=o.length)>O&&(R=O),R&&(o.head&&(Z=o.head.extra_len-o.length,o.head.extra||(o.head.extra=new Uint8Array(o.head.extra_len)),o.head.extra.set(s.subarray(u,u+R),Z)),512&o.flags&&(o.check=i(o.check,s,R,u)),O-=R,u+=R,o.length-=R),o.length))break t;o.length=0,o.mode=7;case 7:if(2048&o.flags){if(0===O)break t;R=0;do{Z=s[u+R++],o.head&&Z&&o.length<65536&&(o.head.name+=String.fromCharCode(Z))}while(Z&&R<O);if(512&o.flags&&(o.check=i(o.check,s,R,u)),O-=R,u+=R,Z)break t}else o.head&&(o.head.name=null);o.length=0,o.mode=8;case 8:if(4096&o.flags){if(0===O)break t;R=0;do{Z=s[u+R++],o.head&&Z&&o.length<65536&&(o.head.comment+=String.fromCharCode(Z))}while(Z&&R<O);if(512&o.flags&&(o.check=i(o.check,s,R,u)),O-=R,u+=R,Z)break t}else o.head&&(o.head.comment=null);o.mode=9;case 9:if(512&o.flags){for(;N<16;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(E!==(65535&o.check)){t.msg="header crc mismatch",o.mode=k;break}E=0,N=0}o.head&&(o.head.hcrc=o.flags>>9&1,o.head.done=!0),t.adler=o.check=0,o.mode=x;break;case 10:for(;N<32;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}t.adler=o.check=A(E),E=0,N=0,o.mode=11;case 11:if(0===o.havedict)return t.next_out=l,t.avail_out=S,t.next_in=u,t.avail_in=O,o.hold=E,o.bits=N,m;t.adler=o.check=1,o.mode=x;case x:if(r===c||r===d)break t;case 13:if(o.last){E>>>=7&N,N-=7&N,o.mode=27;break}for(;N<3;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}switch(o.last=1&E,N-=1,3&(E>>>=1)){case 0:o.mode=14;break;case 1:if(I(o),o.mode=20,r===d){E>>>=2,N-=2;break t}break;case 2:o.mode=17;break;case 3:t.msg="invalid block type",o.mode=k}E>>>=2,N-=2;break;case 14:for(E>>>=7&N,N-=7&N;N<32;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if((65535&E)!=(E>>>16^65535)){t.msg="invalid stored block lengths",o.mode=k;break}if(o.length=65535&E,E=0,N=0,o.mode=15,r===d)break t;case 15:o.mode=16;case 16:if(R=o.length){if(R>O&&(R=O),R>S&&(R=S),0===R)break t;a.set(s.subarray(u,u+R),l),O-=R,u+=R,S-=R,l+=R,o.length-=R;break}o.mode=x;break;case 17:for(;N<14;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(o.nlen=257+(31&E),E>>>=5,N-=5,o.ndist=1+(31&E),E>>>=5,N-=5,o.ncode=4+(15&E),E>>>=4,N-=4,o.nlen>286||o.ndist>30){t.msg="too many length or distance symbols",o.mode=k;break}o.have=0,o.mode=18;case 18:for(;o.have<o.ncode;){for(;N<3;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}o.lens[H[o.have++]]=7&E,E>>>=3,N-=3}for(;o.have<19;)o.lens[H[o.have++]]=0;if(o.lencode=o.lendyn,o.lenbits=7,q={bits:o.lenbits},U=h(0,o.lens,0,19,o.lencode,0,o.work,q),o.lenbits=q.bits,U){t.msg="invalid code lengths set",o.mode=k;break}o.have=0,o.mode=19;case 19:for(;o.have<o.nlen+o.ndist;){for(;M=($=o.lencode[E&(1<<o.lenbits)-1])>>>16&255,D=65535&$,!((C=$>>>24)<=N);){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(D<16)E>>>=C,N-=C,o.lens[o.have++]=D;else{if(16===D){for(J=C+2;N<J;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(E>>>=C,N-=C,0===o.have){t.msg="invalid bit length repeat",o.mode=k;break}Z=o.lens[o.have-1],R=3+(3&E),E>>>=2,N-=2}else if(17===D){for(J=C+3;N<J;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}N-=C,Z=0,R=3+(7&(E>>>=C)),E>>>=3,N-=3}else{for(J=C+7;N<J;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}N-=C,Z=0,R=11+(127&(E>>>=C)),E>>>=7,N-=7}if(o.have+R>o.nlen+o.ndist){t.msg="invalid bit length repeat",o.mode=k;break}for(;R--;)o.lens[o.have++]=Z}}if(o.mode===k)break;if(0===o.lens[256]){t.msg="invalid code -- missing end-of-block",o.mode=k;break}if(o.lenbits=9,q={bits:o.lenbits},U=h(1,o.lens,0,o.nlen,o.lencode,0,o.work,q),o.lenbits=q.bits,U){t.msg="invalid literal/lengths set",o.mode=k;break}if(o.distbits=6,o.distcode=o.distdyn,q={bits:o.distbits},U=h(2,o.lens,o.nlen,o.ndist,o.distcode,0,o.work,q),o.distbits=q.bits,U){t.msg="invalid distances set",o.mode=k;break}if(o.mode=20,r===d)break t;case 20:o.mode=21;case 21:if(O>=6&&S>=258){t.next_out=l,t.avail_out=S,t.next_in=u,t.avail_in=O,o.hold=E,o.bits=N,n(t,j),l=t.next_out,a=t.output,S=t.avail_out,u=t.next_in,s=t.input,O=t.avail_in,E=o.hold,N=o.bits,o.mode===x&&(o.back=-1);break}for(o.back=0;M=($=o.lencode[E&(1<<o.lenbits)-1])>>>16&255,D=65535&$,!((C=$>>>24)<=N);){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(M&&0==(240&M)){for(L=C,z=M,V=D;M=($=o.lencode[V+((E&(1<<L+z)-1)>>L)])>>>16&255,D=65535&$,!(L+(C=$>>>24)<=N);){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}E>>>=L,N-=L,o.back+=L}if(E>>>=C,N-=C,o.back+=C,o.length=D,0===M){o.mode=26;break}if(32&M){o.back=-1,o.mode=x;break}if(64&M){t.msg="invalid literal/length code",o.mode=k;break}o.extra=15&M,o.mode=22;case 22:if(o.extra){for(J=o.extra;N<J;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}o.length+=E&(1<<o.extra)-1,E>>>=o.extra,N-=o.extra,o.back+=o.extra}o.was=o.length,o.mode=23;case 23:for(;M=($=o.distcode[E&(1<<o.distbits)-1])>>>16&255,D=65535&$,!((C=$>>>24)<=N);){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(0==(240&M)){for(L=C,z=M,V=D;M=($=o.distcode[V+((E&(1<<L+z)-1)>>L)])>>>16&255,D=65535&$,!(L+(C=$>>>24)<=N);){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}E>>>=L,N-=L,o.back+=L}if(E>>>=C,N-=C,o.back+=C,64&M){t.msg="invalid distance code",o.mode=k;break}o.offset=D,o.extra=15&M,o.mode=24;case 24:if(o.extra){for(J=o.extra;N<J;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}o.offset+=E&(1<<o.extra)-1,E>>>=o.extra,N-=o.extra,o.back+=o.extra}if(o.offset>o.dmax){t.msg="invalid distance too far back",o.mode=k;break}o.mode=25;case 25:if(0===S)break t;if(R=j-S,o.offset>R){if((R=o.offset-R)>o.whave&&o.sane){t.msg="invalid distance too far back",o.mode=k;break}R>o.wnext?(R-=o.wnext,F=o.wsize-R):F=o.wnext-R,R>o.length&&(R=o.length),P=o.window}else P=a,F=l-o.offset,R=o.length;R>S&&(R=S),S-=R,o.length-=R;do{a[l++]=P[F++]}while(--R);0===o.length&&(o.mode=21);break;case 26:if(0===S)break t;a[l++]=o.length,S--,o.mode=21;break;case 27:if(o.wrap){for(;N<32;){if(0===O)break t;O--,E|=s[u++]<<N,N+=8}if(j-=S,t.total_out+=j,o.total+=j,j&&(t.adler=o.check=o.flags?i(o.check,a,j,l-j):e(o.check,a,j,l-j)),j=S,(o.flags?E:A(E))!==o.check){t.msg="incorrect data check",o.mode=k;break}E=0,N=0}o.mode=28;case 28:if(o.wrap&&o.flags){for(;N<32;){if(0===O)break t;O--,E+=s[u++]<<N,N+=8}if(E!==(4294967295&o.total)){t.msg="incorrect length check",o.mode=k;break}E=0,N=0}o.mode=29;case 29:U=y;break t;case k:U=g;break t;case 31:return b;case 32:default:return v}return t.next_out=l,t.avail_out=S,t.next_in=u,t.avail_in=O,o.hold=E,o.bits=N,(o.wsize||j!==t.avail_out&&o.mode<k&&(o.mode<27||r!==f))&&B(t,t.output,t.next_out,j-t.avail_out),T-=t.avail_in,j-=t.avail_out,t.total_in+=T,t.total_out+=j,o.total+=j,o.wrap&&j&&(t.adler=o.check=o.flags?i(o.check,a,j,t.next_out-j):e(o.check,a,j,t.next_out-j)),t.data_type=o.bits+(o.last?64:0)+(o.mode===x?128:0)+(20===o.mode||15===o.mode?256:0),(0===T&&0===j||r===f)&&U===p&&(U=w),U},D=function(t){if(!t||!t.state)return v;var e=t.state;return e.window&&(e.window=null),t.state=null,p},L=function(t,e){if(!t||!t.state)return v;var r=t.state;return 0==(2&r.wrap)?v:(r.head=e,e.done=!1,p)},z=function(t,r){var i,n=r.length;return t&&t.state?0!==(i=t.state).wrap&&11!==i.mode?v:11===i.mode&&e(1,r,n,0)!==i.check?g:B(t,r,n,n)?(i.mode=31,b):(i.havedict=1,p):v},V=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},Z=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(t){Z=!1}for(var U=new Uint8Array(256),q=0;q<256;q++)U[q]=q>=252?6:q>=248?5:q>=240?4:q>=224?3:q>=192?2:1;U[254]=U[254]=1;var J=function(t,e){var r,i,n=e||t.length,o=new Array(2*n);for(i=0,r=0;r<n;){var s=t[r++];if(s<128)o[i++]=s;else{var a=U[s];if(a>4)o[i++]=65533,r+=a-1;else{for(s&=2===a?31:3===a?15:7;a>1&&r<n;)s=s<<6|63&t[r++],a--;a>1?o[i++]=65533:s<65536?o[i++]=s:(s-=65536,o[i++]=55296|s>>10&1023,o[i++]=56320|1023&s)}}}return function(t,e){if(e<65534&&t.subarray&&Z)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));for(var r="",i=0;i<e;i++)r+=String.fromCharCode(t[i]);return r}(o,i)},$=function(t,e){(e=e||t.length)>t.length&&(e=t.length);for(var r=e-1;r>=0&&128==(192&t[r]);)r--;return r<0||0===r?e:r+U[t[r]]>e?r:e},K={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},H=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},W=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1},X=Object.prototype.toString,G=l.Z_NO_FLUSH,Y=l.Z_FINISH,Q=l.Z_OK,tt=l.Z_STREAM_END,et=l.Z_NEED_DICT,rt=l.Z_STREAM_ERROR,it=l.Z_DATA_ERROR,nt=l.Z_MEM_ERROR;function ot(t){this.options=function(t){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var r=e.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var i in r)V(r,i)&&(t[i]=r[i])}}return t}({chunkSize:65536,windowBits:15,to:""},t||{});var e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new H,this.strm.avail_out=0;var r=C(this.strm,e.windowBits);if(r!==Q)throw new Error(K[r]);if(this.header=new W,L(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=function(t){var e,r,i,n,o,s=t.length,a=0;for(n=0;n<s;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<s&&56320==(64512&(i=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(i-56320),n++),a+=r<128?1:r<2048?2:r<65536?3:4;for(e=new Uint8Array(a),o=0,n=0;o<a;n++)55296==(64512&(r=t.charCodeAt(n)))&&n+1<s&&56320==(64512&(i=t.charCodeAt(n+1)))&&(r=65536+(r-55296<<10)+(i-56320),n++),r<128?e[o++]=r:r<2048?(e[o++]=192|r>>>6,e[o++]=128|63&r):r<65536?(e[o++]=224|r>>>12,e[o++]=128|r>>>6&63,e[o++]=128|63&r):(e[o++]=240|r>>>18,e[o++]=128|r>>>12&63,e[o++]=128|r>>>6&63,e[o++]=128|63&r);return e}(e.dictionary):"[object ArrayBuffer]"===X.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(r=z(this.strm,e.dictionary))!==Q))throw new Error(K[r])}function st(t,e){var r=new ot(e);if(r.push(t),r.err)throw r.msg||K[r.err];return r.result}ot.prototype.push=function(t,e){var r,i,n,o=this.strm,s=this.options.chunkSize,a=this.options.dictionary;if(this.ended)return!1;for(i=e===~~e?e:!0===e?Y:G,"[object ArrayBuffer]"===X.call(t)?o.input=new Uint8Array(t):o.input=t,o.next_in=0,o.avail_in=o.input.length;;){for(0===o.avail_out&&(o.output=new Uint8Array(s),o.next_out=0,o.avail_out=s),(r=M(o,i))===et&&a&&((r=z(o,a))===Q?r=M(o,i):r===it&&(r=et));o.avail_in>0&&r===tt&&o.state.wrap>0&&0!==t[o.next_in];)P(o),r=M(o,i);switch(r){case rt:case it:case et:case nt:return this.onEnd(r),this.ended=!0,!1}if(n=o.avail_out,o.next_out&&(0===o.avail_out||r===tt))if("string"===this.options.to){var u=$(o.output,o.next_out),h=o.next_out-u,l=J(o.output,u);o.next_out=h,o.avail_out=s-h,h&&o.output.set(o.output.subarray(u,u+h),0),this.onData(l)}else this.onData(o.output.length===o.next_out?o.output:o.output.subarray(0,o.next_out));if(r!==Q||0!==n){if(r===tt)return r=D(this.strm),this.onEnd(r),this.ended=!0,!0;if(0===o.avail_in)break}}return!0},ot.prototype.onData=function(t){this.chunks.push(t)},ot.prototype.onEnd=function(t){t===Q&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=function(t){for(var e=0,r=0,i=t.length;r<i;r++)e+=t[r].length;for(var n=new Uint8Array(e),o=0,s=0,a=t.length;o<a;o++){var u=t[o];n.set(u,s),s+=u.length}return n}(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var at=ot,ut=st,ht=function(t,e){return(e=e||{}).raw=!0,st(t,e)},lt=st,ft=l,ct={Inflate:at,inflate:ut,inflateRaw:ht,ungzip:lt,constants:ft};t.Inflate=at,t.constants=ft,t.default=ct,t.inflate=ut,t.inflateRaw=ht,t.ungzip=lt,Object.defineProperty(t,"__esModule",{value:!0})}("object"==typeof r&&void 0!==e?r:(i="undefined"!=typeof globalThis?globalThis:i||self).pako={})},{}],48:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.VideoEntity=void 0;var i=t(46),n=function(t){var e,r;this.spec=t,this.version="2.0.0",this.decodedImages={},this.version=t.ver,this.videoSize={width:t.params.viewBoxWidth||0,height:t.params.viewBoxHeight||0},this.FPS=t.params.fps||20,this.frames=t.params.frames||0,this.sprites=null!==(r=null===(e=t.sprites)||void 0===e?void 0:e.map((function(t){return new i.SpriteEntity(t)})))&&void 0!==r?r:[],this.audios=[]};r.VideoEntity=n},{46:46}],43:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ProtoMovieEntity=r.proto=void 0;var i=t(1),n=JSON.parse('{"nested":{"com":{"nested":{"opensource":{"nested":{"svga":{"options":{"objc_class_prefix":"SVGAProto","java_package":"com.opensource.svgaplayer.proto"},"nested":{"MovieParams":{"fields":{"viewBoxWidth":{"type":"float","id":1},"viewBoxHeight":{"type":"float","id":2},"fps":{"type":"int32","id":3},"frames":{"type":"int32","id":4}}},"SpriteEntity":{"fields":{"imageKey":{"type":"string","id":1},"frames":{"rule":"repeated","type":"FrameEntity","id":2},"matteKey":{"type":"string","id":3}}},"AudioEntity":{"fields":{"audioKey":{"type":"string","id":1},"startFrame":{"type":"int32","id":2},"endFrame":{"type":"int32","id":3},"startTime":{"type":"int32","id":4},"totalTime":{"type":"int32","id":5}}},"Layout":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"width":{"type":"float","id":3},"height":{"type":"float","id":4}}},"Transform":{"fields":{"a":{"type":"float","id":1},"b":{"type":"float","id":2},"c":{"type":"float","id":3},"d":{"type":"float","id":4},"tx":{"type":"float","id":5},"ty":{"type":"float","id":6}}},"ShapeEntity":{"oneofs":{"args":{"oneof":["shape","rect","ellipse"]}},"fields":{"type":{"type":"ShapeType","id":1},"shape":{"type":"ShapeArgs","id":2},"rect":{"type":"RectArgs","id":3},"ellipse":{"type":"EllipseArgs","id":4},"styles":{"type":"ShapeStyle","id":10},"transform":{"type":"Transform","id":11}},"nested":{"ShapeType":{"values":{"SHAPE":0,"RECT":1,"ELLIPSE":2,"KEEP":3}},"ShapeArgs":{"fields":{"d":{"type":"string","id":1}}},"RectArgs":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"width":{"type":"float","id":3},"height":{"type":"float","id":4},"cornerRadius":{"type":"float","id":5}}},"EllipseArgs":{"fields":{"x":{"type":"float","id":1},"y":{"type":"float","id":2},"radiusX":{"type":"float","id":3},"radiusY":{"type":"float","id":4}}},"ShapeStyle":{"fields":{"fill":{"type":"RGBAColor","id":1},"stroke":{"type":"RGBAColor","id":2},"strokeWidth":{"type":"float","id":3},"lineCap":{"type":"LineCap","id":4},"lineJoin":{"type":"LineJoin","id":5},"miterLimit":{"type":"float","id":6},"lineDashI":{"type":"float","id":7},"lineDashII":{"type":"float","id":8},"lineDashIII":{"type":"float","id":9}},"nested":{"RGBAColor":{"fields":{"r":{"type":"float","id":1},"g":{"type":"float","id":2},"b":{"type":"float","id":3},"a":{"type":"float","id":4}}},"LineCap":{"values":{"LineCap_BUTT":0,"LineCap_ROUND":1,"LineCap_SQUARE":2}},"LineJoin":{"values":{"LineJoin_MITER":0,"LineJoin_ROUND":1,"LineJoin_BEVEL":2}}}}}},"FrameEntity":{"fields":{"alpha":{"type":"float","id":1},"layout":{"type":"Layout","id":2},"transform":{"type":"Transform","id":3},"clipPath":{"type":"string","id":4},"shapes":{"rule":"repeated","type":"ShapeEntity","id":5}}},"MovieEntity":{"fields":{"version":{"type":"string","id":1},"params":{"type":"MovieParams","id":2},"images":{"keyType":"string","type":"bytes","id":3},"sprites":{"rule":"repeated","type":"SpriteEntity","id":4},"audios":{"rule":"repeated","type":"AudioEntity","id":5}}}}}}}}}}}');r.proto=i.Root.fromJSON(n),r.ProtoMovieEntity=r.proto.lookupType("com.opensource.svga.MovieEntity")},{1:1}],47:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.ValueAnimator=void 0;var i=function(){function t(){this.startValue=0,this.endValue=0,this.duration=0,this.loops=1,this.fillRule=0,this.mRunning=!1,this.mStartTime=0,this.mCurrentFrication=0,this.mReverse=!1,this.onStart=function(){},this.onUpdate=function(t){},this.onEnd=function(){}}return t.prototype.start=function(t){this.doStart(!1,t)},t.prototype.reverse=function(t){this.doStart(!0,t)},t.prototype.stop=function(){this.doStop()},t.prototype.animatedValue=function(){return(this.endValue-this.startValue)*this.mCurrentFrication+this.startValue},t.prototype.doStart=function(e,r){void 0===r&&(r=void 0),this.mReverse=e,this.mRunning=!0,this.mStartTime=t.currentTimeMillsecond(),r&&(this.mStartTime-=e?(1-r/(this.endValue-this.startValue))*this.duration:r/(this.endValue-this.startValue)*this.duration),this.mCurrentFrication=0,this.onStart(),this.doFrame()},t.prototype.doStop=function(){this.mRunning=!1},t.prototype.doFrame=function(){var e,r=this,i=function(){var e;r.mRunning&&(r.doDeltaTime(t.currentTimeMillsecond()-r.mStartTime),null===(e=r.canvas)||void 0===e||e.requestAnimationFrame(i))};null===(e=this.canvas)||void 0===e||e.requestAnimationFrame(i)},t.prototype.doDeltaTime=function(t){var e=!1;t>=this.duration*this.loops?(this.mCurrentFrication=1===this.fillRule?0:1,this.mRunning=!1,e=!0):(this.mCurrentFrication=t%this.duration/this.duration,this.mReverse&&(this.mCurrentFrication=1-this.mCurrentFrication)),this.onUpdate(this.animatedValue()),!1===this.mRunning&&e&&this.onEnd()},t.currentTimeMillsecond=function(){return"undefined"==typeof performance?(new Date).getTime():performance.now()},t}();r.ValueAnimator=i},{}],45:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.Renderer=void 0;var i=t(36),n=t(37),o=t(44),s=function(){function t(t,e,r){this.videoItem=t,this.ctx=e,this.canvas=r,this._dynamicImage={},this._dynamicText={}}return t.prototype.clear=function(){var t=this.ctx,e={x:0,y:0,width:this.canvas.width,height:this.canvas.height};t.clearRect(e.x,e.y,e.width,e.height)},t.prototype.drawFrame=function(t){var e=this,r=this.ctx,i={x:0,y:0,width:this.canvas.width,height:this.canvas.height};r.clearRect(i.x,i.y,i.width,i.height);var n={},o=!1,s=this.videoItem.sprites;s.forEach((function(i,a){var u,h;if(-1!=(null===(u=s[0].imageKey)||void 0===u?void 0:u.indexOf(".matte")))if(-1==(null===(h=i.imageKey)||void 0===h?void 0:h.indexOf(".matte"))){var l=s[a-1];if(o&&(!i.matteKey||0==i.matteKey.length||i.matteKey!=l.matteKey)){o=!1;var f=n[i.matteKey];r.globalCompositeOperation="destination-in",e.drawSprite(f,t),r.globalCompositeOperation="source-over",r.restore()}null==i.matteKey||null!=l.matteKey&&0!=l.matteKey.length&&l.matteKey==i.matteKey||(o=!0,r.save()),e.drawSprite(i,t),o&&a==s.length-1&&(f=n.get(i.matteKey),r.globalCompositeOperation="destination-in",e.drawSprite(f,t),r.globalCompositeOperation="source-over",r.restore())}else f[i.imageKey]=i;else e.drawSprite(i,t)}))},t.prototype.drawSprite=function(t,e){var r,s,a,u=this,h=t.frames[e];if(!(h.alpha<.05)){var l=this.ctx;l.save(),this.globalTransform&&l.transform(this.globalTransform.a,this.globalTransform.b,this.globalTransform.c,this.globalTransform.d,this.globalTransform.tx,this.globalTransform.ty),l.globalAlpha=h.alpha,l.transform(h.transform.a,h.transform.b,h.transform.c,h.transform.d,h.transform.tx,h.transform.ty);var f=null===(r=t.imageKey)||void 0===r?void 0:r.replace(".matte","");if(f){var c=null!==(s=this._dynamicImage[f])&&void 0!==s?s:this.videoItem.decodedImages[f];void 0!==h.maskPath&&null!==h.maskPath&&(h.maskPath._styles=void 0,this.drawBezier(h.maskPath),l.clip()),c&&l.drawImage(c,0,0,c.width,c.height,0,0,h.layout.width,h.layout.height),h.shapes&&h.shapes.forEach((function(t){"shape"===t.type&&t.pathArgs&&t.pathArgs.d&&u.drawBezier(new i.BezierPath(t.pathArgs.d,t.transform,t.styles)),"ellipse"===t.type&&t.pathArgs&&u.drawEllipse(new n.EllipsePath(parseFloat(t.pathArgs.x)||0,parseFloat(t.pathArgs.y)||0,parseFloat(t.pathArgs.radiusX)||0,parseFloat(t.pathArgs.radiusY)||0,t.transform,t.styles)),"rect"===t.type&&t.pathArgs&&u.drawRect(new o.RectPath(parseFloat(t.pathArgs.x)||0,parseFloat(t.pathArgs.y)||0,parseFloat(t.pathArgs.width)||0,parseFloat(t.pathArgs.height)||0,parseFloat(t.pathArgs.cornerRadius)||0,t.transform,t.styles))}));var d=this._dynamicText[f];if(void 0!==d){l.font=d.size+"px "+(null!==(a=d.family)&&void 0!==a?a:"Arial");var p=l.measureText(d.text).width;l.fillStyle=d.color;var y=void 0!==d.offset&&void 0!==d.offset.x?isNaN(d.offset.x)?0:d.offset.x:0,m=void 0!==d.offset&&void 0!==d.offset.y?isNaN(d.offset.y)?0:d.offset.y:0;l.fillText(d.text,(h.layout.width-p)/2+y,h.layout.height/2+m)}l.restore()}}},t.prototype.playAudio=function(t){},t.prototype.resetShapeStyles=function(t){var e=this.ctx,r=t._styles;r&&(r&&r.stroke?e.strokeStyle="rgba("+(255*r.stroke[0]).toFixed(0)+", "+(255*r.stroke[1]).toFixed(0)+", "+(255*r.stroke[2]).toFixed(0)+", "+r.stroke[3]+")":e.strokeStyle="transparent",r&&(e.lineWidth=r.strokeWidth||void 0,e.lineCap=r.lineCap||void 0,e.lineJoin=r.lineJoin||void 0,e.miterLimit=r.miterLimit||void 0),r&&r.fill?e.fillStyle="rgba("+(255*r.fill[0]).toFixed(0)+", "+(255*r.fill[1]).toFixed(0)+", "+(255*r.fill[2]).toFixed(0)+", "+r.fill[3]+")":e.fillStyle="transparent",r&&r.lineDash&&e.setLineDash([r.lineDash[0],r.lineDash[1]],r.lineDash[2]))},t.prototype.drawBezier=function(t){var e=this,r=this.ctx;r.save(),this.resetShapeStyles(t),void 0!==t._transform&&null!==t._transform&&r.transform(t._transform.a,t._transform.b,t._transform.c,t._transform.d,t._transform.tx,t._transform.ty);var i={x:0,y:0,x1:0,y1:0,x2:0,y2:0};r.beginPath(),t._d.replace(/([a-zA-Z])/g,"|||$1 ").replace(/,/g," ").split("|||").forEach((function(t){if(0!=t.length){var r=t.substr(0,1);if("MLHVCSQRZmlhvcsqrz".indexOf(r)>=0){var n=t.substr(1).trim().split(" ");e.drawBezierElement(i,r,n)}}})),t._styles&&t._styles.fill&&r.fill(),t._styles&&t._styles.stroke&&r.stroke(),r.restore()},t.prototype.drawBezierElement=function(t,e,r){var i=this.ctx;switch(e){case"M":t.x=Number(r[0]),t.y=Number(r[1]),i.moveTo(t.x,t.y);break;case"m":t.x+=Number(r[0]),t.y+=Number(r[1]),i.moveTo(t.x,t.y);break;case"L":t.x=Number(r[0]),t.y=Number(r[1]),i.lineTo(t.x,t.y);break;case"l":t.x+=Number(r[0]),t.y+=Number(r[1]),i.lineTo(t.x,t.y);break;case"H":t.x=Number(r[0]),i.lineTo(t.x,t.y);break;case"h":t.x+=Number(r[0]),i.lineTo(t.x,t.y);break;case"V":t.y=Number(r[0]),i.lineTo(t.x,t.y);break;case"v":t.y+=Number(r[0]),i.lineTo(t.x,t.y);break;case"C":t.x1=Number(r[0]),t.y1=Number(r[1]),t.x2=Number(r[2]),t.y2=Number(r[3]),t.x=Number(r[4]),t.y=Number(r[5]),i.bezierCurveTo(t.x1,t.y1,t.x2,t.y2,t.x,t.y);break;case"c":t.x1=t.x+Number(r[0]),t.y1=t.y+Number(r[1]),t.x2=t.x+Number(r[2]),t.y2=t.y+Number(r[3]),t.x+=Number(r[4]),t.y+=Number(r[5]),i.bezierCurveTo(t.x1,t.y1,t.x2,t.y2,t.x,t.y);break;case"S":t.x1&&t.y1&&t.x2&&t.y2?(t.x1=t.x-t.x2+t.x,t.y1=t.y-t.y2+t.y,t.x2=Number(r[0]),t.y2=Number(r[1]),t.x=Number(r[2]),t.y=Number(r[3]),i.bezierCurveTo(t.x1,t.y1,t.x2,t.y2,t.x,t.y)):(t.x1=Number(r[0]),t.y1=Number(r[1]),t.x=Number(r[2]),t.y=Number(r[3]),i.quadraticCurveTo(t.x1,t.y1,t.x,t.y));break;case"s":t.x1&&t.y1&&t.x2&&t.y2?(t.x1=t.x-t.x2+t.x,t.y1=t.y-t.y2+t.y,t.x2=t.x+Number(r[0]),t.y2=t.y+Number(r[1]),t.x+=Number(r[2]),t.y+=Number(r[3]),i.bezierCurveTo(t.x1,t.y1,t.x2,t.y2,t.x,t.y)):(t.x1=t.x+Number(r[0]),t.y1=t.y+Number(r[1]),t.x+=Number(r[2]),t.y+=Number(r[3]),i.quadraticCurveTo(t.x1,t.y1,t.x,t.y));break;case"Q":t.x1=Number(r[0]),t.y1=Number(r[1]),t.x=Number(r[2]),t.y=Number(r[3]),i.quadraticCurveTo(t.x1,t.y1,t.x,t.y);break;case"q":t.x1=t.x+Number(r[0]),t.y1=t.y+Number(r[1]),t.x+=Number(r[2]),t.y+=Number(r[3]),i.quadraticCurveTo(t.x1,t.y1,t.x,t.y);break;case"A":case"a":break;case"Z":case"z":i.closePath()}},t.prototype.drawEllipse=function(t){var e=this.ctx;e.save(),this.resetShapeStyles(t),void 0!==t._transform&&null!==t._transform&&e.transform(t._transform.a,t._transform.b,t._transform.c,t._transform.d,t._transform.tx,t._transform.ty);var r=t._x-t._radiusX,i=t._y-t._radiusY,n=2*t._radiusX,o=2*t._radiusY,s=n/2*.5522848,a=o/2*.5522848,u=r+n,h=i+o,l=r+n/2,f=i+o/2;e.beginPath(),e.moveTo(r,f),e.bezierCurveTo(r,f-a,l-s,i,l,i),e.bezierCurveTo(l+s,i,u,f-a,u,f),e.bezierCurveTo(u,f+a,l+s,h,l,h),e.bezierCurveTo(l-s,h,r,f+a,r,f),t._styles&&t._styles.fill&&e.fill(),t._styles&&t._styles.stroke&&e.stroke(),e.restore()},t.prototype.drawRect=function(t){var e=this.ctx;e.save(),this.resetShapeStyles(t),void 0!==t._transform&&null!==t._transform&&e.transform(t._transform.a,t._transform.b,t._transform.c,t._transform.d,t._transform.tx,t._transform.ty);var r=t._x,i=t._y,n=t._width,o=t._height,s=t._cornerRadius;n<2*s&&(s=n/2),o<2*s&&(s=o/2),e.beginPath(),e.moveTo(r+s,i),e.arcTo(r+n,i,r+n,i+o,s),e.arcTo(r+n,i+o,r,i+o,s),e.arcTo(r,i+o,r,i,s),e.arcTo(r,i,r+n,i,s),e.closePath(),t._styles&&t._styles.fill&&e.fill(),t._styles&&t._styles.stroke&&e.stroke(),e.restore()},t}();r.Renderer=s},{36:36,37:37,44:44}],44:[function(t,e,r){"use strict";var i,n=this&&this.__extends||(i=function(t,e){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])})(t,e)},function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)});Object.defineProperty(r,"__esModule",{value:!0}),r.RectPath=void 0;var o=function(t){function e(e,r,i,n,o,s,a){var u=t.call(this,"",s,a)||this;return u._x=e,u._y=r,u._width=i,u._height=n,u._cornerRadius=o,u._transform=s,u._styles=a,u}return n(e,t),e}(t(36).BezierPath);r.RectPath=o},{36:36}],46:[function(t,e,r){"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.SpriteEntity=void 0;var i=t(38),n=function(t){var e,r;this.matteKey=t.matteKey,this.imageKey=t.imageKey,this.frames=null!==(r=null===(e=t.frames)||void 0===e?void 0:e.map((function(t){return new i.FrameEntity(t)})))&&void 0!==r?r:[]};r.SpriteEntity=n},{38:38}]},{},[39])(39)}));