import{useEffect as p}from"react";import a from"posthog-js";function n(t){let e={api_host:"https://logger.bandit.network"};a.init(t,e)}import{useContext as d}from"react";import{createContext as c,useCallback as G,useEffect as H,useState as J}from"react";import _ from"axios";import{createContext as s,useMemo as g}from"react";import{jsx as w}from"react/jsx-runtime";var k=s(void 0);import{jsx as V,jsxs as W}from"react/jsx-runtime";import{jsx as Z}from"react/jsx-runtime";var r=c(void 0);var i=()=>d(r);var m=({children:t})=>{let{config:{analyticsEnabled:e=!1,logKey:o}}=i();return p(()=>{e&&n(o)},[e,o]),t},lt=m;export{lt as default};
