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