var r=Object.defineProperty;var c=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var p=Object.prototype.hasOwnProperty;var h=(e,s)=>{for(var n in s)r(e,n,{get:s[n],enumerable:!0})},l=(e,s,n,a)=>{if(s&&typeof s=="object"||typeof s=="function")for(let o of u(s))!p.call(e,o)&&o!==n&&r(e,o,{get:()=>s[o],enumerable:!(a=c(s,o))||a.enumerable});return e};var S=e=>l(r({},"__esModule",{value:!0}),e);var C={};h(C,{default:()=>g,stacksConnection:()=>w});module.exports=S(C);var t=require("@stacks/connect"),d=new t.AppConfig(["store_write","publish_data"]),i=class{constructor(){this.id="stacks",this.name="Stacks",this.supportedChain="STACKS",this.userSession=new t.UserSession({appConfig:d})}activate(s,n){(0,t.showConnect)({appDetails:{name:"Bandit",icon:window.location.origin+"/logo512.png"},redirectTo:"/",onFinish:s,onCancel:n,userSession:this.userSession})}setUserSession(s){this.userSession=s}getUserSession(){return this.userSession}},w={connector:new i,hooks:null,name:"Stacks",isInstalled:()=>!0,handleMobile(){}},g=i;0&&(module.exports={stacksConnection});
