@viamrobotics/sdk 0.0.3 → 0.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.umd.js CHANGED
@@ -7,7 +7,7 @@
7
7
  <span dir=rtl>`+t+"</span>"},goog.i18n.bidi.enforceRtlInText=function(t){return goog.i18n.bidi.Format.RLE+t+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.enforceLtrInHtml=function(t){return t.charAt(0)=="<"?t.replace(/<\w+/,"$& dir=ltr"):`
8
8
  <span dir=ltr>`+t+"</span>"},goog.i18n.bidi.enforceLtrInText=function(t){return goog.i18n.bidi.Format.LRE+t+goog.i18n.bidi.Format.PDF},goog.i18n.bidi.dimensionsRe_=/:\s*([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)\s+([.\d][.\w]*)/g,goog.i18n.bidi.leftRe_=/left/gi,goog.i18n.bidi.rightRe_=/right/gi,goog.i18n.bidi.tempRe_=/%%%%/g,goog.i18n.bidi.mirrorCSS=function(t){return t.replace(goog.i18n.bidi.dimensionsRe_,":$1 $4 $3 $2").replace(goog.i18n.bidi.leftRe_,"%%%%").replace(goog.i18n.bidi.rightRe_,goog.i18n.bidi.LEFT).replace(goog.i18n.bidi.tempRe_,goog.i18n.bidi.RIGHT)},goog.i18n.bidi.doubleQuoteSubstituteRe_=/([\u0591-\u05f2])"/g,goog.i18n.bidi.singleQuoteSubstituteRe_=/([\u0591-\u05f2])'/g,goog.i18n.bidi.normalizeHebrewQuote=function(t){return t.replace(goog.i18n.bidi.doubleQuoteSubstituteRe_,"$1\u05F4").replace(goog.i18n.bidi.singleQuoteSubstituteRe_,"$1\u05F3")},goog.i18n.bidi.wordSeparatorRe_=/\s+/,goog.i18n.bidi.hasNumeralsRe_=/[\d\u06f0-\u06f9]/,goog.i18n.bidi.rtlDetectionThreshold_=.4,goog.i18n.bidi.estimateDirection=function(t,e){var r=0,s=0,o=!1;for(t=goog.i18n.bidi.stripHtmlIfNeeded_(t,e).split(goog.i18n.bidi.wordSeparatorRe_),e=0;e<t.length;e++){var i=t[e];goog.i18n.bidi.startsWithRtl(i)?(r++,s++):goog.i18n.bidi.isRequiredLtrRe_.test(i)?o=!0:goog.i18n.bidi.hasAnyLtr(i)?s++:goog.i18n.bidi.hasNumeralsRe_.test(i)&&(o=!0)}return s==0?o?goog.i18n.bidi.Dir.LTR:goog.i18n.bidi.Dir.NEUTRAL:r/s>goog.i18n.bidi.rtlDetectionThreshold_?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.detectRtlDirectionality=function(t,e){return goog.i18n.bidi.estimateDirection(t,e)==goog.i18n.bidi.Dir.RTL},goog.i18n.bidi.setElementDirAndAlign=function(t,e){t&&(e=goog.i18n.bidi.toDir(e))&&(t.style.textAlign=e==goog.i18n.bidi.Dir.RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,t.dir=e==goog.i18n.bidi.Dir.RTL?"rtl":"ltr")},goog.i18n.bidi.setElementDirByTextDirectionality=function(t,e){switch(goog.i18n.bidi.estimateDirection(e)){case goog.i18n.bidi.Dir.LTR:t.dir="ltr";break;case goog.i18n.bidi.Dir.RTL:t.dir="rtl";break;default:t.removeAttribute("dir")}},goog.i18n.bidi.DirectionalString=function(){},goog.html.TrustedResourceUrl=function(){this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_="",this.trustedURL_=null,this.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.TrustedResourceUrl.prototype.implementsGoogStringTypedString=!0,goog.html.TrustedResourceUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_.toString()},goog.html.TrustedResourceUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.TrustedResourceUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.html.TrustedResourceUrl.prototype.cloneWithParams=function(t,e){var r=goog.html.TrustedResourceUrl.unwrap(this),s=(r=goog.html.TrustedResourceUrl.URL_PARAM_PARSER_.exec(r))[3]||"";return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(r[1]+goog.html.TrustedResourceUrl.stringifyParams_("?",r[2]||"",t)+goog.html.TrustedResourceUrl.stringifyParams_("#",s,e))},goog.DEBUG&&(goog.html.TrustedResourceUrl.prototype.toString=function(){return"TrustedResourceUrl{"+this.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_+"}"}),goog.html.TrustedResourceUrl.unwrap=function(t){return goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(t).toString()},goog.html.TrustedResourceUrl.unwrapTrustedScriptURL=function(t){return t instanceof goog.html.TrustedResourceUrl&&t.constructor===goog.html.TrustedResourceUrl&&t.TRUSTED_RESOURCE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_:(goog.asserts.fail("expected object of type TrustedResourceUrl, got '"+t+"' of type "+goog.typeOf(t)),"type_error:TrustedResourceUrl")},goog.html.TrustedResourceUrl.unwrapTrustedURL=function(t){return t.trustedURL_?t.trustedURL_:goog.html.TrustedResourceUrl.unwrap(t)},goog.html.TrustedResourceUrl.format=function(t,e){var r=goog.string.Const.unwrap(t);if(!goog.html.TrustedResourceUrl.BASE_URL_.test(r))throw Error("Invalid TrustedResourceUrl format: "+r);return t=r.replace(goog.html.TrustedResourceUrl.FORMAT_MARKER_,function(s,o){if(!Object.prototype.hasOwnProperty.call(e,o))throw Error('Found marker, "'+o+'", in format string, "'+r+'", but no valid label mapping found in args: '+JSON.stringify(e));return(s=e[o])instanceof goog.string.Const?goog.string.Const.unwrap(s):encodeURIComponent(String(s))}),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.TrustedResourceUrl.FORMAT_MARKER_=/%{(\w+)}/g,goog.html.TrustedResourceUrl.BASE_URL_=/^((https:)?\/\/[0-9a-z.:[\]-]+\/|\/[^/\\]|[^:/\\%]+\/|[^:/\\%]*[?#]|about:blank#)/i,goog.html.TrustedResourceUrl.URL_PARAM_PARSER_=/^([^?#]*)(\?[^#]*)?(#[\s\S]*)?/,goog.html.TrustedResourceUrl.formatWithParams=function(t,e,r,s){return goog.html.TrustedResourceUrl.format(t,e).cloneWithParams(r,s)},goog.html.TrustedResourceUrl.fromConstant=function(t){return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(t))},goog.html.TrustedResourceUrl.fromConstants=function(t){for(var e="",r=0;r<t.length;r++)e+=goog.string.Const.unwrap(t[r]);return goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.TrustedResourceUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse=function(t){var e=new goog.html.TrustedResourceUrl;return e.privateDoNotAccessOrElseTrustedResourceUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScriptURL(t):t,goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY&&(e.trustedURL_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(t)),e},goog.html.TrustedResourceUrl.stringifyParams_=function(t,e,r){if(r==null)return e;if(goog.isString(r))return r?t+encodeURIComponent(r):"";for(var s in r){var o=r[s];o=goog.isArray(o)?o:[o];for(var i=0;i<o.length;i++){var n=o[i];n!=null&&(e||(e=t),e+=(e.length>t.length?"&":"")+encodeURIComponent(s)+"="+encodeURIComponent(String(n)))}}return e},goog.string.internal={},goog.string.internal.startsWith=function(t,e){return t.lastIndexOf(e,0)==0},goog.string.internal.endsWith=function(t,e){var r=t.length-e.length;return 0<=r&&t.indexOf(e,r)==r},goog.string.internal.caseInsensitiveStartsWith=function(t,e){return goog.string.internal.caseInsensitiveCompare(e,t.substr(0,e.length))==0},goog.string.internal.caseInsensitiveEndsWith=function(t,e){return goog.string.internal.caseInsensitiveCompare(e,t.substr(t.length-e.length,e.length))==0},goog.string.internal.caseInsensitiveEquals=function(t,e){return t.toLowerCase()==e.toLowerCase()},goog.string.internal.isEmptyOrWhitespace=function(t){return/^[\s\xa0]*$/.test(t)},goog.string.internal.trim=goog.TRUSTED_SITE&&String.prototype.trim?function(t){return t.trim()}:function(t){return/^[\s\xa0]*([\s\S]*?)[\s\xa0]*$/.exec(t)[1]},goog.string.internal.caseInsensitiveCompare=function(t,e){return(t=String(t).toLowerCase())<(e=String(e).toLowerCase())?-1:t==e?0:1},goog.string.internal.newLineToBr=function(t,e){return t.replace(/(\r\n|\r|\n)/g,e?"<br />":"<br>")},goog.string.internal.htmlEscape=function(t,e){if(e)t=t.replace(goog.string.internal.AMP_RE_,"&amp;").replace(goog.string.internal.LT_RE_,"&lt;").replace(goog.string.internal.GT_RE_,"&gt;").replace(goog.string.internal.QUOT_RE_,"&quot;").replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;").replace(goog.string.internal.NULL_RE_,"&#0;");else{if(!goog.string.internal.ALL_RE_.test(t))return t;t.indexOf("&")!=-1&&(t=t.replace(goog.string.internal.AMP_RE_,"&amp;")),t.indexOf("<")!=-1&&(t=t.replace(goog.string.internal.LT_RE_,"&lt;")),t.indexOf(">")!=-1&&(t=t.replace(goog.string.internal.GT_RE_,"&gt;")),t.indexOf('"')!=-1&&(t=t.replace(goog.string.internal.QUOT_RE_,"&quot;")),t.indexOf("'")!=-1&&(t=t.replace(goog.string.internal.SINGLE_QUOTE_RE_,"&#39;")),t.indexOf("\0")!=-1&&(t=t.replace(goog.string.internal.NULL_RE_,"&#0;"))}return t},goog.string.internal.AMP_RE_=/&/g,goog.string.internal.LT_RE_=/</g,goog.string.internal.GT_RE_=/>/g,goog.string.internal.QUOT_RE_=/"/g,goog.string.internal.SINGLE_QUOTE_RE_=/'/g,goog.string.internal.NULL_RE_=/\x00/g,goog.string.internal.ALL_RE_=/[\x00&<>"']/,goog.string.internal.whitespaceEscape=function(t,e){return goog.string.internal.newLineToBr(t.replace(/ /g," &#160;"),e)},goog.string.internal.contains=function(t,e){return t.indexOf(e)!=-1},goog.string.internal.caseInsensitiveContains=function(t,e){return goog.string.internal.contains(t.toLowerCase(),e.toLowerCase())},goog.string.internal.compareVersions=function(t,e){var r=0;t=goog.string.internal.trim(String(t)).split("."),e=goog.string.internal.trim(String(e)).split(".");for(var s=Math.max(t.length,e.length),o=0;r==0&&o<s;o++){var i=t[o]||"",n=e[o]||"";do{if(i=/(\d*)(\D*)(.*)/.exec(i)||["","","",""],n=/(\d*)(\D*)(.*)/.exec(n)||["","","",""],i[0].length==0&&n[0].length==0)break;r=i[1].length==0?0:parseInt(i[1],10);var g=n[1].length==0?0:parseInt(n[1],10);r=goog.string.internal.compareElements_(r,g)||goog.string.internal.compareElements_(i[2].length==0,n[2].length==0)||goog.string.internal.compareElements_(i[2],n[2]),i=i[3],n=n[3]}while(r==0)}return r},goog.string.internal.compareElements_=function(t,e){return t<e?-1:t>e?1:0},goog.html.SafeUrl=function(){this.privateDoNotAccessOrElseSafeUrlWrappedValue_="",this.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeUrl.INNOCUOUS_STRING="about:invalid#zClosurez",goog.html.SafeUrl.prototype.implementsGoogStringTypedString=!0,goog.html.SafeUrl.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString()},goog.html.SafeUrl.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeUrl.prototype.getDirection=function(){return goog.i18n.bidi.Dir.LTR},goog.DEBUG&&(goog.html.SafeUrl.prototype.toString=function(){return"SafeUrl{"+this.privateDoNotAccessOrElseSafeUrlWrappedValue_+"}"}),goog.html.SafeUrl.unwrap=function(t){return goog.html.SafeUrl.unwrapTrustedURL(t).toString()},goog.html.SafeUrl.unwrapTrustedURL=function(t){return t instanceof goog.html.SafeUrl&&t.constructor===goog.html.SafeUrl&&t.SAFE_URL_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeUrlWrappedValue_:(goog.asserts.fail("expected object of type SafeUrl, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeUrl")},goog.html.SafeUrl.fromConstant=function(t){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.string.Const.unwrap(t))},goog.html.SAFE_MIME_TYPE_PATTERN_=/^(?:audio\/(?:3gpp2|3gpp|aac|L16|midi|mp3|mp4|mpeg|oga|ogg|opus|x-m4a|x-wav|wav|webm)|image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp|x-icon)|text\/csv|video\/(?:mpeg|mp4|ogg|webm|quicktime))(?:;\w+=(?:\w+|"[\w;=]+"))*$/i,goog.html.SafeUrl.isSafeMimeType=function(t){return goog.html.SAFE_MIME_TYPE_PATTERN_.test(t)},goog.html.SafeUrl.fromBlob=function(t){return t=goog.html.SAFE_MIME_TYPE_PATTERN_.test(t.type)?goog.fs.url.createObjectUrl(t):goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.DATA_URL_PATTERN_=/^data:([^,]*);base64,[a-z0-9+\/]+=*$/i,goog.html.SafeUrl.fromDataUrl=function(t){var e=(t=t.replace(/(%0A|%0D)/g,"")).match(goog.html.DATA_URL_PATTERN_);return e=e&&goog.html.SAFE_MIME_TYPE_PATTERN_.test(e[1]),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e?t:goog.html.SafeUrl.INNOCUOUS_STRING)},goog.html.SafeUrl.fromTelUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"tel:")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SIP_URL_PATTERN_=/^sip[s]?:[+a-z0-9_.!$%&'*\/=^`{|}~-]+@([a-z0-9-]+\.)+[a-z0-9]{2,63}$/i,goog.html.SafeUrl.fromSipUrl=function(t){return goog.html.SIP_URL_PATTERN_.test(decodeURIComponent(t))||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromFacebookMessengerUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"fb-messenger://share")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromWhatsAppUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"whatsapp://send")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.fromSmsUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"sms:")&&goog.html.SafeUrl.isSmsUrlBodyValid_(t)||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.isSmsUrlBodyValid_=function(t){var e=t.indexOf("#");if(0<e&&(t=t.substring(0,e)),!(e=t.match(/[?&]body=/gi)))return!0;if(1<e.length)return!1;if(!(t=t.match(/[?&]body=([^&]*)/)[1]))return!0;try{decodeURIComponent(t)}catch{return!1}return/^(?:[a-z0-9\-_.~]|%[0-9a-f]{2})+$/i.test(t)},goog.html.SafeUrl.fromSshUrl=function(t){return goog.string.internal.caseInsensitiveStartsWith(t,"ssh://")||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeUrl.sanitizeChromeExtensionUrl=function(t,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^chrome-extension:\/\/([^\/]+)\//,t,e)},goog.html.SafeUrl.sanitizeFirefoxExtensionUrl=function(t,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^moz-extension:\/\/([^\/]+)\//,t,e)},goog.html.SafeUrl.sanitizeEdgeExtensionUrl=function(t,e){return goog.html.SafeUrl.sanitizeExtensionUrl_(/^ms-browser-extension:\/\/([^\/]+)\//,t,e)},goog.html.SafeUrl.sanitizeExtensionUrl_=function(t,e,r){return(t=t.exec(e))?(t=t[1],(r instanceof goog.string.Const?[goog.string.Const.unwrap(r)]:r.map(function(s){return goog.string.Const.unwrap(s)})).indexOf(t)==-1&&(e=goog.html.SafeUrl.INNOCUOUS_STRING)):e=goog.html.SafeUrl.INNOCUOUS_STRING,goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeUrl.fromTrustedResourceUrl=function(t){return goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(goog.html.TrustedResourceUrl.unwrap(t))},goog.html.SAFE_URL_PATTERN_=/^(?:(?:https?|mailto|ftp):|[^:/?#]*(?:[/?#]|$))/i,goog.html.SafeUrl.SAFE_URL_PATTERN=goog.html.SAFE_URL_PATTERN_,goog.html.SafeUrl.sanitize=function(t){return t instanceof goog.html.SafeUrl?t:(t=typeof t=="object"&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),goog.html.SAFE_URL_PATTERN_.test(t)||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t))},goog.html.SafeUrl.sanitizeAssertUnchanged=function(t,e){return t instanceof goog.html.SafeUrl?t:(t=typeof t=="object"&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),e&&/^data:/i.test(t)&&(e=goog.html.SafeUrl.fromDataUrl(t)).getTypedStringValue()==t?e:(goog.asserts.assert(goog.html.SAFE_URL_PATTERN_.test(t),"%s does not match the safe URL pattern",t)||(t=goog.html.SafeUrl.INNOCUOUS_STRING),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(t)))},goog.html.SafeUrl.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse=function(t){var e=new goog.html.SafeUrl;return e.privateDoNotAccessOrElseSafeUrlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createURL(t):t,e},goog.html.SafeUrl.ABOUT_BLANK=goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse("about:blank"),goog.html.SafeStyle=function(){this.privateDoNotAccessOrElseSafeStyleWrappedValue_="",this.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyle.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyle.fromConstant=function(t){return(t=goog.string.Const.unwrap(t)).length===0?goog.html.SafeStyle.EMPTY:(goog.asserts.assert(goog.string.internal.endsWith(t,";"),"Last character of style string is not ';': "+t),goog.asserts.assert(goog.string.internal.contains(t,":"),`Style string must contain at least one ':', to specify a "name: value" pair: `+t),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(t))},goog.html.SafeStyle.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_},goog.DEBUG&&(goog.html.SafeStyle.prototype.toString=function(){return"SafeStyle{"+this.privateDoNotAccessOrElseSafeStyleWrappedValue_+"}"}),goog.html.SafeStyle.unwrap=function(t){return t instanceof goog.html.SafeStyle&&t.constructor===goog.html.SafeStyle&&t.SAFE_STYLE_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyle.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeStyleWrappedValue_:(goog.asserts.fail("expected object of type SafeStyle, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeStyle")},goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse=function(t){return new goog.html.SafeStyle().initSecurityPrivateDoNotAccessOrElse_(t)},goog.html.SafeStyle.prototype.initSecurityPrivateDoNotAccessOrElse_=function(t){return this.privateDoNotAccessOrElseSafeStyleWrappedValue_=t,this},goog.html.SafeStyle.EMPTY=goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(""),goog.html.SafeStyle.INNOCUOUS_STRING="zClosurez",goog.html.SafeStyle.create=function(t){var e,r="";for(e in t){if(!/^[-_a-zA-Z0-9]+$/.test(e))throw Error("Name allows only [-_a-zA-Z0-9], got: "+e);var s=t[e];s!=null&&(r+=e+":"+(s=goog.isArray(s)?goog.array.map(s,goog.html.SafeStyle.sanitizePropertyValue_).join(" "):goog.html.SafeStyle.sanitizePropertyValue_(s))+";")}return r?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(r):goog.html.SafeStyle.EMPTY},goog.html.SafeStyle.sanitizePropertyValue_=function(t){if(t instanceof goog.html.SafeUrl)return'url("'+goog.html.SafeUrl.unwrap(t).replace(/</g,"%3c").replace(/[\\"]/g,"\\$&")+'")';if(t=t instanceof goog.string.Const?goog.string.Const.unwrap(t):goog.html.SafeStyle.sanitizePropertyValueString_(String(t)),/[{;}]/.test(t))throw new goog.asserts.AssertionError("Value does not allow [{;}], got: %s.",[t]);return t},goog.html.SafeStyle.sanitizePropertyValueString_=function(t){var e=t.replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.FUNCTIONS_RE_,"$1").replace(goog.html.SafeStyle.URL_RE_,"url");return goog.html.SafeStyle.VALUE_RE_.test(e)?goog.html.SafeStyle.COMMENT_RE_.test(t)?(goog.asserts.fail("String value disallows comments, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING):goog.html.SafeStyle.hasBalancedQuotes_(t)?goog.html.SafeStyle.hasBalancedSquareBrackets_(t)?goog.html.SafeStyle.sanitizeUrl_(t):(goog.asserts.fail("String value requires balanced square brackets and one identifier per pair of brackets, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value requires balanced quotes, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING):(goog.asserts.fail("String value allows only "+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+" and simple functions, got: "+t),goog.html.SafeStyle.INNOCUOUS_STRING)},goog.html.SafeStyle.hasBalancedQuotes_=function(t){for(var e=!0,r=!0,s=0;s<t.length;s++){var o=t.charAt(s);o=="'"&&r?e=!e:o=='"'&&e&&(r=!r)}return e&&r},goog.html.SafeStyle.hasBalancedSquareBrackets_=function(t){for(var e=!0,r=/^[-_a-zA-Z0-9]$/,s=0;s<t.length;s++){var o=t.charAt(s);if(o=="]"){if(e)return!1;e=!0}else if(o=="["){if(!e)return!1;e=!1}else if(!e&&!r.test(o))return!1}return e},goog.html.SafeStyle.VALUE_ALLOWED_CHARS_=`[-,."'%_!# a-zA-Z0-9\\[\\]]`,goog.html.SafeStyle.VALUE_RE_=new RegExp("^"+goog.html.SafeStyle.VALUE_ALLOWED_CHARS_+"+$"),goog.html.SafeStyle.URL_RE_=/\b(url\([ \t\n]*)('[ -&(-\[\]-~]*'|"[ !#-\[\]-~]*"|[!#-&*-\[\]-~]*)([ \t\n]*\))/g,goog.html.SafeStyle.FUNCTIONS_RE_=/\b(hsl|hsla|rgb|rgba|matrix|calc|minmax|fit-content|repeat|(rotate|scale|translate)(X|Y|Z|3d)?)\([-+*/0-9a-z.%\[\], ]+\)/g,goog.html.SafeStyle.COMMENT_RE_=/\/\*/,goog.html.SafeStyle.sanitizeUrl_=function(t){return t.replace(goog.html.SafeStyle.URL_RE_,function(e,r,s,o){var i="";return s=s.replace(/^(['"])(.*)\1$/,function(n,g,p){return i=g,p}),e=goog.html.SafeUrl.sanitize(s).getTypedStringValue(),r+i+e+i+o})},goog.html.SafeStyle.concat=function(t){var e="",r=function(s){goog.isArray(s)?goog.array.forEach(s,r):e+=goog.html.SafeStyle.unwrap(s)};return goog.array.forEach(arguments,r),e?goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e):goog.html.SafeStyle.EMPTY},goog.html.SafeStyleSheet=function(){this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_="",this.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeStyleSheet.prototype.implementsGoogStringTypedString=!0,goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeStyleSheet.createRule=function(t,e){if(goog.string.internal.contains(t,"<"))throw Error("Selector does not allow '<', got: "+t);var r=t.replace(/('|")((?!\1)[^\r\n\f\\]|\\[\s\S])*\1/g,"");if(!/^[-_a-zA-Z0-9#.:* ,>+~[\]()=^$|]+$/.test(r))throw Error("Selector allows only [-_a-zA-Z0-9#.:* ,>+~[\\]()=^$|] and strings, got: "+t);if(!goog.html.SafeStyleSheet.hasBalancedBrackets_(r))throw Error("() and [] in selector must be balanced, got: "+t);return e instanceof goog.html.SafeStyle||(e=goog.html.SafeStyle.create(e)),t=t+"{"+goog.html.SafeStyle.unwrap(e).replace(/</g,"\\3C ")+"}",goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeStyleSheet.hasBalancedBrackets_=function(t){for(var e={"(":")","[":"]"},r=[],s=0;s<t.length;s++){var o=t[s];if(e[o])r.push(e[o]);else if(goog.object.contains(e,o)&&r.pop()!=o)return!1}return r.length==0},goog.html.SafeStyleSheet.concat=function(t){var e="",r=function(s){goog.isArray(s)?goog.array.forEach(s,r):e+=goog.html.SafeStyleSheet.unwrap(s)};return goog.array.forEach(arguments,r),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.SafeStyleSheet.fromConstant=function(t){return(t=goog.string.Const.unwrap(t)).length===0?goog.html.SafeStyleSheet.EMPTY:(goog.asserts.assert(!goog.string.internal.contains(t,"<"),"Forbidden '<' character in style sheet string: "+t),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(t))},goog.html.SafeStyleSheet.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_},goog.DEBUG&&(goog.html.SafeStyleSheet.prototype.toString=function(){return"SafeStyleSheet{"+this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_+"}"}),goog.html.SafeStyleSheet.unwrap=function(t){return t instanceof goog.html.SafeStyleSheet&&t.constructor===goog.html.SafeStyleSheet&&t.SAFE_STYLE_SHEET_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeStyleSheet.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_:(goog.asserts.fail("expected object of type SafeStyleSheet, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeStyleSheet")},goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse=function(t){return new goog.html.SafeStyleSheet().initSecurityPrivateDoNotAccessOrElse_(t)},goog.html.SafeStyleSheet.prototype.initSecurityPrivateDoNotAccessOrElse_=function(t){return this.privateDoNotAccessOrElseSafeStyleSheetWrappedValue_=t,this},goog.html.SafeStyleSheet.EMPTY=goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(""),goog.labs={},goog.labs.userAgent={},goog.labs.userAgent.util={},goog.labs.userAgent.util.getNativeUserAgentString_=function(){var t=goog.labs.userAgent.util.getNavigator_();return t&&(t=t.userAgent)?t:""},goog.labs.userAgent.util.getNavigator_=function(){return goog.global.navigator},goog.labs.userAgent.util.userAgent_=goog.labs.userAgent.util.getNativeUserAgentString_(),goog.labs.userAgent.util.setUserAgent=function(t){goog.labs.userAgent.util.userAgent_=t||goog.labs.userAgent.util.getNativeUserAgentString_()},goog.labs.userAgent.util.getUserAgent=function(){return goog.labs.userAgent.util.userAgent_},goog.labs.userAgent.util.matchUserAgent=function(t){var e=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.contains(e,t)},goog.labs.userAgent.util.matchUserAgentIgnoreCase=function(t){var e=goog.labs.userAgent.util.getUserAgent();return goog.string.internal.caseInsensitiveContains(e,t)},goog.labs.userAgent.util.extractVersionTuples=function(t){for(var e,r=/(\w[\w ]+)\/([^\s]+)\s*(?:\((.*?)\))?/g,s=[];e=r.exec(t);)s.push([e[1],e[2],e[3]||void 0]);return s},goog.labs.userAgent.browser={},goog.labs.userAgent.browser.matchOpera_=function(){return goog.labs.userAgent.util.matchUserAgent("Opera")},goog.labs.userAgent.browser.matchIE_=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.browser.matchEdgeHtml_=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.browser.matchEdgeChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("Edg/")},goog.labs.userAgent.browser.matchOperaChromium_=function(){return goog.labs.userAgent.util.matchUserAgent("OPR")},goog.labs.userAgent.browser.matchFirefox_=function(){return goog.labs.userAgent.util.matchUserAgent("Firefox")||goog.labs.userAgent.util.matchUserAgent("FxiOS")},goog.labs.userAgent.browser.matchSafari_=function(){return goog.labs.userAgent.util.matchUserAgent("Safari")&&!(goog.labs.userAgent.browser.matchChrome_()||goog.labs.userAgent.browser.matchCoast_()||goog.labs.userAgent.browser.matchOpera_()||goog.labs.userAgent.browser.matchEdgeHtml_()||goog.labs.userAgent.browser.matchEdgeChromium_()||goog.labs.userAgent.browser.matchOperaChromium_()||goog.labs.userAgent.browser.matchFirefox_()||goog.labs.userAgent.browser.isSilk()||goog.labs.userAgent.util.matchUserAgent("Android"))},goog.labs.userAgent.browser.matchCoast_=function(){return goog.labs.userAgent.util.matchUserAgent("Coast")},goog.labs.userAgent.browser.matchIosWebview_=function(){return(goog.labs.userAgent.util.matchUserAgent("iPad")||goog.labs.userAgent.util.matchUserAgent("iPhone"))&&!goog.labs.userAgent.browser.matchSafari_()&&!goog.labs.userAgent.browser.matchChrome_()&&!goog.labs.userAgent.browser.matchCoast_()&&!goog.labs.userAgent.browser.matchFirefox_()&&goog.labs.userAgent.util.matchUserAgent("AppleWebKit")},goog.labs.userAgent.browser.matchChrome_=function(){return(goog.labs.userAgent.util.matchUserAgent("Chrome")||goog.labs.userAgent.util.matchUserAgent("CriOS"))&&!goog.labs.userAgent.browser.matchEdgeHtml_()},goog.labs.userAgent.browser.matchAndroidBrowser_=function(){return goog.labs.userAgent.util.matchUserAgent("Android")&&!(goog.labs.userAgent.browser.isChrome()||goog.labs.userAgent.browser.isFirefox()||goog.labs.userAgent.browser.isOpera()||goog.labs.userAgent.browser.isSilk())},goog.labs.userAgent.browser.isOpera=goog.labs.userAgent.browser.matchOpera_,goog.labs.userAgent.browser.isIE=goog.labs.userAgent.browser.matchIE_,goog.labs.userAgent.browser.isEdge=goog.labs.userAgent.browser.matchEdgeHtml_,goog.labs.userAgent.browser.isEdgeChromium=goog.labs.userAgent.browser.matchEdgeChromium_,goog.labs.userAgent.browser.isOperaChromium=goog.labs.userAgent.browser.matchOperaChromium_,goog.labs.userAgent.browser.isFirefox=goog.labs.userAgent.browser.matchFirefox_,goog.labs.userAgent.browser.isSafari=goog.labs.userAgent.browser.matchSafari_,goog.labs.userAgent.browser.isCoast=goog.labs.userAgent.browser.matchCoast_,goog.labs.userAgent.browser.isIosWebview=goog.labs.userAgent.browser.matchIosWebview_,goog.labs.userAgent.browser.isChrome=goog.labs.userAgent.browser.matchChrome_,goog.labs.userAgent.browser.isAndroidBrowser=goog.labs.userAgent.browser.matchAndroidBrowser_,goog.labs.userAgent.browser.isSilk=function(){return goog.labs.userAgent.util.matchUserAgent("Silk")},goog.labs.userAgent.browser.getVersion=function(){function t(o){return o=goog.array.find(o,s),r[o]||""}var e=goog.labs.userAgent.util.getUserAgent();if(goog.labs.userAgent.browser.isIE())return goog.labs.userAgent.browser.getIEVersion_(e);e=goog.labs.userAgent.util.extractVersionTuples(e);var r={};goog.array.forEach(e,function(o){r[o[0]]=o[1]});var s=goog.partial(goog.object.containsKey,r);return goog.labs.userAgent.browser.isOpera()?t(["Version","Opera"]):goog.labs.userAgent.browser.isEdge()?t(["Edge"]):goog.labs.userAgent.browser.isEdgeChromium()?t(["Edg"]):goog.labs.userAgent.browser.isChrome()?t(["Chrome","CriOS"]):(e=e[2])&&e[1]||""},goog.labs.userAgent.browser.isVersionOrHigher=function(t){return 0<=goog.string.internal.compareVersions(goog.labs.userAgent.browser.getVersion(),t)},goog.labs.userAgent.browser.getIEVersion_=function(t){var e=/rv: *([\d\.]*)/.exec(t);if(e&&e[1])return e[1];e="";var r=/MSIE +([\d\.]+)/.exec(t);if(r&&r[1])if(t=/Trident\/(\d.\d)/.exec(t),r[1]=="7.0")if(t&&t[1])switch(t[1]){case"4.0":e="8.0";break;case"5.0":e="9.0";break;case"6.0":e="10.0";break;case"7.0":e="11.0"}else e="7.0";else e=r[1];return e},goog.html.SafeHtml=function(){this.privateDoNotAccessOrElseSafeHtmlWrappedValue_="",this.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_,this.dir_=null},goog.html.SafeHtml.prototype.implementsGoogI18nBidiDirectionalString=!0,goog.html.SafeHtml.prototype.getDirection=function(){return this.dir_},goog.html.SafeHtml.prototype.implementsGoogStringTypedString=!0,goog.html.SafeHtml.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeHtml.prototype.toString=function(){return"SafeHtml{"+this.privateDoNotAccessOrElseSafeHtmlWrappedValue_+"}"}),goog.html.SafeHtml.unwrap=function(t){return goog.html.SafeHtml.unwrapTrustedHTML(t).toString()},goog.html.SafeHtml.unwrapTrustedHTML=function(t){return t instanceof goog.html.SafeHtml&&t.constructor===goog.html.SafeHtml&&t.SAFE_HTML_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeHtmlWrappedValue_:(goog.asserts.fail("expected object of type SafeHtml, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeHtml")},goog.html.SafeHtml.htmlEscape=function(t){if(t instanceof goog.html.SafeHtml)return t;var e=typeof t=="object",r=null;return e&&t.implementsGoogI18nBidiDirectionalString&&(r=t.getDirection()),t=e&&t.implementsGoogStringTypedString?t.getTypedStringValue():String(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.htmlEscape(t),r)},goog.html.SafeHtml.htmlEscapePreservingNewlines=function(t){return t instanceof goog.html.SafeHtml?t:(t=goog.html.SafeHtml.htmlEscape(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.newLineToBr(goog.html.SafeHtml.unwrap(t)),t.getDirection()))},goog.html.SafeHtml.htmlEscapePreservingNewlinesAndSpaces=function(t){return t instanceof goog.html.SafeHtml?t:(t=goog.html.SafeHtml.htmlEscape(t),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(goog.string.internal.whitespaceEscape(goog.html.SafeHtml.unwrap(t)),t.getDirection()))},goog.html.SafeHtml.from=goog.html.SafeHtml.htmlEscape,goog.html.SafeHtml.VALID_NAMES_IN_TAG_=/^[a-zA-Z0-9-]+$/,goog.html.SafeHtml.URL_ATTRIBUTES_={action:!0,cite:!0,data:!0,formaction:!0,href:!0,manifest:!0,poster:!0,src:!0},goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_={APPLET:!0,BASE:!0,EMBED:!0,IFRAME:!0,LINK:!0,MATH:!0,META:!0,OBJECT:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.html.SafeHtml.create=function(t,e,r){return goog.html.SafeHtml.verifyTagName(String(t)),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse(String(t),e,r)},goog.html.SafeHtml.verifyTagName=function(t){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(t))throw Error("Invalid tag name <"+t+">.");if(t.toUpperCase()in goog.html.SafeHtml.NOT_ALLOWED_TAG_NAMES_)throw Error("Tag name <"+t+"> is not allowed for SafeHtml.")},goog.html.SafeHtml.createIframe=function(t,e,r,s){t&&goog.html.TrustedResourceUrl.unwrap(t);var o={};return o.src=t||null,o.srcdoc=e&&goog.html.SafeHtml.unwrap(e),t=goog.html.SafeHtml.combineAttributes(o,{sandbox:""},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",t,s)},goog.html.SafeHtml.createSandboxIframe=function(t,e,r,s){if(!goog.html.SafeHtml.canUseSandboxIframe())throw Error("The browser does not support sandboxed iframes.");var o={};return o.src=t?goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(t)):null,o.srcdoc=e||null,o.sandbox="",t=goog.html.SafeHtml.combineAttributes(o,{},r),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("iframe",t,s)},goog.html.SafeHtml.canUseSandboxIframe=function(){return goog.global.HTMLIFrameElement&&"sandbox"in goog.global.HTMLIFrameElement.prototype},goog.html.SafeHtml.createScriptSrc=function(t,e){return goog.html.TrustedResourceUrl.unwrap(t),t=goog.html.SafeHtml.combineAttributes({src:t},{},e),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",t)},goog.html.SafeHtml.createScript=function(t,e){for(var r in e){var s=r.toLowerCase();if(s=="language"||s=="src"||s=="text"||s=="type")throw Error('Cannot set "'+s+'" attribute')}for(r="",t=goog.array.concat(t),s=0;s<t.length;s++)r+=goog.html.SafeScript.unwrap(t[s]);return t=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("script",e,t)},goog.html.SafeHtml.createStyle=function(t,e){e=goog.html.SafeHtml.combineAttributes({type:"text/css"},{},e);var r="";t=goog.array.concat(t);for(var s=0;s<t.length;s++)r+=goog.html.SafeStyleSheet.unwrap(t[s]);return t=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(r,goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("style",e,t)},goog.html.SafeHtml.createMetaRefresh=function(t,e){return t=goog.html.SafeUrl.unwrap(goog.html.SafeUrl.sanitize(t)),(goog.labs.userAgent.browser.isIE()||goog.labs.userAgent.browser.isEdge())&&goog.string.internal.contains(t,";")&&(t="'"+t.replace(/'/g,"%27")+"'"),goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse("meta",{"http-equiv":"refresh",content:(e||0)+"; url="+t})},goog.html.SafeHtml.getAttrNameAndValue_=function(t,e,r){if(r instanceof goog.string.Const)r=goog.string.Const.unwrap(r);else if(e.toLowerCase()=="style")r=goog.html.SafeHtml.getStyleValue_(r);else{if(/^on/i.test(e))throw Error('Attribute "'+e+'" requires goog.string.Const value, "'+r+'" given.');if(e.toLowerCase()in goog.html.SafeHtml.URL_ATTRIBUTES_)if(r instanceof goog.html.TrustedResourceUrl)r=goog.html.TrustedResourceUrl.unwrap(r);else if(r instanceof goog.html.SafeUrl)r=goog.html.SafeUrl.unwrap(r);else{if(!goog.isString(r))throw Error('Attribute "'+e+'" on tag "'+t+'" requires goog.html.SafeUrl, goog.string.Const, or string, value "'+r+'" given.');r=goog.html.SafeUrl.sanitize(r).getTypedStringValue()}}return r.implementsGoogStringTypedString&&(r=r.getTypedStringValue()),goog.asserts.assert(goog.isString(r)||goog.isNumber(r),"String or number value expected, got "+typeof r+" with value: "+r),e+'="'+goog.string.internal.htmlEscape(String(r))+'"'},goog.html.SafeHtml.getStyleValue_=function(t){if(!goog.isObject(t))throw Error('The "style" attribute requires goog.html.SafeStyle or map of style properties, '+typeof t+" given: "+t);return t instanceof goog.html.SafeStyle||(t=goog.html.SafeStyle.create(t)),goog.html.SafeStyle.unwrap(t)},goog.html.SafeHtml.createWithDir=function(t,e,r,s){return(e=goog.html.SafeHtml.create(e,r,s)).dir_=t,e},goog.html.SafeHtml.join=function(t,e){var r=(t=goog.html.SafeHtml.htmlEscape(t)).getDirection(),s=[],o=function(i){goog.isArray(i)?goog.array.forEach(i,o):(i=goog.html.SafeHtml.htmlEscape(i),s.push(goog.html.SafeHtml.unwrap(i)),i=i.getDirection(),r==goog.i18n.bidi.Dir.NEUTRAL?r=i:i!=goog.i18n.bidi.Dir.NEUTRAL&&r!=i&&(r=null))};return goog.array.forEach(e,o),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(s.join(goog.html.SafeHtml.unwrap(t)),r)},goog.html.SafeHtml.concat=function(t){return goog.html.SafeHtml.join(goog.html.SafeHtml.EMPTY,Array.prototype.slice.call(arguments))},goog.html.SafeHtml.concatWithDir=function(t,e){var r=goog.html.SafeHtml.concat(goog.array.slice(arguments,1));return r.dir_=t,r},goog.html.SafeHtml.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse=function(t,e){return new goog.html.SafeHtml().initSecurityPrivateDoNotAccessOrElse_(t,e)},goog.html.SafeHtml.prototype.initSecurityPrivateDoNotAccessOrElse_=function(t,e){return this.privateDoNotAccessOrElseSafeHtmlWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createHTML(t):t,this.dir_=e,this},goog.html.SafeHtml.createSafeHtmlTagSecurityPrivateDoNotAccessOrElse=function(t,e,r){var s=null,o="<"+t+goog.html.SafeHtml.stringifyAttributes(t,e);return goog.isDefAndNotNull(r)?goog.isArray(r)||(r=[r]):r=[],goog.dom.tags.isVoidTag(t.toLowerCase())?(goog.asserts.assert(!r.length,"Void tag <"+t+"> does not allow content."),o+=">"):(s=goog.html.SafeHtml.concat(r),o+=">"+goog.html.SafeHtml.unwrap(s)+"</"+t+">",s=s.getDirection()),(t=e&&e.dir)&&(s=/^(ltr|rtl|auto)$/i.test(t)?goog.i18n.bidi.Dir.NEUTRAL:null),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(o,s)},goog.html.SafeHtml.stringifyAttributes=function(t,e){var r="";if(e)for(var s in e){if(!goog.html.SafeHtml.VALID_NAMES_IN_TAG_.test(s))throw Error('Invalid attribute name "'+s+'".');var o=e[s];goog.isDefAndNotNull(o)&&(r+=" "+goog.html.SafeHtml.getAttrNameAndValue_(t,s,o))}return r},goog.html.SafeHtml.combineAttributes=function(t,e,r){var s,o={};for(s in t)goog.asserts.assert(s.toLowerCase()==s,"Must be lower case"),o[s]=t[s];for(s in e)goog.asserts.assert(s.toLowerCase()==s,"Must be lower case"),o[s]=e[s];for(s in r){var i=s.toLowerCase();if(i in t)throw Error('Cannot override "'+i+'" attribute, got "'+s+'" with value "'+r[s]+'"');i in e&&delete o[i],o[s]=r[s]}return o},goog.html.SafeHtml.DOCTYPE_HTML=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<!DOCTYPE html>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.EMPTY=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("",goog.i18n.bidi.Dir.NEUTRAL),goog.html.SafeHtml.BR=goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse("<br>",goog.i18n.bidi.Dir.NEUTRAL),goog.html.uncheckedconversions={},goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract=function(t,e,r){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeHtml.createSafeHtmlSecurityPrivateDoNotAccessOrElse(e,r||null)},goog.html.uncheckedconversions.safeScriptFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeStyleFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeStyle.createSafeStyleSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeStyleSheetFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeStyleSheet.createSafeStyleSheetSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.SafeUrl.createSafeUrlSecurityPrivateDoNotAccessOrElse(e)},goog.html.uncheckedconversions.trustedResourceUrlFromStringKnownToSatisfyTypeContract=function(t,e){return goog.asserts.assertString(goog.string.Const.unwrap(t),"must provide justification"),goog.asserts.assert(!goog.string.internal.isEmptyOrWhitespace(goog.string.Const.unwrap(t)),"must provide non-empty justification"),goog.html.TrustedResourceUrl.createTrustedResourceUrlSecurityPrivateDoNotAccessOrElse(e)},goog.dom.safe={},goog.dom.safe.InsertAdjacentHtmlPosition={AFTERBEGIN:"afterbegin",AFTEREND:"afterend",BEFOREBEGIN:"beforebegin",BEFOREEND:"beforeend"},goog.dom.safe.insertAdjacentHtml=function(t,e,r){t.insertAdjacentHTML(e,goog.html.SafeHtml.unwrapTrustedHTML(r))},goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_={MATH:!0,SCRIPT:!0,STYLE:!0,SVG:!0,TEMPLATE:!0},goog.dom.safe.isInnerHtmlCleanupRecursive_=goog.functions.cacheReturnValue(function(){if(goog.DEBUG&&typeof document>"u")return!1;var t=document.createElement("div"),e=document.createElement("div");return e.appendChild(document.createElement("div")),t.appendChild(e),!(goog.DEBUG&&!t.firstChild||(e=t.firstChild.firstChild,t.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(goog.html.SafeHtml.EMPTY),e.parentElement))}),goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse=function(t,e){if(goog.dom.safe.isInnerHtmlCleanupRecursive_())for(;t.lastChild;)t.removeChild(t.lastChild);t.innerHTML=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setInnerHtml=function(t,e){if(goog.asserts.ENABLE_ASSERTS){var r=t.tagName.toUpperCase();if(goog.dom.safe.SET_INNER_HTML_DISALLOWED_TAGS_[r])throw Error("goog.dom.safe.setInnerHtml cannot be used to set content of "+t.tagName+".")}goog.dom.safe.unsafeSetInnerHtmlDoNotUseOrElse(t,e)},goog.dom.safe.setOuterHtml=function(t,e){t.outerHTML=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setFormElementAction=function(t,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLFormElement(t).action=goog.html.SafeUrl.unwrapTrustedURL(e)},goog.dom.safe.setButtonFormAction=function(t,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLButtonElement(t).formAction=goog.html.SafeUrl.unwrapTrustedURL(e)},goog.dom.safe.setInputFormAction=function(t,e){e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),goog.dom.asserts.assertIsHTMLInputElement(t).formAction=goog.html.SafeUrl.unwrapTrustedURL(e)},goog.dom.safe.setStyle=function(t,e){t.style.cssText=goog.html.SafeStyle.unwrap(e)},goog.dom.safe.documentWrite=function(t,e){t.write(goog.html.SafeHtml.unwrapTrustedHTML(e))},goog.dom.safe.setAnchorHref=function(t,e){goog.dom.asserts.assertIsHTMLAnchorElement(t),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t.href=goog.html.SafeUrl.unwrapTrustedURL(e)},goog.dom.safe.setImageSrc=function(t,e){if(goog.dom.asserts.assertIsHTMLImageElement(t),!(e instanceof goog.html.SafeUrl)){var r=/^data:image\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}t.src=goog.html.SafeUrl.unwrapTrustedURL(e)},goog.dom.safe.setAudioSrc=function(t,e){if(goog.dom.asserts.assertIsHTMLAudioElement(t),!(e instanceof goog.html.SafeUrl)){var r=/^data:audio\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}t.src=goog.html.SafeUrl.unwrapTrustedURL(e)},goog.dom.safe.setVideoSrc=function(t,e){if(goog.dom.asserts.assertIsHTMLVideoElement(t),!(e instanceof goog.html.SafeUrl)){var r=/^data:video\//i.test(e);e=goog.html.SafeUrl.sanitizeAssertUnchanged(e,r)}t.src=goog.html.SafeUrl.unwrapTrustedURL(e)},goog.dom.safe.setEmbedSrc=function(t,e){goog.dom.asserts.assertIsHTMLEmbedElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e)},goog.dom.safe.setFrameSrc=function(t,e){goog.dom.asserts.assertIsHTMLFrameElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(e)},goog.dom.safe.setIframeSrc=function(t,e){goog.dom.asserts.assertIsHTMLIFrameElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedURL(e)},goog.dom.safe.setIframeSrcdoc=function(t,e){goog.dom.asserts.assertIsHTMLIFrameElement(t),t.srcdoc=goog.html.SafeHtml.unwrapTrustedHTML(e)},goog.dom.safe.setLinkHrefAndRel=function(t,e,r){goog.dom.asserts.assertIsHTMLLinkElement(t),t.rel=r,goog.string.internal.caseInsensitiveContains(r,"stylesheet")?(goog.asserts.assert(e instanceof goog.html.TrustedResourceUrl,'URL must be TrustedResourceUrl because "rel" contains "stylesheet"'),t.href=goog.html.TrustedResourceUrl.unwrapTrustedURL(e)):t.href=e instanceof goog.html.TrustedResourceUrl?goog.html.TrustedResourceUrl.unwrapTrustedURL(e):e instanceof goog.html.SafeUrl?goog.html.SafeUrl.unwrapTrustedURL(e):goog.html.SafeUrl.unwrapTrustedURL(goog.html.SafeUrl.sanitizeAssertUnchanged(e))},goog.dom.safe.setObjectData=function(t,e){goog.dom.asserts.assertIsHTMLObjectElement(t),t.data=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e)},goog.dom.safe.setScriptSrc=function(t,e){goog.dom.asserts.assertIsHTMLScriptElement(t),t.src=goog.html.TrustedResourceUrl.unwrapTrustedScriptURL(e),(e=goog.getScriptNonce())&&t.setAttribute("nonce",e)},goog.dom.safe.setScriptContent=function(t,e){goog.dom.asserts.assertIsHTMLScriptElement(t),t.text=goog.html.SafeScript.unwrapTrustedScript(e),(e=goog.getScriptNonce())&&t.setAttribute("nonce",e)},goog.dom.safe.setLocationHref=function(t,e){goog.dom.asserts.assertIsLocation(t),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t.href=goog.html.SafeUrl.unwrapTrustedURL(e)},goog.dom.safe.assignLocation=function(t,e){goog.dom.asserts.assertIsLocation(t),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t.assign(goog.html.SafeUrl.unwrapTrustedURL(e))},goog.dom.safe.replaceLocation=function(t,e){goog.dom.asserts.assertIsLocation(t),e=e instanceof goog.html.SafeUrl?e:goog.html.SafeUrl.sanitizeAssertUnchanged(e),t.replace(goog.html.SafeUrl.unwrapTrustedURL(e))},goog.dom.safe.openInWindow=function(t,e,r,s,o){return t=t instanceof goog.html.SafeUrl?t:goog.html.SafeUrl.sanitizeAssertUnchanged(t),(e||goog.global).open(goog.html.SafeUrl.unwrapTrustedURL(t),r?goog.string.Const.unwrap(r):"",s,o)},goog.dom.safe.parseFromStringHtml=function(t,e){return goog.dom.safe.parseFromString(t,e,"text/html")},goog.dom.safe.parseFromString=function(t,e,r){return t.parseFromString(goog.html.SafeHtml.unwrapTrustedHTML(e),r)},goog.dom.safe.createImageFromBlob=function(t){if(!/^image\/.*/g.test(t.type))throw Error("goog.dom.safe.createImageFromBlob only accepts MIME type image/.*.");var e=goog.global.URL.createObjectURL(t);return(t=new goog.global.Image).onload=function(){goog.global.URL.revokeObjectURL(e)},goog.dom.safe.setImageSrc(t,goog.html.uncheckedconversions.safeUrlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Image blob URL."),e)),t},goog.string.DETECT_DOUBLE_ESCAPING=!1,goog.string.FORCE_NON_DOM_HTML_UNESCAPING=!1,goog.string.Unicode={NBSP:"\xA0"},goog.string.startsWith=goog.string.internal.startsWith,goog.string.endsWith=goog.string.internal.endsWith,goog.string.caseInsensitiveStartsWith=goog.string.internal.caseInsensitiveStartsWith,goog.string.caseInsensitiveEndsWith=goog.string.internal.caseInsensitiveEndsWith,goog.string.caseInsensitiveEquals=goog.string.internal.caseInsensitiveEquals,goog.string.subs=function(t,e){for(var r=t.split("%s"),s="",o=Array.prototype.slice.call(arguments,1);o.length&&1<r.length;)s+=r.shift()+o.shift();return s+r.join("%s")},goog.string.collapseWhitespace=function(t){return t.replace(/[\s\xa0]+/g," ").replace(/^\s+|\s+$/g,"")},goog.string.isEmptyOrWhitespace=goog.string.internal.isEmptyOrWhitespace,goog.string.isEmptyString=function(t){return t.length==0},goog.string.isEmpty=goog.string.isEmptyOrWhitespace,goog.string.isEmptyOrWhitespaceSafe=function(t){return goog.string.isEmptyOrWhitespace(goog.string.makeSafe(t))},goog.string.isEmptySafe=goog.string.isEmptyOrWhitespaceSafe,goog.string.isBreakingWhitespace=function(t){return!/[^\t\n\r ]/.test(t)},goog.string.isAlpha=function(t){return!/[^a-zA-Z]/.test(t)},goog.string.isNumeric=function(t){return!/[^0-9]/.test(t)},goog.string.isAlphaNumeric=function(t){return!/[^a-zA-Z0-9]/.test(t)},goog.string.isSpace=function(t){return t==" "},goog.string.isUnicodeChar=function(t){return t.length==1&&" "<=t&&"~">=t||"\x80"<=t&&"\uFFFD">=t},goog.string.stripNewlines=function(t){return t.replace(/(\r\n|\r|\n)+/g," ")},goog.string.canonicalizeNewlines=function(t){return t.replace(/(\r\n|\r|\n)/g,`
9
9
  `)},goog.string.normalizeWhitespace=function(t){return t.replace(/\xa0|\s/g," ")},goog.string.normalizeSpaces=function(t){return t.replace(/\xa0|[ \t]+/g," ")},goog.string.collapseBreakingSpaces=function(t){return t.replace(/[\t\r\n ]+/g," ").replace(/^[\t\r\n ]+|[\t\r\n ]+$/g,"")},goog.string.trim=goog.string.internal.trim,goog.string.trimLeft=function(t){return t.replace(/^[\s\xa0]+/,"")},goog.string.trimRight=function(t){return t.replace(/[\s\xa0]+$/,"")},goog.string.caseInsensitiveCompare=goog.string.internal.caseInsensitiveCompare,goog.string.numberAwareCompare_=function(t,e,r){if(t==e)return 0;if(!t)return-1;if(!e)return 1;for(var s=t.toLowerCase().match(r),o=e.toLowerCase().match(r),i=Math.min(s.length,o.length),n=0;n<i;n++){r=s[n];var g=o[n];if(r!=g)return t=parseInt(r,10),!isNaN(t)&&(e=parseInt(g,10),!isNaN(e)&&t-e)?t-e:r<g?-1:1}return s.length!=o.length?s.length-o.length:t<e?-1:1},goog.string.intAwareCompare=function(t,e){return goog.string.numberAwareCompare_(t,e,/\d+|\D+/g)},goog.string.floatAwareCompare=function(t,e){return goog.string.numberAwareCompare_(t,e,/\d+|\.\d+|\D+/g)},goog.string.numerateCompare=goog.string.floatAwareCompare,goog.string.urlEncode=function(t){return encodeURIComponent(String(t))},goog.string.urlDecode=function(t){return decodeURIComponent(t.replace(/\+/g," "))},goog.string.newLineToBr=goog.string.internal.newLineToBr,goog.string.htmlEscape=function(t,e){return t=goog.string.internal.htmlEscape(t,e),goog.string.DETECT_DOUBLE_ESCAPING&&(t=t.replace(goog.string.E_RE_,"&#101;")),t},goog.string.E_RE_=/e/g,goog.string.unescapeEntities=function(t){return goog.string.contains(t,"&")?!goog.string.FORCE_NON_DOM_HTML_UNESCAPING&&"document"in goog.global?goog.string.unescapeEntitiesUsingDom_(t):goog.string.unescapePureXmlEntities_(t):t},goog.string.unescapeEntitiesWithDocument=function(t,e){return goog.string.contains(t,"&")?goog.string.unescapeEntitiesUsingDom_(t,e):t},goog.string.unescapeEntitiesUsingDom_=function(t,e){var r={"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"'},s=e?e.createElement("div"):goog.global.document.createElement("div");return t.replace(goog.string.HTML_ENTITY_PATTERN_,function(o,i){var n=r[o];return n||(i.charAt(0)=="#"&&(i=Number("0"+i.substr(1)),isNaN(i)||(n=String.fromCharCode(i))),n||(goog.dom.safe.setInnerHtml(s,goog.html.uncheckedconversions.safeHtmlFromStringKnownToSatisfyTypeContract(goog.string.Const.from("Single HTML entity."),o+" ")),n=s.firstChild.nodeValue.slice(0,-1)),r[o]=n)})},goog.string.unescapePureXmlEntities_=function(t){return t.replace(/&([^;]+);/g,function(e,r){switch(r){case"amp":return"&";case"lt":return"<";case"gt":return">";case"quot":return'"';default:return r.charAt(0)!="#"||(r=Number("0"+r.substr(1)),isNaN(r))?e:String.fromCharCode(r)}})},goog.string.HTML_ENTITY_PATTERN_=/&([^;\s<&]+);?/g,goog.string.whitespaceEscape=function(t,e){return goog.string.newLineToBr(t.replace(/ /g," &#160;"),e)},goog.string.preserveSpaces=function(t){return t.replace(/(^|[\n ]) /g,"$1"+goog.string.Unicode.NBSP)},goog.string.stripQuotes=function(t,e){for(var r=e.length,s=0;s<r;s++){var o=r==1?e:e.charAt(s);if(t.charAt(0)==o&&t.charAt(t.length-1)==o)return t.substring(1,t.length-1)}return t},goog.string.truncate=function(t,e,r){return r&&(t=goog.string.unescapeEntities(t)),t.length>e&&(t=t.substring(0,e-3)+"..."),r&&(t=goog.string.htmlEscape(t)),t},goog.string.truncateMiddle=function(t,e,r,s){if(r&&(t=goog.string.unescapeEntities(t)),s&&t.length>e){s>e&&(s=e);var o=t.length-s;t=t.substring(0,e-s)+"..."+t.substring(o)}else t.length>e&&(s=Math.floor(e/2),o=t.length-s,t=t.substring(0,s+e%2)+"..."+t.substring(o));return r&&(t=goog.string.htmlEscape(t)),t},goog.string.specialEscapeChars_={"\0":"\\0","\b":"\\b","\f":"\\f","\n":"\\n","\r":"\\r"," ":"\\t","\v":"\\x0B",'"':'\\"',"\\":"\\\\","<":"\\u003C"},goog.string.jsEscapeCache_={"'":"\\'"},goog.string.quote=function(t){t=String(t);for(var e=['"'],r=0;r<t.length;r++){var s=t.charAt(r),o=s.charCodeAt(0);e[r+1]=goog.string.specialEscapeChars_[s]||(31<o&&127>o?s:goog.string.escapeChar(s))}return e.push('"'),e.join("")},goog.string.escapeString=function(t){for(var e=[],r=0;r<t.length;r++)e[r]=goog.string.escapeChar(t.charAt(r));return e.join("")},goog.string.escapeChar=function(t){if(t in goog.string.jsEscapeCache_)return goog.string.jsEscapeCache_[t];if(t in goog.string.specialEscapeChars_)return goog.string.jsEscapeCache_[t]=goog.string.specialEscapeChars_[t];var e=t.charCodeAt(0);if(31<e&&127>e)var r=t;else 256>e?(r="\\x",(16>e||256<e)&&(r+="0")):(r="\\u",4096>e&&(r+="0")),r+=e.toString(16).toUpperCase();return goog.string.jsEscapeCache_[t]=r},goog.string.contains=goog.string.internal.contains,goog.string.caseInsensitiveContains=goog.string.internal.caseInsensitiveContains,goog.string.countOf=function(t,e){return t&&e?t.split(e).length-1:0},goog.string.removeAt=function(t,e,r){var s=t;return 0<=e&&e<t.length&&0<r&&(s=t.substr(0,e)+t.substr(e+r,t.length-e-r)),s},goog.string.remove=function(t,e){return t.replace(e,"")},goog.string.removeAll=function(t,e){return e=new RegExp(goog.string.regExpEscape(e),"g"),t.replace(e,"")},goog.string.replaceAll=function(t,e,r){return e=new RegExp(goog.string.regExpEscape(e),"g"),t.replace(e,r.replace(/\$/g,"$$$$"))},goog.string.regExpEscape=function(t){return String(t).replace(/([-()\[\]{}+?*.$\^|,:#<!\\])/g,"\\$1").replace(/\x08/g,"\\x08")},goog.string.repeat=String.prototype.repeat?function(t,e){return t.repeat(e)}:function(t,e){return Array(e+1).join(t)},goog.string.padNumber=function(t,e,r){return(r=(t=goog.isDef(r)?t.toFixed(r):String(t)).indexOf("."))==-1&&(r=t.length),goog.string.repeat("0",Math.max(0,e-r))+t},goog.string.makeSafe=function(t){return t==null?"":String(t)},goog.string.buildString=function(t){return Array.prototype.join.call(arguments,"")},goog.string.getRandomString=function(){return Math.floor(2147483648*Math.random()).toString(36)+Math.abs(Math.floor(2147483648*Math.random())^goog.now()).toString(36)},goog.string.compareVersions=goog.string.internal.compareVersions,goog.string.hashCode=function(t){for(var e=0,r=0;r<t.length;++r)e=31*e+t.charCodeAt(r)>>>0;return e},goog.string.uniqueStringCounter_=2147483648*Math.random()|0,goog.string.createUniqueString=function(){return"goog_"+goog.string.uniqueStringCounter_++},goog.string.toNumber=function(t){var e=Number(t);return e==0&&goog.string.isEmptyOrWhitespace(t)?NaN:e},goog.string.isLowerCamelCase=function(t){return/^[a-z]+([A-Z][a-z]*)*$/.test(t)},goog.string.isUpperCamelCase=function(t){return/^([A-Z][a-z]*)+$/.test(t)},goog.string.toCamelCase=function(t){return String(t).replace(/\-([a-z])/g,function(e,r){return r.toUpperCase()})},goog.string.toSelectorCase=function(t){return String(t).replace(/([A-Z])/g,"-$1").toLowerCase()},goog.string.toTitleCase=function(t,e){return e=goog.isString(e)?goog.string.regExpEscape(e):"\\s",t.replace(new RegExp("(^"+(e?"|["+e+"]+":"")+")([a-z])","g"),function(r,s,o){return s+o.toUpperCase()})},goog.string.capitalize=function(t){return String(t.charAt(0)).toUpperCase()+String(t.substr(1)).toLowerCase()},goog.string.parseInt=function(t){return isFinite(t)&&(t=String(t)),goog.isString(t)?/^\s*-?0x/i.test(t)?parseInt(t,16):parseInt(t,10):NaN},goog.string.splitLimit=function(t,e,r){t=t.split(e);for(var s=[];0<r&&t.length;)s.push(t.shift()),r--;return t.length&&s.push(t.join(e)),s},goog.string.lastComponent=function(t,e){if(!e)return t;typeof e=="string"&&(e=[e]);for(var r=-1,s=0;s<e.length;s++)if(e[s]!=""){var o=t.lastIndexOf(e[s]);o>r&&(r=o)}return r==-1?t:t.slice(r+1)},goog.string.editDistance=function(t,e){var r=[],s=[];if(t==e)return 0;if(!t.length||!e.length)return Math.max(t.length,e.length);for(var o=0;o<e.length+1;o++)r[o]=o;for(o=0;o<t.length;o++){s[0]=o+1;for(var i=0;i<e.length;i++)s[i+1]=Math.min(s[i]+1,r[i+1]+1,r[i]+Number(t[o]!=e[i]));for(i=0;i<r.length;i++)r[i]=s[i]}return s[e.length]},goog.labs.userAgent.engine={},goog.labs.userAgent.engine.isPresto=function(){return goog.labs.userAgent.util.matchUserAgent("Presto")},goog.labs.userAgent.engine.isTrident=function(){return goog.labs.userAgent.util.matchUserAgent("Trident")||goog.labs.userAgent.util.matchUserAgent("MSIE")},goog.labs.userAgent.engine.isEdge=function(){return goog.labs.userAgent.util.matchUserAgent("Edge")},goog.labs.userAgent.engine.isWebKit=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("WebKit")&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.isGecko=function(){return goog.labs.userAgent.util.matchUserAgent("Gecko")&&!goog.labs.userAgent.engine.isWebKit()&&!goog.labs.userAgent.engine.isTrident()&&!goog.labs.userAgent.engine.isEdge()},goog.labs.userAgent.engine.getVersion=function(){var t=goog.labs.userAgent.util.getUserAgent();if(t){t=goog.labs.userAgent.util.extractVersionTuples(t);var e,r=goog.labs.userAgent.engine.getEngineTuple_(t);if(r)return r[0]=="Gecko"?goog.labs.userAgent.engine.getVersionForKey_(t,"Firefox"):r[1];if((t=t[0])&&(e=t[2])&&(e=/Trident\/([^\s;]+)/.exec(e)))return e[1]}return""},goog.labs.userAgent.engine.getEngineTuple_=function(t){if(!goog.labs.userAgent.engine.isEdge())return t[1];for(var e=0;e<t.length;e++){var r=t[e];if(r[0]=="Edge")return r}},goog.labs.userAgent.engine.isVersionOrHigher=function(t){return 0<=goog.string.compareVersions(goog.labs.userAgent.engine.getVersion(),t)},goog.labs.userAgent.engine.getVersionForKey_=function(t,e){return(t=goog.array.find(t,function(r){return e==r[0]}))&&t[1]||""},goog.labs.userAgent.platform={},goog.labs.userAgent.platform.isAndroid=function(){return goog.labs.userAgent.util.matchUserAgent("Android")},goog.labs.userAgent.platform.isIpod=function(){return goog.labs.userAgent.util.matchUserAgent("iPod")},goog.labs.userAgent.platform.isIphone=function(){return goog.labs.userAgent.util.matchUserAgent("iPhone")&&!goog.labs.userAgent.util.matchUserAgent("iPod")&&!goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIpad=function(){return goog.labs.userAgent.util.matchUserAgent("iPad")},goog.labs.userAgent.platform.isIos=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpad()||goog.labs.userAgent.platform.isIpod()},goog.labs.userAgent.platform.isMacintosh=function(){return goog.labs.userAgent.util.matchUserAgent("Macintosh")},goog.labs.userAgent.platform.isLinux=function(){return goog.labs.userAgent.util.matchUserAgent("Linux")},goog.labs.userAgent.platform.isWindows=function(){return goog.labs.userAgent.util.matchUserAgent("Windows")},goog.labs.userAgent.platform.isChromeOS=function(){return goog.labs.userAgent.util.matchUserAgent("CrOS")},goog.labs.userAgent.platform.isChromecast=function(){return goog.labs.userAgent.util.matchUserAgent("CrKey")},goog.labs.userAgent.platform.isKaiOS=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("KaiOS")},goog.labs.userAgent.platform.isGo2Phone=function(){return goog.labs.userAgent.util.matchUserAgentIgnoreCase("GAFP")},goog.labs.userAgent.platform.getVersion=function(){var t=goog.labs.userAgent.util.getUserAgent(),e="";return goog.labs.userAgent.platform.isWindows()?e=(t=(e=/Windows (?:NT|Phone) ([0-9.]+)/).exec(t))?t[1]:"0.0":goog.labs.userAgent.platform.isIos()?e=(t=(e=/(?:iPhone|iPod|iPad|CPU)\s+OS\s+(\S+)/).exec(t))&&t[1].replace(/_/g,"."):goog.labs.userAgent.platform.isMacintosh()?e=(t=(e=/Mac OS X ([0-9_.]+)/).exec(t))?t[1].replace(/_/g,"."):"10":goog.labs.userAgent.platform.isKaiOS()?e=(t=(e=/(?:KaiOS)\/(\S+)/i).exec(t))&&t[1]:goog.labs.userAgent.platform.isAndroid()?e=(t=(e=/Android\s+([^\);]+)(\)|;)/).exec(t))&&t[1]:goog.labs.userAgent.platform.isChromeOS()&&(e=(t=(e=/(?:CrOS\s+(?:i686|x86_64)\s+([0-9.]+))/).exec(t))&&t[1]),e||""},goog.labs.userAgent.platform.isVersionOrHigher=function(t){return 0<=goog.string.compareVersions(goog.labs.userAgent.platform.getVersion(),t)},goog.reflect={},goog.reflect.object=function(t,e){return e},goog.reflect.objectProperty=function(t,e){return t},goog.reflect.sinkValue=function(t){return goog.reflect.sinkValue[" "](t),t},goog.reflect.sinkValue[" "]=goog.nullFunction,goog.reflect.canAccessProperty=function(t,e){try{return goog.reflect.sinkValue(t[e]),!0}catch{}return!1},goog.reflect.cache=function(t,e,r,s){return s=s?s(e):e,Object.prototype.hasOwnProperty.call(t,s)?t[s]:t[s]=r(e)},goog.userAgent={},goog.userAgent.ASSUME_IE=!1,goog.userAgent.ASSUME_EDGE=!1,goog.userAgent.ASSUME_GECKO=!1,goog.userAgent.ASSUME_WEBKIT=!1,goog.userAgent.ASSUME_MOBILE_WEBKIT=!1,goog.userAgent.ASSUME_OPERA=!1,goog.userAgent.ASSUME_ANY_VERSION=!1,goog.userAgent.BROWSER_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_GECKO||goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_OPERA,goog.userAgent.getUserAgentString=function(){return goog.labs.userAgent.util.getUserAgent()},goog.userAgent.getNavigatorTyped=function(){return goog.global.navigator||null},goog.userAgent.getNavigator=function(){return goog.userAgent.getNavigatorTyped()},goog.userAgent.OPERA=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_OPERA:goog.labs.userAgent.browser.isOpera(),goog.userAgent.IE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_IE:goog.labs.userAgent.browser.isIE(),goog.userAgent.EDGE=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_EDGE:goog.labs.userAgent.engine.isEdge(),goog.userAgent.EDGE_OR_IE=goog.userAgent.EDGE||goog.userAgent.IE,goog.userAgent.GECKO=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_GECKO:goog.labs.userAgent.engine.isGecko(),goog.userAgent.WEBKIT=goog.userAgent.BROWSER_KNOWN_?goog.userAgent.ASSUME_WEBKIT||goog.userAgent.ASSUME_MOBILE_WEBKIT:goog.labs.userAgent.engine.isWebKit(),goog.userAgent.isMobile_=function(){return goog.userAgent.WEBKIT&&goog.labs.userAgent.util.matchUserAgent("Mobile")},goog.userAgent.MOBILE=goog.userAgent.ASSUME_MOBILE_WEBKIT||goog.userAgent.isMobile_(),goog.userAgent.SAFARI=goog.userAgent.WEBKIT,goog.userAgent.determinePlatform_=function(){var t=goog.userAgent.getNavigatorTyped();return t&&t.platform||""},goog.userAgent.PLATFORM=goog.userAgent.determinePlatform_(),goog.userAgent.ASSUME_MAC=!1,goog.userAgent.ASSUME_WINDOWS=!1,goog.userAgent.ASSUME_LINUX=!1,goog.userAgent.ASSUME_X11=!1,goog.userAgent.ASSUME_ANDROID=!1,goog.userAgent.ASSUME_IPHONE=!1,goog.userAgent.ASSUME_IPAD=!1,goog.userAgent.ASSUME_IPOD=!1,goog.userAgent.ASSUME_KAIOS=!1,goog.userAgent.ASSUME_GO2PHONE=!1,goog.userAgent.PLATFORM_KNOWN_=goog.userAgent.ASSUME_MAC||goog.userAgent.ASSUME_WINDOWS||goog.userAgent.ASSUME_LINUX||goog.userAgent.ASSUME_X11||goog.userAgent.ASSUME_ANDROID||goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD,goog.userAgent.MAC=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_MAC:goog.labs.userAgent.platform.isMacintosh(),goog.userAgent.WINDOWS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_WINDOWS:goog.labs.userAgent.platform.isWindows(),goog.userAgent.isLegacyLinux_=function(){return goog.labs.userAgent.platform.isLinux()||goog.labs.userAgent.platform.isChromeOS()},goog.userAgent.LINUX=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_LINUX:goog.userAgent.isLegacyLinux_(),goog.userAgent.isX11_=function(){var t=goog.userAgent.getNavigatorTyped();return!!t&&goog.string.contains(t.appVersion||"","X11")},goog.userAgent.X11=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_X11:goog.userAgent.isX11_(),goog.userAgent.ANDROID=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_ANDROID:goog.labs.userAgent.platform.isAndroid(),goog.userAgent.IPHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE:goog.labs.userAgent.platform.isIphone(),goog.userAgent.IPAD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.IPOD=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIpod(),goog.userAgent.IOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_IPHONE||goog.userAgent.ASSUME_IPAD||goog.userAgent.ASSUME_IPOD:goog.labs.userAgent.platform.isIos(),goog.userAgent.KAIOS=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_KAIOS:goog.labs.userAgent.platform.isKaiOS(),goog.userAgent.GO2PHONE=goog.userAgent.PLATFORM_KNOWN_?goog.userAgent.ASSUME_GO2PHONE:goog.labs.userAgent.platform.isGo2Phone(),goog.userAgent.determineVersion_=function(){var t="",e=goog.userAgent.getVersionRegexResult_();return e&&(t=e?e[1]:""),goog.userAgent.IE&&(e=goog.userAgent.getDocumentMode_())!=null&&e>parseFloat(t)?String(e):t},goog.userAgent.getVersionRegexResult_=function(){var t=goog.userAgent.getUserAgentString();return goog.userAgent.GECKO?/rv:([^\);]+)(\)|;)/.exec(t):goog.userAgent.EDGE?/Edge\/([\d\.]+)/.exec(t):goog.userAgent.IE?/\b(?:MSIE|rv)[: ]([^\);]+)(\)|;)/.exec(t):goog.userAgent.WEBKIT?/WebKit\/(\S+)/.exec(t):goog.userAgent.OPERA?/(?:Version)[ \/]?(\S+)/.exec(t):void 0},goog.userAgent.getDocumentMode_=function(){var t=goog.global.document;return t?t.documentMode:void 0},goog.userAgent.VERSION=goog.userAgent.determineVersion_(),goog.userAgent.compare=function(t,e){return goog.string.compareVersions(t,e)},goog.userAgent.isVersionOrHigherCache_={},goog.userAgent.isVersionOrHigher=function(t){return goog.userAgent.ASSUME_ANY_VERSION||goog.reflect.cache(goog.userAgent.isVersionOrHigherCache_,t,function(){return 0<=goog.string.compareVersions(goog.userAgent.VERSION,t)})},goog.userAgent.isVersion=goog.userAgent.isVersionOrHigher,goog.userAgent.isDocumentModeOrHigher=function(t){return Number(goog.userAgent.DOCUMENT_MODE)>=t},goog.userAgent.isDocumentMode=goog.userAgent.isDocumentModeOrHigher,goog.userAgent.DOCUMENT_MODE=function(){if(goog.global.document&&goog.userAgent.IE)return goog.userAgent.getDocumentMode_()}(),goog.userAgent.product={},goog.userAgent.product.ASSUME_FIREFOX=!1,goog.userAgent.product.ASSUME_IPHONE=!1,goog.userAgent.product.ASSUME_IPAD=!1,goog.userAgent.product.ASSUME_ANDROID=!1,goog.userAgent.product.ASSUME_CHROME=!1,goog.userAgent.product.ASSUME_SAFARI=!1,goog.userAgent.product.PRODUCT_KNOWN_=goog.userAgent.ASSUME_IE||goog.userAgent.ASSUME_EDGE||goog.userAgent.ASSUME_OPERA||goog.userAgent.product.ASSUME_FIREFOX||goog.userAgent.product.ASSUME_IPHONE||goog.userAgent.product.ASSUME_IPAD||goog.userAgent.product.ASSUME_ANDROID||goog.userAgent.product.ASSUME_CHROME||goog.userAgent.product.ASSUME_SAFARI,goog.userAgent.product.OPERA=goog.userAgent.OPERA,goog.userAgent.product.IE=goog.userAgent.IE,goog.userAgent.product.EDGE=goog.userAgent.EDGE,goog.userAgent.product.FIREFOX=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_FIREFOX:goog.labs.userAgent.browser.isFirefox(),goog.userAgent.product.isIphoneOrIpod_=function(){return goog.labs.userAgent.platform.isIphone()||goog.labs.userAgent.platform.isIpod()},goog.userAgent.product.IPHONE=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPHONE:goog.userAgent.product.isIphoneOrIpod_(),goog.userAgent.product.IPAD=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_IPAD:goog.labs.userAgent.platform.isIpad(),goog.userAgent.product.ANDROID=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_ANDROID:goog.labs.userAgent.browser.isAndroidBrowser(),goog.userAgent.product.CHROME=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_CHROME:goog.labs.userAgent.browser.isChrome(),goog.userAgent.product.isSafariDesktop_=function(){return goog.labs.userAgent.browser.isSafari()&&!goog.labs.userAgent.platform.isIos()},goog.userAgent.product.SAFARI=goog.userAgent.product.PRODUCT_KNOWN_?goog.userAgent.product.ASSUME_SAFARI:goog.userAgent.product.isSafariDesktop_(),goog.crypt.base64={},goog.crypt.base64.DEFAULT_ALPHABET_COMMON_="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",goog.crypt.base64.ENCODED_VALS=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"+/=",goog.crypt.base64.ENCODED_VALS_WEBSAFE=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_+"-_.",goog.crypt.base64.Alphabet={DEFAULT:0,NO_PADDING:1,WEBSAFE:2,WEBSAFE_DOT_PADDING:3,WEBSAFE_NO_PADDING:4},goog.crypt.base64.paddingChars_="=.",goog.crypt.base64.isPadding_=function(t){return goog.string.contains(goog.crypt.base64.paddingChars_,t)},goog.crypt.base64.byteToCharMaps_={},goog.crypt.base64.charToByteMap_=null,goog.crypt.base64.ASSUME_NATIVE_SUPPORT_=goog.userAgent.GECKO||goog.userAgent.WEBKIT&&!goog.userAgent.product.SAFARI||goog.userAgent.OPERA,goog.crypt.base64.HAS_NATIVE_ENCODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||typeof goog.global.btoa=="function",goog.crypt.base64.HAS_NATIVE_DECODE_=goog.crypt.base64.ASSUME_NATIVE_SUPPORT_||!goog.userAgent.product.SAFARI&&!goog.userAgent.IE&&typeof goog.global.atob=="function",goog.crypt.base64.encodeByteArray=function(t,e){goog.asserts.assert(goog.isArrayLike(t),"encodeByteArray takes an array as a parameter"),e===void 0&&(e=goog.crypt.base64.Alphabet.DEFAULT),goog.crypt.base64.init_(),e=goog.crypt.base64.byteToCharMaps_[e];for(var r=[],s=0;s<t.length;s+=3){var o=t[s],i=s+1<t.length,n=i?t[s+1]:0,g=s+2<t.length,p=g?t[s+2]:0,l=o>>2;o=(3&o)<<4|n>>4,n=(15&n)<<2|p>>6,p&=63,g||(p=64,i||(n=64)),r.push(e[l],e[o],e[n]||"",e[p]||"")}return r.join("")},goog.crypt.base64.encodeString=function(t,e){return goog.crypt.base64.HAS_NATIVE_ENCODE_&&!e?goog.global.btoa(t):goog.crypt.base64.encodeByteArray(goog.crypt.stringToByteArray(t),e)},goog.crypt.base64.decodeString=function(t,e){if(goog.crypt.base64.HAS_NATIVE_DECODE_&&!e)return goog.global.atob(t);var r="";return goog.crypt.base64.decodeStringInternal_(t,function(s){r+=String.fromCharCode(s)}),r},goog.crypt.base64.decodeStringToByteArray=function(t,e){var r=[];return goog.crypt.base64.decodeStringInternal_(t,function(s){r.push(s)}),r},goog.crypt.base64.decodeStringToUint8Array=function(t){goog.asserts.assert(!goog.userAgent.IE||goog.userAgent.isVersionOrHigher("10"),"Browser does not support typed arrays");var e=t.length,r=3*e/4;r%3?r=Math.floor(r):goog.crypt.base64.isPadding_(t[e-1])&&(r=goog.crypt.base64.isPadding_(t[e-2])?r-2:r-1);var s=new Uint8Array(r),o=0;return goog.crypt.base64.decodeStringInternal_(t,function(i){s[o++]=i}),s.subarray(0,o)},goog.crypt.base64.decodeStringInternal_=function(t,e){function r(p){for(;s<t.length;){var l=t.charAt(s++),u=goog.crypt.base64.charToByteMap_[l];if(u!=null)return u;if(!goog.string.isEmptyOrWhitespace(l))throw Error("Unknown base64 encoding at char: "+l)}return p}goog.crypt.base64.init_();for(var s=0;;){var o=r(-1),i=r(0),n=r(64),g=r(64);if(g===64&&o===-1)break;e(o<<2|i>>4),n!=64&&(e(i<<4&240|n>>2),g!=64&&e(n<<6&192|g))}},goog.crypt.base64.init_=function(){if(!goog.crypt.base64.charToByteMap_){goog.crypt.base64.charToByteMap_={};for(var t=goog.crypt.base64.DEFAULT_ALPHABET_COMMON_.split(""),e=["+/=","+/","-_=","-_.","-_"],r=0;5>r;r++){var s=t.concat(e[r].split(""));goog.crypt.base64.byteToCharMaps_[r]=s;for(var o=0;o<s.length;o++){var i=s[o],n=goog.crypt.base64.charToByteMap_[i];n===void 0?goog.crypt.base64.charToByteMap_[i]=o:goog.asserts.assert(n===o)}}}},jspb.utils={},jspb.utils.split64Low=0,jspb.utils.split64High=0,jspb.utils.splitUint64=function(t){var e=t>>>0;t=Math.floor((t-e)/jspb.BinaryConstants.TWO_TO_32)>>>0,jspb.utils.split64Low=e,jspb.utils.split64High=t},jspb.utils.splitInt64=function(t){var e=0>t,r=(t=Math.abs(t))>>>0;t=Math.floor((t-r)/jspb.BinaryConstants.TWO_TO_32),t>>>=0,e&&(t=~t>>>0,4294967295<(r=1+(~r>>>0))&&(r=0,4294967295<++t&&(t=0))),jspb.utils.split64Low=r,jspb.utils.split64High=t},jspb.utils.splitZigzag64=function(t){var e=0>t;t=2*Math.abs(t),jspb.utils.splitUint64(t),t=jspb.utils.split64Low;var r=jspb.utils.split64High;e&&(t==0?r==0?r=t=4294967295:(r--,t=4294967295):t--),jspb.utils.split64Low=t,jspb.utils.split64High=r},jspb.utils.splitFloat32=function(t){var e=0>t?1:0;if((t=e?-t:t)===0)0<1/t?(jspb.utils.split64High=0,jspb.utils.split64Low=0):(jspb.utils.split64High=0,jspb.utils.split64Low=2147483648);else if(isNaN(t))jspb.utils.split64High=0,jspb.utils.split64Low=2147483647;else if(t>jspb.BinaryConstants.FLOAT32_MAX)jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|2139095040)>>>0;else if(t<jspb.BinaryConstants.FLOAT32_MIN)t=Math.round(t/Math.pow(2,-149)),jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|t)>>>0;else{var r=Math.floor(Math.log(t)/Math.LN2);t*=Math.pow(2,-r),t=8388607&Math.round(t*jspb.BinaryConstants.TWO_TO_23),jspb.utils.split64High=0,jspb.utils.split64Low=(e<<31|r+127<<23|t)>>>0}},jspb.utils.splitFloat64=function(t){var e=0>t?1:0;if((t=e?-t:t)===0)jspb.utils.split64High=0<1/t?0:2147483648,jspb.utils.split64Low=0;else if(isNaN(t))jspb.utils.split64High=2147483647,jspb.utils.split64Low=4294967295;else if(t>jspb.BinaryConstants.FLOAT64_MAX)jspb.utils.split64High=(e<<31|2146435072)>>>0,jspb.utils.split64Low=0;else if(t<jspb.BinaryConstants.FLOAT64_MIN){var r=t/Math.pow(2,-1074);t=r/jspb.BinaryConstants.TWO_TO_32,jspb.utils.split64High=(e<<31|t)>>>0,jspb.utils.split64Low=r>>>0}else{var s=0;if(2<=(r=t))for(;2<=r&&1023>s;)s++,r/=2;else for(;1>r&&-1022<s;)r*=2,s--;t=(r=t*Math.pow(2,-s))*jspb.BinaryConstants.TWO_TO_20&1048575,r=r*jspb.BinaryConstants.TWO_TO_52>>>0,jspb.utils.split64High=(e<<31|s+1023<<20|t)>>>0,jspb.utils.split64Low=r}},jspb.utils.splitHash64=function(t){var e=t.charCodeAt(0),r=t.charCodeAt(1),s=t.charCodeAt(2),o=t.charCodeAt(3),i=t.charCodeAt(4),n=t.charCodeAt(5),g=t.charCodeAt(6);t=t.charCodeAt(7),jspb.utils.split64Low=e+(r<<8)+(s<<16)+(o<<24)>>>0,jspb.utils.split64High=i+(n<<8)+(g<<16)+(t<<24)>>>0},jspb.utils.joinUint64=function(t,e){return e*jspb.BinaryConstants.TWO_TO_32+(t>>>0)},jspb.utils.joinInt64=function(t,e){var r=2147483648&e;return r&&(e=~e>>>0,(t=1+~t>>>0)==0&&(e=e+1>>>0)),t=jspb.utils.joinUint64(t,e),r?-t:t},jspb.utils.toZigzag64=function(t,e,r){var s=e>>31;return r(t<<1^s,(e<<1|t>>>31)^s)},jspb.utils.joinZigzag64=function(t,e){return jspb.utils.fromZigzag64(t,e,jspb.utils.joinInt64)},jspb.utils.fromZigzag64=function(t,e,r){var s=-(1&t);return r((t>>>1|e<<31)^s,e>>>1^s)},jspb.utils.joinFloat32=function(t,e){e=2*(t>>31)+1;var r=t>>>23&255;return t&=8388607,r==255?t?NaN:1/0*e:r==0?e*Math.pow(2,-149)*t:e*Math.pow(2,r-150)*(t+Math.pow(2,23))},jspb.utils.joinFloat64=function(t,e){var r=2*(e>>31)+1,s=e>>>20&2047;return t=jspb.BinaryConstants.TWO_TO_32*(1048575&e)+t,s==2047?t?NaN:1/0*r:s==0?r*Math.pow(2,-1074)*t:r*Math.pow(2,s-1075)*(t+jspb.BinaryConstants.TWO_TO_52)},jspb.utils.joinHash64=function(t,e){return String.fromCharCode(t>>>0&255,t>>>8&255,t>>>16&255,t>>>24&255,e>>>0&255,e>>>8&255,e>>>16&255,e>>>24&255)},jspb.utils.DIGITS="0123456789abcdef".split(""),jspb.utils.ZERO_CHAR_CODE_=48,jspb.utils.A_CHAR_CODE_=97,jspb.utils.joinUnsignedDecimalString=function(t,e){function r(o,i){return o=o?String(o):"",i?"0000000".slice(o.length)+o:o}if(2097151>=e)return""+jspb.utils.joinUint64(t,e);var s=(t>>>24|e<<8)>>>0&16777215;return t=(16777215&t)+6777216*s+6710656*(e=e>>16&65535),s+=8147497*e,e*=2,1e7<=t&&(s+=Math.floor(t/1e7),t%=1e7),1e7<=s&&(e+=Math.floor(s/1e7),s%=1e7),r(e,0)+r(s,e)+r(t,1)},jspb.utils.joinSignedDecimalString=function(t,e){var r=2147483648&e;return r&&(e=~e+((t=1+~t>>>0)==0?1:0)>>>0),t=jspb.utils.joinUnsignedDecimalString(t,e),r?"-"+t:t},jspb.utils.hash64ToDecimalString=function(t,e){jspb.utils.splitHash64(t),t=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinSignedDecimalString(t,r):jspb.utils.joinUnsignedDecimalString(t,r)},jspb.utils.hash64ArrayToDecimalStrings=function(t,e){for(var r=Array(t.length),s=0;s<t.length;s++)r[s]=jspb.utils.hash64ToDecimalString(t[s],e);return r},jspb.utils.decimalStringToHash64=function(t){function e(i,n){for(var g=0;8>g&&(i!==1||0<n);g++)n=i*s[g]+n,s[g]=255&n,n>>>=8}goog.asserts.assert(0<t.length);var r=!1;t[0]==="-"&&(r=!0,t=t.slice(1));for(var s=[0,0,0,0,0,0,0,0],o=0;o<t.length;o++)e(10,t.charCodeAt(o)-jspb.utils.ZERO_CHAR_CODE_);return r&&(function(){for(var i=0;8>i;i++)s[i]=255&~s[i]}(),e(1,1)),goog.crypt.byteArrayToString(s)},jspb.utils.splitDecimalString=function(t){jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(t))},jspb.utils.toHexDigit_=function(t){return String.fromCharCode(10>t?jspb.utils.ZERO_CHAR_CODE_+t:jspb.utils.A_CHAR_CODE_-10+t)},jspb.utils.fromHexCharCode_=function(t){return t>=jspb.utils.A_CHAR_CODE_?t-jspb.utils.A_CHAR_CODE_+10:t-jspb.utils.ZERO_CHAR_CODE_},jspb.utils.hash64ToHexString=function(t){var e=Array(18);e[0]="0",e[1]="x";for(var r=0;8>r;r++){var s=t.charCodeAt(7-r);e[2*r+2]=jspb.utils.toHexDigit_(s>>4),e[2*r+3]=jspb.utils.toHexDigit_(15&s)}return e.join("")},jspb.utils.hexStringToHash64=function(t){t=t.toLowerCase(),goog.asserts.assert(t.length==18),goog.asserts.assert(t[0]=="0"),goog.asserts.assert(t[1]=="x");for(var e="",r=0;8>r;r++){var s=jspb.utils.fromHexCharCode_(t.charCodeAt(2*r+2)),o=jspb.utils.fromHexCharCode_(t.charCodeAt(2*r+3));e=String.fromCharCode(16*s+o)+e}return e},jspb.utils.hash64ToNumber=function(t,e){jspb.utils.splitHash64(t),t=jspb.utils.split64Low;var r=jspb.utils.split64High;return e?jspb.utils.joinInt64(t,r):jspb.utils.joinUint64(t,r)},jspb.utils.numberToHash64=function(t){return jspb.utils.splitInt64(t),jspb.utils.joinHash64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.utils.countVarints=function(t,e,r){for(var s=0,o=e;o<r;o++)s+=t[o]>>7;return r-e-s},jspb.utils.countVarintFields=function(t,e,r,s){var o=0;if(128>(s=8*s+jspb.BinaryConstants.WireType.VARINT))for(;e<r&&t[e++]==s;)for(o++;;){var i=t[e++];if((128&i)==0)break}else for(;e<r;){for(i=s;128<i;){if(t[e]!=(127&i|128))return o;e++,i>>=7}if(t[e++]!=i)break;for(o++;(128&(i=t[e++]))!=0;);}return o},jspb.utils.countFixedFields_=function(t,e,r,s,o){var i=0;if(128>s)for(;e<r&&t[e++]==s;)i++,e+=o;else for(;e<r;){for(var n=s;128<n;){if(t[e++]!=(127&n|128))return i;n>>=7}if(t[e++]!=n)break;i++,e+=o}return i},jspb.utils.countFixed32Fields=function(t,e,r,s){return jspb.utils.countFixedFields_(t,e,r,8*s+jspb.BinaryConstants.WireType.FIXED32,4)},jspb.utils.countFixed64Fields=function(t,e,r,s){return jspb.utils.countFixedFields_(t,e,r,8*s+jspb.BinaryConstants.WireType.FIXED64,8)},jspb.utils.countDelimitedFields=function(t,e,r,s){var o=0;for(s=8*s+jspb.BinaryConstants.WireType.DELIMITED;e<r;){for(var i=s;128<i;){if(t[e++]!=(127&i|128))return o;i>>=7}if(t[e++]!=i)break;o++;for(var n=0,g=1;n+=(127&(i=t[e++]))*g,g*=128,(128&i)!=0;);e+=n}return o},jspb.utils.debugBytesToTextFormat=function(t){var e='"';if(t){t=jspb.utils.byteSourceToUint8Array(t);for(var r=0;r<t.length;r++)e+="\\x",16>t[r]&&(e+="0"),e+=t[r].toString(16)}return e+'"'},jspb.utils.debugScalarToTextFormat=function(t){return typeof t=="string"?goog.string.quote(t):t.toString()},jspb.utils.stringToByteArray=function(t){for(var e=new Uint8Array(t.length),r=0;r<t.length;r++){var s=t.charCodeAt(r);if(255<s)throw Error("Conversion error: string contains codepoint outside of byte range");e[r]=s}return e},jspb.utils.byteSourceToUint8Array=function(t){return t.constructor===Uint8Array?t:t.constructor===ArrayBuffer||typeof Buffer<"u"&&t.constructor===Buffer||t.constructor===Array?new Uint8Array(t):t.constructor===String?goog.crypt.base64.decodeStringToUint8Array(t):(goog.asserts.fail("Type not convertible to Uint8Array."),new Uint8Array(0))},jspb.BinaryDecoder=function(t,e,r){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1,t&&this.setBlock(t,e,r)},jspb.BinaryDecoder.instanceCache_=[],jspb.BinaryDecoder.alloc=function(t,e,r){if(jspb.BinaryDecoder.instanceCache_.length){var s=jspb.BinaryDecoder.instanceCache_.pop();return t&&s.setBlock(t,e,r),s}return new jspb.BinaryDecoder(t,e,r)},jspb.BinaryDecoder.prototype.free=function(){this.clear(),100>jspb.BinaryDecoder.instanceCache_.length&&jspb.BinaryDecoder.instanceCache_.push(this)},jspb.BinaryDecoder.prototype.clone=function(){return jspb.BinaryDecoder.alloc(this.bytes_,this.start_,this.end_-this.start_)},jspb.BinaryDecoder.prototype.clear=function(){this.bytes_=null,this.cursor_=this.end_=this.start_=0,this.error_=!1},jspb.BinaryDecoder.prototype.getBuffer=function(){return this.bytes_},jspb.BinaryDecoder.prototype.setBlock=function(t,e,r){this.bytes_=jspb.utils.byteSourceToUint8Array(t),this.start_=e!==void 0?e:0,this.end_=r!==void 0?this.start_+r:this.bytes_.length,this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getEnd=function(){return this.end_},jspb.BinaryDecoder.prototype.setEnd=function(t){this.end_=t},jspb.BinaryDecoder.prototype.reset=function(){this.cursor_=this.start_},jspb.BinaryDecoder.prototype.getCursor=function(){return this.cursor_},jspb.BinaryDecoder.prototype.setCursor=function(t){this.cursor_=t},jspb.BinaryDecoder.prototype.advance=function(t){this.cursor_+=t,goog.asserts.assert(this.cursor_<=this.end_)},jspb.BinaryDecoder.prototype.atEnd=function(){return this.cursor_==this.end_},jspb.BinaryDecoder.prototype.pastEnd=function(){return this.cursor_>this.end_},jspb.BinaryDecoder.prototype.getError=function(){return this.error_||0>this.cursor_||this.cursor_>this.end_},jspb.BinaryDecoder.prototype.readSplitVarint64=function(t){for(var e=128,r=0,s=0,o=0;4>o&&128<=e;o++)r|=(127&(e=this.bytes_[this.cursor_++]))<<7*o;if(128<=e&&(r|=(127&(e=this.bytes_[this.cursor_++]))<<28,s|=(127&e)>>4),128<=e)for(o=0;5>o&&128<=e;o++)s|=(127&(e=this.bytes_[this.cursor_++]))<<7*o+3;if(128>e)return t(r>>>0,s>>>0);goog.asserts.fail("Failed to read varint, encoding is invalid."),this.error_=!0},jspb.BinaryDecoder.prototype.readSplitZigzagVarint64=function(t){return this.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,t)})},jspb.BinaryDecoder.prototype.readSplitFixed64=function(t){var e=this.bytes_,r=this.cursor_;this.cursor_+=8;for(var s=0,o=0,i=r+7;i>=r;i--)s=s<<8|e[i],o=o<<8|e[i+4];return t(s,o)},jspb.BinaryDecoder.prototype.skipVarint=function(){for(;128&this.bytes_[this.cursor_];)this.cursor_++;this.cursor_++},jspb.BinaryDecoder.prototype.unskipVarint=function(t){for(;128<t;)this.cursor_--,t>>>=7;this.cursor_--},jspb.BinaryDecoder.prototype.readUnsignedVarint32=function(){var t=this.bytes_,e=t[this.cursor_+0],r=127&e;return 128>e?(this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),r):(r|=(127&(e=t[this.cursor_+1]))<<7,128>e?(this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),r):(r|=(127&(e=t[this.cursor_+2]))<<14,128>e?(this.cursor_+=3,goog.asserts.assert(this.cursor_<=this.end_),r):(r|=(127&(e=t[this.cursor_+3]))<<21,128>e?(this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),r):(r|=(15&(e=t[this.cursor_+4]))<<28,128>e?(this.cursor_+=5,goog.asserts.assert(this.cursor_<=this.end_),r>>>0):(this.cursor_+=5,128<=t[this.cursor_++]&&128<=t[this.cursor_++]&&128<=t[this.cursor_++]&&128<=t[this.cursor_++]&&128<=t[this.cursor_++]&&goog.asserts.assert(!1),goog.asserts.assert(this.cursor_<=this.end_),r)))))},jspb.BinaryDecoder.prototype.readSignedVarint32=jspb.BinaryDecoder.prototype.readUnsignedVarint32,jspb.BinaryDecoder.prototype.readUnsignedVarint32String=function(){return this.readUnsignedVarint32().toString()},jspb.BinaryDecoder.prototype.readSignedVarint32String=function(){return this.readSignedVarint32().toString()},jspb.BinaryDecoder.prototype.readZigzagVarint32=function(){var t=this.readUnsignedVarint32();return t>>>1^-(1&t)},jspb.BinaryDecoder.prototype.readUnsignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinUint64)},jspb.BinaryDecoder.prototype.readUnsignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinUnsignedDecimalString)},jspb.BinaryDecoder.prototype.readSignedVarint64=function(){return this.readSplitVarint64(jspb.utils.joinInt64)},jspb.BinaryDecoder.prototype.readSignedVarint64String=function(){return this.readSplitVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readZigzagVarint64=function(){return this.readSplitVarint64(jspb.utils.joinZigzag64)},jspb.BinaryDecoder.prototype.readZigzagVarintHash64=function(){return this.readSplitZigzagVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readZigzagVarint64String=function(){return this.readSplitZigzagVarint64(jspb.utils.joinSignedDecimalString)},jspb.BinaryDecoder.prototype.readUint8=function(){var t=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),t},jspb.BinaryDecoder.prototype.readUint16=function(){var t=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),t<<0|e<<8},jspb.BinaryDecoder.prototype.readUint32=function(){var t=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),(t<<0|e<<8|r<<16|s<<24)>>>0},jspb.BinaryDecoder.prototype.readUint64=function(){var t=this.readUint32(),e=this.readUint32();return jspb.utils.joinUint64(t,e)},jspb.BinaryDecoder.prototype.readUint64String=function(){var t=this.readUint32(),e=this.readUint32();return jspb.utils.joinUnsignedDecimalString(t,e)},jspb.BinaryDecoder.prototype.readInt8=function(){var t=this.bytes_[this.cursor_+0];return this.cursor_+=1,goog.asserts.assert(this.cursor_<=this.end_),t<<24>>24},jspb.BinaryDecoder.prototype.readInt16=function(){var t=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1];return this.cursor_+=2,goog.asserts.assert(this.cursor_<=this.end_),(t<<0|e<<8)<<16>>16},jspb.BinaryDecoder.prototype.readInt32=function(){var t=this.bytes_[this.cursor_+0],e=this.bytes_[this.cursor_+1],r=this.bytes_[this.cursor_+2],s=this.bytes_[this.cursor_+3];return this.cursor_+=4,goog.asserts.assert(this.cursor_<=this.end_),t<<0|e<<8|r<<16|s<<24},jspb.BinaryDecoder.prototype.readInt64=function(){var t=this.readUint32(),e=this.readUint32();return jspb.utils.joinInt64(t,e)},jspb.BinaryDecoder.prototype.readInt64String=function(){var t=this.readUint32(),e=this.readUint32();return jspb.utils.joinSignedDecimalString(t,e)},jspb.BinaryDecoder.prototype.readFloat=function(){var t=this.readUint32();return jspb.utils.joinFloat32(t,0)},jspb.BinaryDecoder.prototype.readDouble=function(){var t=this.readUint32(),e=this.readUint32();return jspb.utils.joinFloat64(t,e)},jspb.BinaryDecoder.prototype.readBool=function(){return!!this.bytes_[this.cursor_++]},jspb.BinaryDecoder.prototype.readEnum=function(){return this.readSignedVarint32()},jspb.BinaryDecoder.prototype.readString=function(t){var e=this.bytes_,r=this.cursor_;t=r+t;for(var s=[],o="";r<t;){var i=e[r++];if(128>i)s.push(i);else{if(192>i)continue;if(224>i){var n=e[r++];s.push((31&i)<<6|63&n)}else if(240>i){n=e[r++];var g=e[r++];s.push((15&i)<<12|(63&n)<<6|63&g)}else 248>i&&(i=(7&i)<<18|(63&(n=e[r++]))<<12|(63&(g=e[r++]))<<6|63&e[r++],i-=65536,s.push(55296+(i>>10&1023),56320+(1023&i)))}8192<=s.length&&(o+=String.fromCharCode.apply(null,s),s.length=0)}return o+=goog.crypt.byteArrayToString(s),this.cursor_=r,o},jspb.BinaryDecoder.prototype.readStringWithLength=function(){var t=this.readUnsignedVarint32();return this.readString(t)},jspb.BinaryDecoder.prototype.readBytes=function(t){if(0>t||this.cursor_+t>this.bytes_.length)return this.error_=!0,goog.asserts.fail("Invalid byte length!"),new Uint8Array(0);var e=this.bytes_.subarray(this.cursor_,this.cursor_+t);return this.cursor_+=t,goog.asserts.assert(this.cursor_<=this.end_),e},jspb.BinaryDecoder.prototype.readVarintHash64=function(){return this.readSplitVarint64(jspb.utils.joinHash64)},jspb.BinaryDecoder.prototype.readFixedHash64=function(){var t=this.bytes_,e=this.cursor_,r=t[e+0],s=t[e+1],o=t[e+2],i=t[e+3],n=t[e+4],g=t[e+5],p=t[e+6];return t=t[e+7],this.cursor_+=8,String.fromCharCode(r,s,o,i,n,g,p,t)},jspb.BinaryReader=function(t,e,r){this.decoder_=jspb.BinaryDecoder.alloc(t,e,r),this.fieldCursor_=this.decoder_.getCursor(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null},jspb.BinaryReader.instanceCache_=[],jspb.BinaryReader.alloc=function(t,e,r){if(jspb.BinaryReader.instanceCache_.length){var s=jspb.BinaryReader.instanceCache_.pop();return t&&s.decoder_.setBlock(t,e,r),s}return new jspb.BinaryReader(t,e,r)},jspb.BinaryReader.prototype.alloc=jspb.BinaryReader.alloc,jspb.BinaryReader.prototype.free=function(){this.decoder_.clear(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID,this.error_=!1,this.readCallbacks_=null,100>jspb.BinaryReader.instanceCache_.length&&jspb.BinaryReader.instanceCache_.push(this)},jspb.BinaryReader.prototype.getFieldCursor=function(){return this.fieldCursor_},jspb.BinaryReader.prototype.getCursor=function(){return this.decoder_.getCursor()},jspb.BinaryReader.prototype.getBuffer=function(){return this.decoder_.getBuffer()},jspb.BinaryReader.prototype.getFieldNumber=function(){return this.nextField_},jspb.BinaryReader.prototype.getWireType=function(){return this.nextWireType_},jspb.BinaryReader.prototype.isDelimited=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED},jspb.BinaryReader.prototype.isEndGroup=function(){return this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP},jspb.BinaryReader.prototype.getError=function(){return this.error_||this.decoder_.getError()},jspb.BinaryReader.prototype.setBlock=function(t,e,r){this.decoder_.setBlock(t,e,r),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.reset=function(){this.decoder_.reset(),this.nextField_=jspb.BinaryConstants.INVALID_FIELD_NUMBER,this.nextWireType_=jspb.BinaryConstants.WireType.INVALID},jspb.BinaryReader.prototype.advance=function(t){this.decoder_.advance(t)},jspb.BinaryReader.prototype.nextField=function(){if(this.decoder_.atEnd())return!1;if(this.getError())return goog.asserts.fail("Decoder hit an error"),!1;this.fieldCursor_=this.decoder_.getCursor();var t=this.decoder_.readUnsignedVarint32(),e=t>>>3;return(t&=7)!=jspb.BinaryConstants.WireType.VARINT&&t!=jspb.BinaryConstants.WireType.FIXED32&&t!=jspb.BinaryConstants.WireType.FIXED64&&t!=jspb.BinaryConstants.WireType.DELIMITED&&t!=jspb.BinaryConstants.WireType.START_GROUP&&t!=jspb.BinaryConstants.WireType.END_GROUP?(goog.asserts.fail("Invalid wire type: %s (at position %s)",t,this.fieldCursor_),this.error_=!0,!1):(this.nextField_=e,this.nextWireType_=t,!0)},jspb.BinaryReader.prototype.unskipHeader=function(){this.decoder_.unskipVarint(this.nextField_<<3|this.nextWireType_)},jspb.BinaryReader.prototype.skipMatchingFields=function(){var t=this.nextField_;for(this.unskipHeader();this.nextField()&&this.getFieldNumber()==t;)this.skipField();this.decoder_.atEnd()||this.unskipHeader()},jspb.BinaryReader.prototype.skipVarintField=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.VARINT?(goog.asserts.fail("Invalid wire type for skipVarintField"),this.skipField()):this.decoder_.skipVarint()},jspb.BinaryReader.prototype.skipDelimitedField=function(){if(this.nextWireType_!=jspb.BinaryConstants.WireType.DELIMITED)goog.asserts.fail("Invalid wire type for skipDelimitedField"),this.skipField();else{var t=this.decoder_.readUnsignedVarint32();this.decoder_.advance(t)}},jspb.BinaryReader.prototype.skipFixed32Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED32?(goog.asserts.fail("Invalid wire type for skipFixed32Field"),this.skipField()):this.decoder_.advance(4)},jspb.BinaryReader.prototype.skipFixed64Field=function(){this.nextWireType_!=jspb.BinaryConstants.WireType.FIXED64?(goog.asserts.fail("Invalid wire type for skipFixed64Field"),this.skipField()):this.decoder_.advance(8)},jspb.BinaryReader.prototype.skipGroup=function(){for(var t=this.nextField_;;){if(!this.nextField()){goog.asserts.fail("Unmatched start-group tag: stream EOF"),this.error_=!0;break}if(this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP){this.nextField_!=t&&(goog.asserts.fail("Unmatched end-group tag"),this.error_=!0);break}this.skipField()}},jspb.BinaryReader.prototype.skipField=function(){switch(this.nextWireType_){case jspb.BinaryConstants.WireType.VARINT:this.skipVarintField();break;case jspb.BinaryConstants.WireType.FIXED64:this.skipFixed64Field();break;case jspb.BinaryConstants.WireType.DELIMITED:this.skipDelimitedField();break;case jspb.BinaryConstants.WireType.FIXED32:this.skipFixed32Field();break;case jspb.BinaryConstants.WireType.START_GROUP:this.skipGroup();break;default:goog.asserts.fail("Invalid wire encoding for field.")}},jspb.BinaryReader.prototype.registerReadCallback=function(t,e){this.readCallbacks_===null&&(this.readCallbacks_={}),goog.asserts.assert(!this.readCallbacks_[t]),this.readCallbacks_[t]=e},jspb.BinaryReader.prototype.runReadCallback=function(t){return goog.asserts.assert(this.readCallbacks_!==null),t=this.readCallbacks_[t],goog.asserts.assert(t),t(this)},jspb.BinaryReader.prototype.readAny=function(t){this.nextWireType_=jspb.BinaryConstants.FieldTypeToWireType(t);var e=jspb.BinaryConstants.FieldType;switch(t){case e.DOUBLE:return this.readDouble();case e.FLOAT:return this.readFloat();case e.INT64:return this.readInt64();case e.UINT64:return this.readUint64();case e.INT32:return this.readInt32();case e.FIXED64:return this.readFixed64();case e.FIXED32:return this.readFixed32();case e.BOOL:return this.readBool();case e.STRING:return this.readString();case e.GROUP:goog.asserts.fail("Group field type not supported in readAny()");case e.MESSAGE:goog.asserts.fail("Message field type not supported in readAny()");case e.BYTES:return this.readBytes();case e.UINT32:return this.readUint32();case e.ENUM:return this.readEnum();case e.SFIXED32:return this.readSfixed32();case e.SFIXED64:return this.readSfixed64();case e.SINT32:return this.readSint32();case e.SINT64:return this.readSint64();case e.FHASH64:return this.readFixedHash64();case e.VHASH64:return this.readVarintHash64();default:goog.asserts.fail("Invalid field type in readAny()")}return 0},jspb.BinaryReader.prototype.readMessage=function(t,e){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var r=this.decoder_.getEnd(),s=this.decoder_.readUnsignedVarint32();s=this.decoder_.getCursor()+s,this.decoder_.setEnd(s),e(t,this),this.decoder_.setCursor(s),this.decoder_.setEnd(r)},jspb.BinaryReader.prototype.readGroup=function(t,e,r){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.START_GROUP),goog.asserts.assert(this.nextField_==t),r(e,this),this.error_||this.nextWireType_==jspb.BinaryConstants.WireType.END_GROUP||(goog.asserts.fail("Group submessage did not end with an END_GROUP tag"),this.error_=!0)},jspb.BinaryReader.prototype.getFieldDecoder=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32(),e=this.decoder_.getCursor(),r=e+t;return t=jspb.BinaryDecoder.alloc(this.decoder_.getBuffer(),e,t),this.decoder_.setCursor(r),t},jspb.BinaryReader.prototype.readInt32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32()},jspb.BinaryReader.prototype.readInt32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint32String()},jspb.BinaryReader.prototype.readInt64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readInt64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64String()},jspb.BinaryReader.prototype.readUint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readUint32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint32String()},jspb.BinaryReader.prototype.readUint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64()},jspb.BinaryReader.prototype.readUint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readUnsignedVarint64String()},jspb.BinaryReader.prototype.readSint32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint32()},jspb.BinaryReader.prototype.readSint64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64()},jspb.BinaryReader.prototype.readSint64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarint64String()},jspb.BinaryReader.prototype.readFixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readUint32()},jspb.BinaryReader.prototype.readFixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64()},jspb.BinaryReader.prototype.readFixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readUint64String()},jspb.BinaryReader.prototype.readSfixed32=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32()},jspb.BinaryReader.prototype.readSfixed32String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readInt32().toString()},jspb.BinaryReader.prototype.readSfixed64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64()},jspb.BinaryReader.prototype.readSfixed64String=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readInt64String()},jspb.BinaryReader.prototype.readFloat=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED32),this.decoder_.readFloat()},jspb.BinaryReader.prototype.readDouble=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readDouble()},jspb.BinaryReader.prototype.readBool=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),!!this.decoder_.readUnsignedVarint32()},jspb.BinaryReader.prototype.readEnum=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSignedVarint64()},jspb.BinaryReader.prototype.readString=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();return this.decoder_.readString(t)},jspb.BinaryReader.prototype.readBytes=function(){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var t=this.decoder_.readUnsignedVarint32();return this.decoder_.readBytes(t)},jspb.BinaryReader.prototype.readVarintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readVarintHash64()},jspb.BinaryReader.prototype.readSintHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readZigzagVarintHash64()},jspb.BinaryReader.prototype.readSplitVarint64=function(t){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(t)},jspb.BinaryReader.prototype.readSplitZigzagVarint64=function(t){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.VARINT),this.decoder_.readSplitVarint64(function(e,r){return jspb.utils.fromZigzag64(e,r,t)})},jspb.BinaryReader.prototype.readFixedHash64=function(){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readFixedHash64()},jspb.BinaryReader.prototype.readSplitFixed64=function(t){return goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.FIXED64),this.decoder_.readSplitFixed64(t)},jspb.BinaryReader.prototype.readPackedField_=function(t){goog.asserts.assert(this.nextWireType_==jspb.BinaryConstants.WireType.DELIMITED);var e=this.decoder_.readUnsignedVarint32();e=this.decoder_.getCursor()+e;for(var r=[];this.decoder_.getCursor()<e;)r.push(t.call(this.decoder_));return r},jspb.BinaryReader.prototype.readPackedInt32=function(){return this.readPackedField_(this.decoder_.readSignedVarint32)},jspb.BinaryReader.prototype.readPackedInt32String=function(){return this.readPackedField_(this.decoder_.readSignedVarint32String)},jspb.BinaryReader.prototype.readPackedInt64=function(){return this.readPackedField_(this.decoder_.readSignedVarint64)},jspb.BinaryReader.prototype.readPackedInt64String=function(){return this.readPackedField_(this.decoder_.readSignedVarint64String)},jspb.BinaryReader.prototype.readPackedUint32=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32)},jspb.BinaryReader.prototype.readPackedUint32String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint32String)},jspb.BinaryReader.prototype.readPackedUint64=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64)},jspb.BinaryReader.prototype.readPackedUint64String=function(){return this.readPackedField_(this.decoder_.readUnsignedVarint64String)},jspb.BinaryReader.prototype.readPackedSint32=function(){return this.readPackedField_(this.decoder_.readZigzagVarint32)},jspb.BinaryReader.prototype.readPackedSint64=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64)},jspb.BinaryReader.prototype.readPackedSint64String=function(){return this.readPackedField_(this.decoder_.readZigzagVarint64String)},jspb.BinaryReader.prototype.readPackedFixed32=function(){return this.readPackedField_(this.decoder_.readUint32)},jspb.BinaryReader.prototype.readPackedFixed64=function(){return this.readPackedField_(this.decoder_.readUint64)},jspb.BinaryReader.prototype.readPackedFixed64String=function(){return this.readPackedField_(this.decoder_.readUint64String)},jspb.BinaryReader.prototype.readPackedSfixed32=function(){return this.readPackedField_(this.decoder_.readInt32)},jspb.BinaryReader.prototype.readPackedSfixed64=function(){return this.readPackedField_(this.decoder_.readInt64)},jspb.BinaryReader.prototype.readPackedSfixed64String=function(){return this.readPackedField_(this.decoder_.readInt64String)},jspb.BinaryReader.prototype.readPackedFloat=function(){return this.readPackedField_(this.decoder_.readFloat)},jspb.BinaryReader.prototype.readPackedDouble=function(){return this.readPackedField_(this.decoder_.readDouble)},jspb.BinaryReader.prototype.readPackedBool=function(){return this.readPackedField_(this.decoder_.readBool)},jspb.BinaryReader.prototype.readPackedEnum=function(){return this.readPackedField_(this.decoder_.readEnum)},jspb.BinaryReader.prototype.readPackedVarintHash64=function(){return this.readPackedField_(this.decoder_.readVarintHash64)},jspb.BinaryReader.prototype.readPackedFixedHash64=function(){return this.readPackedField_(this.decoder_.readFixedHash64)},jspb.BinaryEncoder=function(){this.buffer_=[]},jspb.BinaryEncoder.prototype.length=function(){return this.buffer_.length},jspb.BinaryEncoder.prototype.end=function(){var t=this.buffer_;return this.buffer_=[],t},jspb.BinaryEncoder.prototype.writeSplitVarint64=function(t,e){for(goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32);0<e||127<t;)this.buffer_.push(127&t|128),t=(t>>>7|e<<25)>>>0,e>>>=7;this.buffer_.push(t)},jspb.BinaryEncoder.prototype.writeSplitFixed64=function(t,e){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(e==Math.floor(e)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUint32(t),this.writeUint32(e)},jspb.BinaryEncoder.prototype.writeUnsignedVarint32=function(t){for(goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32);127<t;)this.buffer_.push(127&t|128),t>>>=7;this.buffer_.push(t)},jspb.BinaryEncoder.prototype.writeSignedVarint32=function(t){if(goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),0<=t)this.writeUnsignedVarint32(t);else{for(var e=0;9>e;e++)this.buffer_.push(127&t|128),t>>=7;this.buffer_.push(1)}},jspb.BinaryEncoder.prototype.writeUnsignedVarint64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitInt64(t),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeSignedVarint64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(t),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint32=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeUnsignedVarint32((t<<1^t>>31)>>>0)},jspb.BinaryEncoder.prototype.writeZigzagVarint64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitZigzag64(t),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeZigzagVarint64String=function(t){this.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(t))},jspb.BinaryEncoder.prototype.writeZigzagVarintHash64=function(t){var e=this;jspb.utils.splitHash64(t),jspb.utils.toZigzag64(jspb.utils.split64Low,jspb.utils.split64High,function(r,s){e.writeSplitVarint64(r>>>0,s>>>0)})},jspb.BinaryEncoder.prototype.writeUint8=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&256>t),this.buffer_.push(t>>>0&255)},jspb.BinaryEncoder.prototype.writeUint16=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&65536>t),this.buffer_.push(t>>>0&255),this.buffer_.push(t>>>8&255)},jspb.BinaryEncoder.prototype.writeUint32=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_32),this.buffer_.push(t>>>0&255),this.buffer_.push(t>>>8&255),this.buffer_.push(t>>>16&255),this.buffer_.push(t>>>24&255)},jspb.BinaryEncoder.prototype.writeUint64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(0<=t&&t<jspb.BinaryConstants.TWO_TO_64),jspb.utils.splitUint64(t),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt8=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(-128<=t&&128>t),this.buffer_.push(t>>>0&255)},jspb.BinaryEncoder.prototype.writeInt16=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(-32768<=t&&32768>t),this.buffer_.push(t>>>0&255),this.buffer_.push(t>>>8&255)},jspb.BinaryEncoder.prototype.writeInt32=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.buffer_.push(t>>>0&255),this.buffer_.push(t>>>8&255),this.buffer_.push(t>>>16&255),this.buffer_.push(t>>>24&255)},jspb.BinaryEncoder.prototype.writeInt64=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_63&&t<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitInt64(t),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeInt64String=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(+t>=-jspb.BinaryConstants.TWO_TO_63&&+t<jspb.BinaryConstants.TWO_TO_63),jspb.utils.splitHash64(jspb.utils.decimalStringToHash64(t)),this.writeSplitFixed64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFloat=function(t){goog.asserts.assert(t===1/0||t===-1/0||isNaN(t)||t>=-jspb.BinaryConstants.FLOAT32_MAX&&t<=jspb.BinaryConstants.FLOAT32_MAX),jspb.utils.splitFloat32(t),this.writeUint32(jspb.utils.split64Low)},jspb.BinaryEncoder.prototype.writeDouble=function(t){goog.asserts.assert(t===1/0||t===-1/0||isNaN(t)||t>=-jspb.BinaryConstants.FLOAT64_MAX&&t<=jspb.BinaryConstants.FLOAT64_MAX),jspb.utils.splitFloat64(t),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeBool=function(t){goog.asserts.assert(typeof t=="boolean"||typeof t=="number"),this.buffer_.push(t?1:0)},jspb.BinaryEncoder.prototype.writeEnum=function(t){goog.asserts.assert(t==Math.floor(t)),goog.asserts.assert(t>=-jspb.BinaryConstants.TWO_TO_31&&t<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32(t)},jspb.BinaryEncoder.prototype.writeBytes=function(t){this.buffer_.push.apply(this.buffer_,t)},jspb.BinaryEncoder.prototype.writeVarintHash64=function(t){jspb.utils.splitHash64(t),this.writeSplitVarint64(jspb.utils.split64Low,jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeFixedHash64=function(t){jspb.utils.splitHash64(t),this.writeUint32(jspb.utils.split64Low),this.writeUint32(jspb.utils.split64High)},jspb.BinaryEncoder.prototype.writeString=function(t){for(var e=this.buffer_.length,r=0;r<t.length;r++){var s=t.charCodeAt(r);if(128>s)this.buffer_.push(s);else if(2048>s)this.buffer_.push(s>>6|192),this.buffer_.push(63&s|128);else if(65536>s)if(55296<=s&&56319>=s&&r+1<t.length){var o=t.charCodeAt(r+1);56320<=o&&57343>=o&&(s=1024*(s-55296)+o-56320+65536,this.buffer_.push(s>>18|240),this.buffer_.push(s>>12&63|128),this.buffer_.push(s>>6&63|128),this.buffer_.push(63&s|128),r++)}else this.buffer_.push(s>>12|224),this.buffer_.push(s>>6&63|128),this.buffer_.push(63&s|128)}return this.buffer_.length-e},jspb.arith={},jspb.arith.UInt64=function(t,e){this.lo=t,this.hi=e},jspb.arith.UInt64.prototype.cmp=function(t){return this.hi<t.hi||this.hi==t.hi&&this.lo<t.lo?-1:this.hi==t.hi&&this.lo==t.lo?0:1},jspb.arith.UInt64.prototype.rightShift=function(){return new jspb.arith.UInt64((this.lo>>>1|(1&this.hi)<<31)>>>0,this.hi>>>1>>>0)},jspb.arith.UInt64.prototype.leftShift=function(){return new jspb.arith.UInt64(this.lo<<1>>>0,(this.hi<<1|this.lo>>>31)>>>0)},jspb.arith.UInt64.prototype.msb=function(){return!!(2147483648&this.hi)},jspb.arith.UInt64.prototype.lsb=function(){return!!(1&this.lo)},jspb.arith.UInt64.prototype.zero=function(){return this.lo==0&&this.hi==0},jspb.arith.UInt64.prototype.add=function(t){return new jspb.arith.UInt64((this.lo+t.lo&4294967295)>>>0>>>0,((this.hi+t.hi&4294967295)>>>0)+(4294967296<=this.lo+t.lo?1:0)>>>0)},jspb.arith.UInt64.prototype.sub=function(t){return new jspb.arith.UInt64((this.lo-t.lo&4294967295)>>>0>>>0,((this.hi-t.hi&4294967295)>>>0)-(0>this.lo-t.lo?1:0)>>>0)},jspb.arith.UInt64.mul32x32=function(t,e){var r=65535&t,s=65535&e,o=e>>>16;for(e=r*s+65536*(r*o&65535)+65536*((t>>>=16)*s&65535),r=t*o+(r*o>>>16)+(t*s>>>16);4294967296<=e;)e-=4294967296,r+=1;return new jspb.arith.UInt64(e>>>0,r>>>0)},jspb.arith.UInt64.prototype.mul=function(t){var e=jspb.arith.UInt64.mul32x32(this.lo,t);return(t=jspb.arith.UInt64.mul32x32(this.hi,t)).hi=t.lo,t.lo=0,e.add(t)},jspb.arith.UInt64.prototype.div=function(t){if(t==0)return[];var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(this.lo,this.hi);t=new jspb.arith.UInt64(t,0);for(var s=new jspb.arith.UInt64(1,0);!t.msb();)t=t.leftShift(),s=s.leftShift();for(;!s.zero();)0>=t.cmp(r)&&(e=e.add(s),r=r.sub(t)),t=t.rightShift(),s=s.rightShift();return[e,r]},jspb.arith.UInt64.prototype.toString=function(){for(var t="",e=this;!e.zero();){var r=(e=e.div(10))[0];t=e[1].lo+t,e=r}return t==""&&(t="0"),t},jspb.arith.UInt64.fromString=function(t){for(var e=new jspb.arith.UInt64(0,0),r=new jspb.arith.UInt64(0,0),s=0;s<t.length;s++){if("0">t[s]||"9"<t[s])return null;var o=parseInt(t[s],10);r.lo=o,e=e.mul(10).add(r)}return e},jspb.arith.UInt64.prototype.clone=function(){return new jspb.arith.UInt64(this.lo,this.hi)},jspb.arith.Int64=function(t,e){this.lo=t,this.hi=e},jspb.arith.Int64.prototype.add=function(t){return new jspb.arith.Int64((this.lo+t.lo&4294967295)>>>0>>>0,((this.hi+t.hi&4294967295)>>>0)+(4294967296<=this.lo+t.lo?1:0)>>>0)},jspb.arith.Int64.prototype.sub=function(t){return new jspb.arith.Int64((this.lo-t.lo&4294967295)>>>0>>>0,((this.hi-t.hi&4294967295)>>>0)-(0>this.lo-t.lo?1:0)>>>0)},jspb.arith.Int64.prototype.clone=function(){return new jspb.arith.Int64(this.lo,this.hi)},jspb.arith.Int64.prototype.toString=function(){var t=(2147483648&this.hi)!=0,e=new jspb.arith.UInt64(this.lo,this.hi);return t&&(e=new jspb.arith.UInt64(0,0).sub(e)),(t?"-":"")+e.toString()},jspb.arith.Int64.fromString=function(t){var e=0<t.length&&t[0]=="-";return e&&(t=t.substring(1)),(t=jspb.arith.UInt64.fromString(t))===null?null:(e&&(t=new jspb.arith.UInt64(0,0).sub(t)),new jspb.arith.Int64(t.lo,t.hi))},jspb.BinaryWriter=function(){this.blocks_=[],this.totalLength_=0,this.encoder_=new jspb.BinaryEncoder,this.bookmarks_=[]},jspb.BinaryWriter.prototype.appendUint8Array_=function(t){var e=this.encoder_.end();this.blocks_.push(e),this.blocks_.push(t),this.totalLength_+=e.length+t.length},jspb.BinaryWriter.prototype.beginDelimited_=function(t){return this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),t=this.encoder_.end(),this.blocks_.push(t),this.totalLength_+=t.length,t.push(this.totalLength_),t},jspb.BinaryWriter.prototype.endDelimited_=function(t){var e=t.pop();for(e=this.totalLength_+this.encoder_.length()-e,goog.asserts.assert(0<=e);127<e;)t.push(127&e|128),e>>>=7,this.totalLength_++;t.push(e),this.totalLength_++},jspb.BinaryWriter.prototype.writeSerializedMessage=function(t,e,r){this.appendUint8Array_(t.subarray(e,r))},jspb.BinaryWriter.prototype.maybeWriteSerializedMessage=function(t,e,r){t!=null&&e!=null&&r!=null&&this.writeSerializedMessage(t,e,r)},jspb.BinaryWriter.prototype.reset=function(){this.blocks_=[],this.encoder_.end(),this.totalLength_=0,this.bookmarks_=[]},jspb.BinaryWriter.prototype.getResultBuffer=function(){goog.asserts.assert(this.bookmarks_.length==0);for(var t=new Uint8Array(this.totalLength_+this.encoder_.length()),e=this.blocks_,r=e.length,s=0,o=0;o<r;o++){var i=e[o];t.set(i,s),s+=i.length}return e=this.encoder_.end(),t.set(e,s),s+=e.length,goog.asserts.assert(s==t.length),this.blocks_=[t],t},jspb.BinaryWriter.prototype.getResultBase64String=function(t){return goog.crypt.base64.encodeByteArray(this.getResultBuffer(),t)},jspb.BinaryWriter.prototype.beginSubMessage=function(t){this.bookmarks_.push(this.beginDelimited_(t))},jspb.BinaryWriter.prototype.endSubMessage=function(){goog.asserts.assert(0<=this.bookmarks_.length),this.endDelimited_(this.bookmarks_.pop())},jspb.BinaryWriter.prototype.writeFieldHeader_=function(t,e){goog.asserts.assert(1<=t&&t==Math.floor(t)),this.encoder_.writeUnsignedVarint32(8*t+e)},jspb.BinaryWriter.prototype.writeAny=function(t,e,r){var s=jspb.BinaryConstants.FieldType;switch(t){case s.DOUBLE:this.writeDouble(e,r);break;case s.FLOAT:this.writeFloat(e,r);break;case s.INT64:this.writeInt64(e,r);break;case s.UINT64:this.writeUint64(e,r);break;case s.INT32:this.writeInt32(e,r);break;case s.FIXED64:this.writeFixed64(e,r);break;case s.FIXED32:this.writeFixed32(e,r);break;case s.BOOL:this.writeBool(e,r);break;case s.STRING:this.writeString(e,r);break;case s.GROUP:goog.asserts.fail("Group field type not supported in writeAny()");break;case s.MESSAGE:goog.asserts.fail("Message field type not supported in writeAny()");break;case s.BYTES:this.writeBytes(e,r);break;case s.UINT32:this.writeUint32(e,r);break;case s.ENUM:this.writeEnum(e,r);break;case s.SFIXED32:this.writeSfixed32(e,r);break;case s.SFIXED64:this.writeSfixed64(e,r);break;case s.SINT32:this.writeSint32(e,r);break;case s.SINT64:this.writeSint64(e,r);break;case s.FHASH64:this.writeFixedHash64(e,r);break;case s.VHASH64:this.writeVarintHash64(e,r);break;default:goog.asserts.fail("Invalid field type in writeAny()")}},jspb.BinaryWriter.prototype.writeUnsignedVarint32_=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint32(e))},jspb.BinaryWriter.prototype.writeSignedVarint32_=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},jspb.BinaryWriter.prototype.writeUnsignedVarint64_=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeUnsignedVarint64(e))},jspb.BinaryWriter.prototype.writeSignedVarint64_=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint32_=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint32(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64_=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64(e))},jspb.BinaryWriter.prototype.writeZigzagVarint64String_=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarint64String(e))},jspb.BinaryWriter.prototype.writeZigzagVarintHash64_=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeZigzagVarintHash64(e))},jspb.BinaryWriter.prototype.writeInt32=function(t,e){e!=null&&(goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(t,e))},jspb.BinaryWriter.prototype.writeInt32String=function(t,e){e!=null&&(e=parseInt(e,10),goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeSignedVarint32_(t,e))},jspb.BinaryWriter.prototype.writeInt64=function(t,e){e!=null&&(goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeSignedVarint64_(t,e))},jspb.BinaryWriter.prototype.writeInt64String=function(t,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeUint32=function(t,e){e!=null&&(goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(t,e))},jspb.BinaryWriter.prototype.writeUint32String=function(t,e){e!=null&&(e=parseInt(e,10),goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeUnsignedVarint32_(t,e))},jspb.BinaryWriter.prototype.writeUint64=function(t,e){e!=null&&(goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeUnsignedVarint64_(t,e))},jspb.BinaryWriter.prototype.writeUint64String=function(t,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSint32=function(t,e){e!=null&&(goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeZigzagVarint32_(t,e))},jspb.BinaryWriter.prototype.writeSint64=function(t,e){e!=null&&(goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeZigzagVarint64_(t,e))},jspb.BinaryWriter.prototype.writeSintHash64=function(t,e){e!=null&&this.writeZigzagVarintHash64_(t,e)},jspb.BinaryWriter.prototype.writeSint64String=function(t,e){e!=null&&this.writeZigzagVarint64String_(t,e)},jspb.BinaryWriter.prototype.writeFixed32=function(t,e){e!=null&&(goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_32),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeUint32(e))},jspb.BinaryWriter.prototype.writeFixed64=function(t,e){e!=null&&(goog.asserts.assert(0<=e&&e<jspb.BinaryConstants.TWO_TO_64),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeUint64(e))},jspb.BinaryWriter.prototype.writeFixed64String=function(t,e){e!=null&&(e=jspb.arith.UInt64.fromString(e),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeSfixed32=function(t,e){e!=null&&(goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeInt32(e))},jspb.BinaryWriter.prototype.writeSfixed64=function(t,e){e!=null&&(goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_63&&e<jspb.BinaryConstants.TWO_TO_63),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeInt64(e))},jspb.BinaryWriter.prototype.writeSfixed64String=function(t,e){e!=null&&(e=jspb.arith.Int64.fromString(e),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e.lo,e.hi))},jspb.BinaryWriter.prototype.writeFloat=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED32),this.encoder_.writeFloat(e))},jspb.BinaryWriter.prototype.writeDouble=function(t,e){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeDouble(e))},jspb.BinaryWriter.prototype.writeBool=function(t,e){e!=null&&(goog.asserts.assert(typeof e=="boolean"||typeof e=="number"),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeBool(e))},jspb.BinaryWriter.prototype.writeEnum=function(t,e){e!=null&&(goog.asserts.assert(e>=-jspb.BinaryConstants.TWO_TO_31&&e<jspb.BinaryConstants.TWO_TO_31),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(e))},jspb.BinaryWriter.prototype.writeString=function(t,e){e!=null&&(t=this.beginDelimited_(t),this.encoder_.writeString(e),this.endDelimited_(t))},jspb.BinaryWriter.prototype.writeBytes=function(t,e){e!=null&&(e=jspb.utils.byteSourceToUint8Array(e),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),this.appendUint8Array_(e))},jspb.BinaryWriter.prototype.writeMessage=function(t,e,r){e!=null&&(t=this.beginDelimited_(t),r(e,this),this.endDelimited_(t))},jspb.BinaryWriter.prototype.writeMessageSet=function(t,e,r){e!=null&&(this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.START_GROUP),this.writeFieldHeader_(2,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSignedVarint32(t),t=this.beginDelimited_(3),r(e,this),this.endDelimited_(t),this.writeFieldHeader_(1,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeGroup=function(t,e,r){e!=null&&(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.START_GROUP),r(e,this),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.END_GROUP))},jspb.BinaryWriter.prototype.writeFixedHash64=function(t,e){e!=null&&(goog.asserts.assert(e.length==8),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeFixedHash64(e))},jspb.BinaryWriter.prototype.writeVarintHash64=function(t,e){e!=null&&(goog.asserts.assert(e.length==8),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeVarintHash64(e))},jspb.BinaryWriter.prototype.writeSplitFixed64=function(t,e,r){this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.FIXED64),this.encoder_.writeSplitFixed64(e,r)},jspb.BinaryWriter.prototype.writeSplitVarint64=function(t,e,r){this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT),this.encoder_.writeSplitVarint64(e,r)},jspb.BinaryWriter.prototype.writeSplitZigzagVarint64=function(t,e,r){this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.VARINT);var s=this.encoder_;jspb.utils.toZigzag64(e,r,function(o,i){s.writeSplitVarint64(o>>>0,i>>>0)})},jspb.BinaryWriter.prototype.writeRepeatedInt32=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint32_(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedInt32String=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt32String(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedInt64=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSignedVarint64_(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSplitFixed64=function(t,e,r,s){if(e!=null)for(var o=0;o<e.length;o++)this.writeSplitFixed64(t,r(e[o]),s(e[o]))},jspb.BinaryWriter.prototype.writeRepeatedSplitVarint64=function(t,e,r,s){if(e!=null)for(var o=0;o<e.length;o++)this.writeSplitVarint64(t,r(e[o]),s(e[o]))},jspb.BinaryWriter.prototype.writeRepeatedSplitZigzagVarint64=function(t,e,r,s){if(e!=null)for(var o=0;o<e.length;o++)this.writeSplitZigzagVarint64(t,r(e[o]),s(e[o]))},jspb.BinaryWriter.prototype.writeRepeatedInt64String=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeInt64String(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint32=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint32_(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint32String=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint32String(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint64=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUnsignedVarint64_(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedUint64String=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeUint64String(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSint32=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint32_(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSint64=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64_(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSint64String=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarint64String_(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSintHash64=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeZigzagVarintHash64_(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFixed32=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed32(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFixed64=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFixed64String=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixed64String(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSfixed32=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed32(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedSfixed64String=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeSfixed64String(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedFloat=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFloat(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedDouble=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeDouble(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedBool=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBool(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedEnum=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeEnum(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedString=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeString(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedBytes=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeBytes(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedMessage=function(t,e,r){if(e!=null)for(var s=0;s<e.length;s++){var o=this.beginDelimited_(t);r(e[s],this),this.endDelimited_(o)}},jspb.BinaryWriter.prototype.writeRepeatedGroup=function(t,e,r){if(e!=null)for(var s=0;s<e.length;s++)this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.START_GROUP),r(e[s],this),this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.END_GROUP)},jspb.BinaryWriter.prototype.writeRepeatedFixedHash64=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeFixedHash64(t,e[r])},jspb.BinaryWriter.prototype.writeRepeatedVarintHash64=function(t,e){if(e!=null)for(var r=0;r<e.length;r++)this.writeVarintHash64(t,e[r])},jspb.BinaryWriter.prototype.writePackedInt32=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(e[r]);this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedInt32String=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint32(parseInt(e[r],10));this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedInt64=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeSignedVarint64(e[r]);this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedSplitFixed64=function(t,e,r,s){if(e!=null){t=this.beginDelimited_(t);for(var o=0;o<e.length;o++)this.encoder_.writeSplitFixed64(r(e[o]),s(e[o]));this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedSplitVarint64=function(t,e,r,s){if(e!=null){t=this.beginDelimited_(t);for(var o=0;o<e.length;o++)this.encoder_.writeSplitVarint64(r(e[o]),s(e[o]));this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedSplitZigzagVarint64=function(t,e,r,s){if(e!=null){t=this.beginDelimited_(t);for(var o=this.encoder_,i=0;i<e.length;i++)jspb.utils.toZigzag64(r(e[i]),s(e[i]),function(n,g){o.writeSplitVarint64(n>>>0,g>>>0)});this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedInt64String=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++){var s=jspb.arith.Int64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedUint32=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(e[r]);this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedUint32String=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint32(parseInt(e[r],10));this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedUint64=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeUnsignedVarint64(e[r]);this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedUint64String=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++){var s=jspb.arith.UInt64.fromString(e[r]);this.encoder_.writeSplitVarint64(s.lo,s.hi)}this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedSint32=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint32(e[r]);this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedSint64=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarint64(e[r]);this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedSint64String=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(jspb.utils.decimalStringToHash64(e[r]));this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedSintHash64=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeZigzagVarintHash64(e[r]);this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedFixed32=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),t=0;t<e.length;t++)this.encoder_.writeUint32(e[t])},jspb.BinaryWriter.prototype.writePackedFixed64=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),t=0;t<e.length;t++)this.encoder_.writeUint64(e[t])},jspb.BinaryWriter.prototype.writePackedFixed64String=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),t=0;t<e.length;t++){var r=jspb.arith.UInt64.fromString(e[t]);this.encoder_.writeSplitFixed64(r.lo,r.hi)}},jspb.BinaryWriter.prototype.writePackedSfixed32=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),t=0;t<e.length;t++)this.encoder_.writeInt32(e[t])},jspb.BinaryWriter.prototype.writePackedSfixed64=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),t=0;t<e.length;t++)this.encoder_.writeInt64(e[t])},jspb.BinaryWriter.prototype.writePackedSfixed64String=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),t=0;t<e.length;t++)this.encoder_.writeInt64String(e[t])},jspb.BinaryWriter.prototype.writePackedFloat=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(4*e.length),t=0;t<e.length;t++)this.encoder_.writeFloat(e[t])},jspb.BinaryWriter.prototype.writePackedDouble=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),t=0;t<e.length;t++)this.encoder_.writeDouble(e[t])},jspb.BinaryWriter.prototype.writePackedBool=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(e.length),t=0;t<e.length;t++)this.encoder_.writeBool(e[t])},jspb.BinaryWriter.prototype.writePackedEnum=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeEnum(e[r]);this.endDelimited_(t)}},jspb.BinaryWriter.prototype.writePackedFixedHash64=function(t,e){if(e!=null&&e.length)for(this.writeFieldHeader_(t,jspb.BinaryConstants.WireType.DELIMITED),this.encoder_.writeUnsignedVarint32(8*e.length),t=0;t<e.length;t++)this.encoder_.writeFixedHash64(e[t])},jspb.BinaryWriter.prototype.writePackedVarintHash64=function(t,e){if(e!=null&&e.length){t=this.beginDelimited_(t);for(var r=0;r<e.length;r++)this.encoder_.writeVarintHash64(e[r]);this.endDelimited_(t)}},jspb.Map=function(t,e){this.arr_=t,this.valueCtor_=e,this.map_={},this.arrClean=!0,0<this.arr_.length&&this.loadFromArray_()},jspb.Map.prototype.loadFromArray_=function(){for(var t=0;t<this.arr_.length;t++){var e=this.arr_[t],r=e[0];this.map_[r.toString()]=new jspb.Map.Entry_(r,e[1])}this.arrClean=!0},jspb.Map.prototype.toArray=function(){if(this.arrClean){if(this.valueCtor_){var t,e=this.map_;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var r=e[t].valueWrapper;r&&r.toArray()}}}else{for(this.arr_.length=0,(e=this.stringKeys_()).sort(),t=0;t<e.length;t++){var s=this.map_[e[t]];(r=s.valueWrapper)&&r.toArray(),this.arr_.push([s.key,s.value])}this.arrClean=!0}return this.arr_},jspb.Map.prototype.toObject=function(t,e){for(var r=this.toArray(),s=[],o=0;o<r.length;o++){var i=this.map_[r[o][0].toString()];this.wrapEntry_(i);var n=i.valueWrapper;n?(goog.asserts.assert(e),s.push([i.key,e(t,n)])):s.push([i.key,i.value])}return s},jspb.Map.fromObject=function(t,e,r){e=new jspb.Map([],e);for(var s=0;s<t.length;s++){var o=t[s][0],i=r(t[s][1]);e.set(o,i)}return e},jspb.Map.ArrayIteratorIterable_=function(t){this.idx_=0,this.arr_=t},jspb.Map.ArrayIteratorIterable_.prototype.next=function(){return this.idx_<this.arr_.length?{done:!1,value:this.arr_[this.idx_++]}:{done:!0,value:void 0}},typeof Symbol<"u"&&(jspb.Map.ArrayIteratorIterable_.prototype[Symbol.iterator]=function(){return this}),jspb.Map.prototype.getLength=function(){return this.stringKeys_().length},jspb.Map.prototype.clear=function(){this.map_={},this.arrClean=!1},jspb.Map.prototype.del=function(t){t=t.toString();var e=this.map_.hasOwnProperty(t);return delete this.map_[t],this.arrClean=!1,e},jspb.Map.prototype.getEntryList=function(){var t=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];t.push([s.key,s.value])}return t},jspb.Map.prototype.entries=function(){var t=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++){var s=this.map_[e[r]];t.push([s.key,this.wrapEntry_(s)])}return new jspb.Map.ArrayIteratorIterable_(t)},jspb.Map.prototype.keys=function(){var t=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)t.push(this.map_[e[r]].key);return new jspb.Map.ArrayIteratorIterable_(t)},jspb.Map.prototype.values=function(){var t=[],e=this.stringKeys_();e.sort();for(var r=0;r<e.length;r++)t.push(this.wrapEntry_(this.map_[e[r]]));return new jspb.Map.ArrayIteratorIterable_(t)},jspb.Map.prototype.forEach=function(t,e){var r=this.stringKeys_();r.sort();for(var s=0;s<r.length;s++){var o=this.map_[r[s]];t.call(e,this.wrapEntry_(o),o.key,this)}},jspb.Map.prototype.set=function(t,e){var r=new jspb.Map.Entry_(t);return this.valueCtor_?(r.valueWrapper=e,r.value=e.toArray()):r.value=e,this.map_[t.toString()]=r,this.arrClean=!1,this},jspb.Map.prototype.wrapEntry_=function(t){return this.valueCtor_?(t.valueWrapper||(t.valueWrapper=new this.valueCtor_(t.value)),t.valueWrapper):t.value},jspb.Map.prototype.get=function(t){if(t=this.map_[t.toString()])return this.wrapEntry_(t)},jspb.Map.prototype.has=function(t){return t.toString()in this.map_},jspb.Map.prototype.serializeBinary=function(t,e,r,s,o){var i=this.stringKeys_();i.sort();for(var n=0;n<i.length;n++){var g=this.map_[i[n]];e.beginSubMessage(t),r.call(e,1,g.key),this.valueCtor_?s.call(e,2,this.wrapEntry_(g),o):s.call(e,2,g.value),e.endSubMessage()}},jspb.Map.deserializeBinary=function(t,e,r,s,o,i,n){for(;e.nextField()&&!e.isEndGroup();){var g=e.getFieldNumber();g==1?i=r.call(e):g==2&&(t.valueCtor_?(goog.asserts.assert(o),n||(n=new t.valueCtor_),s.call(e,n,o)):n=s.call(e))}goog.asserts.assert(i!=null),goog.asserts.assert(n!=null),t.set(i,n)},jspb.Map.prototype.stringKeys_=function(){var t,e=this.map_,r=[];for(t in e)Object.prototype.hasOwnProperty.call(e,t)&&r.push(t);return r},jspb.Map.Entry_=function(t,e){this.key=t,this.value=e,this.valueWrapper=void 0},jspb.ExtensionFieldInfo=function(t,e,r,s,o){this.fieldIndex=t,this.fieldName=e,this.ctor=r,this.toObjectFn=s,this.isRepeated=o},jspb.ExtensionFieldBinaryInfo=function(t,e,r,s,o,i){this.fieldInfo=t,this.binaryReaderFn=e,this.binaryWriterFn=r,this.binaryMessageSerializeFn=s,this.binaryMessageDeserializeFn=o,this.isPacked=i},jspb.ExtensionFieldInfo.prototype.isMessageType=function(){return!!this.ctor},jspb.Message=function(){},jspb.Message.GENERATE_TO_OBJECT=!0,jspb.Message.GENERATE_FROM_OBJECT=!goog.DISALLOW_TEST_ONLY_CODE,jspb.Message.GENERATE_TO_STRING=!0,jspb.Message.ASSUME_LOCAL_ARRAYS=!1,jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS=!0,jspb.Message.SUPPORTS_UINT8ARRAY_=typeof Uint8Array=="function",jspb.Message.prototype.getJsPbMessageId=function(){return this.messageId_},jspb.Message.getIndex_=function(t,e){return e+t.arrayIndexOffset_},jspb.Message.hiddenES6Property_=function(){},jspb.Message.getFieldNumber_=function(t,e){return e-t.arrayIndexOffset_},jspb.Message.initialize=function(t,e,r,s,o,i){if(t.wrappers_=null,e||(e=r?[r]:[]),t.messageId_=r?String(r):void 0,t.arrayIndexOffset_=r===0?-1:0,t.array=e,jspb.Message.initPivotAndExtensionObject_(t,s),t.convertedPrimitiveFields_={},jspb.Message.SERIALIZE_EMPTY_TRAILING_FIELDS||(t.repeatedFields=o),o)for(e=0;e<o.length;e++)(r=o[e])<t.pivot_?(r=jspb.Message.getIndex_(t,r),t.array[r]=t.array[r]||jspb.Message.EMPTY_LIST_SENTINEL_):(jspb.Message.maybeInitEmptyExtensionObject_(t),t.extensionObject_[r]=t.extensionObject_[r]||jspb.Message.EMPTY_LIST_SENTINEL_);if(i&&i.length)for(e=0;e<i.length;e++)jspb.Message.computeOneofCase(t,i[e])},jspb.Message.EMPTY_LIST_SENTINEL_=goog.DEBUG&&Object.freeze?Object.freeze([]):[],jspb.Message.isArray_=function(t){return jspb.Message.ASSUME_LOCAL_ARRAYS?t instanceof Array:Array.isArray(t)},jspb.Message.isExtensionObject_=function(t){return!(t===null||typeof t!="object"||jspb.Message.isArray_(t)||jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array)},jspb.Message.initPivotAndExtensionObject_=function(t,e){var r=t.array.length,s=-1;if(r&&(s=r-1,r=t.array[s],jspb.Message.isExtensionObject_(r)))return t.pivot_=jspb.Message.getFieldNumber_(t,s),void(t.extensionObject_=r);-1<e?(t.pivot_=Math.max(e,jspb.Message.getFieldNumber_(t,s+1)),t.extensionObject_=null):t.pivot_=Number.MAX_VALUE},jspb.Message.maybeInitEmptyExtensionObject_=function(t){var e=jspb.Message.getIndex_(t,t.pivot_);t.array[e]||(t.extensionObject_=t.array[e]={})},jspb.Message.toObjectList=function(t,e,r){for(var s=[],o=0;o<t.length;o++)s[o]=e.call(t[o],r,t[o]);return s},jspb.Message.toObjectExtension=function(t,e,r,s,o){for(var i in r){var n=r[i],g=s.call(t,n);if(g!=null){for(var p in n.fieldName)if(n.fieldName.hasOwnProperty(p))break;e[p]=n.toObjectFn?n.isRepeated?jspb.Message.toObjectList(g,n.toObjectFn,o):n.toObjectFn(o,g):g}}},jspb.Message.serializeBinaryExtensions=function(t,e,r,s){for(var o in r){var i=r[o],n=i.fieldInfo;if(!i.binaryWriterFn)throw Error("Message extension present that was generated without binary serialization support");var g=s.call(t,n);if(g!=null)if(n.isMessageType()){if(!i.binaryMessageSerializeFn)throw Error("Message extension present holding submessage without binary support enabled, and message is being serialized to binary format");i.binaryWriterFn.call(e,n.fieldIndex,g,i.binaryMessageSerializeFn)}else i.binaryWriterFn.call(e,n.fieldIndex,g)}},jspb.Message.readBinaryExtension=function(t,e,r,s,o){var i=r[e.getFieldNumber()];if(i){if(r=i.fieldInfo,!i.binaryReaderFn)throw Error("Deserializing extension whose generated code does not support binary format");if(r.isMessageType()){var n=new r.ctor;i.binaryReaderFn.call(e,n,i.binaryMessageDeserializeFn)}else n=i.binaryReaderFn.call(e);r.isRepeated&&!i.isPacked?(e=s.call(t,r))?e.push(n):o.call(t,r,[n]):o.call(t,r,n)}else e.skipField()},jspb.Message.getField=function(t,e){if(e<t.pivot_){e=jspb.Message.getIndex_(t,e);var r=t.array[e];return r===jspb.Message.EMPTY_LIST_SENTINEL_?t.array[e]=[]:r}if(t.extensionObject_)return(r=t.extensionObject_[e])===jspb.Message.EMPTY_LIST_SENTINEL_?t.extensionObject_[e]=[]:r},jspb.Message.getRepeatedField=function(t,e){return jspb.Message.getField(t,e)},jspb.Message.getOptionalFloatingPointField=function(t,e){return(t=jspb.Message.getField(t,e))==null?t:+t},jspb.Message.getBooleanField=function(t,e){return(t=jspb.Message.getField(t,e))==null?t:!!t},jspb.Message.getRepeatedFloatingPointField=function(t,e){var r=jspb.Message.getRepeatedField(t,e);if(t.convertedPrimitiveFields_||(t.convertedPrimitiveFields_={}),!t.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=+r[s];t.convertedPrimitiveFields_[e]=!0}return r},jspb.Message.getRepeatedBooleanField=function(t,e){var r=jspb.Message.getRepeatedField(t,e);if(t.convertedPrimitiveFields_||(t.convertedPrimitiveFields_={}),!t.convertedPrimitiveFields_[e]){for(var s=0;s<r.length;s++)r[s]=!!r[s];t.convertedPrimitiveFields_[e]=!0}return r},jspb.Message.bytesAsB64=function(t){return t==null||typeof t=="string"?t:jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array?goog.crypt.base64.encodeByteArray(t):(goog.asserts.fail("Cannot coerce to b64 string: "+goog.typeOf(t)),null)},jspb.Message.bytesAsU8=function(t){return t==null||t instanceof Uint8Array?t:typeof t=="string"?goog.crypt.base64.decodeStringToUint8Array(t):(goog.asserts.fail("Cannot coerce to Uint8Array: "+goog.typeOf(t)),null)},jspb.Message.bytesListAsB64=function(t){return jspb.Message.assertConsistentTypes_(t),t.length&&typeof t[0]!="string"?goog.array.map(t,jspb.Message.bytesAsB64):t},jspb.Message.bytesListAsU8=function(t){return jspb.Message.assertConsistentTypes_(t),!t.length||t[0]instanceof Uint8Array?t:goog.array.map(t,jspb.Message.bytesAsU8)},jspb.Message.assertConsistentTypes_=function(t){if(goog.DEBUG&&t&&1<t.length){var e=goog.typeOf(t[0]);goog.array.forEach(t,function(r){goog.typeOf(r)!=e&&goog.asserts.fail("Inconsistent type in JSPB repeated field array. Got "+goog.typeOf(r)+" expected "+e)})}},jspb.Message.getFieldWithDefault=function(t,e,r){return(t=jspb.Message.getField(t,e))==null?r:t},jspb.Message.getBooleanFieldWithDefault=function(t,e,r){return(t=jspb.Message.getBooleanField(t,e))==null?r:t},jspb.Message.getFloatingPointFieldWithDefault=function(t,e,r){return(t=jspb.Message.getOptionalFloatingPointField(t,e))==null?r:t},jspb.Message.getFieldProto3=jspb.Message.getFieldWithDefault,jspb.Message.getMapField=function(t,e,r,s){if(t.wrappers_||(t.wrappers_={}),e in t.wrappers_)return t.wrappers_[e];var o=jspb.Message.getField(t,e);if(!o){if(r)return;o=[],jspb.Message.setField(t,e,o)}return t.wrappers_[e]=new jspb.Map(o,s)},jspb.Message.setField=function(t,e,r){return goog.asserts.assertInstanceof(t,jspb.Message),e<t.pivot_?t.array[jspb.Message.getIndex_(t,e)]=r:(jspb.Message.maybeInitEmptyExtensionObject_(t),t.extensionObject_[e]=r),t},jspb.Message.setProto3IntField=function(t,e,r){return jspb.Message.setFieldIgnoringDefault_(t,e,r,0)},jspb.Message.setProto3FloatField=function(t,e,r){return jspb.Message.setFieldIgnoringDefault_(t,e,r,0)},jspb.Message.setProto3BooleanField=function(t,e,r){return jspb.Message.setFieldIgnoringDefault_(t,e,r,!1)},jspb.Message.setProto3StringField=function(t,e,r){return jspb.Message.setFieldIgnoringDefault_(t,e,r,"")},jspb.Message.setProto3BytesField=function(t,e,r){return jspb.Message.setFieldIgnoringDefault_(t,e,r,"")},jspb.Message.setProto3EnumField=function(t,e,r){return jspb.Message.setFieldIgnoringDefault_(t,e,r,0)},jspb.Message.setProto3StringIntField=function(t,e,r){return jspb.Message.setFieldIgnoringDefault_(t,e,r,"0")},jspb.Message.setFieldIgnoringDefault_=function(t,e,r,s){return goog.asserts.assertInstanceof(t,jspb.Message),r!==s?jspb.Message.setField(t,e,r):e<t.pivot_?t.array[jspb.Message.getIndex_(t,e)]=null:(jspb.Message.maybeInitEmptyExtensionObject_(t),delete t.extensionObject_[e]),t},jspb.Message.addToRepeatedField=function(t,e,r,s){return goog.asserts.assertInstanceof(t,jspb.Message),e=jspb.Message.getRepeatedField(t,e),s!=null?e.splice(s,0,r):e.push(r),t},jspb.Message.setOneofField=function(t,e,r,s){return goog.asserts.assertInstanceof(t,jspb.Message),(r=jspb.Message.computeOneofCase(t,r))&&r!==e&&s!==void 0&&(t.wrappers_&&r in t.wrappers_&&(t.wrappers_[r]=void 0),jspb.Message.setField(t,r,void 0)),jspb.Message.setField(t,e,s)},jspb.Message.computeOneofCase=function(t,e){for(var r,s,o=0;o<e.length;o++){var i=e[o],n=jspb.Message.getField(t,i);n!=null&&(r=i,s=n,jspb.Message.setField(t,i,void 0))}return r?(jspb.Message.setField(t,r,s),r):0},jspb.Message.getWrapperField=function(t,e,r,s){if(t.wrappers_||(t.wrappers_={}),!t.wrappers_[r]){var o=jspb.Message.getField(t,r);(s||o)&&(t.wrappers_[r]=new e(o))}return t.wrappers_[r]},jspb.Message.getRepeatedWrapperField=function(t,e,r){return jspb.Message.wrapRepeatedField_(t,e,r),(e=t.wrappers_[r])==jspb.Message.EMPTY_LIST_SENTINEL_&&(e=t.wrappers_[r]=[]),e},jspb.Message.wrapRepeatedField_=function(t,e,r){if(t.wrappers_||(t.wrappers_={}),!t.wrappers_[r]){for(var s=jspb.Message.getRepeatedField(t,r),o=[],i=0;i<s.length;i++)o[i]=new e(s[i]);t.wrappers_[r]=o}},jspb.Message.setWrapperField=function(t,e,r){goog.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={});var s=r&&r.toArray();return t.wrappers_[e]=r,jspb.Message.setField(t,e,s)},jspb.Message.setOneofWrapperField=function(t,e,r,s){goog.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={});var o=s&&s.toArray();return t.wrappers_[e]=s,jspb.Message.setOneofField(t,e,r,o)},jspb.Message.setRepeatedWrapperField=function(t,e,r){goog.asserts.assertInstanceof(t,jspb.Message),t.wrappers_||(t.wrappers_={}),r=r||[];for(var s=[],o=0;o<r.length;o++)s[o]=r[o].toArray();return t.wrappers_[e]=r,jspb.Message.setField(t,e,s)},jspb.Message.addToRepeatedWrapperField=function(t,e,r,s,o){jspb.Message.wrapRepeatedField_(t,s,e);var i=t.wrappers_[e];return i||(i=t.wrappers_[e]=[]),r=r||new s,t=jspb.Message.getRepeatedField(t,e),o!=null?(i.splice(o,0,r),t.splice(o,0,r.toArray())):(i.push(r),t.push(r.toArray())),r},jspb.Message.toMap=function(t,e,r,s){for(var o={},i=0;i<t.length;i++)o[e.call(t[i])]=r?r.call(t[i],s,t[i]):t[i];return o},jspb.Message.prototype.syncMapFields_=function(){if(this.wrappers_)for(var t in this.wrappers_){var e=this.wrappers_[t];if(Array.isArray(e))for(var r=0;r<e.length;r++)e[r]&&e[r].toArray();else e&&e.toArray()}},jspb.Message.prototype.toArray=function(){return this.syncMapFields_(),this.array},jspb.Message.GENERATE_TO_STRING&&(jspb.Message.prototype.toString=function(){return this.syncMapFields_(),this.array.toString()}),jspb.Message.prototype.getExtension=function(t){if(this.extensionObject_){this.wrappers_||(this.wrappers_={});var e=t.fieldIndex;if(t.isRepeated){if(t.isMessageType())return this.wrappers_[e]||(this.wrappers_[e]=goog.array.map(this.extensionObject_[e]||[],function(r){return new t.ctor(r)})),this.wrappers_[e]}else if(t.isMessageType())return!this.wrappers_[e]&&this.extensionObject_[e]&&(this.wrappers_[e]=new t.ctor(this.extensionObject_[e])),this.wrappers_[e];return this.extensionObject_[e]}},jspb.Message.prototype.setExtension=function(t,e){this.wrappers_||(this.wrappers_={}),jspb.Message.maybeInitEmptyExtensionObject_(this);var r=t.fieldIndex;return t.isRepeated?(e=e||[],t.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=goog.array.map(e,function(s){return s.toArray()})):this.extensionObject_[r]=e):t.isMessageType()?(this.wrappers_[r]=e,this.extensionObject_[r]=e&&e.toArray()):this.extensionObject_[r]=e,this},jspb.Message.difference=function(t,e){if(!(t instanceof e.constructor))throw Error("Messages have different types.");var r=t.toArray();e=e.toArray();var s=[],o=0,i=r.length>e.length?r.length:e.length;for(t.getJsPbMessageId()&&(s[0]=t.getJsPbMessageId(),o=1);o<i;o++)jspb.Message.compareFields(r[o],e[o])||(s[o]=e[o]);return new t.constructor(s)},jspb.Message.equals=function(t,e){return t==e||!(!t||!e)&&t instanceof e.constructor&&jspb.Message.compareFields(t.toArray(),e.toArray())},jspb.Message.compareExtensions=function(t,e){t=t||{},e=e||{};var r,s={};for(r in t)s[r]=0;for(r in e)s[r]=0;for(r in s)if(!jspb.Message.compareFields(t[r],e[r]))return!1;return!0},jspb.Message.compareFields=function(t,e){if(t==e)return!0;if(!goog.isObject(t)||!goog.isObject(e))return!!(typeof t=="number"&&isNaN(t)||typeof e=="number"&&isNaN(e))&&String(t)==String(e);if(t.constructor!=e.constructor)return!1;if(jspb.Message.SUPPORTS_UINT8ARRAY_&&t.constructor===Uint8Array){if(t.length!=e.length)return!1;for(var r=0;r<t.length;r++)if(t[r]!=e[r])return!1;return!0}if(t.constructor===Array){var s=void 0,o=void 0,i=Math.max(t.length,e.length);for(r=0;r<i;r++){var n=t[r],g=e[r];if(n&&n.constructor==Object&&(goog.asserts.assert(s===void 0),goog.asserts.assert(r===t.length-1),s=n,n=void 0),g&&g.constructor==Object&&(goog.asserts.assert(o===void 0),goog.asserts.assert(r===e.length-1),o=g,g=void 0),!jspb.Message.compareFields(n,g))return!1}return!s&&!o||(s=s||{},o=o||{},jspb.Message.compareExtensions(s,o))}if(t.constructor===Object)return jspb.Message.compareExtensions(t,e);throw Error("Invalid type in JSPB array")},jspb.Message.prototype.cloneMessage=function(){return jspb.Message.cloneMessage(this)},jspb.Message.prototype.clone=function(){return jspb.Message.cloneMessage(this)},jspb.Message.clone=function(t){return jspb.Message.cloneMessage(t)},jspb.Message.cloneMessage=function(t){return new t.constructor(jspb.Message.clone_(t.toArray()))},jspb.Message.copyInto=function(t,e){goog.asserts.assertInstanceof(t,jspb.Message),goog.asserts.assertInstanceof(e,jspb.Message),goog.asserts.assert(t.constructor==e.constructor,"Copy source and target message should have the same type."),t=jspb.Message.clone(t);for(var r=e.toArray(),s=t.toArray(),o=r.length=0;o<s.length;o++)r[o]=s[o];e.wrappers_=t.wrappers_,e.extensionObject_=t.extensionObject_},jspb.Message.clone_=function(t){if(Array.isArray(t)){for(var e=Array(t.length),r=0;r<t.length;r++){var s=t[r];s!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(goog.asserts.assert(s)):s)}return e}if(jspb.Message.SUPPORTS_UINT8ARRAY_&&t instanceof Uint8Array)return new Uint8Array(t);for(r in e={},t)(s=t[r])!=null&&(e[r]=typeof s=="object"?jspb.Message.clone_(goog.asserts.assert(s)):s);return e},jspb.Message.registerMessageType=function(t,e){e.messageId=t},jspb.Message.messageSetExtensions={},jspb.Message.messageSetExtensionsBinary={},jspb.Export={},exports.Map=jspb.Map,exports.Message=jspb.Message,exports.BinaryReader=jspb.BinaryReader,exports.BinaryWriter=jspb.BinaryWriter,exports.ExtensionFieldInfo=jspb.ExtensionFieldInfo,exports.ExtensionFieldBinaryInfo=jspb.ExtensionFieldBinaryInfo,exports.exportSymbol=goog.exportSymbol,exports.inherits=goog.inherits,exports.object={extend:goog.object.extend},exports.typeOf=goog.typeOf},302:(t,e,r)=>{var s=r(19),o=s,i=Function("return this")();o.exportSymbol("proto.google.protobuf.Any",null,i),proto.google.protobuf.Any=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.Any,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.Any.displayName="proto.google.protobuf.Any"),s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Any.prototype.toObject=function(n){return proto.google.protobuf.Any.toObject(n,this)},proto.google.protobuf.Any.toObject=function(n,g){var p={typeUrl:s.Message.getFieldWithDefault(g,1,""),value:g.getValue_asB64()};return n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.Any.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.Any;return proto.google.protobuf.Any.deserializeBinaryFromReader(p,g)},proto.google.protobuf.Any.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setTypeUrl(p);break;case 2:p=g.readBytes(),n.setValue(p);break;default:g.skipField()}return n},proto.google.protobuf.Any.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.Any.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.Any.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getTypeUrl()).length>0&&g.writeString(1,p),(p=n.getValue_asU8()).length>0&&g.writeBytes(2,p)},proto.google.protobuf.Any.prototype.getTypeUrl=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.Any.prototype.setTypeUrl=function(n){return s.Message.setProto3StringField(this,1,n)},proto.google.protobuf.Any.prototype.getValue=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.Any.prototype.getValue_asB64=function(){return s.Message.bytesAsB64(this.getValue())},proto.google.protobuf.Any.prototype.getValue_asU8=function(){return s.Message.bytesAsU8(this.getValue())},proto.google.protobuf.Any.prototype.setValue=function(n){return s.Message.setProto3BytesField(this,2,n)},o.object.extend(e,proto.google.protobuf),proto.google.protobuf.Any.prototype.getTypeName=function(){return this.getTypeUrl().split("/").pop()},proto.google.protobuf.Any.prototype.pack=function(n,g,p){p||(p="type.googleapis.com/"),p.substr(-1)!="/"?this.setTypeUrl(p+"/"+g):this.setTypeUrl(p+g),this.setValue(n)},proto.google.protobuf.Any.prototype.unpack=function(n,g){return this.getTypeName()==g?n(this.getValue_asU8()):null}},392:(t,e,r)=>{var s=r(19),o=s,i=Function("return this")();o.exportSymbol("proto.google.protobuf.DescriptorProto",null,i),o.exportSymbol("proto.google.protobuf.DescriptorProto.ExtensionRange",null,i),o.exportSymbol("proto.google.protobuf.DescriptorProto.ReservedRange",null,i),o.exportSymbol("proto.google.protobuf.EnumDescriptorProto",null,i),o.exportSymbol("proto.google.protobuf.EnumDescriptorProto.EnumReservedRange",null,i),o.exportSymbol("proto.google.protobuf.EnumOptions",null,i),o.exportSymbol("proto.google.protobuf.EnumValueDescriptorProto",null,i),o.exportSymbol("proto.google.protobuf.EnumValueOptions",null,i),o.exportSymbol("proto.google.protobuf.ExtensionRangeOptions",null,i),o.exportSymbol("proto.google.protobuf.FieldDescriptorProto",null,i),o.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Label",null,i),o.exportSymbol("proto.google.protobuf.FieldDescriptorProto.Type",null,i),o.exportSymbol("proto.google.protobuf.FieldOptions",null,i),o.exportSymbol("proto.google.protobuf.FieldOptions.CType",null,i),o.exportSymbol("proto.google.protobuf.FieldOptions.JSType",null,i),o.exportSymbol("proto.google.protobuf.FileDescriptorProto",null,i),o.exportSymbol("proto.google.protobuf.FileDescriptorSet",null,i),o.exportSymbol("proto.google.protobuf.FileOptions",null,i),o.exportSymbol("proto.google.protobuf.FileOptions.OptimizeMode",null,i),o.exportSymbol("proto.google.protobuf.GeneratedCodeInfo",null,i),o.exportSymbol("proto.google.protobuf.GeneratedCodeInfo.Annotation",null,i),o.exportSymbol("proto.google.protobuf.MessageOptions",null,i),o.exportSymbol("proto.google.protobuf.MethodDescriptorProto",null,i),o.exportSymbol("proto.google.protobuf.MethodOptions",null,i),o.exportSymbol("proto.google.protobuf.MethodOptions.IdempotencyLevel",null,i),o.exportSymbol("proto.google.protobuf.OneofDescriptorProto",null,i),o.exportSymbol("proto.google.protobuf.OneofOptions",null,i),o.exportSymbol("proto.google.protobuf.ServiceDescriptorProto",null,i),o.exportSymbol("proto.google.protobuf.ServiceOptions",null,i),o.exportSymbol("proto.google.protobuf.SourceCodeInfo",null,i),o.exportSymbol("proto.google.protobuf.SourceCodeInfo.Location",null,i),o.exportSymbol("proto.google.protobuf.UninterpretedOption",null,i),o.exportSymbol("proto.google.protobuf.UninterpretedOption.NamePart",null,i),proto.google.protobuf.FileDescriptorSet=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.FileDescriptorSet.repeatedFields_,null)},o.inherits(proto.google.protobuf.FileDescriptorSet,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorSet.displayName="proto.google.protobuf.FileDescriptorSet"),proto.google.protobuf.FileDescriptorProto=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.FileDescriptorProto.repeatedFields_,null)},o.inherits(proto.google.protobuf.FileDescriptorProto,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.FileDescriptorProto.displayName="proto.google.protobuf.FileDescriptorProto"),proto.google.protobuf.DescriptorProto=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.DescriptorProto.repeatedFields_,null)},o.inherits(proto.google.protobuf.DescriptorProto,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.displayName="proto.google.protobuf.DescriptorProto"),proto.google.protobuf.DescriptorProto.ExtensionRange=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.DescriptorProto.ExtensionRange,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ExtensionRange.displayName="proto.google.protobuf.DescriptorProto.ExtensionRange"),proto.google.protobuf.DescriptorProto.ReservedRange=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.DescriptorProto.ReservedRange,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.DescriptorProto.ReservedRange.displayName="proto.google.protobuf.DescriptorProto.ReservedRange"),proto.google.protobuf.ExtensionRangeOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.ExtensionRangeOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.ExtensionRangeOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.ExtensionRangeOptions.displayName="proto.google.protobuf.ExtensionRangeOptions"),proto.google.protobuf.ExtensionRangeOptions.extensions={},proto.google.protobuf.ExtensionRangeOptions.extensionsBinary={},proto.google.protobuf.FieldDescriptorProto=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.FieldDescriptorProto,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldDescriptorProto.displayName="proto.google.protobuf.FieldDescriptorProto"),proto.google.protobuf.OneofDescriptorProto=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.OneofDescriptorProto,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofDescriptorProto.displayName="proto.google.protobuf.OneofDescriptorProto"),proto.google.protobuf.EnumDescriptorProto=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.EnumDescriptorProto.repeatedFields_,null)},o.inherits(proto.google.protobuf.EnumDescriptorProto,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.displayName="proto.google.protobuf.EnumDescriptorProto"),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.displayName="proto.google.protobuf.EnumDescriptorProto.EnumReservedRange"),proto.google.protobuf.EnumValueDescriptorProto=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.EnumValueDescriptorProto,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueDescriptorProto.displayName="proto.google.protobuf.EnumValueDescriptorProto"),proto.google.protobuf.ServiceDescriptorProto=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.ServiceDescriptorProto.repeatedFields_,null)},o.inherits(proto.google.protobuf.ServiceDescriptorProto,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceDescriptorProto.displayName="proto.google.protobuf.ServiceDescriptorProto"),proto.google.protobuf.MethodDescriptorProto=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.MethodDescriptorProto,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodDescriptorProto.displayName="proto.google.protobuf.MethodDescriptorProto"),proto.google.protobuf.FileOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.FileOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.FileOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.FileOptions.displayName="proto.google.protobuf.FileOptions"),proto.google.protobuf.FileOptions.extensions={},proto.google.protobuf.FileOptions.extensionsBinary={},proto.google.protobuf.MessageOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.MessageOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.MessageOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.MessageOptions.displayName="proto.google.protobuf.MessageOptions"),proto.google.protobuf.MessageOptions.extensions={},proto.google.protobuf.MessageOptions.extensionsBinary={},proto.google.protobuf.FieldOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.FieldOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.FieldOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.FieldOptions.displayName="proto.google.protobuf.FieldOptions"),proto.google.protobuf.FieldOptions.extensions={},proto.google.protobuf.FieldOptions.extensionsBinary={},proto.google.protobuf.OneofOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.OneofOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.OneofOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.OneofOptions.displayName="proto.google.protobuf.OneofOptions"),proto.google.protobuf.OneofOptions.extensions={},proto.google.protobuf.OneofOptions.extensionsBinary={},proto.google.protobuf.EnumOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.EnumOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.EnumOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumOptions.displayName="proto.google.protobuf.EnumOptions"),proto.google.protobuf.EnumOptions.extensions={},proto.google.protobuf.EnumOptions.extensionsBinary={},proto.google.protobuf.EnumValueOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.EnumValueOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.EnumValueOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.EnumValueOptions.displayName="proto.google.protobuf.EnumValueOptions"),proto.google.protobuf.EnumValueOptions.extensions={},proto.google.protobuf.EnumValueOptions.extensionsBinary={},proto.google.protobuf.ServiceOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.ServiceOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.ServiceOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.ServiceOptions.displayName="proto.google.protobuf.ServiceOptions"),proto.google.protobuf.ServiceOptions.extensions={},proto.google.protobuf.ServiceOptions.extensionsBinary={},proto.google.protobuf.MethodOptions=function(n){s.Message.initialize(this,n,0,500,proto.google.protobuf.MethodOptions.repeatedFields_,null)},o.inherits(proto.google.protobuf.MethodOptions,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.MethodOptions.displayName="proto.google.protobuf.MethodOptions"),proto.google.protobuf.MethodOptions.extensions={},proto.google.protobuf.MethodOptions.extensionsBinary={},proto.google.protobuf.UninterpretedOption=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.UninterpretedOption.repeatedFields_,null)},o.inherits(proto.google.protobuf.UninterpretedOption,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.displayName="proto.google.protobuf.UninterpretedOption"),proto.google.protobuf.UninterpretedOption.NamePart=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.UninterpretedOption.NamePart,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.UninterpretedOption.NamePart.displayName="proto.google.protobuf.UninterpretedOption.NamePart"),proto.google.protobuf.SourceCodeInfo=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.SourceCodeInfo.repeatedFields_,null)},o.inherits(proto.google.protobuf.SourceCodeInfo,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.displayName="proto.google.protobuf.SourceCodeInfo"),proto.google.protobuf.SourceCodeInfo.Location=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_,null)},o.inherits(proto.google.protobuf.SourceCodeInfo.Location,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.SourceCodeInfo.Location.displayName="proto.google.protobuf.SourceCodeInfo.Location"),proto.google.protobuf.GeneratedCodeInfo=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.GeneratedCodeInfo.repeatedFields_,null)},o.inherits(proto.google.protobuf.GeneratedCodeInfo,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.displayName="proto.google.protobuf.GeneratedCodeInfo"),proto.google.protobuf.GeneratedCodeInfo.Annotation=function(n){s.Message.initialize(this,n,0,-1,proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_,null)},o.inherits(proto.google.protobuf.GeneratedCodeInfo.Annotation,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.displayName="proto.google.protobuf.GeneratedCodeInfo.Annotation"),proto.google.protobuf.FileDescriptorSet.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorSet.prototype.toObject=function(n){return proto.google.protobuf.FileDescriptorSet.toObject(n,this)},proto.google.protobuf.FileDescriptorSet.toObject=function(n,g){var p={fileList:s.Message.toObjectList(g.getFileList(),proto.google.protobuf.FileDescriptorProto.toObject,n)};return n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.FileDescriptorSet.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.FileDescriptorSet;return proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader(p,g)},proto.google.protobuf.FileDescriptorSet.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)if(g.getFieldNumber()===1){var p=new proto.google.protobuf.FileDescriptorProto;g.readMessage(p,proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader),n.addFile(p)}else g.skipField();return n},proto.google.protobuf.FileDescriptorSet.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.FileDescriptorSet.serializeBinaryToWriter=function(n,g){var p;(p=n.getFileList()).length>0&&g.writeRepeatedMessage(1,p,proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter)},proto.google.protobuf.FileDescriptorSet.prototype.getFileList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.FileDescriptorProto,1)},proto.google.protobuf.FileDescriptorSet.prototype.setFileList=function(n){return s.Message.setRepeatedWrapperField(this,1,n)},proto.google.protobuf.FileDescriptorSet.prototype.addFile=function(n,g){return s.Message.addToRepeatedWrapperField(this,1,n,proto.google.protobuf.FileDescriptorProto,g)},proto.google.protobuf.FileDescriptorSet.prototype.clearFileList=function(){return this.setFileList([])},proto.google.protobuf.FileDescriptorProto.repeatedFields_=[3,10,11,4,5,6,7],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileDescriptorProto.prototype.toObject=function(n){return proto.google.protobuf.FileDescriptorProto.toObject(n,this)},proto.google.protobuf.FileDescriptorProto.toObject=function(n,g){var p,l={name:(p=s.Message.getField(g,1))==null?void 0:p,pb_package:(p=s.Message.getField(g,2))==null?void 0:p,dependencyList:(p=s.Message.getRepeatedField(g,3))==null?void 0:p,publicDependencyList:(p=s.Message.getRepeatedField(g,10))==null?void 0:p,weakDependencyList:(p=s.Message.getRepeatedField(g,11))==null?void 0:p,messageTypeList:s.Message.toObjectList(g.getMessageTypeList(),proto.google.protobuf.DescriptorProto.toObject,n),enumTypeList:s.Message.toObjectList(g.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,n),serviceList:s.Message.toObjectList(g.getServiceList(),proto.google.protobuf.ServiceDescriptorProto.toObject,n),extensionList:s.Message.toObjectList(g.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,n),options:(p=g.getOptions())&&proto.google.protobuf.FileOptions.toObject(n,p),sourceCodeInfo:(p=g.getSourceCodeInfo())&&proto.google.protobuf.SourceCodeInfo.toObject(n,p),syntax:(p=s.Message.getField(g,12))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.FileDescriptorProto.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.FileDescriptorProto;return proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader(p,g)},proto.google.protobuf.FileDescriptorProto.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setName(p);break;case 2:p=g.readString(),n.setPackage(p);break;case 3:p=g.readString(),n.addDependency(p);break;case 10:for(var l=g.isDelimited()?g.readPackedInt32():[g.readInt32()],u=0;u<l.length;u++)n.addPublicDependency(l[u]);break;case 11:for(l=g.isDelimited()?g.readPackedInt32():[g.readInt32()],u=0;u<l.length;u++)n.addWeakDependency(l[u]);break;case 4:p=new proto.google.protobuf.DescriptorProto,g.readMessage(p,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),n.addMessageType(p);break;case 5:p=new proto.google.protobuf.EnumDescriptorProto,g.readMessage(p,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),n.addEnumType(p);break;case 6:p=new proto.google.protobuf.ServiceDescriptorProto,g.readMessage(p,proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader),n.addService(p);break;case 7:p=new proto.google.protobuf.FieldDescriptorProto,g.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),n.addExtension$(p);break;case 8:p=new proto.google.protobuf.FileOptions,g.readMessage(p,proto.google.protobuf.FileOptions.deserializeBinaryFromReader),n.setOptions(p);break;case 9:p=new proto.google.protobuf.SourceCodeInfo,g.readMessage(p,proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader),n.setSourceCodeInfo(p);break;case 12:p=g.readString(),n.setSyntax(p);break;default:g.skipField()}return n},proto.google.protobuf.FileDescriptorProto.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.FileDescriptorProto.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=s.Message.getField(n,2))!=null&&g.writeString(2,p),(p=n.getDependencyList()).length>0&&g.writeRepeatedString(3,p),(p=n.getPublicDependencyList()).length>0&&g.writeRepeatedInt32(10,p),(p=n.getWeakDependencyList()).length>0&&g.writeRepeatedInt32(11,p),(p=n.getMessageTypeList()).length>0&&g.writeRepeatedMessage(4,p,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),(p=n.getEnumTypeList()).length>0&&g.writeRepeatedMessage(5,p,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),(p=n.getServiceList()).length>0&&g.writeRepeatedMessage(6,p,proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter),(p=n.getExtensionList()).length>0&&g.writeRepeatedMessage(7,p,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),(p=n.getOptions())!=null&&g.writeMessage(8,p,proto.google.protobuf.FileOptions.serializeBinaryToWriter),(p=n.getSourceCodeInfo())!=null&&g.writeMessage(9,p,proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter),(p=s.Message.getField(n,12))!=null&&g.writeString(12,p)},proto.google.protobuf.FileDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileDescriptorProto.prototype.setName=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.FileDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getPackage=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FileDescriptorProto.prototype.setPackage=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.FileDescriptorProto.prototype.clearPackage=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasPackage=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getDependencyList=function(){return s.Message.getRepeatedField(this,3)},proto.google.protobuf.FileDescriptorProto.prototype.setDependencyList=function(n){return s.Message.setField(this,3,n||[])},proto.google.protobuf.FileDescriptorProto.prototype.addDependency=function(n,g){return s.Message.addToRepeatedField(this,3,n,g)},proto.google.protobuf.FileDescriptorProto.prototype.clearDependencyList=function(){return this.setDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getPublicDependencyList=function(){return s.Message.getRepeatedField(this,10)},proto.google.protobuf.FileDescriptorProto.prototype.setPublicDependencyList=function(n){return s.Message.setField(this,10,n||[])},proto.google.protobuf.FileDescriptorProto.prototype.addPublicDependency=function(n,g){return s.Message.addToRepeatedField(this,10,n,g)},proto.google.protobuf.FileDescriptorProto.prototype.clearPublicDependencyList=function(){return this.setPublicDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getWeakDependencyList=function(){return s.Message.getRepeatedField(this,11)},proto.google.protobuf.FileDescriptorProto.prototype.setWeakDependencyList=function(n){return s.Message.setField(this,11,n||[])},proto.google.protobuf.FileDescriptorProto.prototype.addWeakDependency=function(n,g){return s.Message.addToRepeatedField(this,11,n,g)},proto.google.protobuf.FileDescriptorProto.prototype.clearWeakDependencyList=function(){return this.setWeakDependencyList([])},proto.google.protobuf.FileDescriptorProto.prototype.getMessageTypeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,4)},proto.google.protobuf.FileDescriptorProto.prototype.setMessageTypeList=function(n){return s.Message.setRepeatedWrapperField(this,4,n)},proto.google.protobuf.FileDescriptorProto.prototype.addMessageType=function(n,g){return s.Message.addToRepeatedWrapperField(this,4,n,proto.google.protobuf.DescriptorProto,g)},proto.google.protobuf.FileDescriptorProto.prototype.clearMessageTypeList=function(){return this.setMessageTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getEnumTypeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,5)},proto.google.protobuf.FileDescriptorProto.prototype.setEnumTypeList=function(n){return s.Message.setRepeatedWrapperField(this,5,n)},proto.google.protobuf.FileDescriptorProto.prototype.addEnumType=function(n,g){return s.Message.addToRepeatedWrapperField(this,5,n,proto.google.protobuf.EnumDescriptorProto,g)},proto.google.protobuf.FileDescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.FileDescriptorProto.prototype.getServiceList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.ServiceDescriptorProto,6)},proto.google.protobuf.FileDescriptorProto.prototype.setServiceList=function(n){return s.Message.setRepeatedWrapperField(this,6,n)},proto.google.protobuf.FileDescriptorProto.prototype.addService=function(n,g){return s.Message.addToRepeatedWrapperField(this,6,n,proto.google.protobuf.ServiceDescriptorProto,g)},proto.google.protobuf.FileDescriptorProto.prototype.clearServiceList=function(){return this.setServiceList([])},proto.google.protobuf.FileDescriptorProto.prototype.getExtensionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,7)},proto.google.protobuf.FileDescriptorProto.prototype.setExtensionList=function(n){return s.Message.setRepeatedWrapperField(this,7,n)},proto.google.protobuf.FileDescriptorProto.prototype.addExtension$=function(n,g){return s.Message.addToRepeatedWrapperField(this,7,n,proto.google.protobuf.FieldDescriptorProto,g)},proto.google.protobuf.FileDescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.FileDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.FileOptions,8)},proto.google.protobuf.FileDescriptorProto.prototype.setOptions=function(n){return s.Message.setWrapperField(this,8,n)},proto.google.protobuf.FileDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,8)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSourceCodeInfo=function(){return s.Message.getWrapperField(this,proto.google.protobuf.SourceCodeInfo,9)},proto.google.protobuf.FileDescriptorProto.prototype.setSourceCodeInfo=function(n){return s.Message.setWrapperField(this,9,n)},proto.google.protobuf.FileDescriptorProto.prototype.clearSourceCodeInfo=function(){return this.setSourceCodeInfo(void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSourceCodeInfo=function(){return s.Message.getField(this,9)!=null},proto.google.protobuf.FileDescriptorProto.prototype.getSyntax=function(){return s.Message.getFieldWithDefault(this,12,"")},proto.google.protobuf.FileDescriptorProto.prototype.setSyntax=function(n){return s.Message.setField(this,12,n)},proto.google.protobuf.FileDescriptorProto.prototype.clearSyntax=function(){return s.Message.setField(this,12,void 0)},proto.google.protobuf.FileDescriptorProto.prototype.hasSyntax=function(){return s.Message.getField(this,12)!=null},proto.google.protobuf.DescriptorProto.repeatedFields_=[2,6,3,4,5,8,9,10],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.prototype.toObject=function(n){return proto.google.protobuf.DescriptorProto.toObject(n,this)},proto.google.protobuf.DescriptorProto.toObject=function(n,g){var p,l={name:(p=s.Message.getField(g,1))==null?void 0:p,fieldList:s.Message.toObjectList(g.getFieldList(),proto.google.protobuf.FieldDescriptorProto.toObject,n),extensionList:s.Message.toObjectList(g.getExtensionList(),proto.google.protobuf.FieldDescriptorProto.toObject,n),nestedTypeList:s.Message.toObjectList(g.getNestedTypeList(),proto.google.protobuf.DescriptorProto.toObject,n),enumTypeList:s.Message.toObjectList(g.getEnumTypeList(),proto.google.protobuf.EnumDescriptorProto.toObject,n),extensionRangeList:s.Message.toObjectList(g.getExtensionRangeList(),proto.google.protobuf.DescriptorProto.ExtensionRange.toObject,n),oneofDeclList:s.Message.toObjectList(g.getOneofDeclList(),proto.google.protobuf.OneofDescriptorProto.toObject,n),options:(p=g.getOptions())&&proto.google.protobuf.MessageOptions.toObject(n,p),reservedRangeList:s.Message.toObjectList(g.getReservedRangeList(),proto.google.protobuf.DescriptorProto.ReservedRange.toObject,n),reservedNameList:(p=s.Message.getRepeatedField(g,10))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.DescriptorProto.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.DescriptorProto;return proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader(p,g)},proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setName(p);break;case 2:p=new proto.google.protobuf.FieldDescriptorProto,g.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),n.addField(p);break;case 6:p=new proto.google.protobuf.FieldDescriptorProto,g.readMessage(p,proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader),n.addExtension$(p);break;case 3:p=new proto.google.protobuf.DescriptorProto,g.readMessage(p,proto.google.protobuf.DescriptorProto.deserializeBinaryFromReader),n.addNestedType(p);break;case 4:p=new proto.google.protobuf.EnumDescriptorProto,g.readMessage(p,proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader),n.addEnumType(p);break;case 5:p=new proto.google.protobuf.DescriptorProto.ExtensionRange,g.readMessage(p,proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader),n.addExtensionRange(p);break;case 8:p=new proto.google.protobuf.OneofDescriptorProto,g.readMessage(p,proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader),n.addOneofDecl(p);break;case 7:p=new proto.google.protobuf.MessageOptions,g.readMessage(p,proto.google.protobuf.MessageOptions.deserializeBinaryFromReader),n.setOptions(p);break;case 9:p=new proto.google.protobuf.DescriptorProto.ReservedRange,g.readMessage(p,proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader),n.addReservedRange(p);break;case 10:p=g.readString(),n.addReservedName(p);break;default:g.skipField()}return n},proto.google.protobuf.DescriptorProto.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.DescriptorProto.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.DescriptorProto.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=n.getFieldList()).length>0&&g.writeRepeatedMessage(2,p,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),(p=n.getExtensionList()).length>0&&g.writeRepeatedMessage(6,p,proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter),(p=n.getNestedTypeList()).length>0&&g.writeRepeatedMessage(3,p,proto.google.protobuf.DescriptorProto.serializeBinaryToWriter),(p=n.getEnumTypeList()).length>0&&g.writeRepeatedMessage(4,p,proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter),(p=n.getExtensionRangeList()).length>0&&g.writeRepeatedMessage(5,p,proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter),(p=n.getOneofDeclList()).length>0&&g.writeRepeatedMessage(8,p,proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter),(p=n.getOptions())!=null&&g.writeMessage(7,p,proto.google.protobuf.MessageOptions.serializeBinaryToWriter),(p=n.getReservedRangeList()).length>0&&g.writeRepeatedMessage(9,p,proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter),(p=n.getReservedNameList()).length>0&&g.writeRepeatedString(10,p)},s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.toObject=function(n){return proto.google.protobuf.DescriptorProto.ExtensionRange.toObject(n,this)},proto.google.protobuf.DescriptorProto.ExtensionRange.toObject=function(n,g){var p,l={start:(p=s.Message.getField(g,1))==null?void 0:p,end:(p=s.Message.getField(g,2))==null?void 0:p,options:(p=g.getOptions())&&proto.google.protobuf.ExtensionRangeOptions.toObject(n,p)};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.DescriptorProto.ExtensionRange;return proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader(p,g)},proto.google.protobuf.DescriptorProto.ExtensionRange.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readInt32();n.setStart(p);break;case 2:p=g.readInt32(),n.setEnd(p);break;case 3:p=new proto.google.protobuf.ExtensionRangeOptions,g.readMessage(p,proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader),n.setOptions(p);break;default:g.skipField()}return n},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.DescriptorProto.ExtensionRange.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeInt32(1,p),(p=s.Message.getField(n,2))!=null&&g.writeInt32(2,p),(p=n.getOptions())!=null&&g.writeMessage(3,p,proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getStart=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setStart=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearStart=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasStart=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getEnd=function(){return s.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setEnd=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearEnd=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasEnd=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.ExtensionRangeOptions,3)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.setOptions=function(n){return s.Message.setWrapperField(this,3,n)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.ExtensionRange.prototype.hasOptions=function(){return s.Message.getField(this,3)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.DescriptorProto.ReservedRange.prototype.toObject=function(n){return proto.google.protobuf.DescriptorProto.ReservedRange.toObject(n,this)},proto.google.protobuf.DescriptorProto.ReservedRange.toObject=function(n,g){var p,l={start:(p=s.Message.getField(g,1))==null?void 0:p,end:(p=s.Message.getField(g,2))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.DescriptorProto.ReservedRange;return proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader(p,g)},proto.google.protobuf.DescriptorProto.ReservedRange.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readInt32();n.setStart(p);break;case 2:p=g.readInt32(),n.setEnd(p);break;default:g.skipField()}return n},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.DescriptorProto.ReservedRange.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeInt32(1,p),(p=s.Message.getField(n,2))!=null&&g.writeInt32(2,p)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getStart=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setStart=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearStart=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasStart=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.getEnd=function(){return s.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.setEnd=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.clearEnd=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.DescriptorProto.ReservedRange.prototype.hasEnd=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.DescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.DescriptorProto.prototype.setName=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.DescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.DescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.DescriptorProto.prototype.getFieldList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,2)},proto.google.protobuf.DescriptorProto.prototype.setFieldList=function(n){return s.Message.setRepeatedWrapperField(this,2,n)},proto.google.protobuf.DescriptorProto.prototype.addField=function(n,g){return s.Message.addToRepeatedWrapperField(this,2,n,proto.google.protobuf.FieldDescriptorProto,g)},proto.google.protobuf.DescriptorProto.prototype.clearFieldList=function(){return this.setFieldList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.FieldDescriptorProto,6)},proto.google.protobuf.DescriptorProto.prototype.setExtensionList=function(n){return s.Message.setRepeatedWrapperField(this,6,n)},proto.google.protobuf.DescriptorProto.prototype.addExtension$=function(n,g){return s.Message.addToRepeatedWrapperField(this,6,n,proto.google.protobuf.FieldDescriptorProto,g)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionList=function(){return this.setExtensionList([])},proto.google.protobuf.DescriptorProto.prototype.getNestedTypeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto,3)},proto.google.protobuf.DescriptorProto.prototype.setNestedTypeList=function(n){return s.Message.setRepeatedWrapperField(this,3,n)},proto.google.protobuf.DescriptorProto.prototype.addNestedType=function(n,g){return s.Message.addToRepeatedWrapperField(this,3,n,proto.google.protobuf.DescriptorProto,g)},proto.google.protobuf.DescriptorProto.prototype.clearNestedTypeList=function(){return this.setNestedTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getEnumTypeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto,4)},proto.google.protobuf.DescriptorProto.prototype.setEnumTypeList=function(n){return s.Message.setRepeatedWrapperField(this,4,n)},proto.google.protobuf.DescriptorProto.prototype.addEnumType=function(n,g){return s.Message.addToRepeatedWrapperField(this,4,n,proto.google.protobuf.EnumDescriptorProto,g)},proto.google.protobuf.DescriptorProto.prototype.clearEnumTypeList=function(){return this.setEnumTypeList([])},proto.google.protobuf.DescriptorProto.prototype.getExtensionRangeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ExtensionRange,5)},proto.google.protobuf.DescriptorProto.prototype.setExtensionRangeList=function(n){return s.Message.setRepeatedWrapperField(this,5,n)},proto.google.protobuf.DescriptorProto.prototype.addExtensionRange=function(n,g){return s.Message.addToRepeatedWrapperField(this,5,n,proto.google.protobuf.DescriptorProto.ExtensionRange,g)},proto.google.protobuf.DescriptorProto.prototype.clearExtensionRangeList=function(){return this.setExtensionRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getOneofDeclList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.OneofDescriptorProto,8)},proto.google.protobuf.DescriptorProto.prototype.setOneofDeclList=function(n){return s.Message.setRepeatedWrapperField(this,8,n)},proto.google.protobuf.DescriptorProto.prototype.addOneofDecl=function(n,g){return s.Message.addToRepeatedWrapperField(this,8,n,proto.google.protobuf.OneofDescriptorProto,g)},proto.google.protobuf.DescriptorProto.prototype.clearOneofDeclList=function(){return this.setOneofDeclList([])},proto.google.protobuf.DescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.MessageOptions,7)},proto.google.protobuf.DescriptorProto.prototype.setOptions=function(n){return s.Message.setWrapperField(this,7,n)},proto.google.protobuf.DescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.DescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,7)!=null},proto.google.protobuf.DescriptorProto.prototype.getReservedRangeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.DescriptorProto.ReservedRange,9)},proto.google.protobuf.DescriptorProto.prototype.setReservedRangeList=function(n){return s.Message.setRepeatedWrapperField(this,9,n)},proto.google.protobuf.DescriptorProto.prototype.addReservedRange=function(n,g){return s.Message.addToRepeatedWrapperField(this,9,n,proto.google.protobuf.DescriptorProto.ReservedRange,g)},proto.google.protobuf.DescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.DescriptorProto.prototype.getReservedNameList=function(){return s.Message.getRepeatedField(this,10)},proto.google.protobuf.DescriptorProto.prototype.setReservedNameList=function(n){return s.Message.setField(this,10,n||[])},proto.google.protobuf.DescriptorProto.prototype.addReservedName=function(n,g){return s.Message.addToRepeatedField(this,10,n,g)},proto.google.protobuf.DescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},proto.google.protobuf.ExtensionRangeOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ExtensionRangeOptions.prototype.toObject=function(n){return proto.google.protobuf.ExtensionRangeOptions.toObject(n,this)},proto.google.protobuf.ExtensionRangeOptions.toObject=function(n,g){var p={uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,p,proto.google.protobuf.ExtensionRangeOptions.extensions,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,n),n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.ExtensionRangeOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.ExtensionRangeOptions;return proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.ExtensionRangeOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)if(g.getFieldNumber()===999){var p=new proto.google.protobuf.UninterpretedOption;g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p)}else s.Message.readBinaryExtension(n,g,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension,proto.google.protobuf.ExtensionRangeOptions.prototype.setExtension);return n},proto.google.protobuf.ExtensionRangeOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.ExtensionRangeOptions.serializeBinaryToWriter=function(n,g){var p;(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.ExtensionRangeOptions.extensionsBinary,proto.google.protobuf.ExtensionRangeOptions.prototype.getExtension)},proto.google.protobuf.ExtensionRangeOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ExtensionRangeOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.ExtensionRangeOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.ExtensionRangeOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldDescriptorProto.prototype.toObject=function(n){return proto.google.protobuf.FieldDescriptorProto.toObject(n,this)},proto.google.protobuf.FieldDescriptorProto.toObject=function(n,g){var p,l={name:(p=s.Message.getField(g,1))==null?void 0:p,number:(p=s.Message.getField(g,3))==null?void 0:p,label:(p=s.Message.getField(g,4))==null?void 0:p,type:(p=s.Message.getField(g,5))==null?void 0:p,typeName:(p=s.Message.getField(g,6))==null?void 0:p,extendee:(p=s.Message.getField(g,2))==null?void 0:p,defaultValue:(p=s.Message.getField(g,7))==null?void 0:p,oneofIndex:(p=s.Message.getField(g,9))==null?void 0:p,jsonName:(p=s.Message.getField(g,10))==null?void 0:p,options:(p=g.getOptions())&&proto.google.protobuf.FieldOptions.toObject(n,p),proto3Optional:(p=s.Message.getBooleanField(g,17))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.FieldDescriptorProto.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.FieldDescriptorProto;return proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader(p,g)},proto.google.protobuf.FieldDescriptorProto.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setName(p);break;case 3:p=g.readInt32(),n.setNumber(p);break;case 4:p=g.readEnum(),n.setLabel(p);break;case 5:p=g.readEnum(),n.setType(p);break;case 6:p=g.readString(),n.setTypeName(p);break;case 2:p=g.readString(),n.setExtendee(p);break;case 7:p=g.readString(),n.setDefaultValue(p);break;case 9:p=g.readInt32(),n.setOneofIndex(p);break;case 10:p=g.readString(),n.setJsonName(p);break;case 8:p=new proto.google.protobuf.FieldOptions,g.readMessage(p,proto.google.protobuf.FieldOptions.deserializeBinaryFromReader),n.setOptions(p);break;case 17:p=g.readBool(),n.setProto3Optional(p);break;default:g.skipField()}return n},proto.google.protobuf.FieldDescriptorProto.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.FieldDescriptorProto.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=s.Message.getField(n,3))!=null&&g.writeInt32(3,p),(p=s.Message.getField(n,4))!=null&&g.writeEnum(4,p),(p=s.Message.getField(n,5))!=null&&g.writeEnum(5,p),(p=s.Message.getField(n,6))!=null&&g.writeString(6,p),(p=s.Message.getField(n,2))!=null&&g.writeString(2,p),(p=s.Message.getField(n,7))!=null&&g.writeString(7,p),(p=s.Message.getField(n,9))!=null&&g.writeInt32(9,p),(p=s.Message.getField(n,10))!=null&&g.writeString(10,p),(p=n.getOptions())!=null&&g.writeMessage(8,p,proto.google.protobuf.FieldOptions.serializeBinaryToWriter),(p=s.Message.getField(n,17))!=null&&g.writeBool(17,p)},proto.google.protobuf.FieldDescriptorProto.Type={TYPE_DOUBLE:1,TYPE_FLOAT:2,TYPE_INT64:3,TYPE_UINT64:4,TYPE_INT32:5,TYPE_FIXED64:6,TYPE_FIXED32:7,TYPE_BOOL:8,TYPE_STRING:9,TYPE_GROUP:10,TYPE_MESSAGE:11,TYPE_BYTES:12,TYPE_UINT32:13,TYPE_ENUM:14,TYPE_SFIXED32:15,TYPE_SFIXED64:16,TYPE_SINT32:17,TYPE_SINT64:18},proto.google.protobuf.FieldDescriptorProto.Label={LABEL_OPTIONAL:1,LABEL_REQUIRED:2,LABEL_REPEATED:3},proto.google.protobuf.FieldDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setName=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getNumber=function(){return s.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setNumber=function(n){return s.Message.setField(this,3,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearNumber=function(){return s.Message.setField(this,3,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasNumber=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getLabel=function(){return s.Message.getFieldWithDefault(this,4,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setLabel=function(n){return s.Message.setField(this,4,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearLabel=function(){return s.Message.setField(this,4,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasLabel=function(){return s.Message.getField(this,4)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getType=function(){return s.Message.getFieldWithDefault(this,5,1)},proto.google.protobuf.FieldDescriptorProto.prototype.setType=function(n){return s.Message.setField(this,5,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearType=function(){return s.Message.setField(this,5,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasType=function(){return s.Message.getField(this,5)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getTypeName=function(){return s.Message.getFieldWithDefault(this,6,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setTypeName=function(n){return s.Message.setField(this,6,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearTypeName=function(){return s.Message.setField(this,6,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasTypeName=function(){return s.Message.getField(this,6)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getExtendee=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setExtendee=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearExtendee=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasExtendee=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getDefaultValue=function(){return s.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setDefaultValue=function(n){return s.Message.setField(this,7,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearDefaultValue=function(){return s.Message.setField(this,7,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasDefaultValue=function(){return s.Message.getField(this,7)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOneofIndex=function(){return s.Message.getFieldWithDefault(this,9,0)},proto.google.protobuf.FieldDescriptorProto.prototype.setOneofIndex=function(n){return s.Message.setField(this,9,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOneofIndex=function(){return s.Message.setField(this,9,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOneofIndex=function(){return s.Message.getField(this,9)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getJsonName=function(){return s.Message.getFieldWithDefault(this,10,"")},proto.google.protobuf.FieldDescriptorProto.prototype.setJsonName=function(n){return s.Message.setField(this,10,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearJsonName=function(){return s.Message.setField(this,10,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasJsonName=function(){return s.Message.getField(this,10)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.FieldOptions,8)},proto.google.protobuf.FieldDescriptorProto.prototype.setOptions=function(n){return s.Message.setWrapperField(this,8,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,8)!=null},proto.google.protobuf.FieldDescriptorProto.prototype.getProto3Optional=function(){return s.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FieldDescriptorProto.prototype.setProto3Optional=function(n){return s.Message.setField(this,17,n)},proto.google.protobuf.FieldDescriptorProto.prototype.clearProto3Optional=function(){return s.Message.setField(this,17,void 0)},proto.google.protobuf.FieldDescriptorProto.prototype.hasProto3Optional=function(){return s.Message.getField(this,17)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofDescriptorProto.prototype.toObject=function(n){return proto.google.protobuf.OneofDescriptorProto.toObject(n,this)},proto.google.protobuf.OneofDescriptorProto.toObject=function(n,g){var p,l={name:(p=s.Message.getField(g,1))==null?void 0:p,options:(p=g.getOptions())&&proto.google.protobuf.OneofOptions.toObject(n,p)};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.OneofDescriptorProto.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.OneofDescriptorProto;return proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader(p,g)},proto.google.protobuf.OneofDescriptorProto.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setName(p);break;case 2:p=new proto.google.protobuf.OneofOptions,g.readMessage(p,proto.google.protobuf.OneofOptions.deserializeBinaryFromReader),n.setOptions(p);break;default:g.skipField()}return n},proto.google.protobuf.OneofDescriptorProto.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.OneofDescriptorProto.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=n.getOptions())!=null&&g.writeMessage(2,p,proto.google.protobuf.OneofOptions.serializeBinaryToWriter)},proto.google.protobuf.OneofDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.OneofDescriptorProto.prototype.setName=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.OneofDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.OneofDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.OneofOptions,2)},proto.google.protobuf.OneofDescriptorProto.prototype.setOptions=function(n){return s.Message.setWrapperField(this,2,n)},proto.google.protobuf.OneofDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.OneofDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.repeatedFields_=[2,4,5],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.prototype.toObject=function(n){return proto.google.protobuf.EnumDescriptorProto.toObject(n,this)},proto.google.protobuf.EnumDescriptorProto.toObject=function(n,g){var p,l={name:(p=s.Message.getField(g,1))==null?void 0:p,valueList:s.Message.toObjectList(g.getValueList(),proto.google.protobuf.EnumValueDescriptorProto.toObject,n),options:(p=g.getOptions())&&proto.google.protobuf.EnumOptions.toObject(n,p),reservedRangeList:s.Message.toObjectList(g.getReservedRangeList(),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject,n),reservedNameList:(p=s.Message.getRepeatedField(g,5))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.EnumDescriptorProto.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.EnumDescriptorProto;return proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader(p,g)},proto.google.protobuf.EnumDescriptorProto.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setName(p);break;case 2:p=new proto.google.protobuf.EnumValueDescriptorProto,g.readMessage(p,proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader),n.addValue(p);break;case 3:p=new proto.google.protobuf.EnumOptions,g.readMessage(p,proto.google.protobuf.EnumOptions.deserializeBinaryFromReader),n.setOptions(p);break;case 4:p=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,g.readMessage(p,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader),n.addReservedRange(p);break;case 5:p=g.readString(),n.addReservedName(p);break;default:g.skipField()}return n},proto.google.protobuf.EnumDescriptorProto.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=n.getValueList()).length>0&&g.writeRepeatedMessage(2,p,proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter),(p=n.getOptions())!=null&&g.writeMessage(3,p,proto.google.protobuf.EnumOptions.serializeBinaryToWriter),(p=n.getReservedRangeList()).length>0&&g.writeRepeatedMessage(4,p,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter),(p=n.getReservedNameList()).length>0&&g.writeRepeatedString(5,p)},s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.toObject=function(n){return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(n,this)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject=function(n,g){var p,l={start:(p=s.Message.getField(g,1))==null?void 0:p,end:(p=s.Message.getField(g,2))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.EnumDescriptorProto.EnumReservedRange;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader(p,g)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readInt32();n.setStart(p);break;case 2:p=g.readInt32(),n.setEnd(p);break;default:g.skipField()}return n},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeInt32(1,p),(p=s.Message.getField(n,2))!=null&&g.writeInt32(2,p)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getStart=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setStart=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearStart=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasStart=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.getEnd=function(){return s.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.setEnd=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.clearEnd=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.EnumDescriptorProto.EnumReservedRange.prototype.hasEnd=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumDescriptorProto.prototype.setName=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.EnumDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getValueList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumValueDescriptorProto,2)},proto.google.protobuf.EnumDescriptorProto.prototype.setValueList=function(n){return s.Message.setRepeatedWrapperField(this,2,n)},proto.google.protobuf.EnumDescriptorProto.prototype.addValue=function(n,g){return s.Message.addToRepeatedWrapperField(this,2,n,proto.google.protobuf.EnumValueDescriptorProto,g)},proto.google.protobuf.EnumDescriptorProto.prototype.clearValueList=function(){return this.setValueList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.EnumOptions,3)},proto.google.protobuf.EnumDescriptorProto.prototype.setOptions=function(n){return s.Message.setWrapperField(this,3,n)},proto.google.protobuf.EnumDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedRangeList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,4)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedRangeList=function(n){return s.Message.setRepeatedWrapperField(this,4,n)},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedRange=function(n,g){return s.Message.addToRepeatedWrapperField(this,4,n,proto.google.protobuf.EnumDescriptorProto.EnumReservedRange,g)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedRangeList=function(){return this.setReservedRangeList([])},proto.google.protobuf.EnumDescriptorProto.prototype.getReservedNameList=function(){return s.Message.getRepeatedField(this,5)},proto.google.protobuf.EnumDescriptorProto.prototype.setReservedNameList=function(n){return s.Message.setField(this,5,n||[])},proto.google.protobuf.EnumDescriptorProto.prototype.addReservedName=function(n,g){return s.Message.addToRepeatedField(this,5,n,g)},proto.google.protobuf.EnumDescriptorProto.prototype.clearReservedNameList=function(){return this.setReservedNameList([])},s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueDescriptorProto.prototype.toObject=function(n){return proto.google.protobuf.EnumValueDescriptorProto.toObject(n,this)},proto.google.protobuf.EnumValueDescriptorProto.toObject=function(n,g){var p,l={name:(p=s.Message.getField(g,1))==null?void 0:p,number:(p=s.Message.getField(g,2))==null?void 0:p,options:(p=g.getOptions())&&proto.google.protobuf.EnumValueOptions.toObject(n,p)};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.EnumValueDescriptorProto.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.EnumValueDescriptorProto;return proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader(p,g)},proto.google.protobuf.EnumValueDescriptorProto.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setName(p);break;case 2:p=g.readInt32(),n.setNumber(p);break;case 3:p=new proto.google.protobuf.EnumValueOptions,g.readMessage(p,proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader),n.setOptions(p);break;default:g.skipField()}return n},proto.google.protobuf.EnumValueDescriptorProto.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.EnumValueDescriptorProto.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=s.Message.getField(n,2))!=null&&g.writeInt32(2,p),(p=n.getOptions())!=null&&g.writeMessage(3,p,proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter)},proto.google.protobuf.EnumValueDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.EnumValueDescriptorProto.prototype.setName=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getNumber=function(){return s.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setNumber=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearNumber=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasNumber=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.EnumValueDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.EnumValueOptions,3)},proto.google.protobuf.EnumValueDescriptorProto.prototype.setOptions=function(n){return s.Message.setWrapperField(this,3,n)},proto.google.protobuf.EnumValueDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.EnumValueDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.ServiceDescriptorProto.repeatedFields_=[2],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceDescriptorProto.prototype.toObject=function(n){return proto.google.protobuf.ServiceDescriptorProto.toObject(n,this)},proto.google.protobuf.ServiceDescriptorProto.toObject=function(n,g){var p,l={name:(p=s.Message.getField(g,1))==null?void 0:p,methodList:s.Message.toObjectList(g.getMethodList(),proto.google.protobuf.MethodDescriptorProto.toObject,n),options:(p=g.getOptions())&&proto.google.protobuf.ServiceOptions.toObject(n,p)};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.ServiceDescriptorProto.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.ServiceDescriptorProto;return proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader(p,g)},proto.google.protobuf.ServiceDescriptorProto.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setName(p);break;case 2:p=new proto.google.protobuf.MethodDescriptorProto,g.readMessage(p,proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader),n.addMethod(p);break;case 3:p=new proto.google.protobuf.ServiceOptions,g.readMessage(p,proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader),n.setOptions(p);break;default:g.skipField()}return n},proto.google.protobuf.ServiceDescriptorProto.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.ServiceDescriptorProto.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=n.getMethodList()).length>0&&g.writeRepeatedMessage(2,p,proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter),(p=n.getOptions())!=null&&g.writeMessage(3,p,proto.google.protobuf.ServiceOptions.serializeBinaryToWriter)},proto.google.protobuf.ServiceDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.ServiceDescriptorProto.prototype.setName=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.ServiceDescriptorProto.prototype.getMethodList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.MethodDescriptorProto,2)},proto.google.protobuf.ServiceDescriptorProto.prototype.setMethodList=function(n){return s.Message.setRepeatedWrapperField(this,2,n)},proto.google.protobuf.ServiceDescriptorProto.prototype.addMethod=function(n,g){return s.Message.addToRepeatedWrapperField(this,2,n,proto.google.protobuf.MethodDescriptorProto,g)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearMethodList=function(){return this.setMethodList([])},proto.google.protobuf.ServiceDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.ServiceOptions,3)},proto.google.protobuf.ServiceDescriptorProto.prototype.setOptions=function(n){return s.Message.setWrapperField(this,3,n)},proto.google.protobuf.ServiceDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.ServiceDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,3)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodDescriptorProto.prototype.toObject=function(n){return proto.google.protobuf.MethodDescriptorProto.toObject(n,this)},proto.google.protobuf.MethodDescriptorProto.toObject=function(n,g){var p,l={name:(p=s.Message.getField(g,1))==null?void 0:p,inputType:(p=s.Message.getField(g,2))==null?void 0:p,outputType:(p=s.Message.getField(g,3))==null?void 0:p,options:(p=g.getOptions())&&proto.google.protobuf.MethodOptions.toObject(n,p),clientStreaming:s.Message.getBooleanFieldWithDefault(g,5,!1),serverStreaming:s.Message.getBooleanFieldWithDefault(g,6,!1)};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.MethodDescriptorProto.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.MethodDescriptorProto;return proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader(p,g)},proto.google.protobuf.MethodDescriptorProto.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setName(p);break;case 2:p=g.readString(),n.setInputType(p);break;case 3:p=g.readString(),n.setOutputType(p);break;case 4:p=new proto.google.protobuf.MethodOptions,g.readMessage(p,proto.google.protobuf.MethodOptions.deserializeBinaryFromReader),n.setOptions(p);break;case 5:p=g.readBool(),n.setClientStreaming(p);break;case 6:p=g.readBool(),n.setServerStreaming(p);break;default:g.skipField()}return n},proto.google.protobuf.MethodDescriptorProto.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.MethodDescriptorProto.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=s.Message.getField(n,2))!=null&&g.writeString(2,p),(p=s.Message.getField(n,3))!=null&&g.writeString(3,p),(p=n.getOptions())!=null&&g.writeMessage(4,p,proto.google.protobuf.MethodOptions.serializeBinaryToWriter),(p=s.Message.getField(n,5))!=null&&g.writeBool(5,p),(p=s.Message.getField(n,6))!=null&&g.writeBool(6,p)},proto.google.protobuf.MethodDescriptorProto.prototype.getName=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setName=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.MethodDescriptorProto.prototype.clearName=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasName=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getInputType=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setInputType=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.MethodDescriptorProto.prototype.clearInputType=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasInputType=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOutputType=function(){return s.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.MethodDescriptorProto.prototype.setOutputType=function(n){return s.Message.setField(this,3,n)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOutputType=function(){return s.Message.setField(this,3,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOutputType=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getOptions=function(){return s.Message.getWrapperField(this,proto.google.protobuf.MethodOptions,4)},proto.google.protobuf.MethodDescriptorProto.prototype.setOptions=function(n){return s.Message.setWrapperField(this,4,n)},proto.google.protobuf.MethodDescriptorProto.prototype.clearOptions=function(){return this.setOptions(void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasOptions=function(){return s.Message.getField(this,4)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getClientStreaming=function(){return s.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setClientStreaming=function(n){return s.Message.setField(this,5,n)},proto.google.protobuf.MethodDescriptorProto.prototype.clearClientStreaming=function(){return s.Message.setField(this,5,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasClientStreaming=function(){return s.Message.getField(this,5)!=null},proto.google.protobuf.MethodDescriptorProto.prototype.getServerStreaming=function(){return s.Message.getBooleanFieldWithDefault(this,6,!1)},proto.google.protobuf.MethodDescriptorProto.prototype.setServerStreaming=function(n){return s.Message.setField(this,6,n)},proto.google.protobuf.MethodDescriptorProto.prototype.clearServerStreaming=function(){return s.Message.setField(this,6,void 0)},proto.google.protobuf.MethodDescriptorProto.prototype.hasServerStreaming=function(){return s.Message.getField(this,6)!=null},proto.google.protobuf.FileOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FileOptions.prototype.toObject=function(n){return proto.google.protobuf.FileOptions.toObject(n,this)},proto.google.protobuf.FileOptions.toObject=function(n,g){var p,l={javaPackage:(p=s.Message.getField(g,1))==null?void 0:p,javaOuterClassname:(p=s.Message.getField(g,8))==null?void 0:p,javaMultipleFiles:s.Message.getBooleanFieldWithDefault(g,10,!1),javaGenerateEqualsAndHash:(p=s.Message.getBooleanField(g,20))==null?void 0:p,javaStringCheckUtf8:s.Message.getBooleanFieldWithDefault(g,27,!1),optimizeFor:s.Message.getFieldWithDefault(g,9,1),goPackage:(p=s.Message.getField(g,11))==null?void 0:p,ccGenericServices:s.Message.getBooleanFieldWithDefault(g,16,!1),javaGenericServices:s.Message.getBooleanFieldWithDefault(g,17,!1),pyGenericServices:s.Message.getBooleanFieldWithDefault(g,18,!1),phpGenericServices:s.Message.getBooleanFieldWithDefault(g,42,!1),deprecated:s.Message.getBooleanFieldWithDefault(g,23,!1),ccEnableArenas:s.Message.getBooleanFieldWithDefault(g,31,!0),objcClassPrefix:(p=s.Message.getField(g,36))==null?void 0:p,csharpNamespace:(p=s.Message.getField(g,37))==null?void 0:p,swiftPrefix:(p=s.Message.getField(g,39))==null?void 0:p,phpClassPrefix:(p=s.Message.getField(g,40))==null?void 0:p,phpNamespace:(p=s.Message.getField(g,41))==null?void 0:p,phpMetadataNamespace:(p=s.Message.getField(g,44))==null?void 0:p,rubyPackage:(p=s.Message.getField(g,45))==null?void 0:p,uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,l,proto.google.protobuf.FileOptions.extensions,proto.google.protobuf.FileOptions.prototype.getExtension,n),n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.FileOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.FileOptions;return proto.google.protobuf.FileOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.FileOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setJavaPackage(p);break;case 8:p=g.readString(),n.setJavaOuterClassname(p);break;case 10:p=g.readBool(),n.setJavaMultipleFiles(p);break;case 20:p=g.readBool(),n.setJavaGenerateEqualsAndHash(p);break;case 27:p=g.readBool(),n.setJavaStringCheckUtf8(p);break;case 9:p=g.readEnum(),n.setOptimizeFor(p);break;case 11:p=g.readString(),n.setGoPackage(p);break;case 16:p=g.readBool(),n.setCcGenericServices(p);break;case 17:p=g.readBool(),n.setJavaGenericServices(p);break;case 18:p=g.readBool(),n.setPyGenericServices(p);break;case 42:p=g.readBool(),n.setPhpGenericServices(p);break;case 23:p=g.readBool(),n.setDeprecated(p);break;case 31:p=g.readBool(),n.setCcEnableArenas(p);break;case 36:p=g.readString(),n.setObjcClassPrefix(p);break;case 37:p=g.readString(),n.setCsharpNamespace(p);break;case 39:p=g.readString(),n.setSwiftPrefix(p);break;case 40:p=g.readString(),n.setPhpClassPrefix(p);break;case 41:p=g.readString(),n.setPhpNamespace(p);break;case 44:p=g.readString(),n.setPhpMetadataNamespace(p);break;case 45:p=g.readString(),n.setRubyPackage(p);break;case 999:p=new proto.google.protobuf.UninterpretedOption,g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p);break;default:s.Message.readBinaryExtension(n,g,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension,proto.google.protobuf.FileOptions.prototype.setExtension)}return n},proto.google.protobuf.FileOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.FileOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.FileOptions.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=s.Message.getField(n,8))!=null&&g.writeString(8,p),(p=s.Message.getField(n,10))!=null&&g.writeBool(10,p),(p=s.Message.getField(n,20))!=null&&g.writeBool(20,p),(p=s.Message.getField(n,27))!=null&&g.writeBool(27,p),(p=s.Message.getField(n,9))!=null&&g.writeEnum(9,p),(p=s.Message.getField(n,11))!=null&&g.writeString(11,p),(p=s.Message.getField(n,16))!=null&&g.writeBool(16,p),(p=s.Message.getField(n,17))!=null&&g.writeBool(17,p),(p=s.Message.getField(n,18))!=null&&g.writeBool(18,p),(p=s.Message.getField(n,42))!=null&&g.writeBool(42,p),(p=s.Message.getField(n,23))!=null&&g.writeBool(23,p),(p=s.Message.getField(n,31))!=null&&g.writeBool(31,p),(p=s.Message.getField(n,36))!=null&&g.writeString(36,p),(p=s.Message.getField(n,37))!=null&&g.writeString(37,p),(p=s.Message.getField(n,39))!=null&&g.writeString(39,p),(p=s.Message.getField(n,40))!=null&&g.writeString(40,p),(p=s.Message.getField(n,41))!=null&&g.writeString(41,p),(p=s.Message.getField(n,44))!=null&&g.writeString(44,p),(p=s.Message.getField(n,45))!=null&&g.writeString(45,p),(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.FileOptions.extensionsBinary,proto.google.protobuf.FileOptions.prototype.getExtension)},proto.google.protobuf.FileOptions.OptimizeMode={SPEED:1,CODE_SIZE:2,LITE_RUNTIME:3},proto.google.protobuf.FileOptions.prototype.getJavaPackage=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.FileOptions.prototype.setJavaPackage=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.FileOptions.prototype.clearJavaPackage=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaPackage=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.FileOptions.prototype.getJavaOuterClassname=function(){return s.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.FileOptions.prototype.setJavaOuterClassname=function(n){return s.Message.setField(this,8,n)},proto.google.protobuf.FileOptions.prototype.clearJavaOuterClassname=function(){return s.Message.setField(this,8,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaOuterClassname=function(){return s.Message.getField(this,8)!=null},proto.google.protobuf.FileOptions.prototype.getJavaMultipleFiles=function(){return s.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FileOptions.prototype.setJavaMultipleFiles=function(n){return s.Message.setField(this,10,n)},proto.google.protobuf.FileOptions.prototype.clearJavaMultipleFiles=function(){return s.Message.setField(this,10,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaMultipleFiles=function(){return s.Message.getField(this,10)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenerateEqualsAndHash=function(){return s.Message.getBooleanFieldWithDefault(this,20,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenerateEqualsAndHash=function(n){return s.Message.setField(this,20,n)},proto.google.protobuf.FileOptions.prototype.clearJavaGenerateEqualsAndHash=function(){return s.Message.setField(this,20,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenerateEqualsAndHash=function(){return s.Message.getField(this,20)!=null},proto.google.protobuf.FileOptions.prototype.getJavaStringCheckUtf8=function(){return s.Message.getBooleanFieldWithDefault(this,27,!1)},proto.google.protobuf.FileOptions.prototype.setJavaStringCheckUtf8=function(n){return s.Message.setField(this,27,n)},proto.google.protobuf.FileOptions.prototype.clearJavaStringCheckUtf8=function(){return s.Message.setField(this,27,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaStringCheckUtf8=function(){return s.Message.getField(this,27)!=null},proto.google.protobuf.FileOptions.prototype.getOptimizeFor=function(){return s.Message.getFieldWithDefault(this,9,1)},proto.google.protobuf.FileOptions.prototype.setOptimizeFor=function(n){return s.Message.setField(this,9,n)},proto.google.protobuf.FileOptions.prototype.clearOptimizeFor=function(){return s.Message.setField(this,9,void 0)},proto.google.protobuf.FileOptions.prototype.hasOptimizeFor=function(){return s.Message.getField(this,9)!=null},proto.google.protobuf.FileOptions.prototype.getGoPackage=function(){return s.Message.getFieldWithDefault(this,11,"")},proto.google.protobuf.FileOptions.prototype.setGoPackage=function(n){return s.Message.setField(this,11,n)},proto.google.protobuf.FileOptions.prototype.clearGoPackage=function(){return s.Message.setField(this,11,void 0)},proto.google.protobuf.FileOptions.prototype.hasGoPackage=function(){return s.Message.getField(this,11)!=null},proto.google.protobuf.FileOptions.prototype.getCcGenericServices=function(){return s.Message.getBooleanFieldWithDefault(this,16,!1)},proto.google.protobuf.FileOptions.prototype.setCcGenericServices=function(n){return s.Message.setField(this,16,n)},proto.google.protobuf.FileOptions.prototype.clearCcGenericServices=function(){return s.Message.setField(this,16,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcGenericServices=function(){return s.Message.getField(this,16)!=null},proto.google.protobuf.FileOptions.prototype.getJavaGenericServices=function(){return s.Message.getBooleanFieldWithDefault(this,17,!1)},proto.google.protobuf.FileOptions.prototype.setJavaGenericServices=function(n){return s.Message.setField(this,17,n)},proto.google.protobuf.FileOptions.prototype.clearJavaGenericServices=function(){return s.Message.setField(this,17,void 0)},proto.google.protobuf.FileOptions.prototype.hasJavaGenericServices=function(){return s.Message.getField(this,17)!=null},proto.google.protobuf.FileOptions.prototype.getPyGenericServices=function(){return s.Message.getBooleanFieldWithDefault(this,18,!1)},proto.google.protobuf.FileOptions.prototype.setPyGenericServices=function(n){return s.Message.setField(this,18,n)},proto.google.protobuf.FileOptions.prototype.clearPyGenericServices=function(){return s.Message.setField(this,18,void 0)},proto.google.protobuf.FileOptions.prototype.hasPyGenericServices=function(){return s.Message.getField(this,18)!=null},proto.google.protobuf.FileOptions.prototype.getPhpGenericServices=function(){return s.Message.getBooleanFieldWithDefault(this,42,!1)},proto.google.protobuf.FileOptions.prototype.setPhpGenericServices=function(n){return s.Message.setField(this,42,n)},proto.google.protobuf.FileOptions.prototype.clearPhpGenericServices=function(){return s.Message.setField(this,42,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpGenericServices=function(){return s.Message.getField(this,42)!=null},proto.google.protobuf.FileOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,23,!1)},proto.google.protobuf.FileOptions.prototype.setDeprecated=function(n){return s.Message.setField(this,23,n)},proto.google.protobuf.FileOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,23,void 0)},proto.google.protobuf.FileOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,23)!=null},proto.google.protobuf.FileOptions.prototype.getCcEnableArenas=function(){return s.Message.getBooleanFieldWithDefault(this,31,!0)},proto.google.protobuf.FileOptions.prototype.setCcEnableArenas=function(n){return s.Message.setField(this,31,n)},proto.google.protobuf.FileOptions.prototype.clearCcEnableArenas=function(){return s.Message.setField(this,31,void 0)},proto.google.protobuf.FileOptions.prototype.hasCcEnableArenas=function(){return s.Message.getField(this,31)!=null},proto.google.protobuf.FileOptions.prototype.getObjcClassPrefix=function(){return s.Message.getFieldWithDefault(this,36,"")},proto.google.protobuf.FileOptions.prototype.setObjcClassPrefix=function(n){return s.Message.setField(this,36,n)},proto.google.protobuf.FileOptions.prototype.clearObjcClassPrefix=function(){return s.Message.setField(this,36,void 0)},proto.google.protobuf.FileOptions.prototype.hasObjcClassPrefix=function(){return s.Message.getField(this,36)!=null},proto.google.protobuf.FileOptions.prototype.getCsharpNamespace=function(){return s.Message.getFieldWithDefault(this,37,"")},proto.google.protobuf.FileOptions.prototype.setCsharpNamespace=function(n){return s.Message.setField(this,37,n)},proto.google.protobuf.FileOptions.prototype.clearCsharpNamespace=function(){return s.Message.setField(this,37,void 0)},proto.google.protobuf.FileOptions.prototype.hasCsharpNamespace=function(){return s.Message.getField(this,37)!=null},proto.google.protobuf.FileOptions.prototype.getSwiftPrefix=function(){return s.Message.getFieldWithDefault(this,39,"")},proto.google.protobuf.FileOptions.prototype.setSwiftPrefix=function(n){return s.Message.setField(this,39,n)},proto.google.protobuf.FileOptions.prototype.clearSwiftPrefix=function(){return s.Message.setField(this,39,void 0)},proto.google.protobuf.FileOptions.prototype.hasSwiftPrefix=function(){return s.Message.getField(this,39)!=null},proto.google.protobuf.FileOptions.prototype.getPhpClassPrefix=function(){return s.Message.getFieldWithDefault(this,40,"")},proto.google.protobuf.FileOptions.prototype.setPhpClassPrefix=function(n){return s.Message.setField(this,40,n)},proto.google.protobuf.FileOptions.prototype.clearPhpClassPrefix=function(){return s.Message.setField(this,40,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpClassPrefix=function(){return s.Message.getField(this,40)!=null},proto.google.protobuf.FileOptions.prototype.getPhpNamespace=function(){return s.Message.getFieldWithDefault(this,41,"")},proto.google.protobuf.FileOptions.prototype.setPhpNamespace=function(n){return s.Message.setField(this,41,n)},proto.google.protobuf.FileOptions.prototype.clearPhpNamespace=function(){return s.Message.setField(this,41,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpNamespace=function(){return s.Message.getField(this,41)!=null},proto.google.protobuf.FileOptions.prototype.getPhpMetadataNamespace=function(){return s.Message.getFieldWithDefault(this,44,"")},proto.google.protobuf.FileOptions.prototype.setPhpMetadataNamespace=function(n){return s.Message.setField(this,44,n)},proto.google.protobuf.FileOptions.prototype.clearPhpMetadataNamespace=function(){return s.Message.setField(this,44,void 0)},proto.google.protobuf.FileOptions.prototype.hasPhpMetadataNamespace=function(){return s.Message.getField(this,44)!=null},proto.google.protobuf.FileOptions.prototype.getRubyPackage=function(){return s.Message.getFieldWithDefault(this,45,"")},proto.google.protobuf.FileOptions.prototype.setRubyPackage=function(n){return s.Message.setField(this,45,n)},proto.google.protobuf.FileOptions.prototype.clearRubyPackage=function(){return s.Message.setField(this,45,void 0)},proto.google.protobuf.FileOptions.prototype.hasRubyPackage=function(){return s.Message.getField(this,45)!=null},proto.google.protobuf.FileOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FileOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.FileOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.FileOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MessageOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MessageOptions.prototype.toObject=function(n){return proto.google.protobuf.MessageOptions.toObject(n,this)},proto.google.protobuf.MessageOptions.toObject=function(n,g){var p,l={messageSetWireFormat:s.Message.getBooleanFieldWithDefault(g,1,!1),noStandardDescriptorAccessor:s.Message.getBooleanFieldWithDefault(g,2,!1),deprecated:s.Message.getBooleanFieldWithDefault(g,3,!1),mapEntry:(p=s.Message.getBooleanField(g,7))==null?void 0:p,uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,l,proto.google.protobuf.MessageOptions.extensions,proto.google.protobuf.MessageOptions.prototype.getExtension,n),n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.MessageOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.MessageOptions;return proto.google.protobuf.MessageOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.MessageOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readBool();n.setMessageSetWireFormat(p);break;case 2:p=g.readBool(),n.setNoStandardDescriptorAccessor(p);break;case 3:p=g.readBool(),n.setDeprecated(p);break;case 7:p=g.readBool(),n.setMapEntry(p);break;case 999:p=new proto.google.protobuf.UninterpretedOption,g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p);break;default:s.Message.readBinaryExtension(n,g,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension,proto.google.protobuf.MessageOptions.prototype.setExtension)}return n},proto.google.protobuf.MessageOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.MessageOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.MessageOptions.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeBool(1,p),(p=s.Message.getField(n,2))!=null&&g.writeBool(2,p),(p=s.Message.getField(n,3))!=null&&g.writeBool(3,p),(p=s.Message.getField(n,7))!=null&&g.writeBool(7,p),(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.MessageOptions.extensionsBinary,proto.google.protobuf.MessageOptions.prototype.getExtension)},proto.google.protobuf.MessageOptions.prototype.getMessageSetWireFormat=function(){return s.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.MessageOptions.prototype.setMessageSetWireFormat=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.MessageOptions.prototype.clearMessageSetWireFormat=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMessageSetWireFormat=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.MessageOptions.prototype.getNoStandardDescriptorAccessor=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.MessageOptions.prototype.setNoStandardDescriptorAccessor=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.MessageOptions.prototype.clearNoStandardDescriptorAccessor=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.MessageOptions.prototype.hasNoStandardDescriptorAccessor=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.MessageOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.MessageOptions.prototype.setDeprecated=function(n){return s.Message.setField(this,3,n)},proto.google.protobuf.MessageOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,3,void 0)},proto.google.protobuf.MessageOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.MessageOptions.prototype.getMapEntry=function(){return s.Message.getBooleanFieldWithDefault(this,7,!1)},proto.google.protobuf.MessageOptions.prototype.setMapEntry=function(n){return s.Message.setField(this,7,n)},proto.google.protobuf.MessageOptions.prototype.clearMapEntry=function(){return s.Message.setField(this,7,void 0)},proto.google.protobuf.MessageOptions.prototype.hasMapEntry=function(){return s.Message.getField(this,7)!=null},proto.google.protobuf.MessageOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MessageOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.MessageOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.MessageOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.FieldOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.FieldOptions.prototype.toObject=function(n){return proto.google.protobuf.FieldOptions.toObject(n,this)},proto.google.protobuf.FieldOptions.toObject=function(n,g){var p,l={ctype:s.Message.getFieldWithDefault(g,1,0),packed:(p=s.Message.getBooleanField(g,2))==null?void 0:p,jstype:s.Message.getFieldWithDefault(g,6,0),lazy:s.Message.getBooleanFieldWithDefault(g,5,!1),deprecated:s.Message.getBooleanFieldWithDefault(g,3,!1),weak:s.Message.getBooleanFieldWithDefault(g,10,!1),uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,l,proto.google.protobuf.FieldOptions.extensions,proto.google.protobuf.FieldOptions.prototype.getExtension,n),n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.FieldOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.FieldOptions;return proto.google.protobuf.FieldOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.FieldOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readEnum();n.setCtype(p);break;case 2:p=g.readBool(),n.setPacked(p);break;case 6:p=g.readEnum(),n.setJstype(p);break;case 5:p=g.readBool(),n.setLazy(p);break;case 3:p=g.readBool(),n.setDeprecated(p);break;case 10:p=g.readBool(),n.setWeak(p);break;case 999:p=new proto.google.protobuf.UninterpretedOption,g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p);break;default:s.Message.readBinaryExtension(n,g,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension,proto.google.protobuf.FieldOptions.prototype.setExtension)}return n},proto.google.protobuf.FieldOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.FieldOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.FieldOptions.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeEnum(1,p),(p=s.Message.getField(n,2))!=null&&g.writeBool(2,p),(p=s.Message.getField(n,6))!=null&&g.writeEnum(6,p),(p=s.Message.getField(n,5))!=null&&g.writeBool(5,p),(p=s.Message.getField(n,3))!=null&&g.writeBool(3,p),(p=s.Message.getField(n,10))!=null&&g.writeBool(10,p),(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.FieldOptions.extensionsBinary,proto.google.protobuf.FieldOptions.prototype.getExtension)},proto.google.protobuf.FieldOptions.CType={STRING:0,CORD:1,STRING_PIECE:2},proto.google.protobuf.FieldOptions.JSType={JS_NORMAL:0,JS_STRING:1,JS_NUMBER:2},proto.google.protobuf.FieldOptions.prototype.getCtype=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.FieldOptions.prototype.setCtype=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.FieldOptions.prototype.clearCtype=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.FieldOptions.prototype.hasCtype=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.FieldOptions.prototype.getPacked=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.FieldOptions.prototype.setPacked=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.FieldOptions.prototype.clearPacked=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.FieldOptions.prototype.hasPacked=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.FieldOptions.prototype.getJstype=function(){return s.Message.getFieldWithDefault(this,6,0)},proto.google.protobuf.FieldOptions.prototype.setJstype=function(n){return s.Message.setField(this,6,n)},proto.google.protobuf.FieldOptions.prototype.clearJstype=function(){return s.Message.setField(this,6,void 0)},proto.google.protobuf.FieldOptions.prototype.hasJstype=function(){return s.Message.getField(this,6)!=null},proto.google.protobuf.FieldOptions.prototype.getLazy=function(){return s.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.protobuf.FieldOptions.prototype.setLazy=function(n){return s.Message.setField(this,5,n)},proto.google.protobuf.FieldOptions.prototype.clearLazy=function(){return s.Message.setField(this,5,void 0)},proto.google.protobuf.FieldOptions.prototype.hasLazy=function(){return s.Message.getField(this,5)!=null},proto.google.protobuf.FieldOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.FieldOptions.prototype.setDeprecated=function(n){return s.Message.setField(this,3,n)},proto.google.protobuf.FieldOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,3,void 0)},proto.google.protobuf.FieldOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.FieldOptions.prototype.getWeak=function(){return s.Message.getBooleanFieldWithDefault(this,10,!1)},proto.google.protobuf.FieldOptions.prototype.setWeak=function(n){return s.Message.setField(this,10,n)},proto.google.protobuf.FieldOptions.prototype.clearWeak=function(){return s.Message.setField(this,10,void 0)},proto.google.protobuf.FieldOptions.prototype.hasWeak=function(){return s.Message.getField(this,10)!=null},proto.google.protobuf.FieldOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.FieldOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.FieldOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.FieldOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.OneofOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.OneofOptions.prototype.toObject=function(n){return proto.google.protobuf.OneofOptions.toObject(n,this)},proto.google.protobuf.OneofOptions.toObject=function(n,g){var p={uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,p,proto.google.protobuf.OneofOptions.extensions,proto.google.protobuf.OneofOptions.prototype.getExtension,n),n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.OneofOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.OneofOptions;return proto.google.protobuf.OneofOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.OneofOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)if(g.getFieldNumber()===999){var p=new proto.google.protobuf.UninterpretedOption;g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p)}else s.Message.readBinaryExtension(n,g,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension,proto.google.protobuf.OneofOptions.prototype.setExtension);return n},proto.google.protobuf.OneofOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.OneofOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.OneofOptions.serializeBinaryToWriter=function(n,g){var p;(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.OneofOptions.extensionsBinary,proto.google.protobuf.OneofOptions.prototype.getExtension)},proto.google.protobuf.OneofOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.OneofOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.OneofOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.OneofOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumOptions.prototype.toObject=function(n){return proto.google.protobuf.EnumOptions.toObject(n,this)},proto.google.protobuf.EnumOptions.toObject=function(n,g){var p,l={allowAlias:(p=s.Message.getBooleanField(g,2))==null?void 0:p,deprecated:s.Message.getBooleanFieldWithDefault(g,3,!1),uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,l,proto.google.protobuf.EnumOptions.extensions,proto.google.protobuf.EnumOptions.prototype.getExtension,n),n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.EnumOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.EnumOptions;return proto.google.protobuf.EnumOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.EnumOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 2:var p=g.readBool();n.setAllowAlias(p);break;case 3:p=g.readBool(),n.setDeprecated(p);break;case 999:p=new proto.google.protobuf.UninterpretedOption,g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p);break;default:s.Message.readBinaryExtension(n,g,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension,proto.google.protobuf.EnumOptions.prototype.setExtension)}return n},proto.google.protobuf.EnumOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.EnumOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.EnumOptions.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,2))!=null&&g.writeBool(2,p),(p=s.Message.getField(n,3))!=null&&g.writeBool(3,p),(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.EnumOptions.extensionsBinary,proto.google.protobuf.EnumOptions.prototype.getExtension)},proto.google.protobuf.EnumOptions.prototype.getAllowAlias=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.EnumOptions.prototype.setAllowAlias=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.EnumOptions.prototype.clearAllowAlias=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.EnumOptions.prototype.hasAllowAlias=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.EnumOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)},proto.google.protobuf.EnumOptions.prototype.setDeprecated=function(n){return s.Message.setField(this,3,n)},proto.google.protobuf.EnumOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,3,void 0)},proto.google.protobuf.EnumOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.EnumOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.EnumOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.EnumOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.EnumValueOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.EnumValueOptions.prototype.toObject=function(n){return proto.google.protobuf.EnumValueOptions.toObject(n,this)},proto.google.protobuf.EnumValueOptions.toObject=function(n,g){var p={deprecated:s.Message.getBooleanFieldWithDefault(g,1,!1),uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,p,proto.google.protobuf.EnumValueOptions.extensions,proto.google.protobuf.EnumValueOptions.prototype.getExtension,n),n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.EnumValueOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.EnumValueOptions;return proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.EnumValueOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readBool();n.setDeprecated(p);break;case 999:p=new proto.google.protobuf.UninterpretedOption,g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p);break;default:s.Message.readBinaryExtension(n,g,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension,proto.google.protobuf.EnumValueOptions.prototype.setExtension)}return n},proto.google.protobuf.EnumValueOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.EnumValueOptions.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeBool(1,p),(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.EnumValueOptions.extensionsBinary,proto.google.protobuf.EnumValueOptions.prototype.getExtension)},proto.google.protobuf.EnumValueOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,1,!1)},proto.google.protobuf.EnumValueOptions.prototype.setDeprecated=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.EnumValueOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.EnumValueOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.EnumValueOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.EnumValueOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.EnumValueOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.EnumValueOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.ServiceOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.ServiceOptions.prototype.toObject=function(n){return proto.google.protobuf.ServiceOptions.toObject(n,this)},proto.google.protobuf.ServiceOptions.toObject=function(n,g){var p={deprecated:s.Message.getBooleanFieldWithDefault(g,33,!1),uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,p,proto.google.protobuf.ServiceOptions.extensions,proto.google.protobuf.ServiceOptions.prototype.getExtension,n),n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.ServiceOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.ServiceOptions;return proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.ServiceOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 33:var p=g.readBool();n.setDeprecated(p);break;case 999:p=new proto.google.protobuf.UninterpretedOption,g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p);break;default:s.Message.readBinaryExtension(n,g,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension,proto.google.protobuf.ServiceOptions.prototype.setExtension)}return n},proto.google.protobuf.ServiceOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.ServiceOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.ServiceOptions.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,33))!=null&&g.writeBool(33,p),(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.ServiceOptions.extensionsBinary,proto.google.protobuf.ServiceOptions.prototype.getExtension)},proto.google.protobuf.ServiceOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.ServiceOptions.prototype.setDeprecated=function(n){return s.Message.setField(this,33,n)},proto.google.protobuf.ServiceOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,33,void 0)},proto.google.protobuf.ServiceOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,33)!=null},proto.google.protobuf.ServiceOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.ServiceOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.ServiceOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.ServiceOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.MethodOptions.repeatedFields_=[999],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.MethodOptions.prototype.toObject=function(n){return proto.google.protobuf.MethodOptions.toObject(n,this)},proto.google.protobuf.MethodOptions.toObject=function(n,g){var p={deprecated:s.Message.getBooleanFieldWithDefault(g,33,!1),idempotencyLevel:s.Message.getFieldWithDefault(g,34,0),uninterpretedOptionList:s.Message.toObjectList(g.getUninterpretedOptionList(),proto.google.protobuf.UninterpretedOption.toObject,n)};return s.Message.toObjectExtension(g,p,proto.google.protobuf.MethodOptions.extensions,proto.google.protobuf.MethodOptions.prototype.getExtension,n),n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.MethodOptions.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.MethodOptions;return proto.google.protobuf.MethodOptions.deserializeBinaryFromReader(p,g)},proto.google.protobuf.MethodOptions.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 33:var p=g.readBool();n.setDeprecated(p);break;case 34:p=g.readEnum(),n.setIdempotencyLevel(p);break;case 999:p=new proto.google.protobuf.UninterpretedOption,g.readMessage(p,proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader),n.addUninterpretedOption(p);break;default:s.Message.readBinaryExtension(n,g,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension,proto.google.protobuf.MethodOptions.prototype.setExtension)}return n},proto.google.protobuf.MethodOptions.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.MethodOptions.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.MethodOptions.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,33))!=null&&g.writeBool(33,p),(p=s.Message.getField(n,34))!=null&&g.writeEnum(34,p),(p=n.getUninterpretedOptionList()).length>0&&g.writeRepeatedMessage(999,p,proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter),s.Message.serializeBinaryExtensions(n,g,proto.google.protobuf.MethodOptions.extensionsBinary,proto.google.protobuf.MethodOptions.prototype.getExtension)},proto.google.protobuf.MethodOptions.IdempotencyLevel={IDEMPOTENCY_UNKNOWN:0,NO_SIDE_EFFECTS:1,IDEMPOTENT:2},proto.google.protobuf.MethodOptions.prototype.getDeprecated=function(){return s.Message.getBooleanFieldWithDefault(this,33,!1)},proto.google.protobuf.MethodOptions.prototype.setDeprecated=function(n){return s.Message.setField(this,33,n)},proto.google.protobuf.MethodOptions.prototype.clearDeprecated=function(){return s.Message.setField(this,33,void 0)},proto.google.protobuf.MethodOptions.prototype.hasDeprecated=function(){return s.Message.getField(this,33)!=null},proto.google.protobuf.MethodOptions.prototype.getIdempotencyLevel=function(){return s.Message.getFieldWithDefault(this,34,0)},proto.google.protobuf.MethodOptions.prototype.setIdempotencyLevel=function(n){return s.Message.setField(this,34,n)},proto.google.protobuf.MethodOptions.prototype.clearIdempotencyLevel=function(){return s.Message.setField(this,34,void 0)},proto.google.protobuf.MethodOptions.prototype.hasIdempotencyLevel=function(){return s.Message.getField(this,34)!=null},proto.google.protobuf.MethodOptions.prototype.getUninterpretedOptionList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption,999)},proto.google.protobuf.MethodOptions.prototype.setUninterpretedOptionList=function(n){return s.Message.setRepeatedWrapperField(this,999,n)},proto.google.protobuf.MethodOptions.prototype.addUninterpretedOption=function(n,g){return s.Message.addToRepeatedWrapperField(this,999,n,proto.google.protobuf.UninterpretedOption,g)},proto.google.protobuf.MethodOptions.prototype.clearUninterpretedOptionList=function(){return this.setUninterpretedOptionList([])},proto.google.protobuf.UninterpretedOption.repeatedFields_=[2],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.prototype.toObject=function(n){return proto.google.protobuf.UninterpretedOption.toObject(n,this)},proto.google.protobuf.UninterpretedOption.toObject=function(n,g){var p,l={nameList:s.Message.toObjectList(g.getNameList(),proto.google.protobuf.UninterpretedOption.NamePart.toObject,n),identifierValue:(p=s.Message.getField(g,3))==null?void 0:p,positiveIntValue:(p=s.Message.getField(g,4))==null?void 0:p,negativeIntValue:(p=s.Message.getField(g,5))==null?void 0:p,doubleValue:(p=s.Message.getOptionalFloatingPointField(g,6))==null?void 0:p,stringValue:g.getStringValue_asB64(),aggregateValue:(p=s.Message.getField(g,8))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.UninterpretedOption.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.UninterpretedOption;return proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader(p,g)},proto.google.protobuf.UninterpretedOption.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 2:var p=new proto.google.protobuf.UninterpretedOption.NamePart;g.readMessage(p,proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader),n.addName(p);break;case 3:p=g.readString(),n.setIdentifierValue(p);break;case 4:p=g.readUint64(),n.setPositiveIntValue(p);break;case 5:p=g.readInt64(),n.setNegativeIntValue(p);break;case 6:p=g.readDouble(),n.setDoubleValue(p);break;case 7:p=g.readBytes(),n.setStringValue(p);break;case 8:p=g.readString(),n.setAggregateValue(p);break;default:g.skipField()}return n},proto.google.protobuf.UninterpretedOption.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.UninterpretedOption.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getNameList()).length>0&&g.writeRepeatedMessage(2,p,proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter),(p=s.Message.getField(n,3))!=null&&g.writeString(3,p),(p=s.Message.getField(n,4))!=null&&g.writeUint64(4,p),(p=s.Message.getField(n,5))!=null&&g.writeInt64(5,p),(p=s.Message.getField(n,6))!=null&&g.writeDouble(6,p),(p=s.Message.getField(n,7))!=null&&g.writeBytes(7,p),(p=s.Message.getField(n,8))!=null&&g.writeString(8,p)},s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.UninterpretedOption.NamePart.prototype.toObject=function(n){return proto.google.protobuf.UninterpretedOption.NamePart.toObject(n,this)},proto.google.protobuf.UninterpretedOption.NamePart.toObject=function(n,g){var p,l={namePart:(p=s.Message.getField(g,1))==null?void 0:p,isExtension:(p=s.Message.getBooleanField(g,2))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.UninterpretedOption.NamePart;return proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader(p,g)},proto.google.protobuf.UninterpretedOption.NamePart.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setNamePart(p);break;case 2:p=g.readBool(),n.setIsExtension(p);break;default:g.skipField()}return n},proto.google.protobuf.UninterpretedOption.NamePart.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.UninterpretedOption.NamePart.serializeBinaryToWriter=function(n,g){var p=void 0;(p=s.Message.getField(n,1))!=null&&g.writeString(1,p),(p=s.Message.getField(n,2))!=null&&g.writeBool(2,p)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getNamePart=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setNamePart=function(n){return s.Message.setField(this,1,n)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearNamePart=function(){return s.Message.setField(this,1,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasNamePart=function(){return s.Message.getField(this,1)!=null},proto.google.protobuf.UninterpretedOption.NamePart.prototype.getIsExtension=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.setIsExtension=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.clearIsExtension=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.UninterpretedOption.NamePart.prototype.hasIsExtension=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNameList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.UninterpretedOption.NamePart,2)},proto.google.protobuf.UninterpretedOption.prototype.setNameList=function(n){return s.Message.setRepeatedWrapperField(this,2,n)},proto.google.protobuf.UninterpretedOption.prototype.addName=function(n,g){return s.Message.addToRepeatedWrapperField(this,2,n,proto.google.protobuf.UninterpretedOption.NamePart,g)},proto.google.protobuf.UninterpretedOption.prototype.clearNameList=function(){return this.setNameList([])},proto.google.protobuf.UninterpretedOption.prototype.getIdentifierValue=function(){return s.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.UninterpretedOption.prototype.setIdentifierValue=function(n){return s.Message.setField(this,3,n)},proto.google.protobuf.UninterpretedOption.prototype.clearIdentifierValue=function(){return s.Message.setField(this,3,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasIdentifierValue=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.UninterpretedOption.prototype.getPositiveIntValue=function(){return s.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.UninterpretedOption.prototype.setPositiveIntValue=function(n){return s.Message.setField(this,4,n)},proto.google.protobuf.UninterpretedOption.prototype.clearPositiveIntValue=function(){return s.Message.setField(this,4,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasPositiveIntValue=function(){return s.Message.getField(this,4)!=null},proto.google.protobuf.UninterpretedOption.prototype.getNegativeIntValue=function(){return s.Message.getFieldWithDefault(this,5,0)},proto.google.protobuf.UninterpretedOption.prototype.setNegativeIntValue=function(n){return s.Message.setField(this,5,n)},proto.google.protobuf.UninterpretedOption.prototype.clearNegativeIntValue=function(){return s.Message.setField(this,5,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasNegativeIntValue=function(){return s.Message.getField(this,5)!=null},proto.google.protobuf.UninterpretedOption.prototype.getDoubleValue=function(){return s.Message.getFloatingPointFieldWithDefault(this,6,0)},proto.google.protobuf.UninterpretedOption.prototype.setDoubleValue=function(n){return s.Message.setField(this,6,n)},proto.google.protobuf.UninterpretedOption.prototype.clearDoubleValue=function(){return s.Message.setField(this,6,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasDoubleValue=function(){return s.Message.getField(this,6)!=null},proto.google.protobuf.UninterpretedOption.prototype.getStringValue=function(){return s.Message.getFieldWithDefault(this,7,"")},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asB64=function(){return s.Message.bytesAsB64(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.getStringValue_asU8=function(){return s.Message.bytesAsU8(this.getStringValue())},proto.google.protobuf.UninterpretedOption.prototype.setStringValue=function(n){return s.Message.setField(this,7,n)},proto.google.protobuf.UninterpretedOption.prototype.clearStringValue=function(){return s.Message.setField(this,7,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasStringValue=function(){return s.Message.getField(this,7)!=null},proto.google.protobuf.UninterpretedOption.prototype.getAggregateValue=function(){return s.Message.getFieldWithDefault(this,8,"")},proto.google.protobuf.UninterpretedOption.prototype.setAggregateValue=function(n){return s.Message.setField(this,8,n)},proto.google.protobuf.UninterpretedOption.prototype.clearAggregateValue=function(){return s.Message.setField(this,8,void 0)},proto.google.protobuf.UninterpretedOption.prototype.hasAggregateValue=function(){return s.Message.getField(this,8)!=null},proto.google.protobuf.SourceCodeInfo.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.prototype.toObject=function(n){return proto.google.protobuf.SourceCodeInfo.toObject(n,this)},proto.google.protobuf.SourceCodeInfo.toObject=function(n,g){var p={locationList:s.Message.toObjectList(g.getLocationList(),proto.google.protobuf.SourceCodeInfo.Location.toObject,n)};return n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.SourceCodeInfo.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.SourceCodeInfo;return proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader(p,g)},proto.google.protobuf.SourceCodeInfo.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)if(g.getFieldNumber()===1){var p=new proto.google.protobuf.SourceCodeInfo.Location;g.readMessage(p,proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader),n.addLocation(p)}else g.skipField();return n},proto.google.protobuf.SourceCodeInfo.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.serializeBinaryToWriter=function(n,g){var p;(p=n.getLocationList()).length>0&&g.writeRepeatedMessage(1,p,proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter)},proto.google.protobuf.SourceCodeInfo.Location.repeatedFields_=[1,2,6],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.SourceCodeInfo.Location.prototype.toObject=function(n){return proto.google.protobuf.SourceCodeInfo.Location.toObject(n,this)},proto.google.protobuf.SourceCodeInfo.Location.toObject=function(n,g){var p,l={pathList:(p=s.Message.getRepeatedField(g,1))==null?void 0:p,spanList:(p=s.Message.getRepeatedField(g,2))==null?void 0:p,leadingComments:(p=s.Message.getField(g,3))==null?void 0:p,trailingComments:(p=s.Message.getField(g,4))==null?void 0:p,leadingDetachedCommentsList:(p=s.Message.getRepeatedField(g,6))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.SourceCodeInfo.Location.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.SourceCodeInfo.Location;return proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader(p,g)},proto.google.protobuf.SourceCodeInfo.Location.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:for(var p=g.isDelimited()?g.readPackedInt32():[g.readInt32()],l=0;l<p.length;l++)n.addPath(p[l]);break;case 2:for(p=g.isDelimited()?g.readPackedInt32():[g.readInt32()],l=0;l<p.length;l++)n.addSpan(p[l]);break;case 3:var u=g.readString();n.setLeadingComments(u);break;case 4:u=g.readString(),n.setTrailingComments(u);break;case 6:u=g.readString(),n.addLeadingDetachedComments(u);break;default:g.skipField()}return n},proto.google.protobuf.SourceCodeInfo.Location.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.SourceCodeInfo.Location.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getPathList()).length>0&&g.writePackedInt32(1,p),(p=n.getSpanList()).length>0&&g.writePackedInt32(2,p),(p=s.Message.getField(n,3))!=null&&g.writeString(3,p),(p=s.Message.getField(n,4))!=null&&g.writeString(4,p),(p=n.getLeadingDetachedCommentsList()).length>0&&g.writeRepeatedString(6,p)},proto.google.protobuf.SourceCodeInfo.Location.prototype.getPathList=function(){return s.Message.getRepeatedField(this,1)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setPathList=function(n){return s.Message.setField(this,1,n||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addPath=function(n,g){return s.Message.addToRepeatedField(this,1,n,g)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getSpanList=function(){return s.Message.getRepeatedField(this,2)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setSpanList=function(n){return s.Message.setField(this,2,n||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addSpan=function(n,g){return s.Message.addToRepeatedField(this,2,n,g)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearSpanList=function(){return this.setSpanList([])},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingComments=function(){return s.Message.getFieldWithDefault(this,3,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingComments=function(n){return s.Message.setField(this,3,n)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingComments=function(){return s.Message.setField(this,3,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasLeadingComments=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getTrailingComments=function(){return s.Message.getFieldWithDefault(this,4,"")},proto.google.protobuf.SourceCodeInfo.Location.prototype.setTrailingComments=function(n){return s.Message.setField(this,4,n)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearTrailingComments=function(){return s.Message.setField(this,4,void 0)},proto.google.protobuf.SourceCodeInfo.Location.prototype.hasTrailingComments=function(){return s.Message.getField(this,4)!=null},proto.google.protobuf.SourceCodeInfo.Location.prototype.getLeadingDetachedCommentsList=function(){return s.Message.getRepeatedField(this,6)},proto.google.protobuf.SourceCodeInfo.Location.prototype.setLeadingDetachedCommentsList=function(n){return s.Message.setField(this,6,n||[])},proto.google.protobuf.SourceCodeInfo.Location.prototype.addLeadingDetachedComments=function(n,g){return s.Message.addToRepeatedField(this,6,n,g)},proto.google.protobuf.SourceCodeInfo.Location.prototype.clearLeadingDetachedCommentsList=function(){return this.setLeadingDetachedCommentsList([])},proto.google.protobuf.SourceCodeInfo.prototype.getLocationList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.SourceCodeInfo.Location,1)},proto.google.protobuf.SourceCodeInfo.prototype.setLocationList=function(n){return s.Message.setRepeatedWrapperField(this,1,n)},proto.google.protobuf.SourceCodeInfo.prototype.addLocation=function(n,g){return s.Message.addToRepeatedWrapperField(this,1,n,proto.google.protobuf.SourceCodeInfo.Location,g)},proto.google.protobuf.SourceCodeInfo.prototype.clearLocationList=function(){return this.setLocationList([])},proto.google.protobuf.GeneratedCodeInfo.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.prototype.toObject=function(n){return proto.google.protobuf.GeneratedCodeInfo.toObject(n,this)},proto.google.protobuf.GeneratedCodeInfo.toObject=function(n,g){var p={annotationList:s.Message.toObjectList(g.getAnnotationList(),proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject,n)};return n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.GeneratedCodeInfo.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.GeneratedCodeInfo;return proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader(p,g)},proto.google.protobuf.GeneratedCodeInfo.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)if(g.getFieldNumber()===1){var p=new proto.google.protobuf.GeneratedCodeInfo.Annotation;g.readMessage(p,proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader),n.addAnnotation(p)}else g.skipField();return n},proto.google.protobuf.GeneratedCodeInfo.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.serializeBinaryToWriter=function(n,g){var p;(p=n.getAnnotationList()).length>0&&g.writeRepeatedMessage(1,p,proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter)},proto.google.protobuf.GeneratedCodeInfo.Annotation.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.toObject=function(n){return proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject(n,this)},proto.google.protobuf.GeneratedCodeInfo.Annotation.toObject=function(n,g){var p,l={pathList:(p=s.Message.getRepeatedField(g,1))==null?void 0:p,sourceFile:(p=s.Message.getField(g,2))==null?void 0:p,begin:(p=s.Message.getField(g,3))==null?void 0:p,end:(p=s.Message.getField(g,4))==null?void 0:p};return n&&(l.$jspbMessageInstance=g),l}),proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.GeneratedCodeInfo.Annotation;return proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader(p,g)},proto.google.protobuf.GeneratedCodeInfo.Annotation.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:for(var p=g.isDelimited()?g.readPackedInt32():[g.readInt32()],l=0;l<p.length;l++)n.addPath(p[l]);break;case 2:var u=g.readString();n.setSourceFile(u);break;case 3:u=g.readInt32(),n.setBegin(u);break;case 4:u=g.readInt32(),n.setEnd(u);break;default:g.skipField()}return n},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.GeneratedCodeInfo.Annotation.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getPathList()).length>0&&g.writePackedInt32(1,p),(p=s.Message.getField(n,2))!=null&&g.writeString(2,p),(p=s.Message.getField(n,3))!=null&&g.writeInt32(3,p),(p=s.Message.getField(n,4))!=null&&g.writeInt32(4,p)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getPathList=function(){return s.Message.getRepeatedField(this,1)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setPathList=function(n){return s.Message.setField(this,1,n||[])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.addPath=function(n,g){return s.Message.addToRepeatedField(this,1,n,g)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearPathList=function(){return this.setPathList([])},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getSourceFile=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setSourceFile=function(n){return s.Message.setField(this,2,n)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearSourceFile=function(){return s.Message.setField(this,2,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasSourceFile=function(){return s.Message.getField(this,2)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getBegin=function(){return s.Message.getFieldWithDefault(this,3,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setBegin=function(n){return s.Message.setField(this,3,n)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearBegin=function(){return s.Message.setField(this,3,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasBegin=function(){return s.Message.getField(this,3)!=null},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.getEnd=function(){return s.Message.getFieldWithDefault(this,4,0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.setEnd=function(n){return s.Message.setField(this,4,n)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.clearEnd=function(){return s.Message.setField(this,4,void 0)},proto.google.protobuf.GeneratedCodeInfo.Annotation.prototype.hasEnd=function(){return s.Message.getField(this,4)!=null},proto.google.protobuf.GeneratedCodeInfo.prototype.getAnnotationList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.protobuf.GeneratedCodeInfo.Annotation,1)},proto.google.protobuf.GeneratedCodeInfo.prototype.setAnnotationList=function(n){return s.Message.setRepeatedWrapperField(this,1,n)},proto.google.protobuf.GeneratedCodeInfo.prototype.addAnnotation=function(n,g){return s.Message.addToRepeatedWrapperField(this,1,n,proto.google.protobuf.GeneratedCodeInfo.Annotation,g)},proto.google.protobuf.GeneratedCodeInfo.prototype.clearAnnotationList=function(){return this.setAnnotationList([])},o.object.extend(e,proto.google.protobuf)},867:(t,e,r)=>{var s=r(19),o=s,i=Function("return this")();o.exportSymbol("proto.google.protobuf.Duration",null,i),proto.google.protobuf.Duration=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.protobuf.Duration,s.Message),o.DEBUG&&!COMPILED&&(proto.google.protobuf.Duration.displayName="proto.google.protobuf.Duration"),s.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Duration.prototype.toObject=function(n){return proto.google.protobuf.Duration.toObject(n,this)},proto.google.protobuf.Duration.toObject=function(n,g){var p={seconds:s.Message.getFieldWithDefault(g,1,0),nanos:s.Message.getFieldWithDefault(g,2,0)};return n&&(p.$jspbMessageInstance=g),p}),proto.google.protobuf.Duration.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.protobuf.Duration;return proto.google.protobuf.Duration.deserializeBinaryFromReader(p,g)},proto.google.protobuf.Duration.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readInt64();n.setSeconds(p);break;case 2:p=g.readInt32(),n.setNanos(p);break;default:g.skipField()}return n},proto.google.protobuf.Duration.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.protobuf.Duration.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.protobuf.Duration.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getSeconds())!==0&&g.writeInt64(1,p),(p=n.getNanos())!==0&&g.writeInt32(2,p)},proto.google.protobuf.Duration.prototype.getSeconds=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.google.protobuf.Duration.prototype.setSeconds=function(n){return s.Message.setProto3IntField(this,1,n)},proto.google.protobuf.Duration.prototype.getNanos=function(){return s.Message.getFieldWithDefault(this,2,0)},proto.google.protobuf.Duration.prototype.setNanos=function(n){return s.Message.setProto3IntField(this,2,n)},o.object.extend(e,proto.google.protobuf)},662:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.BaseChannel=void 0;var s=r(758),o=function(){function i(n,g){var p=this;Object.defineProperty(this,"ready",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"peerConn",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"dataChannel",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pResolve",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"pReject",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"closed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"closedReason",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"maxDataChannelSize",{enumerable:!0,configurable:!0,writable:!0,value:16384}),this.peerConn=n,this.dataChannel=g,this.ready=new Promise(function(l,u){p.pResolve=l,p.pReject=u}),g.onopen=function(){return p.onChannelOpen()},g.onclose=function(){return p.onChannelClose()},g.onerror=function(l){return p.onChannelError(l)},n.addEventListener("iceconnectionstatechange",function(){var l,u=n.iceConnectionState;u!=="failed"&&u!=="disconnected"&&u!=="closed"||(l=p.pReject)===null||l===void 0||l.call(p,new Error("ICE connection failed with state: ".concat(u)))})}return Object.defineProperty(i.prototype,"close",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.closeWithReason(void 0)}}),Object.defineProperty(i.prototype,"isClosed",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.closed}}),Object.defineProperty(i.prototype,"isClosedReason",{enumerable:!1,configurable:!0,writable:!0,value:function(){return this.closedReason}}),Object.defineProperty(i.prototype,"closeWithReason",{enumerable:!1,configurable:!0,writable:!0,value:function(n){this.closed||(this.closed=!0,this.closedReason=n,this.peerConn.close())}}),Object.defineProperty(i.prototype,"onChannelOpen",{enumerable:!1,configurable:!0,writable:!0,value:function(){var n;(n=this.pResolve)===null||n===void 0||n.call(this,void 0)}}),Object.defineProperty(i.prototype,"onChannelClose",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.closeWithReason(new s.ConnectionClosedError("data channel closed"))}}),Object.defineProperty(i.prototype,"onChannelError",{enumerable:!1,configurable:!0,writable:!0,value:function(n){console.error("channel error",n),this.closeWithReason(n.error)}}),Object.defineProperty(i.prototype,"write",{enumerable:!1,configurable:!0,writable:!0,value:function(n){this.dataChannel.send(n.serializeBinary())}}),i}();e.BaseChannel=o},370:(t,e)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.BaseStream=void 0;var r=1<<25,s=function(){function o(i,n,g){Object.defineProperty(this,"stream",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"onDone",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"opts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"closed",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(this,"packetBuf",{enumerable:!0,configurable:!0,writable:!0,value:[]}),Object.defineProperty(this,"packetBufSize",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(this,"err",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.stream=i,this.onDone=n,this.opts=g}return Object.defineProperty(o.prototype,"closeWithRecvError",{enumerable:!1,configurable:!0,writable:!0,value:function(i){this.closed||(this.closed=!0,this.err=i,this.onDone(this.stream.getId()),this.opts.onEnd(this.err))}}),Object.defineProperty(o.prototype,"processPacketMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(i){var n=i.getData_asU8();if(n.length+this.packetBufSize>r)return this.packetBuf.length=0,this.packetBufSize=0,void console.error("message size larger than max ".concat(r,"; discarding"));if(this.packetBuf.push(n),this.packetBufSize+=n.length,i.getEom()){for(var g=new Uint8Array(this.packetBufSize),p=0,l=0;l<this.packetBuf.length;l++){var u=this.packetBuf[l];g.set(u,p),p+=u.length}return this.packetBuf.length=0,this.packetBufSize=0,g}}}),o}();e.BaseStream=s},138:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ClientChannel=void 0;var s=r(655),o=r(662),i=r(417),n=r(758),g=r(210),p=function(u){function c(y,m){var h=u.call(this,y,m)||this;return Object.defineProperty(h,"streamIDCounter",{enumerable:!0,configurable:!0,writable:!0,value:0}),Object.defineProperty(h,"streams",{enumerable:!0,configurable:!0,writable:!0,value:{}}),m.onmessage=function(f){return h.onChannelMessage(f)},y.addEventListener("iceconnectionstatechange",function(){var f=y.iceConnectionState;f!=="failed"&&f!=="disconnected"&&f!=="closed"||h.onConnectionTerminated()}),m.addEventListener("close",function(){return h.onConnectionTerminated()}),h}return s.__extends(c,u),Object.defineProperty(c.prototype,"transportFactory",{enumerable:!1,configurable:!0,writable:!0,value:function(){var y=this;return function(m){return y.newStream(y.nextStreamID(),m)}}}),Object.defineProperty(c.prototype,"onConnectionTerminated",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.closeWithReason(new n.ConnectionClosedError("data channel closed"));var y=new n.ConnectionClosedError("connection terminated");for(var m in this.streams)this.streams[m].cs.closeWithRecvError(y)}}),Object.defineProperty(c.prototype,"onChannelMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(y){var m;try{m=g.Response.deserializeBinary(y.data)}catch(b){return void console.error("error deserializing message",b)}var h=m.getStream();if(h!==void 0){var f=h.getId(),d=this.streams[f];d!==void 0?d.cs.onResponse(m):console.error("no stream for id; discarding","id",f)}else console.error("no stream id; discarding")}}),Object.defineProperty(c.prototype,"nextStreamID",{enumerable:!1,configurable:!0,writable:!0,value:function(){var y=new g.Stream;return y.setId(this.streamIDCounter++),y}}),Object.defineProperty(c.prototype,"newStream",{enumerable:!1,configurable:!0,writable:!0,value:function(y,m){var h=this;if(this.isClosed())return new l(new n.ConnectionClosedError("connection closed"),m);var f=this.streams[y.getId()];if(f===void 0){if(Object.keys(this.streams).length>256)return new l(new Error("stream limit hit"),m);f={cs:new i.ClientStream(this,y,function(d){return h.removeStreamByID(d)},m)},this.streams[y.getId()]=f}return f.cs}}),Object.defineProperty(c.prototype,"removeStreamByID",{enumerable:!1,configurable:!0,writable:!0,value:function(y){delete this.streams[y]}}),Object.defineProperty(c.prototype,"writeHeaders",{enumerable:!1,configurable:!0,writable:!0,value:function(y,m){var h=new g.Request;h.setStream(y),h.setHeaders(m),this.write(h)}}),Object.defineProperty(c.prototype,"writeMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(y,m){var h=new g.Request;h.setStream(y),h.setMessage(m),this.write(h)}}),Object.defineProperty(c.prototype,"writeReset",{enumerable:!1,configurable:!0,writable:!0,value:function(y){var m=new g.Request;m.setStream(y),m.setRstStream(!0),this.write(m)}}),c}(o.BaseChannel);e.ClientChannel=p;var l=function(){function u(c,y){Object.defineProperty(this,"err",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"opts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.err=c,this.opts=y}return Object.defineProperty(u.prototype,"start",{enumerable:!1,configurable:!0,writable:!0,value:function(){var c=this;this.opts.onEnd&&setTimeout(function(){return c.opts.onEnd(c.err)})}}),Object.defineProperty(u.prototype,"sendMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(u.prototype,"finishSend",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),Object.defineProperty(u.prototype,"cancel",{enumerable:!1,configurable:!0,writable:!0,value:function(){}}),u}()},417:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeASCII=e.ClientStream=void 0;var s=r(655),o=r(37),i=r(370),n=r(758),g=r(210),p=function(y){function m(h,f,d,b){var v=y.call(this,f,d,b)||this;return Object.defineProperty(v,"channel",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(v,"headersReceived",{enumerable:!0,configurable:!0,writable:!0,value:!1}),Object.defineProperty(v,"trailersReceived",{enumerable:!0,configurable:!0,writable:!0,value:!1}),v.channel=h,v}return s.__extends(m,y),Object.defineProperty(m.prototype,"start",{enumerable:!1,configurable:!0,writable:!0,value:function(h){var f="/".concat(this.opts.methodDefinition.service.serviceName,"/").concat(this.opts.methodDefinition.methodName),d=new g.RequestHeaders;d.setMethod(f),d.setMetadata(u(h));try{this.channel.writeHeaders(this.stream,d)}catch(b){console.error("error writing headers",b),this.closeWithRecvError(b)}}}),Object.defineProperty(m.prototype,"sendMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(h){h?this.writeMessage(!1,h.slice(5)):this.writeMessage(!1,void 0)}}),Object.defineProperty(m.prototype,"resetStream",{enumerable:!1,configurable:!0,writable:!0,value:function(){try{this.channel.writeReset(this.stream)}catch(h){console.error("error writing reset",h),this.closeWithRecvError(h)}}}),Object.defineProperty(m.prototype,"finishSend",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.opts.methodDefinition.requestStream&&this.writeMessage(!0,void 0)}}),Object.defineProperty(m.prototype,"cancel",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.closed||this.resetStream()}}),Object.defineProperty(m.prototype,"writeMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(h,f){try{if(!f||f.length==0)return(d=new g.PacketMessage).setEom(!0),(b=new g.RequestMessage).setHasMessage(!!f),b.setPacketMessage(d),b.setEos(h),void this.channel.writeMessage(this.stream,b);for(;f.length!==0;){var d,b,v=Math.min(f.length,16373);(d=new g.PacketMessage).setData(f.slice(0,v)),(f=f.slice(v)).length===0&&d.setEom(!0),(b=new g.RequestMessage).setHasMessage(!!f),b.setPacketMessage(d),b.setEos(h),this.channel.writeMessage(this.stream,b)}}catch(S){console.error("error writing message",S),this.closeWithRecvError(S)}}}),Object.defineProperty(m.prototype,"onResponse",{enumerable:!1,configurable:!0,writable:!0,value:function(h){switch(h.getTypeCase()){case g.Response.TypeCase.HEADERS:if(this.headersReceived)return void this.closeWithRecvError(new Error("headers already received"));if(this.trailersReceived)return void this.closeWithRecvError(new Error("headers received after trailers"));this.processHeaders(h.getHeaders());break;case g.Response.TypeCase.MESSAGE:if(!this.headersReceived)return void this.closeWithRecvError(new Error("headers not yet received"));if(this.trailersReceived)return void this.closeWithRecvError(new Error("headers received after trailers"));this.processMessage(h.getMessage());break;case g.Response.TypeCase.TRAILERS:this.processTrailers(h.getTrailers());break;default:console.error("unknown response type",h.getTypeCase())}}}),Object.defineProperty(m.prototype,"processHeaders",{enumerable:!1,configurable:!0,writable:!0,value:function(h){this.headersReceived=!0,this.opts.onHeaders(c(h.getMetadata()),200)}}),Object.defineProperty(m.prototype,"processMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(h){var f=y.prototype.processPacketMessage.call(this,h.getPacketMessage());if(f){var d=new ArrayBuffer(f.length+5);new DataView(d,1,4).setUint32(0,f.length,!1),new Uint8Array(d,5).set(f),this.opts.onChunk(new Uint8Array(d))}}}),Object.defineProperty(m.prototype,"processTrailers",{enumerable:!1,configurable:!0,writable:!0,value:function(h){this.trailersReceived=!0;var f,d,b=c(h.getMetadata()),v=h.getStatus();v?(f=v.getCode(),d=v.getMessage(),b.set("grpc-status","".concat(v.getCode())),d!==void 0&&b.set("grpc-message",v.getMessage())):(f=0,b.set("grpc-status","0"),d="");var S=function(_){var I="";return _.forEach(function(w,A){I+="".concat(w,": ").concat(A.join(", "),`\r
10
- `)}),l(I)}(b),E=new ArrayBuffer(S.length+5);new DataView(E,0,1).setUint8(0,128),new DataView(E,1,4).setUint32(0,S.length,!1),new Uint8Array(E,5).set(S),this.opts.onChunk(new Uint8Array(E)),f!==0?this.closeWithRecvError(new n.GRPCError(f,d)):this.closeWithRecvError()}}),m}(i.BaseStream);function l(y){for(var m,h,f=new Uint8Array(y.length),d=0;d!==y.length;++d){var b=y.charCodeAt(d);if(!((m=h=b)===9||m===10||m===13||h>=32&&h<=126))throw new Error("Metadata contains invalid ASCII");f[d]=b}return f}e.ClientStream=p,e.encodeASCII=l;var u=function(y){if(y){var m=new g.Metadata,h=m.getMdMap();if(y.forEach(function(f,d){var b=new g.Strings;b.setValuesList(d),h.set(f,b)}),m.getMdMap().getLength()!==0)return m}},c=function(y){var m=new o.grpc.Metadata;return y&&y.getMdMap().forEach(function(h,f){return m.append(f,h.getValuesList())}),m}},512:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.dialWebRTC=e.dialDirect=void 0;var s=r(655),o=r(37),i=r(138),n=r(758),g=r(743),p=r(34),l=r(165),u=r(400),c=r(982),y=r(958),m=r(93);function h(v,S){return s.__awaiter(this,void 0,void 0,function(){var E,_;return s.__generator(this,function(I){return b(S),E=function(w){return o.grpc.CrossBrowserHttpTransport({withCredentials:!1})(w)},!S?.accessToken||S?.externalAuthAddress&&S?.externalAuthToEntity?S?.credentials?[2,f(v,E,S)]:[2,E]:((_=new o.grpc.Metadata).set("authorization","Bearer ".concat(S.accessToken)),[2,function(w){return new d(w,E,_)}])})})}function f(v,S,E){return s.__awaiter(this,void 0,void 0,function(){var _,I,w,A=this;return s.__generator(this,function(B){switch(B.label){case 0:return _="",I=function(){return s.__awaiter(A,void 0,void 0,function(){var F,P,V,X,M,O,j,R,T,N;return s.__generator(this,function(D){switch(D.label){case 0:return _!=""?[3,5]:(F="",E?.accessToken==""?[3,2]:((j=new l.AuthenticateRequest).setEntity(E?.authEntity?E.authEntity:v.replace(/^(.*:\/\/)/,"")),(X=new l.Credentials).setType((T=E?.credentials)===null||T===void 0?void 0:T.type),X.setPayload((N=E?.credentials)===null||N===void 0?void 0:N.payload),j.setCredentials(X),O=new Promise(function(L,U){P=L,V=U}),o.grpc.invoke(u.AuthService.Authenticate,{request:j,host:E?.externalAuthAddress?E.externalAuthAddress:v,transport:S,onMessage:function(L){F=L.getAccessToken()},onEnd:function(L,U,G){L==o.grpc.Code.OK?P(R):V(U)}}),[4,O]));case 1:return D.sent(),[3,3];case 2:F=E.accessToken,D.label=3;case 3:return _=F,E?.externalAuthAddress&&E?.externalAuthToEntity?((M=new o.grpc.Metadata).set("authorization","Bearer ".concat(_)),O=new Promise(function(L,U){P=L,V=U}),F="",(j=new l.AuthenticateToRequest).setEntity(E.externalAuthToEntity),o.grpc.invoke(u.ExternalAuthService.AuthenticateTo,{request:j,host:E.externalAuthAddress,transport:S,metadata:M,onMessage:function(L){F=L.getAccessToken()},onEnd:function(L,U,G){L==o.grpc.Code.OK?P(M):V(U)}}),[4,O]):[3,5];case 4:D.sent(),_=F,D.label=5;case 5:return(R=new o.grpc.Metadata).set("authorization","Bearer ".concat(_)),[2,R]}})})},[4,I()];case 1:return w=B.sent(),[2,function(F){return new d(F,S,w)}]}})})}e.dialDirect=h;var d=function(){function v(S,E,_){Object.defineProperty(this,"opts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"transport",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"extraMetadata",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.opts=S,this.extraMetadata=_,this.transport=E(S)}return Object.defineProperty(v.prototype,"start",{enumerable:!1,configurable:!0,writable:!0,value:function(S){this.extraMetadata.forEach(function(E,_){S.set(E,_)}),this.transport.start(S)}}),Object.defineProperty(v.prototype,"sendMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(S){this.transport.sendMessage(S)}}),Object.defineProperty(v.prototype,"finishSend",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.transport.finishSend()}}),Object.defineProperty(v.prototype,"cancel",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.transport.cancel()}}),v}();function b(v){var S;if(v){if(v.accessToken&&v.accessToken.length>0){if(v.authEntity)throw new Error("cannot set authEntity with accessToken");if(v.credentials)throw new Error("cannot set credentials with accessToken");if(v.externalAuthAddress)throw new Error("cannot set externalAuthAddress with accessToken");if(v.externalAuthToEntity)throw new Error("cannot set externalAuthToEntity with accessToken");if(v.webrtcOptions){if(v.webrtcOptions.signalingAccessToken)throw new Error("cannot set webrtcOptions.signalingAccessToken with accessToken");if(v.webrtcOptions.signalingAuthEntity)throw new Error("cannot set webrtcOptions.signalingAuthEntity with accessToken");if(v.webrtcOptions.signalingCredentials)throw new Error("cannot set webrtcOptions.signalingCredentials with accessToken");if(v.webrtcOptions.signalingExternalAuthAddress)throw new Error("cannot set webrtcOptions.signalingExternalAuthAddress with accessToken");if(v.webrtcOptions.signalingExternalAuthToEntity)throw new Error("cannot set webrtcOptions.signalingExternalAuthToEntity with accessToken")}}if(((S=v?.webrtcOptions)===null||S===void 0?void 0:S.signalingAccessToken)&&v.webrtcOptions.signalingAccessToken.length>0){if(v.webrtcOptions.signalingAuthEntity)throw new Error("cannot set webrtcOptions.signalingAuthEntity with webrtcOptions.signalingAccessToken");if(v.webrtcOptions.signalingCredentials)throw new Error("cannot set webrtcOptions.signalingCredentials with webrtcOptions.signalingAccessToken")}}}e.dialWebRTC=function(v,S,E){var _,I,w,A,B,F,P;return s.__awaiter(this,void 0,void 0,function(){var V,X,M,O,j,R,T,N,D,L,U,G,C,x,z,Z,ee,re,se,ie,ge,ne,pe,ae,le=this;return s.__generator(this,function($){switch($.label){case 0:return b(E),V=E?.webrtcOptions,[4,(0,m.newPeerConnectionForClient)(V!==void 0&&V.disableTrickleICE,V?.rtcConfig)];case 1:X=$.sent(),M=X.pc,O=X.dc,j=!1,$.label=2;case 2:return $.trys.push([2,,9,10]),R=E,E&&(R=s.__assign({},E),E.accessToken||(R.authEntity=(_=E?.webrtcOptions)===null||_===void 0?void 0:_.signalingAuthEntity,R.authEntity||(R.externalAuthAddress?R.authEntity=(I=E.externalAuthAddress)===null||I===void 0?void 0:I.replace(/^(.*:\/\/)/,""):R.authEntity=v.replace(/^(.*:\/\/)/,"")),R.credentials=(w=E?.webrtcOptions)===null||w===void 0?void 0:w.signalingCredentials,R.externalAuthAddress=(A=E?.webrtcOptions)===null||A===void 0?void 0:A.signalingExternalAuthAddress,R.externalAuthToEntity=(B=E?.webrtcOptions)===null||B===void 0?void 0:B.signalingExternalAuthToEntity,R.accessToken=(F=E?.webrtcOptions)===null||F===void 0?void 0:F.signalingAccessToken)),[4,h(v,R)];case 3:return T=$.sent(),N=o.grpc.client(y.SignalingService.Call,{host:v,transport:T}),D="",L=!1,U=function(k){if(!L){L=!0;var W=new c.CallUpdateRequest;W.setUuid(D);var Y=new p.Status;Y.setCode(g.Code.UNKNOWN),Y.setMessage(k),W.setError(Y),o.grpc.unary(y.SignalingService.CallUpdate,{request:W,metadata:{"rpc-host":S},host:v,transport:T,onEnd:function(q){var H=q.status,K=q.statusMessage,Q=q.message;H===o.grpc.Code.OK&&Q||console.error(K)}})}},G=function(){if(!L){L=!0;var k=new c.CallUpdateRequest;k.setUuid(D),k.setDone(!0),o.grpc.unary(y.SignalingService.CallUpdate,{request:k,metadata:{"rpc-host":S},host:v,transport:T,onEnd:function(W){var Y=W.status,q=W.statusMessage,H=W.message;Y===o.grpc.Code.OK&&H||console.error(q)}})}},x=new Promise(function(k){C=k}),z=!1,V?.disableTrickleICE?[3,6]:[4,M.createOffer()];case 4:return Z=$.sent(),ee=!1,M.onicecandidate=function(k){return s.__awaiter(le,void 0,void 0,function(){var W,Y;return s.__generator(this,function(q){switch(q.label){case 0:return[4,x];case 1:return q.sent(),z?[2]:k.candidate===null?(ee=!0,G(),[2]):(H=k.candidate,(K=new c.ICECandidate).setCandidate(H.candidate),H.sdpMid&&K.setSdpMid(H.sdpMid),H.sdpMLineIndex&&K.setSdpmLineIndex(H.sdpMLineIndex),H.usernameFragment&&K.setUsernameFragment(H.usernameFragment),W=K,(Y=new c.CallUpdateRequest).setUuid(D),Y.setCandidate(W),o.grpc.unary(y.SignalingService.CallUpdate,{request:Y,metadata:{"rpc-host":S},host:v,transport:T,onEnd:function(Q){var te=Q.status,J=Q.statusMessage,oe=Q.message;te===o.grpc.Code.OK&&oe||z||ee||console.error("error sending candidate",J)}}),[2])}var H,K})})},[4,M.setLocalDescription(Z)];case 5:$.sent(),$.label=6;case 6:return re=!1,N.onMessage(function(k){return s.__awaiter(le,void 0,void 0,function(){var W,Y,q,H,K,Q;return s.__generator(this,function(te){switch(te.label){case 0:return(W=k).hasInit()?re?(U("got init stage more than once"),[2]):(Y=W.getInit(),re=!0,D=W.getUuid(),q=new RTCSessionDescription(JSON.parse(atob(Y.getSdp()))),M.setRemoteDescription(q),C(!0),V?.disableTrickleICE?(z=!0,G(),[2]):[3,7]):[3,1];case 1:if(!W.hasUpdate())return[3,6];if(!re)return U("got update stage before init stage"),[2];if(W.getUuid()!==D)return U("uuid mismatch; have=".concat(W.getUuid()," want=").concat(D)),[2];H=W.getUpdate(),J=H.getCandidate(),oe={candidate:J.getCandidate()},J.hasSdpMid()&&(oe.sdpMid=J.getSdpMid()),J.hasSdpmLineIndex()&&(oe.sdpMLineIndex=J.getSdpmLineIndex()),J.hasUsernameFragment()&&(oe.usernameFragment=J.getUsernameFragment()),K=oe,te.label=2;case 2:return te.trys.push([2,4,,5]),[4,M.addIceCandidate(K)];case 3:return te.sent(),[3,5];case 4:return Q=te.sent(),U(JSON.stringify(Q)),[2];case 5:return[3,7];case 6:return U("unknown CallResponse stage"),[2];case 7:return[2]}var J,oe})})}),ge=new Promise(function(k,W){se=k,ie=W}),N.onEnd(function(k,W,Y){k!==o.grpc.Code.OK?W!=="Response closed without headers"?(console.error(W),ie(W)):ie(new n.ConnectionClosedError("failed to dial")):se()}),N.start({"rpc-host":S}),ne=new c.CallRequest,pe=btoa(JSON.stringify(M.localDescription)),ne.setSdp(pe),V&&V.disableTrickleICE&&ne.setDisableTrickle(V.disableTrickleICE),N.send(ne),(ae=new i.ClientChannel(M,O)).ready.then(function(){return se()}).catch(function(k){return ie(k)}),[4,ge];case 7:return $.sent(),[4,ae.ready];case 8:return $.sent(),z=!0,G(),E?.externalAuthAddress||(P=E?.credentials)===null||P===void 0||P.type,j=!0,[2,{transportFactory:ae.transportFactory(),peerConnection:M}];case 9:return j||M.close(),[7];case 10:return[2]}})})}},758:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GRPCError=e.ConnectionClosedError=void 0;var s=r(655),o=function(n){function g(p){var l=n.call(this,p)||this;return Object.setPrototypeOf(l,g.prototype),l}return s.__extends(g,n),Object.defineProperty(g,"IsError",{enumerable:!1,configurable:!0,writable:!0,value:function(p){return p instanceof g||(typeof p=="string"?p==="Response closed without headers":p instanceof Error&&p.message==="Response closed without headers")}}),g}(Error);e.ConnectionClosedError=o;var i=function(n){function g(p,l){var u=n.call(this,"Code=".concat(p," Message=").concat(l))||this;return Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(u,"grpcMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),u.code=p,u.grpcMessage=l,Object.setPrototypeOf(u,g.prototype),u}return s.__extends(g,n),g}(Error);e.GRPCError=i},93:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.newPeerConnectionForClient=void 0;var s=r(655);e.newPeerConnectionForClient=function(o,i){return s.__awaiter(this,void 0,void 0,function(){var n,g,p,l,u,c,y,m,h=this;return s.__generator(this,function(f){switch(f.label){case 0:return i||(i={iceServers:[{urls:"stun:global.stun.twilio.com:3478?transport=udp"}]}),n=new RTCPeerConnection(i),p=new Promise(function(d){g=d}),(l=n.createDataChannel("data",{id:0,negotiated:!0,ordered:!0})).binaryType="arraybuffer",(u=n.createDataChannel("negotiation",{id:1,negotiated:!0,ordered:!0})).binaryType="arraybuffer",c=!1,u.onopen=function(){c=!0},u.onmessage=function(d){return s.__awaiter(h,void 0,void 0,function(){var b,v;return s.__generator(this,function(S){switch(S.label){case 0:return S.trys.push([0,4,,5]),(b=new RTCSessionDescription(JSON.parse(atob(d.data)))).type==="offer"&&(b||n.signalingState),[4,n.setRemoteDescription(b)];case 1:return S.sent(),b.type!=="offer"?[3,3]:[4,n.setLocalDescription()];case 2:S.sent(),u.send(btoa(JSON.stringify(n.localDescription))),S.label=3;case 3:return[3,5];case 4:return v=S.sent(),console.error(v),[3,5];case 5:return[2]}})})},n.onnegotiationneeded=function(){return s.__awaiter(h,void 0,void 0,function(){var d;return s.__generator(this,function(b){switch(b.label){case 0:if(!c)return[2];b.label=1;case 1:return b.trys.push([1,3,,4]),[4,n.setLocalDescription()];case 2:return b.sent(),u.send(btoa(JSON.stringify(n.localDescription))),[3,4];case 3:return d=b.sent(),console.error(d),[3,4];case 4:return[2]}})})},o?[4,n.createOffer()]:[2,Promise.resolve({pc:n,dc:l})];case 1:y=f.sent(),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n.setLocalDescription(y)];case 3:return f.sent(),[3,5];case 4:return m=f.sent(),[2,Promise.reject(m)];case 5:return n.onicecandidate=function(d){return s.__awaiter(h,void 0,void 0,function(){return s.__generator(this,function(b){return d.candidate!==null||g({pc:n,dc:l}),[2]})})},[2,p]}})})}},655:(t,e,r)=>{r.r(e),r.d(e,{__assign:()=>i,__asyncDelegator:()=>_,__asyncGenerator:()=>E,__asyncValues:()=>I,__await:()=>S,__awaiter:()=>u,__classPrivateFieldGet:()=>P,__classPrivateFieldIn:()=>X,__classPrivateFieldSet:()=>V,__createBinding:()=>y,__decorate:()=>g,__exportStar:()=>m,__extends:()=>o,__generator:()=>c,__importDefault:()=>F,__importStar:()=>B,__makeTemplateObject:()=>w,__metadata:()=>l,__param:()=>p,__read:()=>f,__rest:()=>n,__spread:()=>d,__spreadArray:()=>v,__spreadArrays:()=>b,__values:()=>h});var s=function(M,O){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,R){j.__proto__=R}||function(j,R){for(var T in R)Object.prototype.hasOwnProperty.call(R,T)&&(j[T]=R[T])},s(M,O)};function o(M,O){if(typeof O!="function"&&O!==null)throw new TypeError("Class extends value "+String(O)+" is not a constructor or null");function j(){this.constructor=M}s(M,O),M.prototype=O===null?Object.create(O):(j.prototype=O.prototype,new j)}var i=function(){return i=Object.assign||function(M){for(var O,j=1,R=arguments.length;j<R;j++)for(var T in O=arguments[j])Object.prototype.hasOwnProperty.call(O,T)&&(M[T]=O[T]);return M},i.apply(this,arguments)};function n(M,O){var j={};for(var R in M)Object.prototype.hasOwnProperty.call(M,R)&&O.indexOf(R)<0&&(j[R]=M[R]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function"){var T=0;for(R=Object.getOwnPropertySymbols(M);T<R.length;T++)O.indexOf(R[T])<0&&Object.prototype.propertyIsEnumerable.call(M,R[T])&&(j[R[T]]=M[R[T]])}return j}function g(M,O,j,R){var T,N=arguments.length,D=N<3?O:R===null?R=Object.getOwnPropertyDescriptor(O,j):R;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate(M,O,j,R);else for(var L=M.length-1;L>=0;L--)(T=M[L])&&(D=(N<3?T(D):N>3?T(O,j,D):T(O,j))||D);return N>3&&D&&Object.defineProperty(O,j,D),D}function p(M,O){return function(j,R){O(j,R,M)}}function l(M,O){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(M,O)}function u(M,O,j,R){return new(j||(j=Promise))(function(T,N){function D(G){try{U(R.next(G))}catch(C){N(C)}}function L(G){try{U(R.throw(G))}catch(C){N(C)}}function U(G){var C;G.done?T(G.value):(C=G.value,C instanceof j?C:new j(function(x){x(C)})).then(D,L)}U((R=R.apply(M,O||[])).next())})}function c(M,O){var j,R,T,N,D={label:0,sent:function(){if(1&T[0])throw T[1];return T[1]},trys:[],ops:[]};return N={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(N[Symbol.iterator]=function(){return this}),N;function L(U){return function(G){return function(C){if(j)throw new TypeError("Generator is already executing.");for(;N&&(N=0,C[0]&&(D=0)),D;)try{if(j=1,R&&(T=2&C[0]?R.return:C[0]?R.throw||((T=R.return)&&T.call(R),0):R.next)&&!(T=T.call(R,C[1])).done)return T;switch(R=0,T&&(C=[2&C[0],T.value]),C[0]){case 0:case 1:T=C;break;case 4:return D.label++,{value:C[1],done:!1};case 5:D.label++,R=C[1],C=[0];continue;case 7:C=D.ops.pop(),D.trys.pop();continue;default:if(!((T=(T=D.trys).length>0&&T[T.length-1])||C[0]!==6&&C[0]!==2)){D=0;continue}if(C[0]===3&&(!T||C[1]>T[0]&&C[1]<T[3])){D.label=C[1];break}if(C[0]===6&&D.label<T[1]){D.label=T[1],T=C;break}if(T&&D.label<T[2]){D.label=T[2],D.ops.push(C);break}T[2]&&D.ops.pop(),D.trys.pop();continue}C=O.call(M,D)}catch(x){C=[6,x],R=0}finally{j=T=0}if(5&C[0])throw C[1];return{value:C[0]?C[1]:void 0,done:!0}}([U,G])}}}var y=Object.create?function(M,O,j,R){R===void 0&&(R=j);var T=Object.getOwnPropertyDescriptor(O,j);T&&!("get"in T?!O.__esModule:T.writable||T.configurable)||(T={enumerable:!0,get:function(){return O[j]}}),Object.defineProperty(M,R,T)}:function(M,O,j,R){R===void 0&&(R=j),M[R]=O[j]};function m(M,O){for(var j in M)j==="default"||Object.prototype.hasOwnProperty.call(O,j)||y(O,M,j)}function h(M){var O=typeof Symbol=="function"&&Symbol.iterator,j=O&&M[O],R=0;if(j)return j.call(M);if(M&&typeof M.length=="number")return{next:function(){return M&&R>=M.length&&(M=void 0),{value:M&&M[R++],done:!M}}};throw new TypeError(O?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(M,O){var j=typeof Symbol=="function"&&M[Symbol.iterator];if(!j)return M;var R,T,N=j.call(M),D=[];try{for(;(O===void 0||O-- >0)&&!(R=N.next()).done;)D.push(R.value)}catch(L){T={error:L}}finally{try{R&&!R.done&&(j=N.return)&&j.call(N)}finally{if(T)throw T.error}}return D}function d(){for(var M=[],O=0;O<arguments.length;O++)M=M.concat(f(arguments[O]));return M}function b(){for(var M=0,O=0,j=arguments.length;O<j;O++)M+=arguments[O].length;var R=Array(M),T=0;for(O=0;O<j;O++)for(var N=arguments[O],D=0,L=N.length;D<L;D++,T++)R[T]=N[D];return R}function v(M,O,j){if(j||arguments.length===2)for(var R,T=0,N=O.length;T<N;T++)!R&&T in O||(R||(R=Array.prototype.slice.call(O,0,T)),R[T]=O[T]);return M.concat(R||Array.prototype.slice.call(O))}function S(M){return this instanceof S?(this.v=M,this):new S(M)}function E(M,O,j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var R,T=j.apply(M,O||[]),N=[];return R={},D("next"),D("throw"),D("return"),R[Symbol.asyncIterator]=function(){return this},R;function D(x){T[x]&&(R[x]=function(z){return new Promise(function(Z,ee){N.push([x,z,Z,ee])>1||L(x,z)})})}function L(x,z){try{(Z=T[x](z)).value instanceof S?Promise.resolve(Z.value.v).then(U,G):C(N[0][2],Z)}catch(ee){C(N[0][3],ee)}var Z}function U(x){L("next",x)}function G(x){L("throw",x)}function C(x,z){x(z),N.shift(),N.length&&L(N[0][0],N[0][1])}}function _(M){var O,j;return O={},R("next"),R("throw",function(T){throw T}),R("return"),O[Symbol.iterator]=function(){return this},O;function R(T,N){O[T]=M[T]?function(D){return(j=!j)?{value:S(M[T](D)),done:T==="return"}:N?N(D):D}:N}}function I(M){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var O,j=M[Symbol.asyncIterator];return j?j.call(M):(M=h(M),O={},R("next"),R("throw"),R("return"),O[Symbol.asyncIterator]=function(){return this},O);function R(T){O[T]=M[T]&&function(N){return new Promise(function(D,L){(function(U,G,C,x){Promise.resolve(x).then(function(z){U({value:z,done:C})},G)})(D,L,(N=M[T](N)).done,N.value)})}}}function w(M,O){return Object.defineProperty?Object.defineProperty(M,"raw",{value:O}):M.raw=O,M}var A=Object.create?function(M,O){Object.defineProperty(M,"default",{enumerable:!0,value:O})}:function(M,O){M.default=O};function B(M){if(M&&M.__esModule)return M;var O={};if(M!=null)for(var j in M)j!=="default"&&Object.prototype.hasOwnProperty.call(M,j)&&y(O,M,j);return A(O,M),O}function F(M){return M&&M.__esModule?M:{default:M}}function P(M,O,j,R){if(j==="a"&&!R)throw new TypeError("Private accessor was defined without a getter");if(typeof O=="function"?M!==O||!R:!O.has(M))throw new TypeError("Cannot read private member from an object whose class did not declare it");return j==="m"?R:j==="a"?R.call(M):R?R.value:O.get(M)}function V(M,O,j,R,T){if(R==="m")throw new TypeError("Private method is not writable");if(R==="a"&&!T)throw new TypeError("Private accessor was defined without a setter");if(typeof O=="function"?M!==O||!T:!O.has(M))throw new TypeError("Cannot write private member to an object whose class did not declare it");return R==="a"?T.call(M,j):T?T.value=j:O.set(M,j),j}function X(M,O){if(O===null||typeof O!="object"&&typeof O!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof M=="function"?O===M:M.has(O)}},80:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(11);o.object.extend(proto,n);var g=r(392);o.object.extend(proto,g),o.exportSymbol("proto.google.api.http",null,i),proto.google.api.http=new s.ExtensionFieldInfo(72295728,{http:0},n.HttpRule,n.HttpRule.toObject,0),g.MethodOptions.extensionsBinary[72295728]=new s.ExtensionFieldBinaryInfo(proto.google.api.http,s.BinaryReader.prototype.readMessage,s.BinaryWriter.prototype.writeMessage,n.HttpRule.serializeBinaryToWriter,n.HttpRule.deserializeBinaryFromReader,!1),g.MethodOptions.extensions[72295728]=proto.google.api.http,o.object.extend(e,proto.google.api)},11:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null);o.exportSymbol("proto.google.api.CustomHttpPattern",null,i),o.exportSymbol("proto.google.api.Http",null,i),o.exportSymbol("proto.google.api.HttpRule",null,i),o.exportSymbol("proto.google.api.HttpRule.PatternCase",null,i),proto.google.api.Http=function(n){s.Message.initialize(this,n,0,-1,proto.google.api.Http.repeatedFields_,null)},o.inherits(proto.google.api.Http,s.Message),o.DEBUG&&!COMPILED&&(proto.google.api.Http.displayName="proto.google.api.Http"),proto.google.api.HttpRule=function(n){s.Message.initialize(this,n,0,-1,proto.google.api.HttpRule.repeatedFields_,proto.google.api.HttpRule.oneofGroups_)},o.inherits(proto.google.api.HttpRule,s.Message),o.DEBUG&&!COMPILED&&(proto.google.api.HttpRule.displayName="proto.google.api.HttpRule"),proto.google.api.CustomHttpPattern=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.api.CustomHttpPattern,s.Message),o.DEBUG&&!COMPILED&&(proto.google.api.CustomHttpPattern.displayName="proto.google.api.CustomHttpPattern"),proto.google.api.Http.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.google.api.Http.prototype.toObject=function(n){return proto.google.api.Http.toObject(n,this)},proto.google.api.Http.toObject=function(n,g){var p={rulesList:s.Message.toObjectList(g.getRulesList(),proto.google.api.HttpRule.toObject,n),fullyDecodeReservedExpansion:s.Message.getBooleanFieldWithDefault(g,2,!1)};return n&&(p.$jspbMessageInstance=g),p}),proto.google.api.Http.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.api.Http;return proto.google.api.Http.deserializeBinaryFromReader(p,g)},proto.google.api.Http.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=new proto.google.api.HttpRule;g.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),n.addRules(p);break;case 2:p=g.readBool(),n.setFullyDecodeReservedExpansion(p);break;default:g.skipField()}return n},proto.google.api.Http.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.api.Http.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.api.Http.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getRulesList()).length>0&&g.writeRepeatedMessage(1,p,proto.google.api.HttpRule.serializeBinaryToWriter),(p=n.getFullyDecodeReservedExpansion())&&g.writeBool(2,p)},proto.google.api.Http.prototype.getRulesList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,1)},proto.google.api.Http.prototype.setRulesList=function(n){return s.Message.setRepeatedWrapperField(this,1,n)},proto.google.api.Http.prototype.addRules=function(n,g){return s.Message.addToRepeatedWrapperField(this,1,n,proto.google.api.HttpRule,g)},proto.google.api.Http.prototype.clearRulesList=function(){return this.setRulesList([])},proto.google.api.Http.prototype.getFullyDecodeReservedExpansion=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.api.Http.prototype.setFullyDecodeReservedExpansion=function(n){return s.Message.setProto3BooleanField(this,2,n)},proto.google.api.HttpRule.repeatedFields_=[11],proto.google.api.HttpRule.oneofGroups_=[[2,3,4,5,6,8]],proto.google.api.HttpRule.PatternCase={PATTERN_NOT_SET:0,GET:2,PUT:3,POST:4,DELETE:5,PATCH:6,CUSTOM:8},proto.google.api.HttpRule.prototype.getPatternCase=function(){return s.Message.computeOneofCase(this,proto.google.api.HttpRule.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.google.api.HttpRule.prototype.toObject=function(n){return proto.google.api.HttpRule.toObject(n,this)},proto.google.api.HttpRule.toObject=function(n,g){var p,l={selector:s.Message.getFieldWithDefault(g,1,""),get:s.Message.getFieldWithDefault(g,2,""),put:s.Message.getFieldWithDefault(g,3,""),post:s.Message.getFieldWithDefault(g,4,""),pb_delete:s.Message.getFieldWithDefault(g,5,""),patch:s.Message.getFieldWithDefault(g,6,""),custom:(p=g.getCustom())&&proto.google.api.CustomHttpPattern.toObject(n,p),body:s.Message.getFieldWithDefault(g,7,""),responseBody:s.Message.getFieldWithDefault(g,12,""),additionalBindingsList:s.Message.toObjectList(g.getAdditionalBindingsList(),proto.google.api.HttpRule.toObject,n)};return n&&(l.$jspbMessageInstance=g),l}),proto.google.api.HttpRule.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.api.HttpRule;return proto.google.api.HttpRule.deserializeBinaryFromReader(p,g)},proto.google.api.HttpRule.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setSelector(p);break;case 2:p=g.readString(),n.setGet(p);break;case 3:p=g.readString(),n.setPut(p);break;case 4:p=g.readString(),n.setPost(p);break;case 5:p=g.readString(),n.setDelete(p);break;case 6:p=g.readString(),n.setPatch(p);break;case 8:p=new proto.google.api.CustomHttpPattern,g.readMessage(p,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader),n.setCustom(p);break;case 7:p=g.readString(),n.setBody(p);break;case 12:p=g.readString(),n.setResponseBody(p);break;case 11:p=new proto.google.api.HttpRule,g.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),n.addAdditionalBindings(p);break;default:g.skipField()}return n},proto.google.api.HttpRule.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.api.HttpRule.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.api.HttpRule.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getSelector()).length>0&&g.writeString(1,p),(p=s.Message.getField(n,2))!=null&&g.writeString(2,p),(p=s.Message.getField(n,3))!=null&&g.writeString(3,p),(p=s.Message.getField(n,4))!=null&&g.writeString(4,p),(p=s.Message.getField(n,5))!=null&&g.writeString(5,p),(p=s.Message.getField(n,6))!=null&&g.writeString(6,p),(p=n.getCustom())!=null&&g.writeMessage(8,p,proto.google.api.CustomHttpPattern.serializeBinaryToWriter),(p=n.getBody()).length>0&&g.writeString(7,p),(p=n.getResponseBody()).length>0&&g.writeString(12,p),(p=n.getAdditionalBindingsList()).length>0&&g.writeRepeatedMessage(11,p,proto.google.api.HttpRule.serializeBinaryToWriter)},proto.google.api.HttpRule.prototype.getSelector=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.api.HttpRule.prototype.setSelector=function(n){return s.Message.setProto3StringField(this,1,n)},proto.google.api.HttpRule.prototype.getGet=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.api.HttpRule.prototype.setGet=function(n){return s.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearGet=function(){return s.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasGet=function(){return s.Message.getField(this,2)!=null},proto.google.api.HttpRule.prototype.getPut=function(){return s.Message.getFieldWithDefault(this,3,"")},proto.google.api.HttpRule.prototype.setPut=function(n){return s.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearPut=function(){return s.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPut=function(){return s.Message.getField(this,3)!=null},proto.google.api.HttpRule.prototype.getPost=function(){return s.Message.getFieldWithDefault(this,4,"")},proto.google.api.HttpRule.prototype.setPost=function(n){return s.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearPost=function(){return s.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPost=function(){return s.Message.getField(this,4)!=null},proto.google.api.HttpRule.prototype.getDelete=function(){return s.Message.getFieldWithDefault(this,5,"")},proto.google.api.HttpRule.prototype.setDelete=function(n){return s.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearDelete=function(){return s.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasDelete=function(){return s.Message.getField(this,5)!=null},proto.google.api.HttpRule.prototype.getPatch=function(){return s.Message.getFieldWithDefault(this,6,"")},proto.google.api.HttpRule.prototype.setPatch=function(n){return s.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearPatch=function(){return s.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPatch=function(){return s.Message.getField(this,6)!=null},proto.google.api.HttpRule.prototype.getCustom=function(){return s.Message.getWrapperField(this,proto.google.api.CustomHttpPattern,8)},proto.google.api.HttpRule.prototype.setCustom=function(n){return s.Message.setOneofWrapperField(this,8,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearCustom=function(){return this.setCustom(void 0)},proto.google.api.HttpRule.prototype.hasCustom=function(){return s.Message.getField(this,8)!=null},proto.google.api.HttpRule.prototype.getBody=function(){return s.Message.getFieldWithDefault(this,7,"")},proto.google.api.HttpRule.prototype.setBody=function(n){return s.Message.setProto3StringField(this,7,n)},proto.google.api.HttpRule.prototype.getResponseBody=function(){return s.Message.getFieldWithDefault(this,12,"")},proto.google.api.HttpRule.prototype.setResponseBody=function(n){return s.Message.setProto3StringField(this,12,n)},proto.google.api.HttpRule.prototype.getAdditionalBindingsList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,11)},proto.google.api.HttpRule.prototype.setAdditionalBindingsList=function(n){return s.Message.setRepeatedWrapperField(this,11,n)},proto.google.api.HttpRule.prototype.addAdditionalBindings=function(n,g){return s.Message.addToRepeatedWrapperField(this,11,n,proto.google.api.HttpRule,g)},proto.google.api.HttpRule.prototype.clearAdditionalBindingsList=function(){return this.setAdditionalBindingsList([])},s.Message.GENERATE_TO_OBJECT&&(proto.google.api.CustomHttpPattern.prototype.toObject=function(n){return proto.google.api.CustomHttpPattern.toObject(n,this)},proto.google.api.CustomHttpPattern.toObject=function(n,g){var p={kind:s.Message.getFieldWithDefault(g,1,""),path:s.Message.getFieldWithDefault(g,2,"")};return n&&(p.$jspbMessageInstance=g),p}),proto.google.api.CustomHttpPattern.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.api.CustomHttpPattern;return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(p,g)},proto.google.api.CustomHttpPattern.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setKind(p);break;case 2:p=g.readString(),n.setPath(p);break;default:g.skipField()}return n},proto.google.api.CustomHttpPattern.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.api.CustomHttpPattern.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getKind()).length>0&&g.writeString(1,p),(p=n.getPath()).length>0&&g.writeString(2,p)},proto.google.api.CustomHttpPattern.prototype.getKind=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.api.CustomHttpPattern.prototype.setKind=function(n){return s.Message.setProto3StringField(this,1,n)},proto.google.api.CustomHttpPattern.prototype.getPath=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.api.CustomHttpPattern.prototype.setPath=function(n){return s.Message.setProto3StringField(this,2,n)},o.object.extend(e,proto.google.api)},743:(t,e,r)=>{var s=r(19),o=function(){return this||window||o||self||Function("return this")()}.call(null);s.exportSymbol("proto.google.rpc.Code",null,o),proto.google.rpc.Code={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,UNAUTHENTICATED:16,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15},s.object.extend(e,proto.google.rpc)},34:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(302);o.object.extend(proto,n),o.exportSymbol("proto.google.rpc.Status",null,i),proto.google.rpc.Status=function(g){s.Message.initialize(this,g,0,-1,proto.google.rpc.Status.repeatedFields_,null)},o.inherits(proto.google.rpc.Status,s.Message),o.DEBUG&&!COMPILED&&(proto.google.rpc.Status.displayName="proto.google.rpc.Status"),proto.google.rpc.Status.repeatedFields_=[3],s.Message.GENERATE_TO_OBJECT&&(proto.google.rpc.Status.prototype.toObject=function(g){return proto.google.rpc.Status.toObject(g,this)},proto.google.rpc.Status.toObject=function(g,p){var l={code:s.Message.getFieldWithDefault(p,1,0),message:s.Message.getFieldWithDefault(p,2,""),detailsList:s.Message.toObjectList(p.getDetailsList(),n.Any.toObject,g)};return g&&(l.$jspbMessageInstance=p),l}),proto.google.rpc.Status.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.google.rpc.Status;return proto.google.rpc.Status.deserializeBinaryFromReader(l,p)},proto.google.rpc.Status.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:var l=p.readInt32();g.setCode(l);break;case 2:l=p.readString(),g.setMessage(l);break;case 3:l=new n.Any,p.readMessage(l,n.Any.deserializeBinaryFromReader),g.addDetails(l);break;default:p.skipField()}return g},proto.google.rpc.Status.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.google.rpc.Status.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.google.rpc.Status.serializeBinaryToWriter=function(g,p){var l=void 0;(l=g.getCode())!==0&&p.writeInt32(1,l),(l=g.getMessage()).length>0&&p.writeString(2,l),(l=g.getDetailsList()).length>0&&p.writeRepeatedMessage(3,l,n.Any.serializeBinaryToWriter)},proto.google.rpc.Status.prototype.getCode=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.google.rpc.Status.prototype.setCode=function(g){return s.Message.setProto3IntField(this,1,g)},proto.google.rpc.Status.prototype.getMessage=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.rpc.Status.prototype.setMessage=function(g){return s.Message.setProto3StringField(this,2,g)},proto.google.rpc.Status.prototype.getDetailsList=function(){return s.Message.getRepeatedWrapperField(this,n.Any,3)},proto.google.rpc.Status.prototype.setDetailsList=function(g){return s.Message.setRepeatedWrapperField(this,3,g)},proto.google.rpc.Status.prototype.addDetails=function(g,p){return s.Message.addToRepeatedWrapperField(this,3,g,proto.google.protobuf.Any,p)},proto.google.rpc.Status.prototype.clearDetailsList=function(){return this.setDetailsList([])},o.object.extend(e,proto.google.rpc)},165:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(80);o.object.extend(proto,n),o.exportSymbol("proto.proto.rpc.v1.AuthenticateRequest",null,i),o.exportSymbol("proto.proto.rpc.v1.AuthenticateResponse",null,i),o.exportSymbol("proto.proto.rpc.v1.AuthenticateToRequest",null,i),o.exportSymbol("proto.proto.rpc.v1.AuthenticateToResponse",null,i),o.exportSymbol("proto.proto.rpc.v1.Credentials",null,i),proto.proto.rpc.v1.Credentials=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.Credentials,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.Credentials.displayName="proto.proto.rpc.v1.Credentials"),proto.proto.rpc.v1.AuthenticateRequest=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.AuthenticateRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.AuthenticateRequest.displayName="proto.proto.rpc.v1.AuthenticateRequest"),proto.proto.rpc.v1.AuthenticateResponse=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.AuthenticateResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.AuthenticateResponse.displayName="proto.proto.rpc.v1.AuthenticateResponse"),proto.proto.rpc.v1.AuthenticateToRequest=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.AuthenticateToRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.AuthenticateToRequest.displayName="proto.proto.rpc.v1.AuthenticateToRequest"),proto.proto.rpc.v1.AuthenticateToResponse=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.AuthenticateToResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.AuthenticateToResponse.displayName="proto.proto.rpc.v1.AuthenticateToResponse"),s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.Credentials.prototype.toObject=function(g){return proto.proto.rpc.v1.Credentials.toObject(g,this)},proto.proto.rpc.v1.Credentials.toObject=function(g,p){var l={type:s.Message.getFieldWithDefault(p,1,""),payload:s.Message.getFieldWithDefault(p,2,"")};return g&&(l.$jspbMessageInstance=p),l}),proto.proto.rpc.v1.Credentials.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.Credentials;return proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:var l=p.readString();g.setType(l);break;case 2:l=p.readString(),g.setPayload(l);break;default:p.skipField()}return g},proto.proto.rpc.v1.Credentials.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.Credentials.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.Credentials.serializeBinaryToWriter=function(g,p){var l=void 0;(l=g.getType()).length>0&&p.writeString(1,l),(l=g.getPayload()).length>0&&p.writeString(2,l)},proto.proto.rpc.v1.Credentials.prototype.getType=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.Credentials.prototype.setType=function(g){return s.Message.setProto3StringField(this,1,g)},proto.proto.rpc.v1.Credentials.prototype.getPayload=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.proto.rpc.v1.Credentials.prototype.setPayload=function(g){return s.Message.setProto3StringField(this,2,g)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.AuthenticateRequest.prototype.toObject=function(g){return proto.proto.rpc.v1.AuthenticateRequest.toObject(g,this)},proto.proto.rpc.v1.AuthenticateRequest.toObject=function(g,p){var l,u={entity:s.Message.getFieldWithDefault(p,1,""),credentials:(l=p.getCredentials())&&proto.proto.rpc.v1.Credentials.toObject(g,l)};return g&&(u.$jspbMessageInstance=p),u}),proto.proto.rpc.v1.AuthenticateRequest.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.AuthenticateRequest;return proto.proto.rpc.v1.AuthenticateRequest.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.AuthenticateRequest.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:var l=p.readString();g.setEntity(l);break;case 2:l=new proto.proto.rpc.v1.Credentials,p.readMessage(l,proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader),g.setCredentials(l);break;default:p.skipField()}return g},proto.proto.rpc.v1.AuthenticateRequest.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.AuthenticateRequest.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.AuthenticateRequest.serializeBinaryToWriter=function(g,p){var l=void 0;(l=g.getEntity()).length>0&&p.writeString(1,l),(l=g.getCredentials())!=null&&p.writeMessage(2,l,proto.proto.rpc.v1.Credentials.serializeBinaryToWriter)},proto.proto.rpc.v1.AuthenticateRequest.prototype.getEntity=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.AuthenticateRequest.prototype.setEntity=function(g){return s.Message.setProto3StringField(this,1,g)},proto.proto.rpc.v1.AuthenticateRequest.prototype.getCredentials=function(){return s.Message.getWrapperField(this,proto.proto.rpc.v1.Credentials,2)},proto.proto.rpc.v1.AuthenticateRequest.prototype.setCredentials=function(g){return s.Message.setWrapperField(this,2,g)},proto.proto.rpc.v1.AuthenticateRequest.prototype.clearCredentials=function(){return this.setCredentials(void 0)},proto.proto.rpc.v1.AuthenticateRequest.prototype.hasCredentials=function(){return s.Message.getField(this,2)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.AuthenticateResponse.prototype.toObject=function(g){return proto.proto.rpc.v1.AuthenticateResponse.toObject(g,this)},proto.proto.rpc.v1.AuthenticateResponse.toObject=function(g,p){var l={accessToken:s.Message.getFieldWithDefault(p,1,"")};return g&&(l.$jspbMessageInstance=p),l}),proto.proto.rpc.v1.AuthenticateResponse.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.AuthenticateResponse;return proto.proto.rpc.v1.AuthenticateResponse.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.AuthenticateResponse.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)if(p.getFieldNumber()===1){var l=p.readString();g.setAccessToken(l)}else p.skipField();return g},proto.proto.rpc.v1.AuthenticateResponse.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.AuthenticateResponse.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.AuthenticateResponse.serializeBinaryToWriter=function(g,p){var l;(l=g.getAccessToken()).length>0&&p.writeString(1,l)},proto.proto.rpc.v1.AuthenticateResponse.prototype.getAccessToken=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.AuthenticateResponse.prototype.setAccessToken=function(g){return s.Message.setProto3StringField(this,1,g)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.AuthenticateToRequest.prototype.toObject=function(g){return proto.proto.rpc.v1.AuthenticateToRequest.toObject(g,this)},proto.proto.rpc.v1.AuthenticateToRequest.toObject=function(g,p){var l={entity:s.Message.getFieldWithDefault(p,1,"")};return g&&(l.$jspbMessageInstance=p),l}),proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.AuthenticateToRequest;return proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)if(p.getFieldNumber()===1){var l=p.readString();g.setEntity(l)}else p.skipField();return g},proto.proto.rpc.v1.AuthenticateToRequest.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.AuthenticateToRequest.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.AuthenticateToRequest.serializeBinaryToWriter=function(g,p){var l;(l=g.getEntity()).length>0&&p.writeString(1,l)},proto.proto.rpc.v1.AuthenticateToRequest.prototype.getEntity=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.AuthenticateToRequest.prototype.setEntity=function(g){return s.Message.setProto3StringField(this,1,g)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.AuthenticateToResponse.prototype.toObject=function(g){return proto.proto.rpc.v1.AuthenticateToResponse.toObject(g,this)},proto.proto.rpc.v1.AuthenticateToResponse.toObject=function(g,p){var l={accessToken:s.Message.getFieldWithDefault(p,1,"")};return g&&(l.$jspbMessageInstance=p),l}),proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.AuthenticateToResponse;return proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)if(p.getFieldNumber()===1){var l=p.readString();g.setAccessToken(l)}else p.skipField();return g},proto.proto.rpc.v1.AuthenticateToResponse.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.AuthenticateToResponse.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.AuthenticateToResponse.serializeBinaryToWriter=function(g,p){var l;(l=g.getAccessToken()).length>0&&p.writeString(1,l)},proto.proto.rpc.v1.AuthenticateToResponse.prototype.getAccessToken=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.AuthenticateToResponse.prototype.setAccessToken=function(g){return s.Message.setProto3StringField(this,1,g)},o.object.extend(e,proto.proto.rpc.v1)},400:(t,e,r)=>{var s=r(165),o=r(37).grpc,i=function(){function l(){}return l.serviceName="proto.rpc.v1.AuthService",l}();function n(l,u){this.serviceHost=l,this.options=u||{}}i.Authenticate={methodName:"Authenticate",service:i,requestStream:!1,responseStream:!1,requestType:s.AuthenticateRequest,responseType:s.AuthenticateResponse},e.AuthService=i,n.prototype.authenticate=function(l,u,c){arguments.length===2&&(c=arguments[1]);var y=o.unary(i.Authenticate,{request:l,host:this.serviceHost,metadata:u,transport:this.options.transport,debug:this.options.debug,onEnd:function(m){if(c)if(m.status!==o.Code.OK){var h=new Error(m.statusMessage);h.code=m.status,h.metadata=m.trailers,c(h,null)}else c(null,m.message)}});return{cancel:function(){c=null,y.close()}}},e.AuthServiceClient=n;var g=function(){function l(){}return l.serviceName="proto.rpc.v1.ExternalAuthService",l}();function p(l,u){this.serviceHost=l,this.options=u||{}}g.AuthenticateTo={methodName:"AuthenticateTo",service:g,requestStream:!1,responseStream:!1,requestType:s.AuthenticateToRequest,responseType:s.AuthenticateToResponse},e.ExternalAuthService=g,p.prototype.authenticateTo=function(l,u,c){arguments.length===2&&(c=arguments[1]);var y=o.unary(g.AuthenticateTo,{request:l,host:this.serviceHost,metadata:u,transport:this.options.transport,debug:this.options.debug,onEnd:function(m){if(c)if(m.status!==o.Code.OK){var h=new Error(m.statusMessage);h.code=m.status,h.metadata=m.trailers,c(h,null)}else c(null,m.message)}});return{cancel:function(){c=null,y.close()}}},e.ExternalAuthServiceClient=p},210:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(867);o.object.extend(proto,n);var g=r(34);o.object.extend(proto,g),o.exportSymbol("proto.proto.rpc.webrtc.v1.Metadata",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.PacketMessage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Request",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Request.TypeCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.RequestHeaders",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.RequestMessage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Response",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Response.TypeCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ResponseHeaders",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ResponseMessage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ResponseTrailers",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Stream",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Strings",null,i),proto.proto.rpc.webrtc.v1.PacketMessage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.PacketMessage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.PacketMessage.displayName="proto.proto.rpc.webrtc.v1.PacketMessage"),proto.proto.rpc.webrtc.v1.Stream=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.Stream,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Stream.displayName="proto.proto.rpc.webrtc.v1.Stream"),proto.proto.rpc.webrtc.v1.Request=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.Request.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.Request,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Request.displayName="proto.proto.rpc.webrtc.v1.Request"),proto.proto.rpc.webrtc.v1.RequestHeaders=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.RequestHeaders,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.RequestHeaders.displayName="proto.proto.rpc.webrtc.v1.RequestHeaders"),proto.proto.rpc.webrtc.v1.RequestMessage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.RequestMessage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.RequestMessage.displayName="proto.proto.rpc.webrtc.v1.RequestMessage"),proto.proto.rpc.webrtc.v1.Response=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.Response.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.Response,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Response.displayName="proto.proto.rpc.webrtc.v1.Response"),proto.proto.rpc.webrtc.v1.ResponseHeaders=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.ResponseHeaders,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ResponseHeaders.displayName="proto.proto.rpc.webrtc.v1.ResponseHeaders"),proto.proto.rpc.webrtc.v1.ResponseMessage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.ResponseMessage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ResponseMessage.displayName="proto.proto.rpc.webrtc.v1.ResponseMessage"),proto.proto.rpc.webrtc.v1.ResponseTrailers=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.ResponseTrailers,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ResponseTrailers.displayName="proto.proto.rpc.webrtc.v1.ResponseTrailers"),proto.proto.rpc.webrtc.v1.Strings=function(p){s.Message.initialize(this,p,0,-1,proto.proto.rpc.webrtc.v1.Strings.repeatedFields_,null)},o.inherits(proto.proto.rpc.webrtc.v1.Strings,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Strings.displayName="proto.proto.rpc.webrtc.v1.Strings"),proto.proto.rpc.webrtc.v1.Metadata=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.Metadata,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Metadata.displayName="proto.proto.rpc.webrtc.v1.Metadata"),s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.PacketMessage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.PacketMessage.toObject(p,this)},proto.proto.rpc.webrtc.v1.PacketMessage.toObject=function(p,l){var u={data:l.getData_asB64(),eom:s.Message.getBooleanFieldWithDefault(l,2,!1)};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.PacketMessage;return proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readBytes();p.setData(u);break;case 2:u=l.readBool(),p.setEom(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.PacketMessage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.PacketMessage.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getData_asU8()).length>0&&l.writeBytes(1,u),(u=p.getEom())&&l.writeBool(2,u)},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.getData=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.getData_asB64=function(){return s.Message.bytesAsB64(this.getData())},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.getData_asU8=function(){return s.Message.bytesAsU8(this.getData())},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.setData=function(p){return s.Message.setProto3BytesField(this,1,p)},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.getEom=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.setEom=function(p){return s.Message.setProto3BooleanField(this,2,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Stream.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Stream.toObject(p,this)},proto.proto.rpc.webrtc.v1.Stream.toObject=function(p,l){var u={id:s.Message.getFieldWithDefault(l,1,0)};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.Stream.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Stream;return proto.proto.rpc.webrtc.v1.Stream.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Stream.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=l.readUint64();p.setId(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.Stream.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Stream.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Stream.serializeBinaryToWriter=function(p,l){var u;(u=p.getId())!==0&&l.writeUint64(1,u)},proto.proto.rpc.webrtc.v1.Stream.prototype.getId=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.proto.rpc.webrtc.v1.Stream.prototype.setId=function(p){return s.Message.setProto3IntField(this,1,p)},proto.proto.rpc.webrtc.v1.Request.oneofGroups_=[[2,3,4]],proto.proto.rpc.webrtc.v1.Request.TypeCase={TYPE_NOT_SET:0,HEADERS:2,MESSAGE:3,RST_STREAM:4},proto.proto.rpc.webrtc.v1.Request.prototype.getTypeCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Request.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Request.toObject(p,this)},proto.proto.rpc.webrtc.v1.Request.toObject=function(p,l){var u,c={stream:(u=l.getStream())&&proto.proto.rpc.webrtc.v1.Stream.toObject(p,u),headers:(u=l.getHeaders())&&proto.proto.rpc.webrtc.v1.RequestHeaders.toObject(p,u),message:(u=l.getMessage())&&proto.proto.rpc.webrtc.v1.RequestMessage.toObject(p,u),rstStream:s.Message.getBooleanFieldWithDefault(l,4,!1)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.Request.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Request;return proto.proto.rpc.webrtc.v1.Request.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Request.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=new proto.proto.rpc.webrtc.v1.Stream;l.readMessage(u,proto.proto.rpc.webrtc.v1.Stream.deserializeBinaryFromReader),p.setStream(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.RequestHeaders,l.readMessage(u,proto.proto.rpc.webrtc.v1.RequestHeaders.deserializeBinaryFromReader),p.setHeaders(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.RequestMessage,l.readMessage(u,proto.proto.rpc.webrtc.v1.RequestMessage.deserializeBinaryFromReader),p.setMessage(u);break;case 4:u=l.readBool(),p.setRstStream(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.Request.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Request.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Request.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getStream())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.Stream.serializeBinaryToWriter),(u=p.getHeaders())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.RequestHeaders.serializeBinaryToWriter),(u=p.getMessage())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.RequestMessage.serializeBinaryToWriter),(u=s.Message.getField(p,4))!=null&&l.writeBool(4,u)},proto.proto.rpc.webrtc.v1.Request.prototype.getStream=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Stream,1)},proto.proto.rpc.webrtc.v1.Request.prototype.setStream=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.Request.prototype.clearStream=function(){return this.setStream(void 0)},proto.proto.rpc.webrtc.v1.Request.prototype.hasStream=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.Request.prototype.getHeaders=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.RequestHeaders,2)},proto.proto.rpc.webrtc.v1.Request.prototype.setHeaders=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Request.prototype.clearHeaders=function(){return this.setHeaders(void 0)},proto.proto.rpc.webrtc.v1.Request.prototype.hasHeaders=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.Request.prototype.getMessage=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.RequestMessage,3)},proto.proto.rpc.webrtc.v1.Request.prototype.setMessage=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Request.prototype.clearMessage=function(){return this.setMessage(void 0)},proto.proto.rpc.webrtc.v1.Request.prototype.hasMessage=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.Request.prototype.getRstStream=function(){return s.Message.getBooleanFieldWithDefault(this,4,!1)},proto.proto.rpc.webrtc.v1.Request.prototype.setRstStream=function(p){return s.Message.setOneofField(this,4,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Request.prototype.clearRstStream=function(){return s.Message.setOneofField(this,4,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0],void 0)},proto.proto.rpc.webrtc.v1.Request.prototype.hasRstStream=function(){return s.Message.getField(this,4)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.RequestHeaders.toObject(p,this)},proto.proto.rpc.webrtc.v1.RequestHeaders.toObject=function(p,l){var u,c={method:s.Message.getFieldWithDefault(l,1,""),metadata:(u=l.getMetadata())&&proto.proto.rpc.webrtc.v1.Metadata.toObject(p,u),timeout:(u=l.getTimeout())&&n.Duration.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.RequestHeaders.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.RequestHeaders;return proto.proto.rpc.webrtc.v1.RequestHeaders.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.RequestHeaders.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setMethod(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.Metadata,l.readMessage(u,proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader),p.setMetadata(u);break;case 3:u=new n.Duration,l.readMessage(u,n.Duration.deserializeBinaryFromReader),p.setTimeout(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.RequestHeaders.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.RequestHeaders.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getMethod()).length>0&&l.writeString(1,u),(u=p.getMetadata())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter),(u=p.getTimeout())!=null&&l.writeMessage(3,u,n.Duration.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.getMethod=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.setMethod=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.getMetadata=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Metadata,2)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.setMetadata=function(p){return s.Message.setWrapperField(this,2,p)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.clearMetadata=function(){return this.setMetadata(void 0)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.hasMetadata=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.getTimeout=function(){return s.Message.getWrapperField(this,n.Duration,3)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.setTimeout=function(p){return s.Message.setWrapperField(this,3,p)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.clearTimeout=function(){return this.setTimeout(void 0)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.hasTimeout=function(){return s.Message.getField(this,3)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.RequestMessage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.RequestMessage.toObject(p,this)},proto.proto.rpc.webrtc.v1.RequestMessage.toObject=function(p,l){var u,c={hasMessage:s.Message.getBooleanFieldWithDefault(l,1,!1),packetMessage:(u=l.getPacketMessage())&&proto.proto.rpc.webrtc.v1.PacketMessage.toObject(p,u),eos:s.Message.getBooleanFieldWithDefault(l,3,!1)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.RequestMessage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.RequestMessage;return proto.proto.rpc.webrtc.v1.RequestMessage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.RequestMessage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readBool();p.setHasMessage(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.PacketMessage,l.readMessage(u,proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinaryFromReader),p.setPacketMessage(u);break;case 3:u=l.readBool(),p.setEos(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.RequestMessage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.RequestMessage.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getHasMessage())&&l.writeBool(1,u),(u=p.getPacketMessage())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.PacketMessage.serializeBinaryToWriter),(u=p.getEos())&&l.writeBool(3,u)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.getHasMessage=function(){return s.Message.getBooleanFieldWithDefault(this,1,!1)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.setHasMessage=function(p){return s.Message.setProto3BooleanField(this,1,p)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.getPacketMessage=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.PacketMessage,2)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.setPacketMessage=function(p){return s.Message.setWrapperField(this,2,p)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.clearPacketMessage=function(){return this.setPacketMessage(void 0)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.hasPacketMessage=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.getEos=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.setEos=function(p){return s.Message.setProto3BooleanField(this,3,p)},proto.proto.rpc.webrtc.v1.Response.oneofGroups_=[[2,3,4]],proto.proto.rpc.webrtc.v1.Response.TypeCase={TYPE_NOT_SET:0,HEADERS:2,MESSAGE:3,TRAILERS:4},proto.proto.rpc.webrtc.v1.Response.prototype.getTypeCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.Response.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Response.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Response.toObject(p,this)},proto.proto.rpc.webrtc.v1.Response.toObject=function(p,l){var u,c={stream:(u=l.getStream())&&proto.proto.rpc.webrtc.v1.Stream.toObject(p,u),headers:(u=l.getHeaders())&&proto.proto.rpc.webrtc.v1.ResponseHeaders.toObject(p,u),message:(u=l.getMessage())&&proto.proto.rpc.webrtc.v1.ResponseMessage.toObject(p,u),trailers:(u=l.getTrailers())&&proto.proto.rpc.webrtc.v1.ResponseTrailers.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.Response.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Response;return proto.proto.rpc.webrtc.v1.Response.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Response.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=new proto.proto.rpc.webrtc.v1.Stream;l.readMessage(u,proto.proto.rpc.webrtc.v1.Stream.deserializeBinaryFromReader),p.setStream(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.ResponseHeaders,l.readMessage(u,proto.proto.rpc.webrtc.v1.ResponseHeaders.deserializeBinaryFromReader),p.setHeaders(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.ResponseMessage,l.readMessage(u,proto.proto.rpc.webrtc.v1.ResponseMessage.deserializeBinaryFromReader),p.setMessage(u);break;case 4:u=new proto.proto.rpc.webrtc.v1.ResponseTrailers,l.readMessage(u,proto.proto.rpc.webrtc.v1.ResponseTrailers.deserializeBinaryFromReader),p.setTrailers(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.Response.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Response.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Response.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getStream())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.Stream.serializeBinaryToWriter),(u=p.getHeaders())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.ResponseHeaders.serializeBinaryToWriter),(u=p.getMessage())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.ResponseMessage.serializeBinaryToWriter),(u=p.getTrailers())!=null&&l.writeMessage(4,u,proto.proto.rpc.webrtc.v1.ResponseTrailers.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.Response.prototype.getStream=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Stream,1)},proto.proto.rpc.webrtc.v1.Response.prototype.setStream=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.Response.prototype.clearStream=function(){return this.setStream(void 0)},proto.proto.rpc.webrtc.v1.Response.prototype.hasStream=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.Response.prototype.getHeaders=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ResponseHeaders,2)},proto.proto.rpc.webrtc.v1.Response.prototype.setHeaders=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.Response.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Response.prototype.clearHeaders=function(){return this.setHeaders(void 0)},proto.proto.rpc.webrtc.v1.Response.prototype.hasHeaders=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.Response.prototype.getMessage=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ResponseMessage,3)},proto.proto.rpc.webrtc.v1.Response.prototype.setMessage=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.Response.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Response.prototype.clearMessage=function(){return this.setMessage(void 0)},proto.proto.rpc.webrtc.v1.Response.prototype.hasMessage=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.Response.prototype.getTrailers=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ResponseTrailers,4)},proto.proto.rpc.webrtc.v1.Response.prototype.setTrailers=function(p){return s.Message.setOneofWrapperField(this,4,proto.proto.rpc.webrtc.v1.Response.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Response.prototype.clearTrailers=function(){return this.setTrailers(void 0)},proto.proto.rpc.webrtc.v1.Response.prototype.hasTrailers=function(){return s.Message.getField(this,4)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ResponseHeaders.toObject(p,this)},proto.proto.rpc.webrtc.v1.ResponseHeaders.toObject=function(p,l){var u,c={metadata:(u=l.getMetadata())&&proto.proto.rpc.webrtc.v1.Metadata.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.ResponseHeaders.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ResponseHeaders;return proto.proto.rpc.webrtc.v1.ResponseHeaders.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ResponseHeaders.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.Metadata;l.readMessage(u,proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader),p.setMetadata(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ResponseHeaders.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ResponseHeaders.serializeBinaryToWriter=function(p,l){var u;(u=p.getMetadata())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.getMetadata=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Metadata,1)},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.setMetadata=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.clearMetadata=function(){return this.setMetadata(void 0)},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.hasMetadata=function(){return s.Message.getField(this,1)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ResponseMessage.toObject(p,this)},proto.proto.rpc.webrtc.v1.ResponseMessage.toObject=function(p,l){var u,c={packetMessage:(u=l.getPacketMessage())&&proto.proto.rpc.webrtc.v1.PacketMessage.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.ResponseMessage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ResponseMessage;return proto.proto.rpc.webrtc.v1.ResponseMessage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ResponseMessage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.PacketMessage;l.readMessage(u,proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinaryFromReader),p.setPacketMessage(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ResponseMessage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ResponseMessage.serializeBinaryToWriter=function(p,l){var u;(u=p.getPacketMessage())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.PacketMessage.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.getPacketMessage=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.PacketMessage,1)},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.setPacketMessage=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.clearPacketMessage=function(){return this.setPacketMessage(void 0)},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.hasPacketMessage=function(){return s.Message.getField(this,1)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ResponseTrailers.toObject(p,this)},proto.proto.rpc.webrtc.v1.ResponseTrailers.toObject=function(p,l){var u,c={status:(u=l.getStatus())&&g.Status.toObject(p,u),metadata:(u=l.getMetadata())&&proto.proto.rpc.webrtc.v1.Metadata.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.ResponseTrailers.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ResponseTrailers;return proto.proto.rpc.webrtc.v1.ResponseTrailers.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ResponseTrailers.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=new g.Status;l.readMessage(u,g.Status.deserializeBinaryFromReader),p.setStatus(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.Metadata,l.readMessage(u,proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader),p.setMetadata(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ResponseTrailers.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ResponseTrailers.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getStatus())!=null&&l.writeMessage(1,u,g.Status.serializeBinaryToWriter),(u=p.getMetadata())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.getStatus=function(){return s.Message.getWrapperField(this,g.Status,1)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.setStatus=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.clearStatus=function(){return this.setStatus(void 0)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.hasStatus=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.getMetadata=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Metadata,2)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.setMetadata=function(p){return s.Message.setWrapperField(this,2,p)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.clearMetadata=function(){return this.setMetadata(void 0)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.hasMetadata=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.Strings.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Strings.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Strings.toObject(p,this)},proto.proto.rpc.webrtc.v1.Strings.toObject=function(p,l){var u,c={valuesList:(u=s.Message.getRepeatedField(l,1))==null?void 0:u};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.Strings.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Strings;return proto.proto.rpc.webrtc.v1.Strings.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Strings.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=l.readString();p.addValues(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.Strings.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Strings.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Strings.serializeBinaryToWriter=function(p,l){var u;(u=p.getValuesList()).length>0&&l.writeRepeatedString(1,u)},proto.proto.rpc.webrtc.v1.Strings.prototype.getValuesList=function(){return s.Message.getRepeatedField(this,1)},proto.proto.rpc.webrtc.v1.Strings.prototype.setValuesList=function(p){return s.Message.setField(this,1,p||[])},proto.proto.rpc.webrtc.v1.Strings.prototype.addValues=function(p,l){return s.Message.addToRepeatedField(this,1,p,l)},proto.proto.rpc.webrtc.v1.Strings.prototype.clearValuesList=function(){return this.setValuesList([])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Metadata.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Metadata.toObject(p,this)},proto.proto.rpc.webrtc.v1.Metadata.toObject=function(p,l){var u,c={mdMap:(u=l.getMdMap())?u.toObject(p,proto.proto.rpc.webrtc.v1.Strings.toObject):[]};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.Metadata.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Metadata;return proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=p.getMdMap();l.readMessage(u,function(c,y){s.Map.deserializeBinary(c,y,s.BinaryReader.prototype.readString,s.BinaryReader.prototype.readMessage,proto.proto.rpc.webrtc.v1.Strings.deserializeBinaryFromReader,"",new proto.proto.rpc.webrtc.v1.Strings)})}else l.skipField();return p},proto.proto.rpc.webrtc.v1.Metadata.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getMdMap(!0))&&u.getLength()>0&&u.serializeBinary(1,l,s.BinaryWriter.prototype.writeString,s.BinaryWriter.prototype.writeMessage,proto.proto.rpc.webrtc.v1.Strings.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.Metadata.prototype.getMdMap=function(p){return s.Message.getMapField(this,1,p,proto.proto.rpc.webrtc.v1.Strings)},proto.proto.rpc.webrtc.v1.Metadata.prototype.clearMdMap=function(){return this.getMdMap().clear(),this},o.object.extend(e,proto.proto.rpc.webrtc.v1)},982:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(80);o.object.extend(proto,n);var g=r(34);o.object.extend(proto,g),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequest",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequest.StageCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequestInitStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponse",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponse.StageCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponseInitStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallRequest",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallResponse",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallResponse.StageCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallResponseInitStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallResponseUpdateStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallUpdateRequest",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallUpdateRequest.UpdateCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallUpdateResponse",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ICECandidate",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ICEServer",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.WebRTCConfig",null,i),proto.proto.rpc.webrtc.v1.ICECandidate=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.ICECandidate,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ICECandidate.displayName="proto.proto.rpc.webrtc.v1.ICECandidate"),proto.proto.rpc.webrtc.v1.CallRequest=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.CallRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallRequest.displayName="proto.proto.rpc.webrtc.v1.CallRequest"),proto.proto.rpc.webrtc.v1.CallResponseInitStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.CallResponseInitStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallResponseInitStage.displayName="proto.proto.rpc.webrtc.v1.CallResponseInitStage"),proto.proto.rpc.webrtc.v1.CallResponseUpdateStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.CallResponseUpdateStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.displayName="proto.proto.rpc.webrtc.v1.CallResponseUpdateStage"),proto.proto.rpc.webrtc.v1.CallResponse=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.CallResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallResponse.displayName="proto.proto.rpc.webrtc.v1.CallResponse"),proto.proto.rpc.webrtc.v1.CallUpdateRequest=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.CallUpdateRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallUpdateRequest.displayName="proto.proto.rpc.webrtc.v1.CallUpdateRequest"),proto.proto.rpc.webrtc.v1.CallUpdateResponse=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.CallUpdateResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallUpdateResponse.displayName="proto.proto.rpc.webrtc.v1.CallUpdateResponse"),proto.proto.rpc.webrtc.v1.ICEServer=function(p){s.Message.initialize(this,p,0,-1,proto.proto.rpc.webrtc.v1.ICEServer.repeatedFields_,null)},o.inherits(proto.proto.rpc.webrtc.v1.ICEServer,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ICEServer.displayName="proto.proto.rpc.webrtc.v1.ICEServer"),proto.proto.rpc.webrtc.v1.WebRTCConfig=function(p){s.Message.initialize(this,p,0,-1,proto.proto.rpc.webrtc.v1.WebRTCConfig.repeatedFields_,null)},o.inherits(proto.proto.rpc.webrtc.v1.WebRTCConfig,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.WebRTCConfig.displayName="proto.proto.rpc.webrtc.v1.WebRTCConfig"),proto.proto.rpc.webrtc.v1.AnswerRequestInitStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequestInitStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.displayName="proto.proto.rpc.webrtc.v1.AnswerRequestInitStage"),proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.displayName="proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage"),proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.displayName="proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage"),proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.displayName="proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage"),proto.proto.rpc.webrtc.v1.AnswerRequest=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequest.displayName="proto.proto.rpc.webrtc.v1.AnswerRequest"),proto.proto.rpc.webrtc.v1.AnswerResponseInitStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponseInitStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.displayName="proto.proto.rpc.webrtc.v1.AnswerResponseInitStage"),proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.displayName="proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage"),proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.displayName="proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage"),proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.displayName="proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage"),proto.proto.rpc.webrtc.v1.AnswerResponse=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponse.displayName="proto.proto.rpc.webrtc.v1.AnswerResponse"),proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.displayName="proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest"),proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.displayName="proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse"),s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ICECandidate.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,this)},proto.proto.rpc.webrtc.v1.ICECandidate.toObject=function(p,l){var u={candidate:s.Message.getFieldWithDefault(l,1,""),sdpMid:s.Message.getFieldWithDefault(l,2,""),sdpmLineIndex:s.Message.getFieldWithDefault(l,3,0),usernameFragment:s.Message.getFieldWithDefault(l,4,"")};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ICECandidate;return proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setCandidate(u);break;case 2:u=l.readString(),p.setSdpMid(u);break;case 3:u=l.readUint32(),p.setSdpmLineIndex(u);break;case 4:u=l.readString(),p.setUsernameFragment(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getCandidate()).length>0&&l.writeString(1,u),(u=s.Message.getField(p,2))!=null&&l.writeString(2,u),(u=s.Message.getField(p,3))!=null&&l.writeUint32(3,u),(u=s.Message.getField(p,4))!=null&&l.writeString(4,u)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.getCandidate=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.setCandidate=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.getSdpMid=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.setSdpMid=function(p){return s.Message.setField(this,2,p)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.clearSdpMid=function(){return s.Message.setField(this,2,void 0)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.hasSdpMid=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.getSdpmLineIndex=function(){return s.Message.getFieldWithDefault(this,3,0)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.setSdpmLineIndex=function(p){return s.Message.setField(this,3,p)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.clearSdpmLineIndex=function(){return s.Message.setField(this,3,void 0)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.hasSdpmLineIndex=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.getUsernameFragment=function(){return s.Message.getFieldWithDefault(this,4,"")},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.setUsernameFragment=function(p){return s.Message.setField(this,4,p)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.clearUsernameFragment=function(){return s.Message.setField(this,4,void 0)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.hasUsernameFragment=function(){return s.Message.getField(this,4)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallRequest.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallRequest.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallRequest.toObject=function(p,l){var u={sdp:s.Message.getFieldWithDefault(l,1,""),disableTrickle:s.Message.getBooleanFieldWithDefault(l,2,!1)};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.CallRequest.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallRequest;return proto.proto.rpc.webrtc.v1.CallRequest.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallRequest.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setSdp(u);break;case 2:u=l.readBool(),p.setDisableTrickle(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.CallRequest.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallRequest.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getSdp()).length>0&&l.writeString(1,u),(u=p.getDisableTrickle())&&l.writeBool(2,u)},proto.proto.rpc.webrtc.v1.CallRequest.prototype.getSdp=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.CallRequest.prototype.setSdp=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.CallRequest.prototype.getDisableTrickle=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.proto.rpc.webrtc.v1.CallRequest.prototype.setDisableTrickle=function(p){return s.Message.setProto3BooleanField(this,2,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallResponseInitStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallResponseInitStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallResponseInitStage.toObject=function(p,l){var u={sdp:s.Message.getFieldWithDefault(l,1,"")};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.CallResponseInitStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallResponseInitStage;return proto.proto.rpc.webrtc.v1.CallResponseInitStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallResponseInitStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=l.readString();p.setSdp(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.CallResponseInitStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallResponseInitStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallResponseInitStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getSdp()).length>0&&l.writeString(1,u)},proto.proto.rpc.webrtc.v1.CallResponseInitStage.prototype.getSdp=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.CallResponseInitStage.prototype.setSdp=function(p){return s.Message.setProto3StringField(this,1,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.toObject=function(p,l){var u,c={candidate:(u=l.getCandidate())&&proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallResponseUpdateStage;return proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.ICECandidate;l.readMessage(u,proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader),p.setCandidate(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getCandidate())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.getCandidate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ICECandidate,1)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.setCandidate=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.clearCandidate=function(){return this.setCandidate(void 0)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.hasCandidate=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_=[[2,3]],proto.proto.rpc.webrtc.v1.CallResponse.StageCase={STAGE_NOT_SET:0,INIT:2,UPDATE:3},proto.proto.rpc.webrtc.v1.CallResponse.prototype.getStageCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallResponse.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallResponse.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallResponse.toObject=function(p,l){var u,c={uuid:s.Message.getFieldWithDefault(l,1,""),init:(u=l.getInit())&&proto.proto.rpc.webrtc.v1.CallResponseInitStage.toObject(p,u),update:(u=l.getUpdate())&&proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.CallResponse.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallResponse;return proto.proto.rpc.webrtc.v1.CallResponse.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallResponse.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setUuid(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.CallResponseInitStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.CallResponseInitStage.deserializeBinaryFromReader),p.setInit(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.CallResponseUpdateStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.deserializeBinaryFromReader),p.setUpdate(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.CallResponse.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallResponse.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUuid()).length>0&&l.writeString(1,u),(u=p.getInit())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.CallResponseInitStage.serializeBinaryToWriter),(u=p.getUpdate())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.getUuid=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.CallResponse.prototype.setUuid=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.getInit=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.CallResponseInitStage,2)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.setInit=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.clearInit=function(){return this.setInit(void 0)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.hasInit=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.CallResponse.prototype.getUpdate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.CallResponseUpdateStage,3)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.setUpdate=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.clearUpdate=function(){return this.setUpdate(void 0)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.hasUpdate=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_=[[2,3,4]],proto.proto.rpc.webrtc.v1.CallUpdateRequest.UpdateCase={UPDATE_NOT_SET:0,CANDIDATE:2,DONE:3,ERROR:4},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getUpdateCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallUpdateRequest.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.toObject=function(p,l){var u,c={uuid:s.Message.getFieldWithDefault(l,1,""),candidate:(u=l.getCandidate())&&proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,u),done:s.Message.getBooleanFieldWithDefault(l,3,!1),error:(u=l.getError())&&g.Status.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.CallUpdateRequest.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallUpdateRequest;return proto.proto.rpc.webrtc.v1.CallUpdateRequest.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setUuid(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.ICECandidate,l.readMessage(u,proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader),p.setCandidate(u);break;case 3:u=l.readBool(),p.setDone(u);break;case 4:u=new g.Status,l.readMessage(u,g.Status.deserializeBinaryFromReader),p.setError(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallUpdateRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallUpdateRequest.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUuid()).length>0&&l.writeString(1,u),(u=p.getCandidate())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter),(u=s.Message.getField(p,3))!=null&&l.writeBool(3,u),(u=p.getError())!=null&&l.writeMessage(4,u,g.Status.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getUuid=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.setUuid=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getCandidate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ICECandidate,2)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.setCandidate=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.clearCandidate=function(){return this.setCandidate(void 0)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.hasCandidate=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getDone=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.setDone=function(p){return s.Message.setOneofField(this,3,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.clearDone=function(){return s.Message.setOneofField(this,3,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0],void 0)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.hasDone=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getError=function(){return s.Message.getWrapperField(this,g.Status,4)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.setError=function(p){return s.Message.setOneofWrapperField(this,4,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.clearError=function(){return this.setError(void 0)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.hasError=function(){return s.Message.getField(this,4)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallUpdateResponse.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallUpdateResponse.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallUpdateResponse.toObject=function(p,l){var u={};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.CallUpdateResponse.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallUpdateResponse;return proto.proto.rpc.webrtc.v1.CallUpdateResponse.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallUpdateResponse.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)l.getFieldNumber(),l.skipField();return p},proto.proto.rpc.webrtc.v1.CallUpdateResponse.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallUpdateResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallUpdateResponse.serializeBinaryToWriter=function(p,l){},proto.proto.rpc.webrtc.v1.ICEServer.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ICEServer.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ICEServer.toObject(p,this)},proto.proto.rpc.webrtc.v1.ICEServer.toObject=function(p,l){var u,c={urlsList:(u=s.Message.getRepeatedField(l,1))==null?void 0:u,username:s.Message.getFieldWithDefault(l,2,""),credential:s.Message.getFieldWithDefault(l,3,"")};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.ICEServer.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ICEServer;return proto.proto.rpc.webrtc.v1.ICEServer.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ICEServer.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.addUrls(u);break;case 2:u=l.readString(),p.setUsername(u);break;case 3:u=l.readString(),p.setCredential(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.ICEServer.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ICEServer.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ICEServer.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUrlsList()).length>0&&l.writeRepeatedString(1,u),(u=p.getUsername()).length>0&&l.writeString(2,u),(u=p.getCredential()).length>0&&l.writeString(3,u)},proto.proto.rpc.webrtc.v1.ICEServer.prototype.getUrlsList=function(){return s.Message.getRepeatedField(this,1)},proto.proto.rpc.webrtc.v1.ICEServer.prototype.setUrlsList=function(p){return s.Message.setField(this,1,p||[])},proto.proto.rpc.webrtc.v1.ICEServer.prototype.addUrls=function(p,l){return s.Message.addToRepeatedField(this,1,p,l)},proto.proto.rpc.webrtc.v1.ICEServer.prototype.clearUrlsList=function(){return this.setUrlsList([])},proto.proto.rpc.webrtc.v1.ICEServer.prototype.getUsername=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.proto.rpc.webrtc.v1.ICEServer.prototype.setUsername=function(p){return s.Message.setProto3StringField(this,2,p)},proto.proto.rpc.webrtc.v1.ICEServer.prototype.getCredential=function(){return s.Message.getFieldWithDefault(this,3,"")},proto.proto.rpc.webrtc.v1.ICEServer.prototype.setCredential=function(p){return s.Message.setProto3StringField(this,3,p)},proto.proto.rpc.webrtc.v1.WebRTCConfig.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.WebRTCConfig.toObject(p,this)},proto.proto.rpc.webrtc.v1.WebRTCConfig.toObject=function(p,l){var u={additionalIceServersList:s.Message.toObjectList(l.getAdditionalIceServersList(),proto.proto.rpc.webrtc.v1.ICEServer.toObject,p),disableTrickle:s.Message.getBooleanFieldWithDefault(l,2,!1)};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.WebRTCConfig;return proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=new proto.proto.rpc.webrtc.v1.ICEServer;l.readMessage(u,proto.proto.rpc.webrtc.v1.ICEServer.deserializeBinaryFromReader),p.addAdditionalIceServers(u);break;case 2:u=l.readBool(),p.setDisableTrickle(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.WebRTCConfig.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.WebRTCConfig.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getAdditionalIceServersList()).length>0&&l.writeRepeatedMessage(1,u,proto.proto.rpc.webrtc.v1.ICEServer.serializeBinaryToWriter),(u=p.getDisableTrickle())&&l.writeBool(2,u)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.getAdditionalIceServersList=function(){return s.Message.getRepeatedWrapperField(this,proto.proto.rpc.webrtc.v1.ICEServer,1)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.setAdditionalIceServersList=function(p){return s.Message.setRepeatedWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.addAdditionalIceServers=function(p,l){return s.Message.addToRepeatedWrapperField(this,1,p,proto.proto.rpc.webrtc.v1.ICEServer,l)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.clearAdditionalIceServersList=function(){return this.setAdditionalIceServersList([])},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.getDisableTrickle=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.setDisableTrickle=function(p){return s.Message.setProto3BooleanField(this,2,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.toObject=function(p,l){var u,c={sdp:s.Message.getFieldWithDefault(l,1,""),optionalConfig:(u=l.getOptionalConfig())&&proto.proto.rpc.webrtc.v1.WebRTCConfig.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequestInitStage;return proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setSdp(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.WebRTCConfig,l.readMessage(u,proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinaryFromReader),p.setOptionalConfig(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getSdp()).length>0&&l.writeString(1,u),(u=p.getOptionalConfig())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.WebRTCConfig.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.getSdp=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.setSdp=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.getOptionalConfig=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.WebRTCConfig,2)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.setOptionalConfig=function(p){return s.Message.setWrapperField(this,2,p)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.clearOptionalConfig=function(){return this.setOptionalConfig(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.hasOptionalConfig=function(){return s.Message.getField(this,2)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.toObject=function(p,l){var u,c={candidate:(u=l.getCandidate())&&proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage;return proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.ICECandidate;l.readMessage(u,proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader),p.setCandidate(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getCandidate())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.getCandidate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ICECandidate,1)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.setCandidate=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.clearCandidate=function(){return this.setCandidate(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.hasCandidate=function(){return s.Message.getField(this,1)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.toObject=function(p,l){var u={};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage;return proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)l.getFieldNumber(),l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.serializeBinaryToWriter=function(p,l){},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.toObject=function(p,l){var u,c={status:(u=l.getStatus())&&g.Status.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage;return proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new g.Status;l.readMessage(u,g.Status.deserializeBinaryFromReader),p.setStatus(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getStatus())!=null&&l.writeMessage(1,u,g.Status.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.getStatus=function(){return s.Message.getWrapperField(this,g.Status,1)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.setStatus=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.clearStatus=function(){return this.setStatus(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.hasStatus=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_=[[2,3,4,5]],proto.proto.rpc.webrtc.v1.AnswerRequest.StageCase={STAGE_NOT_SET:0,INIT:2,UPDATE:3,DONE:4,ERROR:5},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getStageCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequest.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequest.toObject=function(p,l){var u,c={uuid:s.Message.getFieldWithDefault(l,1,""),init:(u=l.getInit())&&proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.toObject(p,u),update:(u=l.getUpdate())&&proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.toObject(p,u),done:(u=l.getDone())&&proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.toObject(p,u),error:(u=l.getError())&&proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerRequest.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequest;return proto.proto.rpc.webrtc.v1.AnswerRequest.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequest.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setUuid(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.AnswerRequestInitStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.deserializeBinaryFromReader),p.setInit(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.deserializeBinaryFromReader),p.setUpdate(u);break;case 4:u=new proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.deserializeBinaryFromReader),p.setDone(u);break;case 5:u=new proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.deserializeBinaryFromReader),p.setError(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequest.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUuid()).length>0&&l.writeString(1,u),(u=p.getInit())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.serializeBinaryToWriter),(u=p.getUpdate())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.serializeBinaryToWriter),(u=p.getDone())!=null&&l.writeMessage(4,u,proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.serializeBinaryToWriter),(u=p.getError())!=null&&l.writeMessage(5,u,proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getUuid=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setUuid=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getInit=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerRequestInitStage,2)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setInit=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.clearInit=function(){return this.setInit(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.hasInit=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getUpdate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage,3)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setUpdate=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.clearUpdate=function(){return this.setUpdate(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.hasUpdate=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getDone=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage,4)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setDone=function(p){return s.Message.setOneofWrapperField(this,4,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.clearDone=function(){return this.setDone(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.hasDone=function(){return s.Message.getField(this,4)!=null},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getError=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage,5)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setError=function(p){return s.Message.setOneofWrapperField(this,5,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.clearError=function(){return this.setError(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.hasError=function(){return s.Message.getField(this,5)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.toObject=function(p,l){var u={sdp:s.Message.getFieldWithDefault(l,1,"")};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponseInitStage;return proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=l.readString();p.setSdp(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getSdp()).length>0&&l.writeString(1,u)},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.prototype.getSdp=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.prototype.setSdp=function(p){return s.Message.setProto3StringField(this,1,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.toObject=function(p,l){var u,c={candidate:(u=l.getCandidate())&&proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage;return proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.ICECandidate;l.readMessage(u,proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader),p.setCandidate(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getCandidate())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.getCandidate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ICECandidate,1)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.setCandidate=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.clearCandidate=function(){return this.setCandidate(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.hasCandidate=function(){return s.Message.getField(this,1)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.toObject=function(p,l){var u={};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage;return proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)l.getFieldNumber(),l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.serializeBinaryToWriter=function(p,l){},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.toObject=function(p,l){var u,c={status:(u=l.getStatus())&&g.Status.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage;return proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new g.Status;l.readMessage(u,g.Status.deserializeBinaryFromReader),p.setStatus(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getStatus())!=null&&l.writeMessage(1,u,g.Status.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.getStatus=function(){return s.Message.getWrapperField(this,g.Status,1)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.setStatus=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.clearStatus=function(){return this.setStatus(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.hasStatus=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_=[[2,3,4,5]],proto.proto.rpc.webrtc.v1.AnswerResponse.StageCase={STAGE_NOT_SET:0,INIT:2,UPDATE:3,DONE:4,ERROR:5},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getStageCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponse.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponse.toObject=function(p,l){var u,c={uuid:s.Message.getFieldWithDefault(l,1,""),init:(u=l.getInit())&&proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.toObject(p,u),update:(u=l.getUpdate())&&proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.toObject(p,u),done:(u=l.getDone())&&proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.toObject(p,u),error:(u=l.getError())&&proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerResponse.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponse;return proto.proto.rpc.webrtc.v1.AnswerResponse.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponse.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setUuid(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.AnswerResponseInitStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.deserializeBinaryFromReader),p.setInit(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.deserializeBinaryFromReader),p.setUpdate(u);break;case 4:u=new proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.deserializeBinaryFromReader),p.setDone(u);break;case 5:u=new proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.deserializeBinaryFromReader),p.setError(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponse.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUuid()).length>0&&l.writeString(1,u),(u=p.getInit())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.serializeBinaryToWriter),(u=p.getUpdate())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.serializeBinaryToWriter),(u=p.getDone())!=null&&l.writeMessage(4,u,proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.serializeBinaryToWriter),(u=p.getError())!=null&&l.writeMessage(5,u,proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getUuid=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setUuid=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getInit=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerResponseInitStage,2)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setInit=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.clearInit=function(){return this.setInit(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.hasInit=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getUpdate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage,3)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setUpdate=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.clearUpdate=function(){return this.setUpdate(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.hasUpdate=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getDone=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage,4)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setDone=function(p){return s.Message.setOneofWrapperField(this,4,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.clearDone=function(){return this.setDone(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.hasDone=function(){return s.Message.getField(this,4)!=null},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getError=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage,5)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setError=function(p){return s.Message.setOneofWrapperField(this,5,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.clearError=function(){return this.setError(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.hasError=function(){return s.Message.getField(this,5)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.toObject(p,this)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.toObject=function(p,l){var u={};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest;return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)l.getFieldNumber(),l.skipField();return p},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.serializeBinaryToWriter=function(p,l){},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.toObject(p,this)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.toObject=function(p,l){var u,c={config:(u=l.getConfig())&&proto.proto.rpc.webrtc.v1.WebRTCConfig.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse;return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.WebRTCConfig;l.readMessage(u,proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinaryFromReader),p.setConfig(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.serializeBinaryToWriter=function(p,l){var u;(u=p.getConfig())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.WebRTCConfig.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.getConfig=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.WebRTCConfig,1)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.setConfig=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.clearConfig=function(){return this.setConfig(void 0)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.hasConfig=function(){return s.Message.getField(this,1)!=null},o.object.extend(e,proto.proto.rpc.webrtc.v1)},958:(t,e,r)=>{var s=r(982),o=r(37).grpc,i=function(){function g(){}return g.serviceName="proto.rpc.webrtc.v1.SignalingService",g}();function n(g,p){this.serviceHost=g,this.options=p||{}}i.Call={methodName:"Call",service:i,requestStream:!1,responseStream:!0,requestType:s.CallRequest,responseType:s.CallResponse},i.CallUpdate={methodName:"CallUpdate",service:i,requestStream:!1,responseStream:!1,requestType:s.CallUpdateRequest,responseType:s.CallUpdateResponse},i.Answer={methodName:"Answer",service:i,requestStream:!0,responseStream:!0,requestType:s.AnswerResponse,responseType:s.AnswerRequest},i.OptionalWebRTCConfig={methodName:"OptionalWebRTCConfig",service:i,requestStream:!1,responseStream:!1,requestType:s.OptionalWebRTCConfigRequest,responseType:s.OptionalWebRTCConfigResponse},e.SignalingService=i,n.prototype.call=function(g,p){var l={data:[],end:[],status:[]},u=o.invoke(i.Call,{request:g,host:this.serviceHost,metadata:p,transport:this.options.transport,debug:this.options.debug,onMessage:function(c){l.data.forEach(function(y){y(c)})},onEnd:function(c,y,m){l.status.forEach(function(h){h({code:c,details:y,metadata:m})}),l.end.forEach(function(h){h({code:c,details:y,metadata:m})}),l=null}});return{on:function(c,y){return l[c].push(y),this},cancel:function(){l=null,u.close()}}},n.prototype.callUpdate=function(g,p,l){arguments.length===2&&(l=arguments[1]);var u=o.unary(i.CallUpdate,{request:g,host:this.serviceHost,metadata:p,transport:this.options.transport,debug:this.options.debug,onEnd:function(c){if(l)if(c.status!==o.Code.OK){var y=new Error(c.statusMessage);y.code=c.status,y.metadata=c.trailers,l(y,null)}else l(null,c.message)}});return{cancel:function(){l=null,u.close()}}},n.prototype.answer=function(g){var p={data:[],end:[],status:[]},l=o.client(i.Answer,{host:this.serviceHost,metadata:g,transport:this.options.transport});return l.onEnd(function(u,c,y){p.status.forEach(function(m){m({code:u,details:c,metadata:y})}),p.end.forEach(function(m){m({code:u,details:c,metadata:y})}),p=null}),l.onMessage(function(u){p.data.forEach(function(c){c(u)})}),l.start(g),{on:function(u,c){return p[u].push(c),this},write:function(u){return l.send(u),this},end:function(){l.finishSend()},cancel:function(){p=null,l.close()}}},n.prototype.optionalWebRTCConfig=function(g,p,l){arguments.length===2&&(l=arguments[1]);var u=o.unary(i.OptionalWebRTCConfig,{request:g,host:this.serviceHost,metadata:p,transport:this.options.transport,debug:this.options.debug,onEnd:function(c){if(l)if(c.status!==o.Code.OK){var y=new Error(c.statusMessage);y.code=c.status,y.metadata=c.trailers,l(y,null)}else l(null,c.message)}});return{cancel:function(){l=null,u.close()}}},e.SignalingServiceClient=n}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(e!==void 0)return e.exports;var r=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{var t=__webpack_exports__;Object.defineProperty(t,"X$",{value:!0}),t.o=t.iJ=t.WP=t.ry=void 0;var e=__webpack_require__(512);Object.defineProperty(t,"ry",{enumerable:!0,get:function(){return e.dialDirect}}),Object.defineProperty(t,"WP",{enumerable:!0,get:function(){return e.dialWebRTC}});var r=__webpack_require__(758);Object.defineProperty(t,"iJ",{enumerable:!0,get:function(){return r.ConnectionClosedError}}),Object.defineProperty(t,"o",{enumerable:!0,get:function(){return r.GRPCError}})})(),__webpack_exports__.iJ,__webpack_exports__.o,__webpack_exports__.X$;var __webpack_exports__dialDirect=__webpack_exports__.ry,__webpack_exports__dialWebRTC=__webpack_exports__.WP,commonjsGlobal$A=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},arm_pb$1={},googleProtobuf$A={};(function(exports){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(t,e,r){t instanceof String&&(t=String(t));for(var s=t.length,o=0;o<s;o++){var i=t[o];if(e.call(r,i,o,t))return{i:o,v:i}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(t,e,r){t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},$jscomp.getGlobal=function(t){return typeof window<"u"&&window===t?t:typeof commonjsGlobal$A<"u"&&commonjsGlobal$A!=null?commonjsGlobal$A:t},$jscomp.global=$jscomp.getGlobal(commonjsGlobal$A),$jscomp.polyfill=function(t,e,r,s){if(e){for(r=$jscomp.global,t=t.split("."),s=0;s<t.length-1;s++){var o=t[s];o in r||(r[o]={}),r=r[o]}t=t[t.length-1],s=r[t],e=e(s),e!=s&&e!=null&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},$jscomp.polyfill("Array.prototype.findIndex",function(t){return t||function(e,r){return $jscomp.findInternal(this,e,r).i}},"es6","es3"),$jscomp.checkStringArgs=function(t,e,r){if(t==null)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},$jscomp.polyfill("String.prototype.endsWith",function(t){return t||function(e,r){var s=$jscomp.checkStringArgs(this,e,"endsWith");e+="",r===void 0&&(r=s.length),r=Math.max(0,Math.min(r|0,s.length));for(var o=e.length;0<o&&0<r;)if(s[--r]!=e[--o])return!1;return 0>=o}},"es6","es3"),$jscomp.polyfill("Array.prototype.find",function(t){return t||function(e,r){return $jscomp.findInternal(this,e,r).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(t){return t||function(e,r){var s=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var o=s.length,i=e.length;r=Math.max(0,Math.min(r|0,s.length));for(var n=0;n<i&&r<o;)if(s[r++]!=e[n++])return!1;return n>=i}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(t){return t||function(e){var r=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var s="";e;)e&1&&(s+=r),(e>>>=1)&&(r+=r);return s}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=commonjsGlobal$A||self,goog.exportPath_=function(t,e,r){t=t.split("."),r=r||goog.global,t[0]in r||typeof r.execScript>"u"||r.execScript("var "+t[0]);for(var s;t.length&&(s=t.shift());)t.length||e===void 0?r=r[s]&&r[s]!==Object.prototype[s]?r[s]:r[s]={}:r[s]=e},goog.define=function(t,e){return e},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(t){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(t)},goog.constructNamespace_=function(t,e){goog.exportPath_(t,e)},goog.getScriptNonce=function(t){return t&&t!=goog.global?goog.getScriptNonce_(t.document):(goog.cspNonce_===null&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(t){return(t=t.querySelector&&t.querySelector("script[nonce]"))&&(t=t.nonce||t.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(t)?t:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(t){if(typeof t!="string"||!t||t.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+t+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=t},goog.module.get=function(t){return goog.module.getInternal_(t)},goog.module.getInternal_=function(t){return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var t=goog.global.$jscomp;return t?typeof t.getCurrentModulePath!="function"?!1:!!t.getCurrentModulePath():!1},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(t){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=t;else{var e=goog.global.$jscomp;if(!e||typeof e.getCurrentModulePath!="function")throw Error('Module with namespace "'+t+'" has been loaded incorrectly.');e=e.require(e.getCurrentModulePath()),goog.loadedModules_[t]={exports:e,type:goog.ModuleType.ES6,moduleId:t}}},goog.setTestOnly=function(t){if(goog.DISALLOW_TEST_ONLY_CODE)throw t=t||"",Error("Importing test-only code into non-debug environment"+(t?": "+t:"."))},goog.forwardDeclare=function(t){},goog.getObjectByName=function(t,e){t=t.split("."),e=e||goog.global;for(var r=0;r<t.length;r++)if(e=e[t[r]],e==null)return null;return e},goog.globalize=function(t,e){e=e||goog.global;for(var r in t)e[r]=t[r]},goog.addDependency=function(t,e,r,s){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(t){goog.global.console&&goog.global.console.error(t)},goog.require=function(t){},goog.requireType=function(t){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(t){t.instance_=void 0,t.getInstance=function(){return t.instance_?t.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=t),t.instance_=new t)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(goog.hasBadLetScoping==null){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(t){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(t){return"(function(){"+t+`
10
+ `)}),l(I)}(b),E=new ArrayBuffer(S.length+5);new DataView(E,0,1).setUint8(0,128),new DataView(E,1,4).setUint32(0,S.length,!1),new Uint8Array(E,5).set(S),this.opts.onChunk(new Uint8Array(E)),f!==0?this.closeWithRecvError(new n.GRPCError(f,d)):this.closeWithRecvError()}}),m}(i.BaseStream);function l(y){for(var m,h,f=new Uint8Array(y.length),d=0;d!==y.length;++d){var b=y.charCodeAt(d);if(!((m=h=b)===9||m===10||m===13||h>=32&&h<=126))throw new Error("Metadata contains invalid ASCII");f[d]=b}return f}e.ClientStream=p,e.encodeASCII=l;var u=function(y){if(y){var m=new g.Metadata,h=m.getMdMap();if(y.forEach(function(f,d){var b=new g.Strings;b.setValuesList(d),h.set(f,b)}),m.getMdMap().getLength()!==0)return m}},c=function(y){var m=new o.grpc.Metadata;return y&&y.getMdMap().forEach(function(h,f){return m.append(f,h.getValuesList())}),m}},512:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.dialWebRTC=e.dialDirect=void 0;var s=r(655),o=r(37),i=r(138),n=r(758),g=r(743),p=r(34),l=r(165),u=r(400),c=r(982),y=r(958),m=r(93);function h(v,S){return s.__awaiter(this,void 0,void 0,function(){var E,_;return s.__generator(this,function(I){return b(S),E=function(w){return o.grpc.CrossBrowserHttpTransport({withCredentials:!1})(w)},!S?.accessToken||S?.externalAuthAddress&&S?.externalAuthToEntity?S?.credentials?[2,f(v,E,S)]:[2,E]:((_=new o.grpc.Metadata).set("authorization","Bearer ".concat(S.accessToken)),[2,function(w){return new d(w,E,_)}])})})}function f(v,S,E){return s.__awaiter(this,void 0,void 0,function(){var _,I,w,A=this;return s.__generator(this,function(B){switch(B.label){case 0:return _="",I=function(){return s.__awaiter(A,void 0,void 0,function(){var F,P,V,X,M,O,j,R,T,N;return s.__generator(this,function(D){switch(D.label){case 0:return _!=""?[3,5]:(F="",E?.accessToken==""?[3,2]:((j=new l.AuthenticateRequest).setEntity(E?.authEntity?E.authEntity:v.replace(/^(.*:\/\/)/,"")),(X=new l.Credentials).setType((T=E?.credentials)===null||T===void 0?void 0:T.type),X.setPayload((N=E?.credentials)===null||N===void 0?void 0:N.payload),j.setCredentials(X),O=new Promise(function(L,U){P=L,V=U}),o.grpc.invoke(u.AuthService.Authenticate,{request:j,host:E?.externalAuthAddress?E.externalAuthAddress:v,transport:S,onMessage:function(L){F=L.getAccessToken()},onEnd:function(L,U,G){L==o.grpc.Code.OK?P(R):V(U)}}),[4,O]));case 1:return D.sent(),[3,3];case 2:F=E.accessToken,D.label=3;case 3:return _=F,E?.externalAuthAddress&&E?.externalAuthToEntity?((M=new o.grpc.Metadata).set("authorization","Bearer ".concat(_)),O=new Promise(function(L,U){P=L,V=U}),F="",(j=new l.AuthenticateToRequest).setEntity(E.externalAuthToEntity),o.grpc.invoke(u.ExternalAuthService.AuthenticateTo,{request:j,host:E.externalAuthAddress,transport:S,metadata:M,onMessage:function(L){F=L.getAccessToken()},onEnd:function(L,U,G){L==o.grpc.Code.OK?P(M):V(U)}}),[4,O]):[3,5];case 4:D.sent(),_=F,D.label=5;case 5:return(R=new o.grpc.Metadata).set("authorization","Bearer ".concat(_)),[2,R]}})})},[4,I()];case 1:return w=B.sent(),[2,function(F){return new d(F,S,w)}]}})})}e.dialDirect=h;var d=function(){function v(S,E,_){Object.defineProperty(this,"opts",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"transport",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"extraMetadata",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this.opts=S,this.extraMetadata=_,this.transport=E(S)}return Object.defineProperty(v.prototype,"start",{enumerable:!1,configurable:!0,writable:!0,value:function(S){this.extraMetadata.forEach(function(E,_){S.set(E,_)}),this.transport.start(S)}}),Object.defineProperty(v.prototype,"sendMessage",{enumerable:!1,configurable:!0,writable:!0,value:function(S){this.transport.sendMessage(S)}}),Object.defineProperty(v.prototype,"finishSend",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.transport.finishSend()}}),Object.defineProperty(v.prototype,"cancel",{enumerable:!1,configurable:!0,writable:!0,value:function(){this.transport.cancel()}}),v}();function b(v){var S;if(v){if(v.accessToken&&v.accessToken.length>0){if(v.authEntity)throw new Error("cannot set authEntity with accessToken");if(v.credentials)throw new Error("cannot set credentials with accessToken");if(v.externalAuthAddress)throw new Error("cannot set externalAuthAddress with accessToken");if(v.externalAuthToEntity)throw new Error("cannot set externalAuthToEntity with accessToken");if(v.webrtcOptions){if(v.webrtcOptions.signalingAccessToken)throw new Error("cannot set webrtcOptions.signalingAccessToken with accessToken");if(v.webrtcOptions.signalingAuthEntity)throw new Error("cannot set webrtcOptions.signalingAuthEntity with accessToken");if(v.webrtcOptions.signalingCredentials)throw new Error("cannot set webrtcOptions.signalingCredentials with accessToken");if(v.webrtcOptions.signalingExternalAuthAddress)throw new Error("cannot set webrtcOptions.signalingExternalAuthAddress with accessToken");if(v.webrtcOptions.signalingExternalAuthToEntity)throw new Error("cannot set webrtcOptions.signalingExternalAuthToEntity with accessToken")}}if(((S=v?.webrtcOptions)===null||S===void 0?void 0:S.signalingAccessToken)&&v.webrtcOptions.signalingAccessToken.length>0){if(v.webrtcOptions.signalingAuthEntity)throw new Error("cannot set webrtcOptions.signalingAuthEntity with webrtcOptions.signalingAccessToken");if(v.webrtcOptions.signalingCredentials)throw new Error("cannot set webrtcOptions.signalingCredentials with webrtcOptions.signalingAccessToken")}}}e.dialWebRTC=function(v,S,E){var _,I,w,A,B,F,P;return s.__awaiter(this,void 0,void 0,function(){var V,X,M,O,j,R,T,N,D,L,U,G,C,x,z,Z,ee,re,se,ie,ge,ne,pe,ae,le=this;return s.__generator(this,function($){switch($.label){case 0:return b(E),V=E?.webrtcOptions,[4,(0,m.newPeerConnectionForClient)(V!==void 0&&V.disableTrickleICE,V?.rtcConfig)];case 1:X=$.sent(),M=X.pc,O=X.dc,j=!1,$.label=2;case 2:return $.trys.push([2,,9,10]),R=E,E&&(R=s.__assign({},E),E.accessToken||(R.authEntity=(_=E?.webrtcOptions)===null||_===void 0?void 0:_.signalingAuthEntity,R.authEntity||(R.externalAuthAddress?R.authEntity=(I=E.externalAuthAddress)===null||I===void 0?void 0:I.replace(/^(.*:\/\/)/,""):R.authEntity=v.replace(/^(.*:\/\/)/,"")),R.credentials=(w=E?.webrtcOptions)===null||w===void 0?void 0:w.signalingCredentials,R.externalAuthAddress=(A=E?.webrtcOptions)===null||A===void 0?void 0:A.signalingExternalAuthAddress,R.externalAuthToEntity=(B=E?.webrtcOptions)===null||B===void 0?void 0:B.signalingExternalAuthToEntity,R.accessToken=(F=E?.webrtcOptions)===null||F===void 0?void 0:F.signalingAccessToken)),[4,h(v,R)];case 3:return T=$.sent(),N=o.grpc.client(y.SignalingService.Call,{host:v,transport:T}),D="",L=!1,U=function(k){if(!L){L=!0;var W=new c.CallUpdateRequest;W.setUuid(D);var Y=new p.Status;Y.setCode(g.Code.UNKNOWN),Y.setMessage(k),W.setError(Y),o.grpc.unary(y.SignalingService.CallUpdate,{request:W,metadata:{"rpc-host":S},host:v,transport:T,onEnd:function(q){var H=q.status,K=q.statusMessage,Q=q.message;H===o.grpc.Code.OK&&Q||console.error(K)}})}},G=function(){if(!L){L=!0;var k=new c.CallUpdateRequest;k.setUuid(D),k.setDone(!0),o.grpc.unary(y.SignalingService.CallUpdate,{request:k,metadata:{"rpc-host":S},host:v,transport:T,onEnd:function(W){var Y=W.status,q=W.statusMessage,H=W.message;Y===o.grpc.Code.OK&&H||console.error(q)}})}},x=new Promise(function(k){C=k}),z=!1,V?.disableTrickleICE?[3,6]:[4,M.createOffer()];case 4:return Z=$.sent(),ee=!1,M.onicecandidate=function(k){return s.__awaiter(le,void 0,void 0,function(){var W,Y;return s.__generator(this,function(q){switch(q.label){case 0:return[4,x];case 1:return q.sent(),z?[2]:k.candidate===null?(ee=!0,G(),[2]):(H=k.candidate,(K=new c.ICECandidate).setCandidate(H.candidate),H.sdpMid&&K.setSdpMid(H.sdpMid),H.sdpMLineIndex&&K.setSdpmLineIndex(H.sdpMLineIndex),H.usernameFragment&&K.setUsernameFragment(H.usernameFragment),W=K,(Y=new c.CallUpdateRequest).setUuid(D),Y.setCandidate(W),o.grpc.unary(y.SignalingService.CallUpdate,{request:Y,metadata:{"rpc-host":S},host:v,transport:T,onEnd:function(Q){var te=Q.status,J=Q.statusMessage,oe=Q.message;te===o.grpc.Code.OK&&oe||z||ee||console.error("error sending candidate",J)}}),[2])}var H,K})})},[4,M.setLocalDescription(Z)];case 5:$.sent(),$.label=6;case 6:return re=!1,N.onMessage(function(k){return s.__awaiter(le,void 0,void 0,function(){var W,Y,q,H,K,Q;return s.__generator(this,function(te){switch(te.label){case 0:return(W=k).hasInit()?re?(U("got init stage more than once"),[2]):(Y=W.getInit(),re=!0,D=W.getUuid(),q=new RTCSessionDescription(JSON.parse(atob(Y.getSdp()))),M.setRemoteDescription(q),C(!0),V?.disableTrickleICE?(z=!0,G(),[2]):[3,7]):[3,1];case 1:if(!W.hasUpdate())return[3,6];if(!re)return U("got update stage before init stage"),[2];if(W.getUuid()!==D)return U("uuid mismatch; have=".concat(W.getUuid()," want=").concat(D)),[2];H=W.getUpdate(),J=H.getCandidate(),oe={candidate:J.getCandidate()},J.hasSdpMid()&&(oe.sdpMid=J.getSdpMid()),J.hasSdpmLineIndex()&&(oe.sdpMLineIndex=J.getSdpmLineIndex()),J.hasUsernameFragment()&&(oe.usernameFragment=J.getUsernameFragment()),K=oe,te.label=2;case 2:return te.trys.push([2,4,,5]),[4,M.addIceCandidate(K)];case 3:return te.sent(),[3,5];case 4:return Q=te.sent(),U(JSON.stringify(Q)),[2];case 5:return[3,7];case 6:return U("unknown CallResponse stage"),[2];case 7:return[2]}var J,oe})})}),ge=new Promise(function(k,W){se=k,ie=W}),N.onEnd(function(k,W,Y){k!==o.grpc.Code.OK?W!=="Response closed without headers"?(console.error(W),ie(W)):ie(new n.ConnectionClosedError("failed to dial")):se()}),N.start({"rpc-host":S}),ne=new c.CallRequest,pe=btoa(JSON.stringify(M.localDescription)),ne.setSdp(pe),V&&V.disableTrickleICE&&ne.setDisableTrickle(V.disableTrickleICE),N.send(ne),(ae=new i.ClientChannel(M,O)).ready.then(function(){return se()}).catch(function(k){return ie(k)}),[4,ge];case 7:return $.sent(),[4,ae.ready];case 8:return $.sent(),z=!0,G(),E?.externalAuthAddress||(P=E?.credentials)===null||P===void 0||P.type,j=!0,[2,{transportFactory:ae.transportFactory(),peerConnection:M}];case 9:return j||M.close(),[7];case 10:return[2]}})})}},758:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GRPCError=e.ConnectionClosedError=void 0;var s=r(655),o=function(n){function g(p){var l=n.call(this,p)||this;return Object.setPrototypeOf(l,g.prototype),l}return s.__extends(g,n),Object.defineProperty(g,"isError",{enumerable:!1,configurable:!0,writable:!0,value:function(p){return p instanceof g||(typeof p=="string"?p==="Response closed without headers":p instanceof Error&&p.message==="Response closed without headers")}}),g}(Error);e.ConnectionClosedError=o;var i=function(n){function g(p,l){var u=n.call(this,"Code=".concat(p," Message=").concat(l))||this;return Object.defineProperty(u,"code",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(u,"grpcMessage",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),u.code=p,u.grpcMessage=l,Object.setPrototypeOf(u,g.prototype),u}return s.__extends(g,n),g}(Error);e.GRPCError=i},93:(t,e,r)=>{Object.defineProperty(e,"__esModule",{value:!0}),e.newPeerConnectionForClient=void 0;var s=r(655);e.newPeerConnectionForClient=function(o,i){return s.__awaiter(this,void 0,void 0,function(){var n,g,p,l,u,c,y,m,h=this;return s.__generator(this,function(f){switch(f.label){case 0:return i||(i={iceServers:[{urls:"stun:global.stun.twilio.com:3478?transport=udp"}]}),n=new RTCPeerConnection(i),p=new Promise(function(d){g=d}),(l=n.createDataChannel("data",{id:0,negotiated:!0,ordered:!0})).binaryType="arraybuffer",(u=n.createDataChannel("negotiation",{id:1,negotiated:!0,ordered:!0})).binaryType="arraybuffer",c=!1,u.onopen=function(){c=!0},u.onmessage=function(d){return s.__awaiter(h,void 0,void 0,function(){var b,v;return s.__generator(this,function(S){switch(S.label){case 0:return S.trys.push([0,4,,5]),(b=new RTCSessionDescription(JSON.parse(atob(d.data)))).type==="offer"&&(b||n.signalingState),[4,n.setRemoteDescription(b)];case 1:return S.sent(),b.type!=="offer"?[3,3]:[4,n.setLocalDescription()];case 2:S.sent(),u.send(btoa(JSON.stringify(n.localDescription))),S.label=3;case 3:return[3,5];case 4:return v=S.sent(),console.error(v),[3,5];case 5:return[2]}})})},n.onnegotiationneeded=function(){return s.__awaiter(h,void 0,void 0,function(){var d;return s.__generator(this,function(b){switch(b.label){case 0:if(!c)return[2];b.label=1;case 1:return b.trys.push([1,3,,4]),[4,n.setLocalDescription()];case 2:return b.sent(),u.send(btoa(JSON.stringify(n.localDescription))),[3,4];case 3:return d=b.sent(),console.error(d),[3,4];case 4:return[2]}})})},o?[4,n.createOffer()]:[2,Promise.resolve({pc:n,dc:l})];case 1:y=f.sent(),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,n.setLocalDescription(y)];case 3:return f.sent(),[3,5];case 4:return m=f.sent(),[2,Promise.reject(m)];case 5:return n.onicecandidate=function(d){return s.__awaiter(h,void 0,void 0,function(){return s.__generator(this,function(b){return d.candidate!==null||g({pc:n,dc:l}),[2]})})},[2,p]}})})}},655:(t,e,r)=>{r.r(e),r.d(e,{__assign:()=>i,__asyncDelegator:()=>_,__asyncGenerator:()=>E,__asyncValues:()=>I,__await:()=>S,__awaiter:()=>u,__classPrivateFieldGet:()=>P,__classPrivateFieldIn:()=>X,__classPrivateFieldSet:()=>V,__createBinding:()=>y,__decorate:()=>g,__exportStar:()=>m,__extends:()=>o,__generator:()=>c,__importDefault:()=>F,__importStar:()=>B,__makeTemplateObject:()=>w,__metadata:()=>l,__param:()=>p,__read:()=>f,__rest:()=>n,__spread:()=>d,__spreadArray:()=>v,__spreadArrays:()=>b,__values:()=>h});var s=function(M,O){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(j,R){j.__proto__=R}||function(j,R){for(var T in R)Object.prototype.hasOwnProperty.call(R,T)&&(j[T]=R[T])},s(M,O)};function o(M,O){if(typeof O!="function"&&O!==null)throw new TypeError("Class extends value "+String(O)+" is not a constructor or null");function j(){this.constructor=M}s(M,O),M.prototype=O===null?Object.create(O):(j.prototype=O.prototype,new j)}var i=function(){return i=Object.assign||function(M){for(var O,j=1,R=arguments.length;j<R;j++)for(var T in O=arguments[j])Object.prototype.hasOwnProperty.call(O,T)&&(M[T]=O[T]);return M},i.apply(this,arguments)};function n(M,O){var j={};for(var R in M)Object.prototype.hasOwnProperty.call(M,R)&&O.indexOf(R)<0&&(j[R]=M[R]);if(M!=null&&typeof Object.getOwnPropertySymbols=="function"){var T=0;for(R=Object.getOwnPropertySymbols(M);T<R.length;T++)O.indexOf(R[T])<0&&Object.prototype.propertyIsEnumerable.call(M,R[T])&&(j[R[T]]=M[R[T]])}return j}function g(M,O,j,R){var T,N=arguments.length,D=N<3?O:R===null?R=Object.getOwnPropertyDescriptor(O,j):R;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")D=Reflect.decorate(M,O,j,R);else for(var L=M.length-1;L>=0;L--)(T=M[L])&&(D=(N<3?T(D):N>3?T(O,j,D):T(O,j))||D);return N>3&&D&&Object.defineProperty(O,j,D),D}function p(M,O){return function(j,R){O(j,R,M)}}function l(M,O){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(M,O)}function u(M,O,j,R){return new(j||(j=Promise))(function(T,N){function D(G){try{U(R.next(G))}catch(C){N(C)}}function L(G){try{U(R.throw(G))}catch(C){N(C)}}function U(G){var C;G.done?T(G.value):(C=G.value,C instanceof j?C:new j(function(x){x(C)})).then(D,L)}U((R=R.apply(M,O||[])).next())})}function c(M,O){var j,R,T,N,D={label:0,sent:function(){if(1&T[0])throw T[1];return T[1]},trys:[],ops:[]};return N={next:L(0),throw:L(1),return:L(2)},typeof Symbol=="function"&&(N[Symbol.iterator]=function(){return this}),N;function L(U){return function(G){return function(C){if(j)throw new TypeError("Generator is already executing.");for(;N&&(N=0,C[0]&&(D=0)),D;)try{if(j=1,R&&(T=2&C[0]?R.return:C[0]?R.throw||((T=R.return)&&T.call(R),0):R.next)&&!(T=T.call(R,C[1])).done)return T;switch(R=0,T&&(C=[2&C[0],T.value]),C[0]){case 0:case 1:T=C;break;case 4:return D.label++,{value:C[1],done:!1};case 5:D.label++,R=C[1],C=[0];continue;case 7:C=D.ops.pop(),D.trys.pop();continue;default:if(!((T=(T=D.trys).length>0&&T[T.length-1])||C[0]!==6&&C[0]!==2)){D=0;continue}if(C[0]===3&&(!T||C[1]>T[0]&&C[1]<T[3])){D.label=C[1];break}if(C[0]===6&&D.label<T[1]){D.label=T[1],T=C;break}if(T&&D.label<T[2]){D.label=T[2],D.ops.push(C);break}T[2]&&D.ops.pop(),D.trys.pop();continue}C=O.call(M,D)}catch(x){C=[6,x],R=0}finally{j=T=0}if(5&C[0])throw C[1];return{value:C[0]?C[1]:void 0,done:!0}}([U,G])}}}var y=Object.create?function(M,O,j,R){R===void 0&&(R=j);var T=Object.getOwnPropertyDescriptor(O,j);T&&!("get"in T?!O.__esModule:T.writable||T.configurable)||(T={enumerable:!0,get:function(){return O[j]}}),Object.defineProperty(M,R,T)}:function(M,O,j,R){R===void 0&&(R=j),M[R]=O[j]};function m(M,O){for(var j in M)j==="default"||Object.prototype.hasOwnProperty.call(O,j)||y(O,M,j)}function h(M){var O=typeof Symbol=="function"&&Symbol.iterator,j=O&&M[O],R=0;if(j)return j.call(M);if(M&&typeof M.length=="number")return{next:function(){return M&&R>=M.length&&(M=void 0),{value:M&&M[R++],done:!M}}};throw new TypeError(O?"Object is not iterable.":"Symbol.iterator is not defined.")}function f(M,O){var j=typeof Symbol=="function"&&M[Symbol.iterator];if(!j)return M;var R,T,N=j.call(M),D=[];try{for(;(O===void 0||O-- >0)&&!(R=N.next()).done;)D.push(R.value)}catch(L){T={error:L}}finally{try{R&&!R.done&&(j=N.return)&&j.call(N)}finally{if(T)throw T.error}}return D}function d(){for(var M=[],O=0;O<arguments.length;O++)M=M.concat(f(arguments[O]));return M}function b(){for(var M=0,O=0,j=arguments.length;O<j;O++)M+=arguments[O].length;var R=Array(M),T=0;for(O=0;O<j;O++)for(var N=arguments[O],D=0,L=N.length;D<L;D++,T++)R[T]=N[D];return R}function v(M,O,j){if(j||arguments.length===2)for(var R,T=0,N=O.length;T<N;T++)!R&&T in O||(R||(R=Array.prototype.slice.call(O,0,T)),R[T]=O[T]);return M.concat(R||Array.prototype.slice.call(O))}function S(M){return this instanceof S?(this.v=M,this):new S(M)}function E(M,O,j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var R,T=j.apply(M,O||[]),N=[];return R={},D("next"),D("throw"),D("return"),R[Symbol.asyncIterator]=function(){return this},R;function D(x){T[x]&&(R[x]=function(z){return new Promise(function(Z,ee){N.push([x,z,Z,ee])>1||L(x,z)})})}function L(x,z){try{(Z=T[x](z)).value instanceof S?Promise.resolve(Z.value.v).then(U,G):C(N[0][2],Z)}catch(ee){C(N[0][3],ee)}var Z}function U(x){L("next",x)}function G(x){L("throw",x)}function C(x,z){x(z),N.shift(),N.length&&L(N[0][0],N[0][1])}}function _(M){var O,j;return O={},R("next"),R("throw",function(T){throw T}),R("return"),O[Symbol.iterator]=function(){return this},O;function R(T,N){O[T]=M[T]?function(D){return(j=!j)?{value:S(M[T](D)),done:T==="return"}:N?N(D):D}:N}}function I(M){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var O,j=M[Symbol.asyncIterator];return j?j.call(M):(M=h(M),O={},R("next"),R("throw"),R("return"),O[Symbol.asyncIterator]=function(){return this},O);function R(T){O[T]=M[T]&&function(N){return new Promise(function(D,L){(function(U,G,C,x){Promise.resolve(x).then(function(z){U({value:z,done:C})},G)})(D,L,(N=M[T](N)).done,N.value)})}}}function w(M,O){return Object.defineProperty?Object.defineProperty(M,"raw",{value:O}):M.raw=O,M}var A=Object.create?function(M,O){Object.defineProperty(M,"default",{enumerable:!0,value:O})}:function(M,O){M.default=O};function B(M){if(M&&M.__esModule)return M;var O={};if(M!=null)for(var j in M)j!=="default"&&Object.prototype.hasOwnProperty.call(M,j)&&y(O,M,j);return A(O,M),O}function F(M){return M&&M.__esModule?M:{default:M}}function P(M,O,j,R){if(j==="a"&&!R)throw new TypeError("Private accessor was defined without a getter");if(typeof O=="function"?M!==O||!R:!O.has(M))throw new TypeError("Cannot read private member from an object whose class did not declare it");return j==="m"?R:j==="a"?R.call(M):R?R.value:O.get(M)}function V(M,O,j,R,T){if(R==="m")throw new TypeError("Private method is not writable");if(R==="a"&&!T)throw new TypeError("Private accessor was defined without a setter");if(typeof O=="function"?M!==O||!T:!O.has(M))throw new TypeError("Cannot write private member to an object whose class did not declare it");return R==="a"?T.call(M,j):T?T.value=j:O.set(M,j),j}function X(M,O){if(O===null||typeof O!="object"&&typeof O!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof M=="function"?O===M:M.has(O)}},80:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(11);o.object.extend(proto,n);var g=r(392);o.object.extend(proto,g),o.exportSymbol("proto.google.api.http",null,i),proto.google.api.http=new s.ExtensionFieldInfo(72295728,{http:0},n.HttpRule,n.HttpRule.toObject,0),g.MethodOptions.extensionsBinary[72295728]=new s.ExtensionFieldBinaryInfo(proto.google.api.http,s.BinaryReader.prototype.readMessage,s.BinaryWriter.prototype.writeMessage,n.HttpRule.serializeBinaryToWriter,n.HttpRule.deserializeBinaryFromReader,!1),g.MethodOptions.extensions[72295728]=proto.google.api.http,o.object.extend(e,proto.google.api)},11:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null);o.exportSymbol("proto.google.api.CustomHttpPattern",null,i),o.exportSymbol("proto.google.api.Http",null,i),o.exportSymbol("proto.google.api.HttpRule",null,i),o.exportSymbol("proto.google.api.HttpRule.PatternCase",null,i),proto.google.api.Http=function(n){s.Message.initialize(this,n,0,-1,proto.google.api.Http.repeatedFields_,null)},o.inherits(proto.google.api.Http,s.Message),o.DEBUG&&!COMPILED&&(proto.google.api.Http.displayName="proto.google.api.Http"),proto.google.api.HttpRule=function(n){s.Message.initialize(this,n,0,-1,proto.google.api.HttpRule.repeatedFields_,proto.google.api.HttpRule.oneofGroups_)},o.inherits(proto.google.api.HttpRule,s.Message),o.DEBUG&&!COMPILED&&(proto.google.api.HttpRule.displayName="proto.google.api.HttpRule"),proto.google.api.CustomHttpPattern=function(n){s.Message.initialize(this,n,0,-1,null,null)},o.inherits(proto.google.api.CustomHttpPattern,s.Message),o.DEBUG&&!COMPILED&&(proto.google.api.CustomHttpPattern.displayName="proto.google.api.CustomHttpPattern"),proto.google.api.Http.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.google.api.Http.prototype.toObject=function(n){return proto.google.api.Http.toObject(n,this)},proto.google.api.Http.toObject=function(n,g){var p={rulesList:s.Message.toObjectList(g.getRulesList(),proto.google.api.HttpRule.toObject,n),fullyDecodeReservedExpansion:s.Message.getBooleanFieldWithDefault(g,2,!1)};return n&&(p.$jspbMessageInstance=g),p}),proto.google.api.Http.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.api.Http;return proto.google.api.Http.deserializeBinaryFromReader(p,g)},proto.google.api.Http.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=new proto.google.api.HttpRule;g.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),n.addRules(p);break;case 2:p=g.readBool(),n.setFullyDecodeReservedExpansion(p);break;default:g.skipField()}return n},proto.google.api.Http.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.api.Http.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.api.Http.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getRulesList()).length>0&&g.writeRepeatedMessage(1,p,proto.google.api.HttpRule.serializeBinaryToWriter),(p=n.getFullyDecodeReservedExpansion())&&g.writeBool(2,p)},proto.google.api.Http.prototype.getRulesList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,1)},proto.google.api.Http.prototype.setRulesList=function(n){return s.Message.setRepeatedWrapperField(this,1,n)},proto.google.api.Http.prototype.addRules=function(n,g){return s.Message.addToRepeatedWrapperField(this,1,n,proto.google.api.HttpRule,g)},proto.google.api.Http.prototype.clearRulesList=function(){return this.setRulesList([])},proto.google.api.Http.prototype.getFullyDecodeReservedExpansion=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.google.api.Http.prototype.setFullyDecodeReservedExpansion=function(n){return s.Message.setProto3BooleanField(this,2,n)},proto.google.api.HttpRule.repeatedFields_=[11],proto.google.api.HttpRule.oneofGroups_=[[2,3,4,5,6,8]],proto.google.api.HttpRule.PatternCase={PATTERN_NOT_SET:0,GET:2,PUT:3,POST:4,DELETE:5,PATCH:6,CUSTOM:8},proto.google.api.HttpRule.prototype.getPatternCase=function(){return s.Message.computeOneofCase(this,proto.google.api.HttpRule.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.google.api.HttpRule.prototype.toObject=function(n){return proto.google.api.HttpRule.toObject(n,this)},proto.google.api.HttpRule.toObject=function(n,g){var p,l={selector:s.Message.getFieldWithDefault(g,1,""),get:s.Message.getFieldWithDefault(g,2,""),put:s.Message.getFieldWithDefault(g,3,""),post:s.Message.getFieldWithDefault(g,4,""),pb_delete:s.Message.getFieldWithDefault(g,5,""),patch:s.Message.getFieldWithDefault(g,6,""),custom:(p=g.getCustom())&&proto.google.api.CustomHttpPattern.toObject(n,p),body:s.Message.getFieldWithDefault(g,7,""),responseBody:s.Message.getFieldWithDefault(g,12,""),additionalBindingsList:s.Message.toObjectList(g.getAdditionalBindingsList(),proto.google.api.HttpRule.toObject,n)};return n&&(l.$jspbMessageInstance=g),l}),proto.google.api.HttpRule.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.api.HttpRule;return proto.google.api.HttpRule.deserializeBinaryFromReader(p,g)},proto.google.api.HttpRule.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setSelector(p);break;case 2:p=g.readString(),n.setGet(p);break;case 3:p=g.readString(),n.setPut(p);break;case 4:p=g.readString(),n.setPost(p);break;case 5:p=g.readString(),n.setDelete(p);break;case 6:p=g.readString(),n.setPatch(p);break;case 8:p=new proto.google.api.CustomHttpPattern,g.readMessage(p,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader),n.setCustom(p);break;case 7:p=g.readString(),n.setBody(p);break;case 12:p=g.readString(),n.setResponseBody(p);break;case 11:p=new proto.google.api.HttpRule,g.readMessage(p,proto.google.api.HttpRule.deserializeBinaryFromReader),n.addAdditionalBindings(p);break;default:g.skipField()}return n},proto.google.api.HttpRule.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.api.HttpRule.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.api.HttpRule.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getSelector()).length>0&&g.writeString(1,p),(p=s.Message.getField(n,2))!=null&&g.writeString(2,p),(p=s.Message.getField(n,3))!=null&&g.writeString(3,p),(p=s.Message.getField(n,4))!=null&&g.writeString(4,p),(p=s.Message.getField(n,5))!=null&&g.writeString(5,p),(p=s.Message.getField(n,6))!=null&&g.writeString(6,p),(p=n.getCustom())!=null&&g.writeMessage(8,p,proto.google.api.CustomHttpPattern.serializeBinaryToWriter),(p=n.getBody()).length>0&&g.writeString(7,p),(p=n.getResponseBody()).length>0&&g.writeString(12,p),(p=n.getAdditionalBindingsList()).length>0&&g.writeRepeatedMessage(11,p,proto.google.api.HttpRule.serializeBinaryToWriter)},proto.google.api.HttpRule.prototype.getSelector=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.api.HttpRule.prototype.setSelector=function(n){return s.Message.setProto3StringField(this,1,n)},proto.google.api.HttpRule.prototype.getGet=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.api.HttpRule.prototype.setGet=function(n){return s.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearGet=function(){return s.Message.setOneofField(this,2,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasGet=function(){return s.Message.getField(this,2)!=null},proto.google.api.HttpRule.prototype.getPut=function(){return s.Message.getFieldWithDefault(this,3,"")},proto.google.api.HttpRule.prototype.setPut=function(n){return s.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearPut=function(){return s.Message.setOneofField(this,3,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPut=function(){return s.Message.getField(this,3)!=null},proto.google.api.HttpRule.prototype.getPost=function(){return s.Message.getFieldWithDefault(this,4,"")},proto.google.api.HttpRule.prototype.setPost=function(n){return s.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearPost=function(){return s.Message.setOneofField(this,4,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPost=function(){return s.Message.getField(this,4)!=null},proto.google.api.HttpRule.prototype.getDelete=function(){return s.Message.getFieldWithDefault(this,5,"")},proto.google.api.HttpRule.prototype.setDelete=function(n){return s.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearDelete=function(){return s.Message.setOneofField(this,5,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasDelete=function(){return s.Message.getField(this,5)!=null},proto.google.api.HttpRule.prototype.getPatch=function(){return s.Message.getFieldWithDefault(this,6,"")},proto.google.api.HttpRule.prototype.setPatch=function(n){return s.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearPatch=function(){return s.Message.setOneofField(this,6,proto.google.api.HttpRule.oneofGroups_[0],void 0)},proto.google.api.HttpRule.prototype.hasPatch=function(){return s.Message.getField(this,6)!=null},proto.google.api.HttpRule.prototype.getCustom=function(){return s.Message.getWrapperField(this,proto.google.api.CustomHttpPattern,8)},proto.google.api.HttpRule.prototype.setCustom=function(n){return s.Message.setOneofWrapperField(this,8,proto.google.api.HttpRule.oneofGroups_[0],n)},proto.google.api.HttpRule.prototype.clearCustom=function(){return this.setCustom(void 0)},proto.google.api.HttpRule.prototype.hasCustom=function(){return s.Message.getField(this,8)!=null},proto.google.api.HttpRule.prototype.getBody=function(){return s.Message.getFieldWithDefault(this,7,"")},proto.google.api.HttpRule.prototype.setBody=function(n){return s.Message.setProto3StringField(this,7,n)},proto.google.api.HttpRule.prototype.getResponseBody=function(){return s.Message.getFieldWithDefault(this,12,"")},proto.google.api.HttpRule.prototype.setResponseBody=function(n){return s.Message.setProto3StringField(this,12,n)},proto.google.api.HttpRule.prototype.getAdditionalBindingsList=function(){return s.Message.getRepeatedWrapperField(this,proto.google.api.HttpRule,11)},proto.google.api.HttpRule.prototype.setAdditionalBindingsList=function(n){return s.Message.setRepeatedWrapperField(this,11,n)},proto.google.api.HttpRule.prototype.addAdditionalBindings=function(n,g){return s.Message.addToRepeatedWrapperField(this,11,n,proto.google.api.HttpRule,g)},proto.google.api.HttpRule.prototype.clearAdditionalBindingsList=function(){return this.setAdditionalBindingsList([])},s.Message.GENERATE_TO_OBJECT&&(proto.google.api.CustomHttpPattern.prototype.toObject=function(n){return proto.google.api.CustomHttpPattern.toObject(n,this)},proto.google.api.CustomHttpPattern.toObject=function(n,g){var p={kind:s.Message.getFieldWithDefault(g,1,""),path:s.Message.getFieldWithDefault(g,2,"")};return n&&(p.$jspbMessageInstance=g),p}),proto.google.api.CustomHttpPattern.deserializeBinary=function(n){var g=new s.BinaryReader(n),p=new proto.google.api.CustomHttpPattern;return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(p,g)},proto.google.api.CustomHttpPattern.deserializeBinaryFromReader=function(n,g){for(;g.nextField()&&!g.isEndGroup();)switch(g.getFieldNumber()){case 1:var p=g.readString();n.setKind(p);break;case 2:p=g.readString(),n.setPath(p);break;default:g.skipField()}return n},proto.google.api.CustomHttpPattern.prototype.serializeBinary=function(){var n=new s.BinaryWriter;return proto.google.api.CustomHttpPattern.serializeBinaryToWriter(this,n),n.getResultBuffer()},proto.google.api.CustomHttpPattern.serializeBinaryToWriter=function(n,g){var p=void 0;(p=n.getKind()).length>0&&g.writeString(1,p),(p=n.getPath()).length>0&&g.writeString(2,p)},proto.google.api.CustomHttpPattern.prototype.getKind=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.google.api.CustomHttpPattern.prototype.setKind=function(n){return s.Message.setProto3StringField(this,1,n)},proto.google.api.CustomHttpPattern.prototype.getPath=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.api.CustomHttpPattern.prototype.setPath=function(n){return s.Message.setProto3StringField(this,2,n)},o.object.extend(e,proto.google.api)},743:(t,e,r)=>{var s=r(19),o=function(){return this||window||o||self||Function("return this")()}.call(null);s.exportSymbol("proto.google.rpc.Code",null,o),proto.google.rpc.Code={OK:0,CANCELLED:1,UNKNOWN:2,INVALID_ARGUMENT:3,DEADLINE_EXCEEDED:4,NOT_FOUND:5,ALREADY_EXISTS:6,PERMISSION_DENIED:7,UNAUTHENTICATED:16,RESOURCE_EXHAUSTED:8,FAILED_PRECONDITION:9,ABORTED:10,OUT_OF_RANGE:11,UNIMPLEMENTED:12,INTERNAL:13,UNAVAILABLE:14,DATA_LOSS:15},s.object.extend(e,proto.google.rpc)},34:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(302);o.object.extend(proto,n),o.exportSymbol("proto.google.rpc.Status",null,i),proto.google.rpc.Status=function(g){s.Message.initialize(this,g,0,-1,proto.google.rpc.Status.repeatedFields_,null)},o.inherits(proto.google.rpc.Status,s.Message),o.DEBUG&&!COMPILED&&(proto.google.rpc.Status.displayName="proto.google.rpc.Status"),proto.google.rpc.Status.repeatedFields_=[3],s.Message.GENERATE_TO_OBJECT&&(proto.google.rpc.Status.prototype.toObject=function(g){return proto.google.rpc.Status.toObject(g,this)},proto.google.rpc.Status.toObject=function(g,p){var l={code:s.Message.getFieldWithDefault(p,1,0),message:s.Message.getFieldWithDefault(p,2,""),detailsList:s.Message.toObjectList(p.getDetailsList(),n.Any.toObject,g)};return g&&(l.$jspbMessageInstance=p),l}),proto.google.rpc.Status.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.google.rpc.Status;return proto.google.rpc.Status.deserializeBinaryFromReader(l,p)},proto.google.rpc.Status.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:var l=p.readInt32();g.setCode(l);break;case 2:l=p.readString(),g.setMessage(l);break;case 3:l=new n.Any,p.readMessage(l,n.Any.deserializeBinaryFromReader),g.addDetails(l);break;default:p.skipField()}return g},proto.google.rpc.Status.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.google.rpc.Status.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.google.rpc.Status.serializeBinaryToWriter=function(g,p){var l=void 0;(l=g.getCode())!==0&&p.writeInt32(1,l),(l=g.getMessage()).length>0&&p.writeString(2,l),(l=g.getDetailsList()).length>0&&p.writeRepeatedMessage(3,l,n.Any.serializeBinaryToWriter)},proto.google.rpc.Status.prototype.getCode=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.google.rpc.Status.prototype.setCode=function(g){return s.Message.setProto3IntField(this,1,g)},proto.google.rpc.Status.prototype.getMessage=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.google.rpc.Status.prototype.setMessage=function(g){return s.Message.setProto3StringField(this,2,g)},proto.google.rpc.Status.prototype.getDetailsList=function(){return s.Message.getRepeatedWrapperField(this,n.Any,3)},proto.google.rpc.Status.prototype.setDetailsList=function(g){return s.Message.setRepeatedWrapperField(this,3,g)},proto.google.rpc.Status.prototype.addDetails=function(g,p){return s.Message.addToRepeatedWrapperField(this,3,g,proto.google.protobuf.Any,p)},proto.google.rpc.Status.prototype.clearDetailsList=function(){return this.setDetailsList([])},o.object.extend(e,proto.google.rpc)},165:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(80);o.object.extend(proto,n),o.exportSymbol("proto.proto.rpc.v1.AuthenticateRequest",null,i),o.exportSymbol("proto.proto.rpc.v1.AuthenticateResponse",null,i),o.exportSymbol("proto.proto.rpc.v1.AuthenticateToRequest",null,i),o.exportSymbol("proto.proto.rpc.v1.AuthenticateToResponse",null,i),o.exportSymbol("proto.proto.rpc.v1.Credentials",null,i),proto.proto.rpc.v1.Credentials=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.Credentials,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.Credentials.displayName="proto.proto.rpc.v1.Credentials"),proto.proto.rpc.v1.AuthenticateRequest=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.AuthenticateRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.AuthenticateRequest.displayName="proto.proto.rpc.v1.AuthenticateRequest"),proto.proto.rpc.v1.AuthenticateResponse=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.AuthenticateResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.AuthenticateResponse.displayName="proto.proto.rpc.v1.AuthenticateResponse"),proto.proto.rpc.v1.AuthenticateToRequest=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.AuthenticateToRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.AuthenticateToRequest.displayName="proto.proto.rpc.v1.AuthenticateToRequest"),proto.proto.rpc.v1.AuthenticateToResponse=function(g){s.Message.initialize(this,g,0,-1,null,null)},o.inherits(proto.proto.rpc.v1.AuthenticateToResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.v1.AuthenticateToResponse.displayName="proto.proto.rpc.v1.AuthenticateToResponse"),s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.Credentials.prototype.toObject=function(g){return proto.proto.rpc.v1.Credentials.toObject(g,this)},proto.proto.rpc.v1.Credentials.toObject=function(g,p){var l={type:s.Message.getFieldWithDefault(p,1,""),payload:s.Message.getFieldWithDefault(p,2,"")};return g&&(l.$jspbMessageInstance=p),l}),proto.proto.rpc.v1.Credentials.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.Credentials;return proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:var l=p.readString();g.setType(l);break;case 2:l=p.readString(),g.setPayload(l);break;default:p.skipField()}return g},proto.proto.rpc.v1.Credentials.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.Credentials.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.Credentials.serializeBinaryToWriter=function(g,p){var l=void 0;(l=g.getType()).length>0&&p.writeString(1,l),(l=g.getPayload()).length>0&&p.writeString(2,l)},proto.proto.rpc.v1.Credentials.prototype.getType=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.Credentials.prototype.setType=function(g){return s.Message.setProto3StringField(this,1,g)},proto.proto.rpc.v1.Credentials.prototype.getPayload=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.proto.rpc.v1.Credentials.prototype.setPayload=function(g){return s.Message.setProto3StringField(this,2,g)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.AuthenticateRequest.prototype.toObject=function(g){return proto.proto.rpc.v1.AuthenticateRequest.toObject(g,this)},proto.proto.rpc.v1.AuthenticateRequest.toObject=function(g,p){var l,u={entity:s.Message.getFieldWithDefault(p,1,""),credentials:(l=p.getCredentials())&&proto.proto.rpc.v1.Credentials.toObject(g,l)};return g&&(u.$jspbMessageInstance=p),u}),proto.proto.rpc.v1.AuthenticateRequest.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.AuthenticateRequest;return proto.proto.rpc.v1.AuthenticateRequest.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.AuthenticateRequest.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)switch(p.getFieldNumber()){case 1:var l=p.readString();g.setEntity(l);break;case 2:l=new proto.proto.rpc.v1.Credentials,p.readMessage(l,proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader),g.setCredentials(l);break;default:p.skipField()}return g},proto.proto.rpc.v1.AuthenticateRequest.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.AuthenticateRequest.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.AuthenticateRequest.serializeBinaryToWriter=function(g,p){var l=void 0;(l=g.getEntity()).length>0&&p.writeString(1,l),(l=g.getCredentials())!=null&&p.writeMessage(2,l,proto.proto.rpc.v1.Credentials.serializeBinaryToWriter)},proto.proto.rpc.v1.AuthenticateRequest.prototype.getEntity=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.AuthenticateRequest.prototype.setEntity=function(g){return s.Message.setProto3StringField(this,1,g)},proto.proto.rpc.v1.AuthenticateRequest.prototype.getCredentials=function(){return s.Message.getWrapperField(this,proto.proto.rpc.v1.Credentials,2)},proto.proto.rpc.v1.AuthenticateRequest.prototype.setCredentials=function(g){return s.Message.setWrapperField(this,2,g)},proto.proto.rpc.v1.AuthenticateRequest.prototype.clearCredentials=function(){return this.setCredentials(void 0)},proto.proto.rpc.v1.AuthenticateRequest.prototype.hasCredentials=function(){return s.Message.getField(this,2)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.AuthenticateResponse.prototype.toObject=function(g){return proto.proto.rpc.v1.AuthenticateResponse.toObject(g,this)},proto.proto.rpc.v1.AuthenticateResponse.toObject=function(g,p){var l={accessToken:s.Message.getFieldWithDefault(p,1,"")};return g&&(l.$jspbMessageInstance=p),l}),proto.proto.rpc.v1.AuthenticateResponse.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.AuthenticateResponse;return proto.proto.rpc.v1.AuthenticateResponse.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.AuthenticateResponse.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)if(p.getFieldNumber()===1){var l=p.readString();g.setAccessToken(l)}else p.skipField();return g},proto.proto.rpc.v1.AuthenticateResponse.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.AuthenticateResponse.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.AuthenticateResponse.serializeBinaryToWriter=function(g,p){var l;(l=g.getAccessToken()).length>0&&p.writeString(1,l)},proto.proto.rpc.v1.AuthenticateResponse.prototype.getAccessToken=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.AuthenticateResponse.prototype.setAccessToken=function(g){return s.Message.setProto3StringField(this,1,g)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.AuthenticateToRequest.prototype.toObject=function(g){return proto.proto.rpc.v1.AuthenticateToRequest.toObject(g,this)},proto.proto.rpc.v1.AuthenticateToRequest.toObject=function(g,p){var l={entity:s.Message.getFieldWithDefault(p,1,"")};return g&&(l.$jspbMessageInstance=p),l}),proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.AuthenticateToRequest;return proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)if(p.getFieldNumber()===1){var l=p.readString();g.setEntity(l)}else p.skipField();return g},proto.proto.rpc.v1.AuthenticateToRequest.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.AuthenticateToRequest.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.AuthenticateToRequest.serializeBinaryToWriter=function(g,p){var l;(l=g.getEntity()).length>0&&p.writeString(1,l)},proto.proto.rpc.v1.AuthenticateToRequest.prototype.getEntity=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.AuthenticateToRequest.prototype.setEntity=function(g){return s.Message.setProto3StringField(this,1,g)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.v1.AuthenticateToResponse.prototype.toObject=function(g){return proto.proto.rpc.v1.AuthenticateToResponse.toObject(g,this)},proto.proto.rpc.v1.AuthenticateToResponse.toObject=function(g,p){var l={accessToken:s.Message.getFieldWithDefault(p,1,"")};return g&&(l.$jspbMessageInstance=p),l}),proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinary=function(g){var p=new s.BinaryReader(g),l=new proto.proto.rpc.v1.AuthenticateToResponse;return proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinaryFromReader(l,p)},proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinaryFromReader=function(g,p){for(;p.nextField()&&!p.isEndGroup();)if(p.getFieldNumber()===1){var l=p.readString();g.setAccessToken(l)}else p.skipField();return g},proto.proto.rpc.v1.AuthenticateToResponse.prototype.serializeBinary=function(){var g=new s.BinaryWriter;return proto.proto.rpc.v1.AuthenticateToResponse.serializeBinaryToWriter(this,g),g.getResultBuffer()},proto.proto.rpc.v1.AuthenticateToResponse.serializeBinaryToWriter=function(g,p){var l;(l=g.getAccessToken()).length>0&&p.writeString(1,l)},proto.proto.rpc.v1.AuthenticateToResponse.prototype.getAccessToken=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.v1.AuthenticateToResponse.prototype.setAccessToken=function(g){return s.Message.setProto3StringField(this,1,g)},o.object.extend(e,proto.proto.rpc.v1)},400:(t,e,r)=>{var s=r(165),o=r(37).grpc,i=function(){function l(){}return l.serviceName="proto.rpc.v1.AuthService",l}();function n(l,u){this.serviceHost=l,this.options=u||{}}i.Authenticate={methodName:"Authenticate",service:i,requestStream:!1,responseStream:!1,requestType:s.AuthenticateRequest,responseType:s.AuthenticateResponse},e.AuthService=i,n.prototype.authenticate=function(l,u,c){arguments.length===2&&(c=arguments[1]);var y=o.unary(i.Authenticate,{request:l,host:this.serviceHost,metadata:u,transport:this.options.transport,debug:this.options.debug,onEnd:function(m){if(c)if(m.status!==o.Code.OK){var h=new Error(m.statusMessage);h.code=m.status,h.metadata=m.trailers,c(h,null)}else c(null,m.message)}});return{cancel:function(){c=null,y.close()}}},e.AuthServiceClient=n;var g=function(){function l(){}return l.serviceName="proto.rpc.v1.ExternalAuthService",l}();function p(l,u){this.serviceHost=l,this.options=u||{}}g.AuthenticateTo={methodName:"AuthenticateTo",service:g,requestStream:!1,responseStream:!1,requestType:s.AuthenticateToRequest,responseType:s.AuthenticateToResponse},e.ExternalAuthService=g,p.prototype.authenticateTo=function(l,u,c){arguments.length===2&&(c=arguments[1]);var y=o.unary(g.AuthenticateTo,{request:l,host:this.serviceHost,metadata:u,transport:this.options.transport,debug:this.options.debug,onEnd:function(m){if(c)if(m.status!==o.Code.OK){var h=new Error(m.statusMessage);h.code=m.status,h.metadata=m.trailers,c(h,null)}else c(null,m.message)}});return{cancel:function(){c=null,y.close()}}},e.ExternalAuthServiceClient=p},210:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(867);o.object.extend(proto,n);var g=r(34);o.object.extend(proto,g),o.exportSymbol("proto.proto.rpc.webrtc.v1.Metadata",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.PacketMessage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Request",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Request.TypeCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.RequestHeaders",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.RequestMessage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Response",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Response.TypeCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ResponseHeaders",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ResponseMessage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ResponseTrailers",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Stream",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.Strings",null,i),proto.proto.rpc.webrtc.v1.PacketMessage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.PacketMessage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.PacketMessage.displayName="proto.proto.rpc.webrtc.v1.PacketMessage"),proto.proto.rpc.webrtc.v1.Stream=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.Stream,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Stream.displayName="proto.proto.rpc.webrtc.v1.Stream"),proto.proto.rpc.webrtc.v1.Request=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.Request.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.Request,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Request.displayName="proto.proto.rpc.webrtc.v1.Request"),proto.proto.rpc.webrtc.v1.RequestHeaders=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.RequestHeaders,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.RequestHeaders.displayName="proto.proto.rpc.webrtc.v1.RequestHeaders"),proto.proto.rpc.webrtc.v1.RequestMessage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.RequestMessage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.RequestMessage.displayName="proto.proto.rpc.webrtc.v1.RequestMessage"),proto.proto.rpc.webrtc.v1.Response=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.Response.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.Response,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Response.displayName="proto.proto.rpc.webrtc.v1.Response"),proto.proto.rpc.webrtc.v1.ResponseHeaders=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.ResponseHeaders,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ResponseHeaders.displayName="proto.proto.rpc.webrtc.v1.ResponseHeaders"),proto.proto.rpc.webrtc.v1.ResponseMessage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.ResponseMessage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ResponseMessage.displayName="proto.proto.rpc.webrtc.v1.ResponseMessage"),proto.proto.rpc.webrtc.v1.ResponseTrailers=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.ResponseTrailers,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ResponseTrailers.displayName="proto.proto.rpc.webrtc.v1.ResponseTrailers"),proto.proto.rpc.webrtc.v1.Strings=function(p){s.Message.initialize(this,p,0,-1,proto.proto.rpc.webrtc.v1.Strings.repeatedFields_,null)},o.inherits(proto.proto.rpc.webrtc.v1.Strings,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Strings.displayName="proto.proto.rpc.webrtc.v1.Strings"),proto.proto.rpc.webrtc.v1.Metadata=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.Metadata,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.Metadata.displayName="proto.proto.rpc.webrtc.v1.Metadata"),s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.PacketMessage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.PacketMessage.toObject(p,this)},proto.proto.rpc.webrtc.v1.PacketMessage.toObject=function(p,l){var u={data:l.getData_asB64(),eom:s.Message.getBooleanFieldWithDefault(l,2,!1)};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.PacketMessage;return proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readBytes();p.setData(u);break;case 2:u=l.readBool(),p.setEom(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.PacketMessage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.PacketMessage.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getData_asU8()).length>0&&l.writeBytes(1,u),(u=p.getEom())&&l.writeBool(2,u)},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.getData=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.getData_asB64=function(){return s.Message.bytesAsB64(this.getData())},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.getData_asU8=function(){return s.Message.bytesAsU8(this.getData())},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.setData=function(p){return s.Message.setProto3BytesField(this,1,p)},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.getEom=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.proto.rpc.webrtc.v1.PacketMessage.prototype.setEom=function(p){return s.Message.setProto3BooleanField(this,2,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Stream.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Stream.toObject(p,this)},proto.proto.rpc.webrtc.v1.Stream.toObject=function(p,l){var u={id:s.Message.getFieldWithDefault(l,1,0)};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.Stream.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Stream;return proto.proto.rpc.webrtc.v1.Stream.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Stream.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=l.readUint64();p.setId(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.Stream.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Stream.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Stream.serializeBinaryToWriter=function(p,l){var u;(u=p.getId())!==0&&l.writeUint64(1,u)},proto.proto.rpc.webrtc.v1.Stream.prototype.getId=function(){return s.Message.getFieldWithDefault(this,1,0)},proto.proto.rpc.webrtc.v1.Stream.prototype.setId=function(p){return s.Message.setProto3IntField(this,1,p)},proto.proto.rpc.webrtc.v1.Request.oneofGroups_=[[2,3,4]],proto.proto.rpc.webrtc.v1.Request.TypeCase={TYPE_NOT_SET:0,HEADERS:2,MESSAGE:3,RST_STREAM:4},proto.proto.rpc.webrtc.v1.Request.prototype.getTypeCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Request.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Request.toObject(p,this)},proto.proto.rpc.webrtc.v1.Request.toObject=function(p,l){var u,c={stream:(u=l.getStream())&&proto.proto.rpc.webrtc.v1.Stream.toObject(p,u),headers:(u=l.getHeaders())&&proto.proto.rpc.webrtc.v1.RequestHeaders.toObject(p,u),message:(u=l.getMessage())&&proto.proto.rpc.webrtc.v1.RequestMessage.toObject(p,u),rstStream:s.Message.getBooleanFieldWithDefault(l,4,!1)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.Request.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Request;return proto.proto.rpc.webrtc.v1.Request.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Request.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=new proto.proto.rpc.webrtc.v1.Stream;l.readMessage(u,proto.proto.rpc.webrtc.v1.Stream.deserializeBinaryFromReader),p.setStream(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.RequestHeaders,l.readMessage(u,proto.proto.rpc.webrtc.v1.RequestHeaders.deserializeBinaryFromReader),p.setHeaders(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.RequestMessage,l.readMessage(u,proto.proto.rpc.webrtc.v1.RequestMessage.deserializeBinaryFromReader),p.setMessage(u);break;case 4:u=l.readBool(),p.setRstStream(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.Request.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Request.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Request.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getStream())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.Stream.serializeBinaryToWriter),(u=p.getHeaders())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.RequestHeaders.serializeBinaryToWriter),(u=p.getMessage())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.RequestMessage.serializeBinaryToWriter),(u=s.Message.getField(p,4))!=null&&l.writeBool(4,u)},proto.proto.rpc.webrtc.v1.Request.prototype.getStream=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Stream,1)},proto.proto.rpc.webrtc.v1.Request.prototype.setStream=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.Request.prototype.clearStream=function(){return this.setStream(void 0)},proto.proto.rpc.webrtc.v1.Request.prototype.hasStream=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.Request.prototype.getHeaders=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.RequestHeaders,2)},proto.proto.rpc.webrtc.v1.Request.prototype.setHeaders=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Request.prototype.clearHeaders=function(){return this.setHeaders(void 0)},proto.proto.rpc.webrtc.v1.Request.prototype.hasHeaders=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.Request.prototype.getMessage=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.RequestMessage,3)},proto.proto.rpc.webrtc.v1.Request.prototype.setMessage=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Request.prototype.clearMessage=function(){return this.setMessage(void 0)},proto.proto.rpc.webrtc.v1.Request.prototype.hasMessage=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.Request.prototype.getRstStream=function(){return s.Message.getBooleanFieldWithDefault(this,4,!1)},proto.proto.rpc.webrtc.v1.Request.prototype.setRstStream=function(p){return s.Message.setOneofField(this,4,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Request.prototype.clearRstStream=function(){return s.Message.setOneofField(this,4,proto.proto.rpc.webrtc.v1.Request.oneofGroups_[0],void 0)},proto.proto.rpc.webrtc.v1.Request.prototype.hasRstStream=function(){return s.Message.getField(this,4)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.RequestHeaders.toObject(p,this)},proto.proto.rpc.webrtc.v1.RequestHeaders.toObject=function(p,l){var u,c={method:s.Message.getFieldWithDefault(l,1,""),metadata:(u=l.getMetadata())&&proto.proto.rpc.webrtc.v1.Metadata.toObject(p,u),timeout:(u=l.getTimeout())&&n.Duration.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.RequestHeaders.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.RequestHeaders;return proto.proto.rpc.webrtc.v1.RequestHeaders.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.RequestHeaders.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setMethod(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.Metadata,l.readMessage(u,proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader),p.setMetadata(u);break;case 3:u=new n.Duration,l.readMessage(u,n.Duration.deserializeBinaryFromReader),p.setTimeout(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.RequestHeaders.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.RequestHeaders.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getMethod()).length>0&&l.writeString(1,u),(u=p.getMetadata())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter),(u=p.getTimeout())!=null&&l.writeMessage(3,u,n.Duration.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.getMethod=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.setMethod=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.getMetadata=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Metadata,2)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.setMetadata=function(p){return s.Message.setWrapperField(this,2,p)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.clearMetadata=function(){return this.setMetadata(void 0)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.hasMetadata=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.getTimeout=function(){return s.Message.getWrapperField(this,n.Duration,3)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.setTimeout=function(p){return s.Message.setWrapperField(this,3,p)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.clearTimeout=function(){return this.setTimeout(void 0)},proto.proto.rpc.webrtc.v1.RequestHeaders.prototype.hasTimeout=function(){return s.Message.getField(this,3)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.RequestMessage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.RequestMessage.toObject(p,this)},proto.proto.rpc.webrtc.v1.RequestMessage.toObject=function(p,l){var u,c={hasMessage:s.Message.getBooleanFieldWithDefault(l,1,!1),packetMessage:(u=l.getPacketMessage())&&proto.proto.rpc.webrtc.v1.PacketMessage.toObject(p,u),eos:s.Message.getBooleanFieldWithDefault(l,3,!1)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.RequestMessage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.RequestMessage;return proto.proto.rpc.webrtc.v1.RequestMessage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.RequestMessage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readBool();p.setHasMessage(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.PacketMessage,l.readMessage(u,proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinaryFromReader),p.setPacketMessage(u);break;case 3:u=l.readBool(),p.setEos(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.RequestMessage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.RequestMessage.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getHasMessage())&&l.writeBool(1,u),(u=p.getPacketMessage())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.PacketMessage.serializeBinaryToWriter),(u=p.getEos())&&l.writeBool(3,u)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.getHasMessage=function(){return s.Message.getBooleanFieldWithDefault(this,1,!1)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.setHasMessage=function(p){return s.Message.setProto3BooleanField(this,1,p)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.getPacketMessage=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.PacketMessage,2)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.setPacketMessage=function(p){return s.Message.setWrapperField(this,2,p)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.clearPacketMessage=function(){return this.setPacketMessage(void 0)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.hasPacketMessage=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.getEos=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)},proto.proto.rpc.webrtc.v1.RequestMessage.prototype.setEos=function(p){return s.Message.setProto3BooleanField(this,3,p)},proto.proto.rpc.webrtc.v1.Response.oneofGroups_=[[2,3,4]],proto.proto.rpc.webrtc.v1.Response.TypeCase={TYPE_NOT_SET:0,HEADERS:2,MESSAGE:3,TRAILERS:4},proto.proto.rpc.webrtc.v1.Response.prototype.getTypeCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.Response.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Response.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Response.toObject(p,this)},proto.proto.rpc.webrtc.v1.Response.toObject=function(p,l){var u,c={stream:(u=l.getStream())&&proto.proto.rpc.webrtc.v1.Stream.toObject(p,u),headers:(u=l.getHeaders())&&proto.proto.rpc.webrtc.v1.ResponseHeaders.toObject(p,u),message:(u=l.getMessage())&&proto.proto.rpc.webrtc.v1.ResponseMessage.toObject(p,u),trailers:(u=l.getTrailers())&&proto.proto.rpc.webrtc.v1.ResponseTrailers.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.Response.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Response;return proto.proto.rpc.webrtc.v1.Response.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Response.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=new proto.proto.rpc.webrtc.v1.Stream;l.readMessage(u,proto.proto.rpc.webrtc.v1.Stream.deserializeBinaryFromReader),p.setStream(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.ResponseHeaders,l.readMessage(u,proto.proto.rpc.webrtc.v1.ResponseHeaders.deserializeBinaryFromReader),p.setHeaders(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.ResponseMessage,l.readMessage(u,proto.proto.rpc.webrtc.v1.ResponseMessage.deserializeBinaryFromReader),p.setMessage(u);break;case 4:u=new proto.proto.rpc.webrtc.v1.ResponseTrailers,l.readMessage(u,proto.proto.rpc.webrtc.v1.ResponseTrailers.deserializeBinaryFromReader),p.setTrailers(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.Response.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Response.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Response.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getStream())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.Stream.serializeBinaryToWriter),(u=p.getHeaders())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.ResponseHeaders.serializeBinaryToWriter),(u=p.getMessage())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.ResponseMessage.serializeBinaryToWriter),(u=p.getTrailers())!=null&&l.writeMessage(4,u,proto.proto.rpc.webrtc.v1.ResponseTrailers.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.Response.prototype.getStream=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Stream,1)},proto.proto.rpc.webrtc.v1.Response.prototype.setStream=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.Response.prototype.clearStream=function(){return this.setStream(void 0)},proto.proto.rpc.webrtc.v1.Response.prototype.hasStream=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.Response.prototype.getHeaders=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ResponseHeaders,2)},proto.proto.rpc.webrtc.v1.Response.prototype.setHeaders=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.Response.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Response.prototype.clearHeaders=function(){return this.setHeaders(void 0)},proto.proto.rpc.webrtc.v1.Response.prototype.hasHeaders=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.Response.prototype.getMessage=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ResponseMessage,3)},proto.proto.rpc.webrtc.v1.Response.prototype.setMessage=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.Response.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Response.prototype.clearMessage=function(){return this.setMessage(void 0)},proto.proto.rpc.webrtc.v1.Response.prototype.hasMessage=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.Response.prototype.getTrailers=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ResponseTrailers,4)},proto.proto.rpc.webrtc.v1.Response.prototype.setTrailers=function(p){return s.Message.setOneofWrapperField(this,4,proto.proto.rpc.webrtc.v1.Response.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.Response.prototype.clearTrailers=function(){return this.setTrailers(void 0)},proto.proto.rpc.webrtc.v1.Response.prototype.hasTrailers=function(){return s.Message.getField(this,4)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ResponseHeaders.toObject(p,this)},proto.proto.rpc.webrtc.v1.ResponseHeaders.toObject=function(p,l){var u,c={metadata:(u=l.getMetadata())&&proto.proto.rpc.webrtc.v1.Metadata.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.ResponseHeaders.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ResponseHeaders;return proto.proto.rpc.webrtc.v1.ResponseHeaders.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ResponseHeaders.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.Metadata;l.readMessage(u,proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader),p.setMetadata(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ResponseHeaders.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ResponseHeaders.serializeBinaryToWriter=function(p,l){var u;(u=p.getMetadata())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.getMetadata=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Metadata,1)},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.setMetadata=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.clearMetadata=function(){return this.setMetadata(void 0)},proto.proto.rpc.webrtc.v1.ResponseHeaders.prototype.hasMetadata=function(){return s.Message.getField(this,1)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ResponseMessage.toObject(p,this)},proto.proto.rpc.webrtc.v1.ResponseMessage.toObject=function(p,l){var u,c={packetMessage:(u=l.getPacketMessage())&&proto.proto.rpc.webrtc.v1.PacketMessage.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.ResponseMessage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ResponseMessage;return proto.proto.rpc.webrtc.v1.ResponseMessage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ResponseMessage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.PacketMessage;l.readMessage(u,proto.proto.rpc.webrtc.v1.PacketMessage.deserializeBinaryFromReader),p.setPacketMessage(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ResponseMessage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ResponseMessage.serializeBinaryToWriter=function(p,l){var u;(u=p.getPacketMessage())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.PacketMessage.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.getPacketMessage=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.PacketMessage,1)},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.setPacketMessage=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.clearPacketMessage=function(){return this.setPacketMessage(void 0)},proto.proto.rpc.webrtc.v1.ResponseMessage.prototype.hasPacketMessage=function(){return s.Message.getField(this,1)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ResponseTrailers.toObject(p,this)},proto.proto.rpc.webrtc.v1.ResponseTrailers.toObject=function(p,l){var u,c={status:(u=l.getStatus())&&g.Status.toObject(p,u),metadata:(u=l.getMetadata())&&proto.proto.rpc.webrtc.v1.Metadata.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.ResponseTrailers.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ResponseTrailers;return proto.proto.rpc.webrtc.v1.ResponseTrailers.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ResponseTrailers.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=new g.Status;l.readMessage(u,g.Status.deserializeBinaryFromReader),p.setStatus(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.Metadata,l.readMessage(u,proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader),p.setMetadata(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ResponseTrailers.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ResponseTrailers.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getStatus())!=null&&l.writeMessage(1,u,g.Status.serializeBinaryToWriter),(u=p.getMetadata())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.getStatus=function(){return s.Message.getWrapperField(this,g.Status,1)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.setStatus=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.clearStatus=function(){return this.setStatus(void 0)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.hasStatus=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.getMetadata=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.Metadata,2)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.setMetadata=function(p){return s.Message.setWrapperField(this,2,p)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.clearMetadata=function(){return this.setMetadata(void 0)},proto.proto.rpc.webrtc.v1.ResponseTrailers.prototype.hasMetadata=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.Strings.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Strings.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Strings.toObject(p,this)},proto.proto.rpc.webrtc.v1.Strings.toObject=function(p,l){var u,c={valuesList:(u=s.Message.getRepeatedField(l,1))==null?void 0:u};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.Strings.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Strings;return proto.proto.rpc.webrtc.v1.Strings.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Strings.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=l.readString();p.addValues(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.Strings.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Strings.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Strings.serializeBinaryToWriter=function(p,l){var u;(u=p.getValuesList()).length>0&&l.writeRepeatedString(1,u)},proto.proto.rpc.webrtc.v1.Strings.prototype.getValuesList=function(){return s.Message.getRepeatedField(this,1)},proto.proto.rpc.webrtc.v1.Strings.prototype.setValuesList=function(p){return s.Message.setField(this,1,p||[])},proto.proto.rpc.webrtc.v1.Strings.prototype.addValues=function(p,l){return s.Message.addToRepeatedField(this,1,p,l)},proto.proto.rpc.webrtc.v1.Strings.prototype.clearValuesList=function(){return this.setValuesList([])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.Metadata.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.Metadata.toObject(p,this)},proto.proto.rpc.webrtc.v1.Metadata.toObject=function(p,l){var u,c={mdMap:(u=l.getMdMap())?u.toObject(p,proto.proto.rpc.webrtc.v1.Strings.toObject):[]};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.Metadata.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.Metadata;return proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.Metadata.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=p.getMdMap();l.readMessage(u,function(c,y){s.Map.deserializeBinary(c,y,s.BinaryReader.prototype.readString,s.BinaryReader.prototype.readMessage,proto.proto.rpc.webrtc.v1.Strings.deserializeBinaryFromReader,"",new proto.proto.rpc.webrtc.v1.Strings)})}else l.skipField();return p},proto.proto.rpc.webrtc.v1.Metadata.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.Metadata.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getMdMap(!0))&&u.getLength()>0&&u.serializeBinary(1,l,s.BinaryWriter.prototype.writeString,s.BinaryWriter.prototype.writeMessage,proto.proto.rpc.webrtc.v1.Strings.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.Metadata.prototype.getMdMap=function(p){return s.Message.getMapField(this,1,p,proto.proto.rpc.webrtc.v1.Strings)},proto.proto.rpc.webrtc.v1.Metadata.prototype.clearMdMap=function(){return this.getMdMap().clear(),this},o.object.extend(e,proto.proto.rpc.webrtc.v1)},982:(t,e,r)=>{var s=r(19),o=s,i=function(){return this||window||i||self||Function("return this")()}.call(null),n=r(80);o.object.extend(proto,n);var g=r(34);o.object.extend(proto,g),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequest",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequest.StageCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequestInitStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponse",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponse.StageCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponseInitStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallRequest",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallResponse",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallResponse.StageCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallResponseInitStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallResponseUpdateStage",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallUpdateRequest",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallUpdateRequest.UpdateCase",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.CallUpdateResponse",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ICECandidate",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.ICEServer",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse",null,i),o.exportSymbol("proto.proto.rpc.webrtc.v1.WebRTCConfig",null,i),proto.proto.rpc.webrtc.v1.ICECandidate=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.ICECandidate,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ICECandidate.displayName="proto.proto.rpc.webrtc.v1.ICECandidate"),proto.proto.rpc.webrtc.v1.CallRequest=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.CallRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallRequest.displayName="proto.proto.rpc.webrtc.v1.CallRequest"),proto.proto.rpc.webrtc.v1.CallResponseInitStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.CallResponseInitStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallResponseInitStage.displayName="proto.proto.rpc.webrtc.v1.CallResponseInitStage"),proto.proto.rpc.webrtc.v1.CallResponseUpdateStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.CallResponseUpdateStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.displayName="proto.proto.rpc.webrtc.v1.CallResponseUpdateStage"),proto.proto.rpc.webrtc.v1.CallResponse=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.CallResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallResponse.displayName="proto.proto.rpc.webrtc.v1.CallResponse"),proto.proto.rpc.webrtc.v1.CallUpdateRequest=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.CallUpdateRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallUpdateRequest.displayName="proto.proto.rpc.webrtc.v1.CallUpdateRequest"),proto.proto.rpc.webrtc.v1.CallUpdateResponse=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.CallUpdateResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.CallUpdateResponse.displayName="proto.proto.rpc.webrtc.v1.CallUpdateResponse"),proto.proto.rpc.webrtc.v1.ICEServer=function(p){s.Message.initialize(this,p,0,-1,proto.proto.rpc.webrtc.v1.ICEServer.repeatedFields_,null)},o.inherits(proto.proto.rpc.webrtc.v1.ICEServer,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.ICEServer.displayName="proto.proto.rpc.webrtc.v1.ICEServer"),proto.proto.rpc.webrtc.v1.WebRTCConfig=function(p){s.Message.initialize(this,p,0,-1,proto.proto.rpc.webrtc.v1.WebRTCConfig.repeatedFields_,null)},o.inherits(proto.proto.rpc.webrtc.v1.WebRTCConfig,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.WebRTCConfig.displayName="proto.proto.rpc.webrtc.v1.WebRTCConfig"),proto.proto.rpc.webrtc.v1.AnswerRequestInitStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequestInitStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.displayName="proto.proto.rpc.webrtc.v1.AnswerRequestInitStage"),proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.displayName="proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage"),proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.displayName="proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage"),proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.displayName="proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage"),proto.proto.rpc.webrtc.v1.AnswerRequest=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerRequest.displayName="proto.proto.rpc.webrtc.v1.AnswerRequest"),proto.proto.rpc.webrtc.v1.AnswerResponseInitStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponseInitStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.displayName="proto.proto.rpc.webrtc.v1.AnswerResponseInitStage"),proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.displayName="proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage"),proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.displayName="proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage"),proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.displayName="proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage"),proto.proto.rpc.webrtc.v1.AnswerResponse=function(p){s.Message.initialize(this,p,0,-1,null,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_)},o.inherits(proto.proto.rpc.webrtc.v1.AnswerResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.AnswerResponse.displayName="proto.proto.rpc.webrtc.v1.AnswerResponse"),proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.displayName="proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest"),proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse=function(p){s.Message.initialize(this,p,0,-1,null,null)},o.inherits(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse,s.Message),o.DEBUG&&!COMPILED&&(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.displayName="proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse"),s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ICECandidate.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,this)},proto.proto.rpc.webrtc.v1.ICECandidate.toObject=function(p,l){var u={candidate:s.Message.getFieldWithDefault(l,1,""),sdpMid:s.Message.getFieldWithDefault(l,2,""),sdpmLineIndex:s.Message.getFieldWithDefault(l,3,0),usernameFragment:s.Message.getFieldWithDefault(l,4,"")};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ICECandidate;return proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setCandidate(u);break;case 2:u=l.readString(),p.setSdpMid(u);break;case 3:u=l.readUint32(),p.setSdpmLineIndex(u);break;case 4:u=l.readString(),p.setUsernameFragment(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getCandidate()).length>0&&l.writeString(1,u),(u=s.Message.getField(p,2))!=null&&l.writeString(2,u),(u=s.Message.getField(p,3))!=null&&l.writeUint32(3,u),(u=s.Message.getField(p,4))!=null&&l.writeString(4,u)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.getCandidate=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.setCandidate=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.getSdpMid=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.setSdpMid=function(p){return s.Message.setField(this,2,p)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.clearSdpMid=function(){return s.Message.setField(this,2,void 0)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.hasSdpMid=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.getSdpmLineIndex=function(){return s.Message.getFieldWithDefault(this,3,0)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.setSdpmLineIndex=function(p){return s.Message.setField(this,3,p)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.clearSdpmLineIndex=function(){return s.Message.setField(this,3,void 0)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.hasSdpmLineIndex=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.getUsernameFragment=function(){return s.Message.getFieldWithDefault(this,4,"")},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.setUsernameFragment=function(p){return s.Message.setField(this,4,p)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.clearUsernameFragment=function(){return s.Message.setField(this,4,void 0)},proto.proto.rpc.webrtc.v1.ICECandidate.prototype.hasUsernameFragment=function(){return s.Message.getField(this,4)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallRequest.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallRequest.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallRequest.toObject=function(p,l){var u={sdp:s.Message.getFieldWithDefault(l,1,""),disableTrickle:s.Message.getBooleanFieldWithDefault(l,2,!1)};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.CallRequest.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallRequest;return proto.proto.rpc.webrtc.v1.CallRequest.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallRequest.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setSdp(u);break;case 2:u=l.readBool(),p.setDisableTrickle(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.CallRequest.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallRequest.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getSdp()).length>0&&l.writeString(1,u),(u=p.getDisableTrickle())&&l.writeBool(2,u)},proto.proto.rpc.webrtc.v1.CallRequest.prototype.getSdp=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.CallRequest.prototype.setSdp=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.CallRequest.prototype.getDisableTrickle=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.proto.rpc.webrtc.v1.CallRequest.prototype.setDisableTrickle=function(p){return s.Message.setProto3BooleanField(this,2,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallResponseInitStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallResponseInitStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallResponseInitStage.toObject=function(p,l){var u={sdp:s.Message.getFieldWithDefault(l,1,"")};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.CallResponseInitStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallResponseInitStage;return proto.proto.rpc.webrtc.v1.CallResponseInitStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallResponseInitStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=l.readString();p.setSdp(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.CallResponseInitStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallResponseInitStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallResponseInitStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getSdp()).length>0&&l.writeString(1,u)},proto.proto.rpc.webrtc.v1.CallResponseInitStage.prototype.getSdp=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.CallResponseInitStage.prototype.setSdp=function(p){return s.Message.setProto3StringField(this,1,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.toObject=function(p,l){var u,c={candidate:(u=l.getCandidate())&&proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallResponseUpdateStage;return proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.ICECandidate;l.readMessage(u,proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader),p.setCandidate(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getCandidate())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.getCandidate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ICECandidate,1)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.setCandidate=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.clearCandidate=function(){return this.setCandidate(void 0)},proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.prototype.hasCandidate=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_=[[2,3]],proto.proto.rpc.webrtc.v1.CallResponse.StageCase={STAGE_NOT_SET:0,INIT:2,UPDATE:3},proto.proto.rpc.webrtc.v1.CallResponse.prototype.getStageCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallResponse.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallResponse.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallResponse.toObject=function(p,l){var u,c={uuid:s.Message.getFieldWithDefault(l,1,""),init:(u=l.getInit())&&proto.proto.rpc.webrtc.v1.CallResponseInitStage.toObject(p,u),update:(u=l.getUpdate())&&proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.CallResponse.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallResponse;return proto.proto.rpc.webrtc.v1.CallResponse.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallResponse.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setUuid(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.CallResponseInitStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.CallResponseInitStage.deserializeBinaryFromReader),p.setInit(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.CallResponseUpdateStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.deserializeBinaryFromReader),p.setUpdate(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.CallResponse.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallResponse.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUuid()).length>0&&l.writeString(1,u),(u=p.getInit())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.CallResponseInitStage.serializeBinaryToWriter),(u=p.getUpdate())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.CallResponseUpdateStage.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.getUuid=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.CallResponse.prototype.setUuid=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.getInit=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.CallResponseInitStage,2)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.setInit=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.clearInit=function(){return this.setInit(void 0)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.hasInit=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.CallResponse.prototype.getUpdate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.CallResponseUpdateStage,3)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.setUpdate=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.CallResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.clearUpdate=function(){return this.setUpdate(void 0)},proto.proto.rpc.webrtc.v1.CallResponse.prototype.hasUpdate=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_=[[2,3,4]],proto.proto.rpc.webrtc.v1.CallUpdateRequest.UpdateCase={UPDATE_NOT_SET:0,CANDIDATE:2,DONE:3,ERROR:4},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getUpdateCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallUpdateRequest.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.toObject=function(p,l){var u,c={uuid:s.Message.getFieldWithDefault(l,1,""),candidate:(u=l.getCandidate())&&proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,u),done:s.Message.getBooleanFieldWithDefault(l,3,!1),error:(u=l.getError())&&g.Status.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.CallUpdateRequest.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallUpdateRequest;return proto.proto.rpc.webrtc.v1.CallUpdateRequest.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setUuid(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.ICECandidate,l.readMessage(u,proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader),p.setCandidate(u);break;case 3:u=l.readBool(),p.setDone(u);break;case 4:u=new g.Status,l.readMessage(u,g.Status.deserializeBinaryFromReader),p.setError(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallUpdateRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallUpdateRequest.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUuid()).length>0&&l.writeString(1,u),(u=p.getCandidate())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter),(u=s.Message.getField(p,3))!=null&&l.writeBool(3,u),(u=p.getError())!=null&&l.writeMessage(4,u,g.Status.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getUuid=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.setUuid=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getCandidate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ICECandidate,2)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.setCandidate=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.clearCandidate=function(){return this.setCandidate(void 0)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.hasCandidate=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getDone=function(){return s.Message.getBooleanFieldWithDefault(this,3,!1)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.setDone=function(p){return s.Message.setOneofField(this,3,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.clearDone=function(){return s.Message.setOneofField(this,3,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0],void 0)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.hasDone=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.getError=function(){return s.Message.getWrapperField(this,g.Status,4)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.setError=function(p){return s.Message.setOneofWrapperField(this,4,proto.proto.rpc.webrtc.v1.CallUpdateRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.clearError=function(){return this.setError(void 0)},proto.proto.rpc.webrtc.v1.CallUpdateRequest.prototype.hasError=function(){return s.Message.getField(this,4)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.CallUpdateResponse.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.CallUpdateResponse.toObject(p,this)},proto.proto.rpc.webrtc.v1.CallUpdateResponse.toObject=function(p,l){var u={};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.CallUpdateResponse.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.CallUpdateResponse;return proto.proto.rpc.webrtc.v1.CallUpdateResponse.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.CallUpdateResponse.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)l.getFieldNumber(),l.skipField();return p},proto.proto.rpc.webrtc.v1.CallUpdateResponse.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.CallUpdateResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.CallUpdateResponse.serializeBinaryToWriter=function(p,l){},proto.proto.rpc.webrtc.v1.ICEServer.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.ICEServer.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.ICEServer.toObject(p,this)},proto.proto.rpc.webrtc.v1.ICEServer.toObject=function(p,l){var u,c={urlsList:(u=s.Message.getRepeatedField(l,1))==null?void 0:u,username:s.Message.getFieldWithDefault(l,2,""),credential:s.Message.getFieldWithDefault(l,3,"")};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.ICEServer.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.ICEServer;return proto.proto.rpc.webrtc.v1.ICEServer.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.ICEServer.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.addUrls(u);break;case 2:u=l.readString(),p.setUsername(u);break;case 3:u=l.readString(),p.setCredential(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.ICEServer.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.ICEServer.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.ICEServer.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUrlsList()).length>0&&l.writeRepeatedString(1,u),(u=p.getUsername()).length>0&&l.writeString(2,u),(u=p.getCredential()).length>0&&l.writeString(3,u)},proto.proto.rpc.webrtc.v1.ICEServer.prototype.getUrlsList=function(){return s.Message.getRepeatedField(this,1)},proto.proto.rpc.webrtc.v1.ICEServer.prototype.setUrlsList=function(p){return s.Message.setField(this,1,p||[])},proto.proto.rpc.webrtc.v1.ICEServer.prototype.addUrls=function(p,l){return s.Message.addToRepeatedField(this,1,p,l)},proto.proto.rpc.webrtc.v1.ICEServer.prototype.clearUrlsList=function(){return this.setUrlsList([])},proto.proto.rpc.webrtc.v1.ICEServer.prototype.getUsername=function(){return s.Message.getFieldWithDefault(this,2,"")},proto.proto.rpc.webrtc.v1.ICEServer.prototype.setUsername=function(p){return s.Message.setProto3StringField(this,2,p)},proto.proto.rpc.webrtc.v1.ICEServer.prototype.getCredential=function(){return s.Message.getFieldWithDefault(this,3,"")},proto.proto.rpc.webrtc.v1.ICEServer.prototype.setCredential=function(p){return s.Message.setProto3StringField(this,3,p)},proto.proto.rpc.webrtc.v1.WebRTCConfig.repeatedFields_=[1],s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.WebRTCConfig.toObject(p,this)},proto.proto.rpc.webrtc.v1.WebRTCConfig.toObject=function(p,l){var u={additionalIceServersList:s.Message.toObjectList(l.getAdditionalIceServersList(),proto.proto.rpc.webrtc.v1.ICEServer.toObject,p),disableTrickle:s.Message.getBooleanFieldWithDefault(l,2,!1)};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.WebRTCConfig;return proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=new proto.proto.rpc.webrtc.v1.ICEServer;l.readMessage(u,proto.proto.rpc.webrtc.v1.ICEServer.deserializeBinaryFromReader),p.addAdditionalIceServers(u);break;case 2:u=l.readBool(),p.setDisableTrickle(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.WebRTCConfig.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.WebRTCConfig.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getAdditionalIceServersList()).length>0&&l.writeRepeatedMessage(1,u,proto.proto.rpc.webrtc.v1.ICEServer.serializeBinaryToWriter),(u=p.getDisableTrickle())&&l.writeBool(2,u)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.getAdditionalIceServersList=function(){return s.Message.getRepeatedWrapperField(this,proto.proto.rpc.webrtc.v1.ICEServer,1)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.setAdditionalIceServersList=function(p){return s.Message.setRepeatedWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.addAdditionalIceServers=function(p,l){return s.Message.addToRepeatedWrapperField(this,1,p,proto.proto.rpc.webrtc.v1.ICEServer,l)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.clearAdditionalIceServersList=function(){return this.setAdditionalIceServersList([])},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.getDisableTrickle=function(){return s.Message.getBooleanFieldWithDefault(this,2,!1)},proto.proto.rpc.webrtc.v1.WebRTCConfig.prototype.setDisableTrickle=function(p){return s.Message.setProto3BooleanField(this,2,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.toObject=function(p,l){var u,c={sdp:s.Message.getFieldWithDefault(l,1,""),optionalConfig:(u=l.getOptionalConfig())&&proto.proto.rpc.webrtc.v1.WebRTCConfig.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequestInitStage;return proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setSdp(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.WebRTCConfig,l.readMessage(u,proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinaryFromReader),p.setOptionalConfig(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getSdp()).length>0&&l.writeString(1,u),(u=p.getOptionalConfig())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.WebRTCConfig.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.getSdp=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.setSdp=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.getOptionalConfig=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.WebRTCConfig,2)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.setOptionalConfig=function(p){return s.Message.setWrapperField(this,2,p)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.clearOptionalConfig=function(){return this.setOptionalConfig(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.prototype.hasOptionalConfig=function(){return s.Message.getField(this,2)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.toObject=function(p,l){var u,c={candidate:(u=l.getCandidate())&&proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage;return proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.ICECandidate;l.readMessage(u,proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader),p.setCandidate(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getCandidate())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.getCandidate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ICECandidate,1)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.setCandidate=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.clearCandidate=function(){return this.setCandidate(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.prototype.hasCandidate=function(){return s.Message.getField(this,1)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.toObject=function(p,l){var u={};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage;return proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)l.getFieldNumber(),l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.serializeBinaryToWriter=function(p,l){},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.toObject=function(p,l){var u,c={status:(u=l.getStatus())&&g.Status.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage;return proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new g.Status;l.readMessage(u,g.Status.deserializeBinaryFromReader),p.setStatus(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getStatus())!=null&&l.writeMessage(1,u,g.Status.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.getStatus=function(){return s.Message.getWrapperField(this,g.Status,1)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.setStatus=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.clearStatus=function(){return this.setStatus(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.prototype.hasStatus=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_=[[2,3,4,5]],proto.proto.rpc.webrtc.v1.AnswerRequest.StageCase={STAGE_NOT_SET:0,INIT:2,UPDATE:3,DONE:4,ERROR:5},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getStageCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerRequest.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerRequest.toObject=function(p,l){var u,c={uuid:s.Message.getFieldWithDefault(l,1,""),init:(u=l.getInit())&&proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.toObject(p,u),update:(u=l.getUpdate())&&proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.toObject(p,u),done:(u=l.getDone())&&proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.toObject(p,u),error:(u=l.getError())&&proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerRequest.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerRequest;return proto.proto.rpc.webrtc.v1.AnswerRequest.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerRequest.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setUuid(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.AnswerRequestInitStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.deserializeBinaryFromReader),p.setInit(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.deserializeBinaryFromReader),p.setUpdate(u);break;case 4:u=new proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.deserializeBinaryFromReader),p.setDone(u);break;case 5:u=new proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.deserializeBinaryFromReader),p.setError(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerRequest.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUuid()).length>0&&l.writeString(1,u),(u=p.getInit())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.AnswerRequestInitStage.serializeBinaryToWriter),(u=p.getUpdate())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage.serializeBinaryToWriter),(u=p.getDone())!=null&&l.writeMessage(4,u,proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage.serializeBinaryToWriter),(u=p.getError())!=null&&l.writeMessage(5,u,proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getUuid=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setUuid=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getInit=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerRequestInitStage,2)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setInit=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.clearInit=function(){return this.setInit(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.hasInit=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getUpdate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerRequestUpdateStage,3)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setUpdate=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.clearUpdate=function(){return this.setUpdate(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.hasUpdate=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getDone=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerRequestDoneStage,4)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setDone=function(p){return s.Message.setOneofWrapperField(this,4,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.clearDone=function(){return this.setDone(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.hasDone=function(){return s.Message.getField(this,4)!=null},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.getError=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerRequestErrorStage,5)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.setError=function(p){return s.Message.setOneofWrapperField(this,5,proto.proto.rpc.webrtc.v1.AnswerRequest.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.clearError=function(){return this.setError(void 0)},proto.proto.rpc.webrtc.v1.AnswerRequest.prototype.hasError=function(){return s.Message.getField(this,5)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.toObject=function(p,l){var u={sdp:s.Message.getFieldWithDefault(l,1,"")};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponseInitStage;return proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=l.readString();p.setSdp(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getSdp()).length>0&&l.writeString(1,u)},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.prototype.getSdp=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.prototype.setSdp=function(p){return s.Message.setProto3StringField(this,1,p)},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.toObject=function(p,l){var u,c={candidate:(u=l.getCandidate())&&proto.proto.rpc.webrtc.v1.ICECandidate.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage;return proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.ICECandidate;l.readMessage(u,proto.proto.rpc.webrtc.v1.ICECandidate.deserializeBinaryFromReader),p.setCandidate(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getCandidate())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.ICECandidate.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.getCandidate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.ICECandidate,1)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.setCandidate=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.clearCandidate=function(){return this.setCandidate(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.prototype.hasCandidate=function(){return s.Message.getField(this,1)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.toObject=function(p,l){var u={};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage;return proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)l.getFieldNumber(),l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.serializeBinaryToWriter=function(p,l){},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.toObject=function(p,l){var u,c={status:(u=l.getStatus())&&g.Status.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage;return proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new g.Status;l.readMessage(u,g.Status.deserializeBinaryFromReader),p.setStatus(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.serializeBinaryToWriter=function(p,l){var u;(u=p.getStatus())!=null&&l.writeMessage(1,u,g.Status.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.getStatus=function(){return s.Message.getWrapperField(this,g.Status,1)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.setStatus=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.clearStatus=function(){return this.setStatus(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.prototype.hasStatus=function(){return s.Message.getField(this,1)!=null},proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_=[[2,3,4,5]],proto.proto.rpc.webrtc.v1.AnswerResponse.StageCase={STAGE_NOT_SET:0,INIT:2,UPDATE:3,DONE:4,ERROR:5},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getStageCase=function(){return s.Message.computeOneofCase(this,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0])},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.AnswerResponse.toObject(p,this)},proto.proto.rpc.webrtc.v1.AnswerResponse.toObject=function(p,l){var u,c={uuid:s.Message.getFieldWithDefault(l,1,""),init:(u=l.getInit())&&proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.toObject(p,u),update:(u=l.getUpdate())&&proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.toObject(p,u),done:(u=l.getDone())&&proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.toObject(p,u),error:(u=l.getError())&&proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.AnswerResponse.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.AnswerResponse;return proto.proto.rpc.webrtc.v1.AnswerResponse.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.AnswerResponse.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)switch(l.getFieldNumber()){case 1:var u=l.readString();p.setUuid(u);break;case 2:u=new proto.proto.rpc.webrtc.v1.AnswerResponseInitStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.deserializeBinaryFromReader),p.setInit(u);break;case 3:u=new proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.deserializeBinaryFromReader),p.setUpdate(u);break;case 4:u=new proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.deserializeBinaryFromReader),p.setDone(u);break;case 5:u=new proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage,l.readMessage(u,proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.deserializeBinaryFromReader),p.setError(u);break;default:l.skipField()}return p},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.AnswerResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.AnswerResponse.serializeBinaryToWriter=function(p,l){var u=void 0;(u=p.getUuid()).length>0&&l.writeString(1,u),(u=p.getInit())!=null&&l.writeMessage(2,u,proto.proto.rpc.webrtc.v1.AnswerResponseInitStage.serializeBinaryToWriter),(u=p.getUpdate())!=null&&l.writeMessage(3,u,proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage.serializeBinaryToWriter),(u=p.getDone())!=null&&l.writeMessage(4,u,proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage.serializeBinaryToWriter),(u=p.getError())!=null&&l.writeMessage(5,u,proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getUuid=function(){return s.Message.getFieldWithDefault(this,1,"")},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setUuid=function(p){return s.Message.setProto3StringField(this,1,p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getInit=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerResponseInitStage,2)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setInit=function(p){return s.Message.setOneofWrapperField(this,2,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.clearInit=function(){return this.setInit(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.hasInit=function(){return s.Message.getField(this,2)!=null},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getUpdate=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerResponseUpdateStage,3)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setUpdate=function(p){return s.Message.setOneofWrapperField(this,3,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.clearUpdate=function(){return this.setUpdate(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.hasUpdate=function(){return s.Message.getField(this,3)!=null},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getDone=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerResponseDoneStage,4)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setDone=function(p){return s.Message.setOneofWrapperField(this,4,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.clearDone=function(){return this.setDone(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.hasDone=function(){return s.Message.getField(this,4)!=null},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.getError=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.AnswerResponseErrorStage,5)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.setError=function(p){return s.Message.setOneofWrapperField(this,5,proto.proto.rpc.webrtc.v1.AnswerResponse.oneofGroups_[0],p)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.clearError=function(){return this.setError(void 0)},proto.proto.rpc.webrtc.v1.AnswerResponse.prototype.hasError=function(){return s.Message.getField(this,5)!=null},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.toObject(p,this)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.toObject=function(p,l){var u={};return p&&(u.$jspbMessageInstance=l),u}),proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest;return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)l.getFieldNumber(),l.skipField();return p},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigRequest.serializeBinaryToWriter=function(p,l){},s.Message.GENERATE_TO_OBJECT&&(proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.toObject=function(p){return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.toObject(p,this)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.toObject=function(p,l){var u,c={config:(u=l.getConfig())&&proto.proto.rpc.webrtc.v1.WebRTCConfig.toObject(p,u)};return p&&(c.$jspbMessageInstance=l),c}),proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.deserializeBinary=function(p){var l=new s.BinaryReader(p),u=new proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse;return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.deserializeBinaryFromReader(u,l)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.deserializeBinaryFromReader=function(p,l){for(;l.nextField()&&!l.isEndGroup();)if(l.getFieldNumber()===1){var u=new proto.proto.rpc.webrtc.v1.WebRTCConfig;l.readMessage(u,proto.proto.rpc.webrtc.v1.WebRTCConfig.deserializeBinaryFromReader),p.setConfig(u)}else l.skipField();return p},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.serializeBinary=function(){var p=new s.BinaryWriter;return proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.serializeBinaryToWriter(this,p),p.getResultBuffer()},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.serializeBinaryToWriter=function(p,l){var u;(u=p.getConfig())!=null&&l.writeMessage(1,u,proto.proto.rpc.webrtc.v1.WebRTCConfig.serializeBinaryToWriter)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.getConfig=function(){return s.Message.getWrapperField(this,proto.proto.rpc.webrtc.v1.WebRTCConfig,1)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.setConfig=function(p){return s.Message.setWrapperField(this,1,p)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.clearConfig=function(){return this.setConfig(void 0)},proto.proto.rpc.webrtc.v1.OptionalWebRTCConfigResponse.prototype.hasConfig=function(){return s.Message.getField(this,1)!=null},o.object.extend(e,proto.proto.rpc.webrtc.v1)},958:(t,e,r)=>{var s=r(982),o=r(37).grpc,i=function(){function g(){}return g.serviceName="proto.rpc.webrtc.v1.SignalingService",g}();function n(g,p){this.serviceHost=g,this.options=p||{}}i.Call={methodName:"Call",service:i,requestStream:!1,responseStream:!0,requestType:s.CallRequest,responseType:s.CallResponse},i.CallUpdate={methodName:"CallUpdate",service:i,requestStream:!1,responseStream:!1,requestType:s.CallUpdateRequest,responseType:s.CallUpdateResponse},i.Answer={methodName:"Answer",service:i,requestStream:!0,responseStream:!0,requestType:s.AnswerResponse,responseType:s.AnswerRequest},i.OptionalWebRTCConfig={methodName:"OptionalWebRTCConfig",service:i,requestStream:!1,responseStream:!1,requestType:s.OptionalWebRTCConfigRequest,responseType:s.OptionalWebRTCConfigResponse},e.SignalingService=i,n.prototype.call=function(g,p){var l={data:[],end:[],status:[]},u=o.invoke(i.Call,{request:g,host:this.serviceHost,metadata:p,transport:this.options.transport,debug:this.options.debug,onMessage:function(c){l.data.forEach(function(y){y(c)})},onEnd:function(c,y,m){l.status.forEach(function(h){h({code:c,details:y,metadata:m})}),l.end.forEach(function(h){h({code:c,details:y,metadata:m})}),l=null}});return{on:function(c,y){return l[c].push(y),this},cancel:function(){l=null,u.close()}}},n.prototype.callUpdate=function(g,p,l){arguments.length===2&&(l=arguments[1]);var u=o.unary(i.CallUpdate,{request:g,host:this.serviceHost,metadata:p,transport:this.options.transport,debug:this.options.debug,onEnd:function(c){if(l)if(c.status!==o.Code.OK){var y=new Error(c.statusMessage);y.code=c.status,y.metadata=c.trailers,l(y,null)}else l(null,c.message)}});return{cancel:function(){l=null,u.close()}}},n.prototype.answer=function(g){var p={data:[],end:[],status:[]},l=o.client(i.Answer,{host:this.serviceHost,metadata:g,transport:this.options.transport});return l.onEnd(function(u,c,y){p.status.forEach(function(m){m({code:u,details:c,metadata:y})}),p.end.forEach(function(m){m({code:u,details:c,metadata:y})}),p=null}),l.onMessage(function(u){p.data.forEach(function(c){c(u)})}),l.start(g),{on:function(u,c){return p[u].push(c),this},write:function(u){return l.send(u),this},end:function(){l.finishSend()},cancel:function(){p=null,l.close()}}},n.prototype.optionalWebRTCConfig=function(g,p,l){arguments.length===2&&(l=arguments[1]);var u=o.unary(i.OptionalWebRTCConfig,{request:g,host:this.serviceHost,metadata:p,transport:this.options.transport,debug:this.options.debug,onEnd:function(c){if(l)if(c.status!==o.Code.OK){var y=new Error(c.statusMessage);y.code=c.status,y.metadata=c.trailers,l(y,null)}else l(null,c.message)}});return{cancel:function(){l=null,u.close()}}},e.SignalingServiceClient=n}},__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(e!==void 0)return e.exports;var r=__webpack_module_cache__[t]={exports:{}};return __webpack_modules__[t].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.d=(t,e)=>{for(var r in e)__webpack_require__.o(e,r)&&!__webpack_require__.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:e[r]})},__webpack_require__.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var __webpack_exports__={};(()=>{var t=__webpack_exports__;Object.defineProperty(t,"X$",{value:!0}),t.o=t.iJ=t.WP=t.ry=void 0;var e=__webpack_require__(512);Object.defineProperty(t,"ry",{enumerable:!0,get:function(){return e.dialDirect}}),Object.defineProperty(t,"WP",{enumerable:!0,get:function(){return e.dialWebRTC}});var r=__webpack_require__(758);Object.defineProperty(t,"iJ",{enumerable:!0,get:function(){return r.ConnectionClosedError}}),Object.defineProperty(t,"o",{enumerable:!0,get:function(){return r.GRPCError}})})(),__webpack_exports__.iJ,__webpack_exports__.o,__webpack_exports__.X$;var __webpack_exports__dialDirect=__webpack_exports__.ry,__webpack_exports__dialWebRTC=__webpack_exports__.WP,commonjsGlobal$A=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},arm_pb$1={},googleProtobuf$A={};(function(exports){var $jscomp=$jscomp||{};$jscomp.scope={},$jscomp.findInternal=function(t,e,r){t instanceof String&&(t=String(t));for(var s=t.length,o=0;o<s;o++){var i=t[o];if(e.call(r,i,o,t))return{i:o,v:i}}return{i:-1,v:void 0}},$jscomp.ASSUME_ES5=!1,$jscomp.ASSUME_NO_NATIVE_MAP=!1,$jscomp.ASSUME_NO_NATIVE_SET=!1,$jscomp.SIMPLE_FROUND_POLYFILL=!1,$jscomp.defineProperty=$jscomp.ASSUME_ES5||typeof Object.defineProperties=="function"?Object.defineProperty:function(t,e,r){t!=Array.prototype&&t!=Object.prototype&&(t[e]=r.value)},$jscomp.getGlobal=function(t){return typeof window<"u"&&window===t?t:typeof commonjsGlobal$A<"u"&&commonjsGlobal$A!=null?commonjsGlobal$A:t},$jscomp.global=$jscomp.getGlobal(commonjsGlobal$A),$jscomp.polyfill=function(t,e,r,s){if(e){for(r=$jscomp.global,t=t.split("."),s=0;s<t.length-1;s++){var o=t[s];o in r||(r[o]={}),r=r[o]}t=t[t.length-1],s=r[t],e=e(s),e!=s&&e!=null&&$jscomp.defineProperty(r,t,{configurable:!0,writable:!0,value:e})}},$jscomp.polyfill("Array.prototype.findIndex",function(t){return t||function(e,r){return $jscomp.findInternal(this,e,r).i}},"es6","es3"),$jscomp.checkStringArgs=function(t,e,r){if(t==null)throw new TypeError("The 'this' value for String.prototype."+r+" must not be null or undefined");if(e instanceof RegExp)throw new TypeError("First argument to String.prototype."+r+" must not be a regular expression");return t+""},$jscomp.polyfill("String.prototype.endsWith",function(t){return t||function(e,r){var s=$jscomp.checkStringArgs(this,e,"endsWith");e+="",r===void 0&&(r=s.length),r=Math.max(0,Math.min(r|0,s.length));for(var o=e.length;0<o&&0<r;)if(s[--r]!=e[--o])return!1;return 0>=o}},"es6","es3"),$jscomp.polyfill("Array.prototype.find",function(t){return t||function(e,r){return $jscomp.findInternal(this,e,r).v}},"es6","es3"),$jscomp.polyfill("String.prototype.startsWith",function(t){return t||function(e,r){var s=$jscomp.checkStringArgs(this,e,"startsWith");e+="";var o=s.length,i=e.length;r=Math.max(0,Math.min(r|0,s.length));for(var n=0;n<i&&r<o;)if(s[r++]!=e[n++])return!1;return n>=i}},"es6","es3"),$jscomp.polyfill("String.prototype.repeat",function(t){return t||function(e){var r=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279<e)throw new RangeError("Invalid count value");e|=0;for(var s="";e;)e&1&&(s+=r),(e>>>=1)&&(r+=r);return s}},"es6","es3");var COMPILED=!0,goog=goog||{};goog.global=commonjsGlobal$A||self,goog.exportPath_=function(t,e,r){t=t.split("."),r=r||goog.global,t[0]in r||typeof r.execScript>"u"||r.execScript("var "+t[0]);for(var s;t.length&&(s=t.shift());)t.length||e===void 0?r=r[s]&&r[s]!==Object.prototype[s]?r[s]:r[s]={}:r[s]=e},goog.define=function(t,e){return e},goog.FEATURESET_YEAR=2012,goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(t){if(goog.isInModuleLoader_())throw Error("goog.provide cannot be used within a module.");goog.constructNamespace_(t)},goog.constructNamespace_=function(t,e){goog.exportPath_(t,e)},goog.getScriptNonce=function(t){return t&&t!=goog.global?goog.getScriptNonce_(t.document):(goog.cspNonce_===null&&(goog.cspNonce_=goog.getScriptNonce_(goog.global.document)),goog.cspNonce_)},goog.NONCE_PATTERN_=/^[\w+/_-]+[=]{0,2}$/,goog.cspNonce_=null,goog.getScriptNonce_=function(t){return(t=t.querySelector&&t.querySelector("script[nonce]"))&&(t=t.nonce||t.getAttribute("nonce"))&&goog.NONCE_PATTERN_.test(t)?t:""},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(t){if(typeof t!="string"||!t||t.search(goog.VALID_MODULE_RE_)==-1)throw Error("Invalid module identifier");if(!goog.isInGoogModuleLoader_())throw Error("Module "+t+" has been loaded incorrectly. Note, modules cannot be loaded as normal scripts. They require some kind of pre-processing step. You're likely trying to load a module via a script tag or as a part of a concatenated bundle without rewriting the module. For more info see: https://github.com/google/closure-library/wiki/goog.module:-an-ES6-module-like-alternative-to-goog.provide.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");goog.moduleLoaderState_.moduleName=t},goog.module.get=function(t){return goog.module.getInternal_(t)},goog.module.getInternal_=function(t){return null},goog.ModuleType={ES6:"es6",GOOG:"goog"},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return goog.isInGoogModuleLoader_()||goog.isInEs6ModuleLoader_()},goog.isInGoogModuleLoader_=function(){return!!goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.GOOG},goog.isInEs6ModuleLoader_=function(){if(goog.moduleLoaderState_&&goog.moduleLoaderState_.type==goog.ModuleType.ES6)return!0;var t=goog.global.$jscomp;return t?typeof t.getCurrentModulePath!="function"?!1:!!t.getCurrentModulePath():!1},goog.module.declareLegacyNamespace=function(){goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.declareModuleId=function(t){if(goog.moduleLoaderState_)goog.moduleLoaderState_.moduleName=t;else{var e=goog.global.$jscomp;if(!e||typeof e.getCurrentModulePath!="function")throw Error('Module with namespace "'+t+'" has been loaded incorrectly.');e=e.require(e.getCurrentModulePath()),goog.loadedModules_[t]={exports:e,type:goog.ModuleType.ES6,moduleId:t}}},goog.setTestOnly=function(t){if(goog.DISALLOW_TEST_ONLY_CODE)throw t=t||"",Error("Importing test-only code into non-debug environment"+(t?": "+t:"."))},goog.forwardDeclare=function(t){},goog.getObjectByName=function(t,e){t=t.split("."),e=e||goog.global;for(var r=0;r<t.length;r++)if(e=e[t[r]],e==null)return null;return e},goog.globalize=function(t,e){e=e||goog.global;for(var r in t)e[r]=t[r]},goog.addDependency=function(t,e,r,s){},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(t){goog.global.console&&goog.global.console.error(t)},goog.require=function(t){},goog.requireType=function(t){return{}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(t){t.instance_=void 0,t.getInstance=function(){return t.instance_?t.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=t),t.instance_=new t)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED,goog.TRANSPILE="detect",goog.ASSUME_ES_MODULES_TRANSPILED=!1,goog.TRANSPILE_TO_LANGUAGE="",goog.TRANSPILER="transpile.js",goog.hasBadLetScoping=null,goog.useSafari10Workaround=function(){if(goog.hasBadLetScoping==null){try{var a=!eval('"use strict";let x = 1; function f() { return typeof x; };f() == "number";')}catch(t){a=!1}goog.hasBadLetScoping=a}return goog.hasBadLetScoping},goog.workaroundSafari10EvalBug=function(t){return"(function(){"+t+`
11
11
  ;})();
12
12
  `},goog.loadModule=function(t){var e=goog.moduleLoaderState_;try{if(goog.moduleLoaderState_={moduleName:"",declareLegacyNamespace:!1,type:goog.ModuleType.GOOG},goog.isFunction(t))var r=t.call(void 0,{});else if(typeof t=="string")goog.useSafari10Workaround()&&(t=goog.workaroundSafari10EvalBug(t)),r=goog.loadModuleFromSource_.call(void 0,t);else throw Error("Invalid module definition");var s=goog.moduleLoaderState_.moduleName;if(typeof s=="string"&&s)goog.moduleLoaderState_.declareLegacyNamespace?goog.constructNamespace_(s,r):goog.SEAL_MODULE_EXPORTS&&Object.seal&&typeof r=="object"&&r!=null&&Object.seal(r),goog.loadedModules_[s]={exports:r,type:goog.ModuleType.GOOG,moduleId:goog.moduleLoaderState_.moduleName};else throw Error('Invalid module name "'+s+'"')}finally{goog.moduleLoaderState_=e}},goog.loadModuleFromSource_=function(a){return eval(a),{}},goog.normalizePath_=function(t){t=t.split("/");for(var e=0;e<t.length;)t[e]=="."?t.splice(e,1):e&&t[e]==".."&&t[e-1]&&t[e-1]!=".."?t.splice(--e,2):e++;return t.join("/")},goog.loadFileSync_=function(t){if(goog.global.CLOSURE_LOAD_FILE_SYNC)return goog.global.CLOSURE_LOAD_FILE_SYNC(t);try{var e=new goog.global.XMLHttpRequest;return e.open("get",t,!1),e.send(),e.status==0||e.status==200?e.responseText:null}catch{return null}},goog.transpile_=function(t,e,r){var s=goog.global.$jscomp;s||(goog.global.$jscomp=s={});var o=s.transpile;if(!o){var i=goog.basePath+goog.TRANSPILER,n=goog.loadFileSync_(i);if(n){if(function(){(0,eval)(n+`
13
13
  //# sourceURL=`+i)}.call(goog.global),goog.global.$gwtExport&&goog.global.$gwtExport.$jscomp&&!goog.global.$gwtExport.$jscomp.transpile)throw Error('The transpiler did not properly export the "transpile" method. $gwtExport: '+JSON.stringify(goog.global.$gwtExport));goog.global.$jscomp.transpile=goog.global.$gwtExport.$jscomp.transpile,s=goog.global.$jscomp,o=s.transpile}}return o||(o=s.transpile=function(g,p){return goog.logToConsole_(p+" requires transpilation but no transpiler was found."),g}),o(t,e,r)},goog.typeOf=function(t){var e=typeof t;if(e=="object")if(t){if(t instanceof Array)return"array";if(t instanceof Object)return e;var r=Object.prototype.toString.call(t);if(r=="[object Window]")return"object";if(r=="[object Array]"||typeof t.length=="number"&&typeof t.splice<"u"&&typeof t.propertyIsEnumerable<"u"&&!t.propertyIsEnumerable("splice"))return"array";if(r=="[object Function]"||typeof t.call<"u"&&typeof t.propertyIsEnumerable<"u"&&!t.propertyIsEnumerable("call"))return"function"}else return"null";else if(e=="function"&&typeof t.call>"u")return"object";return e},goog.isArray=function(t){return goog.typeOf(t)=="array"},goog.isArrayLike=function(t){var e=goog.typeOf(t);return e=="array"||e=="object"&&typeof t.length=="number"},goog.isDateLike=function(t){return goog.isObject(t)&&typeof t.getFullYear=="function"},goog.isFunction=function(t){return goog.typeOf(t)=="function"},goog.isObject=function(t){var e=typeof t;return e=="object"&&t!=null||e=="function"},goog.getUid=function(t){return Object.prototype.hasOwnProperty.call(t,goog.UID_PROPERTY_)&&t[goog.UID_PROPERTY_]||(t[goog.UID_PROPERTY_]=++goog.uidCounter_)},goog.hasUid=function(t){return!!t[goog.UID_PROPERTY_]},goog.removeUid=function(t){t!==null&&"removeAttribute"in t&&t.removeAttribute(goog.UID_PROPERTY_);try{delete t[goog.UID_PROPERTY_]}catch{}},goog.UID_PROPERTY_="closure_uid_"+(1e9*Math.random()>>>0),goog.uidCounter_=0,goog.getHashCode=goog.getUid,goog.removeHashCode=goog.removeUid,goog.cloneObject=function(t){var e=goog.typeOf(t);if(e=="object"||e=="array"){if(typeof t.clone=="function")return t.clone();e=e=="array"?[]:{};for(var r in t)e[r]=goog.cloneObject(t[r]);return e}return t},goog.bindNative_=function(t,e,r){return t.call.apply(t.bind,arguments)},goog.bindJs_=function(t,e,r){if(!t)throw Error();if(2<arguments.length){var s=Array.prototype.slice.call(arguments,2);return function(){var o=Array.prototype.slice.call(arguments);return Array.prototype.unshift.apply(o,s),t.apply(e,o)}}return function(){return t.apply(e,arguments)}},goog.bind=function(t,e,r){return Function.prototype.bind&&Function.prototype.bind.toString().indexOf("native code")!=-1?goog.bind=goog.bindNative_:goog.bind=goog.bindJs_,goog.bind.apply(null,arguments)},goog.partial=function(t,e){var r=Array.prototype.slice.call(arguments,1);return function(){var s=r.slice();return s.push.apply(s,arguments),t.apply(this,s)}},goog.mixin=function(t,e){for(var r in e)t[r]=e[r]},goog.now=goog.TRUSTED_SITE&&Date.now||function(){return+new Date},goog.globalEval=function(t){if(goog.global.execScript)goog.global.execScript(t,"JavaScript");else if(goog.global.eval){if(goog.evalWorksForGlobals_==null){try{goog.global.eval("var _evalTest_ = 1;")}catch{}if(typeof goog.global._evalTest_<"u"){try{delete goog.global._evalTest_}catch{}goog.evalWorksForGlobals_=!0}else goog.evalWorksForGlobals_=!1}if(goog.evalWorksForGlobals_)goog.global.eval(t);else{var e=goog.global.document,r=e.createElement("script");r.type="text/javascript",r.defer=!1,r.appendChild(e.createTextNode(t)),e.head.appendChild(r),e.head.removeChild(r)}}else throw Error("goog.globalEval not available")},goog.evalWorksForGlobals_=null,goog.getCssName=function(t,e){if(String(t).charAt(0)==".")throw Error('className passed in goog.getCssName must not start with ".". You passed: '+t);var r=function(o){return goog.cssNameMapping_[o]||o},s=function(o){o=o.split("-");for(var i=[],n=0;n<o.length;n++)i.push(r(o[n]));return i.join("-")};return s=goog.cssNameMapping_?goog.cssNameMappingStyle_=="BY_WHOLE"?r:s:function(o){return o},t=e?t+"-"+s(e):s(t),goog.global.CLOSURE_CSS_NAME_MAP_FN?goog.global.CLOSURE_CSS_NAME_MAP_FN(t):t},goog.setCssNameMapping=function(t,e){goog.cssNameMapping_=t,goog.cssNameMappingStyle_=e},goog.getMsg=function(t,e,r){return r&&r.html&&(t=t.replace(/</g,"&lt;")),e&&(t=t.replace(/\{\$([^}]+)}/g,function(s,o){return e!=null&&o in e?e[o]:s})),t},goog.getMsgWithFallback=function(t,e){return t},goog.exportSymbol=function(t,e,r){goog.exportPath_(t,e,r)},goog.exportProperty=function(t,e,r){t[e]=r},goog.inherits=function(t,e){function r(){}r.prototype=e.prototype,t.superClass_=e.prototype,t.prototype=new r,t.prototype.constructor=t,t.base=function(s,o,i){for(var n=Array(arguments.length-2),g=2;g<arguments.length;g++)n[g-2]=arguments[g];return e.prototype[o].apply(s,n)}},goog.scope=function(t){if(goog.isInModuleLoader_())throw Error("goog.scope is not supported within a module.");t.call(goog.global)},goog.defineClass=function(t,e){var r=e.constructor,s=e.statics;return r&&r!=Object.prototype.constructor||(r=function(){throw Error("cannot instantiate an interface (no constructor defined).")}),r=goog.defineClass.createSealingConstructor_(r,t),t&&goog.inherits(r,t),delete e.constructor,delete e.statics,goog.defineClass.applyProperties_(r.prototype,e),s!=null&&(s instanceof Function?s(r):goog.defineClass.applyProperties_(r,s)),r},goog.defineClass.SEAL_CLASS_INSTANCES=goog.DEBUG,goog.defineClass.createSealingConstructor_=function(t,e){if(!goog.defineClass.SEAL_CLASS_INSTANCES)return t;var r=!goog.defineClass.isUnsealable_(e),s=function(){var o=t.apply(this,arguments)||this;return o[goog.UID_PROPERTY_]=o[goog.UID_PROPERTY_],this.constructor===s&&r&&Object.seal instanceof Function&&Object.seal(o),o};return s},goog.defineClass.isUnsealable_=function(t){return t&&t.prototype&&t.prototype[goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_]},goog.defineClass.OBJECT_PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.defineClass.applyProperties_=function(t,e){for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);for(var s=0;s<goog.defineClass.OBJECT_PROTOTYPE_FIELDS_.length;s++)r=goog.defineClass.OBJECT_PROTOTYPE_FIELDS_[s],Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r])},goog.tagUnsealableClass=function(t){},goog.UNSEALABLE_CONSTRUCTOR_PROPERTY_="goog_defineClass_legacy_unsealable",goog.TRUSTED_TYPES_POLICY_NAME="",goog.identity_=function(t){return t},goog.createTrustedTypesPolicy=function(t){var e=null,r=goog.global.trustedTypes||goog.global.TrustedTypes;if(!r||!r.createPolicy)return e;try{e=r.createPolicy(t,{createHTML:goog.identity_,createScript:goog.identity_,createScriptURL:goog.identity_,createURL:goog.identity_})}catch(s){goog.logToConsole_(s.message)}return e},goog.TRUSTED_TYPES_POLICY_=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#base"):null,goog.object={},goog.object.is=function(t,e){return t===e?t!==0||1/t===1/e:t!==t&&e!==e},goog.object.forEach=function(t,e,r){for(var s in t)e.call(r,t[s],s,t)},goog.object.filter=function(t,e,r){var s={},o;for(o in t)e.call(r,t[o],o,t)&&(s[o]=t[o]);return s},goog.object.map=function(t,e,r){var s={},o;for(o in t)s[o]=e.call(r,t[o],o,t);return s},goog.object.some=function(t,e,r){for(var s in t)if(e.call(r,t[s],s,t))return!0;return!1},goog.object.every=function(t,e,r){for(var s in t)if(!e.call(r,t[s],s,t))return!1;return!0},goog.object.getCount=function(t){var e=0,r;for(r in t)e++;return e},goog.object.getAnyKey=function(t){for(var e in t)return e},goog.object.getAnyValue=function(t){for(var e in t)return t[e]},goog.object.contains=function(t,e){return goog.object.containsValue(t,e)},goog.object.getValues=function(t){var e=[],r=0,s;for(s in t)e[r++]=t[s];return e},goog.object.getKeys=function(t){var e=[],r=0,s;for(s in t)e[r++]=s;return e},goog.object.getValueByKeys=function(t,e){var r=goog.isArrayLike(e),s=r?e:arguments;for(r=r?0:1;r<s.length;r++){if(t==null)return;t=t[s[r]]}return t},goog.object.containsKey=function(t,e){return t!==null&&e in t},goog.object.containsValue=function(t,e){for(var r in t)if(t[r]==e)return!0;return!1},goog.object.findKey=function(t,e,r){for(var s in t)if(e.call(r,t[s],s,t))return s},goog.object.findValue=function(t,e,r){return(e=goog.object.findKey(t,e,r))&&t[e]},goog.object.isEmpty=function(t){for(var e in t)return!1;return!0},goog.object.clear=function(t){for(var e in t)delete t[e]},goog.object.remove=function(t,e){var r;return(r=e in t)&&delete t[e],r},goog.object.add=function(t,e,r){if(t!==null&&e in t)throw Error('The object already contains the key "'+e+'"');goog.object.set(t,e,r)},goog.object.get=function(t,e,r){return t!==null&&e in t?t[e]:r},goog.object.set=function(t,e,r){t[e]=r},goog.object.setIfUndefined=function(t,e,r){return e in t?t[e]:t[e]=r},goog.object.setWithReturnValueIfNotSet=function(t,e,r){return e in t?t[e]:(r=r(),t[e]=r)},goog.object.equals=function(t,e){for(var r in t)if(!(r in e)||t[r]!==e[r])return!1;for(var s in e)if(!(s in t))return!1;return!0},goog.object.clone=function(t){var e={},r;for(r in t)e[r]=t[r];return e},goog.object.unsafeClone=function(t){var e=goog.typeOf(t);if(e=="object"||e=="array"){if(goog.isFunction(t.clone))return t.clone();e=e=="array"?[]:{};for(var r in t)e[r]=goog.object.unsafeClone(t[r]);return e}return t},goog.object.transpose=function(t){var e={},r;for(r in t)e[t[r]]=r;return e},goog.object.PROTOTYPE_FIELDS_="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),goog.object.extend=function(t,e){for(var r,s,o=1;o<arguments.length;o++){s=arguments[o];for(r in s)t[r]=s[r];for(var i=0;i<goog.object.PROTOTYPE_FIELDS_.length;i++)r=goog.object.PROTOTYPE_FIELDS_[i],Object.prototype.hasOwnProperty.call(s,r)&&(t[r]=s[r])}},goog.object.create=function(t){var e=arguments.length;if(e==1&&Array.isArray(arguments[0]))return goog.object.create.apply(null,arguments[0]);if(e%2)throw Error("Uneven number of arguments");for(var r={},s=0;s<e;s+=2)r[arguments[s]]=arguments[s+1];return r},goog.object.createSet=function(t){var e=arguments.length;if(e==1&&Array.isArray(arguments[0]))return goog.object.createSet.apply(null,arguments[0]);for(var r={},s=0;s<e;s++)r[arguments[s]]=!0;return r},goog.object.createImmutableView=function(t){var e=t;return Object.isFrozen&&!Object.isFrozen(t)&&(e=Object.create(t),Object.freeze(e)),e},goog.object.isImmutableView=function(t){return!!Object.isFrozen&&Object.isFrozen(t)},goog.object.getAllPropertyNames=function(t,e,r){if(!t)return[];if(!Object.getOwnPropertyNames||!Object.getPrototypeOf)return goog.object.getKeys(t);for(var s={};t&&(t!==Object.prototype||e)&&(t!==Function.prototype||r);){for(var o=Object.getOwnPropertyNames(t),i=0;i<o.length;i++)s[o[i]]=!0;t=Object.getPrototypeOf(t)}return goog.object.getKeys(s)},goog.object.getSuperClass=function(t){return(t=Object.getPrototypeOf(t.prototype))&&t.constructor};var jspb={asserts:{}};jspb.asserts.doAssertFailure=function(t,e,r,s){var o="Assertion failed";if(r){o+=": "+r;var i=s}else t&&(o+=": "+t,i=e);throw Error(""+o,i||[])},jspb.asserts.assert=function(t,e,r){for(var s=[],o=2;o<arguments.length;++o)s[o-2]=arguments[o];return t||jspb.asserts.doAssertFailure("",null,e,s),t},jspb.asserts.assertString=function(t,e,r){for(var s=[],o=2;o<arguments.length;++o)s[o-2]=arguments[o];return typeof t!="string"&&jspb.asserts.doAssertFailure("Expected string but got %s: %s.",[goog.typeOf(t),t],e,s),t},jspb.asserts.assertArray=function(t,e,r){for(var s=[],o=2;o<arguments.length;++o)s[o-2]=arguments[o];return Array.isArray(t)||jspb.asserts.doAssertFailure("Expected array but got %s: %s.",[goog.typeOf(t),t],e,s),t},jspb.asserts.fail=function(t,e){for(var r=[],s=1;s<arguments.length;++s)r[s-1]=arguments[s];throw Error("Failure"+(t?": "+t:""),r)},jspb.asserts.assertInstanceof=function(t,e,r,s){for(var o=[],i=3;i<arguments.length;++i)o[i-3]=arguments[i];return t instanceof e||jspb.asserts.doAssertFailure("Expected instanceof %s but got %s.",[jspb.asserts.getType(e),jspb.asserts.getType(t)],r,o),t},jspb.asserts.getType=function(t){return t instanceof Function?t.displayName||t.name||"unknown type name":t instanceof Object?t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t):t===null?"null":typeof t},jspb.BinaryConstants={},jspb.ConstBinaryMessage=function(){},jspb.BinaryMessage=function(){},jspb.BinaryConstants.FieldType={INVALID:-1,DOUBLE:1,FLOAT:2,INT64:3,UINT64:4,INT32:5,FIXED64:6,FIXED32:7,BOOL:8,STRING:9,GROUP:10,MESSAGE:11,BYTES:12,UINT32:13,ENUM:14,SFIXED32:15,SFIXED64:16,SINT32:17,SINT64:18,FHASH64:30,VHASH64:31},jspb.BinaryConstants.WireType={INVALID:-1,VARINT:0,FIXED64:1,DELIMITED:2,START_GROUP:3,END_GROUP:4,FIXED32:5},jspb.BinaryConstants.FieldTypeToWireType=function(t){var e=jspb.BinaryConstants.FieldType,r=jspb.BinaryConstants.WireType;switch(t){case e.INT32:case e.INT64:case e.UINT32:case e.UINT64:case e.SINT32:case e.SINT64:case e.BOOL:case e.ENUM:case e.VHASH64:return r.VARINT;case e.DOUBLE:case e.FIXED64:case e.SFIXED64:case e.FHASH64:return r.FIXED64;case e.STRING:case e.MESSAGE:case e.BYTES:return r.DELIMITED;case e.FLOAT:case e.FIXED32:case e.SFIXED32:return r.FIXED32;default:return r.INVALID}},jspb.BinaryConstants.INVALID_FIELD_NUMBER=-1,jspb.BinaryConstants.FLOAT32_EPS=1401298464324817e-60,jspb.BinaryConstants.FLOAT32_MIN=11754943508222875e-54,jspb.BinaryConstants.FLOAT32_MAX=34028234663852886e22,jspb.BinaryConstants.FLOAT64_EPS=5e-324,jspb.BinaryConstants.FLOAT64_MIN=22250738585072014e-324,jspb.BinaryConstants.FLOAT64_MAX=17976931348623157e292,jspb.BinaryConstants.TWO_TO_20=1048576,jspb.BinaryConstants.TWO_TO_23=8388608,jspb.BinaryConstants.TWO_TO_31=2147483648,jspb.BinaryConstants.TWO_TO_32=4294967296,jspb.BinaryConstants.TWO_TO_52=4503599627370496,jspb.BinaryConstants.TWO_TO_63=9223372036854776e3,jspb.BinaryConstants.TWO_TO_64=18446744073709552e3,jspb.BinaryConstants.ZERO_HASH="\0\0\0\0\0\0\0\0",goog.debug={},goog.debug.Error=function(t){if(Error.captureStackTrace)Error.captureStackTrace(this,goog.debug.Error);else{var e=Error().stack;e&&(this.stack=e)}t&&(this.message=String(t)),this.reportErrorToServer=!0},goog.inherits(goog.debug.Error,Error),goog.debug.Error.prototype.name="CustomError",goog.dom={},goog.dom.NodeType={ELEMENT:1,ATTRIBUTE:2,TEXT:3,CDATA_SECTION:4,ENTITY_REFERENCE:5,ENTITY:6,PROCESSING_INSTRUCTION:7,COMMENT:8,DOCUMENT:9,DOCUMENT_TYPE:10,DOCUMENT_FRAGMENT:11,NOTATION:12},goog.asserts={},goog.asserts.ENABLE_ASSERTS=goog.DEBUG,goog.asserts.AssertionError=function(t,e){goog.debug.Error.call(this,goog.asserts.subs_(t,e)),this.messagePattern=t},goog.inherits(goog.asserts.AssertionError,goog.debug.Error),goog.asserts.AssertionError.prototype.name="AssertionError",goog.asserts.DEFAULT_ERROR_HANDLER=function(t){throw t},goog.asserts.errorHandler_=goog.asserts.DEFAULT_ERROR_HANDLER,goog.asserts.subs_=function(t,e){t=t.split("%s");for(var r="",s=t.length-1,o=0;o<s;o++)r+=t[o]+(o<e.length?e[o]:"%s");return r+t[s]},goog.asserts.doAssertFailure_=function(t,e,r,s){var o="Assertion failed";if(r){o+=": "+r;var i=s}else t&&(o+=": "+t,i=e);t=new goog.asserts.AssertionError(""+o,i||[]),goog.asserts.errorHandler_(t)},goog.asserts.setErrorHandler=function(t){goog.asserts.ENABLE_ASSERTS&&(goog.asserts.errorHandler_=t)},goog.asserts.assert=function(t,e,r){return goog.asserts.ENABLE_ASSERTS&&!t&&goog.asserts.doAssertFailure_("",null,e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertExists=function(t,e,r){return goog.asserts.ENABLE_ASSERTS&&t==null&&goog.asserts.doAssertFailure_("Expected to exist: %s.",[t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.fail=function(t,e){goog.asserts.ENABLE_ASSERTS&&goog.asserts.errorHandler_(new goog.asserts.AssertionError("Failure"+(t?": "+t:""),Array.prototype.slice.call(arguments,1)))},goog.asserts.assertNumber=function(t,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof t!="number"&&goog.asserts.doAssertFailure_("Expected number but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertString=function(t,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof t!="string"&&goog.asserts.doAssertFailure_("Expected string but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertFunction=function(t,e,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isFunction(t)&&goog.asserts.doAssertFailure_("Expected function but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertObject=function(t,e,r){return goog.asserts.ENABLE_ASSERTS&&!goog.isObject(t)&&goog.asserts.doAssertFailure_("Expected object but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertArray=function(t,e,r){return goog.asserts.ENABLE_ASSERTS&&!Array.isArray(t)&&goog.asserts.doAssertFailure_("Expected array but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertBoolean=function(t,e,r){return goog.asserts.ENABLE_ASSERTS&&typeof t!="boolean"&&goog.asserts.doAssertFailure_("Expected boolean but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertElement=function(t,e,r){return!goog.asserts.ENABLE_ASSERTS||goog.isObject(t)&&t.nodeType==goog.dom.NodeType.ELEMENT||goog.asserts.doAssertFailure_("Expected Element but got %s: %s.",[goog.typeOf(t),t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertInstanceof=function(t,e,r,s){return!goog.asserts.ENABLE_ASSERTS||t instanceof e||goog.asserts.doAssertFailure_("Expected instanceof %s but got %s.",[goog.asserts.getType_(e),goog.asserts.getType_(t)],r,Array.prototype.slice.call(arguments,3)),t},goog.asserts.assertFinite=function(t,e,r){return!goog.asserts.ENABLE_ASSERTS||typeof t=="number"&&isFinite(t)||goog.asserts.doAssertFailure_("Expected %s to be a finite number but it is not.",[t],e,Array.prototype.slice.call(arguments,2)),t},goog.asserts.assertObjectPrototypeIsIntact=function(){for(var t in Object.prototype)goog.asserts.fail(t+" should not be enumerable in Object.prototype.")},goog.asserts.getType_=function(t){return t instanceof Function?t.displayName||t.name||"unknown type name":t instanceof Object?t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t):t===null?"null":typeof t},goog.array={},goog.NATIVE_ARRAY_PROTOTYPES=goog.TRUSTED_SITE,goog.array.ASSUME_NATIVE_FUNCTIONS=2012<goog.FEATURESET_YEAR,goog.array.peek=function(t){return t[t.length-1]},goog.array.last=goog.array.peek,goog.array.indexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.indexOf)?function(t,e,r){return goog.asserts.assert(t.length!=null),Array.prototype.indexOf.call(t,e,r)}:function(t,e,r){if(r=r==null?0:0>r?Math.max(0,t.length+r):r,typeof t=="string")return typeof e!="string"||e.length!=1?-1:t.indexOf(e,r);for(;r<t.length;r++)if(r in t&&t[r]===e)return r;return-1},goog.array.lastIndexOf=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.lastIndexOf)?function(t,e,r){return goog.asserts.assert(t.length!=null),Array.prototype.lastIndexOf.call(t,e,r??t.length-1)}:function(t,e,r){if(r=r??t.length-1,0>r&&(r=Math.max(0,t.length+r)),typeof t=="string")return typeof e!="string"||e.length!=1?-1:t.lastIndexOf(e,r);for(;0<=r;r--)if(r in t&&t[r]===e)return r;return-1},goog.array.forEach=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.forEach)?function(t,e,r){goog.asserts.assert(t.length!=null),Array.prototype.forEach.call(t,e,r)}:function(t,e,r){for(var s=t.length,o=typeof t=="string"?t.split(""):t,i=0;i<s;i++)i in o&&e.call(r,o[i],i,t)},goog.array.forEachRight=function(t,e,r){var s=t.length,o=typeof t=="string"?t.split(""):t;for(--s;0<=s;--s)s in o&&e.call(r,o[s],s,t)},goog.array.filter=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.filter)?function(t,e,r){return goog.asserts.assert(t.length!=null),Array.prototype.filter.call(t,e,r)}:function(t,e,r){for(var s=t.length,o=[],i=0,n=typeof t=="string"?t.split(""):t,g=0;g<s;g++)if(g in n){var p=n[g];e.call(r,p,g,t)&&(o[i++]=p)}return o},goog.array.map=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.map)?function(t,e,r){return goog.asserts.assert(t.length!=null),Array.prototype.map.call(t,e,r)}:function(t,e,r){for(var s=t.length,o=Array(s),i=typeof t=="string"?t.split(""):t,n=0;n<s;n++)n in i&&(o[n]=e.call(r,i[n],n,t));return o},goog.array.reduce=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduce)?function(t,e,r,s){return goog.asserts.assert(t.length!=null),s&&(e=goog.bind(e,s)),Array.prototype.reduce.call(t,e,r)}:function(t,e,r,s){var o=r;return goog.array.forEach(t,function(i,n){o=e.call(s,o,i,n,t)}),o},goog.array.reduceRight=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.reduceRight)?function(t,e,r,s){return goog.asserts.assert(t.length!=null),goog.asserts.assert(e!=null),s&&(e=goog.bind(e,s)),Array.prototype.reduceRight.call(t,e,r)}:function(t,e,r,s){var o=r;return goog.array.forEachRight(t,function(i,n){o=e.call(s,o,i,n,t)}),o},goog.array.some=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.some)?function(t,e,r){return goog.asserts.assert(t.length!=null),Array.prototype.some.call(t,e,r)}:function(t,e,r){for(var s=t.length,o=typeof t=="string"?t.split(""):t,i=0;i<s;i++)if(i in o&&e.call(r,o[i],i,t))return!0;return!1},goog.array.every=goog.NATIVE_ARRAY_PROTOTYPES&&(goog.array.ASSUME_NATIVE_FUNCTIONS||Array.prototype.every)?function(t,e,r){return goog.asserts.assert(t.length!=null),Array.prototype.every.call(t,e,r)}:function(t,e,r){for(var s=t.length,o=typeof t=="string"?t.split(""):t,i=0;i<s;i++)if(i in o&&!e.call(r,o[i],i,t))return!1;return!0},goog.array.count=function(t,e,r){var s=0;return goog.array.forEach(t,function(o,i,n){e.call(r,o,i,n)&&++s},r),s},goog.array.find=function(t,e,r){return e=goog.array.findIndex(t,e,r),0>e?null:typeof t=="string"?t.charAt(e):t[e]},goog.array.findIndex=function(t,e,r){for(var s=t.length,o=typeof t=="string"?t.split(""):t,i=0;i<s;i++)if(i in o&&e.call(r,o[i],i,t))return i;return-1},goog.array.findRight=function(t,e,r){return e=goog.array.findIndexRight(t,e,r),0>e?null:typeof t=="string"?t.charAt(e):t[e]},goog.array.findIndexRight=function(t,e,r){var s=t.length,o=typeof t=="string"?t.split(""):t;for(--s;0<=s;s--)if(s in o&&e.call(r,o[s],s,t))return s;return-1},goog.array.contains=function(t,e){return 0<=goog.array.indexOf(t,e)},goog.array.isEmpty=function(t){return t.length==0},goog.array.clear=function(t){if(!Array.isArray(t))for(var e=t.length-1;0<=e;e--)delete t[e];t.length=0},goog.array.insert=function(t,e){goog.array.contains(t,e)||t.push(e)},goog.array.insertAt=function(t,e,r){goog.array.splice(t,r,0,e)},goog.array.insertArrayAt=function(t,e,r){goog.partial(goog.array.splice,t,r,0).apply(null,e)},goog.array.insertBefore=function(t,e,r){var s;arguments.length==2||0>(s=goog.array.indexOf(t,r))?t.push(e):goog.array.insertAt(t,e,s)},goog.array.remove=function(t,e){e=goog.array.indexOf(t,e);var r;return(r=0<=e)&&goog.array.removeAt(t,e),r},goog.array.removeLast=function(t,e){return e=goog.array.lastIndexOf(t,e),0<=e?(goog.array.removeAt(t,e),!0):!1},goog.array.removeAt=function(t,e){return goog.asserts.assert(t.length!=null),Array.prototype.splice.call(t,e,1).length==1},goog.array.removeIf=function(t,e,r){return e=goog.array.findIndex(t,e,r),0<=e?(goog.array.removeAt(t,e),!0):!1},goog.array.removeAllIf=function(t,e,r){var s=0;return goog.array.forEachRight(t,function(o,i){e.call(r,o,i,t)&&goog.array.removeAt(t,i)&&s++}),s},goog.array.concat=function(t){return Array.prototype.concat.apply([],arguments)},goog.array.join=function(t){return Array.prototype.concat.apply([],arguments)},goog.array.toArray=function(t){var e=t.length;if(0<e){for(var r=Array(e),s=0;s<e;s++)r[s]=t[s];return r}return[]},goog.array.clone=goog.array.toArray,goog.array.extend=function(t,e){for(var r=1;r<arguments.length;r++){var s=arguments[r];if(goog.isArrayLike(s)){var o=t.length||0,i=s.length||0;t.length=o+i;for(var n=0;n<i;n++)t[o+n]=s[n]}else t.push(s)}},goog.array.splice=function(t,e,r,s){return goog.asserts.assert(t.length!=null),Array.prototype.splice.apply(t,goog.array.slice(arguments,1))},goog.array.slice=function(t,e,r){return goog.asserts.assert(t.length!=null),2>=arguments.length?Array.prototype.slice.call(t,e):Array.prototype.slice.call(t,e,r)},goog.array.removeDuplicates=function(t,e,r){e=e||t;var s=function(p){return goog.isObject(p)?"o"+goog.getUid(p):(typeof p).charAt(0)+p};r=r||s,s={};for(var o=0,i=0;i<t.length;){var n=t[i++],g=r(n);Object.prototype.hasOwnProperty.call(s,g)||(s[g]=!0,e[o++]=n)}e.length=o},goog.array.binarySearch=function(t,e,r){return goog.array.binarySearch_(t,r||goog.array.defaultCompare,!1,e)},goog.array.binarySelect=function(t,e,r){return goog.array.binarySearch_(t,e,!0,void 0,r)},goog.array.binarySearch_=function(t,e,r,s,o){for(var i=0,n=t.length,g;i<n;){var p=i+(n-i>>>1),l=r?e.call(o,t[p],p,t):e(s,t[p]);0<l?i=p+1:(n=p,g=!l)}return g?i:-i-1},goog.array.sort=function(t,e){t.sort(e||goog.array.defaultCompare)},goog.array.stableSort=function(t,e){for(var r=Array(t.length),s=0;s<t.length;s++)r[s]={index:s,value:t[s]};var o=e||goog.array.defaultCompare;for(goog.array.sort(r,function(i,n){return o(i.value,n.value)||i.index-n.index}),s=0;s<t.length;s++)t[s]=r[s].value},goog.array.sortByKey=function(t,e,r){var s=r||goog.array.defaultCompare;goog.array.sort(t,function(o,i){return s(e(o),e(i))})},goog.array.sortObjectsByKey=function(t,e,r){goog.array.sortByKey(t,function(s){return s[e]},r)},goog.array.isSorted=function(t,e,r){e=e||goog.array.defaultCompare;for(var s=1;s<t.length;s++){var o=e(t[s-1],t[s]);if(0<o||o==0&&r)return!1}return!0},goog.array.equals=function(t,e,r){if(!goog.isArrayLike(t)||!goog.isArrayLike(e)||t.length!=e.length)return!1;var s=t.length;r=r||goog.array.defaultCompareEquality;for(var o=0;o<s;o++)if(!r(t[o],e[o]))return!1;return!0},goog.array.compare3=function(t,e,r){r=r||goog.array.defaultCompare;for(var s=Math.min(t.length,e.length),o=0;o<s;o++){var i=r(t[o],e[o]);if(i!=0)return i}return goog.array.defaultCompare(t.length,e.length)},goog.array.defaultCompare=function(t,e){return t>e?1:t<e?-1:0},goog.array.inverseDefaultCompare=function(t,e){return-goog.array.defaultCompare(t,e)},goog.array.defaultCompareEquality=function(t,e){return t===e},goog.array.binaryInsert=function(t,e,r){return r=goog.array.binarySearch(t,e,r),0>r?(goog.array.insertAt(t,e,-(r+1)),!0):!1},goog.array.binaryRemove=function(t,e,r){return e=goog.array.binarySearch(t,e,r),0<=e?goog.array.removeAt(t,e):!1},goog.array.bucket=function(t,e,r){for(var s={},o=0;o<t.length;o++){var i=t[o],n=e.call(r,i,o,t);n!==void 0&&(s[n]||(s[n]=[])).push(i)}return s},goog.array.toObject=function(t,e,r){var s={};return goog.array.forEach(t,function(o,i){s[e.call(r,o,i,t)]=o}),s},goog.array.range=function(t,e,r){var s=[],o=0,i=t;if(r=r||1,e!==void 0&&(o=t,i=e),0>r*(i-o))return[];if(0<r)for(t=o;t<i;t+=r)s.push(t);else for(t=o;t>i;t+=r)s.push(t);return s},goog.array.repeat=function(t,e){for(var r=[],s=0;s<e;s++)r[s]=t;return r},goog.array.flatten=function(t){for(var e=[],r=0;r<arguments.length;r++){var s=arguments[r];if(Array.isArray(s))for(var o=0;o<s.length;o+=8192){var i=goog.array.slice(s,o,o+8192);i=goog.array.flatten.apply(null,i);for(var n=0;n<i.length;n++)e.push(i[n])}else e.push(s)}return e},goog.array.rotate=function(t,e){return goog.asserts.assert(t.length!=null),t.length&&(e%=t.length,0<e?Array.prototype.unshift.apply(t,t.splice(-e,e)):0>e&&Array.prototype.push.apply(t,t.splice(0,-e))),t},goog.array.moveItem=function(t,e,r){goog.asserts.assert(0<=e&&e<t.length),goog.asserts.assert(0<=r&&r<t.length),e=Array.prototype.splice.call(t,e,1),Array.prototype.splice.call(t,r,0,e[0])},goog.array.zip=function(t){if(!arguments.length)return[];for(var e=[],r=arguments[0].length,s=1;s<arguments.length;s++)arguments[s].length<r&&(r=arguments[s].length);for(s=0;s<r;s++){for(var o=[],i=0;i<arguments.length;i++)o.push(arguments[i][s]);e.push(o)}return e},goog.array.shuffle=function(t,e){e=e||Math.random;for(var r=t.length-1;0<r;r--){var s=Math.floor(e()*(r+1)),o=t[r];t[r]=t[s],t[s]=o}},goog.array.copyByIndex=function(t,e){var r=[];return goog.array.forEach(e,function(s){r.push(t[s])}),r},goog.array.concatMap=function(t,e,r){return goog.array.concat.apply([],goog.array.map(t,e,r))},goog.crypt={},goog.crypt.stringToByteArray=function(t){for(var e=[],r=0,s=0;s<t.length;s++){var o=t.charCodeAt(s);255<o&&(e[r++]=o&255,o>>=8),e[r++]=o}return e},goog.crypt.byteArrayToString=function(t){if(8192>=t.length)return String.fromCharCode.apply(null,t);for(var e="",r=0;r<t.length;r+=8192){var s=goog.array.slice(t,r,r+8192);e+=String.fromCharCode.apply(null,s)}return e},goog.crypt.byteArrayToHex=function(t,e){return goog.array.map(t,function(r){return r=r.toString(16),1<r.length?r:"0"+r}).join(e||"")},goog.crypt.hexToByteArray=function(t){goog.asserts.assert(t.length%2==0,"Key string length must be multiple of 2");for(var e=[],r=0;r<t.length;r+=2)e.push(parseInt(t.substring(r,r+2),16));return e},goog.crypt.stringToUtf8ByteArray=function(t){for(var e=[],r=0,s=0;s<t.length;s++){var o=t.charCodeAt(s);128>o?e[r++]=o:(2048>o?e[r++]=o>>6|192:((o&64512)==55296&&s+1<t.length&&(t.charCodeAt(s+1)&64512)==56320?(o=65536+((o&1023)<<10)+(t.charCodeAt(++s)&1023),e[r++]=o>>18|240,e[r++]=o>>12&63|128):e[r++]=o>>12|224,e[r++]=o>>6&63|128),e[r++]=o&63|128)}return e},goog.crypt.utf8ByteArrayToString=function(t){for(var e=[],r=0,s=0;r<t.length;){var o=t[r++];if(128>o)e[s++]=String.fromCharCode(o);else if(191<o&&224>o){var i=t[r++];e[s++]=String.fromCharCode((o&31)<<6|i&63)}else if(239<o&&365>o){i=t[r++];var n=t[r++],g=t[r++];o=((o&7)<<18|(i&63)<<12|(n&63)<<6|g&63)-65536,e[s++]=String.fromCharCode(55296+(o>>10)),e[s++]=String.fromCharCode(56320+(o&1023))}else i=t[r++],n=t[r++],e[s++]=String.fromCharCode((o&15)<<12|(i&63)<<6|n&63)}return e.join("")},goog.crypt.xorByteArray=function(t,e){goog.asserts.assert(t.length==e.length,"XOR array lengths must match");for(var r=[],s=0;s<t.length;s++)r.push(t[s]^e[s]);return r},goog.dom.asserts={},goog.dom.asserts.assertIsLocation=function(t){if(goog.asserts.ENABLE_ASSERTS){var e=goog.dom.asserts.getWindow_(t);e&&(!t||!(t instanceof e.Location)&&t instanceof e.Element)&&goog.asserts.fail("Argument is not a Location (or a non-Element mock); got: %s",goog.dom.asserts.debugStringForType_(t))}return t},goog.dom.asserts.assertIsElementType_=function(t,e){if(goog.asserts.ENABLE_ASSERTS){var r=goog.dom.asserts.getWindow_(t);r&&typeof r[e]<"u"&&(t&&(t instanceof r[e]||!(t instanceof r.Location||t instanceof r.Element))||goog.asserts.fail("Argument is not a %s (or a non-Element, non-Location mock); got: %s",e,goog.dom.asserts.debugStringForType_(t)))}return t},goog.dom.asserts.assertIsHTMLAnchorElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLAnchorElement")},goog.dom.asserts.assertIsHTMLButtonElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLButtonElement")},goog.dom.asserts.assertIsHTMLLinkElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLLinkElement")},goog.dom.asserts.assertIsHTMLImageElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLImageElement")},goog.dom.asserts.assertIsHTMLAudioElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLAudioElement")},goog.dom.asserts.assertIsHTMLVideoElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLVideoElement")},goog.dom.asserts.assertIsHTMLInputElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLInputElement")},goog.dom.asserts.assertIsHTMLTextAreaElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLTextAreaElement")},goog.dom.asserts.assertIsHTMLCanvasElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLCanvasElement")},goog.dom.asserts.assertIsHTMLEmbedElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLEmbedElement")},goog.dom.asserts.assertIsHTMLFormElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLFormElement")},goog.dom.asserts.assertIsHTMLFrameElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLFrameElement")},goog.dom.asserts.assertIsHTMLIFrameElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLIFrameElement")},goog.dom.asserts.assertIsHTMLObjectElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLObjectElement")},goog.dom.asserts.assertIsHTMLScriptElement=function(t){return goog.dom.asserts.assertIsElementType_(t,"HTMLScriptElement")},goog.dom.asserts.debugStringForType_=function(t){if(goog.isObject(t))try{return t.constructor.displayName||t.constructor.name||Object.prototype.toString.call(t)}catch{return"<object could not be stringified>"}else return t===void 0?"undefined":t===null?"null":typeof t},goog.dom.asserts.getWindow_=function(t){try{var e=t&&t.ownerDocument,r=e&&(e.defaultView||e.parentWindow);if(r=r||goog.global,r.Element&&r.Location)return r}catch{}return null},goog.functions={},goog.functions.constant=function(t){return function(){return t}},goog.functions.FALSE=function(){return!1},goog.functions.TRUE=function(){return!0},goog.functions.NULL=function(){return null},goog.functions.identity=function(t,e){return t},goog.functions.error=function(t){return function(){throw Error(t)}},goog.functions.fail=function(t){return function(){throw t}},goog.functions.lock=function(t,e){return e=e||0,function(){return t.apply(this,Array.prototype.slice.call(arguments,0,e))}},goog.functions.nth=function(t){return function(){return arguments[t]}},goog.functions.partialRight=function(t,e){var r=Array.prototype.slice.call(arguments,1);return function(){var s=Array.prototype.slice.call(arguments);return s.push.apply(s,r),t.apply(this,s)}},goog.functions.withReturnValue=function(t,e){return goog.functions.sequence(t,goog.functions.constant(e))},goog.functions.equalTo=function(t,e){return function(r){return e?t==r:t===r}},goog.functions.compose=function(t,e){var r=arguments,s=r.length;return function(){var o;s&&(o=r[s-1].apply(this,arguments));for(var i=s-2;0<=i;i--)o=r[i].call(this,o);return o}},goog.functions.sequence=function(t){var e=arguments,r=e.length;return function(){for(var s,o=0;o<r;o++)s=e[o].apply(this,arguments);return s}},goog.functions.and=function(t){var e=arguments,r=e.length;return function(){for(var s=0;s<r;s++)if(!e[s].apply(this,arguments))return!1;return!0}},goog.functions.or=function(t){var e=arguments,r=e.length;return function(){for(var s=0;s<r;s++)if(e[s].apply(this,arguments))return!0;return!1}},goog.functions.not=function(t){return function(){return!t.apply(this,arguments)}},goog.functions.create=function(t,e){var r=function(){};return r.prototype=t.prototype,r=new r,t.apply(r,Array.prototype.slice.call(arguments,1)),r},goog.functions.CACHE_RETURN_VALUE=!0,goog.functions.cacheReturnValue=function(t){var e=!1,r;return function(){return goog.functions.CACHE_RETURN_VALUE?(e||(r=t(),e=!0),r):t()}},goog.functions.once=function(t){var e=t;return function(){if(e){var r=e;e=null,r()}}},goog.functions.debounce=function(t,e,r){var s=0;return function(o){goog.global.clearTimeout(s);var i=arguments;s=goog.global.setTimeout(function(){t.apply(r,i)},e)}},goog.functions.throttle=function(t,e,r){var s=0,o=!1,i=[],n=function(){s=0,o&&(o=!1,g())},g=function(){s=goog.global.setTimeout(n,e),t.apply(r,i)};return function(p){i=arguments,s?o=!0:g()}},goog.functions.rateLimit=function(t,e,r){var s=0,o=function(){s=0};return function(i){s||(s=goog.global.setTimeout(o,e),t.apply(r,arguments))}},goog.dom.HtmlElement=function(){},goog.dom.TagName=function(t){this.tagName_=t},goog.dom.TagName.prototype.toString=function(){return this.tagName_},goog.dom.TagName.A=new goog.dom.TagName("A"),goog.dom.TagName.ABBR=new goog.dom.TagName("ABBR"),goog.dom.TagName.ACRONYM=new goog.dom.TagName("ACRONYM"),goog.dom.TagName.ADDRESS=new goog.dom.TagName("ADDRESS"),goog.dom.TagName.APPLET=new goog.dom.TagName("APPLET"),goog.dom.TagName.AREA=new goog.dom.TagName("AREA"),goog.dom.TagName.ARTICLE=new goog.dom.TagName("ARTICLE"),goog.dom.TagName.ASIDE=new goog.dom.TagName("ASIDE"),goog.dom.TagName.AUDIO=new goog.dom.TagName("AUDIO"),goog.dom.TagName.B=new goog.dom.TagName("B"),goog.dom.TagName.BASE=new goog.dom.TagName("BASE"),goog.dom.TagName.BASEFONT=new goog.dom.TagName("BASEFONT"),goog.dom.TagName.BDI=new goog.dom.TagName("BDI"),goog.dom.TagName.BDO=new goog.dom.TagName("BDO"),goog.dom.TagName.BIG=new goog.dom.TagName("BIG"),goog.dom.TagName.BLOCKQUOTE=new goog.dom.TagName("BLOCKQUOTE"),goog.dom.TagName.BODY=new goog.dom.TagName("BODY"),goog.dom.TagName.BR=new goog.dom.TagName("BR"),goog.dom.TagName.BUTTON=new goog.dom.TagName("BUTTON"),goog.dom.TagName.CANVAS=new goog.dom.TagName("CANVAS"),goog.dom.TagName.CAPTION=new goog.dom.TagName("CAPTION"),goog.dom.TagName.CENTER=new goog.dom.TagName("CENTER"),goog.dom.TagName.CITE=new goog.dom.TagName("CITE"),goog.dom.TagName.CODE=new goog.dom.TagName("CODE"),goog.dom.TagName.COL=new goog.dom.TagName("COL"),goog.dom.TagName.COLGROUP=new goog.dom.TagName("COLGROUP"),goog.dom.TagName.COMMAND=new goog.dom.TagName("COMMAND"),goog.dom.TagName.DATA=new goog.dom.TagName("DATA"),goog.dom.TagName.DATALIST=new goog.dom.TagName("DATALIST"),goog.dom.TagName.DD=new goog.dom.TagName("DD"),goog.dom.TagName.DEL=new goog.dom.TagName("DEL"),goog.dom.TagName.DETAILS=new goog.dom.TagName("DETAILS"),goog.dom.TagName.DFN=new goog.dom.TagName("DFN"),goog.dom.TagName.DIALOG=new goog.dom.TagName("DIALOG"),goog.dom.TagName.DIR=new goog.dom.TagName("DIR"),goog.dom.TagName.DIV=new goog.dom.TagName("DIV"),goog.dom.TagName.DL=new goog.dom.TagName("DL"),goog.dom.TagName.DT=new goog.dom.TagName("DT"),goog.dom.TagName.EM=new goog.dom.TagName("EM"),goog.dom.TagName.EMBED=new goog.dom.TagName("EMBED"),goog.dom.TagName.FIELDSET=new goog.dom.TagName("FIELDSET"),goog.dom.TagName.FIGCAPTION=new goog.dom.TagName("FIGCAPTION"),goog.dom.TagName.FIGURE=new goog.dom.TagName("FIGURE"),goog.dom.TagName.FONT=new goog.dom.TagName("FONT"),goog.dom.TagName.FOOTER=new goog.dom.TagName("FOOTER"),goog.dom.TagName.FORM=new goog.dom.TagName("FORM"),goog.dom.TagName.FRAME=new goog.dom.TagName("FRAME"),goog.dom.TagName.FRAMESET=new goog.dom.TagName("FRAMESET"),goog.dom.TagName.H1=new goog.dom.TagName("H1"),goog.dom.TagName.H2=new goog.dom.TagName("H2"),goog.dom.TagName.H3=new goog.dom.TagName("H3"),goog.dom.TagName.H4=new goog.dom.TagName("H4"),goog.dom.TagName.H5=new goog.dom.TagName("H5"),goog.dom.TagName.H6=new goog.dom.TagName("H6"),goog.dom.TagName.HEAD=new goog.dom.TagName("HEAD"),goog.dom.TagName.HEADER=new goog.dom.TagName("HEADER"),goog.dom.TagName.HGROUP=new goog.dom.TagName("HGROUP"),goog.dom.TagName.HR=new goog.dom.TagName("HR"),goog.dom.TagName.HTML=new goog.dom.TagName("HTML"),goog.dom.TagName.I=new goog.dom.TagName("I"),goog.dom.TagName.IFRAME=new goog.dom.TagName("IFRAME"),goog.dom.TagName.IMG=new goog.dom.TagName("IMG"),goog.dom.TagName.INPUT=new goog.dom.TagName("INPUT"),goog.dom.TagName.INS=new goog.dom.TagName("INS"),goog.dom.TagName.ISINDEX=new goog.dom.TagName("ISINDEX"),goog.dom.TagName.KBD=new goog.dom.TagName("KBD"),goog.dom.TagName.KEYGEN=new goog.dom.TagName("KEYGEN"),goog.dom.TagName.LABEL=new goog.dom.TagName("LABEL"),goog.dom.TagName.LEGEND=new goog.dom.TagName("LEGEND"),goog.dom.TagName.LI=new goog.dom.TagName("LI"),goog.dom.TagName.LINK=new goog.dom.TagName("LINK"),goog.dom.TagName.MAIN=new goog.dom.TagName("MAIN"),goog.dom.TagName.MAP=new goog.dom.TagName("MAP"),goog.dom.TagName.MARK=new goog.dom.TagName("MARK"),goog.dom.TagName.MATH=new goog.dom.TagName("MATH"),goog.dom.TagName.MENU=new goog.dom.TagName("MENU"),goog.dom.TagName.MENUITEM=new goog.dom.TagName("MENUITEM"),goog.dom.TagName.META=new goog.dom.TagName("META"),goog.dom.TagName.METER=new goog.dom.TagName("METER"),goog.dom.TagName.NAV=new goog.dom.TagName("NAV"),goog.dom.TagName.NOFRAMES=new goog.dom.TagName("NOFRAMES"),goog.dom.TagName.NOSCRIPT=new goog.dom.TagName("NOSCRIPT"),goog.dom.TagName.OBJECT=new goog.dom.TagName("OBJECT"),goog.dom.TagName.OL=new goog.dom.TagName("OL"),goog.dom.TagName.OPTGROUP=new goog.dom.TagName("OPTGROUP"),goog.dom.TagName.OPTION=new goog.dom.TagName("OPTION"),goog.dom.TagName.OUTPUT=new goog.dom.TagName("OUTPUT"),goog.dom.TagName.P=new goog.dom.TagName("P"),goog.dom.TagName.PARAM=new goog.dom.TagName("PARAM"),goog.dom.TagName.PICTURE=new goog.dom.TagName("PICTURE"),goog.dom.TagName.PRE=new goog.dom.TagName("PRE"),goog.dom.TagName.PROGRESS=new goog.dom.TagName("PROGRESS"),goog.dom.TagName.Q=new goog.dom.TagName("Q"),goog.dom.TagName.RP=new goog.dom.TagName("RP"),goog.dom.TagName.RT=new goog.dom.TagName("RT"),goog.dom.TagName.RTC=new goog.dom.TagName("RTC"),goog.dom.TagName.RUBY=new goog.dom.TagName("RUBY"),goog.dom.TagName.S=new goog.dom.TagName("S"),goog.dom.TagName.SAMP=new goog.dom.TagName("SAMP"),goog.dom.TagName.SCRIPT=new goog.dom.TagName("SCRIPT"),goog.dom.TagName.SECTION=new goog.dom.TagName("SECTION"),goog.dom.TagName.SELECT=new goog.dom.TagName("SELECT"),goog.dom.TagName.SMALL=new goog.dom.TagName("SMALL"),goog.dom.TagName.SOURCE=new goog.dom.TagName("SOURCE"),goog.dom.TagName.SPAN=new goog.dom.TagName("SPAN"),goog.dom.TagName.STRIKE=new goog.dom.TagName("STRIKE"),goog.dom.TagName.STRONG=new goog.dom.TagName("STRONG"),goog.dom.TagName.STYLE=new goog.dom.TagName("STYLE"),goog.dom.TagName.SUB=new goog.dom.TagName("SUB"),goog.dom.TagName.SUMMARY=new goog.dom.TagName("SUMMARY"),goog.dom.TagName.SUP=new goog.dom.TagName("SUP"),goog.dom.TagName.SVG=new goog.dom.TagName("SVG"),goog.dom.TagName.TABLE=new goog.dom.TagName("TABLE"),goog.dom.TagName.TBODY=new goog.dom.TagName("TBODY"),goog.dom.TagName.TD=new goog.dom.TagName("TD"),goog.dom.TagName.TEMPLATE=new goog.dom.TagName("TEMPLATE"),goog.dom.TagName.TEXTAREA=new goog.dom.TagName("TEXTAREA"),goog.dom.TagName.TFOOT=new goog.dom.TagName("TFOOT"),goog.dom.TagName.TH=new goog.dom.TagName("TH"),goog.dom.TagName.THEAD=new goog.dom.TagName("THEAD"),goog.dom.TagName.TIME=new goog.dom.TagName("TIME"),goog.dom.TagName.TITLE=new goog.dom.TagName("TITLE"),goog.dom.TagName.TR=new goog.dom.TagName("TR"),goog.dom.TagName.TRACK=new goog.dom.TagName("TRACK"),goog.dom.TagName.TT=new goog.dom.TagName("TT"),goog.dom.TagName.U=new goog.dom.TagName("U"),goog.dom.TagName.UL=new goog.dom.TagName("UL"),goog.dom.TagName.VAR=new goog.dom.TagName("VAR"),goog.dom.TagName.VIDEO=new goog.dom.TagName("VIDEO"),goog.dom.TagName.WBR=new goog.dom.TagName("WBR"),goog.dom.tags={},goog.dom.tags.VOID_TAGS_={area:!0,base:!0,br:!0,col:!0,command:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0},goog.dom.tags.isVoidTag=function(t){return goog.dom.tags.VOID_TAGS_[t]===!0},goog.html={},goog.html.trustedtypes={},goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY=goog.TRUSTED_TYPES_POLICY_NAME?goog.createTrustedTypesPolicy(goog.TRUSTED_TYPES_POLICY_NAME+"#html"):null,goog.string={},goog.string.TypedString=function(){},goog.string.Const=function(t,e){this.stringConstValueWithSecurityContract__googStringSecurityPrivate_=t===goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_&&e||"",this.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_=goog.string.Const.TYPE_MARKER_},goog.string.Const.prototype.implementsGoogStringTypedString=!0,goog.string.Const.prototype.getTypedStringValue=function(){return this.stringConstValueWithSecurityContract__googStringSecurityPrivate_},goog.DEBUG&&(goog.string.Const.prototype.toString=function(){return"Const{"+this.stringConstValueWithSecurityContract__googStringSecurityPrivate_+"}"}),goog.string.Const.unwrap=function(t){return t instanceof goog.string.Const&&t.constructor===goog.string.Const&&t.STRING_CONST_TYPE_MARKER__GOOG_STRING_SECURITY_PRIVATE_===goog.string.Const.TYPE_MARKER_?t.stringConstValueWithSecurityContract__googStringSecurityPrivate_:(goog.asserts.fail("expected object of type Const, got '"+t+"'"),"type_error:Const")},goog.string.Const.from=function(t){return new goog.string.Const(goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_,t)},goog.string.Const.TYPE_MARKER_={},goog.string.Const.GOOG_STRING_CONSTRUCTOR_TOKEN_PRIVATE_={},goog.string.Const.EMPTY=goog.string.Const.from(""),goog.html.SafeScript=function(){this.privateDoNotAccessOrElseSafeScriptWrappedValue_="",this.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_=goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_},goog.html.SafeScript.prototype.implementsGoogStringTypedString=!0,goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_={},goog.html.SafeScript.fromConstant=function(t){return t=goog.string.Const.unwrap(t),t.length===0?goog.html.SafeScript.EMPTY:goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(t)},goog.html.SafeScript.fromConstantAndArgs=function(t,e){for(var r=[],s=1;s<arguments.length;s++)r.push(goog.html.SafeScript.stringify_(arguments[s]));return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse("("+goog.string.Const.unwrap(t)+")("+r.join(", ")+");")},goog.html.SafeScript.fromJson=function(t){return goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(goog.html.SafeScript.stringify_(t))},goog.html.SafeScript.prototype.getTypedStringValue=function(){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_.toString()},goog.DEBUG&&(goog.html.SafeScript.prototype.toString=function(){return"SafeScript{"+this.privateDoNotAccessOrElseSafeScriptWrappedValue_+"}"}),goog.html.SafeScript.unwrap=function(t){return goog.html.SafeScript.unwrapTrustedScript(t).toString()},goog.html.SafeScript.unwrapTrustedScript=function(t){return t instanceof goog.html.SafeScript&&t.constructor===goog.html.SafeScript&&t.SAFE_SCRIPT_TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_===goog.html.SafeScript.TYPE_MARKER_GOOG_HTML_SECURITY_PRIVATE_?t.privateDoNotAccessOrElseSafeScriptWrappedValue_:(goog.asserts.fail("expected object of type SafeScript, got '"+t+"' of type "+goog.typeOf(t)),"type_error:SafeScript")},goog.html.SafeScript.stringify_=function(t){return JSON.stringify(t).replace(/</g,"\\x3c")},goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse=function(t){return new goog.html.SafeScript().initSecurityPrivateDoNotAccessOrElse_(t)},goog.html.SafeScript.prototype.initSecurityPrivateDoNotAccessOrElse_=function(t){return this.privateDoNotAccessOrElseSafeScriptWrappedValue_=goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY?goog.html.trustedtypes.PRIVATE_DO_NOT_ACCESS_OR_ELSE_POLICY.createScript(t):t,this},goog.html.SafeScript.EMPTY=goog.html.SafeScript.createSafeScriptSecurityPrivateDoNotAccessOrElse(""),goog.fs={},goog.fs.url={},goog.fs.url.createObjectUrl=function(t){return goog.fs.url.getUrlObject_().createObjectURL(t)},goog.fs.url.revokeObjectUrl=function(t){goog.fs.url.getUrlObject_().revokeObjectURL(t)},goog.fs.url.UrlObject_=function(){},goog.fs.url.UrlObject_.prototype.createObjectURL=function(t){},goog.fs.url.UrlObject_.prototype.revokeObjectURL=function(t){},goog.fs.url.getUrlObject_=function(){var t=goog.fs.url.findUrlObject_();if(t!=null)return t;throw Error("This browser doesn't seem to support blob URLs")},goog.fs.url.findUrlObject_=function(){return goog.global.URL!==void 0&&goog.global.URL.createObjectURL!==void 0?goog.global.URL:goog.global.webkitURL!==void 0&&goog.global.webkitURL.createObjectURL!==void 0?goog.global.webkitURL:goog.global.createObjectURL!==void 0?goog.global:null},goog.fs.url.browserSupportsObjectUrls=function(){return goog.fs.url.findUrlObject_()!=null},goog.fs.blob={},goog.fs.blob.getBlob=function(t){var e=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(e!==void 0){e=new e;for(var r=0;r<arguments.length;r++)e.append(arguments[r]);return e.getBlob()}return goog.fs.blob.getBlobWithProperties(goog.array.toArray(arguments))},goog.fs.blob.getBlobWithProperties=function(t,e,r){var s=goog.global.BlobBuilder||goog.global.WebKitBlobBuilder;if(s!==void 0){s=new s;for(var o=0;o<t.length;o++)s.append(t[o],r);return s.getBlob(e)}if(goog.global.Blob!==void 0)return s={},e&&(s.type=e),r&&(s.endings=r),new Blob(t,s);throw Error("This browser doesn't seem to support creating Blobs")},goog.i18n={},goog.i18n.bidi={},goog.i18n.bidi.FORCE_RTL=!1,goog.i18n.bidi.IS_RTL=goog.i18n.bidi.FORCE_RTL||(goog.LOCALE.substring(0,2).toLowerCase()=="ar"||goog.LOCALE.substring(0,2).toLowerCase()=="fa"||goog.LOCALE.substring(0,2).toLowerCase()=="he"||goog.LOCALE.substring(0,2).toLowerCase()=="iw"||goog.LOCALE.substring(0,2).toLowerCase()=="ps"||goog.LOCALE.substring(0,2).toLowerCase()=="sd"||goog.LOCALE.substring(0,2).toLowerCase()=="ug"||goog.LOCALE.substring(0,2).toLowerCase()=="ur"||goog.LOCALE.substring(0,2).toLowerCase()=="yi")&&(goog.LOCALE.length==2||goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")||3<=goog.LOCALE.length&&goog.LOCALE.substring(0,3).toLowerCase()=="ckb"&&(goog.LOCALE.length==3||goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")||7<=goog.LOCALE.length&&(goog.LOCALE.substring(2,3)=="-"||goog.LOCALE.substring(2,3)=="_")&&(goog.LOCALE.substring(3,7).toLowerCase()=="adlm"||goog.LOCALE.substring(3,7).toLowerCase()=="arab"||goog.LOCALE.substring(3,7).toLowerCase()=="hebr"||goog.LOCALE.substring(3,7).toLowerCase()=="nkoo"||goog.LOCALE.substring(3,7).toLowerCase()=="rohg"||goog.LOCALE.substring(3,7).toLowerCase()=="thaa")||8<=goog.LOCALE.length&&(goog.LOCALE.substring(3,4)=="-"||goog.LOCALE.substring(3,4)=="_")&&(goog.LOCALE.substring(4,8).toLowerCase()=="adlm"||goog.LOCALE.substring(4,8).toLowerCase()=="arab"||goog.LOCALE.substring(4,8).toLowerCase()=="hebr"||goog.LOCALE.substring(4,8).toLowerCase()=="nkoo"||goog.LOCALE.substring(4,8).toLowerCase()=="rohg"||goog.LOCALE.substring(4,8).toLowerCase()=="thaa"),goog.i18n.bidi.Format={LRE:"\u202A",RLE:"\u202B",PDF:"\u202C",LRM:"\u200E",RLM:"\u200F"},goog.i18n.bidi.Dir={LTR:1,RTL:-1,NEUTRAL:0},goog.i18n.bidi.RIGHT="right",goog.i18n.bidi.LEFT="left",goog.i18n.bidi.I18N_RIGHT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.LEFT:goog.i18n.bidi.RIGHT,goog.i18n.bidi.I18N_LEFT=goog.i18n.bidi.IS_RTL?goog.i18n.bidi.RIGHT:goog.i18n.bidi.LEFT,goog.i18n.bidi.toDir=function(t,e){return typeof t=="number"?0<t?goog.i18n.bidi.Dir.LTR:0>t?goog.i18n.bidi.Dir.RTL:e?null:goog.i18n.bidi.Dir.NEUTRAL:t==null?null:t?goog.i18n.bidi.Dir.RTL:goog.i18n.bidi.Dir.LTR},goog.i18n.bidi.ltrChars_="A-Za-z\xC0-\xD6\xD8-\xF6\xF8-\u02B8\u0300-\u0590\u0900-\u1FFF\u200E\u2C00-\uD801\uD804-\uD839\uD83C-\uDBFF\uF900-\uFB1C\uFE00-\uFE6F\uFEFD-\uFFFF",goog.i18n.bidi.rtlChars_="\u0591-\u06EF\u06FA-\u08FF\u200F\uD802-\uD803\uD83A-\uD83B\uFB1D-\uFDFF\uFE70-\uFEFC",goog.i18n.bidi.htmlSkipReg_=/<[^>]*>|&[^;]+;/g,goog.i18n.bidi.stripHtmlIfNeeded_=function(t,e){return e?t.replace(goog.i18n.bidi.htmlSkipReg_,""):t},goog.i18n.bidi.rtlCharReg_=new RegExp("["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.ltrCharReg_=new RegExp("["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.hasAnyRtl=function(t,e){return goog.i18n.bidi.rtlCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.hasRtlChar=goog.i18n.bidi.hasAnyRtl,goog.i18n.bidi.hasAnyLtr=function(t,e){return goog.i18n.bidi.ltrCharReg_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.ltrRe_=new RegExp("^["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlRe_=new RegExp("^["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.isRtlChar=function(t){return goog.i18n.bidi.rtlRe_.test(t)},goog.i18n.bidi.isLtrChar=function(t){return goog.i18n.bidi.ltrRe_.test(t)},goog.i18n.bidi.isNeutralChar=function(t){return!goog.i18n.bidi.isLtrChar(t)&&!goog.i18n.bidi.isRtlChar(t)},goog.i18n.bidi.ltrDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.rtlChars_+"]*["+goog.i18n.bidi.ltrChars_+"]"),goog.i18n.bidi.rtlDirCheckRe_=new RegExp("^[^"+goog.i18n.bidi.ltrChars_+"]*["+goog.i18n.bidi.rtlChars_+"]"),goog.i18n.bidi.startsWithRtl=function(t,e){return goog.i18n.bidi.rtlDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.isRtlText=goog.i18n.bidi.startsWithRtl,goog.i18n.bidi.startsWithLtr=function(t,e){return goog.i18n.bidi.ltrDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.isLtrText=goog.i18n.bidi.startsWithLtr,goog.i18n.bidi.isRequiredLtrRe_=/^http:\/\/.*/,goog.i18n.bidi.isNeutralText=function(t,e){return t=goog.i18n.bidi.stripHtmlIfNeeded_(t,e),goog.i18n.bidi.isRequiredLtrRe_.test(t)||!goog.i18n.bidi.hasAnyLtr(t)&&!goog.i18n.bidi.hasAnyRtl(t)},goog.i18n.bidi.ltrExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.ltrChars_+"][^"+goog.i18n.bidi.rtlChars_+"]*$"),goog.i18n.bidi.rtlExitDirCheckRe_=new RegExp("["+goog.i18n.bidi.rtlChars_+"][^"+goog.i18n.bidi.ltrChars_+"]*$"),goog.i18n.bidi.endsWithLtr=function(t,e){return goog.i18n.bidi.ltrExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.isLtrExitText=goog.i18n.bidi.endsWithLtr,goog.i18n.bidi.endsWithRtl=function(t,e){return goog.i18n.bidi.rtlExitDirCheckRe_.test(goog.i18n.bidi.stripHtmlIfNeeded_(t,e))},goog.i18n.bidi.isRtlExitText=goog.i18n.bidi.endsWithRtl,goog.i18n.bidi.rtlLocalesRe_=/^(ar|ckb|dv|he|iw|fa|nqo|ps|sd|ug|ur|yi|.*[-_](Adlm|Arab|Hebr|Nkoo|Rohg|Thaa))(?!.*[-_](Latn|Cyrl)($|-|_))($|-|_)/i,goog.i18n.bidi.isRtlLanguage=function(t){return goog.i18n.bidi.rtlLocalesRe_.test(t)},goog.i18n.bidi.bracketGuardTextRe_=/(\(.*?\)+)|(\[.*?\]+)|(\{.*?\}+)|(<.*?>+)/g,goog.i18n.bidi.guardBracketInText=function(t,e){return e=(e===void 0?goog.i18n.bidi.hasAnyRtl(t):e)?goog.i18n.bidi.Format.RLM:goog.i18n.bidi.Format.LRM,t.replace(goog.i18n.bidi.bracketGuardTextRe_,e+"$&"+e)},goog.i18n.bidi.enforceRtlInHtml=function(t){return t.charAt(0)=="<"?t.replace(/<\w+/,"$& dir=rtl"):`