PageSourceSearch

https://www.batterypower.com/_next/static/chunks/2nwx7soogpmrk.js

js batterypower.com collected 2026-10-01 11:39:45 UTC 80,887 bytes, 9 lines download raw bytes

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]="a75afb56-695a-1069-6e79-c3e61663f257")}catch(e){}}();
2(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,862226,e=>{"use strict";var t=e.i(396902),r=e.i(623690),i=e.i(736636),n=e.i(593296),a=e.i(678460);e.s(["useQuickPostReplyProps",0,function(){let{contentStore:e,repliesStore:o}=(0,n.useStore)(),{cycloneConfig:{serverURL:s}}=(0,t.useConfigContext)(),{viewer:l}=(0,r.useCyclone)();return{onReply:e=>{o.insert(e,{justPostedByViewer:!0})},onEdit:e=>{o.insert(e)},onClickLoadMoreReplies:e=>{let t=o.websocketReplyFeeds.get(e);t&&o.insertWebsocketReplies(t)},onToggleCollapsed:e=>{o.togglePost(e)},onDelete:({id:e,deletedAt:t})=>{o.delete({id:e,deletedAt:t})},onReport:e=>{o.insert(e)},onReject:e=>{o.insert(e)},onToggleRec:(0,a.useCoalescedCallback)(async t=>{l?.token&&"isRecced"in t!=!1&&(t.isRecced?await (0,i.unrecContent)(t,s,l.token,e,{optimisticResponse:!0}):await (0,i.recContent)(t,s,l.token,e,{optimisticResponse:!0}))},[e,s,l?.token])}}])},463871,(e,t,r)=>{t.exports=e.r(275887)(e.r(971640),"Set")},424886,(e,t,r)=>{t.exports=function(e,t,r){for(var i=-1,n=null==e?0:e.length;++i<n;)if(r(t,e[i]))return!0;return!1}},920958,(e,t,r)=>{t.exports=function(e,t,r,i){for(var n=e.length,a=r+(i?1:-1);i?a--:++a<n;)if(t(e[a],a,e))return a;return -1}},209092,(e,t,r)=>{var i=e.r(314433),n=e.r(277993);t.exports=function(e,t){t=i(t,e);for(var r=0,a=t.length;null!=e&&r<a;)e=e[n(t[r++])];return r&&r==a?e:void 0}},166971,(e,t,r)=>{t.exports=function(e){return e!=e}},132083,(e,t,r)=>{t.exports=function(e,t,r){for(var i=r-1,n=e.length;++i<n;)if(e[i]===t)return i;return -1}},491761,(e,t,r)=>{var i=e.r(920958),n=e.r(166971),a=e.r(132083);t.exports=function(e,t,r){return t==t?a(e,t,r):i(e,n,r)}},319368,(e,t,r)=>{var i=e.r(491761);t.exports=function(e,t){return!!(null==e?0:e.length)&&i(e,t,0)>-1}},291996,(e,t,r)=>{t.exports=function(e,t,r){var i=-1,n=e.length;t<0&&(t=-t>n?0:n+t),(r=r>n?n:r)<0&&(r+=n),n=t>r?0:r-t>>>0,t>>>=0;for(var a=Array(n);++i<n;)a[i]=e[i+t];return a}},454345,(e,t,r)=>{t.exports=function(e,t){return e.has(t)}},314433,(e,t,r)=>{var i=e.r(145948),n=e.r(795386),a=e.r(733740),o=e.r(213296);t.exports=function(e,t){return i(e)?e:n(e,t)?[e]:a(o(e))}},176336,(e,t,r)=>{var i=e.r(463871),n=e.r(802715),a=e.r(212943);t.exports=i&&1/a(new i([,-0]))[1]==1/0?function(e){return new i(e)}:n},781125,(e,t,r)=>{var i=e.r(417772),n=e.r(319368),a=e.r(424886),o=e.r(454345),s=e.r(176336),l=e.r(212943);t.exports=function(e,t,r){var c=-1,u=n,d=e.length,p=!0,m=[],f=m;if(r)p=!1,u=a;else if(d>=200){var h=t?null:s(e);if(h)return l(h);p=!1,u=o,f=new i}else f=t?[]:m;e:for(;++c<d;){var y=e[c],g=t?t(y):y;if(y=r||0!==y?y:0,p&&g==g){for(var v=f.length;v--;)if(f[v]===g)continue e;t&&f.push(g),m.push(y)}else u(f,g,r)||(f!==m&&f.push(g),m.push(y))}return m}},986261,(e,t,r)=>{var i=e.r(781125);t.exports=function(e){return e&&e.length?i(e):[]}},795386,(e,t,r)=>{var i=e.r(145948),n=e.r(983631),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;t.exports=function(e,t){if(i(e))return!1;var r=typeof e;return!!("number"==r||"symbol"==r||"boolean"==r||null==e||n(e))||o.test(e)||!a.test(e)||null!=t&&e in Object(t)}},618862,(e,t,r)=>{var i=e.r(323338);t.exports=function(e){var t=i(e,function(e){return 500===r.size&&r.clear(),e}),r=t.cache;return t}},733740,(e,t,r)=>{var i=e.r(618862),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,a=/\\(\\)?/g;t.exports=i(function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(n,function(e,r,i,n){t.push(i?n.replace(a,"$1"):r||e)}),t})},752064,(e,t,r)=>{t.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},256962,(e,t,r)=>{t.exports=function(e){return this.__data__.has(e)}},417772,(e,t,r)=>{var i=e.r(622632),n=e.r(752064),a=e.r(256962);function o(e){var t=-1,r=null==e?0:e.length;for(this.__data__=new i;++t<r;)this.add(e[t])}o.prototype.add=o.prototype.push=n,o.prototype.has=a,t.exports=o},212943,(e,t,r)=>{t.exports=function(e){var t=-1,r=Array(e.size);return e.forEach(function(e){r[++t]=e}),r}},277993,(e,t,r)=>{var i=e.r(983631),n=1/0;t.exports=function(e){if("string"==typeof e||i(e))return e;var t=e+"";return"0"==t&&1/e==-n?"-0":t}},691152,(e,t,r)=>{var i=e.r(209092);t.exports=function(e,t,r){var n=null==e?void 0:i(e,t);return void 0===n?r:n}},323338,(e,t,r)=>{var i=e.r(622632);function n(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw TypeError("Expected a function");var r=function(){var i=arguments,n=t?t.apply(this,i):i[0],a=r.cache;if(a.has(n))return a.get(n);var o=e.apply(this,i);return r.cache=a.set(n,o)||a,o};return r.cache=new(n.Cache||i),r}
2n.Cache=i,t.exports=n},802715,(e,t,r)=>{t.exports=function(){}},70266,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return l}});let i=e.r(2879),n=e.r(478902),a=i._(e.r(389959)),o=e.r(505987);async function s({Component:e,ctx:t}){return{pageProps:await (0,o.loadGetInitialProps)(e,t)}}class l extends a.default.Component{static{this.origGetInitialProps=s}static{this.getInitialProps=s}render(){let{Component:e,pageProps:t}=this.props;return(0,n.jsx)(e,{...t})}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},775665,e=>{"use strict";var t=e.i(351981);e.s(["Transition",()=>t.default])},909426,780070,928361,255592,495528,131454,305241,991560,599854,792738,48739,e=>{"use strict";let t,r,i,n,a;var o,s,l=e.i(389959);let c=(0,l.createContext)(null);e.s(["default",0,c,"useLoopNavComponentContext",0,e=>{let t=(0,l.useContext)(c);if(!t)return e;let r=t.component;return r||e},"useLoopNavContext",0,()=>{let e=(0,l.useContext)(c);if(!e)throw Error("Missing Loop Nav Context");return e}],909426);var u=e.i(478902);function d(){let e=[],t={addEventListener:(e,r,i,n)=>(e.addEventListener(r,i,n),t.add(()=>e.removeEventListener(r,i,n))),requestAnimationFrame(...e){let r=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(r))},nextFrame:(...e)=>t.requestAnimationFrame(()=>t.requestAnimationFrame(...e)),setTimeout(...e){let r=setTimeout(...e);return t.add(()=>clearTimeout(r))},microTask(...e){var r;let i={current:!0};return r=()=>{i.current&&e[0]()},"function"==typeof queueMicrotask?queueMicrotask(r):Promise.resolve().then(r).catch(e=>setTimeout(()=>{throw e})),t.add(()=>{i.current=!1})},style(e,t,r){let i=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:r}),this.add(()=>{Object.assign(e.style,{[t]:i})})},group(e){let t=d();return e(t),this.add(()=>t.dispose())},add:t=>(e.includes(t)||e.push(t),()=>{let r=e.indexOf(t);if(r>=0)for(let t of e.splice(r,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}function p(){let[e]=(0,l.useState)(d);return(0,l.useEffect)(()=>()=>e.dispose(),[e]),e}e.s(["default",0,({className:e="",fill:t="currentColor",width:r=25,height:i=25,id:n,title:a="Notifications"})=>(0,u.jsxs)("svg",{className:e,width:r,height:i,viewBox:"0 0 25 25",fill:"none",xmlns:"http://www.w3.org/2000/svg",id:n,children:[(0,u.jsx)("title",{children:a}),(0,u.jsx)("path",{d:"M12.5 1.59375C13.4362 1.59389 14.3319 2.08811 14.7725 2.91309C17.3943 3.87547 19.3438 6.33443 19.3438 9.375C19.3438 11.7269 19.9919 14.0106 21.2256 15.9854L21.4795 16.376L21.4893 16.3896L22.3486 17.7178L22.3545 17.7275C22.6894 18.2635 22.7045 18.9021 22.4287 19.417C22.1487 19.9395 21.5979 20.2811 20.9375 20.2812H16.3008C15.9494 22.0578 14.3764 23.4062 12.5 23.4062C10.6235 23.4062 9.05064 22.0578 8.69922 20.2812H4.0625C3.40199 20.2812 2.85141 19.9395 2.57129 19.417C2.29544 18.9021 2.31047 18.2636 2.64551 17.7275L2.65137 17.7178L3.51074 16.3896L3.51953 16.376C4.91815 14.3148 5.65625 11.8835 5.65625 9.375C5.65625 6.3346 7.60499 3.87558 10.2266 2.91309C10.6671 2.08787 11.5636 1.59375 12.5 1.59375ZM10.25 20.2812C10.5666 21.2217 11.4574 21.9062 12.5 21.9062C13.5425 21.9062 14.4334 21.2217 14.75 20.2812H10.25ZM12.5 3.09375C12.005 3.09375 11.6144 3.38947 11.4932 3.75293C11.417 3.98151 11.2348 4.15948 11.0049 4.23145C8.79186 4.92302 7.15625 6.91712 7.15625 9.375C7.15625 12.1732 6.33333 14.8924 4.76953 17.2031L4.77051 17.2041L3.91699 18.5225C3.86156 18.6112 3.87649 18.676 3.89355 18.708C3.90318 18.7259 3.91722 18.7419 3.9375 18.7539C3.95671 18.7652 3.99506 18.7812 4.0625 18.7812H20.9375C21.005 18.7812 21.0434 18.7652 21.0625 18.7539C21.0826 18.7419 21.0969 18.7259 21.1064 18.708C21.1235 18.6759 21.1382 18.6109 21.083 18.5225H21.082L20.2383 17.2178C18.6684 14.9041 17.8438 12.1788 17.8438 9.375C17.8438 6.91728 16.2079 4.92314 13.9951 4.23145C13.7651 4.15956 13.5831 3.98155 13.5068 3.75293C13.3857 3.38951 12.9948 3.09391 12.5 3.09375Z",fill:t})]})],780070),e.s(["useDisposables",0,p],928361);var m=Object.defineProperty,f=(e,t,r)=>{let i;return(i="symbol"!=typeof t?t+"":t)in e?m(e,i,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[i]=r,r};let h=new class{constructor(){f(this,"current",this.detect()),f(this,"handoffState","pending"),f(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}
2detect(){return"u"<typeof window||"u"<typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}};e.s(["env",0,h],255592);let y=(e,t)=>{h.isServer?(0,l.useEffect)(e,t):(0,l.useLayoutEffect)(e,t)};function g(e){let t=(0,l.useRef)(e);return y(()=>{t.current=e},[e]),t}let v=function(e){let t=g(e);return l.default.useCallback((...e)=>t.current(...e),[t])};function C(){let e,t=(e="u"<typeof document,"useSyncExternalStore"in l&&(0,l.useSyncExternalStore)(()=>()=>{},()=>!1,()=>!e)),[r,i]=l.useState(h.isHandoffComplete);return r&&!1===h.isHandoffComplete&&i(!1),l.useEffect(()=>{!0!==r&&i(!0)},[r]),l.useEffect(()=>h.handoff(),[]),!t&&r}e.s(["useEvent",0,v],495528);let x=Symbol();function w(...e){let t=(0,l.useRef)(e);(0,l.useEffect)(()=>{t.current=e},[e]);let r=v(e=>{for(let r of t.current)null!=r&&("function"==typeof r?r(e):r.current=e)});return e.every(e=>null==e||(null==e?void 0:e[x]))?void 0:r}e.s(["optionalRef",0,function(e,t=!0){return Object.assign(e,{[x]:t})},"useSyncRefs",0,w],131454);var b=e.i(7021);void 0!==b.default&&"u">typeof globalThis&&"u">typeof Element&&(null==(o=null==b.default?void 0:b.default.env)?void 0:o.NODE_ENV)==="test"&&void 0===(null==(s=null==Element?void 0:Element.prototype)?void 0:s.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join(`
3`)),[]});var N=((t=N||{})[t.None=0]="None",t[t.Closed=1]="Closed",t[t.Enter=2]="Enter",t[t.Leave=4]="Leave",t);function j(e){let t={};for(let r in e)!0===e[r]&&(t[`data-${r}`]="");return t}function k(e,t,r,i){let[n,a]=(0,l.useState)(r),{hasFlag:o,addFlag:s,removeFlag:c}=function(e=0){let[t,r]=(0,l.useState)(e),i=(0,l.useCallback)(e=>r(e),[]),n=(0,l.useCallback)(e=>r(t=>t|e),[]),a=(0,l.useCallback)(e=>(t&e)===e,[t]);return{flags:t,setFlag:i,addFlag:n,hasFlag:a,removeFlag:(0,l.useCallback)(e=>r(t=>t&~e),[]),toggleFlag:(0,l.useCallback)(e=>r(t=>t^e),[])}}(e&&n?3:0),u=(0,l.useRef)(!1),m=(0,l.useRef)(!1);return y(()=>{var n;if(e){if(r&&a(!0),!t){r&&s(3);return}return null==(n=null==i?void 0:i.start)||n.call(i,r),function(e,{prepare:t,run:r,done:i,inFlight:n}){let a=d();return function(e,{inFlight:t,prepare:r}){if(null!=t&&t.current)return r();let i=e.style.transition;e.style.transition="none",r(),e.offsetHeight,e.style.transition=i}(e,{prepare:t,inFlight:n}),a.nextFrame(()=>{r(),a.requestAnimationFrame(()=>{a.add(function(e,t){var r,i;let n=d();if(!e)return n.dispose;let a=!1;n.add(()=>{a=!0});let o=null!=(i=null==(r=e.getAnimations)?void 0:r.call(e).filter(e=>e instanceof CSSTransition))?i:[];return 0===o.length?t():Promise.allSettled(o.map(e=>e.finished)).then(()=>{a||t()}),n.dispose}(e,i))})}),a.dispose}(t,{inFlight:u,prepare(){m.current?m.current=!1:m.current=u.current,u.current=!0,m.current||(r?(s(3),c(4)):(s(4),c(2)))},run(){m.current?r?(c(3),s(4)):(c(4),s(3)):r?c(1):s(1)},done(){var e,n,o,s;m.current&&(null!=(s=null==(o=(n=t).getAnimations)?void 0:o.call(n))?s:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)||(u.current=!1,c(7),r||a(!1),null==(e=null==i?void 0:i.end)||e.call(i,r))}})}},[e,r,t,p()]),e?[n,{closed:o(1),enter:o(2),leave:o(4),transition:o(2)||o(4)}]:[r,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}e.s(["transitionDataAttributes",0,j,"useTransition",0,k],305241);let R=(0,l.createContext)(null);R.displayName="OpenClosedContext";var _=((r=_||{})[r.Open=1]="Open",r[r.Closed=2]="Closed",r[r.Closing=4]="Closing",r[r.Opening=8]="Opening",r);function S(){return(0,l.useContext)(R)}function T({value:e,children:t}){return l.default.createElement(R.Provider,{value:e},t)}function L(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}function P(e,t,...r){if(e in t){let i=t[e];return"function"==typeof i?i(...r):i}let i=Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(i,P),i}e.s(["OpenClosedProvider",0,T,"ResetOpenClosedProvider",0,function({children:e}){return l.default.createElement(R.Provider,{value:null},e)},"State",0,_,"useOpenClosed",0,S],991560),e.s(["match",0,P],599854);var E=((i=E||{})[i.None=0]="None",i[i.RenderStrategy=1]="RenderStrategy",i[i.Static=2]="Static",i),A=((n=A||{})[n.Unmount=0]="Unmount",n[n.Hidden=1]="Hidden",n);function F(){let e,t,r=(e=(0,l.useRef)([]),t=(0,l.useCallback)(t=>{for(let r of e.current)null!=r&&("function"==typeof r?r(t):r.current=t)},[]),(...r)=>{if(!r.every(e=>null==e))return e.current=r,t});return(0,l.useCallback)(e=>(function({ourProps:e,theirProps:t,slot:r,defaultTag:i,features:n,visible:a=!0,name:o,mergeRefs:s}){s=null!=s?s:M;let l=H(t,e);if(a)return O(l,r,i,o,s);let c=null!=n?n:0;if(2&c){let{static:e=!1,...t}=l;if(e)return O(t,r,i,o,s)}if(1&c){let{unmount:e=!0,...t}=l;return P(+!e,{0:()=>null,1:()=>O({...t,hidden:!0,style:{display:"none"}},r,i,o,s)})}return O(l,r,i,o,s)})({mergeRefs:r,...e}),[r])}function O(e,t={},r,i,n){let{as:a=r,children:o,refName:s="ref",...c}=I(e,["unmount","static"]),u=void 0!==e.ref?{[s]:e.ref}:{},d="function"==typeof o?o(t):o;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let p={};if(t){let e=!1,r=[];for(let[i,n]of Object.entries(t))"boolean"==typeof n&&(e=!0),!0===n&&r.push(i.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e)for(let e of(p["data-headlessui-state"]=r.join(" "),r))p[`data-${e}`]=""}if(B(a)&&(Object.keys($(c)).length>0||Object.keys($(p)).length>0))if(!(0,l.isValidElement)(d)||Array.isArray(d)&&d.length>1||B(d.type)){if(Object.keys($(c)).length>0)throw Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys($(c)).concat(Object.keys($(p))).map(e=>`  - ${e}`).join(`
4`),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>`  - ${e}`).join(`
5`)].join(`
6`))}else{var m;let e=d.props,t=null==e?void 0:e.className,r="function"==typeof t?(...e)=>L(t(...e),c.className):L(t,c.className),i=H(d.props,$(I(c,["ref"])));for(let e in p)e in i&&delete p[e];return(0,l.cloneElement)(d,Object.assign({},i,p,u,{ref:n((m=d,l.default.version.split(".")[0]>="19"?m.props.ref:m.ref),u.ref)},r?{className:r}:{}))}return(0,l.createElement)(a,Object.assign({},I(c,["ref"]),!B(a)&&u,!B(a)&&p),d)}function M(...e){return e.every(e=>null==e)?void 0:t=>{for(let r of e)null!=r&&("function"==typeof r?r(t):r.current=t)}}function H(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let i of e)for(let e in i)e.startsWith("on")&&"function"==typeof i[e]?(null!=r[e]||(r[e]=[]),r[e].push(i[e])):t[e]=i[e];if(t.disabled||t["aria-disabled"])for(let e in r)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(r[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in r)Object.assign(t,{[e](t,...i){for(let n of r[e]){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;n(t,...i)}}});return t}function D(e){var t;return Object.assign((0,l.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function $(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function I(e,t=[]){let r=Object.assign({},e);for(let e of t)e in r&&delete r[e];return r}function B(e){return e===l.Fragment||e===Symbol.for("react.fragment")}function q(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!B(null!=(t=e.as)?t:W)||1===l.default.Children.count(e.children)}e.s(["RenderFeatures",0,E,"RenderStrategy",0,A,"compact",0,$,"forwardRefWithAs",0,D,"isFragment",0,B,"mergeProps",0,function(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},r={};for(let i of e)for(let e in i)e.startsWith("on")&&"function"==typeof i[e]?(null!=r[e]||(r[e]=[]),r[e].push(i[e])):t[e]=i[e];for(let e in r)Object.assign(t,{[e](...t){for(let i of r[e])null==i||i(...t)}});return t},"useRender",0,F],792738);let U=(0,l.createContext)(null);U.displayName="TransitionContext";var V=((a=V||{}).Visible="visible",a.Hidden="hidden",a);let G=(0,l.createContext)(null);function z(e){return"children"in e?z(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function Z(e,t){let r,i=g(e),n=(0,l.useRef)([]),a=(r=(0,l.useRef)(!1),y(()=>(r.current=!0,()=>{r.current=!1}),[]),r),o=p(),s=v((e,t=A.Hidden)=>{let r=n.current.findIndex(({el:t})=>t===e);-1!==r&&(P(t,{[A.Unmount](){n.current.splice(r,1)},[A.Hidden](){n.current[r].state="hidden"}}),o.microTask(()=>{var e;!z(n)&&a.current&&(null==(e=i.current)||e.call(i))}))}),c=v(e=>{let t=n.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):n.current.push({el:e,state:"visible"}),()=>s(e,A.Unmount)}),u=(0,l.useRef)([]),d=(0,l.useRef)(Promise.resolve()),m=(0,l.useRef)({enter:[],leave:[]}
6),f=v((e,r,i)=>{u.current.splice(0),t&&(t.chains.current[r]=t.chains.current[r].filter(([t])=>t!==e)),null==t||t.chains.current[r].push([e,new Promise(e=>{u.current.push(e)})]),null==t||t.chains.current[r].push([e,new Promise(e=>{Promise.all(m.current[r].map(([e,t])=>t)).then(()=>e())})]),"enter"===r?d.current=d.current.then(()=>null==t?void 0:t.wait.current).then(()=>i(r)):i(r)}),h=v((e,t,r)=>{Promise.all(m.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=u.current.shift())||e()}).then(()=>r(t))});return(0,l.useMemo)(()=>({children:n,register:c,unregister:s,onStart:f,onStop:h,wait:d,chains:m}),[c,s,n,f,h,m,d])}G.displayName="NestingContext";let W=l.Fragment,K=E.RenderStrategy,Y=D(function(e,t){let{show:r,appear:i=!1,unmount:n=!0,...a}=e,o=(0,l.useRef)(null),s=w(...q(e)?[o,t]:null===t?[]:[t]);C();let c=S();if(void 0===r&&null!==c&&(r=(c&_.Open)===_.Open),void 0===r)throw Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[u,d]=(0,l.useState)(r?"visible":"hidden"),p=Z(()=>{r||d("hidden")}),[m,f]=(0,l.useState)(!0),h=(0,l.useRef)([r]);y(()=>{!1!==m&&h.current[h.current.length-1]!==r&&(h.current.push(r),f(!1))},[h,r]);let g=(0,l.useMemo)(()=>({show:r,appear:i,initial:m}),[r,i,m]);y(()=>{r?d("visible"):z(p)||null===o.current||d("hidden")},[r,p]);let x={unmount:n},b=v(()=>{var t;m&&f(!1),null==(t=e.beforeEnter)||t.call(e)}),N=v(()=>{var t;m&&f(!1),null==(t=e.beforeLeave)||t.call(e)}),j=F();return l.default.createElement(G.Provider,{value:p},l.default.createElement(U.Provider,{value:g},j({ourProps:{...x,as:l.Fragment,children:l.default.createElement(J,{ref:s,...x,...a,beforeEnter:b,beforeLeave:N})},theirProps:{},defaultTag:l.Fragment,features:K,visible:"visible"===u,name:"Transition"})))}),J=D(function(e,t){var r,i;let{transition:n=!0,beforeEnter:a,afterEnter:o,beforeLeave:s,afterLeave:c,enter:u,enterFrom:d,enterTo:p,entered:m,leave:f,leaveFrom:h,leaveTo:g,...x}=e,[b,N]=(0,l.useState)(null),R=(0,l.useRef)(null),S=q(e),E=w(...S?[R,t,N]:null===t?[]:[t]),O=null==(r=x.unmount)||r?A.Unmount:A.Hidden,{show:M,appear:H,initial:D}=function(){let e=(0,l.useContext)(U);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[I,B]=(0,l.useState)(M?"visible":"hidden"),V=function(){let e=(0,l.useContext)(G);if(null===e)throw Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:Y,unregister:J}=V;y(()=>Y(R),[Y,R]),y(()=>{if(O===A.Hidden&&R.current)return M&&"visible"!==I?void B("visible"):P(I,{hidden:()=>J(R),visible:()=>Y(R)})},[I,R,Y,J,M,O]);let Q=C();y(()=>{if(S&&Q&&"visible"===I&&null===R.current)throw Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[R,I,Q,S]);let X=D&&!H,ee=H&&M&&D,et=(0,l.useRef)(!1),er=Z(()=>{et.current||(B("hidden"),J(R))},V),ei=v(e=>{et.current=!0,er.onStart(R,e?"enter":"leave",e=>{"enter"===e?null==a||a():"leave"===e&&(null==s||s())})}),en=v(e=>{let t=e?"enter":"leave";et.current=!1,er.onStop(R,t,e=>{"enter"===e?null==o||o():"leave"===e&&(null==c||c())}),"leave"!==t||z(er)||(B("hidden"),J(R))});(0,l.useEffect)(()=>{S&&n||(ei(M),en(M))},[M,S,n]);let[,ea]=k(!(!n||!S||!Q||X),b,M,{start:ei,end:en}),eo=$({ref:E,className:(null==(i=L(x.className,ee&&u,ee&&d,ea.enter&&u,ea.enter&&ea.closed&&d,ea.enter&&!ea.closed&&p,ea.leave&&f,ea.leave&&!ea.closed&&h,ea.leave&&ea.closed&&g,!ea.transition&&M&&m))?void 0:i.trim())||void 0,...j(ea)}),es=0;"visible"===I&&(es|=_.Open),"hidden"===I&&(es|=_.Closed),M&&"hidden"===I&&(es|=_.Opening),M||"visible"!==I||(es|=_.Closing);let el=F();return l.default.createElement(G.Provider,{value:er},l.default.createElement(T,{value:es},el({ourProps:eo,theirProps:x,defaultTag:W,features:K,visible:"visible"===I,name:"Transition.Child"})))}),Q=D(function(e,t){let r=null!==(0,l.useContext)(U),i=null!==S();return l.default.createElement(l.default.Fragment,null,!r&&i?l.default.createElement(Y,{ref:t,...e}):l.default.createElement(J,{ref:t,...e}))}),X=Object.assign(Y,{Child:Q,Root:Y});var ee=e.i(197649),et=e.i(298660),er=e.i(970060),ei="_76bxpg2";e.s(["default",0,({children:e,drawerId:t,drawerClassName:r,onClose:i,open:n,storybookStatic:a,initialFocusElement:o,"aria-label":s,scrollToTop:c=!0,disableTransition:d})=>{let p=(0,l.useRef)(o);p.current=o;let[m,f]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{n&&c&&document.getElementById(`${t}-scroll`)?.scrollTo({top:0})},[t,n,c]),(0,u.jsx)(X,{show:n,as:l.Fragment,unmount:!1,children:(0,u.jsx)("div",{className:(0,ee.default)("_76bxpg0",a&&ei),id:t,onClick:e=>{e.currentTarget===e.target&&i()},onKeyUp:e=>{"Escape"===e.key&&i()},role:"dialog","aria-modal":"true","aria-labelledby":`${t}-title`,children:(0,u.jsx)(Q,{as:l.Fragment,className:d?"_76bxpg3":void 0,...{enter:"_76bxpg4",enterFrom:"_76bxpg5",enterTo:"_76bxpg6",leave:"_76bxpg7",leaveFrom:"_76bxpg8",leaveTo:"_76bxpg9"}
6,unmount:!1,afterEnter:()=>f(!0),afterLeave:()=>f(!1),children:(0,u.jsxs)("section",{className:(0,ee.default)("_76bxpg1",r,a&&ei),id:`${t}-scroll`,children:[(0,u.jsx)("div",{className:er.sharedStyles.accessibility.srOnly,children:(0,u.jsx)("div",{id:`${t}-title`,children:s})}),(0,u.jsx)(et.default,{active:m,focusTrapOptions:{escapeDeactivates:!1,clickOutsideDeactivates:!1,allowOutsideClick:!0,preventScroll:!0,initialFocus:()=>p.current?p.current:void 0},children:(0,u.jsx)("div",{children:e})})]})})})})}],48739)},433770,e=>{"use strict";var t,r,i,n,a,o,s,l,c,u,d,p,m=e.i(389959);(t=s||(s={})).Coral="Coral",t.Cyclone="Cyclone",t.Firebase="Firebase",(r=l||(l={})).Coral="Coral",r.Cyclone="Cyclone",(i=c||(c={})).CoralRec="CoralRec",i.CoralReply="CoralReply",i.CoralCommentApproved="CoralCommentApproved",i.CycloneReplyRec="CycloneReplyRec",i.CycloneReply="CycloneReply",i.CycloneFanPostRec="CycloneFanPostRec",i.CycloneFanPostReply="CycloneFanPostReply",i.CoralRecSummary="CoralRecSummary",i.CycloneFPRecSummary="CycloneFPRecSummary",i.CycloneReplyRecSummary="CycloneReplyRecSummary",i.CycloneFanPostApproved="CycloneFanPostApproved",i.CycloneReplyApproved="CycloneReplyApproved",(n=u||(u={})).All="All",n.Unread="Unread",n.Unseen="Unseen",(a=d||(d={})).NewestFirst="NewestFirst",a.OldestFirst="OldestFirst",(o=p||(p={})).CycloneFanPost="CycloneFanPost",o.CycloneExternalRoot="CycloneExternalRoot";let f={unseen:0,unread:0,lastViewed:new Date(0)},h=(0,m.createContext)({RootStore:null}),y=(0,m.createContext)(null);e.s(["DEFAULT_NOTIFICATIONS_STATUS",0,f,"NotificationSource",0,l,"NotificationType",0,c,"NotificationsFilter",0,u,"default",0,h,"useNotificationsStore",0,function(){return(0,m.useContext)(h)},"useOptionalNotificationsDrawerContext",0,function(){return(0,m.useContext)(y)}])},710395,e=>{"use strict";var t=e.i(389959);let r=(0,t.createContext)(null);e.s(["default",0,r,"usePaywall",0,()=>{let e=(0,t.useContext)(r);if(!e)throw Error("Missing Paywall Context");return e}])},916639,e=>{"use strict";var t,r;let i=((t={}).acfDisabled="acfDisabled",t.archived="archived",t.autoDraft="autoDraft",t.dpRewriteRepublish="dpRewriteRepublish",t.draft="draft",t.future="future",t.inherit="inherit",t.pending="pending",t.private="private",t.publish="publish",t.requestCompleted="requestCompleted",t.requestConfirmed="requestConfirmed",t.requestFailed="requestFailed",t.requestPending="requestPending",t.trash="trash",t),n=((r={}).authorProfile="authorProfile",r.campaign="campaign",r.category="category",r.clientError="clientError",r.customStory="customStory",r.diningReport="diningReport",r.embedStory="embedStory",r.homepage="homepage",r.image="image",r.internalCategory="internalCategory",r.internalSuperCat="internalSuperCat",r.linkPost="linkPost",r.loopNav="loopNav",r.map="map",r.mmaEvent="mmaEvent",r.mmaFight="mmaFight",r.mmaFighter="mmaFighter",r.mmaPromotion="mmaPromotion",r.mmaWeightClass="mmaWeightClass",r.neighborhood="neighborhood",r.package="package",r.page="page",r.post="post",r.product="product",r.productBrand="productBrand",r.quickPost="quickPost",r.redirect="redirect",r.series="series",r.startHere="startHere",r.stream="stream",r.superCat="superCat",r.tag="tag",r.vault="vault",r.venue="venue",r.videoGame="videoGame",r.videoGamePlatform="videoGamePlatform",r.videoPost="videoPost",r.volumeVideo="volumeVideo",r);e.s(["GQLEnumPostStatusEnum",0,i,"GQLEnumResourceTypeEnum",0,n])},23765,e=>{"use strict";let t=new Map;t.set("sbnation.com","af45136e-0aa2-4340-8ea6-e1f0416340f5"),t.set("theverge.com","107892e5-bd39-4cf4-8acd-ff9dad7aa878"),t.set("eater.com","4fbf330f-aaee-427f-9959-c10d08a6ed2c"),e.s(["getTenantIdFromNetwork",0,e=>t.get(e)??null])},736636,e=>{"use strict";var t=e.i(591370),r=e.i(509727),i=e.i(645904);let n=async(e,n,a,o,s={})=>{let l;if(a&&e.community&&"isRecced"in e&&!e.isRecced){s.optimisticResponse&&o?.insert({...e,isRecced:!0,recs:(e.recs||0)+1});try{let t=new URL("/api",n);l=await (0,i.makeRequest)(t.toString(),r.recContentMutation,{communityID:e.community.id,objectID:e.id},a)}catch(r){(0,t.captureException)(r,{extra:{message:"Error making recContent request"}}),s.optimisticResponse&&o?.insert({...e,isRecced:!1,recs:e.recs-1});return}if(l.errors||!l.data){s.optimisticResponse&&o?.insert({...e,isRecced:!1,recs:e.recs-1});return}o?.insert(l.data.recContent)}},a=async(e,n,a,o,s={})=>{let l;
6if(a&&e.community&&"isRecced"in e&&e.isRecced&&void 0!==e.recs){s.optimisticResponse&&o?.insert({...e,isRecced:!1,recs:Math.max(0,e.recs-1)});try{let t=new URL("/api",n);l=await (0,i.makeRequest)(t.toString(),r.unrecContentMutation,{communityID:e.community.id,objectID:e.id},a)}catch(r){(0,t.captureException)(r,{extra:{message:"Error making unrecContent request"}}),s.optimisticResponse&&o?.insert({...e,isRecced:!0,recs:e.recs+1});return}if(l.errors||!l.data){s.optimisticResponse&&o?.insert({...e,isRecced:!0,recs:e.recs+1});return}o?.insert(l.data.unrecContent)}};e.s(["recContent",0,n,"unrecContent",0,a])},499618,e=>{"use strict";async function t(e,r,i=null){let n={"Content-Type":"application/json"};i&&(n.Authorization=`Bearer ${i}`);let a={...r,headers:{...n,...r?.headers}};return await fetch(e,a)}async function r(e,n,a={},o=null){let s=await t(e,{cache:"reload",method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({query:n,variables:a})},o),l=await s.json();if(!s.ok){let e="Unknown error from Notifications Service";throw l.errors&&(e=l.errors.map(e=>e.message).filter(Boolean).join("; ")),new i(e)}return{data:l.data}}class i extends Error{constructor(e){super(e),this.name="NotificationsGraphQLRequestError"}}e.s(["makeRequest",0,r])},500613,718514,996688,e=>{"use strict";e.s(["DuetError",0,class e extends Error{constructor(t,r={}){super(t),Error.captureStackTrace&&Error.captureStackTrace(this,e),this.name="DuetError",this.cause=r.cause,this.extra=r.extra,this.extraStringified=JSON.stringify(this.extra,null,2)}}],500613),e.i(591370);var t=e.i(754734);let r="no-cache, no-store, must-revalidate",i="private, no-store",n=({keys:e,vmPrefix:t,duetPrefix:r=!1})=>e.map(e=>`${r?"d:":""}${t||""}${e}`);e.s(["CACHE_CONTROL_NO_CACHE",0,r,"SURROGATE_NO_STORE",0,i,"bypassWpCacheEnabled",0,e=>{if("headers"in e){let t;if("function"==typeof e.headers.get&&(t=e.headers.get("vm-cache-bypass-wp")),"vm-cache-bypass-wp"in e.headers&&(t=e.headers["vm-cache-bypass-wp"]),t)return!0}let t="headers"in e&&"host"in e.headers?`http://${e.headers.host}`:e.url;return!!(e.url&&new URL(e.url,t).searchParams.get("bypassWpCache"))},"getQueryResponseSurrogateKeys",0,(e,t="gql",{duetPrefix:r=!0}={})=>{let i=e?.["gql"===t?"x-graphql-keys":"surrogate-key"];return"string"!=typeof i?[]:n({keys:i.split(" ").filter(e=>"gql"===t?!(e.includes(":graphql:")||"wp"===e||e.includes(":wp")):!("wp"===e||"rest"===e||e.endsWith(":wp")||e.endsWith(":rest"))),duetPrefix:r})},"setCacheHeaders",0,({res:e,vmPrefix:t,cacheControl:a,maxAge:o,stale:s,preview:l,pageKeys:c=[],apiHandlerKeys:u=[],apiPrefix:d,queryResponseKeys:p=[],addVmPrefixToQueryResponseKeys:m=!0,exactKeys:f=[],secondsToNextSponsorshipTransition:h})=>{var y,g;let v,C,x,w,b,N,j,k,R,_,S,T,L,P;if(l){e.setHeader("cache-control",r),e.setHeader("surrogate-control",i);return}(v=u.length>0?(({vmPrefix:e,apiHandlerKeys:t=[],queryResponseKeys:r=[],apiPrefix:i,addVmPrefixToQueryResponseKeys:a=!0})=>{let o=["all","api",...i?[i]:[]],s=n({keys:o,vmPrefix:e,duetPrefix:!1}),l=[...o,...s,...a?n({keys:r,vmPrefix:e,duetPrefix:!1}):r];if(t.length)if(i){let r=t.map(e=>`${i}:${e}`),n=t.map(t=>`${e}${i}:${t}`);l.push(...r,...n)}else l.push(...t),l.push(...n({keys:t,vmPrefix:e,duetPrefix:!1}));return l})({vmPrefix:t,apiHandlerKeys:u,queryResponseKeys:p,apiPrefix:d,addVmPrefixToQueryResponseKeys:m}):(({vmPrefix:e,pageKeys:t=[],queryResponseKeys:r=[]})=>{let i=["all","duet"],a=n({keys:i,vmPrefix:e,duetPrefix:!1}),o=[...i,...a,...r];return t.length&&(o.push(...t),o.push(...n({keys:t,vmPrefix:e,duetPrefix:!1}))),o})({vmPrefix:t,pageKeys:c,queryResponseKeys:p})).push(...f);let E=e.getHeader("surrogate-key");E&&"string"==typeof E&&v.push(...E.split(" "));let A=(y=[...new Set(v)],g=t,C=`d:${g}`,x={priority:100,priorityGroup:"default",sortLexicographically:!0},w={priority:1,priorityGroup:"noPrefix",sortLexicographically:!0},b={priority:2,priorityGroup:"vmPrefix",sortLexicographically:!0},N={priority:3,priorityGroup:"duetPageKey",sortLexicographically:!0},j={priority:4,priorityGroup:"queryId",sortLexicographically:!1},k={priority:5,priorityGroup:"operation",sortLexicographically:!1},R={priority:6,priorityGroup:"operationLayout",sortLexicographically:!1},_={priority:7,priorityGroup:"customKey",sortLexicographically:!0},S={priority:8,priorityGroup:"resource",sortLexicographically:!0},T={priority:9,priorityGroup:"mediaResource",sortLexicographically:!0},L={priority:10,priorityGroup:"list",sortLexicographically:!0},P=e=>{if(e.startsWith(g))return b;if(e.startsWith(C)){let t=e.replace(C,"");if(/^[0-9a-fA-F]+$/.test(t))return j;if(!t.includes(":"))return N;if(t.startsWith("operation:"))return t.includes("LayoutQuery")?R:k;if(t.startsWith("ck:"))return _;let[r,i]=t.split(":");return r&&i&&!isNaN(Number(i))?"image"===r||"volumeVideo"===r?T:S:t.startsWith("list:")?L:x}return w},y.sort((e,t)=>
6{let r=P(e),i=P(t);return r.priority===i.priority&&r.sortLexicographically?e.localeCompare(t):r.priority-i.priority})).join(" "),F=Number((o||"max-age=3600").replace("max-age=","")),O=`max-age=${Math.min(F,h||1/0)}`;e.setHeader("cache-control",a||"no-store"),e.setHeader("surrogate-control",`${O}, ${s||"stale-while-revalidate=86400, stale-if-error=604800"}`),e.setHeader("surrogate-key",A)},"setNoCacheHeaders",0,e=>{e.setHeader("cache-control",r),e.setHeader("surrogate-control",i),e.removeHeader("Surrogate-Key")}],718514);let a=(e,t,r=!1)=>{let i=e[t];if(void 0===i)if(!r)return null;else throw Error(`Header '${t}' is not defined.`);if("string"!=typeof i)throw Error(`Header '${t}' is not a string.`);return i},o=e=>"true"===a(e,"vm-resource-is-paywall-eligible");e.s(["getDurationHeaderKeyForOperation",0,e=>{let t=e;if(e.includes("Layout"))return"vm-duration-layout-query";e.includes("ProviderContainerQuery")&&(t=e.replace("ProviderContainer","")),e.includes("ContainerQuery")&&(t=e.replace("Container","")),e.includes("ArticleRecirc")&&(t=e.replace("Article",""));let r=t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();return`vm-duration-${r}`},"parseContentResourceHeaders",0,(e,t)=>{let r=Number(a(e,"vm-community-id",!0)),i=a(e,"vm-resource-primary-category",!0),n=a(e,"vm-resource-primary-super-cat"),s=a(e,"vm-resource-package"),l=a(e,"vm-resource-stream"),c="true"===a(e,"vm-resource-has-campaign"),u=o(e);if(t){for(let r in e)if(r.startsWith("vm-resource")){let i=a(e,r);i&&t.setHeader(r,i)}}return{communityId:r,primaryPackageNodeId:s,primaryStreamNodeId:l,primaryCategoryNodeId:i,primarySuperCatNodeId:n,hasCampaign:c,isPaywallEligible:u}},"parseHeaderValue",0,a,"parseIsPaywallEligibleHeader",0,o,"parseResourceTypeHeader",0,e=>a(e,"vm-resource-type")||void 0,"safeParseCycloneCommunityIdHeader",0,(e,r)=>{let i=a(e,"vm-cyclone-community-id",!1);return i||(t.log.warn(`Using fallback cyclone community ID (${r}) - likely due to middleware being skipped (e.g., crawlers hitting non-existent assets)`),r)}],996688)},894534,e=>{"use strict";var t=e.i(564915),r=e.i(478902);e.s(["default",0,({schema:e})=>(0,r.jsx)(t.default,{children:(0,r.jsx)("script",{type:"application/ld+json",dangerouslySetInnerHTML:{__html:JSON.stringify(e)}})})])},77605,e=>{"use strict";e.i(55336);var t=e.i(14401);let r="https://platform.sbnation.com/wp-content/uploads/sites/2/team-logos",i={"sbnation(product)":"sbnation",nfl:"sbnation",nba:"sbnation",marchmadness:"sbnation",mlb:"sbnation",nhl:"sbnation",collegefootball:"sbnation",collegebasketball:"sbnation",f1:"sbnation",soccer:"sbnation",sabrescommunity:"nhl",redwingscommunity:"nhl",floridapantherscommunity:"nhl",canadienscommunity:"nhl",senatorscommunity:"nhl",lightningcommunity:"nhl",mapleleafscommunity:"nhl",bluejacketscommunity:"nhl",nyrangerscommunity:"nhl",flyerscommunity:"nhl",capitalscommunity:"nhl",blackhawkscommunity:"nhl",starscommunity:"nhl",wildcommunity:"nhl",predatorscommunity:"nhl",bluescommunity:"nhl",mammothcommunity:"nhl",winnipegjetscommunity:"nhl",anaheimduckscommunity:"nhl",flamescommunity:"nhl",lakingscommunity:"nhl",sharkscommunity:"nhl",krakencommunity:"nhl",canuckscommunity:"nhl",goldenknightscommunity:"nhl",hornetscommunity:"nba",bullscommunity:"nba",nuggetscommunity:"nba",pacerscommunity:"nba",grizzliescommunity:"nba",heatcommunity:"nba",pelicanscommunity:"nba",thundercommunity:"nba",sacramentokingscommunity:"nba",psgcommunity:"soccer",vivathematadors:"nfl",ourdailybears:"nfl",smucommunity:"nfl",seattlenbaexpansioncommunity:"nba",lvnbaexpansioncommunity:"nba"},n=e=>{let t=e.replace(/['&]/g,"");return t.replace(/(logo-)([^/]*)/g,(e,t,r)=>t+r.replace(/-/g,""))};e.s(["MEDIA_BASE_URL",0,r,"cleanCommunityLogo",0,n,"getTeamLogoUrl",0,function({communityCanonicalDomain:e,width:n}){let a="www"===e.split(".")[0]?e.split(".")[1]:e.split(".")[0];return a&&a in i&&(a=i[a]),(0,t.defaultLoader)({src:`${r}/logo-${a}.png`,width:n})},"getTeamLogoUrlByCommunityName",0,function({communityName:e,width:a}){let o=e.replace(/\s+/g,"").toLowerCase();return o in i&&(o=i[o]),n((0,t.defaultLoader)({src:`${r}/logo-${o}.png`,width:a}))},"hasTeamLogoOverride",0,function(e){let t=i[e.replace(/\s+/g,"").toLowerCase()];return"string"==typeof t&&"sbnation"!==t}])},838557,861314,e=>{"use strict";var t=e.i(478902),r=e.i(197649),i=e.i(389959);e.i(423961);var n=e.i(872674),a=e.i(712944);let o=(0,i.forwardRef)(({iconClassName:e,inputClassName:i,inputContainerClassName:o,defaultValue:s,searchIconContainer:l,placeholder:c="Search"},u)=>(0,t.jsx)(n.default,{name:"query",type:"text",label:"Search",spell
6Check:"false",maxLength:255,autoComplete:"off",placeholder:c,className:(0,r.default)(o,"_1e6798p1"),inputClassName:(0,r.default)(i,"_1e6798p2"),ref:u,defaultValue:s,actionButtonContainerClassName:l,actionButton:(0,t.jsx)("button",{type:"submit","aria-label":"Submit Search",children:(0,t.jsx)(a.default,{className:(0,r.default)(e,"_1e6798p3"),stroke:"none",strokeWidth:.5})}),hideLabel:!0,required:!0}));e.s(["default",0,o],861314),e.s([],838557)},847374,e=>{"use strict";var t=e.i(478902);e.s(["default",0,({className:e,fill:r="currentColor",width:i=12,height:n=12})=>(0,t.jsx)("svg",{className:e&&e,width:i,height:n,viewBox:"0 0 12 12",fill:r,xmlns:"http://www.w3.org/2000/svg",tabIndex:-1,"aria-hidden":"true",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.85017 5.58349L5.68241 2.38336L6.25987 1.79999L10.5 6.05807L6.39998 10.2L5.82251 9.61662L8.99818 6.40849L1.5 6.40849V5.58349L8.85017 5.58349Z"})})])},910459,e=>{"use strict";var t=e.i(478902);e.s(["default",0,({className:e="",width:r=20,height:i=20,viewBox:n="0 0 20 20"})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",className:e,width:r,height:i,viewBox:n,fill:"none",children:[(0,t.jsx)("title",{children:"Location"}),(0,t.jsx)("path",{fill:"inherit",fillRule:"evenodd",d:"M9.147 2.071c-2.526.445-4.383 2.97-4.123 5.607.205 2.075 1.774 5.166 4.344 8.555.32.422.604.767.632.767.061 0 1.052-1.295 1.626-2.126 1.997-2.89 3.175-5.42 3.35-7.196.197-1.993-.843-4.033-2.57-5.041-.942-.55-2.155-.76-3.26-.566Zm1.516 2.87c1.36.443 2.02 2.036 1.394 3.367-.39.833-1.155 1.325-2.057 1.325-1.152 0-2.08-.826-2.268-2.021-.272-1.719 1.342-3.19 2.93-2.671Z",clipRule:"evenodd"})]})])},185911,e=>{"use strict";var t=e.i(478902);e.s(["default",0,({className:e="",width:r=29,height:i=30,fill:n="currentColor"})=>(0,t.jsxs)("svg",{className:e,width:r,height:i,viewBox:"0 0 29 30",fill:n,xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("title",{children:"Collapse"}),(0,t.jsx)("line",{x1:"4",y1:"14.4805",x2:"26",y2:"14.4805",stroke:n,strokeWidth:"4"})]})])},957251,e=>{"use strict";var t=e.i(478902);e.s(["default",0,({className:e="",fill:r="",height:i=30,width:n=30})=>(0,t.jsxs)("svg",{className:e,height:i,width:n,viewBox:"-2 -1 16 16",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("title",{children:"RSS"}),(0,t.jsx)("path",{fill:r,d:"M3.772 10.864c0 .454-.159.84-.477 1.159a1.578 1.578 0 0 1-1.159.477c-.454 0-.84-.16-1.159-.477a1.578 1.578 0 0 1-.477-1.16c0-.454.16-.84.477-1.158a1.578 1.578 0 0 1 1.16-.478c.454 0 .84.16 1.158.478.318.318.477.704.477 1.159Zm4.363 1.048a.516.516 0 0 1-.144.409.502.502 0 0 1-.401.179H6.44a.524.524 0 0 1-.367-.14.519.519 0 0 1-.17-.354A5.3 5.3 0 0 0 4.33 8.669 5.3 5.3 0 0 0 .994 7.097a.519.519 0 0 1-.353-.17A.524.524 0 0 1 .5 6.56V5.41c0-.166.06-.3.179-.401a.497.497 0 0 1 .366-.145h.043a7.64 7.64 0 0 1 2.608.686c.83.383 1.565.899 2.207 1.547a7.536 7.536 0 0 1 1.546 2.207c.384.83.613 1.699.686 2.608Zm4.364.017a.493.493 0 0 1-.154.4.504.504 0 0 1-.392.171h-1.218a.532.532 0 0 1-.38-.15.51.51 0 0 1-.166-.361 9.53 9.53 0 0 0-.86-3.482 9.796 9.796 0 0 0-1.973-2.864A9.795 9.795 0 0 0 4.492 3.67a9.65 9.65 0 0 0-3.48-.869.51.51 0 0 1-.363-.166.522.522 0 0 1-.149-.37v-1.22C.5.886.557.755.67.653A.51.51 0 0 1 1.045.5h.026c1.488.074 2.913.415 4.274 1.023 1.36.608 2.569 1.443 3.625 2.505a11.948 11.948 0 0 1 2.506 3.627 11.83 11.83 0 0 1 1.022 4.274Z"})]})])},712944,e=>{"use strict";var t=e.i(478902);e.s(["default",0,({className:e,width:r=25,height:i=24,fill:n="currentColor",stroke:a="currentColor",strokeWidth:o=".5","aria-label":s})=>(0,t.jsx)("svg",{className:e,width:r,height:i,viewBox:"0 0 27 26",fill:"none",xmlns:"http://www.w3.org/2000/svg","aria-label":s,children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M18.9014 19.5858C17.0158 21.0382 14.6241 21.9067 12.0217 21.9067C5.9346 21.9067 1 17.1549 1 11.2932C1 5.43152 5.9346 0.679688 12.0217 0.679688C18.1089 0.679688 23.0435 5.43152 23.0435 11.2932C23.0435 13.7992 22.1416 16.1023 20.6333 17.918L26 23.086L24.2681 24.7538L18.9014 19.5858ZM3.44927 11.2932C3.44927 6.73412 7.2873 3.03825 12.0217 3.03825C16.7562 3.03825 20.5942 6.73412 20.5942 11.2932C20.5942 13.416 19.7621 15.3516 18.3949 16.8142L17.755 17.4303C16.2362 18.7469 14.2262 19.5482 12.0217 19.5482C7.2873 19.5482 3.44927 15.8523 3.44927 11.2932Z",fill:n,stroke:a,strokeWidth:o,strokeLinecap:"square"})})])},752891,918674,e=>{"use strict";var t=e.i(478902),r=e.i(197649),i=e.i(962973);let n=(0,e.i(741490).withGracefulErrorBoundary)(({className:e,children:n,centered:a,centeredTablet:o})=>(0,t.jsx)("div",{className:(0,r.default)(i.SELECTORS.ArticleBody,"_19wubwg0",a&&"_19wubwg1",o&&"_19wubwg2",e),children:n}),{context:"ArticleBodyErrorBoundary"});e.s(["default",0,n],918674),e.s([],752891)},838886,292339,e=>{"use strict";var t=e.i(478902),r=e.i(197649),i=e.i(962973);let n=(0,e.i(741490).withGracefulErrorBoundary)(({className:e,innerClassName:n,children:a})=>(0,t.jsx)("div",{className:(0,r.default)(i.SELECTORS.ArticleBodyContainer,"kcqbxj0",e),children:(0,t.jsx)("div",{className:(0,r.default)("kcqbxj1",n),children:a})}),{context:"ArticleBodyContainerErrorBoundary"});
6e.s(["default",0,n],292339),e.s([],838886)},273104,144735,e=>{"use strict";var t=e.i(478902),r=e.i(197649),i="_10litp13";e.s(["default",0,({campaign:e,className:n,imageClassName:a="",textClassName:o=""})=>{let s=e?.advertiserPreamble||"Advertisement Content from";if(!e)return null;let l=e.advertiserName?`${e.advertiserName} logo`:"Campaign Logo";return(0,t.jsxs)("div",{className:(0,r.default)("_10litp10",n),children:[(0,t.jsxs)("div",{className:(0,r.default)("_10litp11",o),children:[e.campaignDisclaimer?(0,t.jsx)("span",{className:"_10litp18",children:s}):(0,t.jsx)("span",{children:s}),e.campaignDisclaimer&&(0,t.jsx)("div",{className:"_10litp19",children:e.campaignDisclaimer})]}),(0,t.jsx)("div",{className:(0,r.default)("_10litp16",a),children:(0,t.jsx)("a",{href:e.advertiserClickthroughUrl?e.advertiserClickthroughUrl:"/",children:e.campaignAdvertiserDarkImage||e.campaignAdvertiserLightImage?(0,t.jsxs)("div",{className:"_10litp12",children:[(0,t.jsx)("img",{className:(0,r.default)(i,"_10litp14"),src:e.campaignAdvertiserDarkImage||e.campaignAdvertiserLightImage,alt:l}),(0,t.jsx)("img",{className:(0,r.default)(i,"_10litp15"),src:e.campaignAdvertiserLightImage||e.campaignAdvertiserDarkImage,alt:l})]}):(0,t.jsx)("span",{className:"_10litp17",children:e.advertiserName})})})]})}],144735),e.s([],273104)},11183,e=>{"use strict";e.s(["brandLinks",0,"_1iab61k4","container",0,"_1iab61k0","li",0,"_1iab61k2","link",0,"_1iab61k3","ul",0,"_1iab61k1"])},209898,704204,e=>{"use strict";var t=e.i(478902),r=e.i(197649),i=e.i(389959);e.i(162228);var n=e.i(303460),a=e.i(210982),o=e.i(11183);e.s(["default",0,({linkData:e,showBrandLinks:s=!0})=>{let l=(0,a.useAnalytics)();return(0,t.jsx)("div",{className:o.container,children:e&&e.map((e,a)=>{if(0!==a||s)return(0,t.jsx)(i.Fragment,{children:(0,t.jsx)("ul",{className:(0,r.default)(o.ul,0===a&&o.brandLinks),children:e.map((e,r)=>e.component?(0,t.jsx)("li",{className:o.li,children:e.component},r):e.title&&e.href?(0,t.jsx)("li",{className:o.li,children:(0,t.jsx)(n.default,{className:o.link,onClick:()=>l?.emit({event:"footer_click",footer_click:{name:e.title}}),rel:"nofollow",href:e.href,children:e.title})},r):void 0)})},a)})})}],209898);var s=e.i(662983);let l=[{name:"The American Pavilion",url:"https://www.ampav.com/"},{name:"ARTnews",url:"https://www.artnews.com/"},{name:"Art in America",url:"https://www.artnews.com/c/art-in-america/"},{name:"Artforum",url:"https://www.artforum.com/"},{name:"Art Week NYC",url:"https://art-week.com/"},{name:"Beauty Inc",url:"https://wwd.com/beauty-industry-news/"},{name:"Billboard",url:"https://www.billboard.com/"},{name:"Deadline",url:"https://deadline.com/"},{name:"Dick Clark Productions",url:"https://www.dickclark.com/"},{name:"The Dodo",url:"https://www.thedodo.com/"},{name:"Eater",url:"https://www.eater.com/"},{name:"Flow Space",url:"https://www.theflowspace.com/"},{name:"FN",url:"https://wwd.com/footwear-news/"},{name:"Gold Derby",url:"https://www.goldderby.com/"},{name:"Golden Globes",url:"https://goldenglobes.com/"},{name:"The Hollywood Reporter",url:"https://www.hollywoodreporter.com/"},{name:"IndieWire",url:"https://www.indiewire.com/"},{name:"Life is Beautiful",url:"https://www.lifeisbeautiful.com/"},{name:"Popsugar",url:"https://www.popsugar.com/"},{name:"Punch",url:"https://punchdrink.com/"},{name:"SJ Denim",url:"https://wwd.com/sourcing-journal/sj-denim/"},{name:"Robb Report",url:"https://robbreport.com/"},{name:"Rolling Stone",url:"https://www.rollingstone.com/"},{name:"SB Nation",url:"https://www.sbnation.com/"},{name:"SHE Media",url:"https://www.shemedia.com/"},{name:"She Knows",url:"https://www.sheknows.com/"},{name:"Sourcing Journal",url:"https://wwd.com/sourcing-journal/"},{name:"Soaps",url:"https://soaps.sheknows.com/"},{name:"Sportico",url:"https://www.sportico.com/"},{name:"StyleCaster",url:"https://stylecaster.com/"},{name:"SXSW",url:"https://sxsw.com/"},{name:"Thrillist",url:"https://www.thrillist.com/"},{name:"Variety",url:"https://variety.com/"},{name:"The Verge",url:"https://www.theverge.com/"},{name:"Vibe",url:"https://www.vibe.com/"},{name:"WWD",url:"https://wwd.com/"}];var c="_14pgupc6";let u=({className:e})=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 177 23",fill:"none",className:e,"aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("path",{d:"M177.1 23H135.8C130.9 23 127.1 20.9 127.1 15.8V7.6C127.1 2.3 130.1 0 135.9 0H177V3.2H136C132.9 3.2 130.5 4.2 130.5 7.7V15.6C130.5 18.3 132.5 19.8 135.7 19.8H177.1V23Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M49.9 8.3C49.9 11.8 46.9 13.5 43.4 13.5H3.5V23H0V10.4H43.5C45.4 10.4 46.4 9.7 46.4 7.9V5.7C46.4 3.8 45.5 3.3 43.5 3.3H0V0H43.9C47.1 0 49.8 1.3 49.8 4.6V8.3H49.9Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M57.6 23H61.1V6.6L57.6 4.9V23Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M88.5 13.2L61.1 0H57.6V2.2L85.2 15.5C86.4 16 87.4 16.2 88.5 16.2V13.2Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M115.9 6.6V23H119.4V4.9L115.9 6.6Z",fill:"currentColor"}),(0,t.jsx)("path",{d:"M88.5 13.2L115.9 0H119.4V2.2L91.8 15.5C90.6 16 89.6 16.2 88.5 16.2V13.2Z",fill:"#EC2026"})]}),d="pmc-network-sites-list";e.s(["default",0,({className:e,copyrightBrandName:n})=>{let o=(0,a.useAnalytics)(),[p,m]=(0,i.useState)(!1),f=(0,i.useRef)(null),h=new Date().getFullYear();return(0,i.useEffect)(()=>
6{if(!p)return;let e=e=>{f.current?.contains(e.target)||m(!1)};return document.addEventListener("mousedown",e),document.addEventListener("touchstart",e),()=>{document.removeEventListener("mousedown",e),document.removeEventListener("touchstart",e)}},[p]),(0,t.jsx)("div",{className:(0,r.default)("_14pgupc0",e),children:(0,t.jsxs)("div",{className:"_14pgupc1",children:[(0,t.jsxs)("div",{className:"_14pgupc2",children:[(0,t.jsxs)("a",{href:"https://pmc.com/",rel:"nofollow",onClick:()=>o?.emit({event:"footer_click",footer_click:{name:"PMC Logo"}}),children:[(0,t.jsx)(u,{className:"_14pgupc3"}),(0,t.jsx)("span",{className:"_14pgupc4 _1r56fpq0",children:"Penske Media Corporation"})]}),n&&(0,t.jsxs)("div",{className:"_14pgupc5",children:[(0,t.jsxs)("p",{className:c,children:[n," is a part of PMX Global, LLC, a subsidiary of Penske Media Corporation."]}),(0,t.jsxs)("p",{className:c,children:["© ",h," VM Publishing, LLC. All rights reserved."]})]})]}),(0,t.jsxs)("nav",{ref:f,className:(0,r.default)("_14pgupc7",p&&"_14pgupcc"),"aria-label":"PMC network sites",children:[(0,t.jsx)("h4",{children:(0,t.jsxs)("button",{type:"button",className:"_14pgupc8","aria-expanded":p,"aria-controls":d,onClick:()=>m(e=>!e),children:["Our Sites",(0,t.jsx)("span",{className:(0,r.default)("_14pgupc9",p&&"_14pgupca"),children:(0,t.jsx)(s.default,{width:10,height:6})})]})}),(0,t.jsx)("ul",{id:d,className:"_14pgupcb",hidden:!p,children:l.map(e=>(0,t.jsx)("li",{className:"_14pgupcd",children:(0,t.jsx)("a",{className:"_14pgupce",href:e.url,rel:"nofollow",onClick:()=>o?.emit({event:"footer_click",footer_click:{name:e.name}}),children:e.name})},e.url))})]})]})})}],704204)},466276,e=>{"use strict";e.s(["banner",0,"_1pgejk30","body",0,"_1pgejk33","closeButton",0,"_1pgejk37","closeIcon",0,"_1pgejk38","heading",0,"_1pgejk32","inner",0,"_1pgejk31","link",0,"_1pgejk34","privacyChoicesIcon",0,"_1pgejk36","privacyChoicesLink",0,"_1pgejk35 _1pgejk34"])},123981,e=>{"use strict";var t=e.i(478902),r=e.i(389959),i=e.i(581550),n=e.i(210982),a=e.i(964081),o=e.i(11183);let s=({className:e})=>(0,t.jsxs)("svg",{className:e,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 30 14",width:"30",height:"14","aria-hidden":"true",focusable:"false",children:[(0,t.jsx)("rect",{width:"30",height:"14",rx:"7",fill:"#0A57FA"}),(0,t.jsx)("rect",{x:"1",y:"1",width:"13",height:"12",rx:"6",fill:"#fff"}),(0,t.jsx)("path",{d:"M10.4 3.6 6.9 7.1 5.1 5.3 4 6.4l2.9 2.9 4.7-4.7z",fill:"#0A57FA"}),(0,t.jsx)("path",{d:"m20.3 4.1-1.3 1.3 2.6 2.6-2.6 2.6 1.3 1.3 2.6-2.6 2.6 2.6 1.3-1.3-2.6-2.6 2.6-2.6-1.3-1.3-2.6 2.6z",fill:"#fff"})]}),l=({className:e,iconClassName:o,showIcon:l=!1})=>{let c=(0,n.useAnalytics)(),u=(0,r.useContext)(a.default);return(0,t.jsxs)("a",{className:e,href:i.PMC_LEGAL_URLS.yourPrivacyChoices,rel:"nofollow",onClick:e=>{c?.emit({event:"footer_click",footer_click:{name:"Your Privacy Choices"}}),u&&!u.isOneTrustLoading&&(e.preventDefault(),u.toggleCookiesConsentDrawer())},children:[l&&(0,t.jsx)(s,{className:o}),"Your Privacy Choices"]})},c=(0,t.jsx)(l,{className:o.link});e.s(["PmcPrivacyChoicesLink",0,l,"default",0,c],123981)},581550,e=>{"use strict";e.s(["PMC_LEGAL_URLS",0,{termsOfUse:"https://www.pmc.com/terms-of-use/",privacyPolicy:"https://www.pmc.com/privacy-policy/",californiaPrivacyRights:"https://www.pmc.com/privacy-policy#appendix",yourPrivacyChoices:"https://www.pmc.com/privacy-policy#appendix",cookieNotice:"https://www.pmc.com/privacy-policy#cookie-notice",adChoices:"https://optout.aboutads.info/?locale=en-US",accessibility:"https://www.pmc.com/accessibility"}])},378690,864613,e=>{"use strict";var t=e.i(478902),r=e.i(197649),i=e.i(389959);e.i(31720);var n=e.i(829149),a=e.i(564182),o=e.i(713363),s=e.i(641824),l=e.i(210982),c=e.i(714060),u=e.i(209898),d=e.i(704204),p=e.i(391228),m=e.i(581550),f=e.i(650137),h=e.i(466276),y=e.i(123981);let g="duet-pmc-privacy-banner",v="accepted",C="pmc-privacy-banner-heading",x="pmc-privacy-banner-body",w=()=>{let e=(0,l.useAnalytics)(),[n,o]=(0,i.useState)(null);return((0,i.useEffect)(()=>{o((0,f.getStorageValue)(g)!==v)},[]),n)?(0,t.jsx)("aside",{className:(0,r.default)(a.default.PmcPrivacyBanner,h.banner),role:"dialog","aria-modal":"false","aria-labelledby":C,"aria-describedby":x,children:(0,t.jsxs)("div",{className:h.inner,children:[(0,t.jsx)("button",{type:"button",className:h.closeButton,onClick:()=>{(0,f.setStorageValue)(g,v),o(!1),e?.emit({event:"footer_click",footer_click:{name:"PMC Privacy Banner Dismiss"}})},"aria-label":"Dismiss privacy notice",children:(0,t.jsx)(p.default,{className:h.closeIcon,fill:"currentColor"})}),(0,t.jsx)("p",{className:h.heading,id:C,children:"Terms of Use/Your Privacy Rights"}),(0,t.jsxs)("p",{className:h.body,id:x,children:["This website is now part of PMX Global, LLC, a subsidiary of Penske Media Corporation. By continuing to use our services, you agree to the PMC"," ",(0,t.jsx)("a",{className:h.link,href:m.PMC_LEGAL_URLS.termsOfUse,rel:"nofollow",children:"Terms of Use"}),", including waiver and arbitration. PMC, its service providers, and third-party partners process information about you and how you use our services, including clicks and screen recordings, using first and third-party cookies, pixels, and similar technologies. Where applicable, you can opt out of certain uses of cookies via the"," ",(0,t.jsx)(y.PmcPrivacyChoicesLink,{className:h.privacyChoicesLink,iconClassName:h.privacyChoicesIcon,showIcon:!0})," ","link in our footer. Learn more about our data practices in our"," ",(0,t.jsx)("a",{className:h.link,href:m.PMC_LEGAL_URLS.privacyPolicy,rel:"nofollow",children:"Privacy Policy"}),"."]})]})}):null};e.s(["default",0,e=>{let p=(0,l.useAnalytics)(),m=(0,o.useComponentConfig)("footer",e.componentContext||""),{footerNav:f}=(0,c.useGlobalDataContext)(),{className:h,getLinkData:y,Logo:g,linkData:v,showUpperContainer:C,showBrandLinks:x,showNetworkSites:b,showPmcPrivacyBanner:N,copyrightBrandName:j,networkSitesClassName:k,border:R,adText:_}=(0,s.default)(e,m),S=(0,i.useMemo)(()=>y?y(f):v,[y,f,v]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("footer",{className:(0,r.default)(a.default.Footer,h),children:[(0,t.jsx)("div",{className:"v5q9vt0",children:(0,t.jsxs)("div",{className:"v5q9vt1",children:[C&&
6(0,t.jsxs)("div",{className:(0,r.default)("v5q9vt3",R&&"v5q9vt4 v5q9vt2"),children:[(0,t.jsx)("a",{href:"/",onClick:()=>p?.emit({event:"footer_click",footer_click:{name:"Logo"}}),children:(0,t.jsx)(g,{className:"v5q9vt6 v5q9vt5"})}),(0,t.jsx)("div",{className:(0,r.default)("v5q9vt8",R&&"v5q9vt9 v5q9vt2"),children:(0,t.jsx)(n.default,{})})]}),(0,t.jsx)(u.default,{showBrandLinks:x,linkData:S}),!b&&(0,t.jsxs)("p",{className:"v5q9vta",children:["© ",new Date().getFullYear()," ",(0,t.jsx)("a",{rel:"nofollow",href:"https://www.voxmedia.com",children:"Vox Media"}),", LLC. All Rights Reserved"]}),_&&(0,t.jsx)("p",{className:"v5q9vtb",children:_})]})}),b&&(0,t.jsx)(d.default,{className:k,copyrightBrandName:j})]}),N&&(0,t.jsx)(w,{})]})}],864613),e.s([],378690)},31720,829149,e=>{"use strict";var t=e.i(478902),r=e.i(197649),i=e.i(957251),n=e.i(838941),a=e.i(919071);let o=({className:e,fill:r="currentColor",width:i=20,height:n=20})=>(0,t.jsx)("svg",{className:e,width:i,height:n,fill:"none",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:(0,t.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M2.0001 5.98809C1.99998 5.99488 1.99997 6.00167 2.00007 6.00845V14C2.00007 15.1015 2.98022 16 4.18187 16H15.8181C17.0198 16 17.9999 15.1015 17.9999 14V6.00781C18 6.0015 18 5.99519 17.9999 5.98887C17.9933 4.89243 17.0157 4 15.8181 4H4.18187C2.98455 4 2.00714 4.89201 2.0001 5.98809ZM3.53211 5.70263C3.65238 5.48462 3.89972 5.33333 4.18187 5.33333H15.8181C16.1003 5.33333 16.3476 5.48461 16.4679 5.70263L10 9.8529L3.53211 5.70263ZM16.5454 7.28044V14C16.5454 14.3651 16.2165 14.6667 15.8181 14.6667H4.18187C3.78353 14.6667 3.4546 14.3651 3.4546 14V7.28044L10 11.4804L16.5454 7.28044Z",fill:r})});var s=e.i(824290),l=e.i(971195),c=e.i(794569),u=e.i(748690),d=e.i(713363),p=e.i(641824),m=e.i(210982),f=e.i(714060),h="_1ru0lxh2";e.s(["default",0,e=>{let{siteSettings:{socialMediaLinks:y}}=(0,f.useGlobalDataContext)(),g=(0,d.useComponentConfig)("socialLinks"),v=(0,m.useAnalytics)(),{className:C,linkData:x}=(0,p.default)(e,g),w=[{key:"facebook",content:(0,t.jsx)(n.default,{className:h}),url:y.find(e=>"Facebook"===e.platformName)?.url||x.facebook},{key:"twitter",content:(0,t.jsx)(c.default,{className:h}),url:y.find(e=>"Twitter"===e.platformName)?.url||x.twitter},{key:"threads",content:(0,t.jsx)(s.default,{className:h}),url:y.find(e=>"Threads"===e.platformName)?.url||x.threads},{key:"instagram",content:(0,t.jsx)(a.default,{className:h}),url:y.find(e=>"Instagram"===e.platformName)?.url||x.instagram},{key:"youtube",content:(0,t.jsx)(u.default,{className:h}),url:y.find(e=>"YouTube"===e.platformName)?.url||x.youtube},{key:"rss",content:(0,t.jsx)(i.default,{className:h}),url:x.rss},{key:"tiktok",content:(0,t.jsx)(l.default,{className:h}),url:y.find(e=>"TikTok"===e.platformName)?.url||x.tiktok},{key:"newsletter",content:(0,t.jsx)(o,{className:h}),url:x.newsletter}];return(0,t.jsx)("ul",{className:(0,r.default)("_1ru0lxh0",C),children:w.filter(e=>!!e.url).map(({key:e,content:i,url:n})=>(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:n,className:(0,r.default)("_1ru0lxh1"),onClick:()=>v?.emit({event:"navigation_click",navigation_click:{name:e}}),rel:"nofollow",children:i})},e))})}],829149),e.s([],31720)},685321,e=>{"use strict";var t,r,i=e.i(478902),n=e.i(695287),a=e.i(389959),o=e.i(197649);e.i(807738);var s=e.i(738886);let l=[{key:"all",label:"All"},{key:"unread",label:"Unread"}],c=({filter:e,onFilterClick:t,variant:r="default"})=>"track"===r?(0,i.jsx)("div",{className:"_16zzpe13",children:(0,i.jsxs)("div",{className:"_16zzpe14",role:"tablist",children:[l.map(({key:r,label:n},a)=>(0,i.jsx)("button",{role:"tab",type:"button","aria-selected":e===r,onClick:()=>t(r),className:(0,o.default)("_16zzpe16",a>0&&"_16zzpe17",e===r&&"_16zzpe18"),children:n},r)),(0,i.jsx)("div",{className:"_16zzpe15","aria-hidden":!0})]})}):(0,i.jsx)("div",{className:"_16zzpe10",children:l.map(({key:r,label:n})=>(0,i.jsx)(s.default,{className:(0,o.default)("_16zzpe11",e===r&&"_16zzpe12"),text:n,displayType:"cyclone",onClick:()=>void t(r),active:e===r,tabIndex:0},r))});var u=e.i(391228);e.i(444461);var d=e.i(33703),p=e.i(992486),m=e.i(912953),f=e.i(561646),h=e.i(298660),y=e.i(401262),g=e.i(967960),v=e.i(456341),C=e.i(916833);let x=({fill:e="currentColor",width:t=14,height:r=14})=>(0,i.jsx)("svg",{width:t,height:r,viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,i.jsx)("path",{d:"M11 1C12.3807 1 13.5 2.11929 13.5 3.5C13.5 4.32033 13.1025 5.04513 12.4922 5.50098C12.4975 5.80746 12.5 6.14002 12.5 6.5V8.5C12.5 9.42848 12.5006 10.1751 12.4219 10.7607C12.3412 11.3608 12.1689 11.8663 11.7676 12.2676C11.3663 12.6689 10.8608 12.8412 10.2607 12.9219C9.67511 13.0006 8.92848 13 8 13H6C5.07152 13 4.32489 13.0006 3.73926 12.9219C3.13919 12.8412 2.6337 12.6689 2.23242 12.2676C1.83114 11.8663 1.6588 11.3608 1.57813 10.7607C1.49943 10.1751 1.5 9.42848 1.5 8.5V6.5C1.5 5.57152 1.49943 4.82489 1.57813 4.23926C1.6588 3.63919 1.83114 3.1337 2.23242 2.73242C2.6337 2.33114 3.13919 2.1588 3.73926 2.07812C4.32489 1.99943 5.07152 2 6 2H8C8.35958 2 8.69183 2.00183 8.99805 2.00684C9.4539 1.39664 10.1797 1 11 1ZM6 3C5.04308 3 4.37563 3.00066 3.87207 3.06836C3.38289 3.13413 3.12396 3.25494 2.93945 3.43945C2.75494 3.62396 2.63413 3.88289 2.56836 4.37207C2.50066 4.87563 2.5 5.54308 2.5 6.5V8.5C2.5 9.45692 2.50066 10.1244 2.56836 10.6279C2.63413 11.1171 2.75494 11.376 2.93945 11.5605C3.1239
66 11.7451 3.38289 11.8659 3.87207 11.9316C4.37563 11.9993 5.04308 12 6 12H8C8.95692 12 9.62437 11.9993 10.1279 11.9316C10.6171 11.8659 10.876 11.7451 11.0605 11.5605C11.2451 11.376 11.3659 11.1171 11.4316 10.6279C11.4993 10.1244 11.5 9.45692 11.5 8.5V6.5C11.5 6.30506 11.4963 6.12216 11.4951 5.9502C11.335 5.98237 11.1696 6 11 6C9.61929 6 8.5 4.88071 8.5 3.5C8.5 3.32984 8.51643 3.16354 8.54883 3.00293C8.37715 3.00195 8.19456 3 8 3H6ZM10 9C10.2761 9 10.5 9.22386 10.5 9.5C10.5 9.77614 10.2761 10 10 10H4C3.72386 10 3.5 9.77614 3.5 9.5C3.5 9.22386 3.72386 9 4 9H10ZM8.28613 7C8.56208 7.00023 8.78613 7.224 8.78613 7.5C8.78613 7.776 8.56208 7.99977 8.28613 8H4C3.72386 8 3.5 7.77614 3.5 7.5C3.5 7.22386 3.72386 7 4 7H8.28613ZM11 2C10.1716 2 9.5 2.67157 9.5 3.5C9.5 4.32843 10.1716 5 11 5C11.8284 5 12.5 4.32843 12.5 3.5C12.5 2.67157 11.8284 2 11 2Z",fill:e})});var w=e.i(95411),b=e.i(210982),N=e.i(433770),j="n5bjoy3";let k=({showGoToNotificationsPageLink:e=!0,tabIndex:t})=>{let[r,n]=(0,a.useState)(!1),{RootStore:o}=(0,N.useNotificationsStore)(),l=(0,b.useAnalytics)(),{refs:c,floatingStyles:u}=(0,f.useFloating)({middleware:[(0,m.offset)(10),(0,m.shift)()],whileElementsMounted:p.autoUpdate}),d=(0,a.useCallback)(()=>{n(e=>!e)},[]),k=(0,a.useCallback)(()=>{window.location.href="/account/notification-settings"},[]),R=(0,a.useCallback)(async()=>{o&&(await o.notificationsStore.markRead({all:!0}),o.unreadNotificationsStore.setHasNext(!1),o.unreadNotificationsStore.setCursor(null))},[o]),_=(0,a.useCallback)(()=>{l?.emit({event:"notification_page_click",notification_page_click:{click_text:"Go to Notifications Page"}}),window.location.href="/notifications"},[l]);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("button",{type:"button","aria-label":"Notifications actions","aria-expanded":r,"aria-haspopup":"dialog",onClick:d,ref:c.setReference,tabIndex:t,"data-notifications-actions-trigger":"true",className:"n5bjoy2",children:(0,i.jsx)(C.default,{className:"three-dots-icon",fill:w.default.sys.color.subtle})}),(0,i.jsx)(y.CSSTransition,{in:r,timeout:200,classNames:{enter:"n5bjoy4",enterActive:"n5bjoy5",exit:"n5bjoy6",exitActive:"n5bjoy7"},nodeRef:c.floating,unmountOnExit:!0,children:(0,i.jsx)(h.FocusTrap,{active:r,focusTrapOptions:{fallbackFocus:"#notifications-actions",allowOutsideClick:!0,clickOutsideDeactivates:e=>(e.target instanceof HTMLElement&&(e.target.closest("[data-notifications-actions-trigger='true']")||n(!1)),!1)},children:(0,i.jsx)("div",{id:"notifications-actions",style:u,ref:c.setFloating,role:"dialog","aria-modal":"true","aria-label":"Notifications",className:"n5bjoy0",children:(0,i.jsxs)("div",{className:"n5bjoy1",children:[(0,i.jsx)(s.default,{text:"Mark all as read",onClick:()=>{R()},iconLeft:(0,i.jsx)(g.default,{width:14,height:14}),displayType:"cycloneSecondary",className:j}),(0,i.jsx)(s.default,{text:"Notification settings",onClick:k,iconLeft:(0,i.jsx)(v.default,{width:14,height:14}),displayType:"cycloneSecondary",className:j}),e&&(0,i.jsx)(s.default,{text:"Go to Notifications Page",onClick:_,iconLeft:(0,i.jsx)(x,{width:14,height:14}),displayType:"cycloneSecondary",className:j})]})})})})]})};var R=e.i(713363);let _=({showGoToNotificationsPageLink:e=!0,onCloseNotifications:t,tabIndexes:r,inlineActions:n=!1})=>{let{headerSize:a}=(0,R.useComponentConfig)("notificationsList"),o=(0,i.jsx)(k,{showGoToNotificationsPageLink:e,tabIndex:r.threeDots});return(0,i.jsxs)("div",{className:"_1qso5h11",children:[(0,i.jsxs)("div",{className:"_1qso5h12",children:[(0,i.jsx)(d.default,{className:"_1qso5h13",classNameTitle:"_1qso5h14",title:"Notifications",size:a,headingLevel:"h1"}),n&&o]}),(0,i.jsxs)("div",{className:"_1qso5h15",children:[!n&&o,t&&(0,i.jsx)(s.default,{className:"_1qso5h16",text:"",iconLeft:(0,i.jsx)(u.default,{fill:w.default.sys.color.subtle}),displayType:"cycloneSecondary",onClick:t})]})]})},S=()=>(0,i.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"48",height:"54",viewBox:"0 0 48 54",fill:"none",children:[(0,i.jsx)("rect",{width:"1.5559",height:"39.839",rx:"0.777949",transform:"matrix(0.999895 0.0144604 -0.00879314 0.999961 6.04724 6.3418)",fill:w.default.sys.color.secondary}),(0,i.jsx)("circle",{cx:"1.59637",cy:"1.59637",r:"1.59637",transform:"matrix(-0.999899 -0.0141841 -0.014
61841 0.999899 8.66638 4.41211)",fill:w.default.sys.color.secondary}),(0,i.jsx)("path",{d:"M19.022 11.8304C19.0261 11.2302 19.5468 10.6762 20.1335 10.6479L44.0971 9.49265C44.9042 9.45374 45.2447 10.388 44.6752 11.0789L37.0061 20.3823C36.6535 20.8101 36.6291 21.39 36.9497 21.7268L44.3282 29.4771C44.8965 30.0741 44.3279 31.2188 43.4418 31.2615L19.7481 32.4038C19.2539 32.4276 18.885 32.0655 18.8885 31.56L19.022 11.8304Z",fill:`color-mix(in srgb, ${w.default.sys.color.primary} 80%, white)`}),(0,i.jsx)("path",{d:"M27.0861 8.47449C27.0909 7.76903 26.3936 7.40574 25.7451 7.77581L19.5608 11.3049C19.1834 11.5203 18.9335 11.9316 18.9307 12.3422L18.7989 31.8134C18.7955 32.3072 19.2836 32.5615 19.7376 32.3025L26.3272 28.5421C26.7046 28.3268 26.9545 27.9154 26.9573 27.5048L27.0861 8.47449Z",fill:`color-mix(in srgb, ${w.default.sys.color.primary} 80%, black)`}),(0,i.jsx)("path",{d:"M6.03182 7.04088C6.03587 6.44287 6.55289 5.89026 7.13787 5.8587L26.3491 4.82206C26.8457 4.79527 27.2176 5.15794 27.2142 5.66556L27.0811 25.3132C27.0771 25.9112 26.5601 26.4638 25.9751 26.4954L6.76387 27.532C6.26731 27.5588 5.89536 27.1961 5.8988 26.6885L6.03182 7.04088Z",fill:w.default.sys.color.primary})]});var T=e.i(533329),L=e.i(183821),P=e.i(77605),E={small:"_3e9e3u2 _3e9e3u1",large:"_3e9e3u3 _3e9e3u1"},A={"bottom-right":"_3e9e3u4"};let F={small:30,large:50},O={"SBNation Product":`${P.MEDIA_BASE_URL}/logo-sbnation.png`,"March Madness":`${P.MEDIA_BASE_URL}/logo-sbnation.png`,NFL:`${P.MEDIA_BASE_URL}/logo-sbnation.png`,NBA:`${P.MEDIA_BASE_URL}/logo-sbnation.png`},M={"The Verge":"/static-assets/icons/default-headshot.png"},H=({notification:e,size:t="small",alignment:r,needsWrapper:n=!1})=>{let a=F[t],{logo:s,name:l}=((e,t)=>{switch(e.source){case N.NotificationSource.Cyclone:{let r=(0,P.cleanCommunityLogo)(e.community.logo);return e.community.name&&e.community.name in O?r=O[e.community.name]:e.community.name&&(0,P.hasTeamLogoOverride)(e.community.name)&&(r=(0,P.getTeamLogoUrlByCommunityName)({communityName:e.community.name,width:t})),{logo:r,name:e.community.name}}case N.NotificationSource.Coral:{let r=Object.keys(M).find(t=>e.site.name.includes(t));return{logo:r?M[r]:(0,P.getTeamLogoUrlByCommunityName)({communityName:e.site.name,width:t}),name:e.site.name}}}})(e,a),c=(0,i.jsx)(L.default,{src:s,alt:l,className:(0,o.default)(E[t],r&&A[r]),width:a,height:a});return n?(0,i.jsx)("div",{className:"_3e9e3u0",children:c}):c};var D={small:"_17v831j3 _17v831j0",large:"_17v831j4 _17v831j0"},$={small:"_17v831j5 _17v831j2",large:"_17v831j6 _17v831j2"};let I=({notification:e,fromProfile:t,showCommunityLogo:r=!0,avatarSize:n="large"})=>(0,i.jsxs)("div",{className:D[n],children:[t.avatarUrl?(0,i.jsx)(L.default,{src:t.avatarUrl,alt:t.username,className:"_17v831j1"}):t.username&&t.username[0]?(0,i.jsx)("div",{className:$[n],children:t.username[0].toUpperCase()}):null,r&&(0,i.jsx)(H,{notification:e,alignment:"bottom-right"})]});var B=e.i(798240),q="hlhce33";let U=(0,n.observer)(function({notification:e,showCommunityLogo:t=!0,avatarSize:r="large",handleNotificationClick:n,className:s}){let{cycloneCommunitiesById:l}=(0,B.useCommunityContext)(),c=(e=>{switch(e.type){case N.NotificationType.CycloneReply:case N.NotificationType.CycloneReplyRec:case N.NotificationType.CycloneReplyRecSummary:return e.rootAncestor??e.fanPost;case N.NotificationType.CycloneFanPostReply:case N.NotificationType.CycloneFanPostRec:case N.NotificationType.CycloneFPRecSummary:return e.fanPost;case N.NotificationType.CoralReply:case N.NotificationType.CoralRec:case N.NotificationType.CoralRecSummary:case N.NotificationType.CoralCommentApproved:return e.story;default:return null}})(e),u=((e,t)=>{switch(e.type){case N.NotificationType.CycloneReply:case N.NotificationType.CoralReply:if(t&&"title"in t)return`replied to your comment on "${t.title}"`;return"replied to your comment";case N.NotificationType.CycloneReplyRec:case N.NotificationType.CoralRec:if(t&&"title"in t)return`rec'd your comment on "${t.title}"`;return"rec'd your comment";case N.NotificationType.CycloneFanPostReply:if(t&&"title"in t)return`replied to your post "${t.title}"`;return"replied to your post";case N.NotificationType.CycloneFanPostRec:if(t&&"title"in t)return`rec'd your post on "${t.title}"`;return"rec'd your post";case N.NotificationType.CoralRecSummary:case N.NotificationType.CycloneReplyRecSummary:return"rec'd your comment";
6case N.NotificationType.CycloneFPRecSummary:if(t&&"title"in t)return`rec'd your post "${t.title}"`;return"rec'd your post";case N.NotificationType.CoralCommentApproved:case N.NotificationType.CycloneReplyApproved:return"Your comment has been published.";case N.NotificationType.CycloneFanPostApproved:return"Your post has been published.";default:return""}})(e,c),d=(e=>{switch(e.type){case N.NotificationType.CoralRecSummary:case N.NotificationType.CoralCommentApproved:return e.comment.snippet;case N.NotificationType.CycloneFanPostApproved:return e.fanPost.snippet;case N.NotificationType.CycloneReplyApproved:return e.reply.snippet;default:return"reply"in e?e.reply.snippet:""}})(e),p=(e=>{if(e.type===N.NotificationType.CoralCommentApproved||e.type===N.NotificationType.CycloneFanPostApproved||e.type===N.NotificationType.CycloneReplyApproved)return[];{let t=(e=>{switch(e.type){case N.NotificationType.CycloneReplyRecSummary:case N.NotificationType.CycloneFPRecSummary:case N.NotificationType.CoralRecSummary:let t;return(t=e.recs).length>0?t.map(e=>e.from):null;default:return e.from}})(e);return(Array.isArray(t)?t:t?[t]:[]).filter(e=>!!e).map(t=>t.profiles?.find(t=>t.type.toString()===e.source.toString())).filter(e=>void 0!==e)}})(e),m=((e,t,r,n)=>{if(e.type===N.NotificationType.CoralCommentApproved||e.type===N.NotificationType.CycloneFanPostApproved||e.type===N.NotificationType.CycloneReplyApproved)return(0,i.jsx)(H,{notification:e,size:"large",needsWrapper:!0});{let a=n.length>0?n[0]:null;return a?(0,i.jsx)(I,{fromProfile:a,showCommunityLogo:t,notification:e,avatarSize:r}):null}})(e,t,r,p),f=((e,t)=>{if(t===N.NotificationType.CoralCommentApproved||t===N.NotificationType.CycloneFanPostApproved||t===N.NotificationType.CycloneReplyApproved)return"";if(!Array.isArray(e))return(0,i.jsx)("span",{className:q,children:e.username});if(!(e.length>0))return(0,i.jsx)("span",{className:q,children:e[0]?.username??""});if(1===e.length)return(0,i.jsx)("span",{className:q,children:e[0]?.username});{if(2===e.length)return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:q,children:e[0]?.username})," and"," ",(0,i.jsx)("span",{className:q,children:e[1]?.username})]});let t=e.length-2;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("span",{className:q,children:e[0]?.username}),","," ",(0,i.jsx)("span",{className:q,children:e[1]?.username}),", and"," ",(0,i.jsxs)("span",{className:q,children:[t," other",t>1?"s":""]})]})}})(p,e.type),h=((e,t)=>{let r,i="";switch(e.type){case N.NotificationType.CycloneFanPostReply:case N.NotificationType.CycloneReply:case N.NotificationType.CycloneReplyRec:case N.NotificationType.CycloneReplyRecSummary:i=e.reply.url,r=e.community.id;break;case N.NotificationType.CycloneFanPostRec:case N.NotificationType.CycloneFPRecSummary:case N.NotificationType.CycloneFanPostApproved:i=e.fanPost.url,r=e.community.id;break;case N.NotificationType.CycloneReplyApproved:i=e.reply.url,r=e.community.id;break;case N.NotificationType.CoralReply:return e.reply.url;case N.NotificationType.CoralRec:case N.NotificationType.CoralCommentApproved:case N.NotificationType.CoralRecSummary:return e.comment.url;default:return""}let n=r&&t[r]?.cycloneCommunityPrefix;if(!n)return i;let a=`${n}/post/`;return i.includes(a)?i:i.replace("/post/",a)})(e,l),y="updatedAt"in e?e.updatedAt:e.createdAt,g=(0,a.useCallback)(()=>{n&&n(e)},[n,e]);return(0,i.jsxs)("a",{href:h,onClick:g,onContextMenu:g,className:(0,o.default)("hlhce30",s),tabIndex:0,children:[(0,i.jsxs)("div",{className:"hlhce31",children:[(0,i.jsxs)("div",{className:"hlhce32",children:[m&&m,(0,i.jsxs)("div",{className:"hlhce35",children:[f," ",u]})]}),!e.read&&(0,i.jsx)("span",{className:"hlhce34"})]}),(0,i.jsxs)("div",{className:"hlhce36",children:[d&&""!==d&&(0,i.jsx)("span",{className:"hlhce37",children:d}),(0,i.jsx)(T.default,{timestamp:y,format:"notifications"})]})]})});var V=e.i(641824);let G=e=>{let t=(0,R.useComponentConfig)("notificationsList"),{notifications:r,showLoader:n,onLoadMoreClick:a,onNotificationItemClick:o,notificationsHasNext:l,loadMoreText:c="See previous notifications",showCommunityLogo:u,avatarSize:d,showNoNotificationsFlag:p,showLatestHeading:m,notificationClassName:f}=(0,V.default)(e,t);return(0,i.jsxs)(i.Fragment,{children:[r.length>0&&(0,i.jsxs)(i.Fragment,{children:[m&&(0,i.jsx)("h2",{className:"_1uahlb81",children:"Latest"}),(0,i.jsx)("div",{className:"_1uahlb85",children:r.map(e=>(0,i.jsx)(U,{notification:e,handleNotificationClick:o,showCommunityLogo:u,avatarSize:d,className:f},e.id))})]}),(0,i.jsx)("div",{className:"_1uahlb86",children:n?(0,i.jsx)("div",{className:"_1uahlb80 _
616dtapb0"}):(0,i.jsx)(i.Fragment,{children:l?(0,i.jsx)(s.default,{className:"_1uahlb87",text:c,displayType:"secondary",onClick:a,role:"button"}):(0,i.jsxs)("div",{className:"_1uahlb82",children:[p&&(0,i.jsx)(S,{}),(0,i.jsx)("p",{className:"_1uahlb83",children:"You're caught up!"})]})})})]})};var z=e.i(597406),Z={Modal:"_1gg16mj2 _1gg16mj1",Page:"_1gg16mj3 _1gg16mj1"};let W=[{notificationType:N.NotificationType.CoralRec,eventType:"rec"},{notificationType:N.NotificationType.CoralReply,eventType:"comment"},{notificationType:N.NotificationType.CycloneFanPostRec,eventType:"rec"},{notificationType:N.NotificationType.CycloneFanPostReply,eventType:"comment"},{notificationType:N.NotificationType.CycloneReply,eventType:"comment"},{notificationType:N.NotificationType.CycloneReplyRec,eventType:"rec"}];(t=r||(r={})).Modal="Modal",t.Page="Page";let K=(0,n.observer)(({showGoToNotificationsPageLink:e=!0,onCloseNotifications:t,initialFilter:n="all",onFilterChange:o,mode:s})=>{let{RootStore:l}=(0,N.useNotificationsStore)(),[u,d]=(0,a.useState)(n),{userLoading:p}=(0,z.useAuth)(),m=(0,b.useAnalytics)(),f=(0,N.useOptionalNotificationsDrawerContext)(),{filtersVariant:h}=(0,R.useComponentConfig)("notificationsList"),y=!!f&&s===r.Modal,g="unread"===u?l?.unreadNotificationsStore:l?.allNotificationsStore,v=g?.visibleNotifications,C=g?.hasNext,x=g?.loading,w=!e,j=(0,a.useCallback)(async e=>{await l?.notificationsStore.markRead({ids:[e.id],updateStore:"unread"!==u});let t=W.find(t=>t.notificationType===e.type);m?.emit({event:"notification_reply",notification_reply:{type:t?.eventType}})},[l?.notificationsStore,u,m]),k=(0,a.useCallback)(async()=>{C&&!x&&w&&("unread"===u?await l?.unreadNotificationsStore.loadNotificationsForUser({cursor:l.unreadNotificationsStore.cursor??void 0,filter:N.NotificationsFilter.Unread}):await l?.allNotificationsStore.loadNotificationsForUser({cursor:l.allNotificationsStore.cursor??void 0}))},[C,x,l,u,w]),S=(0,a.useMemo)(()=>w?"See previous notifications":`See all${"unread"===u?" unread":""} notifications`,[w,u]),T=(0,a.useCallback)(()=>{w?k():(m?.emit({event:"notification_page_click",notification_page_click:{click_text:S}}),window.location.href=`/notifications?filter=${u}`)},[w,k,u,m,S]),L=(0,a.useCallback)(e=>{d(e),o?.(e)},[o]),P=!!(x||p||l?.userStore.viewerLoading);return(0,i.jsxs)("div",{className:Z[s],children:[(0,i.jsx)(_,{showGoToNotificationsPageLink:e,onCloseNotifications:s===r.Modal?t:void 0,tabIndexes:{threeDots:s===r.Page||y?0:-1},inlineActions:y}),(0,i.jsx)(c,{filter:u,onFilterClick:L,variant:h}),l?(0,i.jsx)(i.Fragment,{children:(0,i.jsx)(G,{notifications:v??[],showLoader:P,onLoadMoreClick:T,loadMoreText:S,onNotificationItemClick:j,notificationsHasNext:!!C})}):(0,i.jsx)("div",{className:"_1gg16mj0 _16dtapb0"})]})});e.s(["ContentMode",0,r,"default",0,K],685321)},274073,105611,e=>{"use strict";var t=e.i(389959),r=e.i(478902),i=e.i(197649),n=e.i(340783);e.i(271832);var a=e.i(466518),o=e.i(236173),s=e.i(713363),l=e.i(970060),c=e.i(977326);e.s(["default",0,e=>{let u=(0,s.useComponentConfig)("threeGridAltOverflowPattern",e.componentContext||""),{cardsData:d,gaComponentName:p="three_grid_alt_overflow_pattern",mobileCardContext:m="threeGridAltPattern",desktopCardContext:f,showGridBorders:h=!1,mobileCardClassName:y,desktopCardClassName:g,desktopContainerClassName:v,desktopCardContainerClassName:C,desktopCardAlignTop:x=!1}=(0,n.default)({},u,e),{mobileContext:w,desktopContext:b}=(0,c.getContexts)(d.length,m,f),N=[],j=[];return d.forEach((e,n)=>{N.push((0,r.jsx)("div",{className:(0,i.default)("pliut12",h&&o.gridBorders,C),children:(0,r.jsx)(a.default,{...e,componentContext:b[n],gaComponentName:p,className:(0,i.default)("pliut11",g),alignTop:x})},e.id)),j.push((0,t.createElement)(a.default,{...e,key:e.id,componentContext:w[n],gaComponentName:p,firstChild:0===n,lastChild:n===d.length-1,className:y}))}),(0,r.jsxs)("div",{children:[(0,r.jsx)("div",{className:(0,i.default)("y2os9e0",v),children:N}),(0,r.jsx)("div",{className:o.mobileContainer,children:(0,r.jsx)("div",{className:(0,i.default)("y2os9e2",l.sharedStyles.layout.hide
6Scrollbar),children:j})})]})}],105611),e.s([],274073)},961026,e=>{"use strict";e.s(["BREAKPOINTS",0,{mobile:0,productCard:335,productCardDesktop:550,river:700,narrowRiver:600,tablet:768,navigation:901,desktop:1180}])},263397,e=>{"use strict";e.s(["isEmptyHtml",0,function(e){let t=e.trim();return""===t||"<p></p>"===t}])},613329,e=>{"use strict";let t=()=>({children:new Map});e.s(["wait",0,e=>{var t,r,i,n;return t=void 0,r=void 0,i=void 0,n=function*(){return new Promise(t=>setTimeout(t,e))},new(i||(i=Promise))(function(e,a){function o(e){try{l(n.next(e))}catch(e){a(e)}}function s(e){try{l(n.throw(e))}catch(e){a(e)}}function l(t){var r;t.done?e(t.value):((r=t.value)instanceof i?r:new i(function(e){e(r)})).then(o,s)}l((n=n.apply(t,r||[])).next())})},"withCoalescing",0,e=>{let r=t();return(...i)=>{let n=r,a=[];for(let e of i){let r=n.children.get(e);r||(r=t(),n.children.set(e,r)),a.push({parent:n,key:e}),n=r}if(n.inFlight)return n.inFlight;let o=Promise.resolve().then(()=>e(...i)).finally(()=>{n.inFlight=void 0;for(let e=a.length-1;e>=0;e--){let t=a[e];if(!t)continue;let{parent:r,key:i}=t,n=r.children.get(i);if(n){if(n.inFlight||n.children.size>0)break;r.children.delete(i)}}});return n.inFlight=o,o}}])},215625,e=>{"use strict";e.s(["SOCIAL_IMAGE_MAX_WIDTH",0,1200,"getThumbnailDimensions",0,(e,t)=>{let{originalWidth:r,originalHeight:i}=e,{width:n,height:a}=t.cropCoordinates;return{width:Math.floor(n/100*r),height:Math.floor(a/100*i)}},"setImageParams",0,({url:e,width:t,quality:r})=>{let i=new URL(e);return t&&i.searchParams.set("w",t.toString()),r&&i.searchParams.set("quality",r.toString()),i.toString()}])},754734,e=>{"use strict";var t=e.i(7021);let r=(0,e.i(73018).default)({base:void 0,browser:{write(e){try{console.log(JSON.stringify(e))}catch(e){e instanceof Error&&console.log(JSON.stringify(e,["name","message","stack"])),console.log(JSON.stringify({message:"Unknown error type"}))}}},level:t.default.env.LOG_LEVEL||"true"===t.default.env.DEBUG_ENABLED?"debug":"info",customLevels:{highVisDebug:20}});function i(e,t){let i=`${n.red}--------->`,a=`${i} ${n.reset}`;r.debug({},a),r.debug({},`${i} ${e}${n.reset}`),r.debug({},a),t&&r.debug(t)}r.highVisDebug=(e,t)=>{"string"==typeof e?i(e):t?i(t,JSON.stringify(e,null,2)):i("HIGH VIS DEBUG",JSON.stringify(e,null,2))};let n={red:"\x1b[31m",reset:"\x1b[0m"};e.s(["getExecutionDuration",0,(e,t="ms")=>{let r="u">typeof performance?performance.now()-e:Date.now()-e,i="s"===t;return(i?r/1e3:r).toFixed(2*!!i)},"getLoggerBindings",0,(e,t)=>{let r="SB Nation";return Object.assign(Object.assign({name:e},["1",r].filter(Boolean).length>0&&{network:Object.assign(Object.assign({},{networkId:"1"}),r&&{networkName:r})}),t)},"isomorphicTimer",0,()=>"u">typeof performance?performance.now():Date.now(),"log",0,r])},678460,e=>{"use strict";var t=e.i(389959),r=e.i(613329);e.s(["useCoalescedCallback",0,function(e,i=[]){return(0,t.useCallback)((0,r.withCoalescing)(e),i)}])},650137,e=>{"use strict";e.s(["getStorageValue",0,e=>{try{let t=localStorage.getItem(e);if(null!==t)return t}catch(e){}try{return sessionStorage.getItem(e)}catch(e){return console.warn("Failed to read from both localStorage and sessionStorage:",e),null}},"setStorageValue",0,(e,t)=>{try{localStorage.setItem(e,t)}catch(r){try{sessionStorage.setItem(e,t)}catch(e){console.warn("Failed to save to both localStorage and sessionStorage:",e)}}}])}]);
7
8//# debugId=a75afb56-695a-1069-6e79-c3e61663f257
9//# sourceMappingURL=16ewpqm17eckd.js.map

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.