UNPKG

zoomdata-client

Version:

Zoomdata Standalone Web Client (SDK)

2 lines 1.91 MB
/*! For license information please see zoomdata-client.js.LICENSE.txt */ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.ZoomdataSDK=t():e.ZoomdataSDK=t()}(this,(function(){return(()=>{var e={66419:(e,t,r)=>{e.exports=r(27698)},77766:(e,t,r)=>{e.exports=r(8065)},54804:(e,t,r)=>{e.exports=r(95247)},20116:(e,t,r)=>{e.exports=r(11955)},62462:(e,t,r)=>{e.exports=r(96064)},94473:(e,t,r)=>{e.exports=r(61577)},78580:(e,t,r)=>{e.exports=r(33778)},81643:(e,t,r)=>{e.exports=r(19373)},69301:(e,t,r)=>{e.exports=r(73819)},2991:(e,t,r)=>{e.exports=r(61798)},34307:(e,t,r)=>{e.exports=r(98447)},54903:(e,t,r)=>{e.exports=r(88906)},32366:(e,t,r)=>{e.exports=r(52527)},39291:(e,t,r)=>{e.exports=r(36857)},97093:(e,t,r)=>{e.exports=r(28427)},3649:(e,t,r)=>{e.exports=r(82073)},47302:(e,t,r)=>{e.exports=r(62856)},92762:(e,t,r)=>{e.exports=r(2348)},29828:(e,t,r)=>{e.exports=r(35178)},25843:(e,t,r)=>{e.exports=r(76361)},89400:(e,t,r)=>{e.exports=r(62908)},59340:(e,t,r)=>{e.exports=r(8933)},39392:(e,t,r)=>{e.exports=r(15868)},2084:(e,t,r)=>{e.exports=r(42119)},74225:(e,t,r)=>{e.exports=r(96719)},51942:(e,t,r)=>{e.exports=r(63383)},26295:(e,t,r)=>{e.exports=r(86209)},48604:(e,t,r)=>{e.exports=r(64477)},21611:(e,t,r)=>{e.exports=r(96507)},86902:(e,t,r)=>{e.exports=r(23059)},20455:(e,t,r)=>{e.exports=r(47795)},94198:(e,t,r)=>{e.exports=r(74888)},93476:(e,t,r)=>{e.exports=r(27460)},65420:(e,t,r)=>{e.exports=r(92547)},17388:(e,t,r)=>{e.exports=r(36181)},94435:(e,t,r)=>{e.exports=r(73926)},39969:(e,t,r)=>{e.exports=r(57641)},52424:(e,t,r)=>{e.exports=r(72010)},53592:(e,t,r)=>{e.exports=r(27385)},78363:(e,t,r)=>{e.exports=r(81522)},19996:(e,t,r)=>{e.exports=r(32209)},30699:(e,t,r)=>{e.exports=r(44442)},28834:(e,t,r)=>{e.exports=r(57152)},95683:(e,t,r)=>{e.exports=r(69447)},11006:(e,t,r)=>{e.exports=r(56769)},95238:(e,t,r)=>{e.exports=r(81493)},189:(e,t,r)=>{e.exports=r(76094)},32752:(e,t,r)=>{e.exports=r(70573)},44341:(e,t,r)=>{e.exports=r(73685)},58377:(e,t,r)=>{e.exports=r(27533)},13038:(e,t,r)=>{e.exports=r(39057)},63263:(e,t,r)=>{e.exports=r(84710)},24889:(e,t,r)=>{e.exports=r(74303)},89356:(e,t,r)=>{e.exports=r(93799)},79542:(e,t,r)=>{e.exports=r(55122)},69798:(e,t,r)=>{e.exports=r(29531)},13535:(e,t,r)=>{e.exports=r(10856)},83863:(e,t,r)=>{e.exports=r(31524)},51446:(e,t,r)=>{e.exports=r(86600)},23882:(e,t,r)=>{e.exports=r(9759)},16944:(e,t,r)=>{e.exports=r(58714)},34243:e=>{e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n},e.exports.__esModule=!0,e.exports.default=e.exports},57726:(e,t,r)=>{var n=r(78363);e.exports=function(e){if(n(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},46868:(e,t,r)=>{var n=r(78363),a=r(34243);e.exports=function(e){if(n(e))return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5824:e=>{e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},51161:(e,t,r)=>{var n=r(69798);function a(e,t,r,a,i,o,s){try{var u=e[o](s),c=u.value}catch(e){return void r(e)}u.done?t(c):n.resolve(c).then(a,i)}e.exports=function(e){return function(){var t=this,r=arguments;return new n((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,u,"next",e)}function u(e){a(o,n,i,s,u,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},26394:e=>{e.exports=function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")},e.exports.__esModule=!0,e.exports.default=e.exports},69198:(e,t,r)=>{var n=r(44341);function a(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),n(e,a.key,a)}}e.exports=function(e,t,r){return t&&a(e.prototype,t),r&&a(e,r),n(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},86418:(e,t,r)=>{var n=r(51446),a=r(19996),i=r(78363),o=r(79299);e.exports=function(e,t){var r=void 0!==n&&a(e)||e["@@iterator"];if(!r){if(i(e)||(r=o(e))||t&&e&&"number"==typeof e.length){r&&(e=r);var s=0,u=function(){};return{s:u,n:function(){return s>=e.length?{done:!0}:{done:!1,value:e[s++]}},e:function(e){throw e},f:u}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var c,l=!0,d=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return l=e.done,e},e:function(e){d=!0,c=e},f:function(){try{l||null==r.return||r.return()}finally{if(d)throw c}}}},e.exports.__esModule=!0,e.exports.default=e.exports},10098:(e,t,r)=>{var n=r(13535),a=r(66380),i=r(8647),o=r(214);e.exports=function(e){var t=i();return function(){var r,i=a(e);if(t){var s=a(this).constructor;r=n(i,arguments,s)}else r=i.apply(this,arguments);return o(this,r)}},e.exports.__esModule=!0,e.exports.default=e.exports},87672:(e,t,r)=>{var n=r(44341);e.exports=function(e,t,r){return t in e?n(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e},e.exports.__esModule=!0,e.exports.default=e.exports},31474:(e,t,r)=>{var n=r(83863),a=r(58377),i=r(16649);function o(){return"undefined"!=typeof Reflect&&n?(e.exports=o=n,e.exports.__esModule=!0,e.exports.default=e.exports):(e.exports=o=function(e,t,r){var n=i(e,t);if(n){var o=a(n,t);return o.get?o.get.call(arguments.length<3?e:r):o.value}},e.exports.__esModule=!0,e.exports.default=e.exports),o.apply(this,arguments)}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},66380:(e,t,r)=>{var n=r(79542),a=r(24889);function i(t){return e.exports=i=n?a:function(e){return e.__proto__||a(e)},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},51379:(e,t,r)=>{var n=r(189),a=r(44341),i=r(5613);e.exports=function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=n(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),a(e,"prototype",{writable:!1}),t&&i(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},60530:e=>{e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},87646:(e,t,r)=>{var n=r(23765).default,a=r(16944),i=r(44341),o=r(58377);function s(e){if("function"!=typeof a)return null;var t=new a,r=new a;return(s=function(e){return e?r:t})(e)}e.exports=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!==n(e)&&"function"!=typeof e)return{default:e};var r=s(t);if(r&&r.has(e))return r.get(e);var a={},u=i&&o;for(var c in e)if("default"!==c&&Object.prototype.hasOwnProperty.call(e,c)){var l=u?o(e,c):null;l&&(l.get||l.set)?i(a,c,l):a[c]=e[c]}return a.default=e,r&&r.set(e,a),a},e.exports.__esModule=!0,e.exports.default=e.exports},8647:(e,t,r)=>{var n=r(13535);e.exports=function(){if("undefined"==typeof Reflect||!n)return!1;if(n.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(n(Boolean,[],(function(){}))),!0}catch(e){return!1}},e.exports.__esModule=!0,e.exports.default=e.exports},85400:(e,t,r)=>{var n=r(51446),a=r(19996),i=r(53592);e.exports=function(e){if(void 0!==n&&null!=a(e)||null!=e["@@iterator"])return i(e)},e.exports.__esModule=!0,e.exports.default=e.exports},65056:(e,t,r)=>{var n=r(51446),a=r(19996);e.exports=function(e,t){var r=null==e?null:void 0!==n&&a(e)||e["@@iterator"];if(null!=r){var i,o,s=[],u=!0,c=!1;try{for(r=r.call(e);!(u=(i=r.next()).done)&&(s.push(i.value),!t||s.length!==t);u=!0);}catch(e){c=!0,o=e}finally{try{u||null==r.return||r.return()}finally{if(c)throw o}}return s}},e.exports.__esModule=!0,e.exports.default=e.exports},79736:e=>{e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},76670:e=>{e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},25326:e=>{e.exports=function(e){if(null==e)throw new TypeError("Cannot destructure undefined")},e.exports.__esModule=!0,e.exports.default=e.exports},95945:(e,t,r)=>{var n=r(89356),a=r(63263),i=r(30699),o=r(58377),s=r(28834),u=r(13038),c=r(32752),l=r(44341),d=r(87672);function f(e,t){var r=n(e);if(a){var s=a(e);t&&(s=i(s).call(s,(function(t){return o(e,t).enumerable}))),r.push.apply(r,s)}return r}e.exports=function(e){for(var t=1;t<arguments.length;t++){var r,n,a=null!=arguments[t]?arguments[t]:{};t%2?s(r=f(Object(a),!0)).call(r,(function(t){d(e,t,a[t])})):u?c(e,u(a)):s(n=f(Object(a))).call(n,(function(t){l(e,t,o(a,t))}))}return e},e.exports.__esModule=!0,e.exports.default=e.exports},80122:(e,t,r)=>{var n=r(63263),a=r(95683),i=r(44590);e.exports=function(e,t){if(null==e)return{};var r,o,s=i(e,t);if(n){var u=n(e);for(o=0;o<u.length;o++)r=u[o],a(t).call(t,r)>=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(s[r]=e[r])}return s},e.exports.__esModule=!0,e.exports.default=e.exports},44590:(e,t,r)=>{var n=r(89356),a=r(95683);e.exports=function(e,t){if(null==e)return{};var r,i,o={},s=n(e);for(i=0;i<s.length;i++)r=s[i],a(t).call(t,r)>=0||(o[r]=e[r]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},214:(e,t,r)=>{var n=r(23765).default,a=r(5824);e.exports=function(e,t){if(t&&("object"===n(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return a(e)},e.exports.__esModule=!0,e.exports.default=e.exports},5613:(e,t,r)=>{var n=r(79542);function a(t,r){return e.exports=a=n||function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,a(t,r)}e.exports=a,e.exports.__esModule=!0,e.exports.default=e.exports},18777:(e,t,r)=>{var n=r(57726),a=r(65056),i=r(79299),o=r(79736);e.exports=function(e,t){return n(e)||a(e,t)||i(e,t)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},16649:(e,t,r)=>{var n=r(66380);e.exports=function(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&null!==(e=n(e)););return e},e.exports.__esModule=!0,e.exports.default=e.exports},71064:(e,t,r)=>{var n=r(57726),a=r(85400),i=r(79299),o=r(79736);e.exports=function(e){return n(e)||a(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},59036:(e,t,r)=>{var n=r(46868),a=r(85400),i=r(79299),o=r(76670);e.exports=function(e){return n(e)||a(e)||i(e)||o()},e.exports.__esModule=!0,e.exports.default=e.exports},23765:(e,t,r)=>{var n=r(51446),a=r(23882);function i(t){return e.exports=i="function"==typeof n&&"symbol"==typeof a?function(e){return typeof e}:function(e){return e&&"function"==typeof n&&e.constructor===n&&e!==n.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,i(t)}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},79299:(e,t,r)=>{var n=r(95238),a=r(53592),i=r(34243);e.exports=function(e,t){var r;if(e){if("string"==typeof e)return i(e,t);var o=n(r=Object.prototype.toString.call(e)).call(r,8,-1);return"Object"===o&&e.constructor&&(o=e.constructor.name),"Map"===o||"Set"===o?a(e):"Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o)?i(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},7150:(e,t,r)=>{"use strict";r.d(t,{c:()=>p});var n=r(15834),a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},i=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},o=function(){function e(){}return e.prototype.active=function(){return n.I},e.prototype.with=function(e,t,r){for(var n=[],o=3;o<arguments.length;o++)n[o-3]=arguments[o];return t.call.apply(t,i([r],a(n),!1))},e.prototype.bind=function(e,t){return t},e.prototype.enable=function(){return this},e.prototype.disable=function(){return this},e}(),s=r(30658),u=r(95774),c=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},l=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},d="context",f=new o,p=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalContextManager=function(e){return(0,s.TG)(d,e,u.G.instance())},e.prototype.active=function(){return this._getContextManager().active()},e.prototype.with=function(e,t,r){for(var n,a=[],i=3;i<arguments.length;i++)a[i-3]=arguments[i];return(n=this._getContextManager()).with.apply(n,l([e,t,r],c(a),!1))},e.prototype.bind=function(e,t){return this._getContextManager().bind(e,t)},e.prototype._getContextManager=function(){return(0,s.Rd)(d)||f},e.prototype.disable=function(){this._getContextManager().disable(),(0,s.J_)(d,u.G.instance())},e}()},95774:(e,t,r)=>{"use strict";r.d(t,{G:()=>f});var n=r(30658),a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},i=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},o=function(){function e(e){this._namespace=e.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s("debug",this._namespace,e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s("error",this._namespace,e)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s("info",this._namespace,e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s("warn",this._namespace,e)},e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s("verbose",this._namespace,e)},e}();function s(e,t,r){var o=(0,n.Rd)("diag");if(o)return r.unshift(t),o[e].apply(o,i([],a(r),!1))}var u=r(16740),c=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o},l=function(e,t,r){if(r||2===arguments.length)for(var n,a=0,i=t.length;a<i;a++)!n&&a in t||(n||(n=Array.prototype.slice.call(t,0,a)),n[a]=t[a]);return e.concat(n||Array.prototype.slice.call(t))},d="diag",f=function(){function e(){function e(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var a=(0,n.Rd)("diag");if(a)return a[e].apply(a,l([],c(t),!1))}}var t=this;t.setLogger=function(e,r){var a,i,o;if(void 0===r&&(r={logLevel:u.n.INFO}),e===t){var s=new Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!==(a=s.stack)&&void 0!==a?a:s.message),!1}"number"==typeof r&&(r={logLevel:r});var c=(0,n.Rd)("diag"),l=function(e,t){function r(r,n){var a=t[r];return"function"==typeof a&&e>=n?a.bind(t):function(){}}return e<u.n.NONE?e=u.n.NONE:e>u.n.ALL&&(e=u.n.ALL),t=t||{},{error:r("error",u.n.ERROR),warn:r("warn",u.n.WARN),info:r("info",u.n.INFO),debug:r("debug",u.n.DEBUG),verbose:r("verbose",u.n.VERBOSE)}}(null!==(i=r.logLevel)&&void 0!==i?i:u.n.INFO,e);if(c&&!r.suppressOverrideMessage){var d=null!==(o=(new Error).stack)&&void 0!==o?o:"<failed to generate stacktrace>";c.warn("Current logger will be overwritten from "+d),l.warn("Current logger will overwrite one already registered from "+d)}return(0,n.TG)("diag",l,t,!0)},t.disable=function(){(0,n.J_)(d,t)},t.createComponentLogger=function(e){return new o(e)},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}()},92599:(e,t,r)=>{"use strict";r.d(t,{u:()=>c,H:()=>u});var n=r(95774),a=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},i=function(){function e(e){this._entries=e?new Map(e):new Map}return e.prototype.getEntry=function(e){var t=this._entries.get(e);if(t)return Object.assign({},t)},e.prototype.getAllEntries=function(){return Array.from(this._entries.entries()).map((function(e){var t=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o}(e,2);return[t[0],t[1]]}))},e.prototype.setEntry=function(t,r){var n=new e(this._entries);return n._entries.set(t,r),n},e.prototype.removeEntry=function(t){var r=new e(this._entries);return r._entries.delete(t),r},e.prototype.removeEntries=function(){for(var t,r,n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];var o=new e(this._entries);try{for(var s=a(n),u=s.next();!u.done;u=s.next()){var c=u.value;o._entries.delete(c)}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}return o},e.prototype.clear=function(){return new e},e}(),o=Symbol("BaggageEntryMetadata"),s=n.G.instance();function u(e){return void 0===e&&(e={}),new i(new Map(Object.entries(e)))}function c(e){return"string"!=typeof e&&(s.error("Cannot create baggage metadata from unknown type: "+typeof e),e=""),{__TYPE__:o,toString:function(){return e}}}},66339:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});var n=r(7150).c.getInstance()},15834:(e,t,r)=>{"use strict";function n(e){return Symbol.for(e)}r.d(t,{I:()=>a,Y:()=>n});var a=new function e(t){var r=this;r._currentContext=t?new Map(t):new Map,r.getValue=function(e){return r._currentContext.get(e)},r.setValue=function(t,n){var a=new e(r._currentContext);return a._currentContext.set(t,n),a},r.deleteValue=function(t){var n=new e(r._currentContext);return n._currentContext.delete(t),n}}},90928:(e,t,r)=>{"use strict";r.d(t,{K:()=>n});var n=r(95774).G.instance()},16740:(e,t,r)=>{"use strict";var n;r.d(t,{n:()=>n}),function(e){e[e.NONE=0]="NONE",e[e.ERROR=30]="ERROR",e[e.WARN=50]="WARN",e[e.INFO=60]="INFO",e[e.DEBUG=70]="DEBUG",e[e.VERBOSE=80]="VERBOSE",e[e.ALL=9999]="ALL"}(n||(n={}))},78095:(e,t,r)=>{"use strict";r.r(t),r.d(t,{DiagConsoleLogger:()=>s,DiagLogLevel:()=>u.n,INVALID_SPANID:()=>A.fQ,INVALID_SPAN_CONTEXT:()=>A.Rr,INVALID_TRACEID:()=>A.AE,ProxyTracer:()=>d.T,ProxyTracerProvider:()=>f.K,ROOT_CONTEXT:()=>i.I,SamplingDecision:()=>p.U,SpanKind:()=>_.M,SpanStatusCode:()=>m.Q,TraceFlags:()=>h.r,ValueType:()=>n,baggageEntryMetadataFromString:()=>a.u,context:()=>S.D,createContextKey:()=>i.Y,createNoopMeter:()=>c.v7,createTraceState:()=>L,default:()=>k,defaultTextMapGetter:()=>l.r,defaultTextMapSetter:()=>l.M,diag:()=>O.K,isSpanContextValid:()=>T.BM,isValidSpanId:()=>T.Lc,isValidTraceId:()=>T.jN,metrics:()=>E.q,propagation:()=>w.u,trace:()=>D.g});var n,a=r(92599),i=r(15834),o=[{n:"error",c:"error"},{n:"warn",c:"warn"},{n:"info",c:"info"},{n:"debug",c:"debug"},{n:"verbose",c:"trace"}],s=function(){function e(e){return function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];if(console){var n=console[e];if("function"!=typeof n&&(n=console.log),"function"==typeof n)return n.apply(console,t)}}}for(var t=0;t<o.length;t++)this[o[t].n]=e(o[t].c)},u=r(16740),c=r(64027);!function(e){e[e.INT=0]="INT",e[e.DOUBLE=1]="DOUBLE"}(n||(n={}));var l=r(7008),d=r(69953),f=r(5236),p=r(51227),_=r(70087),m=r(1820),h=r(99706),M="[_0-9a-z-*/]",b=new RegExp("^(?:[a-z]"+M+"{0,255}|[a-z0-9]"+M+"{0,240}@[a-z]"+M+"{0,13})$"),v=/^[ -~]{0,255}[!-~]$/,y=/,|=/,g=function(){function e(e){this._internalState=new Map,e&&this._parse(e)}return e.prototype.set=function(e,t){var r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r},e.prototype.unset=function(e){var t=this._clone();return t._internalState.delete(e),t},e.prototype.get=function(e){return this._internalState.get(e)},e.prototype.serialize=function(){var e=this;return this._keys().reduce((function(t,r){return t.push(r+"="+e.get(r)),t}),[]).join(",")},e.prototype._parse=function(e){e.length>512||(this._internalState=e.split(",").reverse().reduce((function(e,t){var r=t.trim(),n=r.indexOf("=");if(-1!==n){var a=r.slice(0,n),i=r.slice(n+1,t.length);(function(e){return b.test(e)})(a)&&function(e){return v.test(e)&&!y.test(e)}(i)&&e.set(a,i)}return e}),new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var t=new e;return t._internalState=new Map(this._internalState),t},e}();function L(e){return new g(e)}var T=r(97228),A=r(27007),S=r(66339),O=r(90928),E=r(61868),w=r(68303),D=r(52210);const k={context:S.D,diag:O.K,metrics:E.q,propagation:w.u,trace:D.g}},30658:(e,t,r)=>{"use strict";r.d(t,{Rd:()=>d,TG:()=>l,J_:()=>f});var n="object"==typeof globalThis?globalThis:global,a="1.4.0",i=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/,o=function(e){var t=new Set([e]),r=new Set,n=e.match(i);if(!n)return function(){return!1};var a=+n[1],o=+n[2],s=+n[3];if(null!=n[4])return function(t){return t===e};function u(e){return r.add(e),!1}function c(e){return t.add(e),!0}return function(e){if(t.has(e))return!0;if(r.has(e))return!1;var n=e.match(i);if(!n)return u(e);var l=+n[1],d=+n[2],f=+n[3];return null!=n[4]||a!==l?u(e):0===a?o===d&&s<=f?c(e):u(e):o<=d?c(e):u(e)}}(a),s=a.split(".")[0],u=Symbol.for("opentelemetry.js.api."+s),c=n;function l(e,t,r,n){var i;void 0===n&&(n=!1);var o=c[u]=null!==(i=c[u])&&void 0!==i?i:{version:a};if(!n&&o[e]){var s=new Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return r.error(s.stack||s.message),!1}return o.version!==a?(s=new Error("@opentelemetry/api: All API registration versions must match"),r.error(s.stack||s.message),!1):(o[e]=t,r.debug("@opentelemetry/api: Registered a global for "+e+" v"+a+"."),!0)}function d(e){var t,r,n=null===(t=c[u])||void 0===t?void 0:t.version;if(n&&o(n))return null===(r=c[u])||void 0===r?void 0:r[e]}function f(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+a+".");var r=c[u];r&&delete r[e]}},61868:(e,t,r)=>{"use strict";r.d(t,{q:()=>u});var n=r(64027),a=new(function(){function e(){}return e.prototype.getMeter=function(e,t,r){return n.dI},e}()),i=r(30658),o=r(95774),s="metrics",u=function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(e){return(0,i.TG)(s,e,o.G.instance())},e.prototype.getMeterProvider=function(){return(0,i.Rd)(s)||a},e.prototype.getMeter=function(e,t,r){return this.getMeterProvider().getMeter(e,t,r)},e.prototype.disable=function(){(0,i.J_)(s,o.G.instance())},e}().getInstance()},64027:(e,t,r)=>{"use strict";r.d(t,{dI:()=>_,v7:()=>g});var n,a=(n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),i=function(){function e(){}return e.prototype.createHistogram=function(e,t){return h},e.prototype.createCounter=function(e,t){return m},e.prototype.createUpDownCounter=function(e,t){return M},e.prototype.createObservableGauge=function(e,t){return v},e.prototype.createObservableCounter=function(e,t){return b},e.prototype.createObservableUpDownCounter=function(e,t){return y},e.prototype.addBatchObservableCallback=function(e,t){},e.prototype.removeBatchObservableCallback=function(e){},e}(),o=function(){},s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.add=function(e,t){},t}(o),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.add=function(e,t){},t}(o),c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.record=function(e,t){},t}(o),l=function(){function e(){}return e.prototype.addCallback=function(e){},e.prototype.removeCallback=function(e){},e}(),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(l),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(l),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(l),_=new i,m=new s,h=new c,M=new u,b=new d,v=new f,y=new p;function g(){return _}},68303:(e,t,r)=>{"use strict";r.d(t,{u:()=>M});var n=r(30658),a=function(){function e(){}return e.prototype.inject=function(e,t){},e.prototype.extract=function(e,t){return e},e.prototype.fields=function(){return[]},e}(),i=r(7008),o=r(7150),s=(0,r(15834).Y)("OpenTelemetry Baggage Key");function u(e){return e.getValue(s)||void 0}function c(){return u(o.c.getInstance().active())}function l(e,t){return e.setValue(s,t)}function d(e){return e.deleteValue(s)}var f=r(92599),p=r(95774),_="propagation",m=new a,h=function(){function e(){this.createBaggage=f.H,this.getBaggage=u,this.getActiveBaggage=c,this.setBaggage=l,this.deleteBaggage=d}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalPropagator=function(e){return(0,n.TG)(_,e,p.G.instance())},e.prototype.inject=function(e,t,r){return void 0===r&&(r=i.M),this._getGlobalPropagator().inject(e,t,r)},e.prototype.extract=function(e,t,r){return void 0===r&&(r=i.r),this._getGlobalPropagator().extract(e,t,r)},e.prototype.fields=function(){return this._getGlobalPropagator().fields()},e.prototype.disable=function(){(0,n.J_)(_,p.G.instance())},e.prototype._getGlobalPropagator=function(){return(0,n.Rd)(_)||m},e}(),M=h.getInstance()},7008:(e,t,r)=>{"use strict";r.d(t,{M:()=>a,r:()=>n});var n={get:function(e,t){if(null!=e)return e[t]},keys:function(e){return null==e?[]:Object.keys(e)}},a={set:function(e,t,r){null!=e&&(e[t]=r)}}},52210:(e,t,r)=>{"use strict";r.d(t,{g:()=>c});var n=r(30658),a=r(5236),i=r(97228),o=r(73557),s=r(95774),u="trace",c=function(){function e(){this._proxyTracerProvider=new a.K,this.wrapSpanContext=i.kw,this.isSpanContextValid=i.BM,this.deleteSpan=o.TW,this.getSpan=o.Br,this.getActiveSpan=o.HN,this.getSpanContext=o.A3,this.setSpan=o.WZ,this.setSpanContext=o.G3}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalTracerProvider=function(e){var t=(0,n.TG)(u,this._proxyTracerProvider,s.G.instance());return t&&this._proxyTracerProvider.setDelegate(e),t},e.prototype.getTracerProvider=function(){return(0,n.Rd)(u)||this._proxyTracerProvider},e.prototype.getTracer=function(e,t){return this.getTracerProvider().getTracer(e,t)},e.prototype.disable=function(){(0,n.J_)(u,s.G.instance()),this._proxyTracerProvider=new a.K},e}().getInstance()},97817:(e,t,r)=>{"use strict";r.d(t,{s:()=>a});var n=r(27007),a=function(){function e(e){void 0===e&&(e=n.Rr),this._spanContext=e}return e.prototype.spanContext=function(){return this._spanContext},e.prototype.setAttribute=function(e,t){return this},e.prototype.setAttributes=function(e){return this},e.prototype.addEvent=function(e,t){return this},e.prototype.setStatus=function(e){return this},e.prototype.updateName=function(e){return this},e.prototype.end=function(e){},e.prototype.isRecording=function(){return!1},e.prototype.recordException=function(e,t){},e}()},39127:(e,t,r)=>{"use strict";r.d(t,{E:()=>u});var n=r(7150),a=r(73557),i=r(97817),o=r(97228),s=n.c.getInstance(),u=function(){function e(){}return e.prototype.startSpan=function(e,t,r){if(void 0===r&&(r=s.active()),Boolean(null==t?void 0:t.root))return new i.s;var n,u=r&&(0,a.A3)(r);return"object"==typeof(n=u)&&"string"==typeof n.spanId&&"string"==typeof n.traceId&&"number"==typeof n.traceFlags&&(0,o.BM)(u)?new i.s(u):new i.s},e.prototype.startActiveSpan=function(e,t,r,n){var i,o,u;if(!(arguments.length<2)){2===arguments.length?u=t:3===arguments.length?(i=t,u=r):(i=t,o=r,u=n);var c=null!=o?o:s.active(),l=this.startSpan(e,i,c),d=(0,a.WZ)(c,l);return s.with(d,u,void 0,l)}},e}()},69953:(e,t,r)=>{"use strict";r.d(t,{T:()=>a});var n=new(r(39127).E),a=function(){function e(e,t,r,n){this._provider=e,this.name=t,this.version=r,this.options=n}return e.prototype.startSpan=function(e,t,r){return this._getTracer().startSpan(e,t,r)},e.prototype.startActiveSpan=function(e,t,r,n){var a=this._getTracer();return Reflect.apply(a.startActiveSpan,a,arguments)},e.prototype._getTracer=function(){if(this._delegate)return this._delegate;var e=this._provider.getDelegateTracer(this.name,this.version,this.options);return e?(this._delegate=e,this._delegate):n},e}()},5236:(e,t,r)=>{"use strict";r.d(t,{K:()=>o});var n=r(69953),a=r(39127),i=new(function(){function e(){}return e.prototype.getTracer=function(e,t,r){return new a.E},e}()),o=function(){function e(){}return e.prototype.getTracer=function(e,t,r){var a;return null!==(a=this.getDelegateTracer(e,t,r))&&void 0!==a?a:new n.T(this,e,t,r)},e.prototype.getDelegate=function(){var e;return null!==(e=this._delegate)&&void 0!==e?e:i},e.prototype.setDelegate=function(e){this._delegate=e},e.prototype.getDelegateTracer=function(e,t,r){var n;return null===(n=this._delegate)||void 0===n?void 0:n.getTracer(e,t,r)},e}()},51227:(e,t,r)=>{"use strict";var n;r.d(t,{U:()=>n}),function(e){e[e.NOT_RECORD=0]="NOT_RECORD",e[e.RECORD=1]="RECORD",e[e.RECORD_AND_SAMPLED=2]="RECORD_AND_SAMPLED"}(n||(n={}))},73557:(e,t,r)=>{"use strict";r.d(t,{A3:()=>f,Br:()=>s,G3:()=>d,HN:()=>u,TW:()=>l,WZ:()=>c});var n=r(15834),a=r(97817),i=r(7150),o=(0,n.Y)("OpenTelemetry Context Key SPAN");function s(e){return e.getValue(o)||void 0}function u(){return s(i.c.getInstance().active())}function c(e,t){return e.setValue(o,t)}function l(e){return e.deleteValue(o)}function d(e,t){return c(e,new a.s(t))}function f(e){var t;return null===(t=s(e))||void 0===t?void 0:t.spanContext()}},27007:(e,t,r)=>{"use strict";r.d(t,{AE:()=>i,Rr:()=>o,fQ:()=>a});var n=r(99706),a="0000000000000000",i="00000000000000000000000000000000",o={traceId:i,spanId:a,traceFlags:n.r.NONE}},70087:(e,t,r)=>{"use strict";var n;r.d(t,{M:()=>n}),function(e){e[e.INTERNAL=0]="INTERNAL",e[e.SERVER=1]="SERVER",e[e.CLIENT=2]="CLIENT",e[e.PRODUCER=3]="PRODUCER",e[e.CONSUMER=4]="CONSUMER"}(n||(n={}))},97228:(e,t,r)=>{"use strict";r.d(t,{BM:()=>c,Lc:()=>u,jN:()=>s,kw:()=>l});var n=r(27007),a=r(97817),i=/^([0-9a-f]{32})$/i,o=/^[0-9a-f]{16}$/i;function s(e){return i.test(e)&&e!==n.AE}function u(e){return o.test(e)&&e!==n.fQ}function c(e){return s(e.traceId)&&u(e.spanId)}function l(e){return new a.s(e)}},1820:(e,t,r)=>{"use strict";var n;r.d(t,{Q:()=>n}),function(e){e[e.UNSET=0]="UNSET",e[e.OK=1]="OK",e[e.ERROR=2]="ERROR"}(n||(n={}))},99706:(e,t,r)=>{"use strict";var n;r.d(t,{r:()=>n}),function(e){e[e.NONE=0]="NONE",e[e.SAMPLED=1]="SAMPLED"}(n||(n={}))},63420:(e,t,r)=>{"use strict";var n;r.d(t,{I:()=>n}),function(e){e[e.SUCCESS=0]="SUCCESS",e[e.FAILED=1]="FAILED"}(n||(n={}))},3250:(e,t,r)=>{"use strict";r.d(t,{Cx:()=>s,H3:()=>c,Vo:()=>n,WM:()=>o,bO:()=>a,bU:()=>i,ef:()=>u});var n="=",a=";",i=",",o="baggage",s=180,u=4096,c=8192},60315:(e,t,r)=>{"use strict";r.r(t),r.d(t,{getKeyPairs:()=>s,parseKeyPairsIntoRecord:()=>c,parsePairKeyValue:()=>u,serializeKeyPairs:()=>o});var n=r(92599),a=r(3250),i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o};function o(e){return e.reduce((function(e,t){var r=""+e+(""!==e?a.bU:"")+t;return r.length>a.H3?e:r}),"")}function s(e){return e.getAllEntries().map((function(e){var t=i(e,2),r=t[0],n=t[1],o=encodeURIComponent(r)+"="+encodeURIComponent(n.value);return void 0!==n.metadata&&(o+=a.bO+n.metadata.toString()),o}))}function u(e){var t=e.split(a.bO);if(!(t.length<=0)){var r=t.shift();if(r){var i=r.split(a.Vo);if(2===i.length){var o,s=decodeURIComponent(i[0].trim()),u=decodeURIComponent(i[1].trim());return t.length>0&&(o=(0,n.u)(t.join(a.bO))),{key:s,value:u,metadata:o}}}}}function c(e){return"string"!=typeof e||0===e.length?{}:e.split(a.bU).map((function(e){return u(e)})).filter((function(e){return void 0!==e&&e.value.length>0})).reduce((function(e,t){return e[t.key]=t.value,e}),{})}},97664:(e,t,r)=>{"use strict";r.d(t,{Dt:()=>h,J3:()=>d,Jt:()=>c,KO:()=>_,PW:()=>p,U:()=>u,Us:()=>f,X_:()=>M,aE:()=>l,i5:()=>s,ji:()=>m,vF:()=>b});var n=r(57228),a=9,i=Math.pow(10,6),o=Math.pow(10,a);function s(e){var t=e/1e3;return[Math.trunc(t),Math.round(e%1e3*i)]}function u(){var e=n.t.timeOrigin;if("number"!=typeof e){var t=n.t;e=t.timing&&t.timing.fetchStart}return e}function c(e){return b(s(u()),s("number"==typeof e?e:n.t.now()))}function l(e){if(h(e))return e;if("number"==typeof e)return e<u()?c(e):s(e);if(e instanceof Date)return s(e.getTime());throw TypeError("Invalid input type")}function d(e,t){var r=t[0]-e[0],n=t[1]-e[1];return n<0&&(r-=1,n+=o),[r,n]}function f(e){var t=a,r=""+"0".repeat(t)+e[1]+"Z",n=r.substr(r.length-t-1);return new Date(1e3*e[0]).toISOString().replace("000Z",n)}function p(e){return e[0]*o+e[1]}function _(e){return Math.round(1e3*e[0]+e[1]/1e6)}function m(e){return Math.round(1e6*e[0]+e[1]/1e3)}function h(e){return Array.isArray(e)&&2===e.length&&"number"==typeof e[0]&&"number"==typeof e[1]}function M(e){return h(e)||"number"==typeof e||e instanceof Date}function b(e,t){var r=[e[0]+t[0],e[1]+t[1]];return r[1]>=o&&(r[1]-=o,r[0]+=1),r}},94795:(e,t,r)=>{"use strict";r.r(t),r.d(t,{AlwaysOffSampler:()=>ae,AlwaysOnSampler:()=>ie,AnchoredClock:()=>f,BindOnceFuture:()=>ze.q,CompositePropagator:()=>x,DEFAULT_ATTRIBUTE_COUNT_LIMIT:()=>ue.qG,DEFAULT_ATTRIBUTE_VALUE_LENGTH_LIMIT:()=>ue.KR,DEFAULT_ENVIRONMENT:()=>ue.J9,ExportResultCode:()=>S.I,ParentBasedSampler:()=>oe,RPCType:()=>$,RandomIdGenerator:()=>k,SDK_INFO:()=>z.m,TRACE_PARENT_HEADER:()=>U,TRACE_STATE_HEADER:()=>X,TraceIdRatioBasedSampler:()=>se,TraceState:()=>B,TracesSamplerValues:()=>De.J,VERSION:()=>O.q,W3CBaggagePropagator:()=>d,W3CTraceContextPropagator:()=>J,_globalThis:()=>w,addHrTimes:()=>A.vF,baggageUtils:()=>l,deleteRPCMetadata:()=>Q,getEnv:()=>E.d,getEnvWithoutDefaults:()=>ue.vU,getRPCMetadata:()=>ee,getTimeOrigin:()=>A.U,globalErrorHandler:()=>T,hexToBase64:()=>D.W,hrTime:()=>A.Jt,hrTimeDuration:()=>A.J3,hrTimeToMicroseconds:()=>A.ji,hrTimeToMilliseconds:()=>A.KO,hrTimeToNanoseconds:()=>A.PW,hrTimeToTimeStamp:()=>A.Us,internal:()=>xe,isAttributeKey:()=>M,isAttributeValue:()=>b,isTimeInput:()=>A.X_,isTimeInputHrTime:()=>A.Dt,isTracingSuppressed:()=>u,isUrlIgnored:()=>Ne,isWrapped:()=>Pe,loggingErrorHandler:()=>y,merge:()=>ge,millisToHrTime:()=>A.i5,otperformance:()=>P.t,parseEnvironment:()=>ue.Ds,parseTraceParent:()=>V,sanitizeAttributes:()=>h,setGlobalErrorHandler:()=>L,setRPCMetadata:()=>Z,suppressTracing:()=>o,timeInputToHrTime:()=>A.aE,unrefTimer:()=>R,unsuppressTracing:()=>s,urlMatches:()=>Ye});var n=r(68303),a=r(15834),i=(0,a.Y)("OpenTelemetry SDK Context Key SUPPRESS_TRACING");function o(e){return e.setValue(i,!0)}function s(e){return e.deleteValue(i)}function u(e){return!0===e.getValue(i)}var c=r(3250),l=r(60315),d=function(){function e(){}return e.prototype.inject=function(e,t,r){var a=n.u.getBaggage(e);if(a&&!u(e)){var i=(0,l.getKeyPairs)(a).filter((function(e){return e.length<=c.ef})).slice(0,c.Cx),o=(0,l.serializeKeyPairs)(i);o.length>0&&r.set(t,c.WM,o)}},e.prototype.extract=function(e,t,r){var a=r.get(t,c.WM),i=Array.isArray(a)?a.join(c.bU):a;if(!i)return e;var o={};return 0===i.length?e:(i.split(c.bU).forEach((function(e){var t=(0,l.parsePairKeyValue)(e);if(t){var r={value:t.value};t.metadata&&(r.metadata=t.metadata),o[t.key]=r}})),0===Object.entries(o).length?e:n.u.setBaggage(e,n.u.createBaggage(o)))},e.prototype.fields=function(){return[c.WM]},e}(),f=function(){function e(e,t){this._monotonicClock=t,this._epochMillis=e.now(),this._performanceMillis=t.now()}return e.prototype.now=function(){var e=this._monotonicClock.now()-this._performanceMillis;return this._epochMillis+e},e}(),p=r(90928),_=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},m=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(a)throw a.error}}return o};function h(e){var t,r,n={};if("object"!=typeof e||null==e)return n;try{for(var a=_(Object.entries(e)),i=a.next();!i.done;i=a.next()){var o=m(i.value,2),s=o[0],u=o[1];M(s)?b(u)?Array.isArray(u)?n[s]=u.slice():n[s]=u:p.K.warn("Invalid attribute value set for key: "+s):p.K.warn("Invalid attribute key: "+s)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return n}function M(e){return"string"==typeof e&&e.length>0}function b(e){return null==e||(Array.isArray(e)?function(e){var t,r,n;try{for(var a=_(e),i=a.next();!i.done;i=a.next()){var o=i.value;if(null!=o){if(!n){if(v(o)){n=typeof o;continue}return!1}if(typeof o!==n)return!1}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(r=a.return)&&r.call(a)}finally{if(t)throw t.error}}return!0}(e):v(e))}function v(e){switch(typeof e){case"number":case"boolean":case"string":return!0}return!1}function y(){return function(e){p.K.error(function(e){return"string"==typeof e?e:JSON.stringify(function(e){for(var t={},r=e;null!==r;)Object.getOwnPropertyNames(r).forEach((function(e){if(!t[e]){var n=r[e];n&&(t[e]=String(n))}})),r=Object.getPrototypeOf(r);return t}(e))}(e))}}var g=y();function L(e){g=e}function T(e){try{g(e)}catch(e){}}var A=r(97664),S=r(63420),O=r(18923),E=r(54241),w="object"==typeof globalThis?globalThis:global,D=r(53826),k=function(){this.generateTraceId=N(16),this.generateSpanId=N(8)},Y=Buffer.allocUnsafe(16);function N(e){return function(){for(var t=0;t<e/4;t++)Y.writeUInt32BE(Math.random()*Math.pow(2,32)>>>0,4*t);for(t=0;t<e&&!(Y[t]>0);t++)t===e-1&&(Y[e-1]=1);return Y.toString("hex",0,e)}}var P=r(57228),z=r(44252);function R(e){e.unref()}var x=function(){function e(e){var t;void 0===e&&(e={}),this._propagators=null!==(t=e.propagators)&&void 0!==t?t:[],this._fields=Array.from(new Set(this._propagators.map((function(e){return"function"==typeof e.fields?e.fields():[]})).reduce((function(e,t){return e.concat(t)}),[])))}return e.prototype.inject=function(e,t,r){var n,a;try{for(var i=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}(this._propagators),o=i.next();!o.done;o=i.next()){var s=o.value;try{s.inject(e,t,r)}catch(e){p.K.warn("Failed to inject with "+s.constructor.name+". Err: "+e.message)}}}catch(e){n={error:e}}finally{try{o&&!o.done&&(a=i.return)&&a.call(i)}finally{if(n)throw n.error}}},e.prototype.extract=function(e,t,r){return this._propagators.reduce((function(e,n){try{return n.extract(e,t,r)}catch(e){p.K.warn("Failed to inject with "+n.constructor.name+". Err: "+e.message)}return e}),e)},e.prototype.fields=function(){return this._fields.slice()},e}(),I=r(52210),C=r(97228),j=r(99706),W="[_0-9a-z-*/]",H=new RegExp("^(?:[a-z]"+W+"{0,255}|[a-z0-9]"+W+"{0,240}@[a-z]"+W+"{0,13})$"),q=/^[ -~]{0,255}[!-~]$/,F=/,|=/,B=function(){function e(e){this._internalState=new Map,e&&this._parse(e)}return e.prototype.set=function(e,t){var r=this._clone();return r._internalState.has(e)&&r._internalState.delete(e),r._internalState.set(e,t),r},e.prototype.unset=function(e){var t=this._clone();return t._internalState.delete(e),t},e.prototype.get=function(e){return this._internalState.get(e)},e.prototype.serialize=function(){var e=this;return this._keys().reduce((function(t,r){return t.push(r+"="+e.get(r)),t}),[]).join(",")},e.prototype._parse=function(e){e.length>512||(this._internalState=e.split(",").reverse().reduce((function(e,t){var r=t.trim(),n=r.indexOf("=");if(-1!==n){var a=r.slice(0,n),i=r.slice(n+1,t.length);(function(e){return H.test(e)})(a)&&function(e){return q.test(e)&&!F.test(e)}(i)&&e.set(a,i)}return e}),new Map),this._internalState.size>32&&(this._internalState=new Map(Array.from(this._internalState.entries()).reverse().slice(0,32))))},e.prototype._keys=function(){return Array.from(this._internalState.keys()).reverse()},e.prototype._clone=function(){var t=new e;return t._internalState=new Map(this._internalState),t},e}(),U="traceparent",X="tracestate",G=new RegExp("^\\s?((?!ff)[\\da-f]{2})-((?![0]{32})[\\da-f]{32})-((?![0]{16})[\\da-f]{16})-([\\da-f]{2})(-.*)?\\s?$");function V(e){var t=G.exec(e);return t?"00"===t[1]&&t[5]?null:{traceId:t[2],spanId:t[3],traceFlags:parseInt(t[4],16)}:null}var $,J=function(){function e(){}return e.prototype.inject=function(e,t,r){var n=I.g.getSpanContext(e);if(n&&!u(e)&&(0,C.BM)(n)){var a="00-"+n.traceId+"-"+n.spanId+"-0"+Number(n.traceFlags||j.r.NONE).toString(16);r.set(t,U,a),n.traceState&&r.set(t,X,n.traceState.serialize())}},e.prototype.extract=function(e,t,r){var n=r.get(t,U);if(!n)return e;var a=Array.isArray(n)?n[0]:n;if("string"!=typeof a)return e;var i=V(a);if(!i)return e;i.isRemote=!0;var o=r.get(t,X);if(o){var s=Array.isArray(o)?o.join(","):o;i.traceState=new B("string"==typeof s?s:void 0)}return I.g.setSpanContext(e,i)},e.prototype.fields=function(){return[U,X]},e}(),K=(0,a.Y)("OpenTelemetry SDK Context Key RPC_METADATA");function Z(e,t){return e.setValue(K,t)}function Q(e){return e.deleteValue(K)}function ee(e){return e.getValue(K)}!function(e){e.HTTP="http"}($||($={}));var te,re,ne=r(51227),ae=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:ne.U.NOT_RECORD}},e.prototype.toString=function(){return"AlwaysOffSampler"},e}(),ie=function(){function e(){}return e.prototype.shouldSample=function(){return{decision:ne.U.RECORD_AND_SAMPLED}},e.prototype.toString=function(){return"AlwaysOnSampler"},e}(),oe=function(){function e(e){var t,r,n,a;this._root=e.root,this._root||(T(new Error("ParentBasedSampler must have a root sampler configured")),this._root=new ie),this._remoteParentSampled=null!==(t=e.remoteParentSampled)&&void 0!==t?t:new ie,this._remoteParentNotSampled=null!==(r=e.remoteParentNotSampled)&&void 0!==r?r:new ae,this._localParentSampled=null!==(n=e.localParentSampled)&&void 0!==n?n:new ie,this._localParentNotSampled=null!==(a=e.localParentNotSampled)&&void 0!==a?a:new ae}return e.prototype.shouldSample=function(e,t,r,n,a,i){var o=I.g.getSpanContext(e);return o&&(0,C.BM)(o)?o.isRemote?o.traceFlags&j.r.SAMPLED?this._remoteParentSampled.shouldSample(e,t,r,n,a,i):this._remoteParentNotSampled.shouldSample(e,t,r,n,a,i):o.traceFlags&j.r.SAMPLED?this._localParentSampled.shouldSample(e,t,r,n,a,i):this._localParentNotSampled.shouldSample(e,t,r,n,a,i):this._root.shouldSample(e,t,r,n,a,i)},e.prototype.toString=function(){return"ParentBased{root="+this._root.toString()+", remoteParentSampled="+this._remoteParentSampled.toString()+", remoteParentNotSampled="+this._remoteParentNotSampled.toString()+", localParentSampled="+this._localParentSampled.toString()+", localParentNotSampled="+this._localParentNotSampled.toString()+"}"},e}(),se=function(){function e(e){void 0===e&&(e=0),this._ratio=e,this._ratio=this._normalize(e),this._upperBound=Math.floor(4294967295*this._ratio)}return e.prototype.shouldSample=function(e,t){return{decision:(0,C.jN)(t)&&this._accumulate(t)<this._upperBound?ne.U.RECORD_AND_SAMPLED:ne.U.NOT_RECORD}},e.prototype.toString=function(){return"TraceIdRatioBased{"+this._ratio+"}"},e.prototype._normalize=function(e){return"number"!=typeof e||isNaN(e)?0:e>=1?1:e<=0?0:e},e.prototype._accumulate=function(e){for(var t=0,r=0;r<e.length/8;r++){var n=8*r;t=(t^parseInt(e.slice(n,n+8),16))>>>0}return t},e}(),ue=r(70450),ce="[object Object]",le="[object Null]",de="[object Undefined]",fe=Function.prototype.toString,pe=fe.call(Object),_e=(te=Object.getPrototypeOf,re=Object,function(e){return te(re(e))}),me=Object.prototype,he=me.hasOwnProperty,Me=Symbol?Symbol.toStringTag:void 0,be=me.toString;function ve(e){if(!function(e){return null!=e&&"object"==typeof e}(e)||function(e){return null==e?void 0===e?de:le:Me&&Me in Object(e)?function(e){var t=he.call(e,Me),r=e[Me],n=!1;try{e[Me]=void 0,n=!0}catch(e){}var a=be.call(e);return n&&(t?e[Me]=r:delete e[Me]),a}(e):function(e){return be.call(e)}(e)}(e)!==ce)return!1;var t=_e(e);if(null===t)return!0;var r=he.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&fe.call(r)===pe}var ye=20;function ge(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var r=e.shift(),n=new WeakMap;e.length>0;)r=Te(r,e.shift(),0,n);return r}function Le(e){return Se(e)?e.slice():e}function Te(e,t,r,n){var a;if(void 0===r&&(r=0),!(r>ye)){if(r++,we(e)||we(t)||Oe(t))a=Le(t);else if(Se(e)){if(a=e.slice(),Se(t))for(var i=0,o=t.length;i<o;i++)a.push(Le(t[i]));else if(Ee(t))for(i=0,o=(s=Object.keys(t)).length;i<o;i++)a[u=s[i]]=Le(t[u])}else if(Ee(e))if(Ee(t)){if(!function(e,t){return!(!ve(e)||!ve(t))}(e,t))return t;var s;for(a=Object.assign({},e),i=0,o=(s=Object.keys(t)).length;i<o;i++){var u,c=t[u=s[i]];if(we(c))void 0===c?delete a[u]:a[u]=c;else{var l=a[u],d=c;if(Ae(e,u,n)||Ae(t,u,n))delete a[u];else{if(Ee(l)&&Ee(d)){var f=n.get(l)||[],p=n.get(d)||[];f.push({obj:e,key:u}),p.push({obj:t,key:u}),n.set(l,f),n.set(d,p)}a[u]=Te(a[u],c,r,n)}}}}else a=t;return a}}function Ae(e,t,r){for(var n=r.get(e[t])||[],a=0,i=n.length;a<i;a++){var o=n[a];if(o.key===t&&o.obj===e)return!0}return!1}function Se(e){return Array.isArray(e)}function Oe(e){return"function"==typeof e}function Ee(e){return!we(e)&&!Se(e)&&!Oe(e)&&"object"==typeof e}function we(e){return"string"==typeof e||"number"==typeof e||"boolean"==typeof e||void 0===e||e instanceof Date||e instanceof RegExp||null===e}var De=r(97734),ke=function(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")};function Ye(e,t){return"string"==typeof t?e===t:!!e.match(t)}function Ne(e,t){var r,n;if(!t)return!1;try{for(var a=ke(t),i=a.next();!i.done;i=a.next())if(Ye(e,i.value))return!0}catch(e){r={error:e}}finally{try{i&&!i.done&&(n=a.return)&&n.call(a)}finally{if(r)throw r.error}}return!1}function Pe(e){return"function"==typeof e&&"function"==typeof e.__original&&"function"==typeof e.__unwrap&&!0===e.__wrapped}var ze=r(71399),Re=r(66339),xe={_export:function(e,t){return new Promise((function(r){Re.D.with(o(Re.D.active()),(function(){e.export(t,(function(e){r(e)}))}))}))}}},54241:(e,t,r)=>{"use strict";r.d(t,{d:()=>o});var n=r(22037),a=r(70450),i=r(34155);function o(){var e=(0,a.Ds)(i.env);return Object.assign({HOSTNAME:n.hostname()},a.J9,e)}},53826:(e,t,r)=>{"use strict";function n(e){return e>=48&&e<=57?e-48:e>=97&&e<=102?e-87:e-55}r.d(t,{W:()=>o});var a=Buffer.alloc(8),i=Buffer.alloc(16);function o(e){var t;t=16===e.length?a:32===e.length?i:Buffer.alloc(e.length/2);for(var r=0,o=0;o<e.length;o+=2){var s=n(e.charCodeAt(o)),u=n(e.charCodeAt(o+1));t.writeUInt8(s<<4|u,r++)}return t.toString("base64")}},57228:(e,t,r)=>{"use strict";r.d(t,{t:()=>n});var n=r(4074).performance},44252:(e,t,r)=>{"use strict";r.d(t,{m:()=>i});var n,a=r(18923),i=((n={})["telemetry.sdk.name"]="opentelemetry",n["process.runtime.name"]="node",n["telemetry.sdk.language"]="nodejs",n["telemetry.sdk.version"]=a.q,n)},71399:(e,t,r)=>{"use strict";r.d(t,{q:()=>o});var n=function(){function e(){var e=this;this._promise=new Promise((function(t,r){e._resolve=t,e._reject=r}))}return Object.defineProperty(e.prototype,"promise",{get:function(){return this._promise},enumerable:!1,configurable:!0}),e.prototype.resolve=function(e){this._resolve(e)},e.prototype.reject=function(e){this._reject(e)},e}(),a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,a,i=r.call(e),o=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)o.push(n.value)}catch(e){a={error:e}