1;!function(){try { var e="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof global?global:"undefined"!=typeof window?window:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&((e._debugIds|| (e._debugIds={}))[n]="25434138-434f-390b-c85d-edebb4ca77e8")}catch(e){}}(); 2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,418196,e=>{"use strict";try{var t="u">typeof window?window:e.g;t._sentryModuleMetadata=t._sentryModuleMetadata||{},t._sentryModuleMetadata[(new t.Error).stack]=Object.assign({},t._sentryModuleMetadata[(new t.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["getRoundingMethod",0,function(e){return t=>{let n=(e?Math[e]:Math.trunc)(t);return 0===n?0:n}}])},40058,e=>{"use strict";var t=e.i(281092);try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["compareAsc",0,function(e,n){let r=(0,t.toDate)(e)-(0,t.toDate)(n);return r<0?-1:r>0?1:r}])},493801,e=>{"use strict";var t=e.i(677241);try{var n="u">typeof window?window:e.g;n._sentryModuleMetadata=n._sentryModuleMetadata||{},n._sentryModuleMetadata[(new n.Error).stack]=Object.assign({},n._sentryModuleMetadata[(new n.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}var r=e.i(55545),a=e.i(455024),o=e.i(418196),s=e.i(99151),i=e.i(845110),l=e.i(40058),d=e.i(234662);try{var c="u">typeof window?window:e.g;c._sentryModuleMetadata=c._sentryModuleMetadata||{},c._sentryModuleMetadata[(new c.Error).stack]=Object.assign({},c._sentryModuleMetadata[(new c.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}try{var u="u">typeof window?window:e.g;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[(new u.Error).stack]=Object.assign({},u._sentryModuleMetadata[(new u.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["formatDistanceToNowStrict",0,function(e,n){return function(e,t,n){let c,u=(0,a.getDefaultOptions)(),m=n?.locale??u.locale??r.defaultLocale,y=(0,l.compareAsc)(e,t);if(isNaN(y))throw RangeError("Invalid time value");let p=Object.assign({},n,{addSuffix:n?.addSuffix,comparison:y}),[w,f]=(0,i.normalizeDates)(n?.in,...y>0?[t,e]:[e,t]),h=(0,o.getRoundingMethod)(n?.roundingMethod??"round"),g=f.getTime()-w.getTime(),M=g/d.millisecondsInMinute,b=(g-((0,s.getTimezoneOffsetInMilliseconds)(f)-(0,s.getTimezoneOffsetInMilliseconds)(w)))/d.millisecondsInMinute,_=n?.unit;if("second"===(c=_||(M<1?"second":M<60?"minute":M<d.minutesInDay?"hour":b<d.minutesInMonth?"day":b<d.minutesInYear?"month":"year"))){let e=h(g/1e3);return m.formatDistance("xSeconds",e,p)}if("minute"===c){let e=h(M);return m.formatDistance("xMinutes",e,p)}if("hour"===c){let e=h(M/60);return m.formatDistance("xHours",e,p)}if("day"===c){let e=h(b/d.minutesInDay);return m.formatDistance("xDays",e,p)}if("month"===c){let e=h(b/d.minutesInMonth);return 12===e&&"month"!==_?m.formatDistance("xYears",1,p):m.formatDistance("xMonths",e,p)}else{let e=h(b/d.minutesInYear);return m.formatDistance("xYears",e,p)}}(e,(0,t.constructFrom)(e,Date.now()),n)}],493801)},826514,e=>{"use strict";var t=e.i(234662),n=e.i(677241),r=e.i(281092);try{var a="u">typeof window?window:e.g;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[(new a.Error).stack]=Object.assign({},a._sentryModuleMetadata[(new a.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let o=/[T ]/,s=/[Z ]/i,i=/([Z+-].*)$/,l=/^-?(?:(\d{3})|(\d{2})(?:-?(\d{2}))?|W(\d{2})(?:-?(\d{1}))?|)$/,d=/^(\d{2}(?:[.,]\d*)?)(?::?(\d{2}(?:[.,]\d*)?))?(?::?(\d{2}(?:[.,]\d*)?))?$/,c=/^([+-])(\d{2})(?::?(\d{2}))?$/;function u(e){return e?parseInt(e):1}function m(e){return e&&parseFloat(e.replace(",","."))||0}let y=[31,null,31,30,31,30,31,31,30,31,30,31];function p(e){return e%400==0||e%4==0&&e%100!=0}e.s(["parseISO",0,function(e,a){let w,f,h=()=>(0,n.constructFrom)(a?.in,NaN),g=a?.additionalDigits??2,M=function(e){let t,n={},r=e.split(o);if(r.length>2)return n;if(/:/.test(r[0])?t=r[0]:(n.date=r[0],t=r[1],s.test(n.date)&&(n.date=e.split(s)[0],t=e.substr(n.date.length,e.length))),t){let e=i.exec(t);e?(n.time=t.replace(e[1],""),n.timezone=e[1]):n.time=t}return n}(e);if(M.date){let e=function(e,t){let n=RegExp("^(?:(\\d{4}|[+-]\\d{"+(4+t)+"})|(\\d{2}|[+-]\\d{"+(2+t)+"})$)"),r=e.match(n);if(!r)return{year:NaN,restDateString:""};let a=r[1]?parseInt(r[1]):null,o=r[2]?parseInt(r[2]):null;return{year:null===o?a:100*o,restDateString:e.slice((r[1]||r[2]).length)}}(M.date,g);w=function(e,t){var n,r,a,o,s,i,d,c,m,w;if(null===t)return new Date(NaN);let f=e.match(l);if(!f)return new Date(NaN);let h=!!f[4],g=u(f[1]),M=u(f[2])-1,b=u(f[3]),_=u(f[4]),v=u(f[5])-1;if(h){let e,i;return(n=_,r=v,n>=1&&n<=53&&r>=0&&r<=6)?(a=t,o=_,s=v,(e=new Date(0)).setUTCFullYear(a,0,4),i=e.getUTCDay()||7,e.setUTCDate(e.getUTCDate()+((o-1)*7+s+1-i)),e):new Date(NaN)}{let e=new Date(0);return(i=t,d=M,c=b,d>=0&&d<=11&&c>=1&&c<=(y[d]||(p(i)?29:28))&&(m=t,(w=g)>=1&&w<=(p(m)?366:365)))?(e.setUTCFullYear(t,M,Math.max(g,b)),e):new Date(NaN)}}(e.restDateString,e.year)}if(!w||isNaN(+w))return h();let b=+w,_=0;if(M.time&&isNaN(_=function(e){var n,r,a;let o=e.match(d);if(!o)return NaN;let s=m(o[1]),i=m(o[2]),l=m(o[3]);return(n=s,r=i,a=l,24===n?0===r&&0===a:a>=0&&a<60&&r>=0&&r<60&&n>=0&&n<25)?s*t.millisecondsInHour+i*t.millisecondsInMinute+1e3*l:NaN}(M.time)))return h();if(M.timezone){if(isNaN(f=function(e){var n;if("Z"===e)return 0;let r=e.match(c);if(!r)return 0;let a="+"===r[1]?-1:1,o=parseInt(r[2]),s=r[3]&&parseInt(r[3])||0;return(n=s)>=0&&n<=59?a*(o*t.millisecondsInHour+s*t.millisecondsInMinute):NaN}(M.timezone)))return h()}else{let e=new Date(b+_),t=(0,r.toDate)(0,a?.in);return t.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),t.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),t}return(0,r.toDate)(b+_+f,a?.in)}])},3303,(e,t,n)=>{try{var r="u">typeof window?window:e.g;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}t.exports=e.r(479520)},416576,e=>{"use strict";var t=e.i(271645),n=e.i(50091);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["AdTargeting",0,function({targeting:e}){let r=JSON.stringify(e??null);return(0,t.useEffect)(()=>{(0,n.setPageTargeting)(e??null)},[r]),null}])},17901,e=>{"use strict";var t=e.i(843476),n=e.i(271645),r=e.i(50091),a=e.i(975157);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[new o.Error().stack]=Object.assign({},o._sentryModuleMetadata[new o.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["AdUnit",0,function({adUnit:e,className:o,id:s,label:i,sizeMapping:l,sizes:d,targetingArguments:c}){let u=(0,n.useId)(),m=(0,n.useMemo)(()=>s??(0,r.createGptSlotId)(e,u),[e,s,u]),y=(0,n.useMemo)(()=>(0,r.getAdSlotStyle)(d),[d]),p=JSON.stringify(l??null),w=JSON.stringify(d),f=JSON.stringify(c??null);return(0,n.useEffect)(()=>(0,r.defineGptSlot)({adUnit:e,divId:m,sizeMapping:l,sizes:d,targeting:c}),[e,p,w,m,f]),(0,t.jsxs)("div",{className:(0,a.cn)("flex flex-col items-center justify-center leading-0",o),"data-ad-container":!0,children:[i&&(0,t.jsx)("span",{className:"mb-1 text-xs tracking-widest text-neutral-400",children:"Advertisement"}),(0,t.jsx)("div",{id:m,style:y})]})}])},99668,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645),a=e.i(541872);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[new o.Error().stack]=Object.assign({},o._sentryModuleMetadata[new o.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let s="ORZfTZV2",i=`https://cdn.jwplayer.com/v2/sites/0eFYRiei/placements/${s}/embed.js`,l=new Set(["the-cover","big-reads"]),d=new Set(["localhost","127.0.0.1"]);function c(e){return Array.from(document.querySelectorAll('[id^="jwplayer-"], iframe[src*="cdn.jwplayer.com/players/"]')).some(t=>!e.contains(t))||!!document.querySelector('[id^="celtra-"], [class^="celtra-"]')}function u(e){return l.has(e)}e.s(["AdVideoDiscovery",0,function(e){let o,l,m,y,p,w=(0,n.c)(10),{categories:f,postId:h}=e,g=(0,r.useRef)(null),M=(0,r.useRef)(null);w[0]!==f?(o=f.some(u),w[0]=f,w[1]=o):o=w[1];let b=o;w[2]!==f?(l=f.join(","),w[2]=f,w[3]=l):l=w[3];let _=l;
2return(w[4]!==b||w[5]!==_||w[6]!==h?(m=()=>{var e;let t,n,r,o,l=g.current,u=M.current;if(b||!l||!u)return;if(c(l)){l.hidden=!0;return}let m=(t=window.jwDataStore??={},t.custom??={},n=Object.hasOwn(t.custom,s),r=t.custom[s],t.custom[s]={...r,ad_tag:(e="https://pubads.g.doubleclick.net/gampad/ads?iu=/21758830223/nme/preroll-direct&ad_client=connatix&description_url=[DESCRIPTION_URL]&tfcd=0&npa=0&sz=1x1%7C400x300%7C640x480%7C1920x1080&gdfp_req=1&output=vast&env=vp&unviewed_position_start=1&impl=s&plcmt=1&correlator=[CB]&vpmute=[MUTE]",o=encodeURIComponent(`postId=${String(h)}&category=${_}`),e.includes("cust_params=")?e.replace(/cust_params=[^&]*/,`cust_params=${o}`):/[?&]correlator=/.test(e)?e.replace(/([?&])correlator=/,`$1cust_params=${o}&correlator=`):`${e}${e.includes("?")?"&":"?"}cust_params=${o}`)},()=>{let e=window.jwDataStore?.custom;e&&(n?e[s]=r:Reflect.deleteProperty(e,s))}),y=function(){if(!d.has(window.location.hostname))return()=>void 0;let e=XMLHttpRequest.prototype.open,t=new Proxy(e,{apply(e,t,n){let[r,a,...o]=n,s=a;if("string"==typeof a&&a.startsWith("https://cdn.jwplayer.com/v2/playlists/")){let e=new URL(a);e.searchParams.has("page_domain")&&(e.searchParams.set("page_domain","www.nme.com"),s=e.toString())}Reflect.apply(e,t,[r,s,...o])}});return XMLHttpRequest.prototype.open=t,()=>{XMLHttpRequest.prototype.open===t&&(XMLHttpRequest.prototype.open=e)}}(),p=!1,w=!1,f=u.querySelector(`script[src="${i}"]`),v=()=>{u.querySelector(".jwplayer")||(l.hidden=!0),f?.remove(),f=null,m()},x=()=>
2{if(p&&w){if(c(l)){l.hidden=!0,m();return}f||((f=document.createElement("script")).async=!0,f.src=i,f.addEventListener("error",v,{once:!0}),u.prepend(f))}},E=(0,a.onConsentChange)(e=>{let{storageConsent:t}=e;null!==t&&(p=!0,x())}),j=null;return"IntersectionObserver"in window?(j=new IntersectionObserver(e=>{let[t]=e;t.isIntersecting&&(w=!0,j?.disconnect(),x())},{rootMargin:"400px"})).observe(l):(w=!0,x()),()=>{j?.disconnect(),E(),window.jwplacements?.destroy(),f?.removeEventListener("error",v),u.replaceChildren(),m(),y()}},y=[b,_,h],w[4]=b,w[5]=_,w[6]=h,w[7]=m,w[8]=y):(m=w[7],y=w[8]),(0,r.useEffect)(m,y),b)?null:(w[9]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsxs)("div",{ref:g,className:"not-prose border-neutral-border my-6 w-full border-y py-3 md:my-8 md:px-3","data-video-discovery":!0,children:[(0,t.jsx)("div",{className:"mb-3 text-center text-base leading-tight font-bold",children:"WATCH"}),(0,t.jsx)("div",{ref:M,className:"bg-neutral-surface mx-auto aspect-video w-full max-w-150"})]}),w[9]=p):p=w[9],p)}])},197013,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645),a=e.i(618566),o=e.i(541872);try{var s=window;s._sentryModuleMetadata=s._sentryModuleMetadata||{},s._sentryModuleMetadata[new s.Error().stack]=Object.assign({},s._sentryModuleMetadata[new s.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let i="https://static.tblcontent.com/libtrc/bandlab-nme/loader.privacy.js",l={"taboola-below-article":{container:"taboola-below-article",mode:"alternating-thumbnails-a",placement:"below-article",target_type:"mix"},"taboola-mid-article":{container:"taboola-mid-article",mode:"alternating-thumbnails-b-stream",placement:"Mid Article",target_type:"mix"}},d=null,c=null,u=0,m=null,y=null,p=null,w=null;function f(e){return e.isIntersecting}e.s(["TaboolaPlacement",0,function(e){let s,h,g,M,b,_=(0,n.c)(10);_[0]!==e?({container:s,...h}=e,_[0]=e,_[1]=s,_[2]=h):(s=_[1],h=_[2]);let v=(0,r.useRef)(null),x=(0,a.usePathname)();return _[3]!==s||_[4]!==x?(g=()=>{let e=v.current;if(!e)return;let t=new IntersectionObserver(e=>{e.some(f)&&(t.disconnect(),function(e,t){if(!document.getElementById(e))return;d===t&&c||(d=t,c={articleQueued:!1,renderedContainers:new Set},u+=1);let n=c;if(!n.renderedContainers.has(e)){if(window._taboola=window._taboola??[],(m||(m=new Promise((e,t)=>{let n=(r,a,o=!1)=>{let s=document.createElement("script");s.async=!0,s.id=a,s.src=r,s.addEventListener("load",()=>{e(s)},{once:!0}),s.addEventListener("error",()=>{s.remove(),o?n(i,"tb_loader_script_fb"):t(Error(`Failed to load ${r}`))},{once:!0}),document.head.appendChild(s)};(0,o.onConsentChange)(e=>{let t=function({gdprApplies:e,storageConsent:t,tcfResolved:n,tcString:r}){return n?null===e||null===t||e&&null===r?null:t?"standard":"privacy":!0===t?"privacy":null}(e);!t||(y&&(y!==t||p!==e.storageConsent||w!==e.tcString)?window.location.reload():y||(document.getElementById("taboola-mid-article")||document.getElementById("taboola-below-article"))&&(y=t,p=e.storageConsent,w=e.tcString,n("standard"===t?"https://cdn.taboola.com/libtrc/bandlab-nme/loader.js":i,"tb_loader_script","standard"===t)))})}))).catch(()=>{}),!n.articleQueued){let e;u>1&&window._taboola.push({notify:"newPageLoad"}),window._taboola.push({article:"auto",url:(e=document.querySelector('meta[property="og:url"]')?.content,e?.length?e:window.location.pathname)}),n.articleQueued=!0}n.renderedContainers.add(e),window._taboola.push({...l[e]}),window._taboola.push({flush:!0})}}(s,x))},{rootMargin:"1200px 0px"});return t.observe(e),()=>{t.disconnect()}},M=[s,x],_[3]=s,_[4]=x,_[5]=g,_[6]=M):(g=_[5],M=_[6]),(0,r.useEffect)(g,M),_[7]!==s||_[8]!==h?(b=(0,t.jsx)("div",{...h,ref:v,id:s}),_[7]=s,_[8]=h,_[9]=b):b=_[9],b}])},578903,e=>{"use strict";var t=e.i(843476),n=e.i(500932);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["CopyrightYear",0,function(){let e,r=(0,n.c)(1);if(r[0]===Symbol.for("react.memo_cache_sentinel")){let n=new Date().getFullYear();e=(0,t.jsxs)("span",{suppressHydrationWarning:!0,children:["© ",n," "]}),r[0]=e}else e=r[0];return e}])},539516,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[new a.Error().stack]=Object.assign({},a._sentryModuleMetadata[new a.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["MailingListBlock",0,function(){let e,a,o,s,i,l,d=(0,n.c)(10),[c,u]=(0,r.useState)("");d[0]!==c?(e=function(e){e.preventDefault();let t=c.trim();if(!t)return;let n=new URL("https://nme.us3.list-manage.com/subscribe?u=bba8a163bb9011787872f7ea4&id=ead3f697a0");n.searchParams.set("EMAIL",t),n.searchParams.set("MERGE0",t),window.open(n.toString(),"_blank","noopener,noreferrer")},d[0]=c,d[1]=e):e=d[1];let m=e;return d[2]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsx)("h3",{className:"text-xl font-bold md:text-2xl",children:"Join Our Mailing List"}),d[2]=a):a=d[2],d[3]===Symbol.for("react.memo_cache_sentinel")?(o=e=>{u(e.target.value)},d[3]=o):o=d[3],d[4]!==c?(s=(0,t.jsx)("input",{"aria-label":"Email address for the NME newsletter",autoComplete:"email",className:"placeholder-neutral-medium w-full rounded-full border border-white bg-white py-3.5 pr-32 pl-5 text-sm text-black",name:"email",placeholder:"Your email address",required:!0,type:"email",value:c,onChange:o}),d[4]=c,d[5]=s):s=d[5],d[6]===Symbol.for("react.memo_cache_sentinel")?(i=(0,t.jsx)("button",{className:"bg-primary hover:bg-primary-hover absolute top-1/2 right-2 -translate-y-1/2 roun
2ded-full px-5 py-2.5 text-xs font-bold tracking-wider text-white uppercase transition-colors duration-300",type:"submit",children:"Subscribe"}),d[6]=i):i=d[6],d[7]!==m||d[8]!==s?(l=(0,t.jsx)("section",{className:"mt-10 w-full border-y border-white/15 bg-black py-10 text-center text-white md:py-12",children:(0,t.jsxs)("div",{className:"section-container",children:[a,(0,t.jsxs)("form",{className:"relative mx-auto mt-5 max-w-85",onSubmit:m,children:[s,i]})]})}),d[7]=m,d[8]=s,d[9]=l):l=d[9],l}])},995642,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(17901),a=e.i(239940);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[new o.Error().stack]=Object.assign({},o._sentryModuleMetadata[new o.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let s=[[300,250],[320,50],[728,90],[970,90],[970,250]],i=[{viewport:[1018,0],sizes:[[728,90],[970,90],[970,250]]},{viewport:[768,0],sizes:[[320,50],[728,90]]},{viewport:[0,0],sizes:[[300,250]]}];function l(e){let o,l,d=(0,n.c)(3),{slot:c}=e;return d[0]===Symbol.for("react.memo_cache_sentinel")?(o=(0,a.gamAdUnit)("mpu"),d[0]=o):o=d[0],d[1]!==c?(l=(0,t.jsx)("div",{className:"border-neutral-border bg-neutral-surface flex min-h-20 justify-center border-t border-b py-5 lg:min-h-73",children:(0,t.jsx)(r.AdUnit,{adUnit:o,sizeMapping:i,sizes:s,targetingArguments:{slot:c}})}),d[1]=c,d[2]=l):l=d[2],l}var d=e.i(271645),c=e.i(3303),u=e.i(207670);try{var m=window;m._sentryModuleMetadata=m._sentryModuleMetadata||{},m._sentryModuleMetadata[new m.Error().stack]=Object.assign({},m._sentryModuleMetadata[new m.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}function y(e){let r,a,o,s,i,l,m,y,p,w,f,h,g,M,b,_,v,x=(0,n.c)(34);x[0]!==e?({advertising:l,className:r,playerId:o,preload:m,strategy:i,videoId:y,width:p,height:a,...s}=e,x[0]=e,x[1]=r,x[2]=a,x[3]=o,x[4]=s,x[5]=i,x[6]=l,x[7]=m,x[8]=y,x[9]=p):(r=x[1],a=x[2],o=x[3],s=x[4],i=x[5],l=x[6],m=x[7],y=x[8],p=x[9]);
2let E=void 0===l||l,j=void 0===m?"metadata":m,S=(0,d.useRef)(null),k=(0,d.useRef)(null),[T,N]=(0,d.useState)(!1);x[10]!==E||x[11]!==a||x[12]!==j||x[13]!==y||x[14]!==p?(w=()=>{window.jwplayer&&k.current&&!S.current&&(S.current=window.jwplayer(k.current).setup({playlist:`https://cdn.jwplayer.com/v2/media/${y}`,...!E?{advertising:{}}:{},autostart:!0,controls:!1,displaydescription:!1,displaytitle:!1,mute:!0,width:p??"100%",height:a??"100%",stretching:"fill",repeat:!0,preload:j}),S.current.on("ready",()=>{N(!0)}),S.current.play())},x[10]=E,x[11]=a,x[12]=j,x[13]=y,x[14]=p,x[15]=w):w=x[15];let A=w;x[16]!==A?(f=()=>{window.jwplayer&&A()},x[16]=A,x[17]=f):f=x[17];let C=f;x[18]!==C?(h=()=>(C(),()=>{S.current&&(S.current.remove(),S.current=null)}),g=[C],x[18]=C,x[19]=h,x[20]=g):(h=x[19],g=x[20]),(0,d.useEffect)(h,g);let I=`https://cdn.jwplayer.com/libraries/${o}.js`;x[21]!==C||x[22]!==i||x[23]!==I?(M=(0,t.jsx)(c.default,{src:I,strategy:i,onLoad:C}),x[21]=C,x[22]=i,x[23]=I,x[24]=M):M=x[24];let P=T?"visible":"invisible";return x[25]!==r||x[26]!==P?(b=(0,u.clsx)(r,P),x[25]=r,x[26]=P,x[27]=b):b=x[27],x[28]!==s||x[29]!==b?(_=(0,t.jsx)("div",{...s,ref:k,className:b}),x[28]=s,x[29]=b,x[30]=_):_=x[30],x[31]!==_||x[32]!==M?(v=(0,t.jsxs)(t.Fragment,{children:[M,_]}),x[31]=_,x[32]=M,x[33]=v):v=x[33],v}var p=e.i(654498);try{var w=window;w._sentryModuleMetadata=w._sentryModuleMetadata||{},w._sentryModuleMetadata[new w.Error().stack]=Object.assign({},w._sentryModuleMetadata[new w.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["AdBand",0,function(e){let r,a=(0,n.c)(2);return a[0]!==e?(r=(0,t.jsx)(p.AdvertisingSurface,{children:(0,t.jsx)(l,{...e})}),a[0]=e,a[1]=r):r=a[1],r},"AdUnit",0,function(e){let a,o=(0,n.c)(2);return o[0]!==e?(a=(0,t.jsx)(p.AdvertisingSurface,{children:(0,t.jsx)(r.AdUnit,{...e})}),o[0]=e,o[1]=a):a=o[1],a},"JWPlayer",0,function(e){let r,a=(0,n.c)(4),o=(0,p.useAdvertisingPolicy)();return a[0]!==o.article||a[1]!==o.ready||a[2]!==e?(r=o.ready?(0,t.jsx)(y,{...e,advertising:o.article}):null,a[0]=o.article,a[1]=o.ready,a[2]=e,a[3]=r):r=a[3],r}],995642)},650735,e=>{"use strict";var t=e.i(843476),n=e.i(500932);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let a=[{taxonomy:"categories",slugs:["features","feature"],paidForMonths:6}];try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[(new o.Error).stack]=Object.assign({},o._sentryModuleMetadata[(new o.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}var s=e.i(654498),i=e.i(271645),l=e.i(618566);try{var d=window;d._sentryModuleMetadata=d._sentryModuleMetadata||{},d._sentryModuleMetadata[(new d.Error).stack]=Object.assign({},d._sentryModuleMetadata[(new d.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let c={monthly:"US$8.33",annual:"US$99.99"};try{var u=window;u._sentryModuleMetadata=u._sentryModuleMetadata||{},u._sentryModuleMetadata[new u.Error().stack]=Object.assign({},u._sentryModuleMetadata[new u.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}function m(e){let r,a,o,d,u,m,y,p,w,f,h,g,M=(0,n.c)(20),{externalId:b}=e,_=(0,s.useMembership)(),v=(0,l.usePathname)();M[0]===Symbol.for("react.memo_cache_sentinel")?(r=function(e=!0){return{...c,introductory:e,monthly:e?"US$3.33":c.monthly,annual:e?"US$39.99":c.annual}}(),M[0]=r):r=M[0];let x=r;M[1]!==b||M[2]!==_.userId?(a=()=>{_.userId&&(0,s.trackConnected)("Paygate Viewed",{content_id:b})},o=[_.userId,b],M[1]=b,M[2]=_.userId,M[3]=a,M[4]=o):(a=M[3],o=M[4]),(0,i.useEffect)(a,o),M[5]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("p",{className:"m-0 text-xs font-bold tracking-[0.18em] uppercase",children:"NME Account subscription"}),u=(0,t.jsx)("h2",{className:"m-0 text-2xl leading-[1.15] font-bold tracking-tight text-inherit",children:"Unlock the full story."}),M[5]=d,M[6]=u):(d=M[5],u=M[6]),M[7]===Symbol.for("react.memo_cache_sentinel")?(m=x.introductory&&(0,t.jsx)("p",{className:"m-0 mb-2 inline-block bg-black px-3 py-1.5 text-[0.8125rem] font-bold text-white",children:"Early-bird offer"}),M[7]=m):m=M[7],M[8]===Symbol.for("react.memo_cache_sentinel")?(y=(0,t.jsxs)("p",{className:"m-0 text-[clamp(1.125rem,3vw,1.5rem)] leading-normal",children:["Get unlimited access to exclusive content and less ads from"," ",x.introductory&&(0,t.jsx)("del",{className:"mr-2 text-[#666]",children:c.monthly}),(0,t.jsxs)("strong",{children:[x.monthly,"/month"]}),", cancel anytime."]}),M[8]=y):y=M[8],M[9]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsxs)("div",{className:"w-full bg-[rgb(228_228_228/32%)] px-6 py-4 max-[480px]:p-4",children:[m,y,(0,t.jsxs)("p",{className:"m-0 mt-2 text-[0.8125rem] leading-normal text-[#555]",children:[x.annual," billed"," ",x.introductory?`for the first year, then ${c.annual}/year. New subscribers only.`:"annually."]})]}),M[9]=p):p=M[9];let E=`${_.accountUrl}/subscribe?currency=usd&interval=year&source=nme`;M[10]!==b?(w=()=>{(0,s.trackConnected)("Paygate Subscribe Clicked",{content_id:b})},M[10]=b,M[11]=w):w=M[11],M[12]!==w||M[13]!==E?(f=(0,t.jsx)("a",{className:"inline-flex min-h-14 items-center justify-center bg-[#e60417] px-8 py-3 text-base leading-tight font-bold text-white no-underline transition-colors hover:bg-[#c40314] focus-visible:outline-[3px] focus-visible:outline-offset-4 focus-visible:outline-[#151515] max-[480px]:w-full",href:E,onClick:w,children:"Subscribe now"}),M[12]=w,M[13]=E,M[14]=f):f=M[14];let j=`/login?redirect_uri=${encodeURIComponent(v)}`;return M[15]!==j?(h=(0,t.jsxs)("p",{className:"m-0 text-base",children:["Already a subscriber?"," ",(0,t.jsx)("a",{className:"font-bold text-inherit underline",href:j,children:"Sign in"}
2)," ","to your NME Account."]}),M[15]=j,M[16]=h):h=M[16],M[17]!==f||M[18]!==h?(g=(0,t.jsxs)("section",{className:"not-prose relative isolate mx-auto my-8 flex flex-col items-center gap-6 border-b border-[#ddd] bg-white p-8 text-center text-[#151515] before:pointer-events-none before:absolute before:bottom-full before:left-0 before:-z-10 before:h-16 before:w-full before:bg-linear-to-b before:from-transparent before:to-white max-[480px]:px-4 max-[480px]:py-6","aria-label":"Subscribe to continue reading",children:[d,u,p,f,h]}),M[17]=f,M[18]=h,M[19]=g):g=M[19],g}try{var y=window;y._sentryModuleMetadata=y._sentryModuleMetadata||{},y._sentryModuleMetadata[new y.Error().stack]=Object.assign({},y._sentryModuleMetadata[new y.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["MemberGate",0,function(e){let r,o,i=(0,n.c)(5),{article:l,preview:d,children:c}=e,{ready:u,flags:y,entitlements:p}=(0,s.useMembership)();return void 0!==d&&u&&y.rollout&&y.paygate&&!p.premium&&null!==function(e,t,n=Date.now()){if(/^\/the-cover(?:\/|$)/.test(e.uri)||!e.publishedAt)return null;let r=Date.parse(/(?:Z|[+-]\d{2}:?\d{2})$/.test(e.publishedAt)?e.publishedAt:`${e.publishedAt}Z`);if(!Number.isFinite(r)||r>n)return null;let a=0;for(let n of t)Number.isInteger(n.paidForMonths)&&!(n.paidForMonths<=0)&&n.slugs.some(t=>e.taxonomies[n.taxonomy]?.includes(t))&&(a=Math.max(a,function(e,t){let n=new Date(e),r=n.getUTCDate();n.setUTCDate(1),n.setUTCMonth(n.getUTCMonth()+t);let a=new Date(Date.UTC(n.getUTCFullYear(),n.getUTCMonth()+1,0)).getUTCDate();return n.setUTCDate(Math.min(r,a)),n.getTime()}(r,n.paidForMonths)));return a>n?{opensAt:a}:null}(l,a)?(i[0]!==l.externalId?(r=(0,t.jsx)(m,{externalId:l.externalId}),i[0]=l.externalId,i[1]=r):r=i[1],i[2]!==d||i[3]!==r?(o=(0,t.jsxs)(t.Fragment,{children:[d,r]}),i[2]=d,i[3]=r,i[4]=o):o=i[4],o):c}],650735)},48793,e=>{"use strict";var t=e.i(500932),n=e.i(271645);try{var r=window;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[new r.Error().stack]=Object.assign({},r._sentryModuleMetadata[new r.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let a="2.3.7",o={datetime_format:"human",locale:"en_GB",interval:"120",new_post_msg:"There is %s update.",new_posts_msg:"There are %s updates.",now_more_posts:"That's it."};function s(){document.querySelectorAll("time.elb-js-update-time").forEach(e=>{let t=e.getAttribute("datetime");if(!t)return;let n=new Date(`${t}Z`);if(Number.isNaN(n.getTime()))return;let r=Date.now()-n.getTime(),a=Math.floor(r/6e4),o=Math.floor(r/36e5),s=Math.floor(r/864e5);e.textContent=s>7?n.toLocaleDateString("en-GB",{year:"numeric",month:"long",day:"numeric"}):s>0?`${String(s)} day${s>1?"s":""} ago`:o>0?`${String(o)} hour${o>1?"s":""} ago`:a>0?`${String(a)} minute${a>1?"s":""} ago`:"Just now"})}function i(e){document.getElementById("elb-js")?.remove();let t=document.createElement("script");t.id="elb-js",t.async=!0,t.src=`${e}/wp-content/plugins/easy-liveblogs/assets/js/easy-liveblogs.js?ver=${a}`,document.head.appendChild(t)}function l(){let e="https://www.nme.com";if(window.elb=o,!document.getElementById("elb-theme-light-css")){let t=document.createElement("link");t.id="elb-theme-light-css",t.rel="stylesheet",t.href=`${e}/wp-content/plugins/easy-liveblogs/assets/css/themes/light.css?ver=${a}`,document.head.appendChild(t)}if(window.jQuery)return void i(e);let t=document.getElementById("elb-jquery-js");if(t)return void t.addEventListener("load",()=>{i(e)});let n=document.createElement("script");n.id="elb-jquery-js",n.src=`${e}/wp-includes/js/jquery/jquery.min.js`,n.addEventListener("load",()=>{i(e)}),document.head.appendChild(n)}function d(){let e=null;document.querySelector("#elb-liveblog")?l():(e=new MutationObserver(()=>{document.querySelector("#elb-liveblog")&&(e?.disconnect(),e=null,l())})).observe(document.body,{childList:!0,subtree:!0});let t=[1e3,1e4].map(u),n=window.setInterval(s,6e4);return()=>{e?.disconnect(),t.forEach(c),window.clearInterval(n)}}function c(e){window.clearTimeout(e)}function u(e){return window.setTimeout(s,e)}e.s(["LiveblogRuntime",0,function(){let e,r=(0,t.c)(1);return r[0]===Symbol.for("react.memo_cache_sentinel")?(e=[],r[0]=e):e=r[0],(0,n.useEffect)(d,e),null}])},760394,667725,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645),a=e.i(401851),o=e.i(493801),s=e.i(826514);try{var i=window;i._sentryModuleMetadata=i._sentryModuleMetadata||{},i._sentryModuleMetadata[(new i.Error).stack]=Object.assign({},i._sentryModuleMetadata[(new i.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let l=new Intl.DateTimeFormat("en-GB",{day:"numeric",month:"long",timeZone:"Europe/London",year:"numeric"});function d(e){if(!e)return null;let t=/Z|[+-]\d{2}:?\d{2}$/.test(e)?e:`${e}Z`,n=(0,s.parseISO)(t);return Number.isNaN(n.getTime())?null:n}function c(e){let t=d(e);if(!t)return null;let n=l.formatToParts(t),r=Number(n.find(({type:e})=>"day"===e)?.value),a=n.find(({type:e})=>"month"===e)?.value,o=n.find(({type:e})=>"year"===e)?.value;return r&&a&&o?`${String(r)}${function(e){if(e%100>=11&&e%100<=13)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}}(r)} ${a} ${o}`:null}function u(e){let t=d(e);if(!t)return null;let n=Date.now()-t.getTime();return n<0||n>6048e5?(0,a.format)(t,"do MMMM yyyy"):(0,o.formatDistanceToNowStrict)(t,{addSuffix:!0})}e.s(["formatCardDate",0,u,"formatPostDate",0,c],667725);try{var m=window;m._sentryModuleMetadata=m._sentryModuleMetadata||{},m._sentryModuleMetadata[new m.Error().stack]=Object.assign({},m._sentryModuleMetadata[new m.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let y=e=>{let t=window.requestAnimationFrame(e);return()=>{window.cancelAnimationFrame(t)}},p=()=>!0,w=()=>!1;e.s(["RelativeTime",0,function(e){let a,o,s=(0,n.c)(6),{dateGmt:i}=e,l=(0,r.useSyncExternalStore)(y,p,w);s[0]!==i||s[1]!==l?(a=l?u(i):c(i),s[0]=i,s[1]=l,s[2]=a):a=s[2];let d=a;if(!d)return null;let m=i??void 0;return s[3]!==d||s[4]!==m?(o=(0,t.jsx)("time",{dateTime:m,children:d}),s[3]=d,s[4]=m,s[5]=o):o=s[5],o}],760394)},794424,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645);try{var a=window;a._sentryModuleMetadata=a._sentryModuleMetadata||{},a._sentryModuleMetadata[new a.Error().stack]=Object.assign({},a._sentryModuleMetadata[new a.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}let o=new Map;function s({id:e,reload:t=!1,src:n}){t&&(document.getElementById(e)?.remove(),o.delete(e));let r=document.getElementById(e);if(r?.dataset.loaded==="true")return Promise.resolve(r);let a=o.get(e);if(a)return a;let i=r??document.createElement("script");i.id=e,i.async=!0,i.src=n;let l=new Promise((t,r)=>{i.addEventListener("load",()=>{i.dataset.loaded="true",t(i)},{once:!0}),i.addEventListener("error",()=>{o.delete(e),r(Error(`Failed to load ${n}`))},{once:!0})});return o.set(e,l),r||document.head.appendChild(i),l}let i=[{load:function(){let e=window,t=()=>e.FB?.XFBML?.parse?.();if(!document.getElementById("fb-root")){let e=document.createElement("div");e.id="fb-root",document.body.prepend(e)}e.FB?.XFBML?.parse?t():(e.fbAsyncInit=()=>{e.FB?.init?.({version:"v23.0",xfbml:!0}),t()},s({id:"facebook-jssdk",src:"https://connect.facebook.net/en_US/sdk.js"}).then(t,()=>void 0))},selector:".fb-post, .fb-video, .fb-page, .fb-comment-embed"},{load:function(){let e=window,t=()=>e.instgrm?.Embeds?.process?.();e.instgrm?.Embeds?.process?t():s({id:"instagram-embed-js",src:"https://www.instagram.com/embed.js"}).then(t,()=>void 0)},selector:"blockquote.instagram-media, [data-instgrm-permalink]"},{load:function(){s({id:"tiktok-embed-js",reload:!0,src:"https://www.tiktok.com/embed.js"}).catch(()=>void 0)},selector:".tiktok-embed"},{load:function(){let e=window,t=()=>e.twttr?.widgets?.load?.();e.twttr?.widgets?.load?t():s({id:"twitter-widgets-js",src:"https://platform.twitter.com/widgets.js"}).then(t,()=>void 0)},selector:".twitter-tweet"},{load:function(){s({id:"reddit-widgets-js",reload:!0,src:"https://embed.reddit.com/widgets.js"}).catch(()=>void 0)},selector:".reddit-embed-bq"}];e.s(["SocialEmbedSection",0,function(e){let a,o,s,l,d,c=(0,n.c)(8);c[0]!==e?({children:a,...o}=e,c[0]=e,c[1]=a,c[2]=o):(a=c[1],o=c[2]);let u=(0,r.useRef)(null);return c[3]===Symbol.for("react.memo_cache_sentinel")?(s=()=>{let e=u.current;if(e){let t,n,r,a,o,s,l;return t=new Map,n=i.map(({selector:e})=>e).join(","),r=null,a=()=>
2{i.forEach(({load:n,selector:r})=>{let a=Array.from(e.querySelectorAll(r));if(!a.length)return;let o=a.map(e=>e.getAttribute("cite")??e.getAttribute("data-href")??e.getAttribute("data-video-id")??e.getAttribute("data-instgrm-permalink")??e.outerHTML.slice(0,500)).join("|");t.get(r)!==o&&(t.set(r,o),window.setTimeout(n,0))})},o=e=>e instanceof Element&&(e.matches(n)||!!e.querySelector(n)),s=[0,250,1e3].map(e=>window.setTimeout(a,e)),(l=new MutationObserver(e=>{e.some(e=>Array.from(e.addedNodes).some(o))&&(r&&window.clearTimeout(r),r=window.setTimeout(a,50))})).observe(e,{childList:!0,subtree:!0}),()=>{s.forEach(e=>{window.clearTimeout(e)}),r&&window.clearTimeout(r),l.disconnect()}}},l=[],c[3]=s,c[4]=l):(s=c[3],l=c[4]),(0,r.useEffect)(s,l),c[5]!==a||c[6]!==o?(d=(0,t.jsx)("section",{...o,ref:u,children:a}),c[5]=a,c[6]=o,c[7]=d):d=c[7],d}])},905928,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645),a=e.i(975157);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[new o.Error().stack]=Object.assign({},o._sentryModuleMetadata[new o.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["StickyVideo",0,function(e){let o,s,i,l,d=(0,n.c)(9),{embedUrl:c,title:u}=e,m=(0,r.useRef)(null),[y,p]=(0,r.useState)(!1);d[0]===Symbol.for("react.memo_cache_sentinel")?(o=()=>{let e=m.current;if(!e)return;let t=new IntersectionObserver(e=>{let[t]=e;p(!t.isIntersecting)},{rootMargin:"-96px 0px 0px 0px"});return t.observe(e),()=>{t.disconnect()}},s=[],d[0]=o,d[1]=s):(o=d[0],s=d[1]),(0,r.useEffect)(o,s);let w=y&&"fixed right-4 bottom-4 z-50 w-[min(28rem,calc(100vw-2rem))] max-w-[calc(100vw-2rem)] shadow-2xl sm:right-6 sm:bottom-6";d[2]!==w?(i=(0,a.cn)("block aspect-video w-full bg-[#222] transition-[box-shadow,transform] duration-200",w),d[2]=w,d[3]=i):i=d[3];let f=y?"floating":"inline";return d[4]!==c||d[5]!==i||d[6]!==f||d[7]!==u?(l=(0,t.jsx)("div",{className:"relative aspect-video w-full",ref:m,children:(0,t.jsx)("iframe",{allow:"autoplay; fullscreen; encrypted-media",allowFullScreen:!0,className:i,"data-sticky-video":f,src:c,title:u})}),d[4]=c,d[5]=i,d[6]=f,d[7]=u,d[8]=l):l=d[8],l}])},980012,e=>{"use strict";var t=e.i(271645),n=e.i(843476);try{var r="u">typeof window?window:e.g;r._sentryModuleMetadata=r._sentryModuleMetadata||{},r._sentryModuleMetadata[(new r.Error).stack]=Object.assign({},r._sentryModuleMetadata[(new r.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}var a=e=>!e.firstChild||e.firstChild.offsetParent===e,o=null;"u">typeof CSS&&CSS.supports&&(CSS.supports("position","sticky")?o="sticky":CSS.supports("position","-webkit-sticky")&&(o="-webkit-sticky"));var s=!1;try{let e=Object.defineProperty({},"passive",{get(){s={passive:!0}}}),t=()=>{};window.addEventListener("testPassive",t,e),window.removeEventListener("testPassive",t,e)}catch(e){}var i=e=>{let{el:t,onChange:n,unsubs:r,measure:a}=e;if(t===window){let e=()=>({top:0,left:0,height:window.innerHeight,width:window.innerWidth}),t=a(e()),o=()=>{Object.assign(t,a(e())),n()};return window.addEventListener("resize",o,s),r.push(()=>window.removeEventListener("resize",o)),t}{let e=a(t.getBoundingClientRect()),o=new ResizeObserver(()=>{Object.assign(e,a(t.getBoundingClientRect())),n()});return o.observe(t),r.push(()=>o.disconnect()),e}};try{var l=window;l._sentryModuleMetadata=l._sentryModuleMetadata||{},l._sentryModuleMetadata[(new l.Error).stack]=Object.assign({},l._sentryModuleMetadata[(new l.Error).stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s([],243214),e.i(243214),e.s(["StickyBox",0,e=>{let{offsetTop:r,offsetBottom:l,bottom:d,children:c,className:u,style:m}=e,y=(({offsetTop:e=0,offsetBottom:n=0,bottom:r=!1}={})=>{let[l,d]=(0,t.useState)(null);return(0,t.useEffect)(()=>{if(!l||!o)return;let t=[];return((e,t,n)=>{let r,{bottom:l,offsetBottom:d,offsetTop:c}=n,u=(e=>{let t=e;for(;t=t.parentElement;){let e=getComputedStyle(t,null).getPropertyValue("overflow-y");if(t===document.body)break;if("auto"===e||"scroll"===e||"overlay"===e)return t}return window})(e),m=!1,y=()=>{m||requestAnimationFrame(()=>{let t=f();if(t!==E)j(t);else if(1!==t||l){if(2===t){let{height:t,offsetTop:n}=g,{height:r,naturalTop:a}=_,{height:o}=v,s=Math.max(0,n+p+t-(a+o+d));if(l){let t=Math.max(0,r-o-s);e.style.bottom=`${t}px`}else e.style.top=`${s}px`}}else{let{height:t}=g,{height:n}=v;e.style.top=`${t-n-d}px`}m=!1}),m=!0},p=u===window?window.scrollY:u.scrollTop,w=e=>{let{offsetTop:t,height:n}=g,{naturalTop:r}=_,{height:a}=v;return e+t+n>=r+a+x+d},f=()=>{let{height:e}=g,{height:t}=v;return t+c+d<=e?3:w(p)?1:2},h=u!==window&&a(u),g=i({el:u,onChange:y,unsubs:t,measure:({height:e,top:t})=>({height:e,offsetTop:h?t:0})}),M=(e=>{let t=e.parentElement;for(;t&&"contents"===getComputedStyle(t,null).getPropertyValue("display");)t=t.parentElement;return t||window})(e),b=M===window?{top:0,bottom:0}:{top:parseInt((r=getComputedStyle(M,null)).getPropertyValue("padding-top"),10),bottom:parseInt(r.getPropertyValue("padding-bottom"),10)},_=i({el:M,onChange:y,unsubs:t,measure:({height:e})=>({height:e-b.top-b.bottom,naturalTop:M===window?0:((e,t)=>{let n=e,r=0;a(t)||(r+=e.offsetTop-t.offsetTop,t=e.offsetParent,r+=-e.offsetTop);do r+=n.offsetTop,n=n.offsetParent;while(n&&n!==t)return r}
2)(M,u)+b.top+g.offsetTop})}),v=i({el:e,onChange:y,unsubs:t,measure:({height:e})=>({height:e})}),x=0,E=f(),j=t=>{let n=E;if(E=t,2===n&&(x=-1),3===t){e.style.position=o,l?e.style.bottom=`${d}px`:e.style.top=`${c}px`;return}let{height:r,offsetTop:a}=g,{height:s,naturalTop:i}=_,{height:u}=v;if(2===t)if(e.style.position="relative",x=0===n?Math.max(0,a+p-i+c):Math.max(0,a+p+r-(i+u+d)),l){let t=Math.max(0,s-u-x);e.style.bottom=`${t}px`}else e.style.top=`${x}px`;else e.style.position=o,1===t?l?e.style.bottom=`${d}px`:e.style.top=`${r-u-d}px`:l?e.style.bottom=`${r-u-d}px`:e.style.top=`${c}px`};j(E);let S=e=>{if(e===p)return;let t=e-p;if(p=e,3===E)return;let{offsetTop:n,height:r}=g,{naturalTop:a,height:o}=_,{height:s}=v;if(t>0)if(0===E){if(e+n+c>a){let t=Math.max(0,n+p-a+c);e+n+r<=a+s+t+d?j(2):j(1)}}else 2===E&&w(e)&&j(1);else if(1===E){if(n+e+r<a+o+d){let t=Math.max(0,n+p+r-(a+s+d));n+e+c>=a+t?j(2):j(0)}}else 2===E&&n+e+c<a+x&&j(0)},k=u===window?()=>S(window.scrollY):()=>S(u.scrollTop);u.addEventListener("scroll",k,s),u.addEventListener("mousewheel",k,s),t.push(()=>u.removeEventListener("scroll",k),()=>u.removeEventListener("mousewheel",k))})(l,t,{offsetBottom:n,offsetTop:e,bottom:r}),()=>{t.forEach(e=>e())}},[l,n,e,r]),d})({offsetTop:r,offsetBottom:l,bottom:d});return(0,n.jsx)("div",{className:u,style:m,ref:y,children:c})}],980012)},880814,e=>{"use strict";var t=e.i(843476),n=e.i(500932),r=e.i(271645),a=e.i(618566);try{var o=window;o._sentryModuleMetadata=o._sentryModuleMetadata||{},o._sentryModuleMetadata[new o.Error().stack]=Object.assign({},o._sentryModuleMetadata[new o.Error().stack],{"_sentryBundlerPluginAppKey:nme-next":!0})}catch(e){}e.s(["WpNavTheme",0,function(e){let o,s,i,l=(0,n.c)(6),{theme:d,injectInitialScript:c}=e,u=void 0!==c&&c,m=(0,r.useRef)(!1);return l[0]!==u||l[1]!==d?(o=()=>!u||m.current?null:(m.current=!0,(0,t.jsx)("script",{dangerouslySetInnerHTML:{__html:`document.documentElement.dataset.navTheme=${JSON.stringify(d)}`}})),l[0]=u,l[1]=d,l[2]=o):o=l[2],(0,a.useServerInsertedHTML)(o),l[3]!==d?(s=()=>{document.documentElement.dataset.navTheme=d},i=[d],l[3]=d,l[4]=s,l[5]=i):(s=l[4],i=l[5]),(0,r.useLayoutEffect)(s,i),null}])}]); 3 4//# debugId=25434138-434f-390b-c85d-edebb4ca77e8
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.