PageSourceSearch

https://www.sunderland.ac.uk/_83dEUg_71d4be4e-2e7b-4ce5-ad83-d0c29…/js/search.config.29b7d16b82920960fdcf.mjs

js sunderland.ac.uk collected 2026-09-24 08:49:25 UTC 8,489 bytes, 1 lines download raw bytes

1"use strict";(()=>{(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[21],{810:(M,u,n)=>{n.d(u,{searchConfig:()=>E});var t=n(6373),e=n(7567);const g={date:{title:"Date",fieldId:"publishedDate",fieldOperator:"between",isSingleSelect:!0,items:[{title:"Past week",key:"now(-7d)--now()"},{title:"Past month",key:"now(-31d)--now()"},{title:"Past year",key:"now(-1y)--now()"},{title:"Over 1 year",key:"now(-4y)--now(-1y)"}]},topic:{title:"Topic",fieldId:"tags[].sys.id",fieldOperator:"equalTo",contentTypeId:e.f.tags,isSingleSelect:!1,items:[]}},S={date:{title:"Date",fieldId:["date.from","date.to"],fieldOperator:"between",isSingleSelect:!0,items:[{title:"This week",key:"now()--now(+7d)"},{title:"Next week",key:"now(+7d)--now(+14d)"},{title:"This month",key:"now()--now(+31d)"},{title:"Next month",key:"now(+28d)--now(+62d)"},{title:"Next 6 months",key:"now()--now(+186d)"}]},subjectArea:{title:"Subject area",fieldId:"subjectArea[].sys.id",fieldOperator:"equalTo",contentTypeId:"dataSubjectArea",isSingleSelect:!1,items:[]},levelOfStudy:{title:"Course level",contentTypeId:[e.f.level],fieldId:"levelOfStudy.sys.id",isSingleSelect:!1,items:[]},type:{title:"Event type",fieldId:"type[].sys.id",fieldOperator:"equalTo",contentTypeId:"dataEventType",isSingleSelect:!1,items:[]},location:{title:"Location",fieldId:"location[].sys.id",fieldOperator:"equalTo",contentTypeId:"dataLocation",isSingleSelect:!1,items:[]}},r={subjectArea:{title:"Subject area",fieldId:["subjectArea.sys.id","additionalSubjectArea[].sys.id"],contentTypeId:"dataSubjectArea",isSingleSelect:!1,items:[]},expert:{title:"Media expert",fieldId:"expert",contentTypeId:[e.f.profile],isSingleSelect:!0,items:[{title:"Media expert",key:"true"}]}},p={level:{title:"Course level",contentTypeId:[e.f.level],fieldId:"level.sys.id",isSingleSelect:!1,items:[]},subjectArea:{title:"Subject area",contentTypeId:[e.f.subjectArea],fieldId:"subjectArea.sys.id",isSingleSelect:!1,items:[]},mode:{title:"Study mode",contentTypeId:[e.f.mode],fieldId:"mode[].sys.id",isSingleSelect:!1,items:[]},startDate:{title:"Start date",contentTypeId:[e.f.startDate],fieldId:"startDate[].sys.id",isSingleSelect:!1,items:[]},year:{title:"Academic year",contentTypeId:[e.f.year],fieldId:"academicYear[].sys.id",isSingleSelect:!1,items:[]},format:{title:"Format",fieldId:"format",isSingleSelect:!0,items:[{title:"On campus",key:"default"},{title:"Study Centre",key:"study-centre"},{title:"Online",key:"online"}]},clearing:{title:"Clearing",fieldId:"clearing",renderable:!1,customWhere:[{field:"clearing",equalTo:!0}],items:[]}},m={level:{title:"Level",fieldId:"level.sys.id",contentTypeId:"dataCourseLevel",isSingleSelect:!0,items:[]},year:{title:"Academic year",fieldId:"academicYear.sys.id",contentTypeId:"dataAcademicYear",isSingleSelect:!0,items:[]},mode:{title:"Study mode",fieldId:"studyMode.sys.id",contentTypeId:"dataStudyMode",isSingleSelect:!0,items:[]},format:{title:"Fee status",fieldId:"format",isSingleSelect:!0,items:[{title:"Home",key:"home"},{title:"International",key:"international"}]}},h={subjectArea:{title:"Subject area",contentTypeId:[e.f.subjectArea],fieldId:"subjectArea.sys.id",isSingleSelect:!1,items:[]}},I={year:{title:"Academic year",fieldId:"academicYear.sys.id",contentTypeId:"dataAcademicYear",isSingleSelect:!0,items:[]},mode:{title:"Study mode",fieldId:"studyMode.sys.id",contentTypeId:"dataStudyMode",isSingleSelect:!0,items:[]},format:{title:"Fee status",fieldId:"format",isSingleSelect:!0,renderable:!1,items:[{title:"Home",key:"home"},{title:"International",key:"international"}]}},T={year:{title:"Academic year",fieldId:"academicYear.sys.id",contentTypeId:"dataAcademicYear",isSingleSelect:!0,items:[]},mode:{title:"Study mode",fieldId:"studyMode.sys.id",contentTypeId:"dataStudyMode",isSingleSelect:!0,items:[]},format:{title:"Fee status",fieldId:"format",isSingleSelect:!0,renderable:!1,items:[{title:"Home",key:"home"},{title:"International",key:"international"}]}},w={country:{title:"Country",fieldId:"countries[].sys.id",contentTypeId:e.f.country,isSingleSelect:!1,items:[]}},C={country:{title:"Country",fieldId:"countries[].sys.id",contentTypeId:e.f.country,isSingleSelect:!1,items:[],customWhere:[{field:"studyCentres",exists:!0}]}};var i=n(4986);const l={field:"sys.uri",exists:!0},s=[{fieldId:"entryTitle",weight:t.nV.title},{fieldId:"description",weight:t.nV.description},{fieldId:"seo.keywords",weight:t.nV.keywords}],F=[{fieldId:"entryTitle",weight:t.nV.title},{fieldId:"description",weight:t.nV.description},{fieldId:"keywords",weight:t.nV.keywordsHigh},{fieldId:"seo.keywords",weight:t.nV.keywordsHigh}],a=[e.f.profile,e.f.content,e.f.home,e.f.landing,e.f.parent,e.f.studyCentreListing],k=[e.f.searchOnlineCourse,e.f.searchCourse,e.f.shortCourse],v=[e.f.event],A=d=>d.map(N=>({field:"sys.contentTypeId",in:[N],weight:50})),L=d=>[{field:"sys.contentTypeId",in:d},{field:"date.from",greaterThan:"now()"}],b={title:"All results",queryParams:{contentTypeIds:[...a,...k,...v],fields:["sys",...i.Xn,...i.N6,...i.Ar,...i.F4,...i.Rv],linkDepth:3,fuzzySearch:!0,pageSize:10,weightedSearchFields:[...F],customWhere:[{and:[{or:[{field:"hideFromInternalSearch",equalTo:!1},{field:"hideFromInternalSearch",exists:!1}]},{or:[...A(a),...L(e.f.event),{field:"sys.contentTypeId",in:["studyCentreListing"],weight:50},{field:"sys.contentTypeId",in:["landing"],weight:65},{field:"sys.contentTypeId",in:["searchCourse"],weight:60},{field:"sys.contentTypeId",in:["pageShortCourse"],weight:50},{field:"sys.contentTypeId",in:["searchOnlineCourse"],weight:50},{field:"sys.contentTypeId",in:["pageNews"],weight:50},{field:"sys.contentTypeId",in:["studyCentreListing"],weight:50},{field:"sys.contentTypeId",in:[e.f.searchCourse,e.f.searchOnlineCourse]},{field:"sys.uri",exists:!0}]}]}]},isDefault:!0},o={title:"Courses",queryParams:{contentTypeIds:[e.f.searchCourse,e.f.searchOnlineCourse,e.f.shortCourse],fields:[...i.Rv],linkDepth:1,pageSize:10,weightedSearchFields:[...s]},filters:p},j={title:"Short Courses",queryParams:{contentTypeIds:[e.f.shortCourse],fields:["*"],linkDepth:2,pageSize:10,weightedSearchFields:[...s]},filters:h},c={title:"Academic Staff",queryParams:{contentTypeIds:[e.f.profile],fields:["sys",...i.F4],linkDepth:3,pageSize:10,weightedSearchFields:[...s],customWhere:[l]},filters:r},D={title:"Research Staff",queryParams:{contentTypeIds:[e.f.profile],fields:["sys",...i.F4],linkDepth:3,pageSize:10,weightedSearchFields:[...s],customWhere:[l,{field:"researchStaff",equalTo:!0}]},filters:r},f={title:"News",queryParams:{contentTypeIds:[e.f.news],fields:["sys",...i.N6],orderBy:["-publishedDate"],linkDepth:3,pageSize:10,weightedSearchFields:[...s],customWhere:[l,{field:"sys.uri",startsWith:"/news/"}]},filters:g},q={title:"International Entry Requirements by Country",queryParams:{contentTypeIds:[e.f.country],fields:["sys",...i.SY],pageSize:1e3,linkDepth:3}},y={title:"Events",queryParams:{contentTypeIds:[e.f.event],fields:[...i.Ar],orderBy:["date.from"],linkDepth:3,pageSize:10,weightedSearchFields:[...s],customWhere:[{field:"date.from",greaterThan:"now()"},{not:{field:"hiddenEvent",equalTo:"true"}}]},filters:S},O={title:"Subject Areas",queryParams:{contentTypeIds:[e.f.landing],fields:["*"],pageSize:100,linkDepth:1,orderBy:["entryTitle"],customWhere:[l,{field:"subjectArea",exists:!0}]}},P={title:"Fees",queryParams:{contentTypeIds:[e.f.courseFee],fields:["*"],pageSize:100},filters:m},z={title:"Undergraduate fees",queryParams:{contentTypeIds:[e.f.courseFee],fields:["*"],pageSize:100,customWhere:[{field:"level.sys.id",equalTo:t.uh.undergraduate}]},filters:I},K={title:"Postgraduate fees",queryParams:{contentTypeIds:[e.f.courseFee],fields:["*"],pageSize:100,customWhere:[{field:"level.sys.id",equalTo:t.uh.postgraduate}]},filters:T},W={title:"Find your local representative",queryParams:{contentTypeIds:[e.f.agent],fields:["*"],pageSize:10,weightedSearchFields:[...s,{fieldId:"areaOfRecruitment",weight:t.nV.description}]},filters:w},x={title:"See all Study Centres",queryParams:{contentTypeIds:[e.f.studyCentre],fields:["*"],pageSize:10,weightedSearchFields:[...s]},filters:C},E={tabs:[{id:0,label:""}],facets:{[t.jp.all]:b,[t.jp.courses]:o,[t.jp.staff]:c,[t.jp.news]:f,[t.jp.events]:y},listings:{[t.eK.subjectAreas]:O,[t.eK.news]:f,[t.eK.events]:y,[t.eK.courses]:o,[t.eK.shortCourses]:j,[t.eK.staff]:c,[t.eK.researchStaff]:D,[t.eK.fees]:P,[t.eK.undergraduateFees]:z,[t.eK.postgraduateFees]:K,[t.eK.agents]:W,[t.eK.studyCentre]:x,[t.eK.countries]:q},minilist:{}}}}]);})();

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.