import{aa as r}from"./_applist-tangy-colts-beg-36.js";import{_ as t}from"./main-tangy-colts-beg.js";import{s as m}from"./machine.-tangy-colts-beg-869.js";import{h as a}from"./commonut-tangy-colts-beg-953.js";import"./lodash-tangy-colts-beg-516.js";import"./machineh-tangy-colts-beg-110.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 h=r(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,id:"post-id",label:t("Post Id"),onChange:"HANDLE_ID",path:"postId",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,id:"taxonomy",label:t("Taxonomy Name"),onChange:"HANDLE_TAXONOMY",path:"taxonomy",render:!0,required:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:t('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:t("Taxonomy Term"),onChange:"HANDLE_TERM",path:"term",render:!0,required:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:({$:o})=>{m(o,[{db:"postId",id:"post-id"},{db:"taxonomy",id:"taxonomy"},{db:"term",id:"term"}])},HANDLE_ID:a("postId"),HANDLE_TAXONOMY:a("taxonomy"),HANDLE_TERM:a("term")}}));export{h as default};
