Socket
Socket
Sign inDemoInstall

num-record-packer-client

Package Overview
Dependencies
16
Maintainers
2
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.0.9 to 1.0.10

2

dist/bundle.js

@@ -1,1 +0,1 @@

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.NumRecordPackerClient=t():e.NumRecordPackerClient=t()}(self,(function(){return(()=>{var e={669:(e,t,r)=>{e.exports=r(609)},448:(e,t,r)=>{"use strict";var n=r(867),o=r(26),i=r(372),s=r(327),a=r(97),u=r(109),c=r(985),l=r(61);e.exports=function(e){return new Promise((function(t,r){var f=e.data,p=e.headers,h=e.responseType;n.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(y+":"+v)}var m=a(e.baseURL,e.url);function g(){if(d){var n="getAllResponseHeaders"in d?u(d.getAllResponseHeaders()):null,i={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:e,request:d};o(t,r,i),d=null}}if(d.open(e.method.toUpperCase(),s(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,"onloadend"in d?d.onloadend=g:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(g)},d.onabort=function(){d&&(r(l("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var b=(e.withCredentials||c(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}"setRequestHeader"in d&&n.forEach(p,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),h&&"json"!==h&&(d.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),r(e),d=null)})),f||(f=null),d.send(f)}))}},609:(e,t,r)=>{"use strict";var n=r(867),o=r(849),i=r(321),s=r(185);function a(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var u=a(r(655));u.Axios=i,u.create=function(e){return a(s(u.defaults,e))},u.Cancel=r(263),u.CancelToken=r(972),u.isCancel=r(502),u.all=function(e){return Promise.all(e)},u.spread=r(713),u.isAxiosError=r(268),e.exports=u,e.exports.default=u},263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},972:(e,t,r)=>{"use strict";var n=r(263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(867),o=r(327),i=r(782),s=r(572),a=r(185),u=r(875),c=u.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var l=[s,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;r.length;){var p=r.shift(),h=r.shift();try{f=p(f)}catch(e){h(e);break}}try{o=s(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,n){return this.request(a(n||{},{method:e,url:t,data:r}))}})),e.exports=l},782:(e,t,r)=>{"use strict";var n=r(867);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},97:(e,t,r)=>{"use strict";var n=r(793),o=r(303);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},61:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},572:(e,t,r)=>{"use strict";var n=r(867),o=r(527),i=r(502),s=r(655);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},185:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function u(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function c(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=u(void 0,e[o])):r[o]=u(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(r[e]=u(void 0,t[e]))})),n.forEach(i,c),n.forEach(s,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=u(void 0,e[o])):r[o]=u(void 0,t[o])})),n.forEach(a,(function(n){n in t?r[n]=u(e[n],t[n]):n in e&&(r[n]=u(void 0,e[n]))}));var l=o.concat(i).concat(s).concat(a),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,c),r}},26:(e,t,r)=>{"use strict";var n=r(61);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},527:(e,t,r)=>{"use strict";var n=r(867),o=r(655);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},655:(e,t,r)=>{"use strict";var n=r(867),o=r(16),i=r(481),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(448)),u),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},327:(e,t,r)=>{"use strict";var n=r(867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))})))})),i=s.join("&")}if(i){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},985:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},109:(e,t,r)=>{"use strict";var n=r(867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,s={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},875:(e,t,r)=>{"use strict";var n=r(696),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={},s=n.version.split(".");function a(e,t){for(var r=t?t.split("."):s,n=e.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]<n[o])return!1}return!1}o.transitional=function(e,t,r){var o=t&&a(t);function s(e,t){return"[Axios v"+n.version+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(s(n," has been removed in "+t));return o&&!i[n]&&(i[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={isOlderVersion:a,assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],s=t[i];if(s){var a=e[i],u=void 0===a||s(a,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},867:(e,t,r)=>{"use strict";var n=r(849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isPlainObject:u,isUndefined:s,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return a(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):i(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)l(arguments[n],r);return t},extend:function(e,t,r){return l(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},696:e=>{"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},65:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.Options=t.Level=void 0;var o,i=n(r(501));!function(e){e[e.silent=0]="silent",e[e.trace=10]="trace",e[e.debug=20]="debug",e[e.info=30]="info",e[e.warn=40]="warn",e[e.error=50]="error",e[e.fatal=60]="fatal"}(o=t.Level||(t.Level={}));var s=function(e,t){this.consoleOnly=e,this.level=t};t.Options=s;var a=(0,i.default)(),u=function(){function e(e){this.options=e}return e.prototype.setConsoleOnly=function(e){this.options.consoleOnly=e},e.prototype.silent=function(e){},e.prototype.trace=function(e){this.options.level<=o.trace&&(this.options.consoleOnly?console.log(e):a.trace(e))},e.prototype.debug=function(e){this.options.level<=o.debug&&(this.options.consoleOnly?console.log(e):a.debug(e))},e.prototype.info=function(e){this.options.level<=o.info&&(this.options.consoleOnly?console.info(e):a.info(e))},e.prototype.warn=function(e){this.options.level<=o.warn&&(this.options.consoleOnly?console.warn(e):a.warn(e))},e.prototype.error=function(e){this.options.level<=o.error&&(this.options.consoleOnly?console.error(e):a.error(e))},e.prototype.fatal=function(e){this.options.level<=o.fatal&&(this.options.consoleOnly?console.error(e):a.fatal(e))},e.prototype.always=function(e){console.log(e)},e.prototype.setLevel=function(e){switch(this.options.level=e,e){case o.silent:a.level="silent";break;case o.trace:a.level="trace";break;case o.debug:a.level="debug";break;case o.info:a.level="info";break;case o.warn:a.level="warn";break;case o.error:a.level="error";break;case o.fatal:a.level="fatal";break;default:a.level="info"}},e}();t.logger=new u(new s(!1,o.info))},571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Level=t.log=void 0;var n=r(65);Object.defineProperty(t,"log",{enumerable:!0,get:function(){return n.logger}}),Object.defineProperty(t,"Level",{enumerable:!0,get:function(){return n.Level}})},540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNumRecordPacker=void 0;var n=r(844),o=r(432),i=r(511);t.createNumRecordPacker=function(){return new s};var s=function(){function e(){}return e.prototype.pack=function(e,t){var r=a(t),o=new i.SimpleBottomUpRecursiveStrategy(r).pack("",e),s=n.mapper.convert({},e,t),u=n.mapper.convert({},e,t);return JSON.stringify(u)===JSON.stringify(s)?(console.log("Converted: "+JSON.stringify(e)),console.log("to : "+JSON.stringify(o)),o):(console.warn("Failed to reduce the size of: "+JSON.stringify(e)),e)},e}(),a=function(e){var t=new Array;return Object.keys(e).forEach((function(r){var n=new o.TransformationInstruction(r,e[r]);t.push(n),u(n,t)})),t},u=function(e,t){e.additionalKeys.size>0&&e.additionalKeys.forEach((function(e){t.push(e),u(e,t)}))}},432:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransformationInstruction=void 0;var r=["rewriteValue","assignKeys","rewriteKey","replacePair","arrayItems"],n=function(){function e(t,n){var o=this;this.key=t,this.rewriteValue=!!n.hasOwnProperty("rewriteValue"),this.replacePair=!!n.hasOwnProperty("replacePair"),this.assignKeys=n.assignKeys?n.assignKeys:null,this.resultValue=n.rewriteValue?n.rewriteValue:n.replacePair,this.rewriteKey=n.rewriteKey?n.rewriteKey:null,this.arrayItemsName=n.arrayItems?n.arrayItems:null,this.additionalKeys=new Map,Object.keys(n).filter((function(e){return!r.includes(e)})).forEach((function(t){o.additionalKeys.set(t,new e(t,n[t]))}))}return e.prototype.assessMatch=function(e){return e===this.key?1:0},e}();t.TransformationInstruction=n},511:function(e,t,r){"use strict";var n,o=this&&this.__extends||(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])})(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)});Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleBottomUpRecursiveStrategy=void 0;var i=r(949),s=r(427),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.packObject=function(e,t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=s.smallest(t[n],this.pack(n,t[n])));var o=u(e,this.instructions);return o?s.smallest(r,o.pack(r)):r},t.prototype.packString=function(e,t){var r=u(e,this.instructions);return r?s.smallest(t,r.pack(t)):t},t}(function(){function e(e){this.instructions=e}return e.prototype.pack=function(e,t){return t&&"object"==typeof t?Array.isArray(t)?this.packArray(e,t):this.packObject(e,t):t&&"string"==typeof t?this.packString(e,t):t},e.prototype.packArray=function(e,t){var r=this;return t.map((function(t){return t&&"object"==typeof t?Array.isArray(t)?r.packArray(e,t):r.packObject(e,t):t&&"string"==typeof t?r.packString(e,t):t}))},e.prototype.packObject=function(e,t){return t},e.prototype.packString=function(e,t){return t},e}());t.SimpleBottomUpRecursiveStrategy=a;var u=function(e,t){var r,n=-1;return t.forEach((function(t){var o=t.assessMatch(e);o>n&&(r=new i.AssignKeysTactic(t),n=o)})),r}},949:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssignKeysTactic=void 0;var r=/^%.+$/,n=function(){function e(e){this.instruction=e}return e.prototype.pack=function(e){var t,r=this;if(this.isObjectResultWithAssign(e)){for(var n=this.mapKeys(),o=[],i=0,s=this.instruction.assignKeys;i<s.length;i++){var a=s[i],u=n.get(a);if(u){var c=e[u]?e[u]:e[a];c?o.push(c):o.push(null)}else this.instruction.assignKeys.includes(a)&&o.push(e[a])}for(;o.length>0&&null===o[o.length-1];)o.pop();return 0===o.length?e:1===o.length?o[0]:o}if(e&&"object"==typeof e&&!Array.isArray(e)){var l=Object.keys(e);if(l.every((function(e){var t;return null===(t=r.instruction.assignKeys)||void 0===t?void 0:t.includes(e)}))&&(null===(t=this.instruction.assignKeys)||void 0===t?void 0:t.every((function(e){return l.includes(e)})))){var f=[];for(var a in e)e.hasOwnProperty(a)&&f.push(e[a]);return 1===f.length?f[0]:f}}return e},e.prototype.mapKeys=function(){var e,t=new Map;for(var n in this.instruction.resultValue)if(this.instruction.resultValue.hasOwnProperty(n)){var o=this.instruction.resultValue[n];if("string"==typeof o&&o&&r.test(o)){var i=o.substr(1);(null===(e=this.instruction.assignKeys)||void 0===e?void 0:e.includes(i))&&t.set(i,n)}}return t},e.prototype.isObjectResultWithAssign=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"object"==typeof this.instruction.resultValue&&!Array.isArray(this.instruction.resultValue)&&null!==this.instruction.assignKeys&&null!==this.instruction.resultValue},e.prototype.rate=function(e){return this.instruction.assessMatch(e)},e}();t.AssignKeysTactic=n},427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modlLen=t.ParentType=t.smallest=void 0,t.smallest=function(e,n){return t.modlLen(r.TOP,n)<t.modlLen(r.TOP,e)?n:e};var r,n=/^[+-]?[0-9]*.?[0-9]+(?:[Ee][+-]?[0-9]+)?$/;!function(e){e[e.TOP=0]="TOP",e[e.OBJECT=1]="OBJECT",e[e.ARRAY=2]="ARRAY"}(r=t.ParentType||(t.ParentType={})),t.modlLen=function(e,o){var i=0;if(o)if(Array.isArray(o))o.forEach((function(e){return i+=t.modlLen(r.ARRAY,e)})),i+=o.length-1;else if("object"==typeof o){var s=Object.keys(o);switch(s.forEach((function(e){o.hasOwnProperty(e)&&(i+=e.length,i+=t.modlLen(r.OBJECT,o[e]))})),e){case r.TOP:s.length>1?i+=s.length-1:0===s.length?i+=2:i+=s.length-1;break;case r.ARRAY:s.length>1?(i+=2,i+=s.length-1):0===s.length?i+=2:i+=s.length-1;break;case r.OBJECT:s.length>1?(i+=2,i+=s.length-1):0===s.length?i+=2:(i+=s.length-1,i+=1)}}else"string"==typeof o?(i+=o.length,n.test(o)&&(i+=2),e!==r.TOP&&(i+=1)):(i+=JSON.stringify(o).length,e!==r.TOP&&(i+=1));else null===o?i+=4:void 0===o&&(i+=9),e!==r.TOP&&(i+=1);return i}},352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObjectUnpacker=void 0;var n=r(368);t.createObjectUnpacker=function(e){switch(e){case"0.0.18":case"0.0.19":case"0.0.20":case"0.0.21":default:return new n.ObjectUnpacker001}}},368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnpacker001=void 0;var n=r(188),o=r(616),i=r(152),s=r(571),a=function(){function e(){}return e.prototype.convert=function(e,t,r){try{var o=p(r),a=i.transform(t,i.prefixReferences),d=new Map;i.indexObject(u,c,l,n.INDEX_NAMESPACE,d,a["?"]),i.indexObject(u,c,l,n.COMPACT_NAMESPACE,d,a),i.indexObject(u,c,l,n.SUBS_NAMESPACE,d,e);var y=h(a,o,d);return delete y["?"],f.resolve(d,y)}catch(e){return s.log.error(e.message),{error:e.message}}},e}();t.ObjectUnpacker001=a;var u="%",c="%",l=!0,f=n.createReferencesResolver(),p=function(e){var t=new Map;return Object.keys(e).forEach((function(r){t.set(r,new o.TransformationInstruction(r,e[r]))})),t},h=function(e,t,r){if(null===e)return null;if(Array.isArray(e))return e.map((function(e){return h(e,t,r)}));if("object"==typeof e){var n={};return Object.keys(e).forEach((function(o){var s=t.get(o);if(s&&s.additionalKeys&&s.additionalKeys.has(o)&&(s=s.additionalKeys.get(o)),s){if(s.isRemovePair())return;var a="object"!=typeof e[o]&&s.assignKeys?[e[o]]:e[o],f=d(a,s,t,r);"string"==typeof f&&f.includes("%self")&&(f=x(a,f));var p=s.transformKey(o);if(s.replacePair)k(f)&&P(f,n);else if(s.rewriteValue)if(s.resultValue)if("object"==typeof s.resultValue)n[p]=d(a,s,t,r);else if("string"==typeof s.resultValue&&s.resultValue.startsWith("%")){var y=new Map;r.forEach((function(e,t){return y.set(t,e)})),i.indexObject(u,c,l,"",y,a),n[p]=d(a,s,t,y)}else n[p]=f;else n[p]=null;else n[p]=f}else r.has(o)?n[o]=r.get(o):n[o]=h(e[o],t,r)})),n}return e},d=function(e,t,r,n){if(null===e)return e;var o=k(e)?S(e,t,n):e,s=Array.isArray(o)&&t.assignKeys?v(t.assignKeys,o):new Map,a=new Map;if(n.forEach((function(e,t){return a.set(t,e)})),i.indexObject(u,c,l,"",a,y(s)),t.isArrayMapping()){if(Array.isArray(o)){var f=t.arrayItemsName,p=f?m(f,o):o;return t.assignKeys?v(t.assignKeys,p):h(p,r,a)}throw new Error('"arrayItems" can only be applied to arrays.')}if(!t.resultValue)return s.size>0?h(y(s),r,a):h(o,r,a);switch(typeof t.resultValue){case"object":return Array.isArray(t.resultValue)?b(t,r,a):g(t,o,r,a,s);case"string":return"%self"===t.resultValue?h(o,r,a):t.resultValue.match("^%[a-zA-Z]+(.[a-zA-Z]+)*$")?a.get(t.resultValue):h(t.resultValue,r,a);default:return t.resultValue}},y=function(e){var t={};return e.forEach((function(e,r){return t[r]=e})),t},v=function(e,t){var r=new Map;return Array.isArray(t)?e.forEach((function(e,n){n<t.length?r.set(e,t[n]):r.set(e,null)})):"object"==typeof t?e.forEach((function(e){r.set(e,t[e])})):e.forEach((function(e,n){0===n?r.set(e,t):r.set(e,null)})),r},m=function(e,t){return t.map((function(t){var r={};return r[e]=t,r}))},g=function(e,t,r,n,o){var s={},a=e.resultValue?e.resultValue:t;return Object.keys(a).forEach((function(e){var p=h(a[e],r,n);if("string"==typeof p){var y=p;if(w(t,y))"object"==typeof(v=t[y.substr(1)])?j(v,r,y)?s[e]=d(v,r.get(y.substr(1)),r,n):s[e]=h(v,r,n):s[e]=v;else if(O(y,o)){var v;(v=o.get(y.substr(1)))&&"object"==typeof v?j(v,r,y)?s[e]=d(v,r.get(y.substr(1)),r,n):s[e]=h(v,r,n):s[e]=v}else if(E(y)){var m=new Map;n.forEach((function(e,t){return m.set(t,e)})),i.indexObject(u,c,l,"",m,t),s[e]=f.resolve(m,p)}else y.includes("%self")?s[e]=x(t,y):n.has(y)?s[e]=n.get(y):s[e]=null}else A(p)?s[e]=f.resolve(n,p):s[e]=p})),s},b=function(e,t,r){return e.resultValue&&Array.isArray(e.resultValue)?e.resultValue.map((function(n){return d(n,e,t,r)})).filter((function(e){return null!==e})):[]},w=function(e,t){return"object"==typeof e&&"%"===t.charAt(0)&&e.hasOwnProperty(t.substr(1))},O=function(e,t){return"%"===e.charAt(0)&&t.has(e.substr(1))},j=function(e,t,r){return Array.isArray(e)&&t.has(r.substr(1))},E=function(e){return e.startsWith("%/")||!e.startsWith("%")&&!e.includes("%self")},A=function(e){return null!==e&&"object"==typeof e},x=function(e,t){var r=new Map;return r.set("%self",e),r.set("%self%",e),f.resolve(r,t)},k=function(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e},P=function(e,t){Object.keys(e).forEach((function(r){t[r]=e[r]}))},S=function(e,t,r){var n=e,o={};for(var i in n)if(t.additionalKeys.has(i)){var s=t.additionalKeys.get(i);o[s.transformKey(i)]=h(n[i],s.additionalKeys,r)}else o[i]=n[i];return o}},188:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FIND_REFS=t.SUBS_NAMESPACE=t.COMPACT_NAMESPACE=t.INDEX_NAMESPACE=t.createReferencesResolver=void 0,t.createReferencesResolver=function(){return new r},t.INDEX_NAMESPACE="/index",t.COMPACT_NAMESPACE="/compact",t.SUBS_NAMESPACE="/subs",t.FIND_REFS=new RegExp(/%?%[\w-./@]+%?/gm);var r=function(){function e(){}return e.prototype.resolve=function(e,t){if(null==t)throw new Error("Cannot dereference an undefined dataObject.");if("string"==typeof t)return i(e,t);var r=Array.isArray(t["?"])?t["?"]:[t["?"]];return r&&r.forEach((function(t,r){e.set("%"+r,t),e.set("%"+r+"%",t)})),Array.isArray(t)?n("",e,t):o("",e,t)},e}(),n=function(e,t,r){var s=[];return r.forEach((function(r,a){var u=e+"."+a;Array.isArray(r)?s.push(n(u,t,r)):"object"==typeof r?s.push(o(u,t,r)):"string"==typeof r?s.push(i(t,r)):s.push(r)})),s},o=function(e,t,r){if(null===r)return null;var s={};return Object.keys(r).forEach((function(a){var u=r[a];if(null!==u){var c=e+"."+a;Array.isArray(u)?s[a]=n(c,t,u):s[a]="object"==typeof u?o(c,t,u):"string"==typeof u?i(t,u):u}else s[a]=null})),s},i=function(e,r){for(var n=r,o=[],i=t.FIND_REFS.exec(n);null!==i;){var a=i[0];o.push(a),i=t.FIND_REFS.exec(n)}return o.forEach((function(t){if(!t.startsWith("%%")){var r=e.get(t);if(null!=r&&"string"==typeof n)if(n===t)n="string"==typeof r?s(r):r;else if("object"==typeof r){var o=s(t);console.error(o+" refers to an object or array and cannot be embedded in a string"),n=n.replace(t,""+o)}else n=n.replace(t,""+r);else n=n===t?null:n.replace(t,"")}})),"string"==typeof n?n.replace("%%","%"):n},s=function(e){return e.replace("/index.","").replace("/subs.","")}},616:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransformationInstruction=void 0;var r=["rewriteValue","assignKeys","rewriteKey","replacePair","arrayItems"],n=function(){function e(t,n){var o=this;this.key=t,this.rewriteValue=!!n.hasOwnProperty("rewriteValue"),this.replacePair=!!n.hasOwnProperty("replacePair"),this.assignKeys=n.assignKeys?n.assignKeys:null,this.resultValue=n.rewriteValue?n.rewriteValue:n.replacePair,this.rewriteKey=n.rewriteKey?n.rewriteKey:null,this.arrayItemsName=n.arrayItems?n.arrayItems:null,this.additionalKeys=new Map,"object"!=typeof n||Array.isArray(n)||Object.keys(n).filter((function(e){return!r.includes(e)})).forEach((function(t){o.additionalKeys.set(t,new e(t,n[t]))}))}return e.prototype.transformKey=function(e){return this.rewriteKey?this.rewriteKey:e},e.prototype.shouldRewriteValue=function(){return this.rewriteValue},e.prototype.isArrayMapping=function(){return null!==this.arrayItemsName},e.prototype.isRemovePair=function(){return!this.replacePair&&!this.rewriteValue&&null===this.arrayItemsName&&null===this.assignKeys&&null===this.rewriteKey&&void 0===this.resultValue&&0===this.additionalKeys.size},e}();t.TransformationInstruction=n},152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=t.prefixReferences=t.transform=t.indexObject=void 0;var n=r(188);t.indexObject=function(e,r,n,o,i,s){s&&Object.entries(s).forEach((function(s){var a=o.length>0?o+"."+s[0]:""+s[0];n&&i.set(e+a,s[1]),i.set(e+a+r,s[1]),"object"==typeof s[1]&&t.indexObject(e,r,n,a,i,s[1])}))},t.transform=function(e,r){if(!e)return r(e);if(Array.isArray(e)){var n=[];return e.forEach((function(e){"object"==typeof e?n.push(t.transform(e,r)):n.push(r(e))})),r(n)}if("object"==typeof e){var o={};return Object.entries(e).forEach((function(e){"object"==typeof e[1]?o[e[0]]=t.transform(e[1],r):o[e[0]]=r(e[1])})),r(o)}return r(e)},t.prefixReferences=function(e){return"string"!=typeof e?e:e.replace(n.FIND_REFS,(function(e){if(e.startsWith("%%"))return e;var t=e.charCodeAt(1);return t>47&&t<58?"%"+n.INDEX_NAMESPACE+"."+e.substr(1):"%"+n.SUBS_NAMESPACE+"."+e.substr(1)}))},t.identity=function(e){return e}},844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapper=void 0;var n=r(352);t.mapper=n.createObjectUnpacker()},501:(e,t,r)=>{"use strict";const n=r(346);e.exports=s;const o=function(){function e(e){return void 0!==e&&e}try{return"undefined"!=typeof globalThis||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}().console||{},i={mapHttpRequest:d,mapHttpResponse:d,wrapRequestSerializer:y,wrapResponseSerializer:y,wrapErrorSerializer:y,req:d,res:d,err:function(e){const t={type:e.constructor.name,msg:e.message,stack:e.stack};for(const r in e)void 0===t[r]&&(t[r]=e[r]);return t}};function s(e){(e=e||{}).browser=e.browser||{};const t=e.browser.transmit;if(t&&"function"!=typeof t.send)throw Error("pino: transmit option must have a send function");const r=e.browser.write||o;e.browser.write&&(e.browser.asObject=!0);const n=e.serializers||{},i=function(e,t){return Array.isArray(e)?e.filter((function(e){return"!stdSerializers.err"!==e})):!0===e&&Object.keys(t)}(e.browser.serialize,n);let u=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(u=!1),"function"==typeof r&&(r.error=r.fatal=r.warn=r.info=r.debug=r.trace=r),!1===e.enabled&&(e.level="silent");const f=e.level||"info",d=Object.create(r);d.log||(d.log=v),Object.defineProperty(d,"levelVal",{get:function(){return"silent"===this.level?1/0:this.levels.values[this.level]}}),Object.defineProperty(d,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,a(y,d,"error","log"),a(y,d,"fatal","error"),a(y,d,"warn","error"),a(y,d,"info","log"),a(y,d,"debug","log"),a(y,d,"trace","log")}});const y={transmit:t,serialize:i,asObject:e.browser.asObject,levels:["error","fatal","warn","info","debug","trace"],timestamp:h(e)};return d.levels=s.levels,d.level=f,d.setMaxListeners=d.getMaxListeners=d.emit=d.addListener=d.on=d.prependListener=d.once=d.prependOnceListener=d.removeListener=d.removeAllListeners=d.listeners=d.listenerCount=d.eventNames=d.write=d.flush=v,d.serializers=n,d._serialize=i,d._stdErrSerialize=u,d.child=function(r,o){if(!r)throw new Error("missing bindings for child Pino");o=o||{},i&&r.serializers&&(o.serializers=r.serializers);const s=o.serializers;if(i&&s){var a=Object.assign({},n,s),u=!0===e.browser.serialize?Object.keys(a):i;delete r.serializers,c([r],u,a,this._stdErrSerialize)}function f(e){this._childLevel=1+(0|e._childLevel),this.error=l(e,r,"error"),this.fatal=l(e,r,"fatal"),this.warn=l(e,r,"warn"),this.info=l(e,r,"info"),this.debug=l(e,r,"debug"),this.trace=l(e,r,"trace"),a&&(this.serializers=a,this._serialize=u),t&&(this._logEvent=p([].concat(e._logEvent.bindings,r)))}return f.prototype=this,new f(this)},t&&(d._logEvent=p()),d}function a(e,t,r,n){const i=Object.getPrototypeOf(t);t[r]=t.levelVal>t.levels.values[r]?v:i[r]?i[r]:o[r]||o[n]||v,function(e,t,r){var n;(e.transmit||t[r]!==v)&&(t[r]=(n=t[r],function(){const i=e.timestamp(),a=new Array(arguments.length),l=Object.getPrototypeOf&&Object.getPrototypeOf(this)===o?o:this;for(var p=0;p<a.length;p++)a[p]=arguments[p];if(e.serialize&&!e.asObject&&c(a,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?n.call(l,u(this,r,a,i)):n.apply(l,a),e.transmit){const n=e.transmit.level||t.level,o=s.levels.values[n],u=s.levels.values[r];if(u<o)return;f(this,{ts:i,methodLevel:r,methodValue:u,transmitLevel:n,transmitValue:s.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},a)}}))}(e,t,r)}function u(e,t,r,o){e._serialize&&c(r,e._serialize,e.serializers,e._stdErrSerialize);const i=r.slice();let a=i[0];const u={};o&&(u.time=o),u.level=s.levels.values[t];let l=1+(0|e._childLevel);if(l<1&&(l=1),null!==a&&"object"==typeof a){for(;l--&&"object"==typeof i[0];)Object.assign(u,i.shift());a=i.length?n(i.shift(),i):void 0}else"string"==typeof a&&(a=n(i.shift(),i));return void 0!==a&&(u.msg=a),u}function c(e,t,r,n){for(const o in e)if(n&&e[o]instanceof Error)e[o]=s.stdSerializers.err(e[o]);else if("object"==typeof e[o]&&!Array.isArray(e[o]))for(const n in e[o])t&&t.indexOf(n)>-1&&n in r&&(e[o][n]=r[n](e[o][n]))}function l(e,t,r){return function(){const n=new Array(1+arguments.length);n[0]=t;for(var o=1;o<n.length;o++)n[o]=arguments[o-1];return e[r].apply(this,n)}}function f(e,t,r){const n=t.send,o=t.ts,i=t.methodLevel,s=t.methodValue,a=t.val,u=e._logEvent.bindings;c(r,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=r.filter((function(e){return-1===u.indexOf(e)})),e._logEvent.level.label=i,e._logEvent.level.value=s,n(i,e._logEvent,a),e._logEvent=p(u)}function p(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function h(e){return"function"==typeof e.timestamp?e.timestamp:!1===e.timestamp?m:g}function d(){return{}}function y(e){return e}function v(){}function m(){return!1}function g(){return Date.now()}s.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},s.stdSerializers=i,s.stdTimeFunctions=Object.assign({},{nullTime:m,epochTime:g,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}})},346:e=>{"use strict";function t(e){try{return JSON.stringify(e)}catch(e){return'"[Circular]"'}}e.exports=function(e,r,n){var o=n&&n.stringify||t;if("object"==typeof e&&null!==e){var i=r.length+1;if(1===i)return e;var s=new Array(i);s[0]=o(e);for(var a=1;a<i;a++)s[a]=o(r[a]);return s.join(" ")}if("string"!=typeof e)return e;var u=r.length;if(0===u)return e;for(var c="",l=0,f=-1,p=e&&e.length||0,h=0;h<p;){if(37===e.charCodeAt(h)&&h+1<p){switch(f=f>-1?f:0,e.charCodeAt(h+1)){case 100:case 102:if(l>=u)break;if(null==r[l])break;f<h&&(c+=e.slice(f,h)),c+=Number(r[l]),f=h+2,h++;break;case 105:if(l>=u)break;if(null==r[l])break;f<h&&(c+=e.slice(f,h)),c+=Math.floor(Number(r[l])),f=h+2,h++;break;case 79:case 111:case 106:if(l>=u)break;if(void 0===r[l])break;f<h&&(c+=e.slice(f,h));var d=typeof r[l];if("string"===d){c+="'"+r[l]+"'",f=h+2,h++;break}if("function"===d){c+=r[l].name||"<anonymous>",f=h+2,h++;break}c+=o(r[l]),f=h+2,h++;break;case 115:if(l>=u)break;f<h&&(c+=e.slice(f,h)),c+=String(r[l]),f=h+2,h++;break;case 37:f<h&&(c+=e.slice(f,h)),c+="%",f=h+2,h++,l--}++l}++h}return-1===f?e:(f<p&&(c+=e.slice(f)),c)}},192:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createNumRecordPackerClient=void 0;var s=i(r(669)),a=r(540),u=r(813);t.createNumRecordPackerClient=function(){return new d};var c=a.createNumRecordPacker(),l="https://modules.numprotocol.com",f="transformation-file",p=new u.LruCache,h=new u.LruCache,d=function(){function e(){}return e.prototype.pack=function(e,t){return n(this,void 0,void 0,(function(){var r,n;return o(this,(function(o){switch(o.label){case 0:return r=e["@v"]?parseInt(e["@v"],10):1,[4,y(t,r)];case 1:return null===(n=o.sent())?(console.warn("There is no transformation object for module "+t),[2,e]):[2,c.pack(e,n)]}}))}))},e}(),y=function(e,t){return n(void 0,void 0,void 0,(function(){var r,i,s,a;return o(this,(function(u){return null!==(r=p.get(e+"."+t))?[2,r]:(i=l+"/"+e+"/transformation/map.json",(s=h.get(i))||(s=m(i))&&h.put(i,s),s&&(a=s.then((function(r){return n(void 0,void 0,void 0,(function(){var n;return o(this,(function(o){return r&&(n=v(r,e,t))?[2,m(n)]:[2,null]}))}))})))?(p.put(e+"."+t,a),[2,a]):(console.error("No transformation object map at "+i),[2,null]))}))}))},v=function(e,t,r){var n=e["compact-v"+r];if(n)for(var o in n)if(o.startsWith("expanded")){var i=n[o];if(i&&i[f])return l+"/"+t+"/transformation/"+i[f]}return null},m=function(e){return n(void 0,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),e?(console.warn("LOADING FROM "+e),[4,s.default.get(e)]):[3,2];case 1:return[2,r.sent().data];case 2:return[3,4];case 3:return(t=r.sent())instanceof Error&&console.error("Cannot load resource from "+e+" - "+t.message),[3,4];case 4:return[2,null]}}))}))}},813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LruCache=void 0;var r=function(){function e(){this.values=new Map,this.maxEntries=20}return e.prototype.get=function(e){if(this.values.has(e)){var t=this.values.get(e);return this.values.delete(e),this.values.set(e,t),t}return null},e.prototype.put=function(e,t){if(this.values.size>=this.maxEntries){var r=this.values.keys().next().value;this.values.delete(r)}this.values.set(e,t)},e}();t.LruCache=r}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}var n={};return(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.mapper=void 0;var t=r(192);e.mapper=t.createNumRecordPackerClient()})(),n})()}));
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.NumRecordPackerClient=t():e.NumRecordPackerClient=t()}(self,(function(){return(()=>{var e={669:(e,t,r)=>{e.exports=r(609)},448:(e,t,r)=>{"use strict";var n=r(867),o=r(26),i=r(372),s=r(327),a=r(97),u=r(109),c=r(985),l=r(61);e.exports=function(e){return new Promise((function(t,r){var f=e.data,p=e.headers,h=e.responseType;n.isFormData(f)&&delete p["Content-Type"];var d=new XMLHttpRequest;if(e.auth){var y=e.auth.username||"",v=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";p.Authorization="Basic "+btoa(y+":"+v)}var m=a(e.baseURL,e.url);function g(){if(d){var n="getAllResponseHeaders"in d?u(d.getAllResponseHeaders()):null,i={data:h&&"text"!==h&&"json"!==h?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:n,config:e,request:d};o(t,r,i),d=null}}if(d.open(e.method.toUpperCase(),s(m,e.params,e.paramsSerializer),!0),d.timeout=e.timeout,"onloadend"in d?d.onloadend=g:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(g)},d.onabort=function(){d&&(r(l("Request aborted",e,"ECONNABORTED",d)),d=null)},d.onerror=function(){r(l("Network Error",e,null,d)),d=null},d.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,e.transitional&&e.transitional.clarifyTimeoutError?"ETIMEDOUT":"ECONNABORTED",d)),d=null},n.isStandardBrowserEnv()){var b=(e.withCredentials||c(m))&&e.xsrfCookieName?i.read(e.xsrfCookieName):void 0;b&&(p[e.xsrfHeaderName]=b)}"setRequestHeader"in d&&n.forEach(p,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete p[t]:d.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(d.withCredentials=!!e.withCredentials),h&&"json"!==h&&(d.responseType=e.responseType),"function"==typeof e.onDownloadProgress&&d.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&d.upload&&d.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){d&&(d.abort(),r(e),d=null)})),f||(f=null),d.send(f)}))}},609:(e,t,r)=>{"use strict";var n=r(867),o=r(849),i=r(321),s=r(185);function a(e){var t=new i(e),r=o(i.prototype.request,t);return n.extend(r,i.prototype,t),n.extend(r,t),r}var u=a(r(655));u.Axios=i,u.create=function(e){return a(s(u.defaults,e))},u.Cancel=r(263),u.CancelToken=r(972),u.isCancel=r(502),u.all=function(e){return Promise.all(e)},u.spread=r(713),u.isAxiosError=r(268),e.exports=u,e.exports.default=u},263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},972:(e,t,r)=>{"use strict";var n=r(263);function o(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}o.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},o.source=function(){var e;return{token:new o((function(t){e=t})),cancel:e}},e.exports=o},502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(867),o=r(327),i=r(782),s=r(572),a=r(185),u=r(875),c=u.validators;function l(e){this.defaults=e,this.interceptors={request:new i,response:new i}}l.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=e.transitional;void 0!==t&&u.assertOptions(t,{silentJSONParsing:c.transitional(c.boolean,"1.0.0"),forcedJSONParsing:c.transitional(c.boolean,"1.0.0"),clarifyTimeoutError:c.transitional(c.boolean,"1.0.0")},!1);var r=[],n=!0;this.interceptors.request.forEach((function(t){"function"==typeof t.runWhen&&!1===t.runWhen(e)||(n=n&&t.synchronous,r.unshift(t.fulfilled,t.rejected))}));var o,i=[];if(this.interceptors.response.forEach((function(e){i.push(e.fulfilled,e.rejected)})),!n){var l=[s,void 0];for(Array.prototype.unshift.apply(l,r),l=l.concat(i),o=Promise.resolve(e);l.length;)o=o.then(l.shift(),l.shift());return o}for(var f=e;r.length;){var p=r.shift(),h=r.shift();try{f=p(f)}catch(e){h(e);break}}try{o=s(f)}catch(e){return Promise.reject(e)}for(;i.length;)o=o.then(i.shift(),i.shift());return o},l.prototype.getUri=function(e){return e=a(this.defaults,e),o(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){l.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t,data:(r||{}).data}))}})),n.forEach(["post","put","patch"],(function(e){l.prototype[e]=function(t,r,n){return this.request(a(n||{},{method:e,url:t,data:r}))}})),e.exports=l},782:(e,t,r)=>{"use strict";var n=r(867);function o(){this.handlers=[]}o.prototype.use=function(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1},o.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},o.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=o},97:(e,t,r)=>{"use strict";var n=r(793),o=r(303);e.exports=function(e,t){return e&&!n(t)?o(e,t):t}},61:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,o,i){var s=new Error(e);return n(s,t,r,o,i)}},572:(e,t,r)=>{"use strict";var n=r(867),o=r(527),i=r(502),s=r(655);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=o.call(e,e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=o.call(e,t.data,t.headers,e.transformResponse),t}),(function(t){return i(t)||(a(e),t&&t.response&&(t.response.data=o.call(e,t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,o){return e.config=t,r&&(e.code=r),e.request=n,e.response=o,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},185:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){t=t||{};var r={},o=["url","method","data"],i=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function u(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function c(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=u(void 0,e[o])):r[o]=u(e[o],t[o])}n.forEach(o,(function(e){n.isUndefined(t[e])||(r[e]=u(void 0,t[e]))})),n.forEach(i,c),n.forEach(s,(function(o){n.isUndefined(t[o])?n.isUndefined(e[o])||(r[o]=u(void 0,e[o])):r[o]=u(void 0,t[o])})),n.forEach(a,(function(n){n in t?r[n]=u(e[n],t[n]):n in e&&(r[n]=u(void 0,e[n]))}));var l=o.concat(i).concat(s).concat(a),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,c),r}},26:(e,t,r)=>{"use strict";var n=r(61);e.exports=function(e,t,r){var o=r.config.validateStatus;r.status&&o&&!o(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},527:(e,t,r)=>{"use strict";var n=r(867),o=r(655);e.exports=function(e,t,r){var i=this||o;return n.forEach(r,(function(r){e=r.call(i,e,t)})),e}},655:(e,t,r)=>{"use strict";var n=r(867),o=r(16),i=r(481),s={"Content-Type":"application/x-www-form-urlencoded"};function a(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var u,c={transitional:{silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(u=r(448)),u),transformRequest:[function(e,t){return o(t,"Accept"),o(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(a(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)||t&&"application/json"===t["Content-Type"]?(a(t,"application/json"),function(e,t,r){if(n.isString(e))try{return(0,JSON.parse)(e),n.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){var t=this.transitional,r=t&&t.silentJSONParsing,o=t&&t.forcedJSONParsing,s=!r&&"json"===this.responseType;if(s||o&&n.isString(e)&&e.length)try{return JSON.parse(e)}catch(e){if(s){if("SyntaxError"===e.name)throw i(e,this,"E_JSON_PARSE");throw e}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(s)})),e.exports=c},849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},327:(e,t,r)=>{"use strict";var n=r(867);function o(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var i;if(r)i=r(t);else if(n.isURLSearchParams(t))i=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(o(t)+"="+o(e))})))})),i=s.join("&")}if(i){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}},303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},372:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,o,i,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(o)&&a.push("path="+o),n.isString(i)&&a.push("domain="+i),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},268:e=>{"use strict";e.exports=function(e){return"object"==typeof e&&!0===e.isAxiosError}},985:(e,t,r)=>{"use strict";var n=r(867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function o(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=o(window.location.href),function(t){var r=n.isString(t)?o(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},16:(e,t,r)=>{"use strict";var n=r(867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},109:(e,t,r)=>{"use strict";var n=r(867),o=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,i,s={};return e?(n.forEach(e.split("\n"),(function(e){if(i=e.indexOf(":"),t=n.trim(e.substr(0,i)).toLowerCase(),r=n.trim(e.substr(i+1)),t){if(s[t]&&o.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},875:(e,t,r)=>{"use strict";var n=r(696),o={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){o[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var i={},s=n.version.split(".");function a(e,t){for(var r=t?t.split("."):s,n=e.split("."),o=0;o<3;o++){if(r[o]>n[o])return!0;if(r[o]<n[o])return!1}return!1}o.transitional=function(e,t,r){var o=t&&a(t);function s(e,t){return"[Axios v"+n.version+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,a){if(!1===e)throw new Error(s(n," has been removed in "+t));return o&&!i[n]&&(i[n]=!0,console.warn(s(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,a)}},e.exports={isOlderVersion:a,assertOptions:function(e,t,r){if("object"!=typeof e)throw new TypeError("options must be an object");for(var n=Object.keys(e),o=n.length;o-- >0;){var i=n[o],s=t[i];if(s){var a=e[i],u=void 0===a||s(a,i,e);if(!0!==u)throw new TypeError("option "+i+" must be "+u)}else if(!0!==r)throw Error("Unknown option "+i)}},validators:o}},867:(e,t,r)=>{"use strict";var n=r(849),o=Object.prototype.toString;function i(e){return"[object Array]"===o.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==o.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===o.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),i(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.call(null,e[o],o,e)}e.exports={isArray:i,isArrayBuffer:function(e){return"[object ArrayBuffer]"===o.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isPlainObject:u,isUndefined:s,isDate:function(e){return"[object Date]"===o.call(e)},isFile:function(e){return"[object File]"===o.call(e)},isBlob:function(e){return"[object Blob]"===o.call(e)},isFunction:c,isStream:function(e){return a(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):i(r)?t[n]=r.slice():t[n]=r}for(var n=0,o=arguments.length;n<o;n++)l(arguments[n],r);return t},extend:function(e,t,r){return l(t,(function(t,o){e[o]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},696:e=>{"use strict";e.exports=JSON.parse('{"name":"axios","version":"0.21.4","description":"Promise based HTTP client for the browser and node.js","main":"index.js","scripts":{"test":"grunt test","start":"node ./sandbox/server.js","build":"NODE_ENV=production grunt build","preversion":"npm test","version":"npm run build && grunt version && git add -A dist && git add CHANGELOG.md bower.json package.json","postversion":"git push && git push --tags","examples":"node ./examples/server.js","coveralls":"cat coverage/lcov.info | ./node_modules/coveralls/bin/coveralls.js","fix":"eslint --fix lib/**/*.js"},"repository":{"type":"git","url":"https://github.com/axios/axios.git"},"keywords":["xhr","http","ajax","promise","node"],"author":"Matt Zabriskie","license":"MIT","bugs":{"url":"https://github.com/axios/axios/issues"},"homepage":"https://axios-http.com","devDependencies":{"coveralls":"^3.0.0","es6-promise":"^4.2.4","grunt":"^1.3.0","grunt-banner":"^0.6.0","grunt-cli":"^1.2.0","grunt-contrib-clean":"^1.1.0","grunt-contrib-watch":"^1.0.0","grunt-eslint":"^23.0.0","grunt-karma":"^4.0.0","grunt-mocha-test":"^0.13.3","grunt-ts":"^6.0.0-beta.19","grunt-webpack":"^4.0.2","istanbul-instrumenter-loader":"^1.0.0","jasmine-core":"^2.4.1","karma":"^6.3.2","karma-chrome-launcher":"^3.1.0","karma-firefox-launcher":"^2.1.0","karma-jasmine":"^1.1.1","karma-jasmine-ajax":"^0.1.13","karma-safari-launcher":"^1.0.0","karma-sauce-launcher":"^4.3.6","karma-sinon":"^1.0.5","karma-sourcemap-loader":"^0.3.8","karma-webpack":"^4.0.2","load-grunt-tasks":"^3.5.2","minimist":"^1.2.0","mocha":"^8.2.1","sinon":"^4.5.0","terser-webpack-plugin":"^4.2.3","typescript":"^4.0.5","url-search-params":"^0.10.0","webpack":"^4.44.2","webpack-dev-server":"^3.11.0"},"browser":{"./lib/adapters/http.js":"./lib/adapters/xhr.js"},"jsdelivr":"dist/axios.min.js","unpkg":"dist/axios.min.js","typings":"./index.d.ts","dependencies":{"follow-redirects":"^1.14.0"},"bundlesize":[{"path":"./dist/axios.min.js","threshold":"5kB"}]}')},65:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.logger=t.Options=t.Level=void 0;var o,i=n(r(501));!function(e){e[e.silent=0]="silent",e[e.trace=10]="trace",e[e.debug=20]="debug",e[e.info=30]="info",e[e.warn=40]="warn",e[e.error=50]="error",e[e.fatal=60]="fatal"}(o=t.Level||(t.Level={}));var s=function(e,t){this.consoleOnly=e,this.level=t};t.Options=s;var a=(0,i.default)(),u=function(){function e(e){this.options=e}return e.prototype.setConsoleOnly=function(e){this.options.consoleOnly=e},e.prototype.silent=function(e){},e.prototype.trace=function(e){this.options.level<=o.trace&&(this.options.consoleOnly?console.log(e):a.trace(e))},e.prototype.debug=function(e){this.options.level<=o.debug&&(this.options.consoleOnly?console.log(e):a.debug(e))},e.prototype.info=function(e){this.options.level<=o.info&&(this.options.consoleOnly?console.info(e):a.info(e))},e.prototype.warn=function(e){this.options.level<=o.warn&&(this.options.consoleOnly?console.warn(e):a.warn(e))},e.prototype.error=function(e){this.options.level<=o.error&&(this.options.consoleOnly?console.error(e):a.error(e))},e.prototype.fatal=function(e){this.options.level<=o.fatal&&(this.options.consoleOnly?console.error(e):a.fatal(e))},e.prototype.always=function(e){console.log(e)},e.prototype.setLevel=function(e){switch(this.options.level=e,e){case o.silent:a.level="silent";break;case o.trace:a.level="trace";break;case o.debug:a.level="debug";break;case o.info:a.level="info";break;case o.warn:a.level="warn";break;case o.error:a.level="error";break;case o.fatal:a.level="fatal";break;default:a.level="info"}},e}();t.logger=new u(new s(!1,o.info))},571:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Level=t.log=void 0;var n=r(65);Object.defineProperty(t,"log",{enumerable:!0,get:function(){return n.logger}}),Object.defineProperty(t,"Level",{enumerable:!0,get:function(){return n.Level}})},540:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createNumRecordPacker=void 0;var n=r(844),o=r(432),i=r(511);t.createNumRecordPacker=function(){return new s};var s=function(){function e(){}return e.prototype.pack=function(e,t){var r=a(t),o=new i.SimpleBottomUpRecursiveStrategy(r).pack("",e),s=n.mapper.convert({},e,t),u=n.mapper.convert({},e,t);return JSON.stringify(u)===JSON.stringify(s)?(console.log("Converted: "+JSON.stringify(e)),console.log("to : "+JSON.stringify(o)),o):(console.warn("Failed to reduce the size of: "+JSON.stringify(e)),e)},e}(),a=function(e){var t=new Array;return Object.keys(e).forEach((function(r){var n=new o.TransformationInstruction(r,e[r]);t.push(n),u(n,t)})),t},u=function(e,t){e.additionalKeys.size>0&&e.additionalKeys.forEach((function(e){t.push(e),u(e,t)}))}},432:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransformationInstruction=void 0;var r=["rewriteValue","assignKeys","rewriteKey","replacePair","arrayItems"],n=function(){function e(t,n){var o=this;this.key=t,this.rewriteValue=!!n.hasOwnProperty("rewriteValue"),this.replacePair=!!n.hasOwnProperty("replacePair"),this.assignKeys=n.assignKeys?n.assignKeys:null,this.resultValue=n.rewriteValue?n.rewriteValue:n.replacePair,this.rewriteKey=n.rewriteKey?n.rewriteKey:null,this.arrayItemsName=n.arrayItems?n.arrayItems:null,this.additionalKeys=new Map,Object.keys(n).filter((function(e){return!r.includes(e)})).forEach((function(t){o.additionalKeys.set(t,new e(t,n[t]))}))}return e.prototype.assessMatch=function(e){return e===this.key?1:0},e}();t.TransformationInstruction=n},511:function(e,t,r){"use strict";var n,o=this&&this.__extends||(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])})(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)});Object.defineProperty(t,"__esModule",{value:!0}),t.SimpleBottomUpRecursiveStrategy=void 0;var i=r(949),s=r(427),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.packObject=function(e,t){var r={};for(var n in t)t.hasOwnProperty(n)&&(r[n]=s.smallest(t[n],this.pack(n,t[n])));var o=u(e,this.instructions);return o?s.smallest(r,o.pack(r)):r},t.prototype.packString=function(e,t){var r=u(e,this.instructions);return r?s.smallest(t,r.pack(t)):t},t}(function(){function e(e){this.instructions=e}return e.prototype.pack=function(e,t){return t&&"object"==typeof t?Array.isArray(t)?this.packArray(e,t):this.packObject(e,t):t&&"string"==typeof t?this.packString(e,t):t},e.prototype.packArray=function(e,t){var r=this;return t.map((function(t){return t&&"object"==typeof t?Array.isArray(t)?r.packArray(e,t):r.packObject(e,t):t&&"string"==typeof t?r.packString(e,t):t}))},e.prototype.packObject=function(e,t){return t},e.prototype.packString=function(e,t){return t},e}());t.SimpleBottomUpRecursiveStrategy=a;var u=function(e,t){var r,n=-1;return t.forEach((function(t){var o=t.assessMatch(e);o>n&&(r=new i.AssignKeysTactic(t),n=o)})),r}},949:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AssignKeysTactic=void 0;var r=/^%.+$/,n=function(){function e(e){this.instruction=e}return e.prototype.pack=function(e){var t,r=this;if(this.isObjectResultWithAssign(e)){for(var n=this.mapKeys(),o=[],i=0,s=this.instruction.assignKeys;i<s.length;i++){var a=s[i],u=n.get(a);if(u){var c=e[u]?e[u]:e[a];c?o.push(c):o.push(null)}else this.instruction.assignKeys.includes(a)&&o.push(e[a])}for(;o.length>0&&null===o[o.length-1];)o.pop();if(0===o.length)return e;if(1===o.length){var l={};return l[this.mapKeys[0]]=o[0],l}return o}if(e&&"object"==typeof e&&!Array.isArray(e)){var f=Object.keys(e);if(f.every((function(e){var t;return null===(t=r.instruction.assignKeys)||void 0===t?void 0:t.includes(e)}))&&(null===(t=this.instruction.assignKeys)||void 0===t?void 0:t.every((function(e){return f.includes(e)})))){var p=[];for(var a in e)e.hasOwnProperty(a)&&p.push(e[a]);return 1===p.length?p[0]:p}}return e},e.prototype.mapKeys=function(){var e,t=new Map;for(var n in this.instruction.resultValue)if(this.instruction.resultValue.hasOwnProperty(n)){var o=this.instruction.resultValue[n];if("string"==typeof o&&o&&r.test(o)){var i=o.substr(1);(null===(e=this.instruction.assignKeys)||void 0===e?void 0:e.includes(i))&&t.set(i,n)}}return t},e.prototype.isObjectResultWithAssign=function(e){return e&&"object"==typeof e&&!Array.isArray(e)&&"object"==typeof this.instruction.resultValue&&!Array.isArray(this.instruction.resultValue)&&null!==this.instruction.assignKeys&&null!==this.instruction.resultValue},e.prototype.rate=function(e){return this.instruction.assessMatch(e)},e}();t.AssignKeysTactic=n},427:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.modlLen=t.ParentType=t.smallest=void 0,t.smallest=function(e,n){return t.modlLen(r.TOP,n)<t.modlLen(r.TOP,e)?n:e};var r,n=/^[+-]?[0-9]*.?[0-9]+(?:[Ee][+-]?[0-9]+)?$/;!function(e){e[e.TOP=0]="TOP",e[e.OBJECT=1]="OBJECT",e[e.ARRAY=2]="ARRAY"}(r=t.ParentType||(t.ParentType={})),t.modlLen=function(e,o){var i=0;if(o)if(Array.isArray(o))o.forEach((function(e){return i+=t.modlLen(r.ARRAY,e)})),i+=o.length-1;else if("object"==typeof o){var s=Object.keys(o);switch(s.forEach((function(e){o.hasOwnProperty(e)&&(i+=e.length,i+=t.modlLen(r.OBJECT,o[e]))})),e){case r.TOP:s.length>1?i+=s.length-1:0===s.length?i+=2:i+=s.length-1;break;case r.ARRAY:s.length>1?(i+=2,i+=s.length-1):0===s.length?i+=2:i+=s.length-1;break;case r.OBJECT:s.length>1?(i+=2,i+=s.length-1):0===s.length?i+=2:(i+=s.length-1,i+=1)}}else"string"==typeof o?(i+=o.length,n.test(o)&&(i+=2),e!==r.TOP&&(i+=1)):(i+=JSON.stringify(o).length,e!==r.TOP&&(i+=1));else null===o?i+=4:void 0===o&&(i+=9),e!==r.TOP&&(i+=1);return i}},352:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.createObjectUnpacker=void 0;var n=r(368);t.createObjectUnpacker=function(e){switch(e){case"0.0.18":case"0.0.19":case"0.0.20":case"0.0.21":default:return new n.ObjectUnpacker001}}},368:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ObjectUnpacker001=void 0;var n=r(188),o=r(616),i=r(152),s=r(571),a=function(){function e(){}return e.prototype.convert=function(e,t,r){try{var o=p(r),a=i.transform(t,i.prefixReferences),d=new Map;i.indexObject(u,c,l,n.INDEX_NAMESPACE,d,a["?"]),i.indexObject(u,c,l,n.COMPACT_NAMESPACE,d,a),i.indexObject(u,c,l,n.SUBS_NAMESPACE,d,e);var y=h(a,o,d);return delete y["?"],f.resolve(d,y)}catch(e){return s.log.error(e.message),{error:e.message}}},e}();t.ObjectUnpacker001=a;var u="%",c="%",l=!0,f=n.createReferencesResolver(),p=function(e){var t=new Map;return Object.keys(e).forEach((function(r){t.set(r,new o.TransformationInstruction(r,e[r]))})),t},h=function(e,t,r){if(null===e)return null;if(Array.isArray(e))return e.map((function(e){return h(e,t,r)}));if("object"==typeof e){var n={};return Object.keys(e).forEach((function(o){var s=t.get(o);if(s&&s.additionalKeys&&s.additionalKeys.has(o)&&(s=s.additionalKeys.get(o)),s){if(s.isRemovePair())return;var a="object"!=typeof e[o]&&s.assignKeys?[e[o]]:e[o],f=d(a,s,t,r);"string"==typeof f&&f.includes("%self")&&(f=x(a,f));var p=s.transformKey(o);if(s.replacePair)k(f)&&P(f,n);else if(s.rewriteValue)if(s.resultValue)if("object"==typeof s.resultValue)n[p]=d(a,s,t,r);else if("string"==typeof s.resultValue&&s.resultValue.startsWith("%")){var y=new Map;r.forEach((function(e,t){return y.set(t,e)})),i.indexObject(u,c,l,"",y,a),n[p]=d(a,s,t,y)}else n[p]=f;else n[p]=null;else n[p]=f}else r.has(o)?n[o]=r.get(o):n[o]=h(e[o],t,r)})),n}return e},d=function(e,t,r,n){if(null===e)return e;var o=k(e)?S(e,t,n):e,s=Array.isArray(o)&&t.assignKeys?v(t.assignKeys,o):new Map,a=new Map;if(n.forEach((function(e,t){return a.set(t,e)})),i.indexObject(u,c,l,"",a,y(s)),t.isArrayMapping()){if(Array.isArray(o)){var f=t.arrayItemsName,p=f?m(f,o):o;return t.assignKeys?v(t.assignKeys,p):h(p,r,a)}throw new Error('"arrayItems" can only be applied to arrays.')}if(!t.resultValue)return s.size>0?h(y(s),r,a):h(o,r,a);switch(typeof t.resultValue){case"object":return Array.isArray(t.resultValue)?b(t,r,a):g(t,o,r,a,s);case"string":return"%self"===t.resultValue?h(o,r,a):t.resultValue.match("^%[a-zA-Z]+(.[a-zA-Z]+)*$")?a.get(t.resultValue):h(t.resultValue,r,a);default:return t.resultValue}},y=function(e){var t={};return e.forEach((function(e,r){return t[r]=e})),t},v=function(e,t){var r=new Map;return Array.isArray(t)?e.forEach((function(e,n){n<t.length?r.set(e,t[n]):r.set(e,null)})):"object"==typeof t?e.forEach((function(e){r.set(e,t[e])})):e.forEach((function(e,n){0===n?r.set(e,t):r.set(e,null)})),r},m=function(e,t){return t.map((function(t){var r={};return r[e]=t,r}))},g=function(e,t,r,n,o){var s={},a=e.resultValue?e.resultValue:t;return Object.keys(a).forEach((function(e){var p=h(a[e],r,n);if("string"==typeof p){var y=p;if(w(t,y))"object"==typeof(v=t[y.substr(1)])?j(v,r,y)?s[e]=d(v,r.get(y.substr(1)),r,n):s[e]=h(v,r,n):s[e]=v;else if(O(y,o)){var v;(v=o.get(y.substr(1)))&&"object"==typeof v?j(v,r,y)?s[e]=d(v,r.get(y.substr(1)),r,n):s[e]=h(v,r,n):s[e]=v}else if(E(y)){var m=new Map;n.forEach((function(e,t){return m.set(t,e)})),i.indexObject(u,c,l,"",m,t),s[e]=f.resolve(m,p)}else y.includes("%self")?s[e]=x(t,y):n.has(y)?s[e]=n.get(y):s[e]=null}else A(p)?s[e]=f.resolve(n,p):s[e]=p})),s},b=function(e,t,r){return e.resultValue&&Array.isArray(e.resultValue)?e.resultValue.map((function(n){return d(n,e,t,r)})).filter((function(e){return null!==e})):[]},w=function(e,t){return"object"==typeof e&&"%"===t.charAt(0)&&e.hasOwnProperty(t.substr(1))},O=function(e,t){return"%"===e.charAt(0)&&t.has(e.substr(1))},j=function(e,t,r){return Array.isArray(e)&&t.has(r.substr(1))},E=function(e){return e.startsWith("%/")||!e.startsWith("%")&&!e.includes("%self")},A=function(e){return null!==e&&"object"==typeof e},x=function(e,t){var r=new Map;return r.set("%self",e),r.set("%self%",e),f.resolve(r,t)},k=function(e){return null!==e&&!Array.isArray(e)&&"object"==typeof e},P=function(e,t){Object.keys(e).forEach((function(r){t[r]=e[r]}))},S=function(e,t,r){var n=e,o={};for(var i in n)if(t.additionalKeys.has(i)){var s=t.additionalKeys.get(i);o[s.transformKey(i)]=h(n[i],s.additionalKeys,r)}else o[i]=n[i];return o}},188:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.FIND_REFS=t.SUBS_NAMESPACE=t.COMPACT_NAMESPACE=t.INDEX_NAMESPACE=t.createReferencesResolver=void 0,t.createReferencesResolver=function(){return new r},t.INDEX_NAMESPACE="/index",t.COMPACT_NAMESPACE="/compact",t.SUBS_NAMESPACE="/subs",t.FIND_REFS=new RegExp(/%?%[\w-./@]+%?/gm);var r=function(){function e(){}return e.prototype.resolve=function(e,t){if(null==t)throw new Error("Cannot dereference an undefined dataObject.");if("string"==typeof t)return i(e,t);var r=Array.isArray(t["?"])?t["?"]:[t["?"]];return r&&r.forEach((function(t,r){e.set("%"+r,t),e.set("%"+r+"%",t)})),Array.isArray(t)?n("",e,t):o("",e,t)},e}(),n=function(e,t,r){var s=[];return r.forEach((function(r,a){var u=e+"."+a;Array.isArray(r)?s.push(n(u,t,r)):"object"==typeof r?s.push(o(u,t,r)):"string"==typeof r?s.push(i(t,r)):s.push(r)})),s},o=function(e,t,r){if(null===r)return null;var s={};return Object.keys(r).forEach((function(a){var u=r[a];if(null!==u){var c=e+"."+a;Array.isArray(u)?s[a]=n(c,t,u):s[a]="object"==typeof u?o(c,t,u):"string"==typeof u?i(t,u):u}else s[a]=null})),s},i=function(e,r){for(var n=r,o=[],i=t.FIND_REFS.exec(n);null!==i;){var a=i[0];o.push(a),i=t.FIND_REFS.exec(n)}return o.forEach((function(t){if(!t.startsWith("%%")){var r=e.get(t);if(null!=r&&"string"==typeof n)if(n===t)n="string"==typeof r?s(r):r;else if("object"==typeof r){var o=s(t);console.error(o+" refers to an object or array and cannot be embedded in a string"),n=n.replace(t,""+o)}else n=n.replace(t,""+r);else n=n===t?null:n.replace(t,"")}})),"string"==typeof n?n.replace("%%","%"):n},s=function(e){return e.replace("/index.","").replace("/subs.","")}},616:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.TransformationInstruction=void 0;var r=["rewriteValue","assignKeys","rewriteKey","replacePair","arrayItems"],n=function(){function e(t,n){var o=this;this.key=t,this.rewriteValue=!!n.hasOwnProperty("rewriteValue"),this.replacePair=!!n.hasOwnProperty("replacePair"),this.assignKeys=n.assignKeys?n.assignKeys:null,this.resultValue=n.rewriteValue?n.rewriteValue:n.replacePair,this.rewriteKey=n.rewriteKey?n.rewriteKey:null,this.arrayItemsName=n.arrayItems?n.arrayItems:null,this.additionalKeys=new Map,"object"!=typeof n||Array.isArray(n)||Object.keys(n).filter((function(e){return!r.includes(e)})).forEach((function(t){o.additionalKeys.set(t,new e(t,n[t]))}))}return e.prototype.transformKey=function(e){return this.rewriteKey?this.rewriteKey:e},e.prototype.shouldRewriteValue=function(){return this.rewriteValue},e.prototype.isArrayMapping=function(){return null!==this.arrayItemsName},e.prototype.isRemovePair=function(){return!this.replacePair&&!this.rewriteValue&&null===this.arrayItemsName&&null===this.assignKeys&&null===this.rewriteKey&&void 0===this.resultValue&&0===this.additionalKeys.size},e}();t.TransformationInstruction=n},152:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.identity=t.prefixReferences=t.transform=t.indexObject=void 0;var n=r(188);t.indexObject=function(e,r,n,o,i,s){s&&Object.entries(s).forEach((function(s){var a=o.length>0?o+"."+s[0]:""+s[0];n&&i.set(e+a,s[1]),i.set(e+a+r,s[1]),"object"==typeof s[1]&&t.indexObject(e,r,n,a,i,s[1])}))},t.transform=function(e,r){if(!e)return r(e);if(Array.isArray(e)){var n=[];return e.forEach((function(e){"object"==typeof e?n.push(t.transform(e,r)):n.push(r(e))})),r(n)}if("object"==typeof e){var o={};return Object.entries(e).forEach((function(e){"object"==typeof e[1]?o[e[0]]=t.transform(e[1],r):o[e[0]]=r(e[1])})),r(o)}return r(e)},t.prefixReferences=function(e){return"string"!=typeof e?e:e.replace(n.FIND_REFS,(function(e){if(e.startsWith("%%"))return e;var t=e.charCodeAt(1);return t>47&&t<58?"%"+n.INDEX_NAMESPACE+"."+e.substr(1):"%"+n.SUBS_NAMESPACE+"."+e.substr(1)}))},t.identity=function(e){return e}},844:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.mapper=void 0;var n=r(352);t.mapper=n.createObjectUnpacker()},501:(e,t,r)=>{"use strict";const n=r(346);e.exports=s;const o=function(){function e(e){return void 0!==e&&e}try{return"undefined"!=typeof globalThis||Object.defineProperty(Object.prototype,"globalThis",{get:function(){return delete Object.prototype.globalThis,this.globalThis=this},configurable:!0}),globalThis}catch(t){return e(self)||e(window)||e(this)||{}}}().console||{},i={mapHttpRequest:d,mapHttpResponse:d,wrapRequestSerializer:y,wrapResponseSerializer:y,wrapErrorSerializer:y,req:d,res:d,err:function(e){const t={type:e.constructor.name,msg:e.message,stack:e.stack};for(const r in e)void 0===t[r]&&(t[r]=e[r]);return t}};function s(e){(e=e||{}).browser=e.browser||{};const t=e.browser.transmit;if(t&&"function"!=typeof t.send)throw Error("pino: transmit option must have a send function");const r=e.browser.write||o;e.browser.write&&(e.browser.asObject=!0);const n=e.serializers||{},i=function(e,t){return Array.isArray(e)?e.filter((function(e){return"!stdSerializers.err"!==e})):!0===e&&Object.keys(t)}(e.browser.serialize,n);let u=e.browser.serialize;Array.isArray(e.browser.serialize)&&e.browser.serialize.indexOf("!stdSerializers.err")>-1&&(u=!1),"function"==typeof r&&(r.error=r.fatal=r.warn=r.info=r.debug=r.trace=r),!1===e.enabled&&(e.level="silent");const f=e.level||"info",d=Object.create(r);d.log||(d.log=v),Object.defineProperty(d,"levelVal",{get:function(){return"silent"===this.level?1/0:this.levels.values[this.level]}}),Object.defineProperty(d,"level",{get:function(){return this._level},set:function(e){if("silent"!==e&&!this.levels.values[e])throw Error("unknown level "+e);this._level=e,a(y,d,"error","log"),a(y,d,"fatal","error"),a(y,d,"warn","error"),a(y,d,"info","log"),a(y,d,"debug","log"),a(y,d,"trace","log")}});const y={transmit:t,serialize:i,asObject:e.browser.asObject,levels:["error","fatal","warn","info","debug","trace"],timestamp:h(e)};return d.levels=s.levels,d.level=f,d.setMaxListeners=d.getMaxListeners=d.emit=d.addListener=d.on=d.prependListener=d.once=d.prependOnceListener=d.removeListener=d.removeAllListeners=d.listeners=d.listenerCount=d.eventNames=d.write=d.flush=v,d.serializers=n,d._serialize=i,d._stdErrSerialize=u,d.child=function(r,o){if(!r)throw new Error("missing bindings for child Pino");o=o||{},i&&r.serializers&&(o.serializers=r.serializers);const s=o.serializers;if(i&&s){var a=Object.assign({},n,s),u=!0===e.browser.serialize?Object.keys(a):i;delete r.serializers,c([r],u,a,this._stdErrSerialize)}function f(e){this._childLevel=1+(0|e._childLevel),this.error=l(e,r,"error"),this.fatal=l(e,r,"fatal"),this.warn=l(e,r,"warn"),this.info=l(e,r,"info"),this.debug=l(e,r,"debug"),this.trace=l(e,r,"trace"),a&&(this.serializers=a,this._serialize=u),t&&(this._logEvent=p([].concat(e._logEvent.bindings,r)))}return f.prototype=this,new f(this)},t&&(d._logEvent=p()),d}function a(e,t,r,n){const i=Object.getPrototypeOf(t);t[r]=t.levelVal>t.levels.values[r]?v:i[r]?i[r]:o[r]||o[n]||v,function(e,t,r){var n;(e.transmit||t[r]!==v)&&(t[r]=(n=t[r],function(){const i=e.timestamp(),a=new Array(arguments.length),l=Object.getPrototypeOf&&Object.getPrototypeOf(this)===o?o:this;for(var p=0;p<a.length;p++)a[p]=arguments[p];if(e.serialize&&!e.asObject&&c(a,this._serialize,this.serializers,this._stdErrSerialize),e.asObject?n.call(l,u(this,r,a,i)):n.apply(l,a),e.transmit){const n=e.transmit.level||t.level,o=s.levels.values[n],u=s.levels.values[r];if(u<o)return;f(this,{ts:i,methodLevel:r,methodValue:u,transmitLevel:n,transmitValue:s.levels.values[e.transmit.level||t.level],send:e.transmit.send,val:t.levelVal},a)}}))}(e,t,r)}function u(e,t,r,o){e._serialize&&c(r,e._serialize,e.serializers,e._stdErrSerialize);const i=r.slice();let a=i[0];const u={};o&&(u.time=o),u.level=s.levels.values[t];let l=1+(0|e._childLevel);if(l<1&&(l=1),null!==a&&"object"==typeof a){for(;l--&&"object"==typeof i[0];)Object.assign(u,i.shift());a=i.length?n(i.shift(),i):void 0}else"string"==typeof a&&(a=n(i.shift(),i));return void 0!==a&&(u.msg=a),u}function c(e,t,r,n){for(const o in e)if(n&&e[o]instanceof Error)e[o]=s.stdSerializers.err(e[o]);else if("object"==typeof e[o]&&!Array.isArray(e[o]))for(const n in e[o])t&&t.indexOf(n)>-1&&n in r&&(e[o][n]=r[n](e[o][n]))}function l(e,t,r){return function(){const n=new Array(1+arguments.length);n[0]=t;for(var o=1;o<n.length;o++)n[o]=arguments[o-1];return e[r].apply(this,n)}}function f(e,t,r){const n=t.send,o=t.ts,i=t.methodLevel,s=t.methodValue,a=t.val,u=e._logEvent.bindings;c(r,e._serialize||Object.keys(e.serializers),e.serializers,void 0===e._stdErrSerialize||e._stdErrSerialize),e._logEvent.ts=o,e._logEvent.messages=r.filter((function(e){return-1===u.indexOf(e)})),e._logEvent.level.label=i,e._logEvent.level.value=s,n(i,e._logEvent,a),e._logEvent=p(u)}function p(e){return{ts:0,messages:[],bindings:e||[],level:{label:"",value:0}}}function h(e){return"function"==typeof e.timestamp?e.timestamp:!1===e.timestamp?m:g}function d(){return{}}function y(e){return e}function v(){}function m(){return!1}function g(){return Date.now()}s.levels={values:{fatal:60,error:50,warn:40,info:30,debug:20,trace:10},labels:{10:"trace",20:"debug",30:"info",40:"warn",50:"error",60:"fatal"}},s.stdSerializers=i,s.stdTimeFunctions=Object.assign({},{nullTime:m,epochTime:g,unixTime:function(){return Math.round(Date.now()/1e3)},isoTime:function(){return new Date(Date.now()).toISOString()}})},346:e=>{"use strict";function t(e){try{return JSON.stringify(e)}catch(e){return'"[Circular]"'}}e.exports=function(e,r,n){var o=n&&n.stringify||t;if("object"==typeof e&&null!==e){var i=r.length+1;if(1===i)return e;var s=new Array(i);s[0]=o(e);for(var a=1;a<i;a++)s[a]=o(r[a]);return s.join(" ")}if("string"!=typeof e)return e;var u=r.length;if(0===u)return e;for(var c="",l=0,f=-1,p=e&&e.length||0,h=0;h<p;){if(37===e.charCodeAt(h)&&h+1<p){switch(f=f>-1?f:0,e.charCodeAt(h+1)){case 100:case 102:if(l>=u)break;if(null==r[l])break;f<h&&(c+=e.slice(f,h)),c+=Number(r[l]),f=h+2,h++;break;case 105:if(l>=u)break;if(null==r[l])break;f<h&&(c+=e.slice(f,h)),c+=Math.floor(Number(r[l])),f=h+2,h++;break;case 79:case 111:case 106:if(l>=u)break;if(void 0===r[l])break;f<h&&(c+=e.slice(f,h));var d=typeof r[l];if("string"===d){c+="'"+r[l]+"'",f=h+2,h++;break}if("function"===d){c+=r[l].name||"<anonymous>",f=h+2,h++;break}c+=o(r[l]),f=h+2,h++;break;case 115:if(l>=u)break;f<h&&(c+=e.slice(f,h)),c+=String(r[l]),f=h+2,h++;break;case 37:f<h&&(c+=e.slice(f,h)),c+="%",f=h+2,h++,l--}++l}++h}return-1===f?e:(f<p&&(c+=e.slice(f)),c)}},192:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(o,i){function s(e){try{u(n.next(e))}catch(e){i(e)}}function a(e){try{u(n.throw(e))}catch(e){i(e)}}function u(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},o=this&&this.__generator||function(e,t){var r,n,o,i,s={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function a(i){return function(a){return function(i){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(o=2&i[0]?n.return:i[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,i[1])).done)return o;switch(n=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,n=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((o=(o=s.trys).length>0&&o[o.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){s.label=i[1];break}if(6===i[0]&&s.label<o[1]){s.label=o[1],o=i;break}if(o&&s.label<o[2]){s.label=o[2],s.ops.push(i);break}o[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(e,s)}catch(e){i=[6,e],n=0}finally{r=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,a])}}},i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.createNumRecordPackerClient=void 0;var s=i(r(669)),a=r(540),u=r(813);t.createNumRecordPackerClient=function(){return new d};var c=a.createNumRecordPacker(),l="https://modules.numprotocol.com",f="transformation-file",p=new u.LruCache,h=new u.LruCache,d=function(){function e(){}return e.prototype.pack=function(e,t){return n(this,void 0,void 0,(function(){var r,n;return o(this,(function(o){switch(o.label){case 0:return r=e["@v"]?parseInt(e["@v"],10):1,[4,y(t,r)];case 1:return null===(n=o.sent())?(console.warn("There is no transformation object for module "+t),[2,e]):[2,c.pack(e,n)]}}))}))},e}(),y=function(e,t){return n(void 0,void 0,void 0,(function(){var r,i,s,a;return o(this,(function(u){return null!==(r=p.get(e+"."+t))?[2,r]:(i=l+"/"+e+"/transformation/map.json",(s=h.get(i))||(s=m(i))&&h.put(i,s),s&&(a=s.then((function(r){return n(void 0,void 0,void 0,(function(){var n;return o(this,(function(o){return r&&(n=v(r,e,t))?[2,m(n)]:[2,null]}))}))})))?(p.put(e+"."+t,a),[2,a]):(console.error("No transformation object map at "+i),[2,null]))}))}))},v=function(e,t,r){var n=e["compact-v"+r];if(n)for(var o in n)if(o.startsWith("expanded")){var i=n[o];if(i&&i[f])return l+"/"+t+"/transformation/"+i[f]}return null},m=function(e){return n(void 0,void 0,void 0,(function(){var t;return o(this,(function(r){switch(r.label){case 0:return r.trys.push([0,3,,4]),e?(console.warn("LOADING FROM "+e),[4,s.default.get(e)]):[3,2];case 1:return[2,r.sent().data];case 2:return[3,4];case 3:return(t=r.sent())instanceof Error&&console.error("Cannot load resource from "+e+" - "+t.message),[3,4];case 4:return[2,null]}}))}))}},813:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LruCache=void 0;var r=function(){function e(){this.values=new Map,this.maxEntries=20}return e.prototype.get=function(e){if(this.values.has(e)){var t=this.values.get(e);return this.values.delete(e),this.values.set(e,t),t}return null},e.prototype.put=function(e,t){if(this.values.size>=this.maxEntries){var r=this.values.keys().next().value;this.values.delete(r)}this.values.set(e,t)},e}();t.LruCache=r}},t={};function r(n){var o=t[n];if(void 0!==o)return o.exports;var i=t[n]={exports:{}};return e[n].call(i.exports,i,i.exports,r),i.exports}var n={};return(()=>{"use strict";var e=n;Object.defineProperty(e,"__esModule",{value:!0}),e.mapper=void 0;var t=r(192);e.mapper=t.createNumRecordPackerClient()})(),n})()}));
{
"name": "num-record-packer-client",
"version": "1.0.9",
"version": "1.0.10",
"description": "A JSON to JSON mapper in TypeScript for compacting NUM objects according to an unpacker spec.",

@@ -9,3 +9,3 @@ "main": "dist/index.js",

"axios": "^0.21.1",
"num-record-packer": "^0.0.5"
"num-record-packer": "^0.0.6"
},

@@ -12,0 +12,0 @@ "devDependencies": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc