import{aa as i,ab as a}from"./_applist-tangy-colts-beg-36.js";import{s as c}from"./machine.-tangy-colts-beg-869.js";import{h as n,a as s,c as r}from"./commonut-tangy-colts-beg-867.js";import"./lodash-tangy-colts-beg-516.js";import"./main-tangy-colts-beg.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,o){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,o),o)}};const p=i(({helpers:e})=>({states:{components:[r(e),{componentName:e.componentName.note,fieldType:"config",id:"note",note:["This event retrieves a list of all subscriptions from Stripe"],render:"IF_CONNECTION_SELECTED"}]},actions:{CONNECTION_ADD_CHANGE:s,HANDLE_CUSTOMER:n("customerId"),IF_CONNECTION_SELECTED:({$:o})=>{var t;return a((t=o.getComponent("connection-id"))==null?void 0:t.value)},SET_CONNECTION:n("connectionId"),ON_MACHINE_LOAD:async({$:o})=>{c(o,[{db:"connectionId",id:"connection-id"},{db:"customerId",id:"customer-id"}])}}}));export{p as default};
