"use strict";const w=require("./index.cjs236.js"),s=require("./index.cjs238.js"),c={};["object","boolean","number","function","string","symbol"].forEach((n,t)=>{c[n]=function(r){return typeof r===n||"a"+(t<1?"n ":" ")+n}});const f={};c.transitional=function(t,i,r){function a(o,e){return"[Axios v"+w.VERSION+"] Transitional option '"+o+"'"+e+(r?". "+r:"")}return(o,e,u)=>{if(t===!1)throw new s(a(e," has been removed"+(i?" in "+i:"")),s.ERR_DEPRECATED);return i&&!f[e]&&(f[e]=!0,console.warn(a(e," has been deprecated since v"+i+" and will be removed in the near future"))),t?t(o,e,u):!0}};c.spelling=function(t){return(i,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function b(n,t,i){if(typeof n!="object")throw new s("options must be an object",s.ERR_BAD_OPTION_VALUE);const r=Object.keys(n);let a=r.length;for(;a-- >0;){const o=r[a],e=t[o];if(e){const u=n[o],l=u===void 0||e(u,o,n);if(l!==!0)throw new s("option "+o+" must be "+l,s.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new s("Unknown option "+o,s.ERR_BAD_OPTION)}}const E={assertOptions:b,validators:c};module.exports=E;
//# sourceMappingURL=index.cjs307.js.map
