https://sdgtransformationcenter.org/_next/static/chunks/pages/reports/%5Bslug%5D-561238026fd281fb.js
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[93],{4202:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/reports/[slug]",function(){return s(4482)}])},4560:function(e,t,s){"use strict";s.d(t,{Dx:function(){return i},R9:function(){return n},gB:function(){return c}});var r=s(2676),l=s(5210),a=s(339);let n=e=>{let{title:t,description:s,path:n,imgPath:i}=e;return(0,r.jsx)(l.PB,{title:t,description:s,openGraph:{title:t,description:s,url:a.Jx+n,images:[{url:a.Jx+i,width:200,height:400},{url:a.T5}]},twitter:{cardType:"summary_large_image"}})},i=e=>{let{title:t,path:s}=e;return(0,r.jsx)(l.PB,{title:t,description:a.KM,openGraph:{title:t,description:a.KM,url:a.Jx+s},twitter:{cardType:"summary_large_image"}})},c=e=>{let{title:t,description:s,path:n}=e;return(0,r.jsx)(l.PB,{title:t,description:s,openGraph:{title:t,description:s,url:a.Jx+n},twitter:{cardType:"summary_large_image"}})}},8451:function(e,t,s){"use strict";var r=s(2676),l=s(2485),a=s.n(l),n=s(7959);let i={img:e=>(0,r.jsx)("span",{className:!e.src.includes("/bio")&&"flex justify-center",children:(0,r.jsx)(a(),{height:250,width:250,className:"rounded-sm shadow-lg object-fit mb-5 ".concat(e.src.includes("/bio")?"w-1/4":e.src.includes("/news")||e.src.includes("/introduction")?"w-auto":"w-1/2"),alt:e.alt,...e})}),p:e=>(0,r.jsx)("p",{className:"mb-4 text-left text-gray-600",...e}),a:e=>(0,r.jsx)("a",{target:"_blank",className:"text-neutral-dark",...e}),h2:e=>(0,r.jsx)("h2",{className:"mt-6 mb-2 text-left text-gray-700 font-bold",...e}),h3:e=>(0,r.jsx)("h3",{className:"mt-6 mb-2 text-left italic text-gray-500",...e}),li:e=>(0,r.jsx)("li",{className:"mb-4 text-left text-gray-600",...e})};t.Z=e=>{let{children:t}=e;return(0,r.jsx)(n.Zo,{components:i,children:t})}},4416:function(e,t,s){"use strict";var r=s(2676),l=s(4814),a=s(7532),n=s(714),i=s.n(n);t.Z=e=>{let{buttons:t,track:s=!1,className:n}=e,c=(e,t)=>{e.toLowerCase().includes("download")?(0,a.ht)(t):(0,a.B)({action:"click",category:"button",label:e})};return(0,r.jsx)("div",{className:(0,l.Z)("mt-5 grid w-full grid-cols-1 gap-x-2 gap-y-8 sm:w-auto lg:flex lg:max-w-7xl lg:flex-wrap lg:gap-y-2",n),children:t.map(e=>{let{title:t,href:a}=e;return(0,r.jsx)(i(),{href:a||"",target:"_blank",className:(0,l.Z)("rounded-sm border border-transparent bg-primary px-1 py-2 text-center text-sm font-medium text-white shadow-sm focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 lg:w-40"),onClick:s?()=>c(t,a):void 0,children:t},t)})})}},4482:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSG:function(){return q},default:function(){return I}});var r=s(2676),l=s(7835),a=s(4560),n=s(8823),i=s(4416),c=s(714),d=s.n(c),x=s(339),m=()=>{let{asPath:e}=(0,l.useRouter)(),t=x.Jx+e;return(0,r.jsxs)("div",{className:"mt-5 pt-5 flex ml-3",children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-gray-400 mr-10",children:"Share:"}),(0,r.jsxs)("ul",{role:"list",className:"flex items-center space-x-6",children:[(0,r.jsx)("li",{children:(0,r.jsxs)(d(),{href:"https://www.facebook.com/sharer/sharer.php?u=".concat(t),target:"_blank",className:"flex h-6 w-6 items-center justify-center text-gray-400 hover:text-gray-500",children:[(0,r.jsx)("span",{className:"sr-only",children:"Share on Facebook"}),(0,r.jsx)("svg",{className:"h-5 w-5","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{fillRule:"evenodd",d:"M20 10c0-5.523-4.477-10-10-10S0 4.477 0 10c0 4.991 3.657 9.128 8.438 9.878v-6.987
1h-2.54V10h2.54V7.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V10h2.773l-.443 2.89h-2.33v6.988C16.343 19.128 20 14.991 20 10z",clipRule:"evenodd"})})]})}),(0,r.jsx)("li",{children:(0,r.jsxs)(d(),{href:"https://twitter.com/intent/tweet?url=".concat(t,"&text=&via="),target:"_blank",className:"flex h-6 w-6 items-center justify-center text-gray-400 hover:text-gray-500",children:[(0,r.jsx)("span",{className:"sr-only",children:"Share on Twitter"}),(0,r.jsx)("svg",{className:"h-5 w-5","aria-hidden":"true",fill:"currentColor",viewBox:"0 0 20 20",children:(0,r.jsx)("path",{d:"M6.29 18.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0020 3.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.073 4.073 0 01.8 7.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 010 16.407a11.616 11.616 0 006.29 1.84"})})]})}),(0,r.jsx)("li",{children:(0,r.jsxs)(d(),{href:"https://www.linkedin.com/shareArticle?url=".concat(t,"&title="),target:"_blank",className:"flex h-6 w-6 items-center justify-center text-gray-400 hover:text-gray-500",children:[(0,r.jsx)("span",{className:"sr-only",children:"Share on LinkedIn"}),(0,r.jsx)("svg",{viewBox:"0 0 24 24",fill:"currentColor",children:(0,r.jsx)("path",{d:"M4.75 1.875a2.125 2.125 0 1 0 0 4.25 2.125 2.125 0 0 0 0-4.25Zm-2 6A.125.125 0 0 0 2.625 8v13c0 .069.056.125.125.125h4A.125.125 0 0 0 6.875 21V8a.125.125 0 0 0-.125-.125h-4Zm6.5 0A.125.125 0 0 0 9.125 8v13c0 .069.056.125.125.125h4a.125.125 0 0 0 .125-.125v-7a1.875 1.875 0 1 1 3.75 0v7c0 .069.056.125.125.125h4a.125.125 0 0 0 .125-.125v-8.62c0-2.427-2.11-4.325-4.525-4.106a7.168 7.168 0 0 0-2.169.548l-1.306.56V8a.125.125 0 0 0-.125-.125h-4Z"})})]})})]})]})},o=s(1639),h=s(2485),u=s.n(h),g=s(8980),p=s(771),f=s(4814),j=s(5271),w=s(9454),N=s(7532),y=e=>{let{resources:t}=e,s=t?t[0].url:"",[l,a]=(0,j.useState)(s),n=(0,j.useContext)(w.h4)(639);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{className:"sr-only",children:"Resources"}),(0,r.jsxs)("div",{className:"grid sm:h-full sm:grid-cols-resources-sm lg:grid-cols-resources-lg",children:[(0,r.jsx)("dl",{className:(0,f.Z)(n?"mt-10 grid grid-cols-2 gap-x-2":"overflow-auto rounded-lg bg-neutral-main sm:rounded-none sm:rounded-tl-lg sm:rounded-bl-lg","overflow-auto sm:h-full sm:rounded-none sm:rounded-tl-lg sm:rounded-bl-lg"),children:t.map(e=>{let{title:t,url:s,current:i}=e;return(0,r.jsx)("div",{children:n?(0,r.jsx)("button",{className:"z-10 mx-auto mb-5 w-full rounded-sm bg-neutral-dark px-2 py-3 text-gray-200",children:(0,r.jsx)(d(),{href:s,target:"_blank","aria-current":i?"page":void 0,onClick:()=>{(0,N.B)({action:"clickAction",category:"resources",label:s})},children:t})}):(0,r.jsx)("div",{onMouseEnter:()=>a(s),className:(0,f.Z)(i||s===l?"sm:bg-gray-100 ":"sm:hover:bg-gray-50 sm:hover:text-neutral-darkest","flex py-0 text-gray-500"),children:(0,r.jsx)(d(),{href:s,target:"_blank",className:(0,f.Z)(i||s===l?"sm:text-neutral-darkest":"hover:text-neutral-darkest sm:text-gray-100","rounded-md, z-10 mx-auto flex items-center px-5 py-3 font-medium text-gray-200 sm:mx-0"),"aria-current":i?"page":void 0,children:t})})},t)})}),(0,r.jsx)("div",{className:"hidden bg-gray-200 sm:block",children:l.includes("github.com")||l.endsWith(".xlsx")||l.endsWith(".xlsx/")||l.endsWith(".zip")||l.endsWith(".pdf")?(0,r.jsx)("div",{className:"m-auto flex h-full w-44 flex-col justify-center",children:(0,r.jsx)("button",{className:"rounded-sm border border-primary bg-neutral-dark py-3 text-gray-200",children:(0,r.jsx)(d(),{href:l,children:"Download Data"})})}):(0,r.jsx)("embed",{src:l,className:(0,f.Z)("h-full w-full rounded-tr-lg rounded-br-lg")})})]})]})},b=s(1141),v=e=>{let{faqs:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{className:"sr-only",children:"Frequently Asked Questions"}),t.map(e=>{let{introduction:t,paragraphs:s}=e;return(0,r.jsxs)("div",{className:" text-left max-w-none text-gray-500",children:[(0,r.jsx)("p",{className:"text-sm md:text-lg mb-5",children:t}),null==s?void 0:s.map(e=>(0,r.jsxs)("div",{className:"flex justify-start mx-auto items-start max-w-3xl",children:[(0,r.jsx)(b.Z,{className:"w-4 md:mt-1 mr-5"}),(0,r.jsx)("p",{className:"text-sm md:text-lg",children:e})]},e))]},t)})]})}
1,k=e=>{let{contact:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{className:"sr-only",children:"Contact"}),(0,r.jsx)("div",{className:"text-sm md:text-lg max-w-none text-gray-500",children:(0,r.jsx)(g.D,{children:t})})]})},Z=s(9553),P=e=>{let{license:t}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("h3",{className:"sr-only",children:"License"}),(0,Z.V)(t).map(e=>{var t;let{id:s,introduction:l,paragraphs:a}=e;return(0,r.jsxs)("div",{className:" text-left text-gray-500",children:[(0,r.jsx)("p",{className:"text-sm md:text-lg mb-5",children:l}),null===(t=(0,Z.V)(a))||void 0===t?void 0:t.map(e=>{let{id:t,paragraph:s}=e;return(0,r.jsxs)("div",{className:"flex justify-start mx-auto items-start",children:[(0,r.jsx)(b.Z,{className:"w-14 mt-2 mr-5"}),(0,r.jsx)("p",{className:"text-sm md:text-lg mb-5",children:s})]},t)})]},s)})]})},C=e=>{let{resources:t,contact:s,faqs:l,license:a}=e,n=[t&&"Resources",l&&"FAQ",s&&"Contact",a&&"License"],i=[t&&(0,r.jsx)(y,{resources:t}),l&&(0,r.jsx)(v,{faqs:l}),s&&(0,r.jsx)(k,{contact:s}),a&&(0,r.jsx)(P,{license:a})].filter(e=>e);return(0,r.jsx)("div",{className:"mt-16 bg-neutral-light",children:(0,r.jsx)("div",{className:" mx-auto h-[42rem] px-8 py-5",children:(0,r.jsxs)(p.O.Group,{as:"div",className:"h-full",children:[(0,r.jsx)("div",{className:" mx-auto",children:(0,r.jsx)(p.O.List,{className:"flex justify-center space-x-8",children:(0,Z.V)(n).map(e=>{let{id:t,paragraph:s}=e;return s&&(0,r.jsx)(p.O,{className:e=>{let{selected:t}=e;return(0,f.Z)(t?"border-neutral-dark text-xl text-neutral-dark focus:outline-none":"border-transparent text-gray-700 hover:border-gray-300 hover:text-gray-800","whitespace-nowrap border-b-2 py-6 text-base font-medium")},children:s},t)})})}),(0,r.jsx)(p.O.Panels,{className:"h-4/5",children:(0,Z.V)(i).map(e=>(0,r.jsx)(p.O.Panel,{className:(0,f.Z)((null==e?void 0:e.props.resources)?"mx-auto mt-5 h-[30rem] max-w-xs sm:max-w-xl sm:rounded-lg sm:border lg:max-w-6xl":"mx-auto max-w-xs pt-10 sm:max-w-xl lg:max-w-4xl","h-full","overflow-auto"),children:e},e.id))})]})})})},_=s(3898),R=(0,o.Pi)(e=>{let{report:{excerpt:t,cover_image:s,title:l,theme:a,citation:n,pdf:c,date:d,dataviz_url:x,contact:o,license:h,faqs:p,resources:f,more_info:j}}=e,w=(0,_.w)(),{url:N}=(null==f?void 0:f.find(e=>{let{title:t}=e;return"Press Release"===t}))||{},y=w.shortExcerpt?460:t.length,b=t.slice(0,y),v=[{title:"DOWNLOAD REPORT",href:c},{title:"EXPLORE DATA",href:x},{title:"PRESS RELEASE",href:N},{title:"MORE INFORMATION",href:j}].filter(e=>e.href);return(0,r.jsx)("div",{id:"general",className:"bg-white",children:(0,r.jsxs)("div",{className:"py-16 sm:py-24",children:[(0,r.jsxs)("div",{className:"mx-auto max-w-xs sm:max-w-xl sm:px-6 lg:grid lg:max-w-6xl lg:grid-cols-report-card-header lg:gap-x-8 lg:gap-y-10 xl:gap-x-16",children:[(0,r.jsxs)("div",{className:"flex flex-col items-center justify-between overflow-hidden py-4 lg:items-start ",children:[(0,r.jsx)(u(),{src:s,alt:"report cover",height:500,width:250,className:"w-1/2 rounded-lg shadow-md lg:w-3/4"}),(0,r.jsx)(m,{})]}),(0,r.jsxs)("div",{className:" mx-auto mt-14 flex max-w-2xl flex-col justify-between sm:mt-16 lg:mt-0 lg:max-w-none",children:[(0,r.jsxs)("div",{className:"mt-4",children:[(0,r.jsx)("h1",{className:"text-2xl font-bold tracking-tight text-neutral-darkest sm:text-3xl",children:l}),(0,r.jsx)("h2",{className:"mt-2 text-base font-bold text-neutral-dark",children:a}),(0,r.jsx)("h3",{className:"text-md mt-3 italic text-neutral-dark",children:d}),(0,r.jsx)("div",{className:"mt-3 flex justify-start",children:(0,r.jsx)(i.Z,{buttons:v,track:!0})})]}),(0,r.jsxs)("p",{className:" my-6 border-b pb-6 text-left text-gray-500",children:[460===b.length?b+"... ":b,(0,r.jsx)("button",{onClick:()=>w.setShortExcerpt(!w.shortExcerpt),className:"font-bold",children:w.shortExcerpt&&t.length>460?"Show More":""})]}),n&&(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-sm font-medium text-neutral-darkest",children:"Citation"}),(0,r.jsx)(g.D,{components:{p:e=>(0,r.jsx)("p",{className:"mt-4 text-left text-gray-500",...e})},children:n})]})]})]}),(f||o||h||p)&&(0,r.jsx)(C,{resources:f,contact:o,license:h,faqs:p})]})})}),S=s(3107),F=s(9440),A=s(3637),O=e=>{let{content:t,acknowledgements:s}
1=e,[l,a]=(0,j.useState)(!1),n=(0,j.useContext)(w.h4)(768);return(0,r.jsxs)("div",{id:"content",className:"xl:py-25 overflow-hidden bg-white px-6 py-16 lg:px-8",children:[(0,r.jsx)("div",{className:"mx-auto max-w-xs sm:max-w-xl md:hidden",children:(0,r.jsx)("div",{className:"w-full",children:(0,r.jsxs)("button",{onClick:()=>a(!l),className:"mt-2 flex w-full items-center justify-between text-xl font-bold leading-8 tracking-tight text-neutral-darkest sm:text-2xl",children:[(0,r.jsx)("p",{children:"More details"}),(0,r.jsx)(F.Z,{className:(0,f.Z)(l?"block":"hidden","h-6 w-6"),"aria-hidden":"true"}),(0,r.jsx)(A.Z,{className:(0,f.Z)(l?"hidden":"block","h-6 w-6 "),"aria-hidden":"true"})]})})}),(0,r.jsx)("div",{className:(0,f.Z)(n?l?"block":"hidden":""),children:(0,r.jsxs)("div",{className:"mx-auto max-w-xs sm:max-w-xl lg:max-w-6xl",children:[(0,r.jsx)("div",{className:"relative z-10 mb-8 md:mb-2 md:px-6",children:(0,r.jsx)("div",{className:"max-w-prose text-base lg:max-w-none",children:(0,r.jsx)("p",{className:(0,f.Z)(n?l?"hidden":"block":"","mt-2 text-xl font-bold leading-8 tracking-tight text-neutral-darkest sm:text-2xl"),children:"More details"})})}),(0,r.jsx)("div",{className:"relative",children:(0,r.jsx)("div",{className:"relative md:bg-white md:p-6",children:(0,r.jsxs)("div",{className:"lg:grid lg:grid-cols-3 lg:gap-6",children:[(0,r.jsx)("div",{className:"prose-md prose prose-slate ".concat(s?"lg:col-span-2 lg:max-w-2xl":"lg:col-span-3 lg:max-w-6xl"),children:(0,r.jsx)("main",{children:(0,r.jsx)(S.R,{...t})})}),s&&(0,r.jsxs)("div",{className:"prose-md prose prose-slate mt-6 text-left text-gray-500 lg:mt-0",children:[(0,r.jsx)("h2",{className:"text-lg font-semibold text-neutral-dark",children:"Acknowledgements"}),(0,r.jsx)(g.D,{children:s})]})]})})})]})})]})},E=e=>{let{ranking:t}=e,s=t.slice(0,10),[l,a]=(0,j.useState)([]),[n,i]=(0,j.useState)(!0);(0,j.useEffect)(()=>{n?a(s):a(t)},[n]);let[c,d]=(0,j.useState)(!1),x=(0,j.useContext)(w.h4)(768);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{id:"rankings",className:"px-4 py-10 sm:px-6 lg:px-8 ",children:[(0,r.jsx)("div",{className:"mx-auto max-w-xs sm:max-w-xl md:hidden",children:(0,r.jsx)("div",{className:"w-full",children:(0,r.jsxs)("button",{onClick:()=>d(!c),className:"mt-2 flex w-full items-center justify-between text-xl font-bold leading-8 tracking-tight text-neutral-darkest sm:text-2xl",children:[(0,r.jsx)("p",{children:"Rankings"}),(0,r.jsx)(F.Z,{className:(0,f.Z)(c?"block":"hidden","h-6 w-6"),"aria-hidden":"true"}),(0,r.jsx)(A.Z,{className:(0,f.Z)(c?"hidden":"block","h-6 w-6 "),"aria-hidden":"true"})]})})}),(0,r.jsxs)("div",{className:(0,f.Z)(x?c?"block":"hidden":""),children:[(0,r.jsx)("div",{className:"mx-auto max-w-xs sm:flex sm:max-w-xl sm:items-center lg:max-w-6xl",children:(0,r.jsxs)("div",{className:"sm:flex-auto",children:[(0,r.jsx)("p",{className:(0,f.Z)(x?c?"hidden":"block":"","mt-2 text-xl font-bold leading-8 tracking-tight text-neutral-darkest sm:text-2xl"),children:"Rankings"}),(0,r.jsx)("p",{className:"mt-2 pb-5 text-sm tracking-tight text-gray-500 sm:text-base",children:"The following table depicts each country's position according to the report"})]})}),(0,r.jsx)("div",{className:"mx-auto mt-8 flex max-w-xs flex-col sm:max-w-xl lg:max-w-6xl",children:(0,r.jsx)("div",{className:"max-w-full overflow-x-auto sm:mx-6 lg:mx-12 ",children:(0,r.jsx)("div",{className:"mx-auto inline-block w-full py-2 align-middle md:px-6 lg:px-8",children:(0,r.jsxs)("div",{className:"overflow-hidden shadow ring-1 ring-black ring-opacity-5 md:rounded-lg",children:[(0,r.jsxs)("table",{className:"mx-auto w-full divide-y divide-gray-300",children:[(0,r.jsx)("thead",{className:"bg-neutral-light",children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{scope:"col",className:"py-3.5 pl-4 pr-3 text-center text-sm font-semibold text-neutral-darkest sm:pl-6",children:"Rank"}),(0,r.jsx)("th",{scope:"col",className:"w-96 px-3 py-3.5 text-center text-sm font-semibold text-neutral-darkest",children:"Country"}),(0,r.jsx)("th",{scope:"col",className:"px-3 py-3.5 text-center text-sm font-semibold text-neutral-darkest",children:"Score"})]})}),(0,r.jsx)("tbody",{className:"divide-y divide-gray-200 bg-white",children:l.map(e=>(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{className:"whitespace-nowrap py-4 pl-4 pr-3 text-center text-sm font-medium text-neutral-darkest sm:pl-6",children:e.Rank}),(0,r.jsx)("td",{className:"whitespace-nowrap px-3 py-4 text-center text-sm text-gray-500",children:e.Country}),(0,r.jsx)("td",{className:"whitespace-nowrap px-3 py-4 text-center text-sm text-gray-500",children:e.Score})]},e.Country))})]}),(0,r.jsxs)("nav",{className:"flex items-center justify-between border-t border-gray-200 bg-white px-4 py-3 sm:px-6","aria-label":"Pagination",children:[(0,r.jsx)("div",{className:"hidden sm:block",children:n?(0,r.jsxs)("p",{className:"text-sm text-gray-700",children:["Showing ",(0,r.jsx)("span",{className:"font-medium",children:"1"})," to"," ",(0,r.jsx)("span",{className:"font-medium",children:"10"})," of"," ",(0,r.jsx)("span",{className:"font-medium",children:t.length})," ","entities"]}):(0,r.jsxs)("p",{className:"text-sm text-gray-700",children:["Showing all"," ",(0,r.jsx)("span",{className:"font-medium",children:t.length})," ","entities"]})}),(0,r.jsx)("div",{className:"flex flex-1 justify-between sm:justify-end",children:(0,r.jsx)("button",{type:"button",onClick:()=>i(!n),className:"relative inline-flex items-center rounded-md border border-gray-300 bg-white px-4 py-2 text-sm font-medium text-gray-700 hover:bg-primary-light",children:n?"Show all":"Show less"})})]})]})})})})]})]})})},T=()=>(0,r.jsx)("div",{className:"relative",children:(0,r.jsx)("div",{className:"absolute inset-0 flex items-center","aria-hidden":"true",children:(0,r.jsx)("div",{className:"w-full border-t border-gray-300"})})}),L=s(171),M=s.n(L),B=s(8558),V=s(1210),D=s(4309),z=s(9503);let G=[{name:"Back",tag:d(),icon:B.Z},{name:"General",tag:M(),href:"#general",icon:V.Z},{name:"Rankings",tag:M(),href:"#rankings",icon:D.Z},{name:"More Details",tag:M(),href:"#content",icon:z.Z}];var J=e=>{let{hasRanking:t,hasContent:s,children:a}=e,n=(0,l.useRouter)(),i=G.filter(e=>(t||"Rankings"!==e.name)&&(s||"More Details"!==e.name)).map(e=>"Back"===e.name?{...e,onClick:e=>{e.preventDefault(),n.back()}}:e);return(0,r.jsxs)("div",{className:"flex h-full",children:[(0,r.jsx)("div",{className:"hidden w-28 bg-neutral-dark md:block",children:(0,r.jsx)("div",{className:"w-15 pb-auto fixed left-0 top-0 flex h-full flex-col items-center pt-16",children:(0,r.jsx)("div",{className:"mt-6 w-full flex-1 space-y-1 px-2",children:i.map(e=>(0,r.jsxs)(e.tag,{href:e.href||"#",onClick:e.onClick||void 0,className:(0,f.Z)("text-slate-100 hover:bg-neutral-dark hover:text-white","group flex w-full flex-col items-center rounded-md p-3 text-xs font-medium"),children:[(0,r.jsx)("button",{children:(0,r.jsx)(e.icon,{className:(0,f.Z)(e.current?"text-white":"text-slate-300 group-hover:text-white","h-6 w-6"),"aria-hidden":"true"})}),(0,r.jsx)("span",{className:"mt-2",children:e.name})]},e.name))})})}),(0,r.jsx)("div",{className:"flex flex-1 items-stretch overflow-hidden",children:(0,r.jsx)("main",{className:"flex-1 overflow-y-auto",children:(0,r.jsx)("section",{"aria-labelledby":"primary-heading",className:"flex h-full min-w-0 flex-1 flex-col lg:order-last",children:a})})})]})},W=s(8451),q=!0,I=e=>{let{report:t,content:s,ranking:i,navbarPosts:c}=e,{asPath:d}=(0,l.useRouter)();return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(a.R9,{title:t.title,de
1scription:t.excerpt,path:d,imgPath:t.cover_image}),(0,r.jsx)(n.Z,{navbarPosts:c}),(0,r.jsx)(_.i,{children:(0,r.jsxs)(J,{hasRanking:i,hasContent:!t.withoutContent,children:[(0,r.jsx)(R,{report:t}),!t.withoutContent&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(T,{}),(0,r.jsx)(W.Z,{children:(0,r.jsx)(O,{content:s,acknowledgements:t.acknowledgements,contact:t.contact})})]}),i&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(T,{}),(0,r.jsx)(E,{ranking:i})]})]})})]})}},3898:function(e,t,s){"use strict";s.d(t,{i:function(){return c},w:function(){return d}});var r=s(2676),l=s(5271),a=s(4810),n=s(1639);let i=(0,l.createContext)(null),c=(0,n.Pi)(e=>{let{children:t}=e,s=(0,n.fv)(()=>({sortByMostRecent:!0,editions:[],types:[],searchTerm:"",showAllPages:!1,currentPage:1,currentVideoPage:1,short:!0,get typesFilter(){return this.types},get editionsFilter(){return this.editions},get sort(){return this.sortByMostRecent},get searchTermFilter(){return this.searchTerm},get showPagesValue(){return this.showPages},get currentPageNumber(){return this.currentPage},get shortExcerpt(){return this.short},setEditionsFilter(e){let t=[];e&&(t=Array.isArray(e)?e:[e]),this.editions=t},setTypesFilter(e){let t=[];e&&(t=Array.isArray(e)?e:[e]),this.types=t},setSearchTermFilter(e){this.searchTerm=e},setShowAllPages(e){this.showAllPages=e},setCurrentPage(e){this.currentPage=e},setCurrentVideoPage(e){this.currentVideoPage=e},setSort(e){this.sortByMostRecent=e},setShortExcerpt(e){this.short=e},get isFiltered(){return this.editionsFilter.length||this.typesFilter.length},filterOpportunities:function(e){return this.editionsFilter.length&&(e=e.filter(e=>this.editionsFilter.includes(e.data.edition))),this.typesFilter.length&&(e=this.typesFilter.includes("dashboard")?e.filter(e=>this.typesFilter.includes(e.data.type)||e.data.dataviz_url):e.filter(e=>this.typesFilter.includes(e.data.type))),e},prepareOpportunities:function(e){return e=s.filterOpportunities(e)}}),{editions:a.LO.ref,types:a.LO.ref,sortByMostRecent:a.LO.ref,searchTerm:a.LO.ref,showAllPages:a.LO.ref,currentPage:a.LO.ref,currentVideoPage:a.LO.ref});return(0,r.jsx)(i.Provider,{value:s,children:t})}),d=()=>{let e=(0,l.useContext)(i);if(!e)throw Error("useLibraryStore must be used within an LibraryStoreProvider.");return e}}},function(e){e.O(0,[874,747,823,888,774,179],function(){return e(e.s=4202)}),_N_E=e.O()}]);
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.