import{aa as s,ab as i}from"./_applist-tangy-colts-beg-36.js";import{_ as n}from"./main-tangy-colts-beg.js";import{h as c,s as m}from"./machine.-tangy-colts-beg-869.js";import{h,c as r}from"./commonut-tangy-colts-beg-6742.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(a,e){return this.cache.has(a)?this.cache.get(a):(this.cache.set(a,e),e)}};const _=s(({helpers:a})=>({states:{components:[r(a),{componentName:a.componentName.mixInput,helperText:n("Enter the message ID, to get details."),id:"message-id",label:n("Message ID"),onChange:"HANDLE_MESSAGE_ID",path:"message_id",render:"IF_CONNECTION_SELECTED",required:!0,value:void 0}]},actions:{CONNECTION_ADD_CHANGE:h,IF_CONNECTION_SELECTED:({$:e})=>{var t;return i((t=e.getComponent("connection-id"))==null?void 0:t.value)},ON_MACHINE_LOAD:async({$:e})=>{m(e,[{db:"connectionId",id:"connection-id"},{db:"messageId",id:"message-id"}])},HANDLE_MESSAGE_ID:c("messageId"),SET_CONNECTION:async({$:e,e:t})=>{e.setThisComponent(o=>{o.value=t}),e.setDb(o=>{o.connectionId=t})}}}));export{_ as default};
