import{b as a}from"./useflows-BpG3C9m1.js";import{e as o}from"./main-few-lands-burn.js";import{s as m}from"./machine.-BRuqPpdF.js";import{h as t}from"./commonut-D3rqJBtm.js";import"./mutative-C6xjlr6O.js";import"./lodash-YpNkAOPN.js";import"./machineh-D8WlVdMZ.js";const _=a(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,id:"post-id",label:o("Post Id"),onChange:"HANDLE_ID",path:"postId",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"taxonomy",label:o("Taxonomy Name"),onChange:"HANDLE_TAXONOMY",path:"taxonomy",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:o('Provide one or more Taxonomy Terms as a comma-separated list or array. Accepted formats: wordpress, manage_options, read (string input) ["wordpress", "manage_options", "read"] (array input)'),id:"term",label:o("Taxonomy Term"),onChange:"HANDLE_TERM",path:"term",render:!0,required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:r})=>{m(r,[{db:"postId",id:"post-id"},{db:"taxonomy",id:"taxonomy"},{db:"term",id:"term"}])},HANDLE_ID:t("postId"),HANDLE_TAXONOMY:t("taxonomy"),HANDLE_TERM:t("term")}}));export{_ as default};
