1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,18566,(e,t,l)=>{t.exports=e.r(76562)},18631,68524,9578,e=>{"use strict";var t=e.i(43476),l=e.i(20558);let s=({css:e})=>(0,t.jsx)(l.default,{icon:"circle-info",svgPath:"M256 48a208 208 0 1 1 0 416 208 208 0 1 1 0-416zm0 464A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM216 336c-13.3 0-24 10.7-24 24s10.7 24 24 24l80 0c13.3 0 24-10.7 24-24s-10.7-24-24-24l-8 0 0-88c0-13.3-10.7-24-24-24l-48 0c-13.3 0-24 10.7-24 24s10.7 24 24 24l24 0 0 64-24 0zm40-144a32 32 0 1 0 0-64 32 32 0 1 0 0 64z",width:"512",height:"512",css:e});e.s(["default",0,function({heading:e=null,text:l=null,type:a="info",ariaRole:r=null}){let i={info:{bg:"bg-semantic-info-bg",text:"text-semantic-info-text",spacing:"p-5"},error:{bg:"bg-semantic-error-bg",text:"text-semantic-error-text",spacing:"p-5 pl-10"},warning:{bg:"bg-semantic-warning-bg",text:"text-semantic-info-text",spacing:"p-5"}};return(0,t.jsxs)("div",{className:`flex items-start ${i[a].spacing} ${i[a].bg} ${i[a].text} ${"alert"===r&&" shadow-1md"}`,role:r,"aria-live":"alert"===r?"assertive":"polite","data-testid":"infoBox-component",children:[(0,t.jsx)("span",{className:` ${i[a].text} text-base-loose pr-3 mt-0 `,children:(0,t.jsx)(s,{})}),(0,t.jsxs)("div",{children:[e&&(0,t.jsx)("p",{className:"text-base-loose mt-0",children:e}),l&&(0,t.jsx)("p",{className:`text-sm-tight font-light ${e&&"mt-5"}`,children:l})]})]})}],18631);let a=({css:e})=>(0,t.jsx)(l.default,{icon:"magnifying-glass",svgPath:"M368 208A160 160 0 1 0 48 208a160 160 0 1 0 320 0zM337.1 371.1C301.7 399.2 256.8 416 208 416C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208c0 48.8-16.8 93.7-44.9 129.1L505 471c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0L337.1 371.1z",width:"512",height:"512",css:e});e.s(["default",0,({outerStyles:e,inputStyles:l,placeholder:s,setInputValue:r,inputValue:i,handleTermKeydown:n,ariaLabel:o})=>(0,t.jsx)("div",{className:e,children:(0,t.jsxs)("div",{className:"relative w-full flex",children:[(0,t.jsx)("input",{id:"searchTerm",type:"text","aria-label":o,className:`w-full ${l}`,placeholder:s,value:i,onChange:e=>r(e.target.value),onKeyDown:e=>n(e),"aria-autocomplete":"none"}),(0,t.jsx)("div",{className:" flex justify-end items-center pr-3",children:(0,t.jsx)(a,{})})]})})],68524),e.s(["default",0,function(e){return e.replace(/"/g,"'").replace(/<(script|iframe|object|embed|img|svg|style|on\w+|<!--).*?>|<\/(script|iframe|object|embed|style)>/gi,"").replace(/&/g,"%26")}],9578)},58292,e=>{"use strict";var t=e.i(43476),l=e.i(22016),s=e.i(10201);e.s(["default",0,function(){return(0,t.jsx)(s.default,{css:"pt-10 lg:pt-20 mx-auto",children:(0,t.jsxs)("div",{className:"col-span-10 col-start-2",children:[(0,t.jsx)("h1",{className:"text-neutral-mineshaft text-2xl-tight lg:text-5xl-tight font-bold",children:"API access"}),(0,t.jsxs)("p",{className:"pt-5 text-neutral-mineshaft text-sm-loose lg:text-lg-loose font-normal",children:["Data stored in OpenDOAR is available via our APIs. For more information"," ",(0,t.jsx)(l.default,{href:"/help/developers",className:"text-utility-light-bahama-blue hover:underline font-bold",children:"please see our API Documentation."})]})]})})}])},96376,e=>{"use strict";var t=e.i(43476),l=e.i(10201);e.s(["default",0,function(){return(0,t.jsx)("div",{className:"bg-jisc-pink-10",children:(0,t.jsxs)(l.default,{css:"mx-auto pt-10 gap-y-0",children:[(0,t.jsxs)("h1",{className:" col-span-10 col-start-2 text-jisc-grape-main text-center text-5xl-tight font-bold mb-5 | lg:col-start-3 lg:col-span-8",children:["Welcome to ","OpenDOAR"]}),(0,t.jsx)("p",{className:" col-span-10 col-start-2 text-neutral-mineshaft text-center text-sm-loose font-normal mb-10 | lg:col-start-3 lg:col-span-8 lg:text-lg-loose",children:"OpenDOAR is the quality-assured, global Directory of Open Access Repositories."})]})})}])},41988,e=>{"use strict";var t=e.i(43476),l=e.i(10201),s=e.i(22016),a=e.i(8849);let r=function({colStart:e,colSpan:l,h3Text:r,pText:i,label:n,url:o}){return(0,t.jsxs)("div",{className:`flex flex-col col-span-10 col-start-2 lg:col-span-${l} lg:col-start-${e} p-6 lg:pt-10 lg:px-10 lg:pb-20 lg:mx-0 border-solid border-rich-black-20 shadow-1md border first-of-type:mb-6 first-of-type:lg:mb-0`,children:[(0,t.jsx)("h3",{className:"text-base-loose lg:text-2xl-tight text-jisc-grape-dark font-bold pb-5 lg:pb-10",children:r}),(0,t.jsx)("p",{className:"pb-6 lg:pb-10 text-neutral-mineshaft text-xs-tight lg:text-xl-loose font-normal whitespace-normal lg:whitespace-pre-line",children:i}),(0,t.jsx)("div",{className:" flex mt-auto",children:(0,t.jsx)(s.default,{href:o,onClick:()=>{(0,a.default)({eventCategory:"Homepage Linkbox",eventName:n})()},className:"text-utility-light-bahama-blue hover:underline text-sm-tight lg:text-xl-tight font-bold",children:n})})]})};e.s(["default",0,function(){return(0,t.jsxs)(l.default,{css:"py-10 lg:py-20 mx-auto",children:[(0,t.jsx)("h2",{className:"col-span-10 col-start-2 pb-10 text-neutral-mineshaft font-bold text-2xl-tight lg:text-5xl-tight",children:"About OpenDOAR"}),(0,t.jsx)(r,{colStart:"2",colSpan:"5",h3Text:"Managing repository records",pText:"Our editorial team review and verify all update requests for OpenDOAR records",label:"Find out how to manage repository records",url:"/help/managing-repository-records"}),(0,t.jsx)(r,{colStart:"7",colSpan:"5",h3Text:"Inclusion criteria",pText:"For a repository to be listed in OpenDOAR it must align with our inclusion criteria",label:"Read our inclusion criteria",url:"/help/inclusion-criteria"})]})}],41988)},65901,e=>{"use strict";var t=e.i(43476),l=e.i(71645),s=e.i(18566),a=e.i(30398),r=e.i(10201),i=e.i(18631),n=e.i(68524),o=e.i(9578);e.s(["default",0,function(){let[e,c]=(0,l.useState)("allSearch"),[d,x]=(0,l.useState)(""),[h,u]=(0,l.useState)(""),[p,m]=(0,l.useState)(null),[g,f]=(0,l.useState)(!1),b=(0,s.useRouter)(),j={publisher:"publisherSearch"},v=()=>{let t=!1,l=e=>{f(!0),m({title:null,message:e,type:"error"}),t=!0};return h.length<2&&l("Invalid search - Your search must be 2 or more characters in length."),!e&&h.length>=2&&l("Invalid search - Please select a search option from the dropdown."),h.length>=2&&e&&(f(!1),t=!1),t};return(0,l.useEffect)(()=>{u((0,o.default)(d))},[d]),(0,l.useEffect)(()=>{c(j[new URL(window.location.href).searchParams.get("param")]||"allSearch")},[]),(0,t.jsx)("div",{className:"bg-home-search-gradient",children:(0,t.jsx)(r.default,{css:"mx-auto",children:(0,t.jsxs)("div",{className:" col-span-10 col-start-2 p-10 | bg-neutral-white shadow-1md",children:[(0,t.jsxs)("h2",{className:"mb-5 text-2xl-tight text-neutral-mineshaft font-bold | lg:text-3xl-tight",children:["Search ","OpenDOAR"]}),(0,t.jsxs)("div",{className:"flex flex-col pb-5 lg:flex-row",children:[(0,t.jsx)("div",{className:"flex-1 lg:w-[45rem] md:pt-0",children:(0,t.jsx)(n.default,{outerStyles:"flex items-center border border-neutral-mineshaft rounded-md lg:rounded-r-none",inputStyles:"border-none outline-none focus:outline-none focus:ring-0 p-5 w-full text-neutral-dove-grey truncate h-10 lg:h-full rounded-md lg:rounded-r-none",placeholder:"Type the name of a repository...",handleTermKeydown:t=>{if("Enter"===t.key){let t=v();""===e||""===h||t||b.push(`/search?repositorySearch&term=${h}&page=1&per_page=10`)}},ariaLabel:"Your search term",setInputValue:x,inputValue:d})}),(0,t.jsx)("div",{className:" flex place-content-center pt-5 | md:mx-5 | lg:pt-0 lg:mx-0",children:(0,t.jsx)(a.default,{label:"Search",onClickAction:()=>{v()||""===e||""===h||b.push(`/search?repositorySearch&term=${h}&page=1&per_page=10`)}
1,borders:"rounded | lg:rounded-r lg:rounded-l-none",width:"w-[250px] | md:w-full | lg:w-[107px]"})})]}),g&&(0,t.jsx)("div",{className:" lg:ml-[200px] lg:mr-[107px] mt-5",children:(0,t.jsx)(i.default,{heading:p?.message,type:"error",ariaRole:"alert"})})]})})})}])},41709,e=>{"use strict";var t=e.i(43476),l=e.i(57688),s=e.i(22016);e.s(["default",0,function(){return(0,t.jsxs)("div",{className:"bg-jisc-grape-10 pt-5 pb-10 lg:py-20 flex flex-col",children:[(0,t.jsx)("h1",{className:"text-jisc-grape-main text-center text-2xl-tight lg:text-5xl-tight font-bold ",children:"Register a repository"}),(0,t.jsx)("p",{className:"px-5 pt-5 text-neutral-mineshaft text-center text-sm-loose lg:text-lg-loose font-normal",children:"We welcome new additions to OpenDOAR. To register a repository, complete the form in as much detail as possible."}),(0,t.jsxs)("p",{className:"px-5 mb-10 text-neutral-mineshaft text-center text-sm-loose lg:text-lg-loose font-normal",children:["Please check our"," ",(0,t.jsx)(s.default,{className:"text-utility-light-bahama-blue font-bold | hover:underline",href:"/help/inclusion-criteria",children:"inclusion criteria"})," ","before filling out the form."]}),(0,t.jsxs)("a",{href:"https://www.jisc.ac.uk/forms/register-your-repository-in-opendoar",target:"_blank",rel:"noopener noreferrer",className:"w-auto text-center text-utility-light-bahama-blue text-lg-tight lg:text-xl-tight font-bold inline-flex items-center justify-center gap-2 mx-auto hover:underline",children:[(0,t.jsx)(l.default,{src:"/customIcons/solid-books-circle-plus.svg",alt:"",width:25,height:20}),"Register a repository"]})]})}])}]);
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.