import{aa as s}from"./_applist-tangy-colts-beg-36.js";import{_ as a}from"./main-tangy-colts-beg.js";import{h as o,s as l}from"./machine.-tangy-colts-beg-869.js";import{f as i}from"./machineh-tangy-colts-beg-7712.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(t,e){return this.cache.has(t)?this.cache.get(t):(this.cache.set(t,e),e)}};const h=s(({helpers:t})=>({states:{components:[{componentName:t.componentName.mixInput,id:"email",label:a("Contact Email"),onChange:"HANDLE_EMAIL",path:"email",placeholder:a("Enter contact email"),render:!0,required:!0,value:void 0},{componentName:t.componentName.select,id:"lists",label:a("Lists"),mode:"multiple",onChange:"SELECT_LIST_IDS",onRefetch:"REFETCH_LISTS",options:[],path:"list_ids",placeholder:a("Select lists to add contact to"),render:!0,required:!0,value:void 0}]},actions:{HANDLE_EMAIL:o("email"),SELECT_LIST_IDS:o("listIds"),REFETCH_LISTS:({$:e})=>i(e),ON_MACHINE_LOAD:({$:e})=>{l(e,[{db:"email",id:"email"},{db:"listIds",id:"lists"}]),i(e)}}}));export{h as default};
