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