import{aa as s}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as a,s as i}from"./machine.-tangy-colts-beg-869.js";import{f as c}from"./machineh-tangy-colts-beg-234.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const l=s(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:o("The ID of the contact to add the list to."),id:"contact-id",label:o("Contact ID"),onChange:"HANDLE_CONTACT_ID",path:"contact_id",render:!0,required:!0,value:void 0},{componentName:e.componentName.select,helperText:o("Select one or more lists to add the contact to."),id:"lists",label:o("Select Lists"),mode:"multiple",onChange:"SELECT_LISTS",onRefetch:"REFETCH_LISTS",options:[],path:"lists",render:!0,required:!0,value:void 0}]},actions:{HANDLE_CONTACT_ID:a("contactId"),SELECT_LISTS:a("lists"),ON_MACHINE_LOAD:({$:t})=>{i(t,[{db:"contactId",id:"contact-id"},{db:"lists",id:"lists"}]),c(t)},REFETCH_LISTS:({$:t})=>{c(t)}}}));export{l as a};
