import{aa as t}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as s,s as a}from"./machine.-tangy-colts-beg-869.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,r){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,r),r)}};const u=t(({helpers:e})=>({states:{components:[{componentName:e.componentName.mixInput,helperText:o("Enter the WordPress user ID to remove from multiple courses"),id:"user-id",label:o("User ID"),onChange:"SET_USER_ID",path:"user_id",placeholder:o("Enter user ID"),render:!0,value:void 0},{componentName:e.componentName.mixInput,helperText:o("Enter comma-separated course IDs (e.g., 1,2,3)"),id:"course-ids",label:o("Course IDs"),onChange:"SET_COURSE_IDS",path:"course_ids",placeholder:o("Enter course IDs separated by commas"),render:!0,value:void 0}]},actions:{ON_MACHINE_LOAD:async({$:r})=>{a(r,[{db:"userId",id:"user-id"},{db:"courseIds",id:"course-ids"}])},SET_COURSE_IDS:s("courseIds"),SET_USER_ID:s("userId")}}));export{u as default};
