1(function(e){"use strict";var n=e.Reader,t=e.Writer,r=e.util;var i=e.roots["push-server"]||(e.roots["push-server"]={});i.RequestBatch=function(){function e(e){this.requests=[];if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.requests=r.emptyArray;e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.requests!=null&&n.requests.length)for(var a=0;a<n.requests.length;++a)i.Request.encode(n.requests[a],s.uint32(10).fork(),o+1).ldelim();return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.RequestBatch;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{if(!(u.requests&&u.requests.length))u.requests=[];u.requests.push(i.Request.decode(t,t.uint32(),undefined,o+1));break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/RequestBatch"};return e}();i.Request=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.incomingMessages=null;e.prototype.channelStats=null;e.prototype.serverStats=null;e.prototype.registration=null;var s;Object.defineProperty(e.prototype,"command",{get:r.oneOfGetter(s=["incomingMessages","channelStats","serverStats","registration"]),set:r.oneOfSetter(s)});e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.incomingMessages!=null&&Object.hasOwnProperty.call(n,"incomingMessages"))i.IncomingMessagesRequest.encode(n.incomingMessages,s.uint32(10).fork(),o+1).ldelim();if(n.channelStats!=null&&Object.hasOwnProperty.call(n,"channelStats"))i.ChannelStatsRequest.encode(n.channelStats,s.uint32(18).fork(),o+1).ldelim();if(n.serverStats!=null&&Object.hasOwnProperty.call(n,"serverStats"))i.ServerStatsRequest.encode(n.serverStats,s.uint32(26).fork(),o+1).ldelim();if(n.registration!=null&&Object.hasOwnProperty.call(n,"registration"))i.RegisterRequest.encode(n.registration,s.uint32(34).fork(),o+1).ldelim();return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.Request;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.incomingMessages=i.IncomingMessagesRequest.decode(t,t.uint32(),undefined,o+1);break}case 2:{u.channelStats=i.ChannelStatsRequest.decode(t,t.uint32(),undefined,o+1);break}case 3:{u.serverStats=i.ServerStatsRequest.decode(t,t.uint32(),undefined,o+1);break}case 4:{u.registration=i.RegisterRequest.decode(t,t.uint32(),undefined,o+1);break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/Request"};return e}();i.IncomingMessagesRequest=function(){function e(e){this.messages=[];if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.messages=r.emptyArray;e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.messages!=null&&n.messages.length)for(var a=0;a<n.messages.length;++a)i.IncomingMessage.encode(n.messages[a],s.uint32(10).fork(),o+1).ldelim();return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.IncomingMessagesRequest;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{if(!(u.messages&&u.messages.length))u.messages=[];u.messages.push(i.IncomingMessage.decode(t,t.uint32(),undefined,o+1));break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/IncomingMessagesRequest"};return e}();i.IncomingMessage=function(){function e(e){this.receivers=[];if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.receivers=r.emptyArray;e.prototype.sender=null;e.prototype.body="";e.prototype.expiry=0;e.prototype.type="";e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.receivers!=null&&n.receivers.length)for(var a=0;a<n.receivers.length;++a)i.Receiver.encode(n.receivers[a],s.uint32(10).fork(),o+1).ldelim();if(n.sender!=null&&Object.hasOwnProperty.call(n,"sender"))i.Sender.encode(n.sender,s.uint32(18).fork(),o+1).ldelim();if(n.body!=null&&Object.hasOwnProperty.call(n,"body"))s.uint32(26).string(n.body);if(n.expiry!=null&&Object.hasOwnProperty.call(n,"expiry"))s.uint32(32).uint32(n.expiry);if(n.type!=null&&Object.hasOwnProperty.call(n,"type"))s.uint32(42).string(n.type);return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.IncomingMessage;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{if(!(u.receivers&&u.receivers.length))u.receivers=[];u.receivers.push(i.Receiver.decode(t,t.uint32(),undefined,o+1));break}case 2:{u.sender=i.Sender.decode(t,t.uint32(),undefined,o+1);break}case 3:{u.body=t.string();break}case 4:{u.expiry=t.uint32();break}case 5:{u.type=t.string();break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/IncomingMessage"};return e}();i.ChannelStatsRequest=function(){function e(e){this.channels=[];if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.channels=r.emptyArray;e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.channels!=null&&n.channels.length)for(var a=0;a<n.channels.length;++a)i.ChannelId.encode(n.channels[a],s.uint32(10).fork(),o+1).ldelim();return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.ChannelStatsRequest;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{if(!(u.channels&&u.channels.length))u.channels=[];u.channels.push(i.ChannelId.decode(t,t.uint32(),undefined,o+1));break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/ChannelStatsRequest"};return e}();i.ChannelId=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.id=r.newBuffer([]);e.prototype.isPrivate=false;e.prototype.signature=r.newBuffer([]);e.create=function n(t){return new e(t)};e.encode=function e(n,i,s){if(!i)i=t.create();if(s===undefined)s=0;if(s>r.recursionLimit)throw Error("max depth exceeded");if(n.id!=null&&Object.hasOwnProperty.call(n,"id"))i.uint32(10).bytes(n.id);if(n.isPrivate!=null&&Object.hasOwnProperty.call(n,"isPrivate"))i.uint32(16).bool(n.isPrivate);if(n.signature!=null&&Object.hasOwnProperty.call(n,"signature"))i.uint32(26).bytes(n.signature);return i};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.ChannelId;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.id=t.bytes();break}case 2:{u.isPrivate=t.bool();break}case 3:{u.signature=t.bytes();break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/ChannelId"};return e}();i.ServerStatsRequest=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.create=function n(t){return new e(t)};e.encode=function e(n,i,s){if(!i)i=t.create();if(s===undefined)s=0;if(s>r.recursionLimit)throw Error("max depth exceeded");return i};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.ServerStatsRequest;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/ServerStatsRequest"};return e}();i.RegisterRequest=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.verificationQuery="";e.prototype.host="";e.create=function n(t){return new e(t)};e.encode=function e(n,i,s){if(!i)i=t.create();if(s===undefined)s=0;if(s>r.recursionLimit)throw Error("max depth exceeded");if(n.verificationQuery!=null&&Object.hasOwnProperty.call(n,"verificationQuery"))i.uint32(10).string(n.verificationQuery);if(n.host!=null&&Object.hasOwnProperty.call(n,"host"))i.uint32(18).string(n.host);return i};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.RegisterRequest;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.verificationQuery=t.string();break}case 2:{u.host=t.string();break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/RegisterRequest"};return e}();i.Sender=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.type=0;e.prototype.id=r.newBuffer([]);e.create=function n(t){return new e(t)};e.encode=function e(n,i,s){if(!i)i=t.create();if(s===undefined)s=0;if(s>r.recursionLimit)throw Error("max depth exceeded");if(n.type!=null&&Object.hasOwnProperty.call(n,"type"))i.uint32(8).int32(n.type);if(n.id!=null&&Object.hasOwnProperty.call(n,"id"))i.uint32(18).bytes(n.id);return i};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.Sender;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.type=t.int32();break}case 2:{u.id=t.bytes();break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/Sender"};return e}();i.SenderType=function(){var e={},n=Object.create(e);n[e[0]="UNKNOWN"]=0;n[e[1]="CLIENT"]=1;n[e[2]="BACKEND"]=2;return n}();i.Receiver=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.id=r.newBuffer([]);e.prototype.isPrivate=false;e.prototype.signature=r.newBuffer([]);e.create=function n(t){return new e(t)};e.encode=function e(n,i,s){if(!i)i=t.create();if(s===undefined)s=0;if(s>r.recursionLimit)throw Error("max depth exceeded");if(n.id!=null&&Object.hasOwnProperty.call(n,"id"))i.uint32(10).bytes(n.id);if(n.isPrivate!=null&&Object.hasOwnProperty.call(n,"isPrivate"))i.uint32(16).bool(n.isPrivate);if(n.signature!=null&&Object.hasOwnProperty.call(n,"signature"))i.uint32(26).bytes(n.signature);return i};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.Receiver;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.id=t.bytes();break}case 2:{u.isPrivate=t.bool();break}case 3:{u.signature=t.bytes();break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/Receiver"};return e}();i.ResponseBatch=function(){function e(e){this.responses=[];if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.responses=r.emptyArray;e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.responses!=null&&n.responses.length)for(var a=0;a<n.responses.length;++a)i.Response.encode(n.responses[a],s.uint32(10).fork(),o+1).ldelim();return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.ResponseBatch;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{if(!(u.responses&&u.responses.length))u.responses=[];u.responses.push(i.Response.decode(t,t.uint32(),undefined,o+1));break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/ResponseBatch"};return e}();i.Response=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.outgoingMessages=null;e.prototype.channelStats=null;e.prototype.serverStats=null;e.prototype.json=null;var s;Object.defineProperty(e.prototype,"command",{get:r.oneOfGetter(s=["outgoingMessages","channelStats","serverStats","json"]),set:r.oneOfSetter(s)});e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.outgoingMessages!=null&&Object.hasOwnProperty.call(n,"outgoingMessages"))i.OutgoingMessagesResponse.encode(n.outgoingMessages,s.uint32(10).fork(),o+1).ldelim();if(n.channelStats!=null&&Object.hasOwnProperty.call(n,"channelStats"))i.ChannelStatsResponse.encode(n.channelStats,s.uint32(18).fork(),o+1).ldelim();if(n.serverStats!=null&&Object.hasOwnProperty.call(n,"serverStats"))i.JsonResponse.encode(n.serverStats,s.uint32(26).fork(),o+1).ldelim();if(n.json!=null&&Object.hasOwnProperty.call(n,"json"))s.uint32(34).string(n.json);return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.Response;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.outgoingMessages=i.OutgoingMessagesResponse.decode(t,t.uint32(),undefined,o+1);break}case 2:{u.channelStats=i.ChannelStatsResponse.decode(t,t.uint32(),undefined,o+1);break}case 3:{u.serverStats=i.JsonResponse.decode(t,t.uint32(),undefined,o+1);break}case 4:{u.json=t.string();break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/Response"};return e}();i.OutgoingMessagesResponse=function(){function e(e){this.messages=[];if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.messages=r.emptyArray;e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.messages!=null&&n.messages.length)for(var a=0;a<n.messages.length;++a)i.OutgoingMessage.encode(n.messages[a],s.uint32(10).fork(),o+1).ldelim();return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.OutgoingMessagesResponse;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{if(!(u.messages&&u.messages.length))u.messages=[];u.messages.push(i.OutgoingMessage.decode(t,t.uint32(),undefined,o+1));break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/OutgoingMessagesResponse"};return e}();i.OutgoingMessage=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.id=r.newBuffer([]);e.prototype.body="";e.prototype.expiry=0;e.prototype.created=0;e.prototype.sender=null;e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.id!=null&&Object.hasOwnProperty.call(n,"id"))s.uint32(10).bytes(n.id);if(n.body!=null&&Object.hasOwnProperty.call(n,"body"))s.uint32(18).string(n.body);if(n.expiry!=null&&Object.hasOwnProperty.call(n,"expiry"))s.uint32(24).uint32(n.expiry);if(n.created!=null&&Object.hasOwnProperty.call(n,"created"))s.uint32(37).fixed32(n.created);if(n.sender!=null&&Object.hasOwnProperty.call(n,"sender"))i.Sender.encode(n.sender,s.uint32(42).fork(),o+1).ldelim();return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.OutgoingMessage;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.id=t.bytes();break}case 2:{u.body=t.string();break}case 3:{u.expiry=t.uint32();break}case 4:{u.created=t.fixed32();break}case 5:{u.sender=i.Sender.decode(t,t.uint32(),undefined,o+1);break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/OutgoingMessage"};return e}();i.ChannelStatsResponse=function(){function e(e){this.channels=[];if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.channels=r.emptyArray;e.create=function n(t){return new e(t)};e.encode=function e(n,s,o){if(!s)s=t.create();if(o===undefined)o=0;if(o>r.recursionLimit)throw Error("max depth exceeded");if(n.channels!=null&&n.channels.length)for(var a=0;a<n.channels.length;++a)i.ChannelStats.encode(n.channels[a],s.uint32(10).fork(),o+1).ldelim();return s};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.ChannelStatsResponse;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{if(!(u.channels&&u.channels.length))u.channels=[];u.channels.push(i.ChannelStats.decode(t,t.uint32(),undefined,o+1));break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/ChannelStatsResponse"};return e}();i.ChannelStats=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.id=r.newBuffer([]);e.prototype.isPrivate=false;e.prototype.isOnline=false;e.create=function n(t){return new e(t)};e.encode=function e(n,i,s){if(!i)i=t.create();if(s===undefined)s=0;if(s>r.recursionLimit)throw Error("max depth exceeded");if(n.id!=null&&Object.hasOwnProperty.call(n,"id"))i.uint32(10).bytes(n.id);if(n.isPrivate!=null&&Object.hasOwnProperty.call(n,"isPrivate"))i.uint32(16).bool(n.isPrivate);if(n.isOnline!=null&&Object.hasOwnProperty.call(n,"isOnline"))i.uint32(24).bool(n.isOnline);return i};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);
1if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.ChannelStats;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.id=t.bytes();break}case 2:{u.isPrivate=t.bool();break}case 3:{u.isOnline=t.bool();break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/ChannelStats"};return e}();i.JsonResponse=function(){function e(e){if(e)for(var n=Object.keys(e),t=0;t<n.length;++t)if(e[n[t]]!=null&&n[t]!=="__proto__")this[n[t]]=e[n[t]]}e.prototype.json="";e.create=function n(t){return new e(t)};e.encode=function e(n,i,s){if(!i)i=t.create();if(s===undefined)s=0;if(s>r.recursionLimit)throw Error("max depth exceeded");if(n.json!=null&&Object.hasOwnProperty.call(n,"json"))i.uint32(10).string(n.json);return i};e.decode=function e(t,r,s,o){if(!(t instanceof n))t=n.create(t);if(o===undefined)o=0;if(o>n.recursionLimit)throw Error("maximum nesting depth exceeded");var a=r===undefined?t.len:t.pos+r,u=new i.JsonResponse;while(t.pos<a){var c=t.uint32();if(c===s)break;switch(c>>>3){case 1:{u.json=t.string();break}default:t.skipType(c&7,o);break}}return u};e.getTypeUrl=function e(n){if(n===undefined){n="type.googleapis.com"}return n+"/JsonResponse"};return e}();return i})(typeof window==="object"&&typeof window.protobuf==="object"&&window.protobuf||typeof self==="object"&&typeof self.protobuf==="object"&&self.protobuf||typeof protobuf==="object"&&protobuf); 2//# sourceMappingURL=model.map.js
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.