"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4190],{14190:function(e,t,n){n.r(t),n.d(t,{Sources:function(){return h}});var r=n(35944),o=n(67294),i=n(15184),s=n(10981),c=n(74706),l=n(54576),a=n(8949),d=n(86896);let u=s.C.getAssetPath("source-opened.svg"),g=s.C.getAssetPath("source-closed.svg"),h=o.memo(e=>{let{sources:t,title:n}=e,{formatMessage:s}=(0,d.Z)(),[h,p]=(0,o.useState)(g),[m,f]=(0,o.useState)("none");return(0,o.useEffect)(()=>{f("block")},[]),(0,r.tZ)(c.m,{chevronPosition:"left",chevron:(0,r.tZ)("img",{src:h,alt:"",loading:"lazy"}),sx:{contentVisibility:"auto",containIntrinsicSize:"100px"},styles:{item:{border:"1px solid #E4E8EC",borderRadius:"8px",marginBottom:"16px"},control:{padding:"16px",textTransform:"uppercase"},panel:{backgroundColor:"#ffffff"},content:{display:m,paddingTop:0,a:{color:i.t.colors.primaryBase}}},onChange:e=>{e?p(u):p(g)},children:(0,r.BX)(c.m.Item,{value:"source",children:[(0,r.tZ)(c.m.Control,{children:(0,r.tZ)(l.T,{size:"c2",weight:"bold",color:i.t.colors.gray600,children:n||s({id:"articlePage.sourceCount"})})}),(0,r.BX)(c.m.Panel,{children:[Array.isArray(t)&&(0,r.tZ)(a.a,{styles:{itemIcon:{marginRight:0}},spacing:12,icon:(0,r.tZ)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.tZ)("circle",{cx:"12",cy:"12",r:"2",fill:"#2D87F3"})}),children:t.map(e=>(0,r.tZ)(a.a.Item,{children:(0,r.tZ)("span",{dangerouslySetInnerHTML:{__html:e}})},e))}),"string"==typeof t&&(0,r.tZ)("span",{dangerouslySetInnerHTML:{__html:t}})]})]})})})}}]);