1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[407],{9230:function(e,t,l){"use strict";l.d(t,{Z:function(){return d}});var i=l(9499),n=l(6893),o=l(5893);function r(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,i)}return l}function d(e){var t=(null===e||void 0===e?void 0:e.__typename)||"",l=n[t];return l?(0,o.jsx)(l,function(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?r(Object(l),!0).forEach((function(t){(0,i.Z)(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):r(Object(l)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}({},e)):null}},5286:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return n}});var i=l(530).default,n=!0;t.default=i},530:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSP:function(){return w},default:function(){return N}});var i=l(9499),n=l(7837),o=l(9022),r=l(9043),d=l(4563),a=l(4184),s=l.n(a),u=l(9230),c=l(6893),m=l(2601),v=l(833),f=l(6979),p=l(6590),b=l(1664),h=l.n(b),j=l(4316),x=l(7294),g=l(5893);function y(e,t){var l=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),l.push.apply(l,i)}return l}function O(e){for(var t=1;t<arguments.length;t++){var l=null!=arguments[t]?arguments[t]:{};t%2?y(Object(l),!0).forEach((function(t){(0,i.Z)(e,t,l[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(l)):y(Object(l)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(l,t))}))}return e}var w=!0;function N(e){var t,l,i,a,b,y,w,N,_,S,P,T,C,E,M,k,I,A,D,Z,B="committee"===(null===e||void 0===e||null===(t=e.global)||void 0===t?void 0:t.type)?"Subcommittee":"Committee",L=(null===(l=e.committeeTree.labelCommittee)||void 0===l||null===(i=l.data)||void 0===i||null===(a=i.attributes)||void 0===a?void 0:a.name)||"",R=e.committeeTree.parentCommittee?null===(b=e.committeeTree.subCommittees)||void 0===b?void 0:b.data.map((function(e,t){var l,i=(0,p.A_)(e);return(0,g.jsx)(h(),{href:i,children:(0,g.jsx)("a",{className:"cursor-pointer text-primary underline",children:null===(l=e.attributes)||void 0===l?void 0:l.name})},t)})):[],F=e.committeeTree.leadership,W=(null===F||void 0===F?void 0:F.reduce((function(e,t){var l,i;return null!==t&&void 0!==t&&null!==(l=t.member)&&void 0!==l&&null!==(i=l.data)&&void 0!==i&&i.id&&(e[t.member.data.id]=!0),e}),{}))||{},X=(0,x.useMemo)((function(){var t;return null!==(t=e.members)&&void 0!==t&&t.length?e.members.reduce((function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],l=arguments.length>1?arguments[1]:void 0,i="ComponentElementCommitteeMember"===(null===l||void 0===l?void 0:l.__typename)?null===(e=l.member)||void 0===e?void 0:e.data:l;return null!==i&&void 0!==i&&i.id&&!W[null===i||void 0===i?void 0:i.id]&&t.push(i),t}),[]):[]}),[null===e||void 0===e?void 0:e.members]),H=((null===X||void 0===X?void 0:X.length)||0)+((null===F||void 0===F?void 0:F.length)||0),U=H?(0,g.jsxs)(r.MB,{title:(0,g.jsxs)(g.Fragment,{children:[B," Members",!!H&&(0,g.jsxs)("p",{className:"utility-font labelMedium text-warmgray-700 ml-2",children:["(",H,")"]})]}),mb:!0,shape:"Rectangle",classes:"gap-6 flex-col",children:[(0,g.jsx)("div",{className:s()(j.MEMBER_LIST_CLASSES),children:null===F||void 0===F?void 0:F.map((function(e){var t,l,i,r,d,a,s,u,c,m,v,f,p,b,h,j=null===e||void 0===e||null===(t=e.member)||void 0===t||null===(l=t.data)||void 0===l?void 0:l.attributes;if(j)return(0,g.jsx)(o.Pn,{classes:"mt-6 md:px-2 md:w-1/3 md:max-w-[250px]",state:(null===(i=j.district)||void 0===i||null===(r=i.data)||void 0===r||null===(d=r.attributes)||void 0===d?void 0:d.state)||"",district:null===(a=j.district)||void 0===a||null===(s=a.data)||void 0===s||null===(u=s.attributes)||void 0===u?void 0:u.number,name:(0,n.M)({member:j}),party:null===(c=j.party)||void 0===c||null===(m=c.data)||void 0===m?void 0:m.attributes,portrait:null===(v=j.portrait)||void 0===v||null===(f=v.data)||void 0===f?void 0:f.attributes,slug:j.slug,title:(null===(p=e.labelRole)||void 0===p||null===(b=p.data)||void 0===b||null===(h=b.attributes)||void 0===h?void 0:h.name)||""},e.id)}))}),(0,g.jsx)("div",{className:s()(j.MEMBER_LIST_CLASSES),children:null===X||void 0===X?void 0:X.map((function(e,t){var l,i,r,d,a,s,u,c,m,v,f=null===e||void 0===e?void 0:e.attributes;if(f)return(0,g.jsx)(o.Pn,{classes:"mt-6 md:px-2 md:w-1/2 lg:w-1/3",dense:!0,state:(null===(l=f.district)||void 0===l||null===(i=l.data)||void 0===i||null===(r=i.attributes)||void 0===r?void 0:r.state)||"",district:null===(d=f.district)||void 0===d||null===(a=d.data)||void 0===a||null===(s=a.attributes)||void 0===s?void 0:s.number,name:(0,n.M)({member:f}),party:null===(u=f.party)||void 0===u||null===(c=u.data)||void 0===c?void 0:c.attributes,portrait:null===(m=f.portrait)||void 0===m||null===(v=m.data)||void 0===v?void 0:v.attributes,slug:f.slug},t)}))})]}):null,q=null!==(y=null===(w=e.committeeTree)||void 0===w?void 0:w.typeOfChildCommittee)&&void 0!==y?y:"Subcommittee";return(0,g.jsxs)(g.Fragment,{children:[(0,g.jsxs)(v.Z,{image:null===(N=e.committeeTree.featuredImg)||void 0===N||null===(_=N.data)||void 0===_||null===(S=_.attributes)||void 0===S?void 0:S.url,children:[(0,g.jsx)("h1",{className:"brand-font text-center type-h2 mb-4",children:e.committeeTree.name}),(0,g.jsx)("p",{className:"type-h6 text-secondary",children:(null===(P=e.committeeTree)||void 0===P?void 0:P.typeOfCommitteeLabel)||L})]}),(0,g.jsxs)("div",{className:"xxl:container grid grid-cols-1 md:grid-cols-3",children:[(0,g.jsxs)("div",{className:"px-6 md:pr-0 md:pl-8 lg:pl-12 xl:pl-16 mb-12",children:[(0,g.jsxs)("div",{className:"mt-8",children:[(0,g.jsxs)("h2",{className:"type-h3 brand-font",children:[B," on ",e.committeeTree.name]}),(0,g.jsx)(f.Z,{content:e.committeeTree.info})]}),!(null===R||void 0===R||!R.length)&&(0,g.jsxs)("div",{className:"mt-8 grid gap-2",children:[(0,g.jsxs)("div",{className:"flex items-center mb-2",children:[(0,g.jsx)("h2",{className:"type-h3 brand-font",children:"".concat(q.replaceAll("_"," ")).concat((null===R||void 0===R?void 0:R.length)>1?"s":"")}),(0,g.jsxs)("p",{className:"utility-font labelMedium text-warmgray-700 ml-2",children:["(",R.length,")"]})]}),R]})]}),(0,g.jsx)("div",{className:s()("row-auto md:col-span-2",d.CLASSES.fullWidthPadding),children:(0,g.jsx)(c.C
1omponentBlockCalendar,{title:"Today's Calendar",id:"".concat(null===e||void 0===e||null===(T=e.committeeTree)||void 0===T?void 0:T.name,"-calendar"),committeeIds:null!==e&&void 0!==e&&e.committeeId?[e.committeeId]:void 0,defaultEvents:!0})})]}),!(null===e||void 0===e||null===(C=e.committeeTree)||void 0===C||null===(E=C.posts)||void 0===E||null===(M=E.data)||void 0===M||!M.length)&&(0,g.jsx)(m.Z,{id:"committee-root-recent-posts",title:"".concat(B,"s News & Announcements"),recentPosts:e.committeeTree.posts.data,buttonUrl:"/news/".concat(e.committeeTree.slug)}),U,!(null===e||void 0===e||null===(k=e.committeeTree)||void 0===k||null===(I=k.staffs)||void 0===I||null===(A=I.data)||void 0===A||!A.length)&&(0,g.jsxs)("section",{"aria-labelledby":"staff",className:s()("mb-16",d.CLASSES.fullWidth),children:[(0,g.jsx)("h4",{id:"staff",className:"brand-font mb-6 text-center",children:"House Staff Assigned"}),(0,g.jsx)("div",{className:s()("flex flex-row flex-wrap md:-mx-2",{"justify-center":e.committeeTree.staffs.data.length<3}),children:e.committeeTree.staffs.data.map((function(e){var t,l;if(!e.attributes)return null;var i=[e.attributes.firstName,e.attributes.lastName,e.attributes.suffix].filter(Boolean).join(" ")||e.attributes.name;return(0,g.jsxs)("div",{className:"mb-3 md:px-2 w-full md:w-1/2 lg:w-1/3",children:[(0,g.jsx)("p",{className:s()("text-primary cta utility-font"),children:i}),(null===e||void 0===e||null===(t=e.attributes)||void 0===t?void 0:t.role)&&(0,g.jsx)("p",{className:"utility-font label mt-1",children:null===e||void 0===e||null===(l=e.attributes)||void 0===l?void 0:l.role})]},e.id)}))})]}),null===e||void 0===e||null===(D=e.committeeTree)||void 0===D||null===(Z=D.pageBlocks)||void 0===Z?void 0:Z.map((function(t,l){var i,n,o,r,d,a;return"ComponentBlockCalendar"===(null===t||void 0===t?void 0:t.__typename)?(0,g.jsx)(u.Z,O(O({},t),{},{committeeIds:null!==e&&void 0!==e&&e.committeeId?[e.committeeId]:void 0,logo:null===e||void 0===e||null===(i=e.global)||void 0===i||null===(n=i.header)||void 0===n||null===(o=n.nav)||void 0===o||null===(r=o.logo)||void 0===r||null===(d=r.data)||void 0===d||null===(a=d.attributes)||void 0===a?void 0:a.url}),l):(0,g.jsx)(u.Z,O({},t),l)}))]})}},8813:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/committees/[type]/[parent]/[child]",function(){return l(5286)}])}},function(e){e.O(0,[7388,4212,1663,722,9608,867,3143,9451,8306,6718,931,6482,9240,6893,4316,9774,2888,179],(function(){return t=8813,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
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.