import{aa as s,ab as i}from"./_applist-tangy-colts-beg-36.js";import{_ as o}from"./main-tangy-colts-beg.js";import{h as n,s as c}from"./machine.-tangy-colts-beg-869.js";import{h as m,c as r}from"./googleca-tangy-colts-beg-652.js";import"./lodash-tangy-colts-beg-516.js";globalThis.jotaiAtomCache=globalThis.jotaiAtomCache||{cache:new Map,get(e,t){return this.cache.has(e)?this.cache.get(e):(this.cache.set(e,t),t)}};const _=s(({helpers:e})=>({states:{components:[r(e),{componentName:e.componentName.mixInput,helperText:o("Enter the maximum number of calendars to return."),id:"max-results",label:o("Max Results"),onChange:"SET_MAX_RESULTS",path:"maxResults",render:"IF_CONNECTION_SELECTED",value:[]}]},actions:{CONNECTION_ADD_CHANGE:m,IF_CONNECTION_SELECTED:({$:t})=>{var a;return i((a=t.getComponent("connection-id"))==null?void 0:a.value)},SET_CONNECTION:n("connectionId"),SET_MAX_RESULTS:n("maxResults"),ON_MACHINE_LOAD:({$:t})=>{c(t,[{db:"connectionId",id:"connection-id"},{db:"maxResults",id:"max-results"}])}}}));export{_ as default};
