import{a as e,l as t}from"./preact.module-CNakwbc9.js";import{t as n}from"./jsxRuntime.module-Cao1NCKs.js";import{n as r}from"./FormToggle-wwys3uI5.js";t();function i({title:t,description:i,children:a,noCard:o,className:s,helpUrl:c,...l}){let u=(t||c)&&n(`div`,{className:`options-section-header`,children:[t&&n(`h4`,{children:t}),c&&n(r,{helpPage:c})]}),d=n(e,{children:[i&&n(`p`,{className:`options-section-description`,children:i}),a]});return o?n(`div`,{className:`options-section tn-no-card ${s??``}`,...l,children:[u,d]}):n(`div`,{className:`options-section ${s??``}`,...l,children:[u,n(`div`,{className:`options-section-card`,children:d})]})}export{i as t};