PageSourceSearch

https://africanmusiclibrary.org/_next/static/chunks/15-6503d2a2c7157715.js

js africanmusiclibrary.org collected 2026-10-02 16:49:04 UTC 42,474 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[15],{70894:function(a,e,n){"use strict";n.d(e,{ZS:function(){return w},aS:function(){return X},w4:function(){return D},xe:function(){return L},ad:function(){return H}});var o=n(85893),r=n(67294),i=n(92950),l=n(91522),s=n(51775),t=n(69755),c=a=>{let{genre:e}=a,[n,i]=(0,r.useState)();return(0,r.useEffect)(()=>{let a=async()=>{let a=null==e?void 0:e.artists.map(a=>l.URL.artistGetById.replace("uuid",a));i(await Promise.all(a.map(a=>(0,t.a4)(a))))};(null==e?void 0:e.artists.length)>0&&a()},[e]),(0,o.jsx)(s.zy,{artistList:n})},u=n(34672),d=n(47311),g=n.n(d),b=n(41664),f=n.n(b);let p=a=>{let{title:e,genres:n}=a;return(0,o.jsx)("ul",{className:g().list,children:(0,o.jsxs)("p",{children:[e,": "," ",null==n?void 0:n.map((a,e)=>(0,o.jsx)("span",{children:(0,o.jsx)(f(),{href:"/genre/".concat(a),passHref:!0,children:(0,o.jsx)("span",{style:{color:"var(--color-tertiary)"},children:a})})},a+e))]})})};var U=a=>{let{genre:e}=a;return(0,o.jsxs)("div",{children:[(null==e?void 0:e.parent.length)>0&&(0,o.jsx)(p,{title:"Influenced By",genres:null==e?void 0:e.parent}),(null==e?void 0:e.children.length)>0&&(0,o.jsx)(p,{title:"Spin-Offs",genres:null==e?void 0:e.children})]})},h=n(8831),m=n(11163),S=n(43797),_=a=>{var e;let{genre1:n}=a,[l,s]=(0,r.useState)(n),[t,c]=(0,r.useState)(),{genres:u}=(0,S.F5)(),d=(0,m.useRouter)(),b=null==u?void 0:null===(e=u.map
1)||void 0===e?void 0:e.call(u,a=>a.title),f=!!l&&!!t&&l!==t&&b.includes(l)&&b.includes(t);return(0,o.jsxs)("div",{className:g().compare__container,children:[(0,o.jsxs)("header",{style:{textAlign:"center"},children:[(0,o.jsx)("span",{children:"Compare Genres"}),(0,o.jsx)("h3",{style:{fontSize:"small",fontWeight:400},children:"Get deep insights into African Music Genres"})]}),(0,o.jsxs)("section",{className:g().compare__action,children:[(0,o.jsx)("div",{className:g().compare__form,children:(0,o.jsx)(i.Cg,{name:"g1",id:"g1",label:"Select a Genre",placeholder:"Type to select first Genre",options:null!=b?b:[],onChange:a=>s(a),value:l})}),(0,o.jsx)("div",{className:"".concat(g().compare__button," ").concat(f&&g().valid),onClick:f?()=>d.push("/genre/cmpr/".concat(l,"-vs-").concat(t)):()=>{},children:(0,o.jsx)("span",{children:l&&t?"Compare":"Vs"})}),(0,o.jsx)("div",{className:g().compare__form,children:(0,o.jsx)(i.Cg,{name:"g2",id:"g2",label:"Select a Genre",placeholder:"Type to select second Genre",options:null!=b?b:[],onChange:a=>c(a)})})]}),(0,o.jsxs)("small",{children:[l===t&&l&&t&&"Compare different Genres",l&&t&&!f&&"Pick valid Genres","\xa0"]})]})},j=a=>{let{open:e,closeModal:n,genre1:r}=a;return(0,o.jsx)(h.Z,{open:e,onClose:n,"aria-labelledby":"modal-participation-request","aria-describedby":"modal-participation-request",style:x.modal,children:(0,o.jsx)("div",{style:x.container,children:(0,o.jsx)(_,{genre1:r.title})})})};let x={modal:{display:"flex",flexFlow:"column",alignItems:"center",justifyContent:"center"},container:{display:"flex",flexFlow:"column",alignItems:"center",justifyContent:"center",backgroundColor:"var(--color-white-1)",borderRadius:"4px"}};var A=n(58552),D=a=>{let{genre:e}=a,[n,l]=(0,r.useState)(!1),s=(0,r.useCallback)(()=>{l(!0)},[]);return(0,o.jsxs)(u.Gk,{sidebar:(0,o.jsx)(u.lQ,{profile:e,videoUrl:null==e?void 0:e.videoUrl,onCompare:s}),children:[(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(u.zd,{title:"Summary",children:(0,o.jsx)("p",{children:e.description})}),((null==e?void 0:e.parent.length)>0||(null==e?void 0:e.children.length)>0)&&(0,o.jsx)(u.zd,{title:"Influences",children:(0,o.jsx)(U,{genre:e})}),(0,o.jsx)(A.Z,{type:"genre",id:e.UUID,kicker:"Explore ".concat(e.title)}),(0,o.jsx)(u.zd,{title:"History",children:(0,o.jsx)(i.ON,{text:e.history})}),(0,o.jsxs)(u.zd,{title:"Elements",children:[(0,o.jsx)("small",{children:"\xa0"}),Object.values(e.elements).map((a,e)=>(0,o.jsxs)("article",{style:{marginBlockEnd:"2em"},children:[(0,o.jsx)("header",{children:a.title}),(null==a?void 0:a.details)?(0,o.jsx)("p",{children:a.details}):(0,o.jsx)("small",{children:a.description})]},a.shortCode+e))]}),(0,o.jsx)(c,{genre:e})]}),(0,o.jsx)(j,{open:n,closeModal:()=>l(!1),genre1:e})]})};n(48065);var z=n(21935);n(88241);var I=n(76532),k=n(77527),M=n(14959),v=n(45214);(0,k.ZP)(M.Z)(a=>{let{theme:e}=a;return{height:4,borderRadius:2,["&.".concat(v.Z.colorPrimary)]:{backgroundColor:"#12182611"},["& .".concat(v.Z.bar)]:{borderRadius:2,backgroundColor:(e.palette.mode,"var(--color-pink-1)")}}});let J=["Origin"],y=a=>{let{col1:e,col2:n,col3:r}=a;return(0,o.jsxs)("div",{className:g().table__row,children:[(0,o.jsxs)("div",{style:{backgroundColor:"var(--color-blue-1)",color:"#fff"},children:[" ",(0,o.jsx)("header",{children:e})]}),(0,o.jsx)("div",{style:{backgroundColor:"#099FB311"},children:(0,o.jsx)("p",{children:n})}),(0,o.jsx)("div",{style:{backgroundColor:"#B3126411"},children:(0,o.jsx)("p",{children:r})})]})},G=a=>{let{onTrackPlay:e,isPlaying:n,title:r,artist:i}=a;return(0,o.jsxs)("div",{style:{display:"flex",flex:1,alignItems:"center"},children:[(0,o.jsx)(I.JM,{onClick:e,isPlaying:n}),(0,o.jsx)("span",{children:"\xa0"}),(0,o.jsxs)("span",{children:[r,","]}),(0,o.jsx)("span",{children:"\xa0"}),(0,o.jsxs)("span",{children:["By ",i]})]})};var w=a=>{var e,n,r,i;let{genre1:s,genre2:t}=a,{elements:c}={...s},{elements:d}={...t},{response:b}=(0,S.ib)(l.URL.trackGet.replace("uuid",s.sampleTrack)),{response:f}=(0,S.ib)(l.URL.trackGet.replace("uuid",t.sampleTrack)),{nowPlaying:p,isPlaying:U,play:h,pause:m,setPlaylist:_}=(0,z.gD)(),j=async a=>{if((null==p?void 0:p.trackUUID)===(null==a?void 0:a.UUID))U?m():h();else{let e={UUID:a.UUID,title:"Single Track",tracks:[{...a,trackUUID:a.UUID}]};await m(),_(e),h()}};return(0,o.jsxs)(u.X_,{className:g().compare__table,children:[(0,o.jsx)("div",{className:g().header__desktop,children:(0,o.jsx)(y,{col1:(0,o.jsx)("h2",{children:"\xa0"}),col2:(0,o.jsx)("h2",{children:null==s?void 0:s.title}
1),col3:(0,o.jsx)("h2",{children:null==t?void 0:t.title})})}),(0,o.jsxs)("div",{className:g().header__mobile,children:[(0,o.jsx)("h2",{style:{color:"#099FB3"},children:null==s?void 0:s.title}),(0,o.jsx)("h2",{children:"vs."}),(0,o.jsx)("h2",{style:{color:"#B31264"},children:null==t?void 0:t.title})]}),J.map((a,e)=>(0,o.jsx)(y,{col1:a,col2:s[a.toLowerCase()],col3:t[a.toLowerCase()]},a+e)),(0,o.jsx)(y,{col1:"Summary",col2:null==s?void 0:s.description,col3:null==t?void 0:t.description}),s.sampleTrack&&t.sampleTrack&&(0,o.jsx)(y,{col1:"Sample",col2:(0,o.jsx)(G,{title:null==b?void 0:b.title,onTrackPlay:j.bind(void 0,b),isPlaying:U&&b.UUID===p.trackUUID,artist:null==b?void 0:null===(e=b.mainArtist)||void 0===e?void 0:e.stageName}),col3:(0,o.jsx)(G,{title:null==f?void 0:f.title,onTrackPlay:j.bind(void 0,f),isPlaying:U&&f.UUID===p.trackUUID,artist:null==f?void 0:null===(n=f.mainArtist)||void 0===n?void 0:n.stageName})}),(0,o.jsx)(y,{col1:"Influences",col2:null==s?void 0:null===(r=s.parent)||void 0===r?void 0:r.map((a,e)=>(0,o.jsx)("span",{children:a+" "},a+e)),col3:null==t?void 0:null===(i=t.parent)||void 0===i?void 0:i.map((a,e)=>(0,o.jsx)("span",{children:a+" "},a+e))}),(0,o.jsx)(y,{col1:"Form and Style",col2:c.style.details,col3:d.style.details}),(0,o.jsx)(y,{col1:"Singing Style",col2:c.singingStyle.details,col3:d.singingStyle.details}),(0,o.jsx)(y,{col1:"Arrangement",col2:c.arrangement.details,col3:d.arrangement.details}),(0,o.jsx)(y,{col1:"Theme",col2:c.theme.details,col3:d.theme.details}),(0,o.jsx)(y,{col1:"Timbre",col2:c.timbre.details,col3:d.timbre.details}),(0,o.jsx)(y,{col1:"Cultural Influences",col2:c.culture.details,col3:d.culture.details})]})},H=()=>(0,o.jsxs)("div",{className:g().container__quiz,children:[(0,o.jsx)("title-large",{children:"Test your knowledge of African Genres!"}),(0,o.jsx)("p",{children:"Test your knowledge of African music with our fun and informative quiz. A must-try for music lovers and curious beginners."}),(0,o.jsx)(i.zx,{theme:"pink",style:{padding:"1em 2em",fontSize:"large",fontWeight:500},children:(0,o.jsx)(f(),{href:"/genre/quiz",passHref:!0,children:(0,o.jsx)("span",{children:"Take the Quiz now!"})})})]}),F=n(5098),C=n.n(F);let R=[{UUID:"51f0efd2-e044-47bb-963e-0b53ecbfa499",genre:"Bongo Flava",options:["Were","Fuji","Apala","Highlife","Bongo Flava"]},{UUID:"c57e5a44-828d-4d5c-b747-35fbb3202a36",genre:"Afrobeat",options:["Gnawa","Sungura","Afrobeat","Highlife","Apala"]},{UUID:"f27b1924-d1a3-4fd4-9434-00ff353f434e",genre:"Kwaito",options:["House","Qgom","Kwaito","Amapiano","Mbalax"]},{UUID:"e35cb09c-8421-4c51-a015-0b0a6214fe31",genre:"Afrobeat",options:["Soukous","Highlife","Apala","Afrobeat","Sungura"]},{UUID:"343ab418-7667-4b19-b538-8fd975a96130",genre:"Highlife",options:["Makossa","Juju","Highlife","Morna","Sungura"]},{UUID:"74c47d00-d768-4e3a-80ee-a55788f33bf0",genre:"Jazz",options:["Jazz","Apala","Afrobeat","Soukous","Sungura"]},{UUID:"486c8ba8-1352-4765-8be1-9af8cb611ba2",genre:"Afrobeat",options:["Highlife","Apala","Afrobeat","Gnawa","Sungura"]},{UUID:"420c8d08-5cae-421f-8328-5f1151e7b8f2",genre:"Sega",options:["Mbalax","Jazz","Sega","Amapiano","Sungura"]},{UUID:"5b9f9989-0314-44e7-9651-86601ea62ccc",genre:"Reggae",options:["Apala","Reggae","Fuji","Juju","Highlife"]},{UUID:"a4fcc4e8-7a6d-4175-a201-392d848dc831",genre:"Juju",options:["Sungura","Amapiano","Mbalax","Jazz","Juju"]},{UUID:"a26b6c7d-2e4f-42b6-b5ff-28810823dff2",genre:"Ogene",options:["Dancehall","Odumodu","Pop","Ogene","Afrobeats"]},{UUID:"ffe288d8-1d3b-438c-86a9-9071d1b1a0ad",genre:"Rumba Lingala",options:["Makossa","Rumba Lingala","Coupe Decale","Benga","Sungura"]},{UUID:"4182f3bb-8b2e-41d8-b027-9fa1a5aef920",genre:"Shangaan Electro",options:["Makossa","Coupe Decale","Shangaan Electro","Chimurenga","Desert Blues"]},{UUID:"d2a41188-3844-45e9-ab89-21a068132e8b",genre:"Bongo Flava",options:["Fuji","Bongo Flava","Apala","Highlife","Were"]},{UUID:"6d0a3770-3743-46e6-880d-c0c60f6fe9ef",genre:"Highlife",options:["Juju","Makossa","Highlife","Morna","Sungura"]},{UUID:"39c1b8fa-a018-414a-8f1f-f02ca0955cc0",genre:"Jazz",options:["Soukous","Afrobeat","Jazz","Apala","Sungura"]},{UUID:"2da3eab8-6f15-43a6-8a0a-af818fc26dd8",genre:"Gqom",options:["Afrobeat","Highlife","Apala","Gqom","Sungura"]},{UUID:"f524a280-1306-4650-b366-03a25830bda5",genre:"Jazz",options:["Jazz","Apala","Afrobeat","Soukous","Sungura"]},{UUID:"a99d9f79-7245-49ea-b204-8825c0aae9ea",genre:"Reggae",options:["Apala","Highlife","Fuji","Juju","Reggae"]},{UUID:"01865280-a90c-4f3a-8082-fa1c647d1635",genre:"Soukous",options:["Apala","Soukous","Highlife","Gnawa","Sungura"]},{UUID:"8bdcb182-2b86-4f2c-a14e-48042af71c6a",genre:"Shaabi",options:["Makossa","Juju","Shaabi","Morna","Sungura"]},{UUID:"b9df596b-6435-45c2-864a-086f961e150e",genre:"Gqom",options:["Highlife","Apala","Gqom","Afrobeat","Sungura"]},{UUID:"af37b29c-269c-49c2-9758-8e66e1b9e41a",genre:"Mbalax",options:["Afrobeat","Sungura","Soukous","Jazz","Mbalax"]},{UUID:"5ec2d4cb-0251-41da-acb1-29563d71c32e",genre:"Sakara",options:["Apala","Jazz","Sakara","Afrobeat","Sungura"]},{UUID:"30889278-cc9a-44f7-aaaf-ebbed4704d33",genre:"Kwaito",options:["Sungura","Amapiano","Soukous","Jazz","Kwaito"]},{UUID:"a373118e-9e81-400c-8a9a-c8f9eabf8dda",genre:"Bongo Flava",options:["Apala","Highlife","Were","Fuji","Bongo Flava"]}
1,{UUID:"8e6f6266-aa6e-4bcb-b3ea-53e174b3742e",genre:"Kwaito",options:["Mbalax","Jazz","Kwaito","Amapiano","Sungura"]},{UUID:"1919429f-e430-438a-a61f-01e72bb36e6d",genre:"Rumba Lingala",options:["Coupe Decale","Makossa","Rumba Lingala","Benga","Sungura"]},{UUID:"83601ec9-d718-48d2-b22c-af52da345a5f",genre:"Genge",options:["Sungura","Amapiano","Mbalax","Jazz","Genge"]},{UUID:"68b0f606-9df5-409b-8a0c-433073c6d803",genre:"Fuji",options:["Soukous","Fuji","Sungura","Highlife","Apala"]},{UUID:"250ff77c-392a-4d79-906b-cc5ee4cd2e46",genre:"Afrobeat",options:["Fuji","Were","Apala","Gnawa","Sungura"]},{UUID:"6cc85375-0340-41ab-904f-9e652f96c516",genre:"Apala",options:["Isicathamiya","Apala","Were","Fuji","Juju"]},{UUID:"0184d2a7-ff8d-4d0d-a110-78a3ae42b235",genre:"Rumba Lingala",options:["Benga","Coupe Decale","Makossa","Rumba Lingala","Sungura"]},{UUID:"5718946d-dd4a-425d-9de3-be4fb5cd7cfb",genre:"Bongo Flava",options:["Fuji","Bongo Flava","Apala","Highlife","Were"]},{UUID:"abc2b709-785e-480f-aadb-090e85496aa7",genre:"Afrobeat",options:["Apala","Gnawa","Afrobeat","Highlife","Sungura"]},{UUID:"957d3bba-7532-44c6-b92a-63de28c332d2",genre:"Isicathamiya",options:["Sungura","Marabi","Jazz","Isicathamiya","Kwaito"]},{UUID:"ae6b6d9d-84d0-4b22-b4a1-41ea3211b3ee",genre:"Juju",options:["Mbalax","Amapiano","Sungura","Jazz","Juju"]},{UUID:"4fdd529f-8046-49a8-b12c-93b14def0caa",genre:"Amapiano",options:["Sungura","Jazz","Sakara","Amapiano","Dance"]},{UUID:"1ce0c9a7-a8e6-4936-83f6-50d2bde56c78",genre:"Tarab",options:["House","Sungura","Jazz","Kwaito","Tarab"]},{UUID:"85291ad1-0cd8-42f6-a44f-b78a384c08c7",genre:"House",options:["House","Mbalax","Kwaito","Amapiano","Afrobeats"]},{UUID:"708a416a-d5a9-4475-9af2-90969dfbc75b",genre:"Mbalax",options:["Mbalax","Desert Blues","Morna","Shangaan Electro","Chimurenga"]},{UUID:"44195af3-959f-404f-8e29-e7a6d8ef6a64",genre:"Gqom",options:["Afrobeat","Gqom","Highlife","Apala","Sungura"]},{UUID:"5a10f4ec-c0cd-4859-9037-94e6cb61e800",genre:"Apala",options:["Afrobeat","Highlife","Gnawa","Sungura","Apala"]},{UUID:"f4f7fbb0-dfbd-4719-9317-fb9f7a4c9ef9",genre:"Jazz",options:["Jazz","Apala","Afrobeat","Soukous","Sungura"]}
1,{UUID:"9629d11c-dece-4939-b0a9-73977f037f43",genre:"Sakara",options:["Mbalax","Jazz","Sakara","Afrobeat","Sungura"]},{UUID:"4657c6ad-7823-488c-b541-ae58c0f6d411",genre:"Fuji",options:["Apala","Fuji","Soukous","Highlife","Sungura"]},{UUID:"7aa0655e-1e63-4856-a05d-d2575454cf73",genre:"Morna",options:["Fuji","Jazz","Mbalax","Afrobeat","Morna"]},{UUID:"6ac6d1fb-cc05-4e8b-8412-67212d60f0c8",genre:"Mbalax",options:["Jazz","Mbalax","Soukous","Afrobeat","Sungura"]},{UUID:"5e32696f-aa76-4ed5-914a-41a42ed56a8e",genre:"Shaabi",options:["Juju","Makossa","Shaabi","Morna","Gnawa"]},{UUID:"33db8dc7-afe1-425c-b0d4-8505ae5d5c55",genre:"Kwaito",options:["Mbalax","Jazz","Sungura","Kwaito","Amapiano"]},{UUID:"9b549c2b-e8d7-4f5d-9f77-2c05839e2773",genre:"Jazz",options:["Soukous","Afrobeat","Sungura","Jazz","Apala"]},{UUID:"14ef33ba-e7e1-44f1-b2a1-e5436aad1f44",genre:"Apala",options:["Highlife","Apala","Afrobeat","Gnawa","Sungura"]},{UUID:"2abc9f80-5e0c-4688-8246-000262e8e0c8",genre:"Apala",options:["Highlife","Apala","Afrobeat","Gnawa","Sungura"]},{UUID:"16f6ddb5-97b8-4a5c-8fd8-c27bf8cb318b",genre:"Sakara",options:["Afrobeat","Fuji","Apala","Jazz","Sakara"]},{UUID:"f69aadca-15d2-4eff-bac8-0f6bd317c055",genre:"Genge",options:["Mbalax","Jazz","Genge","Amapiano","Sungura"]},{UUID:"073ae5ea-0041-4118-8d1a-a5917dddd75a",genre:"Amapiano",options:["Jazz","Sakara","Dance","Amapiano","Dancehall"]},{UUID:"300d8127-6974-49ca-99bd-2f86a40fa5d8",genre:"Apala",options:["Afrobeat","Highlife","Apala","Gnawa","Sakara"]},{UUID:"fbce6528-6d53-418e-9892-c188da5e2d1e",genre:"Sakara",options:["Sungura","Fuji","Jazz","Sakara","Afrobeat"]},{UUID:"d970d43c-43cd-42d1-91f7-dd5dba5ec2e2",genre:"Reggae",options:["Apala","Highlife","Fuji","Juju","Reggae"]},{UUID:"39ceafbc-6f24-4626-b0cd-cfdc0899630b",genre:"Shaabi",options:["Makossa","Juju","Shaabi","Morna","Sungura"]},{UUID:"c82ea50a-360a-41d0-aba7-c95ddec9dad3",genre:"Afrobeat",options:["Apala","Gnawa","Afrobeat","Highlife","Sungura"]},{UUID:"b566c26e-e07e-486d-a590-bea35c8948de",genre:"Soukous",options:["Apala","Gnawa","Sungura","Soukous","Highlife"]},{UUID:"207a0cf3-cbbb-4060-99a3-63effaf0db60",genre:"Genge",options:["Mbalax","Amapiano","Sungura","Jazz","Genge"]},{UUID:"0ae0bf2f-517d-4a92-8175-779cabb528b8",genre:"Gqom",options:["Gqom","Afrobeat","Highlife","Apala","Sungura"]},{UUID:"4a8b682d-79d6-4318-9f43-5ccbd3db3395",genre:"Highlife",options:["Juju","Highlife","Makossa","Morna","Sungura"]},{UUID:"fa2f2616-e0fb-4daf-9e52-8c887cf71d83",genre:"Jazz",options:["Soukous","Afrobeat","Sungura","Jazz","Apala"]},{UUID:"5596bf59-8e13-45c6-af9d-44c574eabf9c",genre:"Highlife",options:["Juju","Highlife","Makossa","Morna","Sungura"]},{UUID:"03775bc8-6461-400e-8f4e-16cff6eb406b",genre:"Gqom",options:["Highlife","Apala","Gqom","Afrobeat","Sungura"]},{UUID:"c6ec940b-210a-4bb6-826c-b82c6380415d",genre:"Bongo Flava",options:["Apala","Highlife","Were","Fuji","Bongo Flava"]},{UUID:"386b7f61-838d-4a44-9b8d-a01901fa36ee",genre:"Jazz",options:["Soukous","Jazz","Apala","Afrobeat","Sungura"]},{UUID:"e9829eb1-7266-4797-a094-0923d1db6c2f",genre:"Apala",options:["Highlife","Apala","Afrobeat","Gnawa","Sungura"]},{UUID:"abcc40ee-fbfd-4953-bd84-439e3ca1903d",genre:"Gqom",options:["Afrobeat","Highlife","Apala","Gqom","Sungura"]},{UUID:"b05da01f-61a7-40e1-bbfa-6904ffbd8b6c",genre:"Genge",options:["Mbalax","Amapiano","Sungura","Jazz","Genge"]},{UUID:"4b6a9856-b84a-4bd8-a787-c81b0e6b5540",genre:"Shaabi",options:["Juju","Shaabi","Makossa","Morna","Sungura"]},{UUID:"3745441a-87a8-4515-a5b3-66a45d4ae1d5",genre:"Mbalax",options:["Afrobeat","Sungura","Soukous","Jazz","Mbalax"]},{UUID:"791a851a-51f7-4644-8d68-412dfe9ef489",genre:"Genge",options:["Sungura","Jazz","Genge","Amapiano","Mbalax"]},{UUID:"c68778bf-8c39-4db7-9061-813afa36dad0",genre:"Mbalax",options:["Soukous","Mbalax","Jazz","Afrobeat","Sungura"]},{UUID:"c1be71e0-1070-4383-abf0-f6e496fceefa",genre:"Juju",options:["Mbalax","Amapiano","Sungura","Jazz","Juju"]},{UUID:"d2ef485b-8587-4de0-81f9-d131f8e8b5a4",genre:"Apala",options:["Afrobeat","Highlife","Gnawa","Sungura","Apala"]},{UUID:"911b0cef-1bc4-4da9-a6f8-e4ae393fd55e",genre:"Shaabi",options:["Juju","Shaabi","Makossa","Morna","Sungura"]},{UUID:"33e28b6b-6423-49ca-be78-4b68e76ab03d",genre:"Rumba Lingala",options:["Rumba Lingala","Coupe Decale","Makossa","Benga","Sungura"]},{UUID:"40f7ddd8-91aa-402a-baa2-bf0107f5b3ba",genre:"Highlife",options:["Makossa","Juju","Highlife","Morna","Sungura"]},{UUID:"9a29ed85-62e1-4977-9027-ee9767ce7ab9",genre:"Griot",options:["Jazz","Mbube","Soul","Desert Blues","Griot"]},{UUID:"d947a339-b3ee-4868-97af-41025468388d",genre:"Fuji",options:["Apala","Fuji","Soukous","Highlife","Sungura"]},{UUID:"1523b38b-275c-45d4-b2b4-9c75f13282af",genre:"Morna",options:["Fuji","Morna","Jazz","Mbalax","Afrobeat"]},{UUID:"4e1ee1b5-d15e-4554-bcf1-4a844a3f1a8b",genre:"Juju",options:["Sungura","Mbalax","Jazz","Juju","Amapiano"]}
1,{UUID:"4432a6e7-221d-4084-8879-c7d6b6ecbaf1",genre:"Soukous",options:["Apala","Soukous","Highlife","Gnawa","Sungura"]},{UUID:"87947fe1-aa75-4c5d-8c44-d2be1c8459fa",genre:"Tarab",options:["Sungura","Jazz","Kwaito","Tarab","Afrobeats"]},{UUID:"6554264b-90ff-45dd-8437-75d05d470619",genre:"Apala",options:["Apala","Afrobeat","Highlife","Gnawa","Sungura"]},{UUID:"9ca3825f-201f-45ee-b9b0-d731e75949f1",genre:"Kwaito",options:["Sungura","Jazz","Kwaito","Amapiano","Dance"]},{UUID:"d654101d-846e-4e91-8402-8b35159d85b6",genre:"Fuji",options:["Apala","Fuji","Soukous","Highlife","Sungura"]},{UUID:"8db09944-45c0-4695-91b2-f427a2783aaf",genre:"Shaabi",options:["Makossa","Juju","Shaabi","Morna","Sungura"]},{UUID:"68df5708-bd70-4a7a-8067-2e3359b4c385",genre:"Gqom",options:["Afrobeat","Gqom","Highlife","Apala","Sungura"]},{UUID:"82b0a3a9-086a-4079-9e42-3b3ac4a982e0",genre:"Reggae",options:["Apala","Highlife","Fuji","Juju","Reggae"]},{UUID:"99967acd-fce0-444f-80ab-9252176be225",genre:"Mbalax",options:["Jazz","Mbalax","Soukous","Afrobeat","Sungura"]},{UUID:"b85948b5-4a2b-46e1-9797-c79dbf1f1fcf",genre:"Tarab",options:["Sungura","Apala","Jazz","Kwaito","Tarab"]},{UUID:"a5176483-459d-4b4c-aa67-b37a709fab26",genre:"Morna",options:["Makossa","Juju","Morna","Highlife","Sungura"]},{UUID:"df24f8a2-73b8-4c18-8837-d702c8e6b0ea",genre:"Amapiano",options:["Sungura","Jazz","Sakara","Amapiano","Dance"]},{UUID:"36ae8cfe-2306-4327-8b32-f551eba82bd9",genre:"Bongo Flava",options:["Fuji","Bongo Flava","Apala","Highlife","Were"]},{UUID:"4dcbbbd2-8cc5-4d53-99a9-6fb22c931c39",genre:"Reggae",options:["Apala","Reggae","Fuji","Highlife","Juju"]},{UUID:"1919429f-e430-438a-a61f-01e72bb36e6d",genre:"Rumba Lingala",options:["Makossa","Rumba Lingala","Benga","Coupe Decale","Sungura"]},{UUID:"51ad9667-1483-4c6a-98ad-5a6d04892782",genre:"Jazz",options:["Soukous","Afrobeat","Jazz","Apala","Sungura"]},{UUID:"5a030cd0-b4ab-418f-8b2a-1c2a9cb2c10f",genre:"Rumba Lingala",options:["Makossa","Rumba Lingala","Benga","Coupe Decale","Sungura"]},{UUID:"16c5062c-8b61-4e6e-8162-99f2e8eaa06e",genre:"Jazz",options:["Jazz","Apala","Afrobeat","Soukous","Sungura"]},{UUID:"fb56856a-218b-4e15-94fc-72617052a775",genre:"Mbalax",options:["Afrobeat","Sungura","Soukous","Jazz","Mbalax"]},{UUID:"bd74c11f-1fd3-4671-a29f-c1cb4b32ae1a",genre:"Reggae",options:["Apala","Reggae","Fuji","Highlife","Juju"]},{UUID:"69c589b1-157f-4028-90dc-917e7a687ffc",genre:"Amapiano",options:["Dance","Jazz","Sakara","Amapiano","Sungura"]},{UUID:"0bfbfab7-5370-4fd0-8683-c868f65781f6",genre:"Highlife",options:["Juju","Makossa","Morna","Sungura","Highlife"]},{UUID:"262be43c-ae19-4816-b141-cfd57eb1a711",genre:"Reggae",options:["Apala","Reggae","Fuji","Juju","Highlife"]},{UUID:"0184d2a7-ff8d-4d0d-a110-78a3ae42b235",genre:"Rumba Lingala",options:["Makossa","Rumba Lingala","Coupe Decale","Benga","Sungura"]},{UUID:"f99d80b0-438e-477b-b6fe-0ddadc8a102d",genre:"Shaabi",options:["Makossa","Juju","Shaabi","Morna","Sungura"]},{UUID:"99eb64fd-cbef-4e59-baee-66c848850d0a",genre:"Soukous",options:["Gnawa","Sungura","Soukous","Highlife","Apala"]},{UUID:"863c29a7-2c55-4f45-a3fd-19598d2914ae",genre:"Sungura",options:["Afrobeat","Fuji","Sungura","Jazz","Mbalax"]},{UUID:"2d8ccec9-a4ff-4d63-aab6-68d22352ed1a",genre:"Jazz",options:["Jazz","Apala","Afrobeat","Soukous","Morna"]},{UUID:"5f0d1be7-6e06-494b-9b71-f1d852aaa4c2",genre:"Soukous",options:["Highlife","Apala","Soukous","Gnawa","Sungura"]},{UUID:"6ccced98-d667-4a48-99f7-524cd8cc72b9",genre:"Shaabi",options:["Juju","Shaabi","Makossa","Morna","Sungura"]},{UUID:"555e06b0-88ee-479b-8d12-47353f72b0ff",genre:"Reggae",options:["Apala","Reggae","Fuji","Highlife","Juju"]},{UUID:"e58dceba-6507-49d6-909b-4bfe44a7a119",genre:"Shaabi",options:["Makossa","Juju","Shaabi","Morna","Sungura"]},{UUID:"a7dae69a-c789-4ab4-b407-8b59fb5985b7",genre:"Genge",options:["Sungura","Mbalax","Jazz","Genge","Amapiano"]},{UUID:"4766d64b-d382-4581-8a97-8a35b2c1d873",genre:"Fuji",options:["Soukous","Fuji","Sungura","Highlife","Apala"]},{UUID:"17589869-1149-4342-855d-aab96ef3a7fd",genre:"Gqom",options:["Highlife","Apala","Gqom","Afrobeat","Sungura"]},{UUID:"62e3f85e-9065-46cd-a9b0-c3cbe9e2375b",genre:"Afrobeat",options:["Highlife","Apala","Afrobeat","Gnawa","Chimurenga"]},{UUID:"7cd64153-99c0-40ac-9701-46279f2cae57",genre:"Sungura",options:["Benga","Rumba Lingala","Highlife","Makossa","Sungura"]},{UUID:"aaef360b-640b-4551-81d9-f36c361b2cc1",genre:"Genge",options:["Mbalax","Amapiano","Benga","Jazz","Genge"]},{UUID:"791a851a-51f7-4644-8d68-412dfe9ef489",genre:"Kizomba",options:["Sungura","Jazz","Kizomba","Amapiano","Mbalax"]},{UUID:"b82a6f1a-61bc-465c-8972-246dfbeee28a",genre:"Amapiano",options:["Afrobeats","Highlife","Kwaito","Amapiano","House"]},{UUID:"8b2371b3-f5e7-4877-b7cc-c964d413e8b7",genre:"Afrobeat",options:["Gnawa","Makossa","Afrobeat","Highlife","Apala"]},{UUID:"0935756a-5d6f-4805-a9ea-7a15ac9737bc",genre:"Gqom",options:["Highlife","Apala","Gqom","Afrobeat","Genge"]},{UUID:"2ebb3869-4fa8-4985-bf91-3367ae80b02d",genre:"Mbalax",options:["Soukous","Jazz","Mbalax","Afrobeat","Sungura"]},{UUID:"5151190d-0ffc-45f6-8f3f-4da4729ade90",genre:"Tarab",options:["Apala","Jazz","Kwaito","Tarab","Sungura"]},{UUID:"a9d4cab0-ec8e-416e-b9f3-99f37a46b30c",genre:"Sakara",options:["Fuji","Jazz","Sakara","Afrobeat","Sungura"]},{UUID:"73006102-b761-4d38-bd8e-3aef2503d3dc",genre:"Marabi",options:["Qgom","Marabi","Kwaito","Amapiano","Mbube"]},{UUID:"fc165b82-9ad7-4b96-a018-c2748a60da71",genre:"Soukous",options:["Soukous","Highlife","Apala","Gnawa","Makossa"]},{UUID:"a8a78ac4-60c8-491e-92a7-a157cd352f14",genre:"Morna",options:["Apala","Morna","Chimurenga","Mbube","Jazz"]},{UUID:"fa060944-5f24-4e3f-b60b-92209e684279",genre:"Sakara",options:["Apala","Jazz","Sakara","Afrobeat","Fuji"]},{UUID:"a989355d-b052-4850-aed4-9b0da9e438a8",genre:"Bongo Flava",options:["Highlife","Were","Fuji","Bongo Flava"]},{UUID:"d9490f24-295b-4a01-9a4d-5ee879763a05",genre:"Juju",options:["Jazz","Juju","Highlife","Amapiano","Ogene"]},{UUID:"e99bd5e7-9e2e-4a94-95cd-18c6db35aaf3",genre:"Mbalax",options:["Soukous","Mbalax","Jazz","Afrobeat","Gnawa"]},{UUID:"dea4f94b-daf3-482e-a5ee-299623b4bbdb",genre:"Sungura",options:["Benga","Afrobeat","Jazz","Mbalax","Sungura"]},{UUID:"46058f20-3b8d-4752-af63-c4e6d099cb68",genre:"Juju",options:["Mbalax","Amapiano","Morna","Jazz","Juju"]}
1,{UUID:"a954297f-e573-4b58-8846-c70db9689871",genre:"Sungura",options:["Chimurenga","Afrobeat","Sungura","Jazz","Mbalax"]},{UUID:"fff8d157-08fe-474b-b3e2-e88a83b5eff5",genre:"Afrobeat",options:["Highlife","Apala","Afrobeat","Gnawa","Makossa"]},{UUID:"3decb044-20b8-492b-8a7e-27998c4e7305",genre:"Sega",options:["Soukous","Amapiano","Reggae","Jazz","Sega"]},{UUID:"1c6b3f1a-227a-4e78-9f05-e761c4bce4ad",genre:"Juju",options:["Highlife","Jazz","Juju","Amapiano","Mbalax"]},{UUID:"59ebcc3c-2a2e-4245-a8c2-e56c51fbd14c",genre:"Sega",options:["Dancehall","Amapiano","Soukous","Jazz","Sega"]},{UUID:"b082364e-4bdb-4f47-b2fe-17edc2c613c2",genre:"Sungura",options:["Fuji","Jazz","Mbalax","Afrobeat","Sungura"]},{UUID:"2abc9f80-5e0c-4688-8246-000262e8e0c8",genre:"Sakara",options:["Were","Fuji","Jazz","Sakara","Afrobeat"]},{UUID:"017f02aa-652d-45d7-bf69-8373c8bcdbe2",genre:"Tarab",options:["Apala","Jazz","Kwaito","Tarab","Gnawa"]},{UUID:"0202238f-aaa6-49ac-8b85-42015748b05c",genre:"Qgom",options:["House","Qgom","Kwaito","Amapiano","Mbalax"]},{UUID:"7015f18a-8796-4892-b3ac-4758e86c00c3",genre:"Kwaito",options:["Mbalax","Jazz","Kwaito","Amapiano","Qgom"]},{UUID:"629ebc25-8ccd-404b-932b-f87dc461da12",genre:"Rumba Lingala",options:["Coupe Decale","Makossa","Rumba Lingala","Benga","Sungura"]},{UUID:"3f47e9a6-3155-48e9-9ff0-82a2de2e287c",genre:"Juju",options:["Highlife","Jazz","Juju","Amapiano","Apala"]},{UUID:"295432b9-ba25-4c31-97bd-9e74dce57aeb",genre:"Tarab",options:["Morna","Jazz","Kwaito","Tarab","House"]},{UUID:"411ef8d3-1813-4a49-b618-d3ef14159e6f",genre:"Shaabi",options:["Makossa","Juju","Shaabi","Morna","Sungura"]},{UUID:"63848d02-3ad4-4ca2-ad73-14686a3d206d",genre:"Kwaito",options:["Sungura","Jazz","Mbalax","Kwaito","Amapiano"]},{UUID:"c21c876c-c142-43d4-8ef7-5ba3c6ed2faa",genre:"Reggae",options:["Apala","Highlife","Fuji","Juju","Reggae"]},{UUID:"2a990f3e-c4a8-413e-9643-9514675b6d87",genre:"Reggae",options:["Apala","Highlife","Fuji","Juju","Reggae"]},{UUID:"a4822923-0ee8-4f77-aa54-f613c94c2a81",genre:"Chimurenga",options:["Highlife","Morna","Chimurenga","Desert Blues","Makossa"]},{UUID:"f8184672-64c5-4b6a-93eb-5bd383f001d6",genre:"Afrobeat",options:["Coupe Decale","Makossa","Afrobeat","Jazz","Git"]},{UUID:"3fee2514-bbe5-4850-af94-daa3ea916e1f",genre:"Sungura",options:["Sungura","Afrobeat","Jazz","Mbalax","Highlife"]},{UUID:"951727eb-4b99-4198-9a50-ac0aae44775a",genre:"Kwaito",options:["Soukous","Amapiano","Sungura","Jazz","Kwaito"]},{UUID:"3b13354f-4e2e-4c51-bf01-5d1b80a3423f",genre:"Amapiano",options:["Jazz","Sakara","Dance","Amapiano","Sungura"]},{UUID:"33cbfa27-a40b-4929-8d3b-559a0c61ef89",genre:"Juju",options:["Mbalax","Amapiano","Sungura","Jazz","Juju"]},{UUID:"ec9cdf69-8f68-449b-99b1-51a43d69ba13",genre:"Apala",options:["Apala","Afrobeat","Highlife","Gnawa","Sungura"]},{UUID:"9c253636-31e3-4841-9bd0-2fe981caf8bb",genre:"Highlife",options:["Juju","Highlife","Makossa","Morna","Sungura"]},{UUID:"4be21a7d-11e7-42a1-b37a-1bbd6fa77e9c",genre:"Amapiano",options:["Sungura","Jazz","Sakara","Amapiano","Dance"]},{UUID:"58afc08b-e2d9-4055-9490-3230fa0a6024",genre:"Morna",options:["Juju","Makossa","Morna","Sungura","Highlife"]},{UUID:"5b32a5aa-194a-4499-8245-ebce65537fca",genre:"Fuji",options:["Soukous","Highlife","Apala","Fuji","Sungura"]},{UUID:"73552a3c-7149-42f5-978a-4410d8c9c71a",genre:"Fuji",options:["Apala","Fuji","Soukous","Highlife","Sungura"]},{UUID:"59e2233b-5725-48de-9e89-1d4c9eefe796",genre:"Mbalax",options:["Afrobeat","Sungura","Soukous","Jazz","Mbalax"]},{UUID:"d5697c96-ebff-423d-9011-934dcdd2fa88",genre:"Shaabi",options:["Juju","Makossa","Morna","Sungura","Shaabi"]},{UUID:"c01964fa-f415-42cd-97ae-067c93670ded",genre:"Apala",options:["Afrobeat","Highlife","Gnawa","Sungura","Apala"]},{UUID:"9644f07c-5745-495d-8a9f-a0525837dc50",genre:"Gqom",options:["Afrobeat","Highlife","Apala","Gqom","Sungura"]},{UUID:"a66107a1-6a03-4900-84bf-e0e38455067c",genre:"Kwaito",options:["Sungura","Jazz","Kwaito","Amapiano","Mbalax"]},{UUID:"8b5efc4f-bfe3-425b-8745-94ad3964f379",genre:"Sakara",options:["Mbalax","Jazz","Sakara","Afrobeat","Sungura"]}
1,{UUID:"ba16d691-8651-4cc7-ba6e-af7dd46f2400",genre:"Soukous",options:["Soukous","Highlife","Apala","Gnawa","Sungura"]},{UUID:"128f6668-f83d-4350-b6a2-06541a9de231",genre:"Bongo Flava",options:["Were","Highlife","Fuji","Apala","Bongo Flava"]},{UUID:"eb034cad-459b-4e01-8a10-b7c8f34d61b8",genre:"Tarab",options:["Afrobeats","Sungura","Jazz","Kwaito","Tarab"]},{UUID:"02ba61d1-b48d-478b-be13-16ad9191a77a",genre:"Bongo Flava",options:["Apala","Highlife","Were","Fuji","Bongo Flava"]},{UUID:"33bbe7bd-336c-4c2f-a34b-9769e642b3ac",genre:"Jazz",options:["Mbalax","Desert Blues","Morna","Rumba Lingala","Jazz"]},{UUID:"128ae636-e348-40fb-8b40-88eaaf0a1348",genre:"Highlife",options:["Juju","Highlife","Makossa","Morna","Sungura"]},{UUID:"8cb7bb9a-d085-4906-b821-cc50d3e08bf6",genre:"Bongo Flava",options:["Fuji","Bongo Flava","Apala","Highlife","Were"]},{UUID:"92b77b81-fc9d-4455-9d94-62b0410211ee",genre:"Afrobeat",options:["Highlife","Apala","Afrobeat","Gnawa","Sungura"]},{UUID:"1ef1735f-565b-40ed-a867-0869aad0df52",genre:"Sungura",options:["Benga","Afrobeat","Sungura","Jazz","Mbalax"]},{UUID:"44d261f1-d6b0-426c-bec0-24287aa0b641",genre:"Apala",options:["Highlife","Apala","Afrobeat","Gnawa","Sungura"]},{UUID:"d5cb8eb5-3058-42de-ad23-f5d1cd8b61b0",genre:"Rumba Lingala",options:["Coupe Decale","Makossa","Rumba Lingala","Benga","Sungura"]},{UUID:"a43f81b2-0fcf-441c-8452-d68091469e82",genre:"Sakara",options:["Fuji","Jazz","Sakara","Afrobeat","Sungura"]},{UUID:"95312741-2079-4b5f-9060-dc41860629e6",genre:"Rumba Lingala",options:["Coupe Decale","Makossa","Rumba Lingala","Benga","Sungura"]},{UUID:"a65c2379-cc37-47c6-a629-4fc708a833db",genre:"Fuji",options:["Apala","Fuji","Soukous","Highlife","Sungura"]},{UUID:"fc4dea80-d9e2-4a7b-93e0-006fe6075a0f",genre:"Afrobeat",options:["Gnawa","Sungura","Afrobeat","Highlife","Apala"]},{UUID:"f5c7106b-b4b7-4d03-8c01-d633bfc2fc26",genre:"Sungura",options:["Afrobeat","Fuji","Sungura","Jazz","Mbalax"]},{UUID:"5ac2a8db-4ed1-4a42-b426-fecbaf9f4b0c",genre:"Soukous",options:["Gnawa","Sungura","Soukous","Highlife","Apala"]}],B=function(){let a=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10,e=Math.floor(Math.random()*R.length)-a;return R.slice(e,e+a)},N=()=>(0,o.jsxs)("div",{className:C().container__pi,children:[(0,o.jsx)("h2",{style:{fontWeight:400},children:"How To Play"}),(0,o.jsxs)("ul",{children:[(0,o.jsx)("li",{className:"p",children:(0,o.jsx)("p",{children:"You have 30 seconds to correctly identify the genre that best describes a song!"})}),(0,o.jsx)("li",{className:"p",children:(0,o.jsx)("p",{children:"Click play to start. Once started, the player will snowball through the tracks until the end. You cannot go back. You can pause the play."})}),(0,o.jsx)("li",{className:"p",children:(0,o.jsx)("p",{children:"Listen. Select a genre from the options that best describes the currently playing song. You must select a genre before the song ends to win a point."})}),(0,o.jsxs)("li",{className:"p",children:[" ",(0,o.jsx)("p",{children:"A new song is loaded after every selection or the end of the currently playing song."})]}),(0,o.jsxs)("li",{className:"p",children:[" ",(0,o.jsx)("p",{})]})]})]}),q=a=>{let{score:e,tryAgain:n}=a;return(0,o.jsxs)("div",{className:C().container__r,children:[(0,o.jsx)("h2",{style:{fontWeight:300},children:"Your Score!"}),(0,o.jsxs)("p",{style:{fontSize:"".concat(1.5+e/100,"em")},children:[e.toFixed(2),"%"]}),e<=50&&(0,o.jsxs)("span",{children:[(0,o.jsx)("p",{children:"Thanks for taking the quiz."}),(0,o.jsx)("p",{style:{fontSize:"smaller"},children:"Although you didn't get the score you wanted, don't worry. African music is a big world with much to discover. Keep exploring and try the quiz again soon."})]}),e>50&&e<80&&(0,o.jsxs)("span",{children:[(0,o.jsx)("p",{children:"Congratulations on completing the quiz!"}),(0,o.jsxs)("p",{style:{fontSize:"smaller"},children:["Your score of",(0,o.jsxs)("b",{children:[" ",e.toFixed(2),"% "]})," indicates a good understanding of African music, but there's always room for improvement. Keep exploring and learning about the different genres, artists, and cultural influences that make African music so rich and diverse. Who knows, you might even discover a new favorite genre. Keep up the good work, and try the quiz again soon!"]})]}),e>=80&&e<90&&(0,o.jsxs)("sapn",{children:[(0,o.jsx)("p",{style:{fontSize:"larger"},children:'"Wow, great job!'}),(0,o.jsxs)("p",{style:{fontSize:"smaller"},children:["Your score of ",(0,o.jsxs)("b",{children:[" ",e.toFixed(2),"% "]}),' is excellent and shows a deep understanding of African music. You have a wealth of knowledge about the different genres, artists, and cultural influences that make African music so rich and diverse. Keep exploring and learning, and you might just become an expert in no time. Congratulations!"']})]}),e>=90&&(0,o.jsxs)("span",{children:[(0,o.jsx)("p",{style:{fontSize:"x-large"},children:"Congratulations, you are an African music genre expert! "}),(0,o.jsx)("p",{style:{fontSize:"smaller"},children:'A score of 100% on the African Genre knowledge quiz is a testament to your exceptional knowledge and understanding of this fascinating genre. You are a true expert on African music and its different genres, artists, and cultural influences. Keep exploring and sharing your passion with others, and you might just inspire the next generation of African music lovers."'})]}),n&&(0,o.jsxs)(i.zx,{onClick:n,theme:"pink",children:[(0,o.jsx)("b",{children:"Play Again!"}),(0,o.jsx)("br",{}),(0,o.jsx)("small",{children:"With different tracks"})]}),(0,o.jsx)("div",{children:(0,o.jsx)(f(),{href:"/genre",passHref:!0,children:(0,o.jsx)("small",{style:{textDecoration:"underline"},children:"Discover More Genres"})})})]})},K=a=>{let{playlist:e,scorer:n,done:l}=a,[s,t]=(0,r.useState)({}),{nowPlaying:c,isPlaying:u,play:d,pause:g,setPlaylist:b,position:f=0,duration:p=30,nowPlayingIndex:U,skipToNext:h}=(0,z.gD)();(0,r.useEffect)(()=>(b({tracks:null==e?void 0:e.map(a=>({trackUUID:a.UUID,genre:a.genre,options:a.options}))}),()=>{g()}),[e]);let m=(0,r.useCallback)(()=>{try{u?g():d()}catch(a){console.log(a)}},[u,g,d]),S=(0,r.useCallback)(a=>{let{choice:o,ans:r}=a;n(o,r),t(a=>({...a,[U]:o===r})),U>=e.length-1?l():h()},[l,U,e.length,n,h]);return(0,o.jsxs)("div",{className:C().container__q,children:[(0,o.jsx)("div",{children:(0,o.jsx)(i.vF,{steps:null==e?void 0:e.length,currentStep:U,result:s})}),(0,o.jsx)("div",{className:C().container__p,children:(0,o.jsx)(I.JM,{size:56,onClick:m,isPlaying:u,progress:u?100-100*Math.abs(f/p):100})}),(0,o.jsx)("div",{className:C().container__o,children:null==c?void 0:c.options.map((a,e)=>(0,o.jsx)(i.zx,{disabled:!c||f<10,onClick:()=>S({choice:a,ans:c.genre}),children:a},a+e))})]})};var L=()=>{let[a,e]=(0,r.useState)(0),[n,i]=(0,r.useState)([]),[l,s]=(0,r.useState)(!1),t=(0,r.useCallback)((a,n)=>{a===n&&e(a=>a+1)},[]),c=(0,r.useCallback)(()=>{s(!0)},[]),u=(0,r.useCallback)(()=>{i(B(10)),s(!1),e(0)},[]);return(0,r.useEffect)(()=>{u()},[u]),(0,o.jsxs)("div",{className:C().container,children:[(0,o.jsxs)("header",{style:{textAlign:"center",fontWeight:500},children:[(0,o.jsx)("h2",{children:"African Genres Quiz"}),(0,o.jsx)("p",{children:"Test your knowledge of African Genres!"})]}),l?(0,o.jsx)(q,{score:a/n.length*100,tryAgain:u}):(0,o.jsxs)("div",{children:[(0,o.jsx)(N,{}),(0,o.jsx)("small",{children:"\xa0"}),(0,o.jsx)(K,{playlist:n,scorer:t,done:c})]})]})},T=n(50802),W=n.n(T),P=n(6158),E=n.n(P),Q=a=>{let{open:e,closeModal:n}=a,{SearchBar:i}=(0,S.Rx)("Search Genres","",l.URL.genreSearchAuto),s=(0,r.useCallback)(a=>{a.stopPropagation(),n()},[n]);return(0,o.jsx)(h.Z,{open:e,onClose:n,"aria-labelledby":"modal-genre-search","aria-describedby":"modal-genre-search",style:Z.modal,children:(0,o.jsxs)("div",{style:Z.container,children:[(0,o.jsx)("small",{onClick:s,children:"Close"}),i()]})})};let Z={modal:{display:"flex",flexFlow:"column"},container:{display:"flex",flex:1,flexFlow:"column",backgroundColor:"rgba(234,234,234,0.6)",paddingTop:"3em",paddingLeft:"0.5em",paddingRight:"0.5em"}};var O=n(4616),Y=n.n(O),V=a=>{let{genres:e}=a,[n,l]=(0,r.useState)(),s=(0,r.useCallback)(()=>{l([...e].sort((a,e)=>a.origin<e.origin?-1:a.origin>e.origin?1:0))},[e]),t=(0,r.useCallback)(()=>{l(null)},[]);return(0,o.jsxs)("div",{className:Y().container,children:[(0,o.jsx)("div",{className:Y().container__actions,children:(0,o.jsxs)(i.zx,{theme:"black",onClick:Array.isArray(n)?t:s,children:["Sort by ",Array.isArray(n)?"Name":"Country"]})}),(0,o.jsx)("ul",{className:Y().container__list,children:(null!=n?n:e).map((a,e)=>{var n;return(0,o.jsx)(f(),{href:"/genre/".concat(a.title),children:(0,o.jsxs)("li",{className:Y().item,children:[(0,o.jsx)("strong",{children:a.title}),(0,o.jsx)("br",{}),(0,o.jsx)("small",{children:null!==(n=a.origin)&&void 0!==n?n:"World"})]})},a.title+e)})})]})};E().accessToken="pk.eyJ1Ijoib2dhbGFlbW1hbnVlbCIsImEiOiJjbGVxMTYwYzkwMmJpNDVxdXcybnFvNWppIn0.UCCGhoAlyMF91S3z29IZtQ";var X=a=>{let{genres:e}=a,n=(0,r.useRef)(null),s=(0,r.useRef)(null),[t,c]=(0,r.useState)(15),[u,d]=(0,r.useState)(0),[g,b]=(0,r.useState)(2.4),[p,U]=(0,r.useState)(),[h,m]=(0,r.useState)(!1),{SearchBar:_}=(0,S.Rx)("Search Genres","",l.URL.genreSearchAuto);return(0,r.useEffect)(()=>
1{s.current||(s.current=new(E()).Map({container:n.current,style:"mapbox://styles/mapbox/light-v11",center:[t,u],projection:"globe",zoom:g}))},[u,t,g]),(0,r.useEffect)(()=>{s.current&&(s.current.on("move",()=>{c(s.current.getCenter().lng.toFixed(4)),d(s.current.getCenter().lat.toFixed(4)),b(s.current.getZoom().toFixed(2))}),s.current.on("click","country-boundaries-fill",a=>{let[e]=s.current.queryRenderedFeatures(a.point,{layers:["country-boundaries-fill"]});if(e){let{name:a,genres:n}=e.properties;U({name:a,genres:n})}}))},[]),(0,r.useEffect)(()=>{s.current.on("load",()=>{s.current.getSource("country-boundaries")||(s.current.addSource("country-boundaries",{type:"geojson",data:"africa.geojson",promoteId:"name"}),s.current.addLayer({id:"country-boundaries-fill",type:"fill",source:"country-boundaries",paint:{"fill-color":["case",["boolean",["feature-state","hover"],!1],"#eaaa00","hsl(222, 36%, 10%)"],"fill-opacity":.9}}),s.current.addLayer({id:"country-boundaries-line",type:"line",source:"country-boundaries",paint:{"line-color":"#fff","line-width":.1}}))});let a=null;s.current.on("mousemove","country-boundaries-fill",e=>{e.features.length>0&&(null!==a&&s.current.setFeatureState({source:"country-boundaries",id:a},{hover:!1}),a=e.features[0].id,s.current.setFeatureState({source:"country-boundaries",id:a},{hover:!0}))}),s.current.on("mouseleave","country-boundaries-fill",e=>{null!==a&&(s.current.setFeatureState({source:"country-boundaries",id:a},{hover:!1}),a=null)})},[]),(0,o.jsxs)("div",{className:W().container,children:[(0,o.jsxs)("div",{className:W().sidebar,children:[(0,o.jsx)("h2",{children:null==p?void 0:p.name}),(0,o.jsx)("ul",{children:(null==p?void 0:p.genres)&&JSON.parse(null==p?void 0:p.genres).map(a=>(0,o.jsx)("li",{children:(0,o.jsx)(f(),{href:"/genre/".concat(a),passHref:!0,children:a})},a))})]}),(0,o.jsx)("div",{className:W().container__search_web,children:_()}),(0,o.jsx)("div",{ref:n,className:W().container__map}),(0,o.jsxs)("div",{className:W().footer,children:[(0,o.jsx)("title-large",{children:"Discover African Genres"}),(0,o.jsx)("p",{children:"Click any country on the map to discover genres they helped found and enjoy."}),(0,o.jsx)("div",{className:W().container__search_mobile,children:(0,o.jsx)(i.zx,{theme:"blue",onClick:()=>m(!0),style:{borderRadius:"2em",padding:"0.2em 1em"},children:"Search Genres"})}),(0,o.jsx)(i.Ko,{title:"All Genres",children:(0,o.jsx)(V,{genres:e})})]}),(0,o.jsx)(Q,{open:h,closeModal:()=>m(!1)})]})}},47311:function(a){a.exports={container:"Genre_container__P5cMQ",container__landing:"Genre_container__landing__k3_N3",artist__row:"Genre_artist__row__w_qde",artist__rowlist:"Genre_artist__rowlist__F6KX1",container__card:"Genre_container__card__w5oB8",container__action:"Genre_container__action__8qnCn",lineclamp:"Genre_lineclamp__ySDKd",preview:"Genre_preview__dy6i1",list:"Genre_list__qU42X",genre__row:"Genre_genre__row__L6USG",genre__rowlist:"Genre_genre__rowlist__HoI4J",genre__card:"Genre_genre__card__Z6Ubs",compare__genres:"Genre_compare__genres__0NjSd",compare__table:"Genre_compare__table__8OewS",table__row:"Genre_table__row__hOgQv",header__mobile:"Genre_header__mobile__k2fGe",compare__container:"Genre_compare__container__oJAwC",compare__action:"Genre_compare__action__wrULL",compare__form:"Genre_compare__form__9TWeR",compare__button:"Genre_compare__button__BZnPC",valid:"Genre_valid__0mvG4",header__desktop:"Genre_header__desktop__MrzHU",container__quiz:"Genre_container__quiz__9Kn96"}},4616:function(a){a.exports={container:"GenreList_container__rqE9E",container__list:"GenreList_container__list___xWRt",container__actions:"GenreList_container__actions__kZXNB"}},50802:function(a){a.exports={container:"GenreMap_container__1RwkQ",container__map:"GenreMap_container__map__7a6VB",container__search_web:"GenreMap_container__search_web__RjZ7m",container__search_mobile:"GenreMap_container__search_mobile__4Iy8Y",sidebar:"GenreMap_sidebar__RF37H",footer:"GenreMap_footer__rDoon"}},5098:function(a){a.exports={container:"GenreQuiz_container__4U2DZ",container__q:"GenreQuiz_container__q__FSrLo",container__o:"GenreQuiz_container__o__IUu23",container__p:"GenreQuiz_container__p__Vrpyb",container__r:"GenreQuiz_container__r__w60xv",container__pi:"GenreQuiz_container__pi__JqYBT"}},88241:function(a){a.exports={playercontainer:"Player_playercontainer__FFqom",dockimage:"Player_dockimage__4_MP4",musicinfo:"Player_musicinfo__giSEP",duration:"Player_duration__R8zV7",title:"Player_title__4uReB",subtitle:"Player_subtitle___KXHc"}}}]);

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.