(()=>{"use strict";var e,r,t={1682:(e,r,t)=>{t.p="localhost"===window.location.hostname?"/assets/":`${window.guardian.app.data.CAPI.config.frontendAssetsFullURL}assets/`}},o={};function n(e){var r=o[e];if(void 0!==r)return r.exports;var a=o[e]={id:e,loaded:!1,exports:{}};return t[e](a,a.exports,n),a.loaded=!0,a.exports}n.m=t,n.d=(e,r)=>{for(var t in r)n.o(r,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},n.f={},n.e=e=>Promise.all(Object.keys(n.f).reduce(((r,t)=>(n.f[t](e,r),r)),[])),n.u=e=>(897===e?"sentry":e)+"."+{897:"5cf6b0e3639c17d3c382",945:"814924ce2d41e1523681"}[e]+".js",n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),n.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@guardian/dotcom-rendering:",n.l=(t,o,a,i)=>{if(e[t])e[t].push(o);else{var s,d;if(void 0!==a)for(var l=document.getElementsByTagName("script"),u=0;u<l.length;u++){var c=l[u];if(c.getAttribute("src")==t||c.getAttribute("data-webpack")==r+a){s=c;break}}s||(d=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,n.nc&&s.setAttribute("nonce",n.nc),s.setAttribute("data-webpack",r+a),s.src=t),e[t]=[o];var p=(r,o)=>{s.onerror=s.onload=null,clearTimeout(m);var n=e[t];if(delete e[t],s.parentNode&&s.parentNode.removeChild(s),n&&n.forEach((e=>e(o))),r)return r(o)},m=setTimeout(p.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=p.bind(null,s.onerror),s.onload=p.bind(null,s.onload),d&&document.head.appendChild(s)}},n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.p="",(()=>{var e={727:0};n.f.j=(r,t)=>{var o=n.o(e,r)?e[r]:void 0;if(0!==o)if(o)t.push(o[2]);else{var a=new Promise(((t,n)=>o=e[r]=[t,n]));t.push(o[2]=a);var i=n.p+n.u(r),s=new Error;n.l(i,(t=>{if(n.o(e,r)&&(0!==(o=e[r])&&(e[r]=void 0),o)){var a=t&&("load"===t.type?"missing":t.type),i=t&&t.target&&t.target.src;s.message="Loading chunk "+r+" failed.\n("+a+": "+i+")",s.name="ChunkLoadError",s.type=a,s.request=i,o[1](s)}}),"chunk-"+r,r)}};var r=(r,t)=>{var o,a,[i,s,d]=t,l=0;for(o in s)n.o(s,o)&&(n.m[o]=s[o]);for(d&&d(n),r&&r(t);l<i.length;l++)a=i[l],n.o(e,a)&&e[a]&&e[a][0](),e[i[l]]=0},t=self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),(()=>{n(1682);let e;((e,r,t)=>{const o=()=>{((e,r)=>{const{start:t,end:o}=(e=>{const r=window.performance,t=`${e}-start`,o=`${e}-end`;return r?{start:()=>{r.mark(t)},end:()=>{r.mark(o),r.measure(e,t,o),console.log(JSON.stringify(r.getEntriesByName(e)));const n=r.getEntriesByName(e,"measure"),a=n&&n[0]&&n[0].duration||0;return Math.round(a)},clear:()=>{r.clearMarks(t)}}:{start:()=>{},end:()=>0,clear:()=>{}}})(e);t(),r().then((()=>{o()})).catch((()=>{o()}))})("sentryLoader",t.bind(null,null))};window.guardian.mustardCut||window.guardian.polyfilled?o():window.guardian.queue.push(o)})(0,0,(async()=>{if(Math.floor(100*Math.random())+1<=99)window.guardian.modules.sentry.reportError=e=>{console.error(e)};else try{let r=!1;const t=[],o=async o=>{if(o&&t.push(o),r)return;if(r=!0,await(void 0!==e?Promise.resolve(e):"function"!=typeof window.getComputedStyle?(e=!1,Promise.resolve(e)):new Promise((r=>{const t=document.createElement("div");t.style.position="absolute",t.style.left="0",t.style.top="0",t.style.height="10px",t.style.zIndex="-1",t.innerHTML="&nbsp;",t.setAttribute("class","ad_unit"),window.requestAnimationFrame((()=>{document.body.appendChild(t),window.requestAnimationFrame((()=>{const o=window.getComputedStyle(t),n=o&&o.getPropertyValue("display"),a=o&&o.getPropertyValue("-moz-binding");e="none"===n||!(!a||!a.includes("about:")),r(e)}))}))}))))return;const{reportError:a}=await Promise.all([n.e(945),n.e(897)]).then(n.bind(n,558));for(window.guardian.modules.sentry.reportError=a;t.length;){const e=t.shift();e&&a(e)}};window.onerror=(e,r,t,n,a)=>o(a),window.onunhandledrejection=e=>e&&o(e.reason),window.guardian.modules.sentry.reportError=e=>{o(e).catch((e=>console.error(`injectSentry - error: ${e}`)))}}catch(e){}}))})()})();
//# sourceMappingURL=sentryLoader.9bc677b807ad2a5ccb35.js.map