PageSourceSearch

https://amcham.lu/_build/assets/committees-DlWv3bdL.js

js amcham.lu collected 2026-09-24 18:40:19 UTC 2,540 bytes, 1 lines download raw bytes

1import{e as c,q as l,r as o,j as e,z as t}from"./client-DHPU7zU1.js";import{P as d}from"./page-title-DFHpkEWX.js";import{L as u}from"./lion-pattern-DTOYEpsS.js";import{B as x,a as p}from"./benefits-club-and-newsletter-section-_fbiv0dW.js";import{C as h,a as f}from"./chevron-up-BMC8EXwj.js";const j=t.object({data:t.object({id:t.number(),status:t.string(),sort:t.number().nullish(),user_created:t.string().uuid(),date_created:t.string().datetime({offset:!0}),user_updated:t.string().uuid().nullable(),date_updated:t.string().datetime({offset:!0}).nullable(),title:t.string(),committee_chair:t.string(),committee_members:t.string().nullable(),description:t.string().nullable()}).array()}).transform(({data:s})=>s),b=()=>l({queryKey:["committees"],queryFn:()=>fetch("https://admin.amcham.lu/items/committees?fields=*&filter[status]=published",{method:"GET"}).then(s=>s.json()).then(s=>j.parse(s))});function g({title:s,description:n,committee_chair:r,committee_members:i}){const[a,m]=o.useState(!1);return e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"flex cursor-pointer flex-row justify-between border-b-2 border-[#B2B3BD] pb-3 pt-8 text-secondary",onClick:()=>m(!a),children:[e.jsx("h3",{className:"text-lg font-semibold uppercase",children:s}),a?e.jsx(h,{}):e.jsx(f,{})]}),a&&e.jsxs("div",{className:"pt-8",children:[n&&e.jsx("div",{className:"pb-8 font-[300] text-secondary",dangerouslySetInnerHTML:{__html:n}}),e.jsx("div",{className:"pb-8 leading-6 text-secondary",children:"Committee Members"}),e.jsx("div",{className:"pb-8 leading-6 text-secondary",children:"Committee Chair:"}),e.jsx("div",{className:"pb-8 font-[300] text-secondary",dangerouslySetInnerHTML:{__html:r}}),i&&e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"pb-8 leading-6 text-secondary",children:"Committee Members:"}),e.jsx("div",{className:"font-[300] text-secondary",dangerouslySetInnerHTML:{__html:i}})]})]})]})}const S=function(){const{data:n}=c(b());return o.useEffect(()=>{document.title="AmCham - Committees"},[]),e.jsxs(e.Fragment,{children:[e.jsxs("div",{className:"container mx-auto px-6 lg:px-0",children:[e.jsx(d,{title:"Committees"}),e.jsx(u,{}),e.jsx("h2",{className:"pb-[14px] font-serif text-[32px] font-[900] leading-[40px] text-secondary",children:"Select a committee below to learn more."}),e.jsx("div",{className:"container mx-auto",children:n.map(r=>e.jsx(g,{title:r.title,description:r.description,committee_chair:r.committee_chair,committee_members:r.committee_members}))})]}),e.jsx(x,{}),e.jsx(p,{})]})};export{S as component};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.