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