/**
 * Skipped minification because the original files appears to be already minified.
 * Original file: /npm/axios-api-profiler@1.1.2/dist/index.js
 *
 * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files
 */
module.exports=function(e){var n={};function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var i in e)t.d(r,i,function(n){return e[n]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},t.p="",t(t.s=3)}([function(e,n){e.exports=function(e,n){if(!(e instanceof n))throw new TypeError("Cannot call a class as a function")}},function(e,n){e.exports=function(e,n,t){return n in e?Object.defineProperty(e,n,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[n]=t,e}},function(e,n){function t(e,n){for(var t=0;t<n.length;t++){var r=n[t];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}e.exports=function(e,n,r){return n&&t(e.prototype,n),r&&t(e,r),e}},function(e,n,t){"use strict";t.r(n),t.d(n,"APIProfiler",(function(){return a})),t.d(n,"defaultApiProfilerInstance",(function(){return l})),t.d(n,"axiosRequestProfiler",(function(){return g})),t.d(n,"getAPIProfileRecords",(function(){return p}));var r=t(0),i=t.n(r),o=t(1),u=t.n(o),c=t(2),f=t.n(c),s=function(){function e(){i()(this,e),this.requestDictionary={},this.index=1}return f()(e,[{key:"getRegister",value:function(){return this.requestDictionary}},{key:"addAPIForProfiling",value:function(e){var n=this.index++,t={startTime:new Date,endTime:-1};return e.reqID=n,this.requestDictionary[n]=t,this.requestDictionary[n]}},{key:"completeApiProfiling",value:function(e){if(e.config.reqID){var n=e.config.reqID;return this.requestDictionary[n].endTime=new Date,this.requestDictionary[n].config=e,this.requestDictionary[n]}return null}}]),e}(),a=function e(){var n=this;i()(this,e),u()(this,"getAPIProfileData",(function(){return n.registerInstance.getRegister()})),u()(this,"responseProfilingCollector",(function(e){if(!e.config.ignoreApiProfiling){var t=n.registerInstance.completeApiProfiling(e);e.config.ignoreApiProfilingLogs||(t?console.log("%c Request Profile:","color: #4CAF50; font-weight: bold"," ".concat(t.config.config.url," [").concat(t.config.status,"] took ").concat(t.endTime-t.startTime," ms")):console.log("No Profiling Data"))}return e})),u()(this,"requestProfilingMarker",(function(e){return e.ignoreApiProfiling||n.registerInstance.addAPIForProfiling(e),e})),this.registerInstance=new s},l=new a,g=function(e){e.interceptors.request.use(l.requestProfilingMarker),e.interceptors.response.use(l.responseProfilingCollector)},p=l.getAPIProfileData();n.default=g}]);