@sentio/runtime 2.62.5-rc.1 → 2.62.5

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.
Files changed (44) hide show
  1. package/lib/chunk-3A7UBKPA.js +26 -0
  2. package/lib/{chunk-OFR7W4ZG.js.map → chunk-3A7UBKPA.js.map} +1 -1
  3. package/lib/chunk-AUPVVLD3.js +3 -0
  4. package/lib/chunk-CJDESLYQ.js +3 -0
  5. package/lib/{chunk-L2A6JPIQ.js.map → chunk-CJDESLYQ.js.map} +1 -1
  6. package/lib/chunk-FBMVCL4M.js +117 -0
  7. package/lib/{chunk-3QIPRNAH.js.map → chunk-FBMVCL4M.js.map} +1 -1
  8. package/lib/chunk-G6HW3DCN.js +3 -0
  9. package/lib/{chunk-MV6JXS2P.js.map → chunk-G6HW3DCN.js.map} +1 -1
  10. package/lib/chunk-WHWNPZZ3.js +3 -0
  11. package/lib/{chunk-6XHWJ2VS.js.map → chunk-WHWNPZZ3.js.map} +1 -1
  12. package/lib/chunk-XI22N6AJ.js +38 -0
  13. package/lib/{chunk-CPJKSHSV.js.map → chunk-XI22N6AJ.js.map} +1 -1
  14. package/lib/getMachineId-bsd-I6PJXCQT.js +3 -0
  15. package/lib/{getMachineId-bsd-ZJR2OQTA.js.map → getMachineId-bsd-I6PJXCQT.js.map} +1 -1
  16. package/lib/getMachineId-darwin-HKHV3WMW.js +4 -0
  17. package/lib/{getMachineId-darwin-OW6SYINH.js.map → getMachineId-darwin-HKHV3WMW.js.map} +1 -1
  18. package/lib/getMachineId-linux-I76A7IOE.js +3 -0
  19. package/lib/{getMachineId-linux-L5XPRJBN.js.map → getMachineId-linux-I76A7IOE.js.map} +1 -1
  20. package/lib/getMachineId-unsupported-VPOZWIZS.js +3 -0
  21. package/lib/{getMachineId-unsupported-B3NMIOO3.js.map → getMachineId-unsupported-VPOZWIZS.js.map} +1 -1
  22. package/lib/getMachineId-win-W5S4EK74.js +3 -0
  23. package/lib/{getMachineId-win-TT64F63B.js.map → getMachineId-win-W5S4EK74.js.map} +1 -1
  24. package/lib/index.js +1 -76
  25. package/lib/index.js.map +1 -1
  26. package/lib/processor-runner.js +47 -32956
  27. package/lib/processor-runner.js.map +1 -1
  28. package/lib/service-worker.js +2 -132
  29. package/lib/service-worker.js.map +1 -1
  30. package/lib/test-processor.test.js.map +1 -1
  31. package/package.json +1 -1
  32. package/lib/chunk-3QIPRNAH.js +0 -60118
  33. package/lib/chunk-6XHWJ2VS.js +0 -92
  34. package/lib/chunk-CPJKSHSV.js +0 -10976
  35. package/lib/chunk-KVSDPGUI.js +0 -50
  36. package/lib/chunk-L2A6JPIQ.js +0 -21
  37. package/lib/chunk-MV6JXS2P.js +0 -1703
  38. package/lib/chunk-OFR7W4ZG.js +0 -25773
  39. package/lib/getMachineId-bsd-ZJR2OQTA.js +0 -41
  40. package/lib/getMachineId-darwin-OW6SYINH.js +0 -41
  41. package/lib/getMachineId-linux-L5XPRJBN.js +0 -33
  42. package/lib/getMachineId-unsupported-B3NMIOO3.js +0 -24
  43. package/lib/getMachineId-win-TT64F63B.js +0 -43
  44. /package/lib/{chunk-KVSDPGUI.js.map → chunk-AUPVVLD3.js.map} +0 -0
