import{aa as a,ab as c}from"./_applist-tangy-colts-beg-36.js";import{_ as i}from"./main-tangy-colts-beg.js";import{s}from"./machine.-tangy-colts-beg-869.js";import{h as l,a as h,c as r,u as C}from"./commonut-tangy-colts-beg-567.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,o){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,o),o)}};const u=a(({helpers:e})=>({states:{components:[r(e),{componentName:e.componentName.note,id:"note",note:[i("This event will fetch all the account of the profile")],render:"IF_CONNECTION_SELECTED"}]},actions:{CONNECTION_ADD_CHANGE:h,IF_CONNECTION_SELECTED:({$:o})=>{var t;return c((t=o.getComponent("connection-id"))==null?void 0:t.value)},ON_MACHINE_LOAD:({$:o})=>{s(o,[{db:"connectionId",id:"connection-id"},{db:"urlDb",id:"url"}]),C({$:o})},HANDLE_URL:l,SET_CONNECTION:async({$:o,e:t})=>{o.setThisComponent(n=>{n.value=t}),o.setDb(n=>{n.connectionId=t,n.urlDb=""})}}}));export{u as default};
