import{b as c,a as l,r as i,W as m,j as e,F as p,J as d,bP as f}from"./index-BeDhuS24.js";import{S as g}from"./SettingsList-wPZC4AYF.js";import"./envs-DFlyG_dH.js";import"./CheckboxField-BhwpagjA.js";import"./InputField-E2g5qJCn.js";import"./NumberField-CH6-YRbT.js";import"./SelectField-CgXiODUe.js";function k({group:s}){const{t:n}=c(["settings","common"]),o=l(t=>t.bridgeInfo),{sendMessage:r}=i.useContext(m),a=i.useCallback(async t=>{await r("bridge/request/group/options",{id:s.id.toString(),options:t})},[r,s.id]);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"alert alert-info alert-soft mb-3",role:"alert",children:[e.jsx(p,{icon:d,size:"2xl"}),e.jsx("a",{href:f,target:"_blank",rel:"noreferrer",className:"link link-hover",children:n("common:read_the_docs_info")})]}),e.jsx(g,{schema:o.config_schema.definitions.group??{properties:{}},data:o.config.groups[s.id]??{},set:a})]})}export{k as default};
