import{dG as a,dB as m,dF as d,dq as p,dx as c,dm as e,G as f}from"./index-D_pphaE2.js";import{I as l}from"./InfoAlert-BjFk5zJ1.js";import{S as g}from"./SettingsList-CwQILOJa.js";import"./envs-CRUy-_iG.js";import"./CheckboxField-Bp87NFVr.js";import"./InputField-B0SBdaHi.js";import"./NumberField-Dq3HyXeU.js";import"./SelectField-J0vaqEIK.js";function k({sourceIdx:t,group:i}){const{t:r}=a(["settings","common"]),o=m(d(s=>s.bridgeInfo[t])),n=p.useCallback(async s=>{await c(t,"bridge/request/group/options",{id:i.id.toString(),options:s})},[t,i.id]);return e.jsxs(e.Fragment,{children:[e.jsx(l,{children:e.jsx("a",{href:f,target:"_blank",rel:"noreferrer",className:"link link-hover",children:r(s=>s.read_the_docs_info,{ns:"common"})})}),e.jsx(g,{schema:o.config_schema.definitions.group??{properties:{}},data:o.config.groups[i.id]??{},set:n,namespace:"definitions-group"})]})}export{k as default};
