laradumps-js 0.1.0 → 0.1.4
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/workflows/node.js.yml +30 -0
- package/config/default.ts +9 -0
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/dist/laradumps.min.js +1 -1
- package/index.d.ts +1 -0
- package/index.js +8 -7
- package/package.json +1 -1
- package/types.d.ts +4 -4
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gBAMC;AAED,kBAEC;AAED,sBAEC;AAED,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,gBAMC;AAED,kBAEC;AAED,sBAEC;AAED,8BASC;AAzBD,SAAgB,EAAE;IAAC,gBAAS;SAAT,UAAS,EAAT,qBAAS,EAAT,IAAS;QAAT,2BAAS;;IACxB,IAAM,QAAQ,GAAG,aAAI,mBAAS,EAAE,WAAW,EAAE,CAAC;IAE9C,MAAM,CAAC,OAAO,CAAC,UAAC,KAAK,IAAK,OAAA,QAAQ,CAAC,IAAI,CAAC,KAAK,CAAC,EAApB,CAAoB,CAAC,CAAC;IAEhD,OAAO,QAAQ,CAAC;AACpB,CAAC;AAAA,CAAC;AAEF,SAAgB,GAAG;IAAC,gBAAS;SAAT,UAAS,EAAT,qBAAS,EAAT,IAAS;QAAT,2BAAS;;IACzB,OAAO,EAAE,wCAAI,MAAM,WAAE,GAAG,EAAE,CAAC;AAC/B,CAAC;AAAA,CAAC;AAEF,SAAgB,KAAK,CAAC,EAAE;IACpB,OAAO,IAAI,OAAO,CAAC,UAAA,OAAO,IAAI,OAAA,UAAU,CAAC,OAAO,EAAE,EAAE,CAAC,EAAvB,CAAuB,CAAC,CAAC;AAC3D,CAAC;AAED,SAAgB,SAAS,CAAC,EAIzB;QAHG,YAAW,EAAX,IAAI,mBAAG,IAAI,KAAA,EACX,YAAkB,EAAlB,IAAI,mBAAG,WAAW,KAAA,EAClB,kBAAkB,EAAlB,UAAU,mBAAG,KAAK,KAAA;IAElB,IAAI,MAAM,GAAG,iBAAU,IAAI,cAAI,IAAI,CAAE,CAAC;IAEtC,gBAAgB,CAAC,IAAI,GAAG,MAAM,CAAC;IAC/B,gBAAgB,CAAC,aAAa,GAAG,UAAU,CAAC;AAChD,CAAC;AAED,UAAU,CAAC,EAAE,GAAG,EAAE,CAAC;AACnB,UAAU,CAAC,GAAG,GAAG,GAAG,CAAC;AACrB,UAAU,CAAC,MAAM,GAAG,KAAK,CAAC;AAE1B,UAAU,CAAC,gBAAgB,GAAG;IAC1B,IAAI,EAAE,uBAAuB;IAC7B,aAAa,EAAE,KAAK;CACvB,CAAC;AAEF,8DAAwC;AACxC,kBAAe,mBAAS,CAAC;AAEzB,UAAU,CAAC,SAAS,GAAG,mBAAS,CAAC"}
|
package/dist/laradumps.min.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
(()=>{var r={"./index.js":function(e,t,r){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n({},c.default).generateIds();return e.forEach(function(e){return r.dump(e)}),r}function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.apply(void 0,i([],o(e),!1)).die()}function u(t){return new Promise(function(e){return setTimeout(e,t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.ds=s,t.dsq=l,t.sleep=u,t.configure=function(e){var t=e.port,t=void 0===t?9191:t,r=e.hostName,e=e.autoInvokeApp,e=void 0!==e&&e,r="http://".concat(void 0===r?"127.0.0.1":r,":").concat(t);globalThis.CONFIG_LARADUMPS.host=r,globalThis.CONFIG_LARADUMPS.autoInvokeApp=e},globalThis.ds=s,globalThis.dsd=l,globalThis._sleep=u,globalThis.CONFIG_LARADUMPS={host:"http://127.0.0.1:9191",autoInvokeApp:!1};var c=a(r("./src/LaraDumps.js"));t.default=c.default,globalThis.LaraDumps=c.default},"./src/Benchmark.js":function(e,t){var a=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(r,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}i((l=l.apply(e,a||[])).next())})},s=this&&this.__generator||function(n,o){var i,a,s,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=e(0),u.throw=e(1),u.return=e(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function e(r){return function(e){var t=[r,e];if(i)throw new TypeError("Generator is already executing.");for(;l=u&&t[u=0]?0:l;)try{if(i=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,a=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(s=0<(s=l.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))l.label=t[1];else if(6===t[0]&&l.label<s[1])l.label=s[1],s=t;else{if(!(s&&l.label<s[2])){s[2]&&l.ops.pop(),l.trys.pop();continue}l.label=s[2],l.ops.push(t)}}t=o.call(n,l)}catch(e){t=[6,e],a=0}finally{i=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}};Object.defineProperty(t,"__esModule",{value:!0}),t.default={promise:null,benchmark:function(){for(var n=this,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=[],i="object"==typeof e[0]?e[0]:e;return this.promise=Promise.all(Object.values(i).map(function(r,e){var t=Object.keys(i)[e];return o[t]={start_time:Date.now(),end_time:null,total_time:null},new Promise(function(t){return a(n,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return[4,r(t)];case 1:return e.sent(),[2]}})})}).finally(function(){o[t].end_time=Date.now(),o[t].total_time=o[t].end_time-o[t].start_time})})).then(function(){return o}).finally(function(){n.sendMarks(o)}),this},sendMarks:function(n){var o={Fastest:[]};return Object.values(n).forEach(function(e,t){var r,t=Object.keys(n)[t];isNaN(parseInt(t))||(t="Closure ".concat(t)),(null!=(r=o.Fastest[1])?r:e.end_time+1)>e.end_time&&(o.Fastest=[t,e.end_time]),o[t]=["Start time: ".concat(new Date(e.start_time).toLocaleString(),"\n End time: ").concat(new Date(e.end_time).toLocaleString(),"\n Total time: ").concat(e.total_time," ms"),e.end_time]}),this.tableV2(o,"Benchmark")}}},"./src/Colors.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={color:function(e){return this.send("color",{color:{color:e}})},info:function(){return this.blue()},success:function(){return this.green()},warning:function(){return this.orange()},danger:function(){return this.red()},red:function(){return this.color("red")},blue:function(){return this.color("blue")},green:function(){return this.color("green")},orange:function(){return this.color("orange")},dark:function(){return this.color("black")}}},"./src/Json.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={json:function(t){try{"string"!=typeof t&&(t=JSON.stringify(t)),this.isValidJson(t)?this.sendJson(t):this.dump(t)}catch(e){return console.warn("Laradumps: Json is not valid",t),this}},isValidJson:function(e){try{JSON.parse(e)}catch(e){return!1}return!0},sendJson:function(e){return e="string"!=typeof e?JSON.stringify(e):e,this.send("json",{json:{string:e,original_content:e}})}}},"./src/Label.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={label:function(e){return this.send("label",{label:{label:e}})}}},"./src/LaraDumps.js":function(e,t,r){var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=(Object.defineProperty(t,"__esModule",{value:!0}),n(r("../node_modules/axios/dist/browser/axios.cjs"))),o=n(r("./src/Benchmark.js")),l=n(r("./src/Colors.js")),u=n(r("./src/Json.js")),c=n(r("./src/Label.js")),f=n(r("./src/Screen.js")),d=n(r("./src/Table.js")),h=n(r("./src/TimeTrack.js")),n=n(r("./src/Validate.js")),r=i(i(i(i(i(i(i(i(i({instanceId:null,requestId:null,server:"http://127.0.0.1:9191/api/dumps",params:[],generateIds:function(){return this.instanceId=this.makeUUID(),this.requestId=this.makeUUID(),this},makeUUID:function(){var r=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(r+16*Math.random())%16|0;return r=Math.floor(r/16),("x"==e?t:3&t|8).toString(16)})}},l.default),f.default),c.default),h.default),d.default),u.default),n.default),o.default),{clear:function(){return this.send("clear",{clear:{}})},die:function(){throw new Error("Exception to stop the execution!")},label:function(e){return this.send("label",{label:{label:e}})},dump:function(e){var t=typeof e,r="string"==t&&this.isValidJson(e);if("object"==t&&void 0===(null==e?void 0:e.prototype)||r)this.json(e);else{if("object"!=t)return this.send("dump",{dump:{dump:e,original_content:e,variable_type:t}});console.info("Laradumps: Using JSON object as parameter. Please use `ds.json` if you want to send a JSON object.")}},send:function(e,t){var r,n=this.getStackTrace(),o=n.file?new URL(n.file):null;return s.default.post(this.server,i({id:this.instanceId,request_id:this.requestId,meta:{laradumps_version:"2.0.2.0",auto_invoke_app:null==(r=globalThis.CONFIG_LARADUMPS)?void 0:r.autoInvokeApp},ide_handle:{separator:"/",line:null==n?void 0:n.line,real_path:null!=(r=null==o?void 0:o.pathname)?r:"terminal",class_name:null!=(n=null==o?void 0:o.pathname.split("/").pop())?n:"terminal",project_path:null!=(r=null==o?void 0:o.pathname.split("/").slice(0,-1).join("/"))?r:"terminal"},type:e},t)).catch(function(e){console.error("Erro ao enviar o dump.:",e)}),this},getStackTrace:function(){var e=(new Error).stack,t={stack:e},r=e.split("\n"),n=r[4],o=r.findIndex(function(e){return e.includes("at ds")}),o=(e.includes("[Alpine]")?n=null==(e=(r=r.filter(function(e){return e.includes("[Alpine]")}))[0])?void 0:e.split("),")[0]:o&&(n=null==(e=(r=r.slice(o))[1])?void 0:e.split("),")[0]),null==n?void 0:n.match(/(https?:\/\/.*):(\d+):(\d+)/));return o&&((r=a(o,4))[0],e=r[2],n=r[3],t.file=r[1],t.line=e,t.column=n),t}});t.default=r},"./src/Screen.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={s:function(e){return this.toScreen(e)},w:function(e,t){return this.toScreen(e,t=void 0===t?0:t)},toScreen:function(e,t,r){return this.send("screen",{screen:{screen_name:e,raisen_in:t=void 0===t?0:t,new_window:r=void 0===r?!1:r}})},toScreenWindow:function(e,t){return this.toScreen(e,t=void 0===t?0:t,!0)}}},"./src/Table.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={table:function(e,t){var r=Object.keys(e[0]);return this.send("table",{table:{fields:r,header:r,values:e,label:t}}).label(t)},tableV2:function(e,t){return this.send("table_v2",{table_v2:{label:t,values:e}}).label(t)}}},"./src/TimeTrack.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={time:function(e){return this.send("time_track",{time_track:{tracker_id:this.makeUUID(),time:Date.now()/1e3,label:e}}).label(e)},stopTime:function(e){var t=Date.now()/1e3;return this.send("time_track",{time_track:{time:t,label:e,end_time:t,tracker_id:this.makeUUID()}})}}},"./src/Validate.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={isJson:function(){return this.send("json_validate",{json_validate:{}})},validate:function(e,t,r,n){return this.send("validate",{validate:{type:e,content:t,is_case_sensitive:r=void 0===r?!1:r,is_whole_word:n=void 0===n?!1:n}})},contains:function(e,t,r){return this.validate("contains",e,t=void 0===t?!1:t,r=void 0===r?!1:r)}}},"../node_modules/axios/dist/browser/axios.cjs":(D,F,e)=>{function B(e,t){return function(){return e.apply(t,arguments)}}let I=Object.prototype.toString,l=Object.getPrototypeOf,r=(t=Object.create(null),e=>{e=I.call(e);return t[e]||(t[e]=e.slice(8,-1).toLowerCase())});var t,n=t=>(t=t.toLowerCase(),e=>r(e)===t),o=t=>e=>typeof e===t;let u=Array.isArray,i=o("undefined");let M=n("ArrayBuffer");var a=o("string");let s=o("function"),q=o("number"),c=e=>null!==e&&"object"==typeof e;let f=e=>{var t;return"object"===r(e)&&!(null!==(t=l(e))&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)};var o=n("Date"),J=n("File"),z=n("Blob"),H=n("FileList"),V=n("URLSearchParams"),[W,d,h,K]=["ReadableStream","Request","Response","Headers"].map(n);function p(t,r,{allOwnKeys:n=!1}={}){if(null!=t){let e;var o;if("object"!=typeof t&&(t=[t]),u(t))for(e=0,o=t.length;e<o;e++)r.call(null,t[e],e,t);else{var i,a=n?Object.getOwnPropertyNames(t):Object.keys(t),s=a.length;for(e=0;e<s;e++)i=a[e],r.call(null,t[i],i,t)}}}function G(e,t){t=t.toLowerCase();var r,n=Object.keys(e);let o=n.length;for(;0<o--;)if(t===(r=n[o]).toLowerCase())return r;return null}let m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e.g,$=e=>!i(e)&&e!==m;X="undefined"!=typeof Uint8Array&&l(Uint8Array);var X,Q,e=e=>X&&e instanceof X,b=n("HTMLFormElement"),Z=(Q=[Object.prototype.hasOwnProperty][0],(e,t)=>Q.call(e,t)),y=n("RegExp");let Y=(n,o)=>{var e=Object.getOwnPropertyDescriptors(n);let i={};p(e,(e,t)=>{var r;!1!==(r=o(e,t,n))&&(i[t]=r||e)}),Object.defineProperties(n,i)};var g="abcdefghijklmnopqrstuvwxyz",v="0123456789";let ee={DIGIT:v,ALPHA:g,ALPHA_DIGIT:g+g.toUpperCase()+v};var te,w,g=n("AsyncFunction"),v=(v="function"==typeof setImmediate,re=s(m.postMessage),v?setImmediate:re?(te="axios@"+Math.random(),w=[],m.addEventListener("message",({source:e,data:t})=>{e===m&&t===te&&w.length&&w.shift()()},!1),e=>{w.push(e),m.postMessage(te,"*")}):e=>setTimeout(e)),re="undefined"!=typeof queueMicrotask?queueMicrotask.bind(m):"undefined"!=typeof process&&process.nextTick||v,S={isArray:u,isArrayBuffer:M,isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&s(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{var t;return e&&("function"==typeof FormData&&e instanceof FormData||s(e.append)&&("formdata"===(t=r(e))||"object"===t&&s(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&M(e.buffer)},isString:a,isNumber:q,isBoolean:e=>!0===e||!1===e,isObject:c,isPlainObject:f,isReadableStream:W,isRequest:d,isResponse:h,isHeaders:K,isUndefined:i,isDate:o,isFile:J,isBlob:z,isRegExp:y,isFunction:s,isStream:e=>c(e)&&s(e.pipe),isURLSearchParams:V,isTypedArray:e,isFileList:H,forEach:p,merge:function r(){let n=($(this)&&this||{}).caseless,o={};var i=(e,t)=>{t=n&&G(o,t)||t,f(o[t])&&f(e)?o[t]=r(o[t],e):f(e)?o[t]=r({},e):u(e)?o[t]=e.slice():o[t]=e};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&p(arguments[e],i);return o},extend:(r,e,n,{allOwnKeys:t}={})=>(p(e,(e,t)=>{n&&s(e)?r[t]=B(e,n):r[t]=e},{allOwnKeys:t}),r),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>e=65279===e.charCodeAt(0)?e.slice(1):e,inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{var o,i;let a;var s={};if(t=t||{},null!=e)do{for(o=Object.getOwnPropertyNames(e),a=o.length;0<a--;)i=o[a],n&&!n(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0)}while((e=!1!==r&&l(e))&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:r,kindOfTest:n,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;e=e.indexOf(t,r);return-1!==e&&e===r},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!q(t))return null;for(var r=new Array(t);0<t--;)r[t]=e[t];return r},forEachEntry:(e,t)=>{for(var r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var n=n.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:b,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Y,freezeMethods:n=>{Y(n,(e,t)=>{if(s(n)&&-1!==["arguments","caller","callee"].indexOf(t))return!1;var r=n[t];s(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")}))})},toObjectSet:(e,t)=>{let r={};var n=e=>{e.forEach(e=>{r[e]=!0})};return u(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:G,global:m,isContextDefined:$,ALPHABET:ee,generateString:(e=16,t=ee.ALPHA_DIGIT)=>{let r="";for(var n=t.length;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&s(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=new Array(10),o=(e,n)=>{if(c(e)){if(0<=t.indexOf(e))return;if(!("toJSON"in e)){t[n]=e;let r=u(e)?[]:{};return p(e,(e,t)=>{e=o(e,n+1);i(e)||(r[t]=e)}),t[n]=void 0,r}}return e};return o(e,0)},isAsyncFn:g,isThenable:e=>e&&(c(e)||s(e))&&s(e.then)&&s(e.catch),setImmediate:v,asap:re};function _(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status||null)}S.inherits(_,Error,{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:S.toJSONObject(this.config),code:this.code,status:this.status}}});let ne=_.prototype,oe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{oe[e]={value:e}}),Object.defineProperties(_,oe),Object.defineProperty(ne,"isAxiosError",{value:!0}),_.from=(e,t,r,n,o,i)=>{var a=Object.create(ne);return S.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),_.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function ie(e){return S.isPlainObject(e)||S.isArray(e)}function ae(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function se(e,t,r){return e?e.concat(t).map(function(e,t){return e=ae(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let le=S.toFlatObject(S,{},null,function(e){return/^is[A-Z]/.test(e)});function O(e,i,t){if(!S.isObject(e))throw new TypeError("target must be an object");i=i||new FormData;let a=(t=S.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!S.isUndefined(t[e])})).metaTokens,o=t.visitor||n,s=t.dots,l=t.indexes;let r=(t.Blob||"undefined"!=typeof Blob&&Blob)&&S.isSpecCompliantForm(i);if(!S.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(S.isDate(e))return e.toISOString();if(!r&&S.isBlob(e))throw new _("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(e)||S.isTypedArray(e)?r&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function n(e,r,t){let n=e;if(e&&!t&&"object"==typeof e)if(S.endsWith(r,"{}"))r=a?r:r.slice(0,-2),e=JSON.stringify(e);else if(S.isArray(e)&&(o=e,S.isArray(o))&&!o.some(ie)||(S.isFileList(e)||S.endsWith(r,"[]"))&&(n=S.toArray(e)))return r=ae(r),n.forEach(function(e,t){S.isUndefined(e)||null===e||i.append(!0===l?se([r],t,s):null===l?r:r+"[]",u(e))}),!1;var o;return!!ie(e)||(i.append(se(t,r,s),u(e)),!1)}let c=[],f=Object.assign(le,{defaultVisitor:n,convertValue:u,isVisitable:ie});if(S.isObject(e))return function r(e,n){if(!S.isUndefined(e)){if(-1!==c.indexOf(e))throw Error("Circular reference detected in "+n.join("."));c.push(e),S.forEach(e,function(e,t){!0===(!(S.isUndefined(e)||null===e)&&o.call(i,e,S.isString(t)?t.trim():t,n,f))&&r(e,n?n.concat(t):[t])}),c.pop()}}(e),i;throw new TypeError("data must be an object")}function ue(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ce(e,t){this._pairs=[],e&&O(e,this,t)}a=ce.prototype;function fe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function de(t,r,n){if(r){var o=n&&n.encode||fe,i=n&&n.serialize;let e;(e=i?i(r,n):S.isURLSearchParams(r)?r.toString():new ce(r,n).toString(o))&&(-1!==(i=t.indexOf("#"))&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+e)}return t}a.append=function(e,t){this._pairs.push([e,t])};var he=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(e){null!==e&&t(e)})}},pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!(a.toString=function(t){let r=t?function(e){return t.call(this,e,ue)}:ue;return this._pairs.map(function(e){return r(e[0])+"="+r(e[1])},"").join("&")})},W={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ce,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},d="undefined"!=typeof window&&"undefined"!=typeof document,h="object"==typeof navigator&&navigator||void 0,K=d&&(!h||["ReactNative","NativeScript","NS"].indexOf(h.product)<0),o="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,J=d&&window.location.href||"http://localhost",E={...Object.freeze({__proto__:null,hasBrowserEnv:d,hasStandardBrowserWebWorkerEnv:o,hasStandardBrowserEnv:K,navigator:h,origin:J}),...W};function me(e){function s(e,t,r,n){var o,i,a;return"__proto__"===(a=e[n++])||(o=Number.isFinite(+a),i=n>=e.length,a=!a&&S.isArray(r)?r.length:a,i?S.hasOwnProp(r,a)?r[a]=[r[a],t]:r[a]=t:(r[a]&&S.isObject(r[a])||(r[a]=[]),s(e,t,r[a],n)&&S.isArray(r[a])&&(r[a]=(e=>{var t={},r=Object.keys(e);let n;var o,i=r.length;for(n=0;n<i;n++)t[o=r[n]]=e[o];return t})(r[a]))),!o)}if(S.isFormData(e)&&S.isFunction(e.entries)){let r={};return S.forEachEntry(e,(e,t)=>{s(S.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),t,r,0)}),r}return null}let be={transitional:pe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",o=-1<n.indexOf("application/json"),i=S.isObject(e),a=(i&&S.isHTMLForm(e)&&(e=new FormData(e)),S.isFormData(e));if(a)return o?JSON.stringify(me(e)):e;if(!(S.isArrayBuffer(e)||S.isBuffer(e)||S.isStream(e)||S.isFile(e)||S.isBlob(e)||S.isReadableStream(e))){if(S.isArrayBufferView(e))return e.buffer;if(S.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(-1<n.indexOf("application/x-www-form-urlencoded"))return a=e,r=this.formSerializer,O(a,new E.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return E.isNode&&S.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},r)).toString();if((a=S.isFileList(e))||-1<n.indexOf("multipart/form-data"))return O(a?{"files[]":e}:e,(r=this.env&&this.env.FormData)&&new r,this.formSerializer)}if(i||o){t.setContentType("application/json",!1);n=e,a=void 0,i=void 0;if(S.isString(n))try{return(a||JSON.parse)(n),S.trim(n)}catch(e){if("SyntaxError"!==e.name)throw e}return(i||JSON.stringify)(n)}}return e}],transformResponse:[function(e){var t=this.transitional||be.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(!S.isResponse(e)&&!S.isReadableStream(e)&&e&&S.isString(e)&&(r&&!this.responseType||n)){r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw _.from(e,_.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:E.classes.FormData,Blob:E.classes.Blob},validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{be.headers[e]={}});var ye=be;let ge=S.toObjectSet(["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"]);let ve=Symbol("internals");function R(e){return e&&String(e).trim().toLowerCase()}function T(e){return!1===e||null==e?e:S.isArray(e)?e.map(T):String(e)}function we(e,t,r,n,o){return S.isFunction(n)?n.call(this,t,r):S.isString(t=o?r:t)&&(S.isString(n)?-1!==t.indexOf(n):S.isRegExp(n)&&n.test(t))}class j{constructor(e){e&&this.set(e)}set(e,t,r){let o=this;function n(e,t,r){var n=R(t);if(!n)throw new Error("header name must be a non-empty string");n=S.findKey(o,n);n&&void 0!==o[n]&&!0!==r&&(void 0!==r||!1===o[n])||(o[n||t]=T(e))}var i=(e,r)=>S.forEach(e,(e,t)=>n(e,t,r));if(S.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(S.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{let t={},r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&ge[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(S.isHeaders(e))for(var[a,s]of e.entries())n(s,a,r);else null!=e&&n(t,e,r);return this}get(e,t){if(e=R(e)){e=S.findKey(this,e);if(e){var r=this[e];if(!t)return r;if(!0===t){for(var n,o=r,i=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;n=a.exec(o);)i[n[1]]=n[2];return i}if(S.isFunction(t))return t.call(this,r,e);if(S.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){return!!(e=R(e))&&!(!(e=S.findKey(this,e))||void 0===this[e]||t&&!we(0,this[e],e,t))}delete(e,t){let r=this,n=!1;function o(e){(e=R(e))&&(e=S.findKey(r,e))&&(!t||we(r,r[e],e,t))&&(delete r[e],n=!0)}return S.isArray(e)?e.forEach(o):o(e),n}clear(e){var t=Object.keys(this);let r=t.length,n=!1;for(;r--;){var o=t[r];e&&!we(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(n){let o=this,i={};return S.forEach(this,(e,t)=>{var r=S.findKey(i,t);r?(o[r]=T(e),delete o[t]):((r=n?t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(t).trim())!==t&&delete o[t],o[r]=T(e),i[r]=!0)}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(r){let n=Object.create(null);return S.forEach(this,(e,t)=>{null!=e&&!1!==e&&(n[t]=r&&S.isArray(e)?e.join(", "):e)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let n=(this[ve]=this[ve]={accessors:{}}).accessors,i=this.prototype;function t(t){var e=R(t);if(!n[e]){{var r=i;var o=t;let e=S.toCamelCase(" "+o);["get","set","has"].forEach(n=>{Object.defineProperty(r,n+e,{value:function(e,t,r){return this[n].call(this,o,e,t,r)},configurable:!0})})}n[e]=!0}}return S.isArray(e)?e.forEach(t):t(e),this}}j.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),S.reduceDescriptors(j.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),S.freezeMethods(j);var x=j;function Oe(e,t){let r=this||ye;var n=t||r;let o=x.from(n.headers),i=n.data;return S.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Ee(e){return!(!e||!e.__CANCEL__)}function A(e,t,r){_.call(this,null==e?"canceled":e,_.ERR_CANCELED,t,r),this.name="CanceledError"}function Se(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new _("Request failed with status code "+r.status,[_.ERR_BAD_REQUEST,_.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}S.inherits(A,_,{__CANCEL__:!0});let P=(l,u,e=3)=>{let c=0,f=((i,a)=>{i=i||10;let s=new Array(i),l=new Array(i),u=0,c=0,f;return a=void 0!==a?a:1e3,function(e){var t=Date.now(),r=l[c];f=f||t,s[u]=e,l[u]=t;let n=c,o=0;for(;n!==u;)o+=s[n++],n%=i;return(u=(u+1)%i)===c&&(c=(c+1)%i),!(t-f<a)&&(e=r&&t-r)?Math.round(1e3*o/e):void 0}})(50,250);{var r=e=>{var t=e.loaded,r=e.lengthComputable?e.total:void 0,n=t-c,o=f(n),i=t<=r,n={loaded:c=t,total:r,progress:r?t/r:void 0,bytes:n,rate:o||void 0,estimated:o&&r&&i?(r-t)/o:void 0,event:e,lengthComputable:null!=r,[u?"download":"upload"]:!0};l(n)};let n=0,o=1e3/e,i,a,s=(e,t=Date.now())=>{n=t,i=null,a&&(clearTimeout(a),a=null),r.apply(null,e)};return[(...e)=>{var t=Date.now(),r=t-n;r>=o?s(e,t):(i=e,a=a||setTimeout(()=>{a=null,s(i)},o-r))},()=>i&&s(i)]}},_e=(t,r)=>{let n=null!=t;return[e=>r[0]({lengthComputable:n,total:t,loaded:e}),r[1]]},Re=t=>(...e)=>S.asap(()=>t(...e));var Te=E.hasStandardBrowserEnv?(()=>{let r=E.navigator&&/(msie|trident)/i.test(E.navigator.userAgent),n=document.createElement("a"),t;function o(e){let t=e;return r&&(n.setAttribute("href",t),t=n.href),n.setAttribute("href",t),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){e=S.isString(e)?o(e):e;return e.protocol===t.protocol&&e.host===t.host}})():function(){return!0},je=E.hasStandardBrowserEnv?{write(e,t,r,n,o,i){e=[e+"="+encodeURIComponent(t)];S.isNumber(r)&&e.push("expires="+new Date(r).toGMTString()),S.isString(n)&&e.push("path="+n),S.isString(o)&&e.push("domain="+o),!0===i&&e.push("secure"),document.cookie=e.join("; ")},read(e){e=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function xe(e,t){var r;return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?(e=e,(r=t)?e.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):e):t}let Ae=e=>e instanceof x?{...e}:e;function N(n,o){o=o||{};let i={};function a(e,t,r){return S.isPlainObject(e)&&S.isPlainObject(t)?S.merge.call({caseless:r},e,t):S.isPlainObject(t)?S.merge({},t):S.isArray(t)?t.slice():t}function s(e,t,r){return S.isUndefined(t)?S.isUndefined(e)?void 0:a(void 0,e,r):a(e,t,r)}function e(e,t){if(!S.isUndefined(t))return a(void 0,t)}function t(e,t){return S.isUndefined(t)?S.isUndefined(e)?void 0:a(void 0,e):a(void 0,t)}function l(e,t,r){return r in o?a(e,t):r in n?a(void 0,e):void 0}let u={url:e,method:e,data:e,baseURL:t,transformRequest:t,transformResponse:t,paramsSerializer:t,timeout:t,timeoutMessage:t,withCredentials:t,withXSRFToken:t,adapter:t,responseType:t,xsrfCookieName:t,xsrfHeaderName:t,onUploadProgress:t,onDownloadProgress:t,decompress:t,maxContentLength:t,maxBodyLength:t,beforeRedirect:t,transport:t,httpAgent:t,httpsAgent:t,cancelToken:t,socketPath:t,responseEncoding:t,validateStatus:l,headers:(e,t)=>s(Ae(e),Ae(t),!0)};return S.forEach(Object.keys(Object.assign({},n,o)),function(e){var t=u[e]||s,r=t(n[e],o[e],e);S.isUndefined(r)&&t!==l||(i[e]=r)}),i}var Pe=e=>{var t,r=N({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=r;return r.headers=s=x.from(s),r.url=de(xe(r.baseURL,r.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),S.isFormData(n)&&(E.hasStandardBrowserEnv||E.hasStandardBrowserWebWorkerEnv?s.setContentType(void 0):!1!==(e=s.getContentType())&&([e,...t]=e?e.split(";").map(e=>e.trim()).filter(Boolean):[],s.setContentType([e||"multipart/form-data",...t].join("; ")))),E.hasStandardBrowserEnv&&((o=o&&S.isFunction(o)?o(r):o)||!1!==o&&Te(r.url))&&(e=i&&a&&je.read(a))&&s.set(i,e),r},z="undefined"!=typeof XMLHttpRequest&&function(p){return new Promise(function(t,r){let n=Pe(p);var e=n.data,o=x.from(n.headers).normalize();let{responseType:i,onUploadProgress:a,onDownloadProgress:s}=n,l,u,c;function f(){u&&u(),c&&c(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let d=new XMLHttpRequest;function h(){var e;d&&(e=x.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),Se(function(e){t(e),f()},function(e){r(e),f()},{data:i&&"text"!==i&&"json"!==i?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:e,config:p,request:d}),d=null)}d.open(n.method.toUpperCase(),n.url,!0),d.timeout=n.timeout,"onloadend"in d?d.onloadend=h:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(h)},d.onabort=function(){d&&(r(new _("Request aborted",_.ECONNABORTED,p,d)),d=null)},d.onerror=function(){r(new _("Network Error",_.ERR_NETWORK,p,d)),d=null},d.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";var t=n.transitional||pe;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new _(e,t.clarifyTimeoutError?_.ETIMEDOUT:_.ECONNABORTED,p,d)),d=null},void 0===e&&o.setContentType(null),"setRequestHeader"in d&&S.forEach(o.toJSON(),function(e,t){d.setRequestHeader(t,e)}),S.isUndefined(n.withCredentials)||(d.withCredentials=!!n.withCredentials),i&&"json"!==i&&(d.responseType=n.responseType),s&&([o,c]=P(s,!0),d.addEventListener("progress",o)),a&&d.upload&&([o,u]=P(a),d.upload.addEventListener("progress",o),d.upload.addEventListener("loadend",u)),(n.cancelToken||n.signal)&&(l=e=>{d&&(r(!e||e.type?new A(null,p,d):e),d.abort(),d=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal)&&(n.signal.aborted?l():n.signal.addEventListener("abort",l));o=n.url;o=(o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o))&&o[1]||"";o&&-1===E.protocols.indexOf(o)?r(new _("Unsupported protocol "+o+":",_.ERR_BAD_REQUEST,p)):d.send(e||null)})},Ne=(i,a)=>{var s=(i=i?i.filter(Boolean):[]).length;if(a||s){let t=new AbortController,r,n=function(e){r||(r=!0,o(),e=e instanceof Error?e:this.reason,t.abort(e instanceof _?e:new A(e instanceof Error?e.message:e)))},e=a&&setTimeout(()=>{e=null,n(new _(`timeout ${a} of ms exceeded`,_.ETIMEDOUT))},a),o=()=>{i&&(e&&clearTimeout(e),e=null,i.forEach(e=>{e.unsubscribe?e.unsubscribe(n):e.removeEventListener("abort",n)}),i=null)};i.forEach(e=>e.addEventListener("abort",n));s=t.signal;return s.unsubscribe=()=>S.asap(o),s}};let Ce=function*(t,r){var n,o=t.byteLength;if(!r||o<r)yield t;else{let e=0;for(;e<o;)n=e+r,yield t.slice(e,n),e=n}},ke=async function*(e){if(e[Symbol.asyncIterator])yield*e;else{var t=e.getReader();try{for(;;){var{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}}},Ue=(e,t,i,r)=>{let a=async function*(e,t){for await(var r of ke(e))yield*Ce(r,t)}(e,t),s=0,n,l=e=>{n||(n=!0,r&&r(e))};return new ReadableStream({async pull(e){try{var t,r,{done:n,value:o}=await a.next();n?(l(),e.close()):(t=o.byteLength,i&&(r=s+=t,i(r)),e.enqueue(new Uint8Array(o)))}catch(e){throw l(e),e}},cancel(e){return l(e),a.return()}},{highWaterMark:2})};var Le,y="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,V=y&&"function"==typeof ReadableStream;let De=y&&("function"==typeof TextEncoder?(Le=new TextEncoder,e=>Le.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Fe,e=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}};let Be=V&&e(()=>{let e=!1;var t=new Request(E.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ie=V&&e(()=>S.isReadableStream(new Response("").body)),C={stream:Ie&&(e=>e.body)},Me=(y&&(Fe=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(r=>{C[r]||(C[r]=S.isFunction(Fe[r])?e=>e[r]():(e,t)=>{throw new _(`Response type '${r}' is not supported`,_.ERR_NOT_SUPPORT,t)})})),async(e,t)=>{e=S.toFiniteNumber(e.getContentLength());return null==e?(async e=>null==e?0:S.isBlob(e)?e.size:S.isSpecCompliantForm(e)?(await new Request(E.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:S.isArrayBufferView(e)||S.isArrayBuffer(e)?e.byteLength:(S.isURLSearchParams(e)&&(e+=""),S.isString(e)?(await De(e)).byteLength:void 0))(t):e}),qe=y&&(async o=>{let{url:t,method:e,data:i,signal:r,cancelToken:n,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=Pe(o),h=(u=u?(u+"").toLowerCase():"text",Ne([r,n&&n.toAbortSignal()],a)),p,m=h&&h.unsubscribe&&(()=>{h.unsubscribe()}),b;try{if(l&&Be&&"get"!==e&&"head"!==e&&0!==(b=await Me(c,i))){var y,g,v=new Request(t,{method:"POST",body:i,duplex:"half"});let e;S.isFormData(i)&&(e=v.headers.get("content-type"))&&c.setContentType(e),v.body&&([y,g]=_e(b,P(Re(l))),i=Ue(v.body,65536,y,g))}S.isString(f)||(f=f?"include":"omit");var w="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:e.toUpperCase(),headers:c.normalize().toJSON(),body:i,duplex:"half",credentials:w?f:void 0});let n=await fetch(p);var O=Ie&&("stream"===u||"response"===u);if(Ie&&(s||O&&m)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=n[e]});var E=S.toFiniteNumber(n.headers.get("content-length"));let[e,r]=s&&_e(E,P(Re(s),!0))||[];n=new Response(Ue(n.body,65536,e,()=>{r&&r(),m&&m()}),t)}u=u||"text";let r=await C[S.findKey(C,u)||"text"](n,o);return!O&&m&&m(),await new Promise((e,t)=>{Se(e,t,{data:r,headers:x.from(n.headers),status:n.status,statusText:n.statusText,config:o,request:p})})}catch(e){if(m&&m(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new _("Network Error",_.ERR_NETWORK,o,p),{cause:e.cause||e});throw _.from(e,e&&e.code,o,p)}}),Je={http:null,xhr:z,fetch:qe},ze=(S.forEach(Je,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}),e=>"- "+e);var He=r=>{var n,e=(r=S.isArray(r)?r:[r]).length;let o;var i,t,a={};for(let t=0;t<e;t++){n=r[t];let e;if(o=n,i=n,!S.isFunction(i)&&null!==i&&!1!==i&&void 0===(o=Je[(e=String(n)).toLowerCase()]))throw new _(`Unknown adapter '${e}'`);if(o)break;a[e||"#"+t]=o}if(o)return o;throw t=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")),new _("There is no suitable adapter to dispatch the request "+(e?1<t.length?"since :\n"+t.map(ze).join("\n"):" "+ze(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")};Je;function Ve(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new A(null,e)}function We(t){return Ve(t),t.headers=x.from(t.headers),t.data=Oe.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),He(t.adapter||ye.adapter)(t).then(function(e){return Ve(t),e.data=Oe.call(t,t.transformResponse,e),e.headers=x.from(e.headers),e},function(e){return Ee(e)||(Ve(t),e&&e.response&&(e.response.data=Oe.call(t,t.transformResponse,e.response),e.response.headers=x.from(e.response.headers))),Promise.reject(e)})}let Ke={},Ge=(["object","boolean","number","function","string","symbol"].forEach((t,r)=>{Ke[t]=function(e){return typeof e===t||"a"+(r<1?"n ":" ")+t}}),{});Ke.transitional=function(n,o,r){function i(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(e,t,r)=>{if(!1===n)throw new _(i(t," has been removed"+(o?" in "+o:"")),_.ERR_DEPRECATED);return o&&!Ge[t]&&(Ge[t]=!0,console.warn(i(t," has been deprecated since v"+o+" and will be removed in the near future"))),!n||n(e,t,r)}};var $e={assertOptions:function(e,t,r){if("object"!=typeof e)throw new _("options must be an object",_.ERR_BAD_OPTION_VALUE);var n=Object.keys(e);let o=n.length;for(;0<o--;){var i=n[o],a=t[i];if(a){var s=e[i],a=void 0===s||a(s,i,e);if(!0!==a)throw new _("option "+i+" must be "+a,_.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new _("Unknown option "+i,_.ERR_BAD_OPTION)}},validators:Ke};let k=$e.validators;class U{constructor(e){this.defaults=e,this.interceptors={request:new he,response:new he}}async request(r,e){try{return await this._request(r,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;r=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}catch(e){}}throw t}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:r,paramsSerializer:n,headers:o}=t=N(this.defaults,t);void 0!==r&&$e.assertOptions(r,{silentJSONParsing:k.transitional(k.boolean),forcedJSONParsing:k.transitional(k.boolean),clarifyTimeoutError:k.transitional(k.boolean)},!1),null!=n&&(S.isFunction(n)?t.paramsSerializer={serialize:n}:$e.assertOptions(n,{encode:k.function,serialize:k.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();e=o&&S.merge(o.common,o[t.method]);o&&S.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=x.concat(e,o);let i=[],a=!0,s=(this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}),[]);this.interceptors.response.forEach(function(e){s.push(e.fulfilled,e.rejected)});let l,u=0,c;if(a){c=i.length;let e=t;for(u=0;u<c;){var f=i[u++],d=i[u++];try{e=f(e)}catch(e){d.call(this,e);break}}try{l=We.call(this,e)}catch(e){return Promise.reject(e)}for(u=0,c=s.length;u<c;)l=l.then(s[u++],s[u++])}else{var h=[We.bind(this),void 0];for(h.unshift.apply(h,i),h.push.apply(h,s),c=h.length,l=Promise.resolve(t);u<c;)l=l.then(h[u++],h[u++])}return l}getUri(e){return de(xe((e=N(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}S.forEach(["delete","get","head","options"],function(r){U.prototype[r]=function(e,t){return this.request(N(t||{},{method:r,url:e,data:(t||{}).data}))}}),S.forEach(["post","put","patch"],function(o){function e(n){return function(e,t,r){return this.request(N(r||{},{method:o,headers:n?{"Content-Type":"multipart/form-data"}:{},url:e,data:t}))}}U.prototype[o]=e(),U.prototype[o+"Form"]=e(!0)});var L=U;H=class Qe{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let n,o=(this.promise=new Promise(function(e){n=e}),this);this.promise.then(t=>{if(o._listeners){let e=o._listeners.length;for(;0<e--;)o._listeners[e](t);o._listeners=null}}),this.promise.then=e=>{let t;return(e=new Promise(e=>{o.subscribe(e),t=e}).then(e)).cancel=function(){o.unsubscribe(t)},e},e(function(e,t,r){o.reason||(o.reason=new A(e,t,r),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){this._listeners&&-1!==(e=this._listeners.indexOf(e))&&this._listeners.splice(e,1)}toAbortSignal(){let t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new Qe(function(e){t=e}),cancel:t}}};let Xe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xe).forEach(([e,t])=>{Xe[t]=e});n=Xe;b=function t(r){var e=new L(r),n=B(L.prototype.request,e);return S.extend(n,L.prototype,e,{allOwnKeys:!0}),S.extend(n,e,null,{allOwnKeys:!0}),n.create=function(e){return t(N(r,e))},n}(ye);b.Axios=L,b.CanceledError=A,b.CancelToken=H,b.isCancel=Ee,b.VERSION="1.7.7",b.toFormData=O,b.AxiosError=_,b.Cancel=b.CanceledError,b.all=function(e){return Promise.all(e)},b.spread=function(t){return function(e){return t.apply(null,e)}},b.isAxiosError=function(e){return S.isObject(e)&&!0===e.isAxiosError},b.mergeConfig=N,b.AxiosHeaders=x,b.formToJSON=e=>me(S.isHTMLForm(e)?new FormData(e):e),b.getAdapter=He,b.HttpStatusCode=n,D.exports=b.default=b}},n={};function o(e){var t=n[e];return void 0!==t||(t=n[e]={exports:{}},r[e].call(t.exports,t,t.exports,o)),t.exports}o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();o("./index.js")})();
|
1
|
+
(()=>{var r={"./index.js":function(e,t,r){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},o=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},i=this&&this.__spreadArray||function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o<i;o++)!n&&o in t||((n=n||Array.prototype.slice.call(t,0,o))[o]=t[o]);return e.concat(n||Array.prototype.slice.call(t))},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};function s(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=n({},c.default).generateIds();return e.forEach(function(e){return r.dump(e)}),r}function l(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s.apply(void 0,i([],o(e),!1)).die()}function u(t){return new Promise(function(e){return setTimeout(e,t)})}Object.defineProperty(t,"__esModule",{value:!0}),t.ds=s,t.dsq=l,t.sleep=u,t.configure=function(e){var t=e.port,t=void 0===t?9191:t,r=e.host,e=e.autoInvoke,e=void 0!==e&&e,r="http://".concat(void 0===r?"127.0.0.1":r,":").concat(t);CONFIG_LARADUMPS.host=r,CONFIG_LARADUMPS.autoInvokeApp=e},globalThis.ds=s,globalThis.dsd=l,globalThis._sleep=u,globalThis.CONFIG_LARADUMPS={host:"http://127.0.0.1:9191",autoInvokeApp:!1};var c=a(r("./src/LaraDumps.js"));t.default=c.default,globalThis.LaraDumps=c.default},"./src/Benchmark.js":function(e,t){var a=this&&this.__awaiter||function(e,a,s,l){return new(s=s||Promise)(function(r,t){function n(e){try{i(l.next(e))}catch(e){t(e)}}function o(e){try{i(l.throw(e))}catch(e){t(e)}}function i(e){var t;e.done?r(e.value):((t=e.value)instanceof s?t:new s(function(e){e(t)})).then(n,o)}i((l=l.apply(e,a||[])).next())})},s=this&&this.__generator||function(n,o){var i,a,s,l={label:0,sent:function(){if(1&s[0])throw s[1];return s[1]},trys:[],ops:[]},u=Object.create(("function"==typeof Iterator?Iterator:Object).prototype);return u.next=e(0),u.throw=e(1),u.return=e(2),"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function e(r){return function(e){var t=[r,e];if(i)throw new TypeError("Generator is already executing.");for(;l=u&&t[u=0]?0:l;)try{if(i=1,a&&(s=2&t[0]?a.return:t[0]?a.throw||((s=a.return)&&s.call(a),0):a.next)&&!(s=s.call(a,t[1])).done)return s;switch(a=0,(t=s?[2&t[0],s.value]:t)[0]){case 0:case 1:s=t;break;case 4:return l.label++,{value:t[1],done:!1};case 5:l.label++,a=t[1],t=[0];continue;case 7:t=l.ops.pop(),l.trys.pop();continue;default:if(!(s=0<(s=l.trys).length&&s[s.length-1])&&(6===t[0]||2===t[0])){l=0;continue}if(3===t[0]&&(!s||t[1]>s[0]&&t[1]<s[3]))l.label=t[1];else if(6===t[0]&&l.label<s[1])l.label=s[1],s=t;else{if(!(s&&l.label<s[2])){s[2]&&l.ops.pop(),l.trys.pop();continue}l.label=s[2],l.ops.push(t)}}t=o.call(n,l)}catch(e){t=[6,e],a=0}finally{i=s=0}if(5&t[0])throw t[1];return{value:t[0]?t[1]:void 0,done:!0}}}};Object.defineProperty(t,"__esModule",{value:!0}),t.default={promise:null,benchmark:function(){for(var n=this,e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var o=[],i="object"==typeof e[0]?e[0]:e;return this.promise=Promise.all(Object.values(i).map(function(r,e){var t=Object.keys(i)[e];return o[t]={start_time:Date.now(),end_time:null,total_time:null},new Promise(function(t){return a(n,void 0,void 0,function(){return s(this,function(e){switch(e.label){case 0:return[4,r(t)];case 1:return e.sent(),[2]}})})}).finally(function(){o[t].end_time=Date.now(),o[t].total_time=o[t].end_time-o[t].start_time})})).then(function(){return o}).finally(function(){n.sendMarks(o)}),this},sendMarks:function(n){var o={Fastest:[]};return Object.values(n).forEach(function(e,t){var r,t=Object.keys(n)[t];isNaN(parseInt(t))||(t="Closure ".concat(t)),(null!=(r=o.Fastest[1])?r:e.end_time+1)>e.end_time&&(o.Fastest=[t,e.end_time]),o[t]=["Start time: ".concat(new Date(e.start_time).toLocaleString(),"\n End time: ").concat(new Date(e.end_time).toLocaleString(),"\n Total time: ").concat(e.total_time," ms"),e.end_time]}),this.tableV2(o,"Benchmark")}}},"./src/Colors.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={color:function(e){return this.send("color",{color:{color:e}})},info:function(){return this.blue()},success:function(){return this.green()},warning:function(){return this.orange()},danger:function(){return this.red()},red:function(){return this.color("red")},blue:function(){return this.color("blue")},green:function(){return this.color("green")},orange:function(){return this.color("orange")},dark:function(){return this.color("black")}}},"./src/Json.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={json:function(t){try{"string"!=typeof t&&(t=JSON.stringify(t)),this.isValidJson(t)?this.sendJson(t):this.dump(t)}catch(e){return console.warn("Laradumps: Json is not valid",t),this}},isValidJson:function(e){try{JSON.parse(e)}catch(e){return!1}return!0},sendJson:function(e){return e="string"!=typeof e?JSON.stringify(e):e,this.send("json",{json:{string:e,original_content:e}})}}},"./src/Label.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={label:function(e){return this.send("label",{label:{label:e}})}}},"./src/LaraDumps.js":function(e,t,r){var i=this&&this.__assign||function(){return(i=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var o in t=arguments[r])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)},a=this&&this.__read||function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||0<t--)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}},s=(Object.defineProperty(t,"__esModule",{value:!0}),n(r("../node_modules/axios/dist/browser/axios.cjs"))),o=n(r("./src/Benchmark.js")),l=n(r("./src/Colors.js")),u=n(r("./src/Json.js")),c=n(r("./src/Label.js")),f=n(r("./src/Screen.js")),d=n(r("./src/Table.js")),h=n(r("./src/TimeTrack.js")),n=n(r("./src/Validate.js")),r=i(i(i(i(i(i(i(i(i({instanceId:null,requestId:null,server:"http://127.0.0.1:9191/api/dumps",params:[],generateIds:function(){return this.instanceId=this.makeUUID(),this.requestId=this.makeUUID(),this},makeUUID:function(){var r=(new Date).getTime();return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){var t=(r+16*Math.random())%16|0;return r=Math.floor(r/16),("x"==e?t:3&t|8).toString(16)})}},l.default),f.default),c.default),h.default),d.default),u.default),n.default),o.default),{clear:function(){return this.send("clear",{clear:{}})},die:function(){throw new Error("Exception to stop the execution!")},label:function(e){return this.send("label",{label:{label:e}})},dump:function(e){var t=typeof e,r="string"==t&&this.isValidJson(e);if("object"==t&&void 0===(null==e?void 0:e.prototype)||r)this.json(e);else{if("object"!=t)return this.send("dump",{dump:{dump:e,original_content:e,variable_type:t}});console.info("Laradumps: Using JSON object as parameter. Please use `ds.json` if you want to send a JSON object.")}},send:function(e,t){var r,n=this.getStackTrace(),o=n.file?new URL(n.file):null;return s.default.post(this.server,i({id:this.instanceId,request_id:this.requestId,meta:{laradumps_version:"2.0.2.0",auto_invoke_app:null==(r=globalThis.CONFIG_LARADUMPS)?void 0:r.autoInvokeApp},ide_handle:{separator:"/",line:null==n?void 0:n.line,real_path:null!=(r=null==o?void 0:o.pathname)?r:"terminal",class_name:null!=(n=null==o?void 0:o.pathname.split("/").pop())?n:"terminal",project_path:null!=(r=null==o?void 0:o.pathname.split("/").slice(0,-1).join("/"))?r:"terminal"},type:e},t)).catch(function(e){console.error("Erro ao enviar o dump.:",e)}),this},getStackTrace:function(){var e=(new Error).stack,t={stack:e},r=e.split("\n"),n=r[4],o=r.findIndex(function(e){return e.includes("at ds")}),o=(e.includes("[Alpine]")?n=null==(e=(r=r.filter(function(e){return e.includes("[Alpine]")}))[0])?void 0:e.split("),")[0]:o&&(n=null==(e=(r=r.slice(o))[1])?void 0:e.split("),")[0]),null==n?void 0:n.match(/(https?:\/\/.*):(\d+):(\d+)/));return o&&((r=a(o,4))[0],e=r[2],n=r[3],t.file=r[1],t.line=e,t.column=n),t}});t.default=r},"./src/Screen.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={s:function(e){return this.toScreen(e)},w:function(e,t){return this.toScreen(e,t=void 0===t?0:t)},toScreen:function(e,t,r){return this.send("screen",{screen:{screen_name:e,raisen_in:t=void 0===t?0:t,new_window:r=void 0===r?!1:r}})},toScreenWindow:function(e,t){return this.toScreen(e,t=void 0===t?0:t,!0)}}},"./src/Table.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={table:function(e,t){var r=Object.keys(e[0]);return this.send("table",{table:{fields:r,header:r,values:e,label:t}}).label(t)},tableV2:function(e,t){return this.send("table_v2",{table_v2:{label:t,values:e}}).label(t)}}},"./src/TimeTrack.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={time:function(e){return this.send("time_track",{time_track:{tracker_id:this.makeUUID(),time:Date.now()/1e3,label:e}}).label(e)},stopTime:function(e){var t=Date.now()/1e3;return this.send("time_track",{time_track:{time:t,label:e,end_time:t,tracker_id:this.makeUUID()}})}}},"./src/Validate.js":(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default={isJson:function(){return this.send("json_validate",{json_validate:{}})},validate:function(e,t,r,n){return this.send("validate",{validate:{type:e,content:t,is_case_sensitive:r=void 0===r?!1:r,is_whole_word:n=void 0===n?!1:n}})},contains:function(e,t,r){return this.validate("contains",e,t=void 0===t?!1:t,r=void 0===r?!1:r)}}},"../node_modules/axios/dist/browser/axios.cjs":(D,F,e)=>{function B(e,t){return function(){return e.apply(t,arguments)}}let I=Object.prototype.toString,l=Object.getPrototypeOf,r=(t=Object.create(null),e=>{e=I.call(e);return t[e]||(t[e]=e.slice(8,-1).toLowerCase())});var t,n=t=>(t=t.toLowerCase(),e=>r(e)===t),o=t=>e=>typeof e===t;let u=Array.isArray,i=o("undefined");let M=n("ArrayBuffer");var a=o("string");let s=o("function"),q=o("number"),c=e=>null!==e&&"object"==typeof e;let f=e=>{var t;return"object"===r(e)&&!(null!==(t=l(e))&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)};var o=n("Date"),J=n("File"),z=n("Blob"),H=n("FileList"),V=n("URLSearchParams"),[W,d,h,K]=["ReadableStream","Request","Response","Headers"].map(n);function p(t,r,{allOwnKeys:n=!1}={}){if(null!=t){let e;var o;if("object"!=typeof t&&(t=[t]),u(t))for(e=0,o=t.length;e<o;e++)r.call(null,t[e],e,t);else{var i,a=n?Object.getOwnPropertyNames(t):Object.keys(t),s=a.length;for(e=0;e<s;e++)i=a[e],r.call(null,t[i],i,t)}}}function G(e,t){t=t.toLowerCase();var r,n=Object.keys(e);let o=n.length;for(;0<o--;)if(t===(r=n[o]).toLowerCase())return r;return null}let m="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:e.g,$=e=>!i(e)&&e!==m;X="undefined"!=typeof Uint8Array&&l(Uint8Array);var X,Q,e=e=>X&&e instanceof X,b=n("HTMLFormElement"),Z=(Q=[Object.prototype.hasOwnProperty][0],(e,t)=>Q.call(e,t)),y=n("RegExp");let Y=(n,o)=>{var e=Object.getOwnPropertyDescriptors(n);let i={};p(e,(e,t)=>{var r;!1!==(r=o(e,t,n))&&(i[t]=r||e)}),Object.defineProperties(n,i)};var g="abcdefghijklmnopqrstuvwxyz",v="0123456789";let ee={DIGIT:v,ALPHA:g,ALPHA_DIGIT:g+g.toUpperCase()+v};var te,w,g=n("AsyncFunction"),v=(v="function"==typeof setImmediate,re=s(m.postMessage),v?setImmediate:re?(te="axios@"+Math.random(),w=[],m.addEventListener("message",({source:e,data:t})=>{e===m&&t===te&&w.length&&w.shift()()},!1),e=>{w.push(e),m.postMessage(te,"*")}):e=>setTimeout(e)),re="undefined"!=typeof queueMicrotask?queueMicrotask.bind(m):"undefined"!=typeof process&&process.nextTick||v,S={isArray:u,isArrayBuffer:M,isBuffer:function(e){return null!==e&&!i(e)&&null!==e.constructor&&!i(e.constructor)&&s(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{var t;return e&&("function"==typeof FormData&&e instanceof FormData||s(e.append)&&("formdata"===(t=r(e))||"object"===t&&s(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&M(e.buffer)},isString:a,isNumber:q,isBoolean:e=>!0===e||!1===e,isObject:c,isPlainObject:f,isReadableStream:W,isRequest:d,isResponse:h,isHeaders:K,isUndefined:i,isDate:o,isFile:J,isBlob:z,isRegExp:y,isFunction:s,isStream:e=>c(e)&&s(e.pipe),isURLSearchParams:V,isTypedArray:e,isFileList:H,forEach:p,merge:function r(){let n=($(this)&&this||{}).caseless,o={};var i=(e,t)=>{t=n&&G(o,t)||t,f(o[t])&&f(e)?o[t]=r(o[t],e):f(e)?o[t]=r({},e):u(e)?o[t]=e.slice():o[t]=e};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&p(arguments[e],i);return o},extend:(r,e,n,{allOwnKeys:t}={})=>(p(e,(e,t)=>{n&&s(e)?r[t]=B(e,n):r[t]=e},{allOwnKeys:t}),r),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>e=65279===e.charCodeAt(0)?e.slice(1):e,inherits:(e,t,r,n)=>{e.prototype=Object.create(t.prototype,n),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),r&&Object.assign(e.prototype,r)},toFlatObject:(e,t,r,n)=>{var o,i;let a;var s={};if(t=t||{},null!=e)do{for(o=Object.getOwnPropertyNames(e),a=o.length;0<a--;)i=o[a],n&&!n(i,e,t)||s[i]||(t[i]=e[i],s[i]=!0)}while((e=!1!==r&&l(e))&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:r,kindOfTest:n,endsWith:(e,t,r)=>{e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;e=e.indexOf(t,r);return-1!==e&&e===r},toArray:e=>{if(!e)return null;if(u(e))return e;let t=e.length;if(!q(t))return null;for(var r=new Array(t);0<t--;)r[t]=e[t];return r},forEachEntry:(e,t)=>{for(var r=(e&&e[Symbol.iterator]).call(e);(n=r.next())&&!n.done;){var n=n.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{for(var r,n=[];null!==(r=e.exec(t));)n.push(r);return n},isHTMLForm:b,hasOwnProperty:Z,hasOwnProp:Z,reduceDescriptors:Y,freezeMethods:n=>{Y(n,(e,t)=>{if(s(n)&&-1!==["arguments","caller","callee"].indexOf(t))return!1;var r=n[t];s(r)&&(e.enumerable=!1,"writable"in e?e.writable=!1:e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+t+"'")}))})},toObjectSet:(e,t)=>{let r={};var n=e=>{e.forEach(e=>{r[e]=!0})};return u(e)?n(e):n(String(e).split(t)),r},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,r){return t.toUpperCase()+r}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:G,global:m,isContextDefined:$,ALPHABET:ee,generateString:(e=16,t=ee.ALPHA_DIGIT)=>{let r="";for(var n=t.length;e--;)r+=t[Math.random()*n|0];return r},isSpecCompliantForm:function(e){return!!(e&&s(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{let t=new Array(10),o=(e,n)=>{if(c(e)){if(0<=t.indexOf(e))return;if(!("toJSON"in e)){t[n]=e;let r=u(e)?[]:{};return p(e,(e,t)=>{e=o(e,n+1);i(e)||(r[t]=e)}),t[n]=void 0,r}}return e};return o(e,0)},isAsyncFn:g,isThenable:e=>e&&(c(e)||s(e))&&s(e.then)&&s(e.catch),setImmediate:v,asap:re};function _(e,t,r,n,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),r&&(this.config=r),n&&(this.request=n),o&&(this.response=o,this.status=o.status||null)}S.inherits(_,Error,{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:S.toJSONObject(this.config),code:this.code,status:this.status}}});let ne=_.prototype,oe={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{oe[e]={value:e}}),Object.defineProperties(_,oe),Object.defineProperty(ne,"isAxiosError",{value:!0}),_.from=(e,t,r,n,o,i)=>{var a=Object.create(ne);return S.toFlatObject(e,a,function(e){return e!==Error.prototype},e=>"isAxiosError"!==e),_.call(a,e.message,t,r,n,o),a.cause=e,a.name=e.name,i&&Object.assign(a,i),a};function ie(e){return S.isPlainObject(e)||S.isArray(e)}function ae(e){return S.endsWith(e,"[]")?e.slice(0,-2):e}function se(e,t,r){return e?e.concat(t).map(function(e,t){return e=ae(e),!r&&t?"["+e+"]":e}).join(r?".":""):t}let le=S.toFlatObject(S,{},null,function(e){return/^is[A-Z]/.test(e)});function O(e,i,t){if(!S.isObject(e))throw new TypeError("target must be an object");i=i||new FormData;let a=(t=S.toFlatObject(t,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!S.isUndefined(t[e])})).metaTokens,o=t.visitor||n,s=t.dots,l=t.indexes;let r=(t.Blob||"undefined"!=typeof Blob&&Blob)&&S.isSpecCompliantForm(i);if(!S.isFunction(o))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(S.isDate(e))return e.toISOString();if(!r&&S.isBlob(e))throw new _("Blob is not supported. Use a Buffer instead.");return S.isArrayBuffer(e)||S.isTypedArray(e)?r&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function n(e,r,t){let n=e;if(e&&!t&&"object"==typeof e)if(S.endsWith(r,"{}"))r=a?r:r.slice(0,-2),e=JSON.stringify(e);else if(S.isArray(e)&&(o=e,S.isArray(o))&&!o.some(ie)||(S.isFileList(e)||S.endsWith(r,"[]"))&&(n=S.toArray(e)))return r=ae(r),n.forEach(function(e,t){S.isUndefined(e)||null===e||i.append(!0===l?se([r],t,s):null===l?r:r+"[]",u(e))}),!1;var o;return!!ie(e)||(i.append(se(t,r,s),u(e)),!1)}let c=[],f=Object.assign(le,{defaultVisitor:n,convertValue:u,isVisitable:ie});if(S.isObject(e))return function r(e,n){if(!S.isUndefined(e)){if(-1!==c.indexOf(e))throw Error("Circular reference detected in "+n.join("."));c.push(e),S.forEach(e,function(e,t){!0===(!(S.isUndefined(e)||null===e)&&o.call(i,e,S.isString(t)?t.trim():t,n,f))&&r(e,n?n.concat(t):[t])}),c.pop()}}(e),i;throw new TypeError("data must be an object")}function ue(e){let t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function ce(e,t){this._pairs=[],e&&O(e,this,t)}a=ce.prototype;function fe(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function de(t,r,n){if(r){var o=n&&n.encode||fe,i=n&&n.serialize;let e;(e=i?i(r,n):S.isURLSearchParams(r)?r.toString():new ce(r,n).toString(o))&&(-1!==(i=t.indexOf("#"))&&(t=t.slice(0,i)),t+=(-1===t.indexOf("?")?"?":"&")+e)}return t}a.append=function(e,t){this._pairs.push([e,t])};var he=class{constructor(){this.handlers=[]}use(e,t,r){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!r&&r.synchronous,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){S.forEach(this.handlers,function(e){null!==e&&t(e)})}},pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!(a.toString=function(t){let r=t?function(e){return t.call(this,e,ue)}:ue;return this._pairs.map(function(e){return r(e[0])+"="+r(e[1])},"").join("&")})},W={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ce,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},d="undefined"!=typeof window&&"undefined"!=typeof document,h="object"==typeof navigator&&navigator||void 0,K=d&&(!h||["ReactNative","NativeScript","NS"].indexOf(h.product)<0),o="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,J=d&&window.location.href||"http://localhost",E={...Object.freeze({__proto__:null,hasBrowserEnv:d,hasStandardBrowserWebWorkerEnv:o,hasStandardBrowserEnv:K,navigator:h,origin:J}),...W};function me(e){function s(e,t,r,n){var o,i,a;return"__proto__"===(a=e[n++])||(o=Number.isFinite(+a),i=n>=e.length,a=!a&&S.isArray(r)?r.length:a,i?S.hasOwnProp(r,a)?r[a]=[r[a],t]:r[a]=t:(r[a]&&S.isObject(r[a])||(r[a]=[]),s(e,t,r[a],n)&&S.isArray(r[a])&&(r[a]=(e=>{var t={},r=Object.keys(e);let n;var o,i=r.length;for(n=0;n<i;n++)t[o=r[n]]=e[o];return t})(r[a]))),!o)}if(S.isFormData(e)&&S.isFunction(e.entries)){let r={};return S.forEachEntry(e,(e,t)=>{s(S.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0]),t,r,0)}),r}return null}let be={transitional:pe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){var r,n=t.getContentType()||"",o=-1<n.indexOf("application/json"),i=S.isObject(e),a=(i&&S.isHTMLForm(e)&&(e=new FormData(e)),S.isFormData(e));if(a)return o?JSON.stringify(me(e)):e;if(!(S.isArrayBuffer(e)||S.isBuffer(e)||S.isStream(e)||S.isFile(e)||S.isBlob(e)||S.isReadableStream(e))){if(S.isArrayBufferView(e))return e.buffer;if(S.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();if(i){if(-1<n.indexOf("application/x-www-form-urlencoded"))return a=e,r=this.formSerializer,O(a,new E.classes.URLSearchParams,Object.assign({visitor:function(e,t,r,n){return E.isNode&&S.isBuffer(e)?(this.append(t,e.toString("base64")),!1):n.defaultVisitor.apply(this,arguments)}},r)).toString();if((a=S.isFileList(e))||-1<n.indexOf("multipart/form-data"))return O(a?{"files[]":e}:e,(r=this.env&&this.env.FormData)&&new r,this.formSerializer)}if(i||o){t.setContentType("application/json",!1);n=e,a=void 0,i=void 0;if(S.isString(n))try{return(a||JSON.parse)(n),S.trim(n)}catch(e){if("SyntaxError"!==e.name)throw e}return(i||JSON.stringify)(n)}}return e}],transformResponse:[function(e){var t=this.transitional||be.transitional,r=t&&t.forcedJSONParsing,n="json"===this.responseType;if(!S.isResponse(e)&&!S.isReadableStream(e)&&e&&S.isString(e)&&(r&&!this.responseType||n)){r=!(t&&t.silentJSONParsing)&&n;try{return JSON.parse(e)}catch(e){if(r){if("SyntaxError"===e.name)throw _.from(e,_.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:E.classes.FormData,Blob:E.classes.Blob},validateStatus:function(e){return 200<=e&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};S.forEach(["delete","get","head","post","put","patch"],e=>{be.headers[e]={}});var ye=be;let ge=S.toObjectSet(["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"]);let ve=Symbol("internals");function R(e){return e&&String(e).trim().toLowerCase()}function j(e){return!1===e||null==e?e:S.isArray(e)?e.map(j):String(e)}function we(e,t,r,n,o){return S.isFunction(n)?n.call(this,t,r):S.isString(t=o?r:t)&&(S.isString(n)?-1!==t.indexOf(n):S.isRegExp(n)&&n.test(t))}class T{constructor(e){e&&this.set(e)}set(e,t,r){let o=this;function n(e,t,r){var n=R(t);if(!n)throw new Error("header name must be a non-empty string");n=S.findKey(o,n);n&&void 0!==o[n]&&!0!==r&&(void 0!==r||!1===o[n])||(o[n||t]=j(e))}var i=(e,r)=>S.forEach(e,(e,t)=>n(e,t,r));if(S.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(S.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{let t={},r,n,o;return e&&e.split("\n").forEach(function(e){o=e.indexOf(":"),r=e.substring(0,o).trim().toLowerCase(),n=e.substring(o+1).trim(),!r||t[r]&&ge[r]||("set-cookie"===r?t[r]?t[r].push(n):t[r]=[n]:t[r]=t[r]?t[r]+", "+n:n)}),t})(e),t);else if(S.isHeaders(e))for(var[a,s]of e.entries())n(s,a,r);else null!=e&&n(t,e,r);return this}get(e,t){if(e=R(e)){e=S.findKey(this,e);if(e){var r=this[e];if(!t)return r;if(!0===t){for(var n,o=r,i=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;n=a.exec(o);)i[n[1]]=n[2];return i}if(S.isFunction(t))return t.call(this,r,e);if(S.isRegExp(t))return t.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){return!!(e=R(e))&&!(!(e=S.findKey(this,e))||void 0===this[e]||t&&!we(0,this[e],e,t))}delete(e,t){let r=this,n=!1;function o(e){(e=R(e))&&(e=S.findKey(r,e))&&(!t||we(r,r[e],e,t))&&(delete r[e],n=!0)}return S.isArray(e)?e.forEach(o):o(e),n}clear(e){var t=Object.keys(this);let r=t.length,n=!1;for(;r--;){var o=t[r];e&&!we(0,this[o],o,e,!0)||(delete this[o],n=!0)}return n}normalize(n){let o=this,i={};return S.forEach(this,(e,t)=>{var r=S.findKey(i,t);r?(o[r]=j(e),delete o[t]):((r=n?t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,r)=>t.toUpperCase()+r):String(t).trim())!==t&&delete o[t],o[r]=j(e),i[r]=!0)}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(r){let n=Object.create(null);return S.forEach(this,(e,t)=>{null!=e&&!1!==e&&(n[t]=r&&S.isArray(e)?e.join(", "):e)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){let r=new this(e);return t.forEach(e=>r.set(e)),r}static accessor(e){let n=(this[ve]=this[ve]={accessors:{}}).accessors,i=this.prototype;function t(t){var e=R(t);if(!n[e]){{var r=i;var o=t;let e=S.toCamelCase(" "+o);["get","set","has"].forEach(n=>{Object.defineProperty(r,n+e,{value:function(e,t,r){return this[n].call(this,o,e,t,r)},configurable:!0})})}n[e]=!0}}return S.isArray(e)?e.forEach(t):t(e),this}}T.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),S.reduceDescriptors(T.prototype,({value:e},t)=>{let r=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[r]=e}}}),S.freezeMethods(T);var x=T;function Oe(e,t){let r=this||ye;var n=t||r;let o=x.from(n.headers),i=n.data;return S.forEach(e,function(e){i=e.call(r,i,o.normalize(),t?t.status:void 0)}),o.normalize(),i}function Ee(e){return!(!e||!e.__CANCEL__)}function A(e,t,r){_.call(this,null==e?"canceled":e,_.ERR_CANCELED,t,r),this.name="CanceledError"}function Se(e,t,r){var n=r.config.validateStatus;r.status&&n&&!n(r.status)?t(new _("Request failed with status code "+r.status,[_.ERR_BAD_REQUEST,_.ERR_BAD_RESPONSE][Math.floor(r.status/100)-4],r.config,r.request,r)):e(r)}S.inherits(A,_,{__CANCEL__:!0});let P=(l,u,e=3)=>{let c=0,f=((i,a)=>{i=i||10;let s=new Array(i),l=new Array(i),u=0,c=0,f;return a=void 0!==a?a:1e3,function(e){var t=Date.now(),r=l[c];f=f||t,s[u]=e,l[u]=t;let n=c,o=0;for(;n!==u;)o+=s[n++],n%=i;return(u=(u+1)%i)===c&&(c=(c+1)%i),!(t-f<a)&&(e=r&&t-r)?Math.round(1e3*o/e):void 0}})(50,250);{var r=e=>{var t=e.loaded,r=e.lengthComputable?e.total:void 0,n=t-c,o=f(n),i=t<=r,n={loaded:c=t,total:r,progress:r?t/r:void 0,bytes:n,rate:o||void 0,estimated:o&&r&&i?(r-t)/o:void 0,event:e,lengthComputable:null!=r,[u?"download":"upload"]:!0};l(n)};let n=0,o=1e3/e,i,a,s=(e,t=Date.now())=>{n=t,i=null,a&&(clearTimeout(a),a=null),r.apply(null,e)};return[(...e)=>{var t=Date.now(),r=t-n;r>=o?s(e,t):(i=e,a=a||setTimeout(()=>{a=null,s(i)},o-r))},()=>i&&s(i)]}},_e=(t,r)=>{let n=null!=t;return[e=>r[0]({lengthComputable:n,total:t,loaded:e}),r[1]]},Re=t=>(...e)=>S.asap(()=>t(...e));var je=E.hasStandardBrowserEnv?(()=>{let r=E.navigator&&/(msie|trident)/i.test(E.navigator.userAgent),n=document.createElement("a"),t;function o(e){let t=e;return r&&(n.setAttribute("href",t),t=n.href),n.setAttribute("href",t),{href:n.href,protocol:n.protocol?n.protocol.replace(/:$/,""):"",host:n.host,search:n.search?n.search.replace(/^\?/,""):"",hash:n.hash?n.hash.replace(/^#/,""):"",hostname:n.hostname,port:n.port,pathname:"/"===n.pathname.charAt(0)?n.pathname:"/"+n.pathname}}return t=o(window.location.href),function(e){e=S.isString(e)?o(e):e;return e.protocol===t.protocol&&e.host===t.host}})():function(){return!0},Te=E.hasStandardBrowserEnv?{write(e,t,r,n,o,i){e=[e+"="+encodeURIComponent(t)];S.isNumber(r)&&e.push("expires="+new Date(r).toGMTString()),S.isString(n)&&e.push("path="+n),S.isString(o)&&e.push("domain="+o),!0===i&&e.push("secure"),document.cookie=e.join("; ")},read(e){e=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function xe(e,t){var r;return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?(e=e,(r=t)?e.replace(/\/?\/$/,"")+"/"+r.replace(/^\/+/,""):e):t}let Ae=e=>e instanceof x?{...e}:e;function N(n,o){o=o||{};let i={};function a(e,t,r){return S.isPlainObject(e)&&S.isPlainObject(t)?S.merge.call({caseless:r},e,t):S.isPlainObject(t)?S.merge({},t):S.isArray(t)?t.slice():t}function s(e,t,r){return S.isUndefined(t)?S.isUndefined(e)?void 0:a(void 0,e,r):a(e,t,r)}function e(e,t){if(!S.isUndefined(t))return a(void 0,t)}function t(e,t){return S.isUndefined(t)?S.isUndefined(e)?void 0:a(void 0,e):a(void 0,t)}function l(e,t,r){return r in o?a(e,t):r in n?a(void 0,e):void 0}let u={url:e,method:e,data:e,baseURL:t,transformRequest:t,transformResponse:t,paramsSerializer:t,timeout:t,timeoutMessage:t,withCredentials:t,withXSRFToken:t,adapter:t,responseType:t,xsrfCookieName:t,xsrfHeaderName:t,onUploadProgress:t,onDownloadProgress:t,decompress:t,maxContentLength:t,maxBodyLength:t,beforeRedirect:t,transport:t,httpAgent:t,httpsAgent:t,cancelToken:t,socketPath:t,responseEncoding:t,validateStatus:l,headers:(e,t)=>s(Ae(e),Ae(t),!0)};return S.forEach(Object.keys(Object.assign({},n,o)),function(e){var t=u[e]||s,r=t(n[e],o[e],e);S.isUndefined(r)&&t!==l||(i[e]=r)}),i}var Pe=e=>{var t,r=N({},e);let{data:n,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:a,headers:s,auth:l}=r;return r.headers=s=x.from(s),r.url=de(xe(r.baseURL,r.url),e.params,e.paramsSerializer),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),S.isFormData(n)&&(E.hasStandardBrowserEnv||E.hasStandardBrowserWebWorkerEnv?s.setContentType(void 0):!1!==(e=s.getContentType())&&([e,...t]=e?e.split(";").map(e=>e.trim()).filter(Boolean):[],s.setContentType([e||"multipart/form-data",...t].join("; ")))),E.hasStandardBrowserEnv&&((o=o&&S.isFunction(o)?o(r):o)||!1!==o&&je(r.url))&&(e=i&&a&&Te.read(a))&&s.set(i,e),r},z="undefined"!=typeof XMLHttpRequest&&function(p){return new Promise(function(t,r){let n=Pe(p);var e=n.data,o=x.from(n.headers).normalize();let{responseType:i,onUploadProgress:a,onDownloadProgress:s}=n,l,u,c;function f(){u&&u(),c&&c(),n.cancelToken&&n.cancelToken.unsubscribe(l),n.signal&&n.signal.removeEventListener("abort",l)}let d=new XMLHttpRequest;function h(){var e;d&&(e=x.from("getAllResponseHeaders"in d&&d.getAllResponseHeaders()),Se(function(e){t(e),f()},function(e){r(e),f()},{data:i&&"text"!==i&&"json"!==i?d.response:d.responseText,status:d.status,statusText:d.statusText,headers:e,config:p,request:d}),d=null)}d.open(n.method.toUpperCase(),n.url,!0),d.timeout=n.timeout,"onloadend"in d?d.onloadend=h:d.onreadystatechange=function(){d&&4===d.readyState&&(0!==d.status||d.responseURL&&0===d.responseURL.indexOf("file:"))&&setTimeout(h)},d.onabort=function(){d&&(r(new _("Request aborted",_.ECONNABORTED,p,d)),d=null)},d.onerror=function(){r(new _("Network Error",_.ERR_NETWORK,p,d)),d=null},d.ontimeout=function(){let e=n.timeout?"timeout of "+n.timeout+"ms exceeded":"timeout exceeded";var t=n.transitional||pe;n.timeoutErrorMessage&&(e=n.timeoutErrorMessage),r(new _(e,t.clarifyTimeoutError?_.ETIMEDOUT:_.ECONNABORTED,p,d)),d=null},void 0===e&&o.setContentType(null),"setRequestHeader"in d&&S.forEach(o.toJSON(),function(e,t){d.setRequestHeader(t,e)}),S.isUndefined(n.withCredentials)||(d.withCredentials=!!n.withCredentials),i&&"json"!==i&&(d.responseType=n.responseType),s&&([o,c]=P(s,!0),d.addEventListener("progress",o)),a&&d.upload&&([o,u]=P(a),d.upload.addEventListener("progress",o),d.upload.addEventListener("loadend",u)),(n.cancelToken||n.signal)&&(l=e=>{d&&(r(!e||e.type?new A(null,p,d):e),d.abort(),d=null)},n.cancelToken&&n.cancelToken.subscribe(l),n.signal)&&(n.signal.aborted?l():n.signal.addEventListener("abort",l));o=n.url;o=(o=/^([-+\w]{1,25})(:?\/\/|:)/.exec(o))&&o[1]||"";o&&-1===E.protocols.indexOf(o)?r(new _("Unsupported protocol "+o+":",_.ERR_BAD_REQUEST,p)):d.send(e||null)})},Ne=(i,a)=>{var s=(i=i?i.filter(Boolean):[]).length;if(a||s){let t=new AbortController,r,n=function(e){r||(r=!0,o(),e=e instanceof Error?e:this.reason,t.abort(e instanceof _?e:new A(e instanceof Error?e.message:e)))},e=a&&setTimeout(()=>{e=null,n(new _(`timeout ${a} of ms exceeded`,_.ETIMEDOUT))},a),o=()=>{i&&(e&&clearTimeout(e),e=null,i.forEach(e=>{e.unsubscribe?e.unsubscribe(n):e.removeEventListener("abort",n)}),i=null)};i.forEach(e=>e.addEventListener("abort",n));s=t.signal;return s.unsubscribe=()=>S.asap(o),s}};let Ce=function*(t,r){var n,o=t.byteLength;if(!r||o<r)yield t;else{let e=0;for(;e<o;)n=e+r,yield t.slice(e,n),e=n}},ke=async function*(e){if(e[Symbol.asyncIterator])yield*e;else{var t=e.getReader();try{for(;;){var{done:r,value:n}=await t.read();if(r)break;yield n}}finally{await t.cancel()}}},Ue=(e,t,i,r)=>{let a=async function*(e,t){for await(var r of ke(e))yield*Ce(r,t)}(e,t),s=0,n,l=e=>{n||(n=!0,r&&r(e))};return new ReadableStream({async pull(e){try{var t,r,{done:n,value:o}=await a.next();n?(l(),e.close()):(t=o.byteLength,i&&(r=s+=t,i(r)),e.enqueue(new Uint8Array(o)))}catch(e){throw l(e),e}},cancel(e){return l(e),a.return()}},{highWaterMark:2})};var Le,y="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,V=y&&"function"==typeof ReadableStream;let De=y&&("function"==typeof TextEncoder?(Le=new TextEncoder,e=>Le.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Fe,e=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}};let Be=V&&e(()=>{let e=!1;var t=new Request(E.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Ie=V&&e(()=>S.isReadableStream(new Response("").body)),C={stream:Ie&&(e=>e.body)},Me=(y&&(Fe=new Response,["text","arrayBuffer","blob","formData","stream"].forEach(r=>{C[r]||(C[r]=S.isFunction(Fe[r])?e=>e[r]():(e,t)=>{throw new _(`Response type '${r}' is not supported`,_.ERR_NOT_SUPPORT,t)})})),async(e,t)=>{e=S.toFiniteNumber(e.getContentLength());return null==e?(async e=>null==e?0:S.isBlob(e)?e.size:S.isSpecCompliantForm(e)?(await new Request(E.origin,{method:"POST",body:e}).arrayBuffer()).byteLength:S.isArrayBufferView(e)||S.isArrayBuffer(e)?e.byteLength:(S.isURLSearchParams(e)&&(e+=""),S.isString(e)?(await De(e)).byteLength:void 0))(t):e}),qe=y&&(async o=>{let{url:t,method:e,data:i,signal:r,cancelToken:n,timeout:a,onDownloadProgress:s,onUploadProgress:l,responseType:u,headers:c,withCredentials:f="same-origin",fetchOptions:d}=Pe(o),h=(u=u?(u+"").toLowerCase():"text",Ne([r,n&&n.toAbortSignal()],a)),p,m=h&&h.unsubscribe&&(()=>{h.unsubscribe()}),b;try{if(l&&Be&&"get"!==e&&"head"!==e&&0!==(b=await Me(c,i))){var y,g,v=new Request(t,{method:"POST",body:i,duplex:"half"});let e;S.isFormData(i)&&(e=v.headers.get("content-type"))&&c.setContentType(e),v.body&&([y,g]=_e(b,P(Re(l))),i=Ue(v.body,65536,y,g))}S.isString(f)||(f=f?"include":"omit");var w="credentials"in Request.prototype;p=new Request(t,{...d,signal:h,method:e.toUpperCase(),headers:c.normalize().toJSON(),body:i,duplex:"half",credentials:w?f:void 0});let n=await fetch(p);var O=Ie&&("stream"===u||"response"===u);if(Ie&&(s||O&&m)){let t={};["status","statusText","headers"].forEach(e=>{t[e]=n[e]});var E=S.toFiniteNumber(n.headers.get("content-length"));let[e,r]=s&&_e(E,P(Re(s),!0))||[];n=new Response(Ue(n.body,65536,e,()=>{r&&r(),m&&m()}),t)}u=u||"text";let r=await C[S.findKey(C,u)||"text"](n,o);return!O&&m&&m(),await new Promise((e,t)=>{Se(e,t,{data:r,headers:x.from(n.headers),status:n.status,statusText:n.statusText,config:o,request:p})})}catch(e){if(m&&m(),e&&"TypeError"===e.name&&/fetch/i.test(e.message))throw Object.assign(new _("Network Error",_.ERR_NETWORK,o,p),{cause:e.cause||e});throw _.from(e,e&&e.code,o,p)}}),Je={http:null,xhr:z,fetch:qe},ze=(S.forEach(Je,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}),e=>"- "+e);var He=r=>{var n,e=(r=S.isArray(r)?r:[r]).length;let o;var i,t,a={};for(let t=0;t<e;t++){n=r[t];let e;if(o=n,i=n,!S.isFunction(i)&&null!==i&&!1!==i&&void 0===(o=Je[(e=String(n)).toLowerCase()]))throw new _(`Unknown adapter '${e}'`);if(o)break;a[e||"#"+t]=o}if(o)return o;throw t=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")),new _("There is no suitable adapter to dispatch the request "+(e?1<t.length?"since :\n"+t.map(ze).join("\n"):" "+ze(t[0]):"as no adapter specified"),"ERR_NOT_SUPPORT")};Je;function Ve(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new A(null,e)}function We(t){return Ve(t),t.headers=x.from(t.headers),t.data=Oe.call(t,t.transformRequest),-1!==["post","put","patch"].indexOf(t.method)&&t.headers.setContentType("application/x-www-form-urlencoded",!1),He(t.adapter||ye.adapter)(t).then(function(e){return Ve(t),e.data=Oe.call(t,t.transformResponse,e),e.headers=x.from(e.headers),e},function(e){return Ee(e)||(Ve(t),e&&e.response&&(e.response.data=Oe.call(t,t.transformResponse,e.response),e.response.headers=x.from(e.response.headers))),Promise.reject(e)})}let Ke={},Ge=(["object","boolean","number","function","string","symbol"].forEach((t,r)=>{Ke[t]=function(e){return typeof e===t||"a"+(r<1?"n ":" ")+t}}),{});Ke.transitional=function(n,o,r){function i(e,t){return"[Axios v1.7.7] Transitional option '"+e+"'"+t+(r?". "+r:"")}return(e,t,r)=>{if(!1===n)throw new _(i(t," has been removed"+(o?" in "+o:"")),_.ERR_DEPRECATED);return o&&!Ge[t]&&(Ge[t]=!0,console.warn(i(t," has been deprecated since v"+o+" and will be removed in the near future"))),!n||n(e,t,r)}};var $e={assertOptions:function(e,t,r){if("object"!=typeof e)throw new _("options must be an object",_.ERR_BAD_OPTION_VALUE);var n=Object.keys(e);let o=n.length;for(;0<o--;){var i=n[o],a=t[i];if(a){var s=e[i],a=void 0===s||a(s,i,e);if(!0!==a)throw new _("option "+i+" must be "+a,_.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new _("Unknown option "+i,_.ERR_BAD_OPTION)}},validators:Ke};let k=$e.validators;class U{constructor(e){this.defaults=e,this.interceptors={request:new he,response:new he}}async request(r,e){try{return await this._request(r,e)}catch(t){if(t instanceof Error){let e;Error.captureStackTrace?Error.captureStackTrace(e={}):e=new Error;r=e.stack?e.stack.replace(/^.+\n/,""):"";try{t.stack?r&&!String(t.stack).endsWith(r.replace(/^.+\n.+\n/,""))&&(t.stack+="\n"+r):t.stack=r}catch(e){}}throw t}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{};let{transitional:r,paramsSerializer:n,headers:o}=t=N(this.defaults,t);void 0!==r&&$e.assertOptions(r,{silentJSONParsing:k.transitional(k.boolean),forcedJSONParsing:k.transitional(k.boolean),clarifyTimeoutError:k.transitional(k.boolean)},!1),null!=n&&(S.isFunction(n)?t.paramsSerializer={serialize:n}:$e.assertOptions(n,{encode:k.function,serialize:k.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();e=o&&S.merge(o.common,o[t.method]);o&&S.forEach(["delete","get","head","post","put","patch","common"],e=>{delete o[e]}),t.headers=x.concat(e,o);let i=[],a=!0,s=(this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,i.unshift(e.fulfilled,e.rejected))}),[]);this.interceptors.response.forEach(function(e){s.push(e.fulfilled,e.rejected)});let l,u=0,c;if(a){c=i.length;let e=t;for(u=0;u<c;){var f=i[u++],d=i[u++];try{e=f(e)}catch(e){d.call(this,e);break}}try{l=We.call(this,e)}catch(e){return Promise.reject(e)}for(u=0,c=s.length;u<c;)l=l.then(s[u++],s[u++])}else{var h=[We.bind(this),void 0];for(h.unshift.apply(h,i),h.push.apply(h,s),c=h.length,l=Promise.resolve(t);u<c;)l=l.then(h[u++],h[u++])}return l}getUri(e){return de(xe((e=N(this.defaults,e)).baseURL,e.url),e.params,e.paramsSerializer)}}S.forEach(["delete","get","head","options"],function(r){U.prototype[r]=function(e,t){return this.request(N(t||{},{method:r,url:e,data:(t||{}).data}))}}),S.forEach(["post","put","patch"],function(o){function e(n){return function(e,t,r){return this.request(N(r||{},{method:o,headers:n?{"Content-Type":"multipart/form-data"}:{},url:e,data:t}))}}U.prototype[o]=e(),U.prototype[o+"Form"]=e(!0)});var L=U;H=class Qe{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let n,o=(this.promise=new Promise(function(e){n=e}),this);this.promise.then(t=>{if(o._listeners){let e=o._listeners.length;for(;0<e--;)o._listeners[e](t);o._listeners=null}}),this.promise.then=e=>{let t;return(e=new Promise(e=>{o.subscribe(e),t=e}).then(e)).cancel=function(){o.unsubscribe(t)},e},e(function(e,t,r){o.reason||(o.reason=new A(e,t,r),n(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){this._listeners&&-1!==(e=this._listeners.indexOf(e))&&this._listeners.splice(e,1)}toAbortSignal(){let t=new AbortController,e=e=>{t.abort(e)};return this.subscribe(e),t.signal.unsubscribe=()=>this.unsubscribe(e),t.signal}static source(){let t;return{token:new Qe(function(e){t=e}),cancel:t}}};let Xe={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Xe).forEach(([e,t])=>{Xe[t]=e});n=Xe;b=function t(r){var e=new L(r),n=B(L.prototype.request,e);return S.extend(n,L.prototype,e,{allOwnKeys:!0}),S.extend(n,e,null,{allOwnKeys:!0}),n.create=function(e){return t(N(r,e))},n}(ye);b.Axios=L,b.CanceledError=A,b.CancelToken=H,b.isCancel=Ee,b.VERSION="1.7.7",b.toFormData=O,b.AxiosError=_,b.Cancel=b.CanceledError,b.all=function(e){return Promise.all(e)},b.spread=function(t){return function(e){return t.apply(null,e)}},b.isAxiosError=function(e){return S.isObject(e)&&!0===e.isAxiosError},b.mergeConfig=N,b.AxiosHeaders=x,b.formToJSON=e=>me(S.isHTMLForm(e)?new FormData(e):e),b.getAdapter=He,b.HttpStatusCode=n,D.exports=b.default=b}},n={};function o(e){var t=n[e];return void 0!==t||(t=n[e]={exports:{}},r[e].call(t.exports,t,t.exports,o)),t.exports}o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}();o("./index.js")})();
|
package/index.d.ts
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
import { _LaraDumps } from "./types";
|
2
2
|
|
3
3
|
declare module 'laradumps-js' {
|
4
|
+
export function configure(config: { port?: number; host?: string; autoInvoke?: boolean }): void;
|
4
5
|
export function ds(...params): _LaraDumps;
|
5
6
|
export function dsq(...params): _LaraDumps;
|
6
7
|
export default _LaraDumps;
|
package/index.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
export function ds(...params) {
|
2
2
|
const instance = {...LaraDumps}.generateIds();
|
3
|
-
|
3
|
+
|
4
4
|
params.forEach((param) => instance.dump(param));
|
5
5
|
|
6
6
|
return instance;
|
@@ -16,12 +16,13 @@ export function sleep(ms) {
|
|
16
16
|
|
17
17
|
export function configure({
|
18
18
|
port = 9191,
|
19
|
-
|
20
|
-
|
19
|
+
host = '127.0.0.1',
|
20
|
+
autoInvoke = false,
|
21
21
|
}) {
|
22
|
-
let server = `http://${
|
23
|
-
|
24
|
-
|
22
|
+
let server = `http://${host}:${port}`;
|
23
|
+
|
24
|
+
CONFIG_LARADUMPS.host = server;
|
25
|
+
CONFIG_LARADUMPS.autoInvokeApp = autoInvoke;
|
25
26
|
}
|
26
27
|
|
27
28
|
globalThis.ds = ds;
|
@@ -36,4 +37,4 @@ globalThis.CONFIG_LARADUMPS = {
|
|
36
37
|
import LaraDumps from "./src/LaraDumps";
|
37
38
|
export default LaraDumps;
|
38
39
|
|
39
|
-
globalThis.LaraDumps = LaraDumps;
|
40
|
+
globalThis.LaraDumps = LaraDumps;
|
package/package.json
CHANGED
package/types.d.ts
CHANGED
@@ -39,12 +39,12 @@ export interface _Screen {
|
|
39
39
|
toScreenWindow(screenName: string, screenRaisenIn: number): _LaraDumps
|
40
40
|
}
|
41
41
|
|
42
|
-
export
|
42
|
+
export interface _Benchmark extends _TimeTrack {
|
43
43
|
benchmark(...params): _LaraDumps;
|
44
44
|
sendMarks(marks: any[]): _LaraDumps;
|
45
|
-
}
|
45
|
+
}
|
46
46
|
|
47
|
-
export
|
47
|
+
export interface _LaraDumps extends _Benchmark, _Colors, _Screen, _Label, _Table, _Validate {
|
48
48
|
instanceId: string | null;
|
49
49
|
requestId: string | null;
|
50
50
|
|
@@ -61,4 +61,4 @@ export type _LaraDumps = {
|
|
61
61
|
dump(param: any): _LaraDumps;
|
62
62
|
label(label: string): _LaraDumps;
|
63
63
|
send(type: string, data: object): _LaraDumps;
|
64
|
-
}
|
64
|
+
}
|