PageSourceSearch

https://www.bangor.ac.uk/sites/default/files/js/js_sgh4N0XE41ZD948…ZPIVoot7_PvxgZ9yNvvycHUtbVu-JtrUtWwPXsiDizU

js bangor.ac.uk collected 2026-10-01 07:56:36 UTC 12,339 bytes, 3 lines download raw bytes

1/* @license GPL-2.0-or-later https://www.drupal.org/licensing/faq */
2(function(){const settingsElement=document.querySelector('head > script[type="application/json"][data-drupal-selector="drupal-settings-json"], body > script[type="application/json"][data-drupal-selector="drupal-settings-json"]');window.drupalSettings={};if(settingsElement!==null)window.drupalSettings=JSON.parse(settingsElement.textContent);})();;
3window.Modernizr=function(e,t,r){function n(e){l.cssText=e;}function o(e,t){return typeof e===t;}var i,a,s={},c=t.documentElement,u=t.createElement("modernizr"),l=u.style,f={},d=[],h=d.slice,p={}.hasOwnProperty;for(var m in a=o(p,"undefined")||o(p.call,"undefined")?function(e,t){return t in e&&o(e.constructor.prototype[t],"undefined");}:function(e,t){return p.call(e,t);},Function.prototype.bind||(Function.prototype.bind=function(r){var o=this;if("function"!=typeof o)throw new TypeError();var i=h.call(arguments,1),a=function(){if(this instanceof a){var e=function(){};e.prototype=o.prototype;var t=new e(),n=o.apply(t,i.concat(h.call(arguments)));return Object(n)===n?n:t;}return o.apply(r,i.concat(h.call(arguments)));};return a;}),f)a(f,m)&&(i=m.toLowerCase(),s[i]=f[m](),d.push((s[i]?"":"no-")+i));return s.addTest=function(e,t){if("object"==typeof e)for(var n in e)a(e,n)&&s.addTest(n,e[n]);else{if(e=e.toLowerCase(),s[e]!==r)return s;t="function"==typeof t?t():t,c.className+=" "+(t?"":"no-")+e,s[e]=t;}return s;},n(""),u=null,function(e,c){function u(){var e=p.elements;return "string"==typeof e?e.split(" "):e;}function l(e){var t=s[e[r]];return t||(t={},a++,e[r]=a,s[a]=t),t;}function f(e,t,n){return t||(t=c),h?t.createElement(e):(n||(n=l(t)),!(r=n.cache[e]?n.cache[e].cloneNode():i.test(e)?(n.cache[e]=n.createElem(e)).cloneNode():n.createElem(e)).canHaveChildren||o.test(e)||r.tagUrn?r:n.frag.appendChild(r));var r;}function t(e){e||(e=c);var t,n,r,o,i,a,s=l(e);return p.shivCSS&&!d&&!s.hasCSS&&(s.hasCSS=(o="article,aside,dialog,figcaption,figure,footer,header,hgroup,main,nav,section{display:block}mark{background:#FF0;color:#000}template{display:none}",i=(r=e).createElement("p"),a=r.getElementsByTagName("head")[0]||r.documentElement,i.innerHTML="x<style>"+o+"</style>",!!a.insertBefore(i.lastChild,a.firstChild))),h||(t=e,(n=s).cache||(n.cache={},n.createElem=t.createElement,n.createFrag=t.createDocumentFragment,n.frag=n.createFrag()),t.createElement=function(e){return p.shivMethods?f(e,t,n):n.createElem(e);},t.createDocumentFragment=Function("h,f","return function(){var n=f.cloneNode(),c=n.createElement;h.shivMethods&&("+u().join().replace(/[\w\-]+/g,function(e){return n.createElem(e),n.frag.createElement(e),'c("'+e+'")';})+");return n}")(p,n.frag)),e;}var d,h,n=e.html5||{},o=/^<|^(?:button|map|select|textarea|object|iframe|option|optgroup)$/i,i=/^(?:a|b|code|div|fieldset|h1|h2|h3|h4|h5|h6|i|label|li|ol|p|q|span|strong|style|table|tbody|td|th|tr|ul)$/i,r="_html5shiv",a=0,s={};!function(){try{var e=c.createElement("a");e.innerHTML="<xyz></xyz>",d="hidden" in e,h=1==e.childNodes.length||function(){c.createElement("a");var e=c.createDocumentFragment();return void 0===e.cloneNode||void 0===e.createDocumentFragment||void 0===e.createElement;}();}catch(e){h=d=!0;}}();var p={elements:n.elements||"abbr article aside audio bdi canvas data datalist details dialog figcaption figure footer header hgroup main mark meter nav output progress section summary template time video",version:"3.7.0",shivCSS:!1!==n.shivCSS,supportsUnknownElements:h,shivMethods:!1!==n.shivMethods,type:"default",shivDocument:t,createElement:f,createDocumentFragment:function(e,t){if(e||(e=c),h)return e.createDocumentFragment();for(var n=(t=t||l(e)).frag.cloneNode(),r=0,o=u(),i=o.length;r<i;r++)n.createElement(o[r]);return n;}};e.html5=p,t(c);}(this,t),s._version="2.8.3",c.className=c.className.replace(/(^|\s)no-js(\s|$)/,"$1$2")+" js "+d.join(" "),s;}(0,this.document),function(e,d,t){function f(e){return "[object Function]"==i.call(e);}function h(e){return "string"==typeof e;}function p(){}function m(e){return !e||"loaded"==e||"complete"==e||"uninitialized"==e;}function v(){var e=b.shift();E=1,e?e.t?g(function(){("c"==e.t?y.injectCss:y.injectJs)(e.s,0,e.a,e.x,e.e,1);},0):(e(),v()):E=0;}function n(e,t,n,r,o){return E=0,t=t||"j",h(e)?function(n,r,e,t,o,i,a){function s(e){if(!u&&m(c.readyState)&&(f.r=u=1,!E&&v(
3),c.onload=c.onreadystatechange=null,e))for(var t in "img"!=n&&g(function(){M.removeChild(c);},50),q[r])q[r].hasOwnProperty(t)&&q[r][t].onload();}a=a||y.errorTimeout;var c=d.createElement(n),u=0,l=0,f={t:e,s:r,e:o,a:i,x:a};1===q[r]&&(l=1,q[r]=[]),"object"==n?c.data=r:(c.src=r,c.type=n),c.width=c.height="0",c.onerror=c.onload=c.onreadystatechange=function(){s.call(this,l);},b.splice(t,0,f),"img"!=n&&(l||2===q[r]?(M.insertBefore(c,x?null:w),g(s,a)):q[r].push(c));}("c"==t?u:c,e,t,this.i++,n,r,o):(b.splice(this.i++,0,e),1==b.length&&v()),this;}function s(){var e=y;return e.loader={load:n,i:0},e;}var r,y,o=d.documentElement,g=e.setTimeout,w=d.getElementsByTagName("script")[0],i={}.toString,b=[],E=0,a="MozAppearance" in o.style,x=a&&!!d.createRange().compareNode,M=x?o:w.parentNode,c=(o=e.opera&&"[object Opera]"==i.call(e.opera),o=!!d.attachEvent&&!o,a?"object":o?"script":"img"),u=o?"script":c,S=Array.isArray||function(e){return "[object Array]"==i.call(e);},j=[],q={},C={timeout:function(e,t){return t.length&&(e.timeout=t[0]),e;}};(y=function(e){function l(e,t,n,r,o){var i=function(e){e=e.split("!");var t,n,r,o=j.length,i=e.pop(),a=e.length;for(i={url:i,origUrl:i,prefixes:e},n=0;n<a;n++)r=e[n].split("="),(t=C[r.shift()])&&(i=t(i,r));for(n=0;n<o;n++)i=j[n](i);return i;}(e),a=i.autoCallback;i.url.split(".").pop().split("?").shift(),i.bypass||(t&&(t=f(t)?t:t[e]||t[r]||t[e.split("/").pop().split("?")[0]]),i.instead?i.instead(e,t,n,r,o):(q[i.url]?i.noexec=!0:q[i.url]=1,n.load(i.url,i.forceCSS||!i.forceJS&&"css"==i.url.split(".").pop().split("?").shift()?"c":void 0,i.noexec,i.attrs,i.timeout),(f(t)||f(a))&&n.load(function(){s(),t&&t(i.origUrl,o,r),a&&a(i.origUrl,o,r),q[i.url]=2;})));}function t(e,t){function n(n,e){if(n)if(h(n))e||(s=function(){var e=[].slice.call(arguments);c.apply(this,e),u();}),l(n,s,t,0,i);else{if(Object(n)===n)for(o in r=function(){var e,t=0;for(e in n)n.hasOwnProperty(e)&&t++;return t;}(),n)n.hasOwnProperty(o)&&(!e&&!--r&&(f(s)?s=function(){var e=[].slice.call(arguments);c.apply(this,e),u();}:s[o]=function(t){return function(){var e=[].slice.call(arguments);t&&t.apply(this,e),u();};}(c[o])),l(n[o],s,t,o,i));}else !e&&u();}var r,o,i=!!e.test,a=e.load||e.both,s=e.callback||p,c=s,u=e.complete||p;n(i?e.yep:e.nope,!!a),a&&n(a);}var n,r,o=this.yepnope.loader;if(h(e))l(e,0,o,0);else if(S(e))for(n=0;n<e.length;n++)h(r=e[n])?l(r,0,o,0):S(r)?y(r):Object(r)===r&&t(r,o);else Object(e)===e&&t(e,o);}).addPrefix=function(e,t){C[e]=t;},y.addFilter=function(e){j.push(e);},y.errorTimeout=1e4,null==d.readyState&&d.addEventListener&&(d.readyState="loading",d.addEventListener("DOMContentLoaded",r=function(){d.removeEventListener("DOMContentLoaded",r,0),d.readyState="complete";},0)),e.yepnope=s(),e.yepnope.executeStack=v,e.yepnope.injectJs=function(e,t,n,r,o,i){var a,s,c=d.createElement("script");r=r||y.errorTimeout;for(s in c.src=e,n)c.setAttribute(s,n[s]);t=i?v:t||p,c.onreadystatechange=c.onload=function(){!a&&m(c.readyState)&&(a=1,t(),c.onload=c.onreadystatechange=null);},g(function(){a||t(a=1);},r),o?c.onload():w.parentNode.insertBefore(c,w);},e.yepnope.injectCss=function(e,t,n,r,o,i){var a;r=d.createElement("link"),t=i?v:t||p;for(a in r.href=e,r.rel="stylesheet",r.type="text/css",n)r.setAttribute(a,n[a]);o||(w.parentNode.insertBefore(r,w),g(t,0));};}(this,document),Modernizr.load=function(){yepnope.apply(window,[].slice.call(arguments,0));},function(){if(window&&window.addEventListener){var t,e,f=Object.create(null),d=function(){clearTimeout(e),e=setTimeout(t,100);},h=function(){};t=function(){function r(){var e;0===--l&&(h=window.MutationObserver?((e=new MutationObserver(d)).observe(document.documentElement,{childList:!0,subtree:!0,attributes:!0}),function(){try{e.disconnect();}catch(e){}}):(document.documentElement.addEventListener("DOMSubtreeModified",d,!1),function(){document.documentElement.removeEventListener("DOMSubtreeModified",d,!1);}));}function e(n){return function(){var e=document.body,t=document.createElement("x");n.onload=null,t.innerHTML=n.responseText,(t=t.getElementsByTagName("svg")[0])&&(t.style.position="absolute",t.style.width=0,t.style.height=0,e.insertBefore(t,e.firstChild)),r();};}function t(e){return function(){e.onerror=null,e.ontimeout=null,r();};}var n,o,i,a,s,c,u,l=0;if(window.XMLHttpRequest&&(s=void 0!==(s=new XMLHttpRequest()).withCredentials?XMLHttpRequest:XDomainRequest||void 0),void 0!==s){for(h(),u=document.getElementsByTagName("use"),a=0;a<u.length;a+=1){try{o=u[a].getBoundingClientRect();}catch(e){o=!1;}n=(i=u[a].getAttributeNS("http://www.w3.org/1999/xlink","href").split("#"))[0],i=i[1],c=o&&0===o.left&&0===o.right,o&&0===o.width&&0===o.height&&!c?n.length&&(!0!==(c=f[n])&&u[a].setAttributeNS("http://www.w3.org/1999/xlink","xlink:href","#"+i),void 0===c&&(c=new s(),(f[n]=c).onload=e(c),c.onerror=t(c),c.ontimeout=t(c),c.open("GET",n),c.send(),l+=1)):c||void 0!==f[n]||(f[n]=!0);}u="",l+=1,r();}},window.addEventListener("load",function e(){window.removeEventListener("load",e,!1),t();},!1);}}(),function(e){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=e();else if("function"==typeof define&&define.amd)define([],e);else ("undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this).enquire=e();}(function(){return function i(a,s,c){function u(n,e){if(!s[n]){if(!a[n]){var t="function"==typeof require&&require;if(!e&&t)return t(n,!0);if(l)return l(n,!0);var r=new Error("Cannot find module '"+n+"'");throw r.code="MODULE_NOT_FOUND",r;}
3var o=s[n]={exports:{}};a[n][0].call(o.exports,function(e){var t=a[n][1][e];return u(t||e);},o,o.exports,i,a,s,c);}return s[n].exports;}for(var l="function"==typeof require&&require,e=0;e<c.length;e++)u(c[e]);return u;}({1:[function(e,t,n){function r(e,t){this.query=e,this.isUnconditional=t,this.handlers=[],this.mql=window.matchMedia(e);var n=this;this.listener=function(e){n.mql=e.currentTarget||e,n.assess();},this.mql.addListener(this.listener);}var o=e(3),i=e(4).each;r.prototype={constuctor:r,addHandler:function(e){var t=new o(e);this.handlers.push(t),this.matches()&&t.on();},removeHandler:function(n){var r=this.handlers;i(r,function(e,t){if(e.equals(n))return e.destroy(),!r.splice(t,1);});},matches:function(){return this.mql.matches||this.isUnconditional;},clear:function(){i(this.handlers,function(e){e.destroy();}),this.mql.removeListener(this.listener),this.handlers.length=0;},assess:function(){var t=this.matches()?"on":"off";i(this.handlers,function(e){e[t]();});}},t.exports=r;},{3:3,4:4}],2:[function(e,t,n){function r(){if(!window.matchMedia)throw new Error("matchMedia n
3ot present, legacy browsers require a polyfill");this.queries={},this.browserIsIncapable=!window.matchMedia("only all").matches;}var i=e(1),o=e(4),a=o.each,s=o.isFunction,c=o.isArray;r.prototype={constructor:r,register:function(t,e,n){var r=this.queries,o=n&&this.browserIsIncapable;return r[t]||(r[t]=new i(t,o)),s(e)&&(e={match:e}),c(e)||(e=[e]),a(e,function(e){s(e)&&(e={match:e}),r[t].addHandler(e);}),this;},unregister:function(e,t){var n=this.queries[e];return n&&(t?n.removeHandler(t):(n.clear(),delete this.queries[e])),this;}},t.exports=r;},{1:1,4:4}],3:[function(e,t,n){function r(e){!(this.options=e).deferSetup&&this.setup();}r.prototype={constructor:r,setup:function(){this.options.setup&&this.options.setup(),this.initialised=!0;},on:function(){!this.initialised&&this.setup(),this.options.match&&this.options.match();},off:function(){this.options.unmatch&&this.options.unmatch();},destroy:function(){this.options.destroy?this.options.destroy():this.off();},equals:function(e){return this.options===e||this.options.match===e;}},t.exports=r;},{}],4:[function(e,t,n){t.exports={isFunction:function(e){return "function"==typeof e;},isArray:function(e){return "[object Array]"===Object.prototype.toString.apply(e);},each:function(e,t){for(var n=0,r=e.length;n<r&&!1!==t(e[n],n);n++);}};},{}],5:[function(e,t,n){var r=e(2);t.exports=new r();},{2:2}]},{},[5])(5);});;

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.