import{b as i,i as a}from"./useflows-BpG3C9m1.js";import{e as n}from"./main-few-lands-burn.js";import{s as c,h as t}from"./machine.-BRuqPpdF.js";import{h as d,c as m}from"./commonut-BBfXq81f.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";const I=i(({helpers:o})=>({states:{components:[m(o),{componentName:o.componentName.mixInput,helperText:n("Enter the ID of the voice you want to delete."),id:"voice-id",label:n("Voice ID"),onChange:"SET_VOICE_ID",path:"voiceId",render:"IF_CONNECTION_SELECTED",required:!0,value:[]}]},actions:{CONNECTION_ADD_CHANGE:d,IF_CONNECTION_SELECTED:({$:e})=>a(e.getComponent("connection-id")?.value),SET_CONNECTION:t("connectionId"),SET_VOICE_ID:t("voice_id"),ON_MACHINE_LOAD:({$:e})=>{c(e,[{db:"connectionId",id:"connection-id"},{db:"voice_id",id:"voice-id"}])}}}));export{I as default};
