"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const l=require("./index.cjs235.js"),m=require("./index.cjs272.js"),S=require("./index.cjs273.js"),h=require("./index.cjs274.js"),f=require("./index.cjs275.js");var t=l.utils,c=m.normalizeHeaderName,y=S.enhanceError,g=h.transitional,N={"Content-Type":"application/x-www-form-urlencoded"};function u(r,e){!t.isUndefined(r)&&t.isUndefined(r["Content-Type"])&&(r["Content-Type"]=e)}function E(){var r;return(typeof XMLHttpRequest<"u"||typeof process<"u"&&Object.prototype.toString.call(process)==="[object process]")&&(r=f.__require()),r}function v(r,e,n){if(t.isString(r))try{return(e||JSON.parse)(r),t.trim(r)}catch(i){if(i.name!=="SyntaxError")throw i}return(n||JSON.stringify)(r)}var o={transitional:g,adapter:E(),transformRequest:[function(e,n){return c(n,"Accept"),c(n,"Content-Type"),t.isFormData(e)||t.isArrayBuffer(e)||t.isBuffer(e)||t.isStream(e)||t.isFile(e)||t.isBlob(e)?e:t.isArrayBufferView(e)?e.buffer:t.isURLSearchParams(e)?(u(n,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):t.isObject(e)||n&&n["Content-Type"]==="application/json"?(u(n,"application/json"),v(e)):e}],transformResponse:[function(e){var n=this.transitional||o.transitional,i=n&&n.silentJSONParsing,p=n&&n.forcedJSONParsing,a=!i&&this.responseType==="json";if(a||p&&t.isString(e)&&e.length)try{return JSON.parse(e)}catch(s){if(a)throw s.name==="SyntaxError"?y(s,this,"E_JSON_PARSE"):s}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};t.forEach(["delete","get","head"],function(e){o.headers[e]={}});t.forEach(["post","put","patch"],function(e){o.headers[e]=t.merge(N)});var O=o;exports.defaults_1=O;
//# sourceMappingURL=index.cjs239.js.map
