1"use strict";(globalThis.webpackChunkthe_ismaili||=[]).push([[8084],{19642(e,a,n){n.r(a);var s=n(65043),c=(n(20875),n(40686)),i=n(70214),l=n(36977),d=n(4432),t=n(72568),r=n(70579);const o=function(e){let{heading:a,body:n,contents:o=[],colors:h,action_button_name:u,action_button_link:b,block_buttons:m}=e;const x=(0,s.useId)(),g=(0,s.useMemo)(()=>(0,t.L)(m),[m]).accordion_style||"divider",[j,v]=(0,s.useState)(new Set),{getLink:y}=(0,l.Sg)(),N=(0,s.useCallback)(e=>{v(a=>{const n=new Set(a);return n.has(e)?n.delete(e):n.add(e),n})},[]);if(null===o||void 0===o||!o.length)return null;const p=b?y(b):null;return(0,r.jsx)("section",{className:"acc3-section",style:(0,i.v7)(h),children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"layout-grid-top",children:[(0,r.jsxs)("div",{className:"grid-hero",children:[(0,r.jsxs)("div",{children:[a&&(0,r.jsx)("h2",{className:"acc3-title grid-hero-title",children:a}),n&&(0,r.jsx)("div",{className:"acc3-blurb",children:(0,c.Ay)(n)})]}),u&&p&&(0,r.jsx)("div",{className:"grid-hero-right",children:(0,r.jsx)("a",{className:"acc3-cta",href:p,children:u})})]}),(0,r.jsx)("div",{className:`acc3-two-col style-${g}`,children:o.map((e,a)=>(0,r.jsx)(d.A,{heading:e.heading,body:e.body,isOpen:j.has(a),onToggle:N,index:a,id:x},e.id||a))})]})})})};n.d(a,["default",0,o])},4432(e,a,n){n(65043);var s=n(45948),c=n(70579);const i=function(e){let{heading:a,body:n,isOpen:i,onToggle:l,index:d,id:t}=e;if(!a)return null;const r=`${t}-panel-${d}`,o=`${t}-header-${d}`;return(0,c.jsxs)("div",{className:"acc3-item"+(i?" open":""),children:[(0,c.jsxs)("button",{className:"acc3-header",id:o,"aria-expanded":i,"aria-controls":r,onClick:()=>l(d),children:[(0,c.jsx)("span",{children:a}),(0,c.jsx)("div",{className:"acc3-icon","aria-hidden":"true"})]}),(0,c.jsx)("div",{className:"acc3-body-wrap",role:"region",id:r,"aria-labelledby":o,"aria-hidden":!i,children:(0,c.jsx)("div",{className:"acc3-body-inner",children:(0,c.jsx)(s.A,{html:n,className:"acc3-body-content"})})})]})};n.d(a,["A",0,i])},72568(e,a,n){function s(e){const a={};if(!Array.isArray(e))return a;for(const n of e)"link"===n.type&&n.label&&n.action&&(a[n.label]=n.action);return a}n.d(a,{L:()=>s})},20875(){}}]); 2//# sourceMappingURL=block-accordion3b.c8e87412.chunk.js.map
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.