import{b as n}from"./useflows-BpG3C9m1.js";import{e as o}from"./main-few-lands-burn.js";import{s as r}from"./machine.-BRuqPpdF.js";import{h as a}from"./commonut-D3rqJBtm.js";import{b as s}from"./machineh-D8WlVdMZ.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";const E=n(({helpers:t})=>({states:{components:[{componentName:t.componentName.mixInput,id:"post-id",label:o("Post Id"),onChange:"HANDLE_ID",path:"postId",render:!0,required:!0,value:void 0},{componentName:t.componentName.select,id:"tags",label:o("Select Post tags"),mode:"tags",onChange:"SELECT_POST_TAGS",onRefetch:"REFETCH_POST_TAGS",options:[],path:"tags",render:!0,required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:async({$:e})=>{r(e,[{db:"postId",id:"post-id"},{db:"tags",id:"tags"}]),await s(e)},REFETCH_POST_TAGS:async({$:e})=>{await s(e)},HANDLE_ID:a("postId"),SELECT_POST_TAGS:a("tags")}}));export{E as default};
