import{aa as s,ab as a}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{s as r}from"./machine.-tangy-colts-beg-869.js";import{a as m}from"./machineh-tangy-colts-beg-984.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(o,e){return this.cache.has(o)?this.cache.get(o):(this.cache.set(o,e),e)}};const M=s(({helpers:o})=>({actions:{ON_MACHINE_LOAD:async({$:e})=>{r(e,[{db:"onetimeMembershipId",id:"onetime-membership-id"}]),await m(e)},REFETCH_ONETIME_MEMBERSHIPS:async({$:e})=>m(e),SELECT_ONETIME_MEMBERSHIP:async({$:e,e:i})=>{e.setThisComponent(n=>{n.value=i}),e.setDb({onetimeMembershipId:i})}},states:{components:[{componentName:o.componentName.select,fieldType:"config",id:"onetime-membership-id",label:t("Onetime-memberships"),onChange:"SELECT_ONETIME_MEMBERSHIP",onRefetch:"REFETCH_ONETIME_MEMBERSHIPS",options:[],placeholder:t("Select a onetime-membership"),render:!0,value:void 0},{componentName:o.componentName.hookListener,fieldType:"config",id:"hook-listener",label:t("Listen Hook"),render:({$:e})=>{var i;return a((i=e.getComponent("onetime-membership-id"))==null?void 0:i.value)}}]}}));export{M as default};