@@ -0,0 +1,3 @@
1
+ import { createRequire as createRequireShim } from 'module'; const require = createRequireShim(import.meta.url);
2
+ import{b as u,d as Gr}from"./chunk-AUPVVLD3.js";var Pt,Ct=u(()=>{"use strict";Pt=typeof globalThis=="object"?globalThis:global});var St=u(()=>{"use strict";Ct()});var Rt=u(()=>{"use strict";St()});var y,J=u(()=>{"use strict";y="1.9.0"});function Vr(t){var r=new Set([t]),e=new Set,n=t.match(Mt);if(!n)return function(){return!1};var a={major:+n[1],minor:+n[2],patch:+n[3],prerelease:n[4]};if(a.prerelease!=null)return function(c){return c===t};function o(p){return e.add(p),!1}function i(p){return r.add(p),!0}return function(c){if(r.has(c))return!0;if(e.has(c))return!1;var l=c.match(Mt);if(!l)return o(c);var v={major:+l[1],minor:+l[2],patch:+l[3],prerelease:l[4]};return v.prerelease!=null||a.major!==v.major?o(c):a.major===0?a.minor===v.minor&&a.patch<=v.patch?i(c):o(c):a.minor<=v.minor?i(c):o(c)}}var Mt,wt,Dt=u(()=>{"use strict";J();Mt=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;wt=Vr(y)});function m(t,r,e,n){var a;n===void 0&&(n=!1);var o=O[I]=(a=O[I])!==null&&a!==void 0?a:{version:y};if(!n&&o[t]){var i=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+t);return e.error(i.stack||i.message),!1}if(o.version!==y){var i=new Error("@opentelemetry/api: Registration of version v"+o.version+" for "+t+" does not match previously registered API v"+y);return e.error(i.stack||i.message),!1}return o[t]=r,e.debug("@opentelemetry/api: Registered a global for "+t+" v"+y+"."),!0}function g(t){var r,e,n=(r=O[I])===null||r===void 0?void 0:r.version;if(!(!n||!wt(n)))return(e=O[I])===null||e===void 0?void 0:e[t]}function _(t,r){r.debug("@opentelemetry/api: Unregistering a global for "+t+" v"+y+".");var e=O[I];e&&delete e[t]}var Br,I,O,x=u(()=>{"use strict";Rt();J();Dt();Br=y.split(".")[0],I=Symbol.for("opentelemetry.js.api."+Br),O=Pt});function P(t,r,e){var n=g("diag");if(n)return e.unshift(r),n[t].apply(n,Ur([],Lr(e),!1))}var Lr,Ur,Gt,Vt=u(()=>{"use strict";x();Lr=function(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var n=e.call(t),a,o=[],i;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(p){i={error:p}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(i)throw i.error}}return o},Ur=function(t,r,e){if(e||arguments.length===2)for(var n=0,a=r.length,o;n<a;n++)(o||!(n in r))&&(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return t.concat(o||Array.prototype.slice.call(r))},Gt=function(){function t(r){this._namespace=r.namespace||"DiagComponentLogger"}return t.prototype.debug=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return P("debug",this._namespace,r)},t.prototype.error=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return P("error",this._namespace,r)},t.prototype.info=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return P("info",this._namespace,r)},t.prototype.warn=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return P("warn",this._namespace,r)},t.prototype.verbose=function(){for(var r=[],e=0;e<arguments.length;e++)r[e]=arguments[e];return P("verbose",this._namespace,r)},t}()});var f,G=u(()=>{"use strict";(function(t){t[t.NONE=0]="NONE",t[t.ERROR=30]="ERROR",t[t.WARN=50]="WARN",t[t.INFO=60]="INFO",t[t.DEBUG=70]="DEBUG",t[t.VERBOSE=80]="VERBOSE",t[t.ALL=9999]="ALL"})(f||(f={}))});function Bt(t,r){t<f.NONE?t=f.NONE:t>f.ALL&&(t=f.ALL),r=r||{};function e(n,a){var o=r[n];return typeof o=="function"&&t>=a?o.bind(r):function(){}}return{error:e("error",f.ERROR),warn:e("warn",f.WARN),info:e("info",f.INFO),debug:e("debug",f.DEBUG),verbose:e("verbose",f.VERBOSE)}}var Lt=u(()=>{"use strict";G()});var jr,kr,Xr,s,E=u(()=>{"use strict";Vt();Lt();G();x();jr=function(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var n=e.call(t),a,o=[],i;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(p){i={error:p}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(i)throw i.error}}return o},kr=function(t,r,e){if(e||arguments.length===2)for(var n=0,a=r.length,o;n<a;n++)(o||!(n in r))&&(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return t.concat(o||Array.prototype.slice.call(r))},Xr="diag",s=function(){function t(){function r(a){return function(){for(var o=[],i=0;i<arguments.length;i++)o[i]=arguments[i];var p=g("diag");if(p)return p[a].apply(p,kr([],jr(o),!1))}}var e=this,n=function(a,o){var i,p,c;if(o===void 0&&(o={logLevel:f.INFO}),a===e){var l=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return e.error((i=l.stack)!==null&&i!==void 0?i:l.message),!1}typeof o=="number"&&(o={logLevel:o});var v=g("diag"),It=Bt((p=o.logLevel)!==null&&p!==void 0?p:f.INFO,a);if(v&&!o.suppressOverrideMessage){var Ot=(c=new Error().stack)!==null&&c!==void 0?c:"<failed to generate stacktrace>";v.warn("Current logger will be overwritten from "+Ot),It.warn("Current logger will overwrite one already registered from "+Ot)}return m("diag",It,e,!0)};e.setLogger=n,e.disable=function(){_(Xr,e)},e.createComponentLogger=function(a){return new Gt(a)},e.verbose=r("verbose"),e.debug=r("debug"),e.info=r("info"),e.warn=r("warn"),e.error=r("error")}return t.instance=function(){return this._instance||(this._instance=new t),this._instance},t}()});var Z,Ut=u(()=>{"use strict";E();Z=s.instance()});var Kr,Fr,jt,kt=u(()=>{"use strict";Kr=function(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var n=e.call(t),a,o=[],i;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(p){i={error:p}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(i)throw i.error}}return o},Fr=function(t){var r=typeof Symbol=="function"&&Symbol.iterator,e=r&&t[r],n=0;if(e)return e.call(t);if(t&&typeof t.length=="number")return{next:function(){return t&&n>=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},jt=function(){function t(r){this._entries=r?new Map(r):new Map}return t.prototype.getEntry=function(r){var e=this._entries.get(r);if(e)return Object.assign({},e)},t.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map(function(r){var e=Kr(r,2),n=e[0],a=e[1];return[n,a]})},t.prototype.setEntry=function(r,e){var n=new t(this._entries);return n._entries.set(r,e),n},t.prototype.removeEntry=function(r){var e=new t(this._entries);return e._entries.delete(r),e},t.prototype.removeEntries=function(){for(var r,e,n=[],a=0;a<arguments.length;a++)n[a]=arguments[a];var o=new t(this._entries);try{for(var i=Fr(n),p=i.next();!p.done;p=i.next()){var c=p.value;o._entries.delete(c)}}catch(l){r={error:l}}finally{try{p&&!p.done&&(e=i.return)&&e.call(i)}finally{if(r)throw r.error}}return o},t.prototype.clear=function(){return new t},t}()});var Xt,Kt=u(()=>{"use strict";Xt=Symbol("BaggageEntryMetadata")});function Ft(t){return t===void 0&&(t={}),new jt(new Map(Object.entries(t)))}function Yt(t){return typeof t!="string"&&(Yr.error("Cannot create baggage metadata from unknown type: "+typeof t),t=""),{__TYPE__:Xt,toString:function(){return t}}}var Yr,tt=u(()=>{"use strict";E();kt();Kt();Yr=s.instance()});function N(t){return Symbol.for(t)}var zr,V,C=u(()=>{"use strict";zr=function(){function t(r){var e=this;e._currentContext=r?new Map(r):new Map,e.getValue=function(n){return e._currentContext.get(n)},e.setValue=function(n,a){var o=new t(e._currentContext);return o._currentContext.set(n,a),o},e.deleteValue=function(n){var a=new t(e._currentContext);return a._currentContext.delete(n),a}}return t}(),V=new zr});var rt,zt,Wt=u(()=>{"use strict";rt=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],zt=function(){function t(){function r(n){return function(){for(var a=[],o=0;o<arguments.length;o++)a[o]=arguments[o];if(console){var i=console[n];if(typeof i!="function"&&(i=console.log),typeof i=="function")return i.apply(console,a)}}}for(var e=0;e<rt.length;e++)this[rt[e].n]=r(rt[e].c)}return t}()});function Ht(){return nt}var A,Wr,B,Hr,$r,Qr,qr,et,Jr,Zr,te,nt,re,ee,ne,oe,ae,ie,ue,ot=u(()=>{"use strict";A=function(){var t=function(r,e){return t=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(n,a){n.__proto__=a}||function(n,a){for(var o in a)Object.prototype.hasOwnProperty.call(a,o)&&(n[o]=a[o])},t(r,e)};return function(r,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");t(r,e);function n(){this.constructor=r}r.prototype=e===null?Object.create(e):(n.prototype=e.prototype,new n)}}(),Wr=function(){function t(){}return t.prototype.createGauge=function(r,e){return ee},t.prototype.createHistogram=function(r,e){return ne},t.prototype.createCounter=function(r,e){return re},t.prototype.createUpDownCounter=function(r,e){return oe},t.prototype.createObservableGauge=function(r,e){return ie},t.prototype.createObservableCounter=function(r,e){return ae},t.prototype.createObservableUpDownCounter=function(r,e){return ue},t.prototype.addBatchObservableCallback=function(r,e){},t.prototype.removeBatchObservableCallback=function(r){},t}(),B=function(){function t(){}return t}(),Hr=function(t){A(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.add=function(e,n){},r}(B),$r=function(t){A(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.add=function(e,n){},r}(B),Qr=function(t){A(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.record=function(e,n){},r}(B),qr=function(t){A(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r.prototype.record=function(e,n){},r}(B),et=function(){function t(){}return t.prototype.addCallback=function(r){},t.prototype.removeCallback=function(r){},t}(),Jr=function(t){A(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r}(et),Zr=function(t){A(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r}(et),te=function(t){A(r,t);function r(){return t!==null&&t.apply(this,arguments)||this}return r}(et),nt=new Wr,re=new Hr,ee=new Qr,ne=new qr,oe=new $r,ae=new Jr,ie=new Zr,ue=new te});var L,$t=u(()=>{"use strict";(function(t){t[t.INT=0]="INT",t[t.DOUBLE=1]="DOUBLE"})(L||(L={}))});var U,j,at=u(()=>{"use strict";U={get:function(t,r){if(t!=null)return t[r]},keys:function(t){return t==null?[]:Object.keys(t)}},j={set:function(t,r,e){t!=null&&(t[r]=e)}}});var pe,ce,Qt,qt=u(()=>{"use strict";C();pe=function(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var n=e.call(t),a,o=[],i;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(p){i={error:p}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(i)throw i.error}}return o},ce=function(t,r,e){if(e||arguments.length===2)for(var n=0,a=r.length,o;n<a;n++)(o||!(n in r))&&(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return t.concat(o||Array.prototype.slice.call(r))},Qt=function(){function t(){}return t.prototype.active=function(){return V},t.prototype.with=function(r,e,n){for(var a=[],o=3;o<arguments.length;o++)a[o-3]=arguments[o];return e.call.apply(e,ce([n],pe(a),!1))},t.prototype.bind=function(r,e){return e},t.prototype.enable=function(){return this},t.prototype.disable=function(){return this},t}()});var fe,se,it,le,d,S=u(()=>{"use strict";qt();x();E();fe=function(t,r){var e=typeof Symbol=="function"&&t[Symbol.iterator];if(!e)return t;var n=e.call(t),a,o=[],i;try{for(;(r===void 0||r-- >0)&&!(a=n.next()).done;)o.push(a.value)}catch(p){i={error:p}}finally{try{a&&!a.done&&(e=n.return)&&e.call(n)}finally{if(i)throw i.error}}return o},se=function(t,r,e){if(e||arguments.length===2)for(var n=0,a=r.length,o;n<a;n++)(o||!(n in r))&&(o||(o=Array.prototype.slice.call(r,0,n)),o[n]=r[n]);return t.concat(o||Array.prototype.slice.call(r))},it="context",le=new Qt,d=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalContextManager=function(r){return m(it,r,s.instance())},t.prototype.active=function(){return this._getContextManager().active()},t.prototype.with=function(r,e,n){for(var a,o=[],i=3;i<arguments.length;i++)o[i-3]=arguments[i];return(a=this._getContextManager()).with.apply(a,se([r,e,n],fe(o),!1))},t.prototype.bind=function(r,e){return this._getContextManager().bind(r,e)},t.prototype._getContextManager=function(){return g(it)||le},t.prototype.disable=function(){this._getContextManager().disable(),_(it,s.instance())},t}()});var b,ut=u(()=>{"use strict";(function(t){t[t.NONE=0]="NONE",t[t.SAMPLED=1]="SAMPLED"})(b||(b={}))});var R,M,k,X=u(()=>{"use strict";ut();R="0000000000000000",M="00000000000000000000000000000000",k={traceId:M,spanId:R,traceFlags:b.NONE}});var h,K=u(()=>{"use strict";X();h=function(){function t(r){r===void 0&&(r=k),this._spanContext=r}return t.prototype.spanContext=function(){return this._spanContext},t.prototype.setAttribute=function(r,e){return this},t.prototype.setAttributes=function(r){return this},t.prototype.addEvent=function(r,e){return this},t.prototype.addLink=function(r){return this},t.prototype.addLinks=function(r){return this},t.prototype.setStatus=function(r){return this},t.prototype.updateName=function(r){return this},t.prototype.end=function(r){},t.prototype.isRecording=function(){return!1},t.prototype.recordException=function(r,e){},t}()});function F(t){return t.getValue(pt)||void 0}function Jt(){return F(d.getInstance().active())}function w(t,r){return t.setValue(pt,r)}function Zt(t){return t.deleteValue(pt)}function tr(t,r){return w(t,new h(r))}function Y(t){var r;return(r=F(t))===null||r===void 0?void 0:r.spanContext()}var pt,ct=u(()=>{"use strict";C();K();S();pt=N("OpenTelemetry Context Key SPAN")});function ft(t){return ge.test(t)&&t!==M}function st(t){return ve.test(t)&&t!==R}function T(t){return ft(t.traceId)&&st(t.spanId)}function rr(t){return new h(t)}var ge,ve,z=u(()=>{"use strict";X();K();ge=/^([0-9a-f]{32})$/i,ve=/^[0-9a-f]{16}$/i});function me(t){return typeof t=="object"&&typeof t.spanId=="string"&&typeof t.traceId=="string"&&typeof t.traceFlags=="number"}var lt,W,gt=u(()=>{"use strict";S();ct();K();z();lt=d.getInstance(),W=function(){function t(){}return t.prototype.startSpan=function(r,e,n){n===void 0&&(n=lt.active());var a=!!e?.root;if(a)return new h;var o=n&&Y(n);return me(o)&&T(o)?new h(o):new h},t.prototype.startActiveSpan=function(r,e,n,a){var o,i,p;if(!(arguments.length<2)){arguments.length===2?p=e:arguments.length===3?(o=e,p=n):(o=e,i=n,p=a);var c=i??lt.active(),l=this.startSpan(r,o,c),v=w(c,l);return lt.with(v,p,void 0,l)}},t}()});var _e,H,vt=u(()=>{"use strict";gt();_e=new W,H=function(){function t(r,e,n,a){this._provider=r,this.name=e,this.version=n,this.options=a}return t.prototype.startSpan=function(r,e,n){return this._getTracer().startSpan(r,e,n)},t.prototype.startActiveSpan=function(r,e,n,a){var o=this._getTracer();return Reflect.apply(o.startActiveSpan,o,arguments)},t.prototype._getTracer=function(){if(this._delegate)return this._delegate;var r=this._provider.getDelegateTracer(this.name,this.version,this.options);return r?(this._delegate=r,this._delegate):_e},t}()});var er,nr=u(()=>{"use strict";gt();er=function(){function t(){}return t.prototype.getTracer=function(r,e,n){return new W},t}()});var ye,D,mt=u(()=>{"use strict";vt();nr();ye=new er,D=function(){function t(){}return t.prototype.getTracer=function(r,e,n){var a;return(a=this.getDelegateTracer(r,e,n))!==null&&a!==void 0?a:new H(this,r,e,n)},t.prototype.getDelegate=function(){var r;return(r=this._delegate)!==null&&r!==void 0?r:ye},t.prototype.setDelegate=function(r){this._delegate=r},t.prototype.getDelegateTracer=function(r,e,n){var a;return(a=this._delegate)===null||a===void 0?void 0:a.getTracer(r,e,n)},t}()});var $,or=u(()=>{"use strict";(function(t){t[t.NOT_RECORD=0]="NOT_RECORD",t[t.RECORD=1]="RECORD",t[t.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"})($||($={}))});var Q,ar=u(()=>{"use strict";(function(t){t[t.INTERNAL=0]="INTERNAL",t[t.SERVER=1]="SERVER",t[t.CLIENT=2]="CLIENT",t[t.PRODUCER=3]="PRODUCER",t[t.CONSUMER=4]="CONSUMER"})(Q||(Q={}))});var q,ir=u(()=>{"use strict";(function(t){t[t.UNSET=0]="UNSET",t[t.OK=1]="OK",t[t.ERROR=2]="ERROR"})(q||(q={}))});function ur(t){return xe.test(t)}function pr(t){return Ee.test(t)&&!Ae.test(t)}var _t,de,he,xe,Ee,Ae,cr=u(()=>{"use strict";_t="[_0-9a-z-*/]",de="[a-z]"+_t+"{0,255}",he="[a-z0-9]"+_t+"{0,240}@[a-z]"+_t+"{0,13}",xe=new RegExp("^(?:"+de+"|"+he+")$"),Ee=/^[ -~]{0,255}[!-~]$/,Ae=/,|=/});var fr,Ne,sr,lr,gr,vr=u(()=>{"use strict";cr();fr=32,Ne=512,sr=",",lr="=",gr=function(){function t(r){this._internalState=new Map,r&&this._parse(r)}return t.prototype.set=function(r,e){var n=this._clone();return n._internalState.has(r)&&n._internalState.delete(r),n._internalState.set(r,e),n},t.prototype.unset=function(r){var e=this._clone();return e._internalState.delete(r),e},t.prototype.get=function(r){return this._internalState.get(r)},t.prototype.serialize=function(){var r=this;return this._keys().reduce(function(e,n){return e.push(n+lr+r.get(n)),e},[]).join(sr)},t.prototype._parse=function(r){r.length>Ne||(this._internalState=r.split(sr).reverse().reduce(function(e,n){var a=n.trim(),o=a.indexOf(lr);if(o!==-1){var i=a.slice(0,o),p=a.slice(o+1,n.length);ur(i)&&pr(p)&&e.set(i,p)}return e},new Map),this._internalState.size>fr&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,fr))))},t.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},t.prototype._clone=function(){var r=new t;return r._internalState=new Map(this._internalState),r},t}()});function mr(t){return new gr(t)}var _r=u(()=>{"use strict";vr()});var yt,yr=u(()=>{"use strict";S();yt=d.getInstance()});var be,dr,hr=u(()=>{"use strict";ot();be=function(){function t(){}return t.prototype.getMeter=function(r,e,n){return nt},t}(),dr=new be});var dt,xr,Er=u(()=>{"use strict";hr();x();E();dt="metrics",xr=function(){function t(){}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalMeterProvider=function(r){return m(dt,r,s.instance())},t.prototype.getMeterProvider=function(){return g(dt)||dr},t.prototype.getMeter=function(r,e,n){return this.getMeterProvider().getMeter(r,e,n)},t.prototype.disable=function(){_(dt,s.instance())},t}()});var ht,Ar=u(()=>{"use strict";Er();ht=xr.getInstance()});var Nr,br=u(()=>{"use strict";Nr=function(){function t(){}return t.prototype.inject=function(r,e){},t.prototype.extract=function(r,e){return r},t.prototype.fields=function(){return[]},t}()});function Et(t){return t.getValue(xt)||void 0}function Tr(){return Et(d.getInstance().active())}function Ir(t,r){return t.setValue(xt,r)}function Or(t){return t.deleteValue(xt)}var xt,Pr=u(()=>{"use strict";S();C();xt=N("OpenTelemetry Baggage Key")});var At,Te,Cr,Sr=u(()=>{"use strict";x();br();at();Pr();tt();E();At="propagation",Te=new Nr,Cr=function(){function t(){this.createBaggage=Ft,this.getBaggage=Et,this.getActiveBaggage=Tr,this.setBaggage=Ir,this.deleteBaggage=Or}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalPropagator=function(r){return m(At,r,s.instance())},t.prototype.inject=function(r,e,n){return n===void 0&&(n=j),this._getGlobalPropagator().inject(r,e,n)},t.prototype.extract=function(r,e,n){return n===void 0&&(n=U),this._getGlobalPropagator().extract(r,e,n)},t.prototype.fields=function(){return this._getGlobalPropagator().fields()},t.prototype.disable=function(){_(At,s.instance())},t.prototype._getGlobalPropagator=function(){return g(At)||Te},t}()});var Nt,Rr=u(()=>{"use strict";Sr();Nt=Cr.getInstance()});var bt,Mr,wr=u(()=>{"use strict";x();mt();z();ct();E();bt="trace",Mr=function(){function t(){this._proxyTracerProvider=new D,this.wrapSpanContext=rr,this.isSpanContextValid=T,this.deleteSpan=Zt,this.getSpan=F,this.getActiveSpan=Jt,this.getSpanContext=Y,this.setSpan=w,this.setSpanContext=tr}return t.getInstance=function(){return this._instance||(this._instance=new t),this._instance},t.prototype.setGlobalTracerProvider=function(r){var e=m(bt,this._proxyTracerProvider,s.instance());return e&&this._proxyTracerProvider.setDelegate(r),e},t.prototype.getTracerProvider=function(){return g(bt)||this._proxyTracerProvider},t.prototype.getTracer=function(r,e){return this.getTracerProvider().getTracer(r,e)},t.prototype.disable=function(){_(bt,s.instance()),this._proxyTracerProvider=new D},t}()});var Tt,Dr=u(()=>{"use strict";wr();Tt=Mr.getInstance()});var Oe={};Gr(Oe,{DiagConsoleLogger:()=>zt,DiagLogLevel:()=>f,INVALID_SPANID:()=>R,INVALID_SPAN_CONTEXT:()=>k,INVALID_TRACEID:()=>M,ProxyTracer:()=>H,ProxyTracerProvider:()=>D,ROOT_CONTEXT:()=>V,SamplingDecision:()=>$,SpanKind:()=>Q,SpanStatusCode:()=>q,TraceFlags:()=>b,ValueType:()=>L,baggageEntryMetadataFromString:()=>Yt,context:()=>yt,createContextKey:()=>N,createNoopMeter:()=>Ht,createTraceState:()=>mr,default:()=>Ie,defaultTextMapGetter:()=>U,defaultTextMapSetter:()=>j,diag:()=>Z,isSpanContextValid:()=>T,isValidSpanId:()=>st,isValidTraceId:()=>ft,metrics:()=>ht,propagation:()=>Nt,trace:()=>Tt});var Ie,Pe=u(()=>{"use strict";tt();C();Wt();G();ot();$t();at();vt();mt();or();ar();ir();ut();_r();z();X();yr();Ut();Ar();Rr();Dr();Ie={context:yt,diag:Z,metrics:ht,propagation:Nt,trace:Tt}});export{f as a,Yt as b,N as c,zt as d,Ht as e,L as f,b as g,k as h,ft as i,st as j,T as k,$ as l,Q as m,q as n,yt as o,Z as p,ht as q,Nt as r,Tt as s,Oe as t,Pe as u};
3
+ //# sourceMappingURL=chunk-G6HW3DCN.js.map