From c09e90e4dfc425a94e55604381ecb3553d1da26e Mon Sep 17 00:00:00 2001 From: Austin Parker Date: Tue, 18 Dec 2018 08:40:32 -0500 Subject: [PATCH] update changelog --- CHANGELOG.md | 3 ++- dist/lightstep-tracer.js | 2 +- dist/lightstep-tracer.min.js | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9358f3b9..42cb8b1d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,8 @@ # CHANGELOG *Log of significant changes, especially those affecting the supported API.* -## 0.20.15 + +## 0.21.0 * Update `thrift` to `0.11.0`. This breaks support for node.js versions <= 5.8. diff --git a/dist/lightstep-tracer.js b/dist/lightstep-tracer.js index 1e14b855..988f54ee 100644 --- a/dist/lightstep-tracer.js +++ b/dist/lightstep-tracer.js @@ -13403,7 +13403,7 @@ module.exports = g; /*! exports provided: name, version, main, engines, scripts, license, repository, dependencies, devDependencies, default */ /***/ (function(module) { -module.exports = {"name":"lightstep-tracer","version":"0.20.14","main":"index.js","engines":{"node":">=0.12.0"},"scripts":{"test":"rm -f test/results/*.json && node node_modules/mocha/bin/mocha -c test/unittest_node.js"},"license":"MIT","repository":{"type":"git","url":"http://github.com/lightstep/lightstep-tracer-javascript.git"},"dependencies":{"async":"1.5.0","eventemitter3":"1.1.1","google-protobuf":"3.6.1","hex2dec":"1.0.1","source-map-support":"0.3.3","thrift":"0.11.0"},"devDependencies":{"babel-cli":"6.14.0","babel-core":"^6.26.3","babel-loader":"7","babel-plugin-add-module-exports":"^1.0.0","babel-plugin-check-es2015-constants":"6.7.2","babel-plugin-transform-es2015-arrow-functions":"6.5.2","babel-plugin-transform-es2015-block-scoped-functions":"6.6.5","babel-plugin-transform-es2015-block-scoping":"^6.26.0","babel-plugin-transform-es2015-classes":"6.6.5","babel-plugin-transform-es2015-computed-properties":"6.6.5","babel-plugin-transform-es2015-destructuring":"6.6.5","babel-plugin-transform-es2015-duplicate-keys":"6.6.4","babel-plugin-transform-es2015-literals":"6.5.0","babel-plugin-transform-es2015-modules-commonjs":"6.7.4","babel-plugin-transform-es2015-object-super":"6.6.5","babel-plugin-transform-es2015-parameters":"6.7.0","babel-plugin-transform-es2015-spread":"6.6.5","babel-plugin-transform-es2015-sticky-regex":"6.5.0","babel-plugin-transform-es2015-template-literals":"6.6.5","babel-plugin-transform-es2015-unicode-regex":"6.5.0","babel-polyfill":"6.3.14","babel-preset-es2015":"6.3.13","chai":"3.4.1","clone":"1.0.2","colors":"1.1.2","eslint":"2.4.0","eslint-config-airbnb":"6.2.0","eslint-plugin-react":"4.2.3","express":"^4.16.3","istanbul":"^0.4.5","mocha":"^5.2.0","opentracing":"0.14.3","protobufjs":"6.8.8","shelljs":"0.5.3","sprintf-js":"1.0.3","underscore":"1.8.3","watch-trigger":"0.0.5","webpack":"^4.25.1","webpack-cli":"^3.1.2"}}; +module.exports = {"name":"lightstep-tracer","version":"0.21.0","main":"index.js","engines":{"node":">=0.12.0"},"scripts":{"test":"rm -f test/results/*.json && node node_modules/mocha/bin/mocha -c test/unittest_node.js"},"license":"MIT","repository":{"type":"git","url":"http://github.com/lightstep/lightstep-tracer-javascript.git"},"dependencies":{"async":"1.5.0","eventemitter3":"1.1.1","google-protobuf":"3.6.1","hex2dec":"1.0.1","source-map-support":"0.3.3","thrift":"0.11.0"},"devDependencies":{"babel-cli":"6.14.0","babel-core":"^6.26.3","babel-loader":"7","babel-plugin-add-module-exports":"^1.0.0","babel-plugin-check-es2015-constants":"6.7.2","babel-plugin-transform-es2015-arrow-functions":"6.5.2","babel-plugin-transform-es2015-block-scoped-functions":"6.6.5","babel-plugin-transform-es2015-block-scoping":"^6.26.0","babel-plugin-transform-es2015-classes":"6.6.5","babel-plugin-transform-es2015-computed-properties":"6.6.5","babel-plugin-transform-es2015-destructuring":"6.6.5","babel-plugin-transform-es2015-duplicate-keys":"6.6.4","babel-plugin-transform-es2015-literals":"6.5.0","babel-plugin-transform-es2015-modules-commonjs":"6.7.4","babel-plugin-transform-es2015-object-super":"6.6.5","babel-plugin-transform-es2015-parameters":"6.7.0","babel-plugin-transform-es2015-spread":"6.6.5","babel-plugin-transform-es2015-sticky-regex":"6.5.0","babel-plugin-transform-es2015-template-literals":"6.6.5","babel-plugin-transform-es2015-unicode-regex":"6.5.0","babel-polyfill":"6.3.14","babel-preset-es2015":"6.3.13","chai":"3.4.1","clone":"1.0.2","colors":"1.1.2","eslint":"2.4.0","eslint-config-airbnb":"6.2.0","eslint-plugin-react":"4.2.3","express":"^4.16.3","istanbul":"^0.4.5","mocha":"^5.2.0","opentracing":"0.14.3","protobufjs":"6.8.8","shelljs":"0.5.3","sprintf-js":"1.0.3","underscore":"1.8.3","watch-trigger":"0.0.5","webpack":"^4.25.1","webpack-cli":"^3.1.2"}}; /***/ }), diff --git a/dist/lightstep-tracer.min.js b/dist/lightstep-tracer.min.js index 9c290d61..c60d69e5 100644 --- a/dist/lightstep-tracer.min.js +++ b/dist/lightstep-tracer.min.js @@ -1,4 +1,4 @@ -!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.lightstep=t():e.lightstep=t()}(window,function(){return function(e){var t={};function o(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,o),i.l=!0,i.exports}return o.m=e,o.c=t,o.d=function(e,t,r){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},o.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(o.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)o.d(r,i,function(t){return e[t]}.bind(null,i));return r},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="",o(o.s=21)}([function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){if(!e)return;for(var o in e)hasOwnProperty.call(e,o)&&t(e[o],o)},e.exports=t.default},function(e,t,o){"use strict";e.exports={Platform:o(32),ThriftTransport:o(37),ProtoTransport:o(38),thrift:o(46),crouton_thrift:o(47),proto:o(2)}},function(e,t,o){"use strict";var r=o(6),i=r,n=Function("return this")(),s=o(10);o(43);i.exportSymbol("proto.lightstep.collector.Auth",null,n),i.exportSymbol("proto.lightstep.collector.Command",null,n),i.exportSymbol("proto.lightstep.collector.InternalMetrics",null,n),i.exportSymbol("proto.lightstep.collector.KeyValue",null,n),i.exportSymbol("proto.lightstep.collector.Log",null,n),i.exportSymbol("proto.lightstep.collector.MetricsSample",null,n),i.exportSymbol("proto.lightstep.collector.Reference",null,n),i.exportSymbol("proto.lightstep.collector.Reference.Relationship",null,n),i.exportSymbol("proto.lightstep.collector.ReportRequest",null,n),i.exportSymbol("proto.lightstep.collector.ReportResponse",null,n),i.exportSymbol("proto.lightstep.collector.Reporter",null,n),i.exportSymbol("proto.lightstep.collector.Span",null,n),i.exportSymbol("proto.lightstep.collector.SpanContext",null,n),proto.lightstep.collector.SpanContext=function(e){r.Message.initialize(this,e,0,-1,null,null)},i.inherits(proto.lightstep.collector.SpanContext,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.SpanContext.displayName="proto.lightstep.collector.SpanContext"),r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.SpanContext.prototype.toObject=function(e){return proto.lightstep.collector.SpanContext.toObject(e,this)},proto.lightstep.collector.SpanContext.toObject=function(e,t){var o,i={traceId:r.Message.getFieldWithDefault(t,1,0),spanId:r.Message.getFieldWithDefault(t,2,0),baggageMap:(o=t.getBaggageMap())?o.toObject(e,void 0):[]};return e&&(i.$jspbMessageInstance=t),i}),proto.lightstep.collector.SpanContext.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.SpanContext;return proto.lightstep.collector.SpanContext.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.SpanContext.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint64();e.setTraceId(o);break;case 2:o=t.readUint64();e.setSpanId(o);break;case 3:o=e.getBaggageMap();t.readMessage(o,function(e,t){r.Map.deserializeBinary(e,t,r.BinaryReader.prototype.readString,r.BinaryReader.prototype.readString,null,"")});break;default:t.skipField()}}return e},proto.lightstep.collector.SpanContext.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.SpanContext.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.SpanContext.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getTraceId())&&t.writeUint64(1,o),0!==(o=e.getSpanId())&&t.writeUint64(2,o),(o=e.getBaggageMap(!0))&&o.getLength()>0&&o.serializeBinary(3,t,r.BinaryWriter.prototype.writeString,r.BinaryWriter.prototype.writeString)},proto.lightstep.collector.SpanContext.prototype.getTraceId=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.lightstep.collector.SpanContext.prototype.setTraceId=function(e){r.Message.setProto3IntField(this,1,e)},proto.lightstep.collector.SpanContext.prototype.getSpanId=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.lightstep.collector.SpanContext.prototype.setSpanId=function(e){r.Message.setProto3IntField(this,2,e)},proto.lightstep.collector.SpanContext.prototype.getBaggageMap=function(e){return r.Message.getMapField(this,3,e,null)},proto.lightstep.collector.SpanContext.prototype.clearBaggageMap=function(){this.getBaggageMap().clear()},proto.lightstep.collector.KeyValue=function(e){r.Message.initialize(this,e,0,-1,null,proto.lightstep.collector.KeyValue.oneofGroups_)},i.inherits(proto.lightstep.collector.KeyValue,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.KeyValue.displayName="proto.lightstep.collector.KeyValue"),proto.lightstep.collector.KeyValue.oneofGroups_=[[2,3,4,5,6]],proto.lightstep.collector.KeyValue.ValueCase={VALUE_NOT_SET:0,STRING_VALUE:2,INT_VALUE:3,DOUBLE_VALUE:4,BOOL_VALUE:5,JSON_VALUE:6},proto.lightstep.collector.KeyValue.prototype.getValueCase=function(){return r.Message.computeOneofCase(this,proto.lightstep.collector.KeyValue.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.KeyValue.prototype.toObject=function(e){return proto.lightstep.collector.KeyValue.toObject(e,this)},proto.lightstep.collector.KeyValue.toObject=function(e,t){var o={key:r.Message.getFieldWithDefault(t,1,""),stringValue:r.Message.getFieldWithDefault(t,2,""),intValue:r.Message.getFieldWithDefault(t,3,0),doubleValue:+r.Message.getFieldWithDefault(t,4,0),boolValue:r.Message.getFieldWithDefault(t,5,!1),jsonValue:r.Message.getFieldWithDefault(t,6,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.lightstep.collector.KeyValue.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.KeyValue;return proto.lightstep.collector.KeyValue.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.KeyValue.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setKey(o);break;case 2:o=t.readString();e.setStringValue(o);break;case 3:o=t.readInt64();e.setIntValue(o);break;case 4:o=t.readDouble();e.setDoubleValue(o);break;case 5:o=t.readBool();e.setBoolValue(o);break;case 6:o=t.readString();e.setJsonValue(o);break;default:t.skipField()}}return e},proto.lightstep.collector.KeyValue.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.KeyValue.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.KeyValue.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getKey()).length>0&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeString(2,o),null!=(o=r.Message.getField(e,3))&&t.writeInt64(3,o),null!=(o=r.Message.getField(e,4))&&t.writeDouble(4,o),null!=(o=r.Message.getField(e,5))&&t.writeBool(5,o),null!=(o=r.Message.getField(e,6))&&t.writeString(6,o)},proto.lightstep.collector.KeyValue.prototype.getKey=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.lightstep.collector.KeyValue.prototype.setKey=function(e){r.Message.setProto3StringField(this,1,e)},proto.lightstep.collector.KeyValue.prototype.getStringValue=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.lightstep.collector.KeyValue.prototype.setStringValue=function(e){r.Message.setOneofField(this,2,proto.lightstep.collector.KeyValue.oneofGroups_[0],e)},proto.lightstep.collector.KeyValue.prototype.clearStringValue=function(){r.Message.setOneofField(this,2,proto.lightstep.collector.KeyValue.oneofGroups_[0],void 0)},proto.lightstep.collector.KeyValue.prototype.hasStringValue=function(){return null!=r.Message.getField(this,2)},proto.lightstep.collector.KeyValue.prototype.getIntValue=function(){return r.Message.getFieldWithDefault(this,3,0)},proto.lightstep.collector.KeyValue.prototype.setIntValue=function(e){r.Message.setOneofField(this,3,proto.lightstep.collector.KeyValue.oneofGroups_[0],e)},proto.lightstep.collector.KeyValue.prototype.clearIntValue=function(){r.Message.setOneofField(this,3,proto.lightstep.collector.KeyValue.oneofGroups_[0],void 0)},proto.lightstep.collector.KeyValue.prototype.hasIntValue=function(){return null!=r.Message.getField(this,3)},proto.lightstep.collector.KeyValue.prototype.getDoubleValue=function(){return+r.Message.getFieldWithDefault(this,4,0)},proto.lightstep.collector.KeyValue.prototype.setDoubleValue=function(e){r.Message.setOneofField(this,4,proto.lightstep.collector.KeyValue.oneofGroups_[0],e)},proto.lightstep.collector.KeyValue.prototype.clearDoubleValue=function(){r.Message.setOneofField(this,4,proto.lightstep.collector.KeyValue.oneofGroups_[0],void 0)},proto.lightstep.collector.KeyValue.prototype.hasDoubleValue=function(){return null!=r.Message.getField(this,4)},proto.lightstep.collector.KeyValue.prototype.getBoolValue=function(){return r.Message.getFieldWithDefault(this,5,!1)},proto.lightstep.collector.KeyValue.prototype.setBoolValue=function(e){r.Message.setOneofField(this,5,proto.lightstep.collector.KeyValue.oneofGroups_[0],e)},proto.lightstep.collector.KeyValue.prototype.clearBoolValue=function(){r.Message.setOneofField(this,5,proto.lightstep.collector.KeyValue.oneofGroups_[0],void 0)},proto.lightstep.collector.KeyValue.prototype.hasBoolValue=function(){return null!=r.Message.getField(this,5)},proto.lightstep.collector.KeyValue.prototype.getJsonValue=function(){return r.Message.getFieldWithDefault(this,6,"")},proto.lightstep.collector.KeyValue.prototype.setJsonValue=function(e){r.Message.setOneofField(this,6,proto.lightstep.collector.KeyValue.oneofGroups_[0],e)},proto.lightstep.collector.KeyValue.prototype.clearJsonValue=function(){r.Message.setOneofField(this,6,proto.lightstep.collector.KeyValue.oneofGroups_[0],void 0)},proto.lightstep.collector.KeyValue.prototype.hasJsonValue=function(){return null!=r.Message.getField(this,6)},proto.lightstep.collector.Log=function(e){r.Message.initialize(this,e,0,-1,proto.lightstep.collector.Log.repeatedFields_,null)},i.inherits(proto.lightstep.collector.Log,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.Log.displayName="proto.lightstep.collector.Log"),proto.lightstep.collector.Log.repeatedFields_=[2],r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.Log.prototype.toObject=function(e){return proto.lightstep.collector.Log.toObject(e,this)},proto.lightstep.collector.Log.toObject=function(e,t){var o,i={timestamp:(o=t.getTimestamp())&&s.Timestamp.toObject(e,o),fieldsList:r.Message.toObjectList(t.getFieldsList(),proto.lightstep.collector.KeyValue.toObject,e)};return e&&(i.$jspbMessageInstance=t),i}),proto.lightstep.collector.Log.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.Log;return proto.lightstep.collector.Log.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.Log.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new s.Timestamp;t.readMessage(o,s.Timestamp.deserializeBinaryFromReader),e.setTimestamp(o);break;case 2:o=new proto.lightstep.collector.KeyValue;t.readMessage(o,proto.lightstep.collector.KeyValue.deserializeBinaryFromReader),e.addFields(o);break;default:t.skipField()}}return e},proto.lightstep.collector.Log.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.Log.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.Log.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getTimestamp())&&t.writeMessage(1,o,s.Timestamp.serializeBinaryToWriter),(o=e.getFieldsList()).length>0&&t.writeRepeatedMessage(2,o,proto.lightstep.collector.KeyValue.serializeBinaryToWriter)},proto.lightstep.collector.Log.prototype.getTimestamp=function(){return r.Message.getWrapperField(this,s.Timestamp,1)},proto.lightstep.collector.Log.prototype.setTimestamp=function(e){r.Message.setWrapperField(this,1,e)},proto.lightstep.collector.Log.prototype.clearTimestamp=function(){this.setTimestamp(void 0)},proto.lightstep.collector.Log.prototype.hasTimestamp=function(){return null!=r.Message.getField(this,1)},proto.lightstep.collector.Log.prototype.getFieldsList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.KeyValue,2)},proto.lightstep.collector.Log.prototype.setFieldsList=function(e){r.Message.setRepeatedWrapperField(this,2,e)},proto.lightstep.collector.Log.prototype.addFields=function(e,t){return r.Message.addToRepeatedWrapperField(this,2,e,proto.lightstep.collector.KeyValue,t)},proto.lightstep.collector.Log.prototype.clearFieldsList=function(){this.setFieldsList([])},proto.lightstep.collector.Reference=function(e){r.Message.initialize(this,e,0,-1,null,null)},i.inherits(proto.lightstep.collector.Reference,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.Reference.displayName="proto.lightstep.collector.Reference"),r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.Reference.prototype.toObject=function(e){return proto.lightstep.collector.Reference.toObject(e,this)},proto.lightstep.collector.Reference.toObject=function(e,t){var o,i={relationship:r.Message.getFieldWithDefault(t,1,0),spanContext:(o=t.getSpanContext())&&proto.lightstep.collector.SpanContext.toObject(e,o)};return e&&(i.$jspbMessageInstance=t),i}),proto.lightstep.collector.Reference.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.Reference;return proto.lightstep.collector.Reference.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.Reference.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readEnum();e.setRelationship(o);break;case 2:o=new proto.lightstep.collector.SpanContext;t.readMessage(o,proto.lightstep.collector.SpanContext.deserializeBinaryFromReader),e.setSpanContext(o);break;default:t.skipField()}}return e},proto.lightstep.collector.Reference.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.Reference.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.Reference.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getRelationship())&&t.writeEnum(1,o),null!=(o=e.getSpanContext())&&t.writeMessage(2,o,proto.lightstep.collector.SpanContext.serializeBinaryToWriter)},proto.lightstep.collector.Reference.Relationship={CHILD_OF:0,FOLLOWS_FROM:1},proto.lightstep.collector.Reference.prototype.getRelationship=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.lightstep.collector.Reference.prototype.setRelationship=function(e){r.Message.setProto3EnumField(this,1,e)},proto.lightstep.collector.Reference.prototype.getSpanContext=function(){return r.Message.getWrapperField(this,proto.lightstep.collector.SpanContext,2)},proto.lightstep.collector.Reference.prototype.setSpanContext=function(e){r.Message.setWrapperField(this,2,e)},proto.lightstep.collector.Reference.prototype.clearSpanContext=function(){this.setSpanContext(void 0)},proto.lightstep.collector.Reference.prototype.hasSpanContext=function(){return null!=r.Message.getField(this,2)},proto.lightstep.collector.Span=function(e){r.Message.initialize(this,e,0,-1,proto.lightstep.collector.Span.repeatedFields_,null)},i.inherits(proto.lightstep.collector.Span,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.Span.displayName="proto.lightstep.collector.Span"),proto.lightstep.collector.Span.repeatedFields_=[3,6,7],r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.Span.prototype.toObject=function(e){return proto.lightstep.collector.Span.toObject(e,this)},proto.lightstep.collector.Span.toObject=function(e,t){var o,i={spanContext:(o=t.getSpanContext())&&proto.lightstep.collector.SpanContext.toObject(e,o),operationName:r.Message.getFieldWithDefault(t,2,""),referencesList:r.Message.toObjectList(t.getReferencesList(),proto.lightstep.collector.Reference.toObject,e),startTimestamp:(o=t.getStartTimestamp())&&s.Timestamp.toObject(e,o),durationMicros:r.Message.getFieldWithDefault(t,5,0),tagsList:r.Message.toObjectList(t.getTagsList(),proto.lightstep.collector.KeyValue.toObject,e),logsList:r.Message.toObjectList(t.getLogsList(),proto.lightstep.collector.Log.toObject,e)};return e&&(i.$jspbMessageInstance=t),i}),proto.lightstep.collector.Span.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.Span;return proto.lightstep.collector.Span.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.Span.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.lightstep.collector.SpanContext;t.readMessage(o,proto.lightstep.collector.SpanContext.deserializeBinaryFromReader),e.setSpanContext(o);break;case 2:o=t.readString();e.setOperationName(o);break;case 3:o=new proto.lightstep.collector.Reference;t.readMessage(o,proto.lightstep.collector.Reference.deserializeBinaryFromReader),e.addReferences(o);break;case 4:o=new s.Timestamp;t.readMessage(o,s.Timestamp.deserializeBinaryFromReader),e.setStartTimestamp(o);break;case 5:o=t.readUint64();e.setDurationMicros(o);break;case 6:o=new proto.lightstep.collector.KeyValue;t.readMessage(o,proto.lightstep.collector.KeyValue.deserializeBinaryFromReader),e.addTags(o);break;case 7:o=new proto.lightstep.collector.Log;t.readMessage(o,proto.lightstep.collector.Log.deserializeBinaryFromReader),e.addLogs(o);break;default:t.skipField()}}return e},proto.lightstep.collector.Span.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.Span.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.Span.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getSpanContext())&&t.writeMessage(1,o,proto.lightstep.collector.SpanContext.serializeBinaryToWriter),(o=e.getOperationName()).length>0&&t.writeString(2,o),(o=e.getReferencesList()).length>0&&t.writeRepeatedMessage(3,o,proto.lightstep.collector.Reference.serializeBinaryToWriter),null!=(o=e.getStartTimestamp())&&t.writeMessage(4,o,s.Timestamp.serializeBinaryToWriter),0!==(o=e.getDurationMicros())&&t.writeUint64(5,o),(o=e.getTagsList()).length>0&&t.writeRepeatedMessage(6,o,proto.lightstep.collector.KeyValue.serializeBinaryToWriter),(o=e.getLogsList()).length>0&&t.writeRepeatedMessage(7,o,proto.lightstep.collector.Log.serializeBinaryToWriter)},proto.lightstep.collector.Span.prototype.getSpanContext=function(){return r.Message.getWrapperField(this,proto.lightstep.collector.SpanContext,1)},proto.lightstep.collector.Span.prototype.setSpanContext=function(e){r.Message.setWrapperField(this,1,e)},proto.lightstep.collector.Span.prototype.clearSpanContext=function(){this.setSpanContext(void 0)},proto.lightstep.collector.Span.prototype.hasSpanContext=function(){return null!=r.Message.getField(this,1)},proto.lightstep.collector.Span.prototype.getOperationName=function(){return r.Message.getFieldWithDefault(this,2,"")},proto.lightstep.collector.Span.prototype.setOperationName=function(e){r.Message.setProto3StringField(this,2,e)},proto.lightstep.collector.Span.prototype.getReferencesList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.Reference,3)},proto.lightstep.collector.Span.prototype.setReferencesList=function(e){r.Message.setRepeatedWrapperField(this,3,e)},proto.lightstep.collector.Span.prototype.addReferences=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.lightstep.collector.Reference,t)},proto.lightstep.collector.Span.prototype.clearReferencesList=function(){this.setReferencesList([])},proto.lightstep.collector.Span.prototype.getStartTimestamp=function(){return r.Message.getWrapperField(this,s.Timestamp,4)},proto.lightstep.collector.Span.prototype.setStartTimestamp=function(e){r.Message.setWrapperField(this,4,e)},proto.lightstep.collector.Span.prototype.clearStartTimestamp=function(){this.setStartTimestamp(void 0)},proto.lightstep.collector.Span.prototype.hasStartTimestamp=function(){return null!=r.Message.getField(this,4)},proto.lightstep.collector.Span.prototype.getDurationMicros=function(){return r.Message.getFieldWithDefault(this,5,0)},proto.lightstep.collector.Span.prototype.setDurationMicros=function(e){r.Message.setProto3IntField(this,5,e)},proto.lightstep.collector.Span.prototype.getTagsList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.KeyValue,6)},proto.lightstep.collector.Span.prototype.setTagsList=function(e){r.Message.setRepeatedWrapperField(this,6,e)},proto.lightstep.collector.Span.prototype.addTags=function(e,t){return r.Message.addToRepeatedWrapperField(this,6,e,proto.lightstep.collector.KeyValue,t)},proto.lightstep.collector.Span.prototype.clearTagsList=function(){this.setTagsList([])},proto.lightstep.collector.Span.prototype.getLogsList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.Log,7)},proto.lightstep.collector.Span.prototype.setLogsList=function(e){r.Message.setRepeatedWrapperField(this,7,e)},proto.lightstep.collector.Span.prototype.addLogs=function(e,t){return r.Message.addToRepeatedWrapperField(this,7,e,proto.lightstep.collector.Log,t)},proto.lightstep.collector.Span.prototype.clearLogsList=function(){this.setLogsList([])},proto.lightstep.collector.Reporter=function(e){r.Message.initialize(this,e,0,-1,proto.lightstep.collector.Reporter.repeatedFields_,null)},i.inherits(proto.lightstep.collector.Reporter,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.Reporter.displayName="proto.lightstep.collector.Reporter"),proto.lightstep.collector.Reporter.repeatedFields_=[4],r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.Reporter.prototype.toObject=function(e){return proto.lightstep.collector.Reporter.toObject(e,this)},proto.lightstep.collector.Reporter.toObject=function(e,t){var o={reporterId:r.Message.getFieldWithDefault(t,1,0),tagsList:r.Message.toObjectList(t.getTagsList(),proto.lightstep.collector.KeyValue.toObject,e)};return e&&(o.$jspbMessageInstance=t),o}),proto.lightstep.collector.Reporter.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.Reporter;return proto.lightstep.collector.Reporter.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.Reporter.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint64();e.setReporterId(o);break;case 4:o=new proto.lightstep.collector.KeyValue;t.readMessage(o,proto.lightstep.collector.KeyValue.deserializeBinaryFromReader),e.addTags(o);break;default:t.skipField()}}return e},proto.lightstep.collector.Reporter.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.Reporter.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.Reporter.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getReporterId())&&t.writeUint64(1,o),(o=e.getTagsList()).length>0&&t.writeRepeatedMessage(4,o,proto.lightstep.collector.KeyValue.serializeBinaryToWriter)},proto.lightstep.collector.Reporter.prototype.getReporterId=function(){return r.Message.getFieldWithDefault(this,1,0)},proto.lightstep.collector.Reporter.prototype.setReporterId=function(e){r.Message.setProto3IntField(this,1,e)},proto.lightstep.collector.Reporter.prototype.getTagsList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.KeyValue,4)},proto.lightstep.collector.Reporter.prototype.setTagsList=function(e){r.Message.setRepeatedWrapperField(this,4,e)},proto.lightstep.collector.Reporter.prototype.addTags=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.lightstep.collector.KeyValue,t)},proto.lightstep.collector.Reporter.prototype.clearTagsList=function(){this.setTagsList([])},proto.lightstep.collector.MetricsSample=function(e){r.Message.initialize(this,e,0,-1,null,proto.lightstep.collector.MetricsSample.oneofGroups_)},i.inherits(proto.lightstep.collector.MetricsSample,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.MetricsSample.displayName="proto.lightstep.collector.MetricsSample"),proto.lightstep.collector.MetricsSample.oneofGroups_=[[2,3]],proto.lightstep.collector.MetricsSample.ValueCase={VALUE_NOT_SET:0,INT_VALUE:2,DOUBLE_VALUE:3},proto.lightstep.collector.MetricsSample.prototype.getValueCase=function(){return r.Message.computeOneofCase(this,proto.lightstep.collector.MetricsSample.oneofGroups_[0])},r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.MetricsSample.prototype.toObject=function(e){return proto.lightstep.collector.MetricsSample.toObject(e,this)},proto.lightstep.collector.MetricsSample.toObject=function(e,t){var o={name:r.Message.getFieldWithDefault(t,1,""),intValue:r.Message.getFieldWithDefault(t,2,0),doubleValue:+r.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.lightstep.collector.MetricsSample.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.MetricsSample;return proto.lightstep.collector.MetricsSample.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.MetricsSample.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readInt64();e.setIntValue(o);break;case 3:o=t.readDouble();e.setDoubleValue(o);break;default:t.skipField()}}return e},proto.lightstep.collector.MetricsSample.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.MetricsSample.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.MetricsSample.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),null!=(o=r.Message.getField(e,2))&&t.writeInt64(2,o),null!=(o=r.Message.getField(e,3))&&t.writeDouble(3,o)},proto.lightstep.collector.MetricsSample.prototype.getName=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.lightstep.collector.MetricsSample.prototype.setName=function(e){r.Message.setProto3StringField(this,1,e)},proto.lightstep.collector.MetricsSample.prototype.getIntValue=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.lightstep.collector.MetricsSample.prototype.setIntValue=function(e){r.Message.setOneofField(this,2,proto.lightstep.collector.MetricsSample.oneofGroups_[0],e)},proto.lightstep.collector.MetricsSample.prototype.clearIntValue=function(){r.Message.setOneofField(this,2,proto.lightstep.collector.MetricsSample.oneofGroups_[0],void 0)},proto.lightstep.collector.MetricsSample.prototype.hasIntValue=function(){return null!=r.Message.getField(this,2)},proto.lightstep.collector.MetricsSample.prototype.getDoubleValue=function(){return+r.Message.getFieldWithDefault(this,3,0)},proto.lightstep.collector.MetricsSample.prototype.setDoubleValue=function(e){r.Message.setOneofField(this,3,proto.lightstep.collector.MetricsSample.oneofGroups_[0],e)},proto.lightstep.collector.MetricsSample.prototype.clearDoubleValue=function(){r.Message.setOneofField(this,3,proto.lightstep.collector.MetricsSample.oneofGroups_[0],void 0)},proto.lightstep.collector.MetricsSample.prototype.hasDoubleValue=function(){return null!=r.Message.getField(this,3)},proto.lightstep.collector.InternalMetrics=function(e){r.Message.initialize(this,e,0,-1,proto.lightstep.collector.InternalMetrics.repeatedFields_,null)},i.inherits(proto.lightstep.collector.InternalMetrics,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.InternalMetrics.displayName="proto.lightstep.collector.InternalMetrics"),proto.lightstep.collector.InternalMetrics.repeatedFields_=[3,4,5],r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.InternalMetrics.prototype.toObject=function(e){return proto.lightstep.collector.InternalMetrics.toObject(e,this)},proto.lightstep.collector.InternalMetrics.toObject=function(e,t){var o,i={startTimestamp:(o=t.getStartTimestamp())&&s.Timestamp.toObject(e,o),durationMicros:r.Message.getFieldWithDefault(t,2,0),logsList:r.Message.toObjectList(t.getLogsList(),proto.lightstep.collector.Log.toObject,e),countsList:r.Message.toObjectList(t.getCountsList(),proto.lightstep.collector.MetricsSample.toObject,e),gaugesList:r.Message.toObjectList(t.getGaugesList(),proto.lightstep.collector.MetricsSample.toObject,e)};return e&&(i.$jspbMessageInstance=t),i}),proto.lightstep.collector.InternalMetrics.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.InternalMetrics;return proto.lightstep.collector.InternalMetrics.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.InternalMetrics.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new s.Timestamp;t.readMessage(o,s.Timestamp.deserializeBinaryFromReader),e.setStartTimestamp(o);break;case 2:o=t.readUint64();e.setDurationMicros(o);break;case 3:o=new proto.lightstep.collector.Log;t.readMessage(o,proto.lightstep.collector.Log.deserializeBinaryFromReader),e.addLogs(o);break;case 4:o=new proto.lightstep.collector.MetricsSample;t.readMessage(o,proto.lightstep.collector.MetricsSample.deserializeBinaryFromReader),e.addCounts(o);break;case 5:o=new proto.lightstep.collector.MetricsSample;t.readMessage(o,proto.lightstep.collector.MetricsSample.deserializeBinaryFromReader),e.addGauges(o);break;default:t.skipField()}}return e},proto.lightstep.collector.InternalMetrics.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.InternalMetrics.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.InternalMetrics.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getStartTimestamp())&&t.writeMessage(1,o,s.Timestamp.serializeBinaryToWriter),0!==(o=e.getDurationMicros())&&t.writeUint64(2,o),(o=e.getLogsList()).length>0&&t.writeRepeatedMessage(3,o,proto.lightstep.collector.Log.serializeBinaryToWriter),(o=e.getCountsList()).length>0&&t.writeRepeatedMessage(4,o,proto.lightstep.collector.MetricsSample.serializeBinaryToWriter),(o=e.getGaugesList()).length>0&&t.writeRepeatedMessage(5,o,proto.lightstep.collector.MetricsSample.serializeBinaryToWriter)},proto.lightstep.collector.InternalMetrics.prototype.getStartTimestamp=function(){return r.Message.getWrapperField(this,s.Timestamp,1)},proto.lightstep.collector.InternalMetrics.prototype.setStartTimestamp=function(e){r.Message.setWrapperField(this,1,e)},proto.lightstep.collector.InternalMetrics.prototype.clearStartTimestamp=function(){this.setStartTimestamp(void 0)},proto.lightstep.collector.InternalMetrics.prototype.hasStartTimestamp=function(){return null!=r.Message.getField(this,1)},proto.lightstep.collector.InternalMetrics.prototype.getDurationMicros=function(){return r.Message.getFieldWithDefault(this,2,0)},proto.lightstep.collector.InternalMetrics.prototype.setDurationMicros=function(e){r.Message.setProto3IntField(this,2,e)},proto.lightstep.collector.InternalMetrics.prototype.getLogsList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.Log,3)},proto.lightstep.collector.InternalMetrics.prototype.setLogsList=function(e){r.Message.setRepeatedWrapperField(this,3,e)},proto.lightstep.collector.InternalMetrics.prototype.addLogs=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.lightstep.collector.Log,t)},proto.lightstep.collector.InternalMetrics.prototype.clearLogsList=function(){this.setLogsList([])},proto.lightstep.collector.InternalMetrics.prototype.getCountsList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.MetricsSample,4)},proto.lightstep.collector.InternalMetrics.prototype.setCountsList=function(e){r.Message.setRepeatedWrapperField(this,4,e)},proto.lightstep.collector.InternalMetrics.prototype.addCounts=function(e,t){return r.Message.addToRepeatedWrapperField(this,4,e,proto.lightstep.collector.MetricsSample,t)},proto.lightstep.collector.InternalMetrics.prototype.clearCountsList=function(){this.setCountsList([])},proto.lightstep.collector.InternalMetrics.prototype.getGaugesList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.MetricsSample,5)},proto.lightstep.collector.InternalMetrics.prototype.setGaugesList=function(e){r.Message.setRepeatedWrapperField(this,5,e)},proto.lightstep.collector.InternalMetrics.prototype.addGauges=function(e,t){return r.Message.addToRepeatedWrapperField(this,5,e,proto.lightstep.collector.MetricsSample,t)},proto.lightstep.collector.InternalMetrics.prototype.clearGaugesList=function(){this.setGaugesList([])},proto.lightstep.collector.Auth=function(e){r.Message.initialize(this,e,0,-1,null,null)},i.inherits(proto.lightstep.collector.Auth,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.Auth.displayName="proto.lightstep.collector.Auth"),r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.Auth.prototype.toObject=function(e){return proto.lightstep.collector.Auth.toObject(e,this)},proto.lightstep.collector.Auth.toObject=function(e,t){var o={accessToken:r.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.lightstep.collector.Auth.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.Auth;return proto.lightstep.collector.Auth.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.Auth.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setAccessToken(o);break;default:t.skipField()}}return e},proto.lightstep.collector.Auth.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.Auth.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.Auth.serializeBinaryToWriter=function(e,t){var o;(o=e.getAccessToken()).length>0&&t.writeString(1,o)},proto.lightstep.collector.Auth.prototype.getAccessToken=function(){return r.Message.getFieldWithDefault(this,1,"")},proto.lightstep.collector.Auth.prototype.setAccessToken=function(e){r.Message.setProto3StringField(this,1,e)},proto.lightstep.collector.ReportRequest=function(e){r.Message.initialize(this,e,0,-1,proto.lightstep.collector.ReportRequest.repeatedFields_,null)},i.inherits(proto.lightstep.collector.ReportRequest,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.ReportRequest.displayName="proto.lightstep.collector.ReportRequest"),proto.lightstep.collector.ReportRequest.repeatedFields_=[3],r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.ReportRequest.prototype.toObject=function(e){return proto.lightstep.collector.ReportRequest.toObject(e,this)},proto.lightstep.collector.ReportRequest.toObject=function(e,t){var o,i={reporter:(o=t.getReporter())&&proto.lightstep.collector.Reporter.toObject(e,o),auth:(o=t.getAuth())&&proto.lightstep.collector.Auth.toObject(e,o),spansList:r.Message.toObjectList(t.getSpansList(),proto.lightstep.collector.Span.toObject,e),timestampOffsetMicros:r.Message.getFieldWithDefault(t,5,0),internalMetrics:(o=t.getInternalMetrics())&&proto.lightstep.collector.InternalMetrics.toObject(e,o)};return e&&(i.$jspbMessageInstance=t),i}),proto.lightstep.collector.ReportRequest.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.ReportRequest;return proto.lightstep.collector.ReportRequest.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.ReportRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.lightstep.collector.Reporter;t.readMessage(o,proto.lightstep.collector.Reporter.deserializeBinaryFromReader),e.setReporter(o);break;case 2:o=new proto.lightstep.collector.Auth;t.readMessage(o,proto.lightstep.collector.Auth.deserializeBinaryFromReader),e.setAuth(o);break;case 3:o=new proto.lightstep.collector.Span;t.readMessage(o,proto.lightstep.collector.Span.deserializeBinaryFromReader),e.addSpans(o);break;case 5:o=t.readInt64();e.setTimestampOffsetMicros(o);break;case 6:o=new proto.lightstep.collector.InternalMetrics;t.readMessage(o,proto.lightstep.collector.InternalMetrics.deserializeBinaryFromReader),e.setInternalMetrics(o);break;default:t.skipField()}}return e},proto.lightstep.collector.ReportRequest.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.ReportRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.ReportRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getReporter())&&t.writeMessage(1,o,proto.lightstep.collector.Reporter.serializeBinaryToWriter),null!=(o=e.getAuth())&&t.writeMessage(2,o,proto.lightstep.collector.Auth.serializeBinaryToWriter),(o=e.getSpansList()).length>0&&t.writeRepeatedMessage(3,o,proto.lightstep.collector.Span.serializeBinaryToWriter),0!==(o=e.getTimestampOffsetMicros())&&t.writeInt64(5,o),null!=(o=e.getInternalMetrics())&&t.writeMessage(6,o,proto.lightstep.collector.InternalMetrics.serializeBinaryToWriter)},proto.lightstep.collector.ReportRequest.prototype.getReporter=function(){return r.Message.getWrapperField(this,proto.lightstep.collector.Reporter,1)},proto.lightstep.collector.ReportRequest.prototype.setReporter=function(e){r.Message.setWrapperField(this,1,e)},proto.lightstep.collector.ReportRequest.prototype.clearReporter=function(){this.setReporter(void 0)},proto.lightstep.collector.ReportRequest.prototype.hasReporter=function(){return null!=r.Message.getField(this,1)},proto.lightstep.collector.ReportRequest.prototype.getAuth=function(){return r.Message.getWrapperField(this,proto.lightstep.collector.Auth,2)},proto.lightstep.collector.ReportRequest.prototype.setAuth=function(e){r.Message.setWrapperField(this,2,e)},proto.lightstep.collector.ReportRequest.prototype.clearAuth=function(){this.setAuth(void 0)},proto.lightstep.collector.ReportRequest.prototype.hasAuth=function(){return null!=r.Message.getField(this,2)},proto.lightstep.collector.ReportRequest.prototype.getSpansList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.Span,3)},proto.lightstep.collector.ReportRequest.prototype.setSpansList=function(e){r.Message.setRepeatedWrapperField(this,3,e)},proto.lightstep.collector.ReportRequest.prototype.addSpans=function(e,t){return r.Message.addToRepeatedWrapperField(this,3,e,proto.lightstep.collector.Span,t)},proto.lightstep.collector.ReportRequest.prototype.clearSpansList=function(){this.setSpansList([])},proto.lightstep.collector.ReportRequest.prototype.getTimestampOffsetMicros=function(){return r.Message.getFieldWithDefault(this,5,0)},proto.lightstep.collector.ReportRequest.prototype.setTimestampOffsetMicros=function(e){r.Message.setProto3IntField(this,5,e)},proto.lightstep.collector.ReportRequest.prototype.getInternalMetrics=function(){return r.Message.getWrapperField(this,proto.lightstep.collector.InternalMetrics,6)},proto.lightstep.collector.ReportRequest.prototype.setInternalMetrics=function(e){r.Message.setWrapperField(this,6,e)},proto.lightstep.collector.ReportRequest.prototype.clearInternalMetrics=function(){this.setInternalMetrics(void 0)},proto.lightstep.collector.ReportRequest.prototype.hasInternalMetrics=function(){return null!=r.Message.getField(this,6)},proto.lightstep.collector.Command=function(e){r.Message.initialize(this,e,0,-1,null,null)},i.inherits(proto.lightstep.collector.Command,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.Command.displayName="proto.lightstep.collector.Command"),r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.Command.prototype.toObject=function(e){return proto.lightstep.collector.Command.toObject(e,this)},proto.lightstep.collector.Command.toObject=function(e,t){var o={disable:r.Message.getFieldWithDefault(t,1,!1)};return e&&(o.$jspbMessageInstance=t),o}),proto.lightstep.collector.Command.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.Command;return proto.lightstep.collector.Command.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.Command.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readBool();e.setDisable(o);break;default:t.skipField()}}return e},proto.lightstep.collector.Command.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.Command.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.Command.serializeBinaryToWriter=function(e,t){var o;(o=e.getDisable())&&t.writeBool(1,o)},proto.lightstep.collector.Command.prototype.getDisable=function(){return r.Message.getFieldWithDefault(this,1,!1)},proto.lightstep.collector.Command.prototype.setDisable=function(e){r.Message.setProto3BooleanField(this,1,e)},proto.lightstep.collector.ReportResponse=function(e){r.Message.initialize(this,e,0,-1,proto.lightstep.collector.ReportResponse.repeatedFields_,null)},i.inherits(proto.lightstep.collector.ReportResponse,r.Message),i.DEBUG&&!COMPILED&&(proto.lightstep.collector.ReportResponse.displayName="proto.lightstep.collector.ReportResponse"),proto.lightstep.collector.ReportResponse.repeatedFields_=[1,4,5,6],r.Message.GENERATE_TO_OBJECT&&(proto.lightstep.collector.ReportResponse.prototype.toObject=function(e){return proto.lightstep.collector.ReportResponse.toObject(e,this)},proto.lightstep.collector.ReportResponse.toObject=function(e,t){var o,i={commandsList:r.Message.toObjectList(t.getCommandsList(),proto.lightstep.collector.Command.toObject,e),receiveTimestamp:(o=t.getReceiveTimestamp())&&s.Timestamp.toObject(e,o),transmitTimestamp:(o=t.getTransmitTimestamp())&&s.Timestamp.toObject(e,o),errorsList:r.Message.getRepeatedField(t,4),warningsList:r.Message.getRepeatedField(t,5),infosList:r.Message.getRepeatedField(t,6)};return e&&(i.$jspbMessageInstance=t),i}),proto.lightstep.collector.ReportResponse.deserializeBinary=function(e){var t=new r.BinaryReader(e),o=new proto.lightstep.collector.ReportResponse;return proto.lightstep.collector.ReportResponse.deserializeBinaryFromReader(o,t)},proto.lightstep.collector.ReportResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.lightstep.collector.Command;t.readMessage(o,proto.lightstep.collector.Command.deserializeBinaryFromReader),e.addCommands(o);break;case 2:o=new s.Timestamp;t.readMessage(o,s.Timestamp.deserializeBinaryFromReader),e.setReceiveTimestamp(o);break;case 3:o=new s.Timestamp;t.readMessage(o,s.Timestamp.deserializeBinaryFromReader),e.setTransmitTimestamp(o);break;case 4:o=t.readString();e.addErrors(o);break;case 5:o=t.readString();e.addWarnings(o);break;case 6:o=t.readString();e.addInfos(o);break;default:t.skipField()}}return e},proto.lightstep.collector.ReportResponse.prototype.serializeBinary=function(){var e=new r.BinaryWriter;return proto.lightstep.collector.ReportResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.lightstep.collector.ReportResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getCommandsList()).length>0&&t.writeRepeatedMessage(1,o,proto.lightstep.collector.Command.serializeBinaryToWriter),null!=(o=e.getReceiveTimestamp())&&t.writeMessage(2,o,s.Timestamp.serializeBinaryToWriter),null!=(o=e.getTransmitTimestamp())&&t.writeMessage(3,o,s.Timestamp.serializeBinaryToWriter),(o=e.getErrorsList()).length>0&&t.writeRepeatedString(4,o),(o=e.getWarningsList()).length>0&&t.writeRepeatedString(5,o),(o=e.getInfosList()).length>0&&t.writeRepeatedString(6,o)},proto.lightstep.collector.ReportResponse.prototype.getCommandsList=function(){return r.Message.getRepeatedWrapperField(this,proto.lightstep.collector.Command,1)},proto.lightstep.collector.ReportResponse.prototype.setCommandsList=function(e){r.Message.setRepeatedWrapperField(this,1,e)},proto.lightstep.collector.ReportResponse.prototype.addCommands=function(e,t){return r.Message.addToRepeatedWrapperField(this,1,e,proto.lightstep.collector.Command,t)},proto.lightstep.collector.ReportResponse.prototype.clearCommandsList=function(){this.setCommandsList([])},proto.lightstep.collector.ReportResponse.prototype.getReceiveTimestamp=function(){return r.Message.getWrapperField(this,s.Timestamp,2)},proto.lightstep.collector.ReportResponse.prototype.setReceiveTimestamp=function(e){r.Message.setWrapperField(this,2,e)},proto.lightstep.collector.ReportResponse.prototype.clearReceiveTimestamp=function(){this.setReceiveTimestamp(void 0)},proto.lightstep.collector.ReportResponse.prototype.hasReceiveTimestamp=function(){return null!=r.Message.getField(this,2)},proto.lightstep.collector.ReportResponse.prototype.getTransmitTimestamp=function(){return r.Message.getWrapperField(this,s.Timestamp,3)},proto.lightstep.collector.ReportResponse.prototype.setTransmitTimestamp=function(e){r.Message.setWrapperField(this,3,e)},proto.lightstep.collector.ReportResponse.prototype.clearTransmitTimestamp=function(){this.setTransmitTimestamp(void 0)},proto.lightstep.collector.ReportResponse.prototype.hasTransmitTimestamp=function(){return null!=r.Message.getField(this,3)},proto.lightstep.collector.ReportResponse.prototype.getErrorsList=function(){return r.Message.getRepeatedField(this,4)},proto.lightstep.collector.ReportResponse.prototype.setErrorsList=function(e){r.Message.setField(this,4,e||[])},proto.lightstep.collector.ReportResponse.prototype.addErrors=function(e,t){r.Message.addToRepeatedField(this,4,e,t)},proto.lightstep.collector.ReportResponse.prototype.clearErrorsList=function(){this.setErrorsList([])},proto.lightstep.collector.ReportResponse.prototype.getWarningsList=function(){return r.Message.getRepeatedField(this,5)},proto.lightstep.collector.ReportResponse.prototype.setWarningsList=function(e){r.Message.setField(this,5,e||[])},proto.lightstep.collector.ReportResponse.prototype.addWarnings=function(e,t){r.Message.addToRepeatedField(this,5,e,t)},proto.lightstep.collector.ReportResponse.prototype.clearWarningsList=function(){this.setWarningsList([])},proto.lightstep.collector.ReportResponse.prototype.getInfosList=function(){return r.Message.getRepeatedField(this,6)},proto.lightstep.collector.ReportResponse.prototype.setInfosList=function(e){r.Message.setField(this,6,e||[])},proto.lightstep.collector.ReportResponse.prototype.addInfos=function(e,t){r.Message.addToRepeatedField(this,6,e,t)},proto.lightstep.collector.ReportResponse.prototype.clearInfosList=function(){this.setInfosList([])},i.object.extend(t,proto.lightstep.collector)},function(e,t,o){"use strict";function r(e){for(var o in e)t.hasOwnProperty(o)||(t[o]=e[o])}Object.defineProperty(t,"__esModule",{value:!0});var i=o(24);t.BinaryCarrier=i.default;var n=o(25);t.Tags=n;var s=o(8),a=o(14);t.Reference=a.default;var p=o(5);t.Span=p.default;var g=o(11);t.SpanContext=g.default;var l=o(9);t.Tracer=l.Tracer;var u=o(26);t.MockTracer=u.MockTracer,r(o(29)),r(o(13)),r(o(12)),s.initialize()},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.toString=function(e){return""+e},t.toNumber=function(e){return Number(e)},t.toBoolean=function(e){return!!e}},function(e,t,o){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=o(8),i=function(){function e(){}return e.prototype.context=function(){return this._context()},e.prototype.tracer=function(){return this._tracer()},e.prototype.setOperationName=function(e){return this._setOperationName(e),this},e.prototype.setBaggageItem=function(e,t){return this._setBaggageItem(e,t),this},e.prototype.getBaggageItem=function(e){return this._getBaggageItem(e)},e.prototype.setTag=function(e,t){return this._addTags(((o={})[e]=t,o)),this;var o},e.prototype.addTags=function(e){return this._addTags(e),this},e.prototype.log=function(e,t){return this._log(e,t),this},e.prototype.logEvent=function(e,t){return this._log({event:e,payload:t})},e.prototype.finish=function(e){this._finish(e)},e.prototype._context=function(){return r.spanContext},e.prototype._tracer=function(){return r.tracer},e.prototype._setOperationName=function(e){},e.prototype._setBaggageItem=function(e,t){},e.prototype._getBaggageItem=function(e){},e.prototype._addTags=function(e){},e.prototype._log=function(e,t){},e.prototype._finish=function(e){},e}();t.Span=i,t.default=i},function(module,exports,__webpack_require__){(function(global,Buffer){var $jscomp={scope:{},getGlobal:function(e){return"undefined"!=typeof window&&window===e?e:void 0!==global?global:e}};$jscomp.global=$jscomp.getGlobal(this),$jscomp.initSymbol=function(){$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol),$jscomp.initSymbol=function(){}},$jscomp.symbolCounter_=0,$jscomp.Symbol=function(e){return"jscomp_symbol_"+e+$jscomp.symbolCounter_++},$jscomp.initSymbolIterator=function(){$jscomp.initSymbol(),$jscomp.global.Symbol.iterator||($jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator")),$jscomp.initSymbolIterator=function(){}},$jscomp.makeIterator=function(e){$jscomp.initSymbolIterator(),$jscomp.initSymbol(),$jscomp.initSymbolIterator();var t=e[Symbol.iterator];if(t)return t.call(e);var o=0;return{next:function(){return ot;)--o in this?this[--e]=this[o]:delete this[e];return this},$jscomp.array.copyWithin$install=function(){$jscomp.array.installHelper_("copyWithin",$jscomp.array.copyWithin)},$jscomp.array.fill=function(e,t,o){var r=this.length||0;for(0>t&&(t=Math.max(0,r+t)),(null==o||o>r)&&(o=r),0>(o=Number(o))&&(o=Math.max(0,r+o)),t=Number(t||0);t>>0))return 32;var t=0;return 0==(4294901760&e)&&(e<<=16,t+=16),0==(4278190080&e)&&(e<<=8,t+=8),0==(4026531840&e)&&(e<<=4,t+=4),0==(3221225472&e)&&(e<<=2,t+=2),0==(2147483648&e)&&t++,t},$jscomp.math.imul=function(e,t){var o=65535&(e=Number(e)),r=65535&(t=Number(t));return o*r+((e>>>16&65535)*r+o*(t>>>16&65535)<<16>>>0)|0},$jscomp.math.sign=function(e){return 0===(e=Number(e))||isNaN(e)?e:0(e=Number(e))&&-.25(e=Number(e))&&-.25e?-t:t},$jscomp.math.acosh=function(e){return e=Number(e),Math.log(e+Math.sqrt(e*e-1))},$jscomp.math.asinh=function(e){if(0===(e=Number(e)))return e;var t=Math.log(Math.abs(e)+Math.sqrt(e*e+1));return 0>e?-t:t},$jscomp.math.atanh=function(e){return e=Number(e),($jscomp.math.log1p(e)-$jscomp.math.log1p(-e))/2},$jscomp.math.hypot=function(e,t,o){e=Number(e),t=Number(t);var r,i,n,s=Math.max(Math.abs(e),Math.abs(t));for(r=2;rs){for(n=(e/=s)*e+(t/=s)*t,r=2;re?-t:t},$jscomp.math.cbrt=function(e){if(0===e)return e;e=Number(e);var t=Math.pow(Math.abs(e),1/3);return 0>e?-t:t},$jscomp.number=$jscomp.number||{},$jscomp.number.isFinite=function(e){return"number"==typeof e&&(!isNaN(e)&&1/0!==e&&-1/0!==e)},$jscomp.number.isInteger=function(e){return!!$jscomp.number.isFinite(e)&&e===Math.floor(e)},$jscomp.number.isNaN=function(e){return"number"==typeof e&&isNaN(e)},$jscomp.number.isSafeInteger=function(e){return $jscomp.number.isInteger(e)&&Math.abs(e)<=$jscomp.number.MAX_SAFE_INTEGER},$jscomp.number.EPSILON=Math.pow(2,-52),$jscomp.number.MAX_SAFE_INTEGER=9007199254740991,$jscomp.number.MIN_SAFE_INTEGER=-9007199254740991,$jscomp.object=$jscomp.object||{},$jscomp.object.assign=function(e,t){for(var o=1;or||1114111=r?t+=String.fromCharCode(r):(r-=65536,t+=String.fromCharCode(r>>>10&1023|55296),t+=String.fromCharCode(1023&r|56320))}return t},$jscomp.string.repeat=function(e){var t=$jscomp.checkStringArgs(this,null,"repeat");if(0>e||1342177279>>=1)&&(t+=t);return o},$jscomp.string.repeat$install=function(){String.prototype.repeat||(String.prototype.repeat=$jscomp.string.repeat)},$jscomp.string.codePointAt=function(e){var t=$jscomp.checkStringArgs(this,null,"codePointAt"),o=t.length;if(0<=(e=Number(e)||0)&&er||56319(e=t.charCodeAt(e+1))||57343=i},$jscomp.string.startsWith$install=function(){String.prototype.startsWith||(String.prototype.startsWith=$jscomp.string.startsWith)},$jscomp.string.endsWith=function(e,t){var o=$jscomp.checkStringArgs(this,e,"endsWith");e+="",void 0===t&&(t=o.length);for(var r=Math.max(0,Math.min(0|t,o.length)),i=e.length;0=i},$jscomp.string.endsWith$install=function(){String.prototype.endsWith||(String.prototype.endsWith=$jscomp.string.endsWith)};var COMPILED=!0,goog=goog||{};goog.global=this,goog.isDef=function(e){return void 0!==e},goog.exportPath_=function(e,t,o){e=e.split("."),o=o||goog.global,e[0]in o||!o.execScript||o.execScript("var "+e[0]);for(var r;e.length&&(r=e.shift());)!e.length&&goog.isDef(t)?o[r]=t:o=o[r]?o[r]:o[r]={}},goog.define=function(e,t){var o=t;COMPILED||(goog.global.CLOSURE_UNCOMPILED_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_UNCOMPILED_DEFINES,e)?o=goog.global.CLOSURE_UNCOMPILED_DEFINES[e]:goog.global.CLOSURE_DEFINES&&Object.prototype.hasOwnProperty.call(goog.global.CLOSURE_DEFINES,e)&&(o=goog.global.CLOSURE_DEFINES[e])),goog.exportPath_(e,o)},goog.DEBUG=!0,goog.LOCALE="en",goog.TRUSTED_SITE=!0,goog.STRICT_MODE_COMPATIBLE=!1,goog.DISALLOW_TEST_ONLY_CODE=COMPILED&&!goog.DEBUG,goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING=!1,goog.provide=function(e){if(!COMPILED&&goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');goog.constructNamespace_(e)},goog.constructNamespace_=function(e,t){if(!COMPILED){delete goog.implicitNamespaces_[e];for(var o=e;(o=o.substring(0,o.lastIndexOf(".")))&&!goog.getObjectByName(o);)goog.implicitNamespaces_[o]=!0}goog.exportPath_(e,t)},goog.VALID_MODULE_RE_=/^[a-zA-Z_$][a-zA-Z0-9._$]*$/,goog.module=function(e){if(!goog.isString(e)||!e||-1==e.search(goog.VALID_MODULE_RE_))throw Error("Invalid module identifier");if(!goog.isInModuleLoader_())throw Error("Module "+e+" has been loaded incorrectly.");if(goog.moduleLoaderState_.moduleName)throw Error("goog.module may only be called once per module.");if(goog.moduleLoaderState_.moduleName=e,!COMPILED){if(goog.isProvided_(e))throw Error('Namespace "'+e+'" already declared.');delete goog.implicitNamespaces_[e]}},goog.module.get=function(e){return goog.module.getInternal_(e)},goog.module.getInternal_=function(e){if(!COMPILED)return goog.isProvided_(e)?e in goog.loadedModules_?goog.loadedModules_[e]:goog.getObjectByName(e):null},goog.moduleLoaderState_=null,goog.isInModuleLoader_=function(){return null!=goog.moduleLoaderState_},goog.module.declareLegacyNamespace=function(){if(!COMPILED&&!goog.isInModuleLoader_())throw Error("goog.module.declareLegacyNamespace must be called from within a goog.module");if(!COMPILED&&!goog.moduleLoaderState_.moduleName)throw Error("goog.module must be called prior to goog.module.declareLegacyNamespace.");goog.moduleLoaderState_.declareLegacyNamespace=!0},goog.setTestOnly=function(e){if(goog.DISALLOW_TEST_ONLY_CODE)throw e=e||"",Error("Importing test-only code into non-debug environment"+(e?": "+e:"."))},goog.forwardDeclare=function(e){},COMPILED||(goog.isProvided_=function(e){return e in goog.loadedModules_||!goog.implicitNamespaces_[e]&&goog.isDefAndNotNull(goog.getObjectByName(e))},goog.implicitNamespaces_={"goog.module":!0}),goog.getObjectByName=function(e,t){for(var o,r=e.split("."),i=t||goog.global;o=r.shift();){if(!goog.isDefAndNotNull(i[o]))return null;i=i[o]}return i},goog.globalize=function(e,t){var o,r=t||goog.global;for(o in e)r[o]=e[o]},goog.addDependency=function(e,t,o,r){if(goog.DEPENDENCIES_ENABLED){var i;e=e.replace(/\\/g,"/");for(var n=goog.dependencies_,s=0;i=t[s];s++)n.nameToPath[i]=e,n.pathIsModule[e]=!!r;for(r=0;t=o[r];r++)e in n.requires||(n.requires[e]={}),n.requires[e][t]=!0}},goog.ENABLE_DEBUG_LOADER=!0,goog.logToConsole_=function(e){goog.global.console&&goog.global.console.error(e)},goog.require=function(e){if(!COMPILED){if(goog.ENABLE_DEBUG_LOADER&&goog.IS_OLD_IE_&&goog.maybeProcessDeferredDep_(e),goog.isProvided_(e))return goog.isInModuleLoader_()?goog.module.getInternal_(e):null;if(goog.ENABLE_DEBUG_LOADER){var t=goog.getPathFromDeps_(e);if(t)return goog.writeScripts_(t),null}throw e="goog.require could not find: "+e,goog.logToConsole_(e),Error(e)}},goog.basePath="",goog.nullFunction=function(){},goog.abstractMethod=function(){throw Error("unimplemented abstract method")},goog.addSingletonGetter=function(e){e.getInstance=function(){return e.instance_?e.instance_:(goog.DEBUG&&(goog.instantiatedSingletons_[goog.instantiatedSingletons_.length]=e),e.instance_=new e)}},goog.instantiatedSingletons_=[],goog.LOAD_MODULE_USING_EVAL=!0,goog.SEAL_MODULE_EXPORTS=goog.DEBUG,goog.loadedModules_={},goog.DEPENDENCIES_ENABLED=!COMPILED&&goog.ENABLE_DEBUG_LOADER,goog.DEPENDENCIES_ENABLED&&(goog.dependencies_={pathIsModule:{},nameToPath:{},requires:{},visited:{},written:{},deferred:{}},goog.inHtmlDocument_=function(){var e=goog.global.document;return null!=e&&"write"in e},goog.findBasePath_=function(){if(goog.isDef(goog.global.CLOSURE_BASE_PATH))goog.basePath=goog.global.CLOSURE_BASE_PATH;else if(goog.inHtmlDocument_())for(var e=goog.global.document.getElementsByTagName("SCRIPT"),t=e.length-1;0<=t;--t){var o=e[t].src,r=-1==(r=o.lastIndexOf("?"))?o.length:r;if("base.js"==o.substr(r-7,7)){goog.basePath=o.substr(0,r-7);break}}},goog.importScript_=function(e,t){(goog.global.CLOSURE_IMPORT_SCRIPT||goog.writeScriptTag_)(e,t)&&(goog.dependencies_.written[e]=!0)},goog.IS_OLD_IE_=!(goog.global.atob||!goog.global.document||!goog.global.document.all),goog.importModule_=function(e){goog.importScript_("",'goog.retrieveAndExecModule_("'+e+'");')&&(goog.dependencies_.written[e]=!0)},goog.queuedModules_=[],goog.wrapModule_=function(e,t){return goog.LOAD_MODULE_USING_EVAL&&goog.isDef(goog.global.JSON)?"goog.loadModule("+goog.global.JSON.stringify(t+"\n//# sourceURL="+e+"\n")+");":'goog.loadModule(function(exports) {"use strict";'+t+"\n;return exports});\n//# sourceURL="+e+"\n"},goog.loadQueuedModules_=function(){var e=goog.queuedModules_.length;if(0<\/script>')},goog.appendScriptSrcNode_=function(e){var t=goog.global.document,o=t.createElement("script");o.type="text/javascript",o.src=e,o.defer=!1,o.async=!1,t.head.appendChild(o)},goog.writeScriptTag_=function(e,t){if(goog.inHtmlDocument_()){var o=goog.global.document;if(!goog.ENABLE_CHROME_APP_SAFE_SCRIPT_LOADING&&"complete"==o.readyState){if(/\bdeps.js$/.test(e))return!1;throw Error('Cannot write "'+e+'" after document load')}var r=goog.IS_OLD_IE_;return void 0===t?r?(r=" onreadystatechange='goog.onScriptLoad_(this, "+ ++goog.lastNonModuleScriptIndex_+")' ",o.write('