var m=Object.create;var r=Object.defineProperty;var v=Object.getOwnPropertyDescriptor;var x=Object.getOwnPropertyNames;var l=Object.getPrototypeOf,P=Object.prototype.hasOwnProperty;var u=(t,e)=>{for(var o in e)r(t,o,{get:e[o],enumerable:!0})},p=(t,e,o,i)=>{if(e&&typeof e=="object"||typeof e=="function")for(let n of x(e))!P.call(t,n)&&n!==o&&r(t,n,{get:()=>e[n],enumerable:!(i=v(e,n))||i.enumerable});return t};var b=(t,e,o)=>(o=t!=null?m(l(t)):{},p(e||!t||!t.__esModule?r(o,"default",{value:t,enumerable:!0}):o,t)),h=t=>p(r({},"__esModule",{value:!0}),t);var f={};u(f,{getClientDetails:()=>C});module.exports=h(f);var c=b(require("axios"),1);var a=require("react"),k=require("react/jsx-runtime"),D=(0,a.createContext)(void 0),s="production";var d=s==="development"?"https://qa-api-v2.bandit.network/sdk":"https://api-v2.bandit.network/sdk";var C=async t=>{try{return(await c.default.get(`${d}/consumer`,{headers:{"X-API-KEY":t}})).data}catch(e){return{}}};0&&(module.exports={getClientDetails});
