import{aa as r,ab as d}from"./_applist-tangy-colts-beg-36.js";import{_ as a}from"./main-tangy-colts-beg.js";import{h as n,s as i}from"./machine.-tangy-colts-beg-869.js";import{h as c,c as s}from"./commonut-tangy-colts-beg-1272.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 _=r(({helpers:e})=>({states:{components:[s(e),{componentName:e.componentName.mixInput,id:"board-id",label:a("Board ID"),onChange:"HANDLE_BOARD_ID",path:"board_id",placeholder:a("Enter the Board ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"user-id",label:a("User ID"),onChange:"HANDLE_USER_ID",path:"user_id",placeholder:a("Enter the User ID"),render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{IF_CONNECTION_SELECTED:({$:o})=>{var t;return d((t=o.getComponent("connection-id"))==null?void 0:t.value)},CONNECTION_ADD_CHANGE:c,HANDLE_BOARD_ID:n("boardId"),HANDLE_USER_ID:n("userId"),SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:o})=>{i(o,[{db:"connectionId",id:"connection-id"},{db:"boardId",id:"board-id"},{db:"userId",id:"user-id"}])}}}));export{_ as u};
