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 m}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 d=s(({helpers:t})=>({states:{components:[{componentName:t.componentName.mixInput,id:"email",label:o("Contact Email"),onChange:"HANDLE_EMAIL",path:"email",placeholder:o("Enter contact email"),render:!0,required:!0,value:void 0},{componentName:t.componentName.select,id:"lists",label:o("Lists"),mode:"multiple",onChange:"SELECT_LIST_IDS",onRefetch:"REFETCH_LISTS",options:[],path:"list_ids",placeholder:o("Select lists to remove contact from"),render:!0,required:!0,value:void 0}]},actions:{HANDLE_EMAIL:a("email"),SELECT_LIST_IDS:a("listIds"),REFETCH_LISTS:({$:e})=>i(e),ON_MACHINE_LOAD:({$:e})=>{m(e,[{db:"email",id:"email"},{db:"listIds",id:"lists"}]),i(e)}}}));export{d as default};
