PageSourceSearch

https://metro.co.uk/_static/??-eJyNzs0OAiEMBOAXki1q4s/B+Cws1BWkZdM…/p660mV7PPvdwZ/2vrwBuzpOSA==

js metro.co.uk collected 2026-10-01 07:25:58 UTC 9,427 bytes, 3 lines download raw bytes

vendor: 4,494 bytes, line 1
1var runtime=function(a){"use strict";var u,t=Object.prototype,h=t.hasOwnProperty,l=Object.defineProperty||function(t,r,e){t[r]=e.value},r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",e=r.asyncIterator||"@@asyncIterator",o=r.toStringTag||"@@toStringTag";function i(t,r,e){return Object.defineProperty(t,r,{value:e,enumerable:!0,configurable:!0,writable:!0}),t[r]}try{i({},"")}catch(t){i=function(t,r,e){return t[r]=e}}function c(t,r,e,n){var o,i,a,c,r=r&&r.prototype instanceof d?r:d,r=Object.create(r.prototype),n=new O(n||[]);return l(r,"_invoke",{value:(o=t,i=e,a=n,c=s,function(t,r){if(c===y)throw new Error("Generator is already running");if(c===g){if("throw"===t)throw r;return{value:u,done:!0}}for(a.method=t,a.arg=r;;){var e=a.delegate;if(e){e=function t(r,e){var n=e.method;var o=r.iterator[n];if(o===u)return e.delegate=null,"throw"===n&&r.iterator.return&&(e.method="return",e.arg=u,t(r,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;n=f(o,r.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,v;o=n.arg;if(!o)return e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v;{if(!o.done)return o;e[r.resultName]=o.value,e.next=r.nextLoc,"return"!==e.method&&(e.method="next",e.arg=u)}e.delegate=null;return v}(e,a);if(e){if(e===v)continue;return e}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(c===s)throw c=g,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);c=y;e=f(o,i,a);if("normal"===e.type){if(c=a.done?g:p,e.arg!==v)return{value:e.arg,done:a.done}}else"throw"===e.type&&(c=g,a.method="throw",a.arg=e.arg)}})}),r}function f(t,r,e){try{return{type:"normal",arg:t.call(r,e)}}catch(t){return{type:"throw",arg:t}}}a.wrap=c;var s="suspendedStart",p="suspendedYield",y="executing",g="completed",v={};function d(){}function m(){}function w(){}var r={},b=(i(r,n,function(){return this}),Object.getPrototypeOf),b=b&&b(b(k([]))),L=(b&&b!==t&&h.call(b,n)&&(r=b),w.prototype=d.prototype=Object.create(r));function x(t){["next","throw","return"].forEach(function(r){i(t,r,function(t){return this._invoke(r,t)})})}function E(a,c){var r;l(this,"_invoke",{value:function(e,n){function t(){return new c(function(t,r){!function r(t,e,n,o){var i,t=f(a[t],a,e);if("throw"!==t.type)return(e=(i=t.arg).value)&&"object"==typeof e&&h.call(e,"__await")?c.resolve(e.__await).then(function(t){r("next",t,n,o)},function(t){r("throw",t,n,o)}):c.resolve(e).then(function(t){i.value=t,n(i)},function(t){return r("throw",t,n,o)});o(t.arg)}(e,n,t,r)})}return r=r?r.then(t,t):t()}})}function j(t){var r={tryLoc:t[0]};1 in t&&(r.catchLoc=t[1]),2 in t&&(r.finallyLoc=t[2],r.afterLoc=t[3]),this.tryEntries.push(r)}function _(t){var r=t.completion||{};r.type="normal",delete r.arg,t.completion=r}function O(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(j,this),this.reset(!0)}function k(r){if(null!=r){var e,t=r[n];if(t)return t.call(r);if("function"==typeof r.next)return r;if(!isNaN(r.length))return e=-1,(t=function t(){for(;++e<r.length;)if(h.call(r,e))return t.value=r[e],t.done=!1,t;return t.value=u,t.done=!0,t}).next=t}throw new TypeError(typeof r+" is not iterable")}return l(L,"constructor",{value:m.prototype=w,configurable:!0}),l(w,"constructor",{value:m,configurable:!0}),m.displayName=i(w,o,"GeneratorFunction"),a.isGeneratorFunction=function(t){t="function"==typeof t&&t.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},a.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,w):(t.__proto__=w,i(t,o,"GeneratorFunction")),t.prototype=Object.create(L),t},a.awrap=function(t){return{__await:t}},x(E.prototype),i(E.prototype,e,function(){return this}),a.AsyncIterator=E,a.async=function(t,r,e,n,o){void 0===o&&(o=Promise);var i=new E(c(t,r,e,n),o);return a.isGeneratorFunction(r)?i:i.next().then(function(t){return t.done?t.value:i.next()})},x(L),i(L,o,"Generator"),i(L,n,function(){return this}),i(L,"toString",function(){return"[object Generator]"}),a.keys=function(t){var r,e=Object(t),n=[];for(r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},a.values=k,O.prototype={constructor:O,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=u,this.done=!1,this.delegate=null,this.method="next",this.arg=u,this.tryEntries.forEac
1h(_),!t)for(var r in this)"t"===r.charAt(0)&&h.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=u)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function t(t,r){return i.type="throw",i.arg=e,n.next=t,r&&(n.method="next",n.arg=u),!!r}for(var r=this.tryEntries.length-1;0<=r;--r){var o=this.tryEntries[r],i=o.completion;if("root"===o.tryLoc)return t("end");if(o.tryLoc<=this.prev){var a=h.call(o,"catchLoc"),c=h.call(o,"finallyLoc");if(a&&c){if(this.prev<o.catchLoc)return t(o.catchLoc,!0);if(this.prev<o.finallyLoc)return t(o.finallyLoc)}else if(a){if(this.prev<o.catchLoc)return t(o.catchLoc,!0)}else{if(!c)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return t(o.finallyLoc)}}}},abrupt:function(t,r){for(var e=this.tryEntries.length-1;0<=e;--e){var n=this.tryEntries[e];if(n.tryLoc<=this.prev&&h.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var o=n;break}}var i=(o=o&&("break"===t||"continue"===t)&&o.tryLoc<=r&&r<=o.finallyLoc?null:o)?o.completion:{};return i.type=t,i.arg=r,o?(this.method="next",this.next=o.finallyLoc,v):this.complete(i)},complete:function(t,r){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&r&&(this.next=r),v},finish:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e=this.tryEntries[r];if(e.finallyLoc===t)return this.complete(e.completion,e.afterLoc),_(e),v}},catch:function(t){for(var r=this.tryEntries.length-1;0<=r;--r){var e,n,o=this.tryEntries[r];if(o.tryLoc===t)return"throw"===(e=o.completion).type&&(n=e.arg,_(o)),n}throw new Error("illegal catch attempt")},delegateYield:function(t,r,e){return this.delegate={iterator:k(t),resultName:r,nextLoc:e},"next"===this.method&&(this.arg=u),v}},a}("object"==typeof module?module.exports:{});try{regeneratorRuntime=runtime}catch(t){"object"==typeof globalThis?globalThis.regeneratorRuntime=runtime:Function("r","regeneratorRuntime = r")(runtime)};
2!function(){"use strict";var e={};function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function r(e,t,r,n,o,a,i){try{var s=e[a](i),c=s.value}catch(e){return void r(e)}s.done?t(c):Promise.resolve(c).then(n,o)}e.n=function(t){var r=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(r,{a:r}),r},e.d=function(t,r){if(Array.isArray(r))for(var n=0;n<r.length;){var o=r[n++],a=r[n++];e.o(t,o)?0===a&&n++:0===a?Object.defineProperty(t,o,{enumerable:!0,value:r[n++]}):Object.defineProperty(t,o,{enumerable:!0,get:a})}else for(var o in r)e.o(r,o)&&!e.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:r[o]})},e.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};var n=window.regeneratorRuntime,o=e.n(n);document.addEventListener("DOMContentLoaded",function(){var e=window.metro.tracking;document.querySelectorAll(".latest").forEach(function(n){var a=2,i=n.querySelector(".latest_footer");if(i){var s=i.querySelector(".metro-button__more");s&&s.addEventListener("click",function(){var c,u=(c=o().mark(function r(c){var u,l,d,f,p,m,v,y,b;return o().wrap(function(r){for(;;)switch(r.prev=r.next){case 0:return c.preventDefault(),null==e||e.publish("LATEST_LOAD_NEW_PAGE",n.getAttribute("data-latest-module")),n.classList.add("loading"),(l=s.querySelector(".loader"))||((l=document.createElement("div")).classList.add("loader"),s.append(l)),d="/wp-json/wp/v2/posts/",null!==(f=JSON.parse(null!==(u=n.getAttribute("data-query-params"))&&void 0!==u?u:"{}"))&&"object"===t(f)&&(f.page=a,p=new URLSearchParams(f).toString(),d+="?".concat(p)),r.next=1,fetch(d);case 1:return m=r.sent,r.next=2,m.json();case 2:if(v=r.sent,0!==(v=Array.isArray(v)?v:[]).length&&30!==a){r.next=3;break}return n.classList.add("finished"),n.classList.remove("loading"),r.abrupt("return");case 3:(y=document.createElement("div")).classList.add("latest_page","post-grid","zebra-stacked-post-grid"),n.insertBefore(y,i),(b=document.createElement("div")).classList.add("post-grid__posts"),y.append(b),b.innerHTML+='<div style="display: none;"></div>',v.forEach(function(e){var t;null!=e&&null!==(t=e.metro_content_item)&&void 0!==t&&t.rendered&&(b.innerHTML+=e.metro_content_item.rendered)}),n.classList.remove("loading"),a++,Number(m.headers.get("X-Wp-Totalpages"))<a&&(n.classList.add("finished"),n.classList.remove("loading"));case 4:case"end":return r.stop()}},r)}),function(){var e=this,t=arguments;return new Promise(function(n,o){var a=c.apply(e,t);function i(e){r(a,n,o,i,s,"next",e)}function s(e){r(a,n,o,i,s,"throw",e)}i(void 0)})});return function(_x){return u.apply(this,arguments)}}())}})})}();;
3;

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.