import{aa as c,ab as l}from"./_applist-tangy-colts-beg-36.js";import{_ as e}from"./main-tangy-colts-beg.js";import{h as a,s as r}from"./machine.-tangy-colts-beg-869.js";import{h as m,c as s}from"./zoomcomm-tangy-colts-beg-477.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(n,t){return this.cache.has(n)?this.cache.get(n):(this.cache.set(n,t),t)}};const N=c(({helpers:n})=>({states:{components:[s(n),{componentName:n.componentName.switch,helperText:e("Automatically turn on participant video when they join."),id:"returnAll",label:e("Return All"),onChange:"SET_RETURN_ALL",path:"returnAll",render:"IF_CONNECTION_SELECTED",size:"small",value:!1},{componentName:n.componentName.mixInput,helperText:e("Limit the type of meetings to retrieve. Options are Live, Scheduled, and Upcoming."),id:"limit",label:e("Limit"),onChange:"SET_LIMIT",path:"limit",render:"IF_NOT_RETURN_ALL",value:[]},{allowClear:!0,componentName:n.componentName.select,helperText:e("Select a status to filter members by their subscription state (e.g., Subscribed, Unsubscribed)."),id:"type",label:e("Status"),onChange:"SET_TYPE",options:[{label:e("Live"),value:"live"},{label:e("Scheduled"),value:"scheduled"},{label:e("Upcoming"),value:"upcoming"}],path:"type",placeholder:e("Select a Type"),render:"IF_NOT_RETURN_ALL",value:""}]},actions:{CONNECTION_ADD_CHANGE:m,IF_CONNECTION_SELECTED:({$:t})=>{var o;return l((o=t.getComponent("connection-id"))==null?void 0:o.value)},SET_CONNECTION:a("connectionId"),SET_LIMIT:a("limit"),SET_RETURN_ALL:a("returnAll"),SET_TYPE:a("type"),IF_NOT_RETURN_ALL:({$:t})=>{var o,i;return l((o=t.getComponent("connection-id"))==null?void 0:o.value)&&((i=t.getComponent("returnAll"))==null?void 0:i.value)===!1},ON_MACHINE_LOAD:async({$:t})=>{r(t,[{db:"connectionId",id:"connection-id"},{db:"returnAll",id:"returnAll"},{db:"limit",id:"limit"},{db:"type",id:"type"}])}}}));export{N as default};
