1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5568],{47478:function(t,e,n){n.d(e,{default:function(){return s}});var r=n(57437),i=n(2265);let a=[{kind:"copy",label:"Copy link"},{kind:"x",label:"Share on X"},{kind:"threads",label:"Share on Threads"},{kind:"instagram",label:"Share to Instagram story"},{kind:"reddit",label:"Share on Reddit"}];function o(t){let{kind:e}=t,n={width:18,height:18,fill:"currentColor"};switch(e){case"copy":return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...n,"aria-hidden":!0,children:(0,r.jsx)("path",{d:"M9 3h9a2 2 0 0 1 2 2v12h-2V5H9V3zm-4 4h9a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2zm0 2v12h9V9H5z"})});case"x":return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...n,"aria-hidden":!0,children:(0,r.jsx)("path",{d:"M18.244 2h3.308l-7.227 8.26L23 22h-6.83l-5.357-6.966L4.7 22H1.392l7.73-8.835L1 2h6.99l4.846 6.405L18.244 2zm-1.17 18h1.833L7.01 3.887H5.045L17.074 20z"})});case"threads":return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...n,"aria-hidden":!0,children:(0,r.jsx)("path",{d:"M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2zm.4 5.3c-1.9 0-3.6 1-4.4 2.7l1.4.8c.5-1 1.6-1.8 3-1.8 1.7 0 3 1 3 2.5 0 .6-.2 1.1-.4 1.6-.7-.3-1.5-.5-2.4-.5-2 0-3.6 1.2-3.6 3 0 1.8 1.5 3 3.4 3 1.8 0 3-.9 3.6-2.2 1.3-.4 2-1.5 2-3 0-2.7-2-4.6-4.6-4.6z"})});case"instagram":return(0,r.jsx)("svg",{viewBox:"0 0 24 24",...n,"aria-hidden":!0,children:(0,r.jsx)("path",{d:"M12 2.2c3.2 0 3.6 0 4.8.1 1.2 0 1.8.2 2.3.4.6.2 1 .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{d:"M22 12c0-1.2-1-2.2-2.2-2.2-.6 0-1.1.2-1.5.6-1.5-1-3.4-1.6-5.6-1.7l1-4.6 3.2.7c0 .8.7 1.5 1.5 1.5s1.5-.7 1.5-1.5-.7-1.5-1.5-1.5c-.6 0-1.1.4-1.4.9l-3.6-.8c-.2 0-.3 0-.4.1-.1.1-.2.2-.2.3l-1.1 5.1c-2.2.1-4.2.7-5.7 1.7-.4-.4-.9-.6-1.5-.6C3 9.8 2 10.8 2 12c0 .9.5 1.6 1.3 2-.1.3-.1.5-.1.8 0 3.3 3.7 5.9 8.3 5.9s8.3-2.7 8.3-5.9c0-.3 0-.5-.1-.8.8-.4 1.3-1.2 1.3-2zM7 13.5c0-.8.7-1.5 1.5-1.5s1.5.7 1.5 1.5-.7 1.5-1.5 1.5S7 14.3 7 13.5zm8.7 3.7c-1 1-2.7 1-3.7 1h-.1c-1 0-2.7 0-3.7-1-.2-.2-.2-.5 0-.7.2-.2.5-.2.7 0 .6.6 2 .8 3 .8s2.4-.2 3-.8c.2-.2.5-.2.7 0 .2.2.2.5.1.7zm-.2-2.2c-.8 0-1.5-.7-1.5-1.5s.7-1.5 1.5-1.5 1.5.7 1.5 1.5-.7 1.5-1.5 1.5z"})})}}function s(){let[t,e]=(0,i.useState)(!1),[n,s]=(0,i.useState)(!1),[c,l]=(0,i.useState)(!1);async function u(){try{await navigator.clipboard.writeText(window.location.href),e(!0),window.setTimeout(()=>e(!1),2e3)}catch(t){}}return(0,i.useEffect)(()=>
1{l(!0);let t=window.matchMedia("(prefers-reduced-motion: reduce)");s(t.matches);let e=()=>s(t.matches);return t.addEventListener("change",e),()=>t.removeEventListener("change",e)},[]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("aside",{"aria-label":"Share",className:"goc-share-rail",children:a.map(t=>{if("copy"===t.kind)return(0,r.jsx)("button",{type:"button","aria-label":t.label,onClick:u,className:"goc-share-btn",children:(0,r.jsx)(o,{kind:t.kind})},t.kind);let e=function(t){if(!c)return;let e=encodeURIComponent(window.location.href);switch(t){case"x":return"https://twitter.com/intent/tweet?url=".concat(e);case"threads":return"https://threads.net/intent/post?text=".concat(e);case"reddit":return"https://www.reddit.com/submit?url=".concat(e);default:return}}(t.kind);return e?(0,r.jsx)("a",{href:e,target:"_blank",rel:"noopener noreferrer","aria-label":t.label,className:"goc-share-btn",children:(0,r.jsx)(o,{kind:t.kind})},t.kind):null})}),t?(0,r.jsx)("div",{role:"status",style:{position:"fixed",bottom:90,left:"50%",transform:"translateX(-50%)",background:"#f5edd8",color:"#0a0a0f",fontFamily:"var(--font-ui)",fontSize:13,fontWeight:700,letterSpacing:"0.08em",textTransform:"uppercase",padding:"8px 16px",zIndex:60,animation:n?"none":"gocToastIn 160ms var(--ease-goc)"},children:"Copied"}):null,(0,r.jsx)("style",{children:"\n .goc-share-rail {\n position: fixed;\n left: 16px;\n top: 50%;\n transform: translateY(-50%);\n display: flex;\n flex-direction: column;\n gap: 8px;\n width: 48px;\n z-index: 40;\n }\n .goc-share-btn {\n width: 40px;\n height: 40px;\n display: grid;\n place-items: center;\n background: var(--surface-bg-alt);\n border: 1px solid var(--surface-border);\n color: var(--surface-text);\n cursor: pointer;\n text-decoration: none;\n transition: background 160ms var(--ease-goc), color 160ms var(--ease-goc);\n }\n .goc-share-btn:hover { background: #f5edd8; color: #0a0a0f; }\n .goc-share-btn:focus-visible {\n outline: 2px solid #f5edd8;\n outline-offset: 2px;\n }\n @media (max-width: 900px) {\n .goc-share-rail {\n left: 0;\n right: 0;\n top: auto;\n bottom: 0;\n width: 100%;\n flex-direction: row;\n justify-content: center;\n gap: 12px;\n padding: 10px 16px;\n background: var(--surface-bg);\n border-top: 1px solid var(--surface-border);\n transform: none;\n }\n }\n @keyframes gocToastIn {\n from { opacity: 0; transform: translate(-50%, 6px); }\n to { opacity: 1; transform: translate(-50%, 0); }\n }\n "})]})}},46303:function(t,e,n){n.d(e,{default:function(){return d}});var r=n(57437),i=n(2265),a=n(82861),o=n(454),s=n(35619),c=n(84200);function l(t){let{active:e,size:n=16}=t;return(0,r.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:e?2:1.75,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M17 2l4 4-4 4"}),(0,r.jsx)("path",{d:"M3 11V9a4 4 0 0 1 4-4h14"}),(0,r.jsx)("path",{d:"M7 22l-4-4 4-4"}),(0,r.jsx)("path",{d:"M21 13v2a4 4 0 0 1-4 4H3"})]})}let u=["\uD83D\uDD16","â¨","\uD83C\uDFAC"];function d(t){let{show:e}=t,{saved:n,mounted:d,pop:f,burstId:h,toggle:p}=(0,o.u)(e),[g,w]=(0,i.useState)(!1),[y,m]=(0,i.useState)(!1),[b,v]=(0,i.useState)(!1),[x,k]=(0,i.useState)(!1);async function S(){if(p(),n&&g){w(!1);let t=await (0,s.eZ)();t&&fetch("/api/watchlist/notify",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({endpoint:t,showSlug:e.slug})}).catch(()=>{})}}async function j(){if(!y){m(!0);try{if(g){let t=await (0,s.eZ)();t&&await fetch("/api/watchlist/notify",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({endpoint:t,showSlug:e.slug})}),(0,a.jp)(e.slug,!1),w(!1);return}n||(0,a.FW)(e);let t=await (0,s.Jv)();if(!t)return;await fetch("/api/watchlist/notify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({endpoint:t,showSlug:e.slug})}),(0,a.jp)(e.slug,!0),w(!0)}catch(t){console.error("Notify toggle failed",t)}finally{m(!1)}}}async function C(){if(!x){k(!0);try{if(b){let t=await (0,s.eZ)();t&&await fetch("/api/watchlist/notify",{method:"DELETE",headers:{"Content-Type":"application/json"},body:JSON.stringify({endpoint:t,showSlug:e.slug,kind:"weekly"})}),v(!1);return}n||(0,a.FW)(e);let t=await (0,s.Jv)();if(!t)return;await fetch("/api/watchlist/notify",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({endpoint:t,showSlug:e.slug,kind:"weekly"})}),v(!0)}catch(t){console.error("Weekly reminder toggle failed",t)}finally{k(!1)}}}return d?(0,r.jsxs)("div",{className:"flex items-center gap-3",children:[(0,r.jsxs)("button",{type:"button",onClick:S,className:"font-body font-bold text-xs uppercase tracking-wider px-4 py-2 transition-colors hover:opacity-90".concat(f?" watchlist-btn-pop":""),style:{position:"relative",...n?{backgroundColor:"#f5edd8",color:"var(--color-black-primary)"}:{border:"1px solid #f5edd8",color:"var(--text-primary)"}},children:[n?"â In Watchlist":"+ Watchlist",null!==h&&u.map((t,e)=>(0,r.jsx)("span",{className:"watchlist-burst",style:{"--burst-x":"".concat(30+20*e,"%"),"--burst-delay":"".concat(70*e,"ms"),"--burst-rot":"".concat((e-1)*16,"deg")},"aria-hidden":"true",children:t},"".concat(h,"-").concat(e)))]}),(0,s.Hd)()&&(0,r.jsx)("button",{type:"button",onClick:j,disabled:y,"aria-label":g?"Turn off notifications for this show":"Notify me about this show",title:g?"Turn off notifications for this show":"Notify me about this show",className:"flex items-center justify-center transition-opacity hover:opacity-80 disabled:opacity-50",style:{width:34,he
1ight:34,border:"1px solid ".concat(g?"#f5edd8":"var(--surface-border)"),background:g?"#f5edd8":"transparent",color:g?"var(--color-black-primary)":"var(--text-secondary)"},children:(0,r.jsx)(c.Z,{active:g})}),(0,s.Hd)()&&(0,r.jsxs)("button",{type:"button",onClick:C,disabled:x,"aria-label":b?"Turn off weekly reminder":"Remind me weekly for new episodes",title:b?"Turn off weekly reminder":"Remind me weekly for new episodes",className:"flex items-center gap-1.5 font-body text-xs font-bold uppercase tracking-wider transition-opacity hover:opacity-80 disabled:opacity-50",style:{height:34,padding:"0 10px",border:"1px solid ".concat(b?"#f5edd8":"var(--surface-border)"),background:b?"#f5edd8":"transparent",color:b?"var(--color-black-primary)":"var(--text-secondary)"},children:[(0,r.jsx)(l,{active:b,size:14}),"Weekly"]})]}):null}},84200:function(t,e,n){n.d(e,{Z:function(){return i}});var r=n(57437);function i(t){let{active:e,size:n=16}=t;return(0,r.jsxs)("svg",{width:n,height:n,viewBox:"0 0 24 24",fill:e?"currentColor":"none",stroke:"currentColor",strokeWidth:e?1.5:1.75,strokeLinecap:"round",strokeLinejoin:"round",children:[(0,r.jsx)("path",{d:"M18 8a6 6 0 0 0-12 0c0 7-3 9-3 9h18s-3-2-3-9"}),(0,r.jsx)("path",{d:"M13.73 21a2 2 0 0 1-3.46 0"})]})}},35619:function(t,e,n){function r(){return"Notification"in window&&"serviceWorker"in navigator&&"PushManager"in window}n.d(e,{BG:function(){return c},Hd:function(){return r},Jv:function(){return u},SO:function(){return o},eZ:function(){return l},v:function(){return d},yK:function(){return s}});let i="goc-push-verticals",a="goc-verticals-change";function o(){try{let t=localStorage.getItem(i);if(!t)return[];let e=JSON.parse(t);return Array.isArray(e)?e.filter(t=>"string"==typeof t):[]}catch(t){return[]}}function s(t){try{localStorage.setItem(i,JSON.stringify(t))}catch(t){}window.dispatchEvent(new CustomEvent(a))}function c(t){return window.addEventListener(a,t),()=>window.removeEventListener(a,t)}async function l(){var t;if(!r()||"granted"!==Notification.permission)return null;let e=await navigator.serviceWorker.ready,n=await e.pushManager.getSubscription();return null!==(t=null==n?void 0:n.endpoint)&&void 0!==t?t:null}async function u(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:o();if(!r()||"granted"!==await Notification.requestPermission())return null;let e="BGQTWSa31kVVIp82Whv2fhTJqj_VNd6RTSsw94qklyfpnQUKVsXG2GtwakZSBDRdABvfCxAZmjNMUMWCpkg5L8A";if(!e)throw Error("Missing NEXT_PUBLIC_VAPID_PUBLIC_KEY");let n=await navigator.serviceWorker.ready,i=await n.pushManager.getSubscription();if(i||(i=await n.pushManager.subscribe({userVisibleOnly:!0,applicationServerKey:function(t){let e="=".repeat((4-t.length%4)%4),n=atob((t+e).replace(/-/g,"+").replace(/_/g,"/")),r=new Uint8Array(n.length);for(let t=0;t<n.length;t++)r[t]=n.charCodeAt(t);return r}(e)})),!(await fetch("/api/push/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({subscription:i.toJSON(),verticals:t})})).ok)throw Error("Subscribe request failed");return s(t),i.endpoint}async function d(t){if(!r()||"granted"!==Notification.permission)return!1;let e=await navigator.serviceWorker.ready,n=await e.pushManager.getSubscription();if(!n)return!1;if(!(await fetch("/api/push/subscribe",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({subscription:n.toJSON(),verticals:t})})).ok)throw Error("Update request failed");return s(t),!0}},454:function(t,e,n){n.d(e,{u:function(){return a}});var r=n(2265),i=n(82861);function a(t){let[e,n]=(0,r.useState)(!1),[a,o]=(0,r.useState)(!1),[s,c]=(0,r.useState)(!1),[l,u]=(0,r.useState)(null);return(0,r.useEffect)(()=>{o(!0);let e=()=>n((0,i.sO)(t.slug));return e(),(0,i.eV)(e)},[t.slug]),(0,r.useEffect)(()=>{if(!s)return;let t=setTimeout(()=>c(!1),380);return()=>clearTimeout(t)},[s]),(0,r.useEffect)(()=>{if(null===l)return;let t=setTimeout(()=>u(null),950);return()=>clearTimeout(t)},[l]),{saved:e,mounted:a,pop:s,burstId:l,toggle:function(){c(!0),e?(0,i.BZ)(t.slug):((0,i.FW)(t),u(Date.now()))}}}},82861:function(t,e,n){n.d(e,{BZ:function(){return d},FW:function(){return u},eV:function(){return h},jp:function(){return f},sO:function(){return l},uT:function(){return s},zU:function(){return c}});let r="goc-watchlist-v1",i="goc-watchlist-change";function a(){try{let t=window.localStorage.getItem(r);if(!t)return[];let e=JSON.parse(t);if(!Array.isArray(e))return[];return e.filter(t=>t&&"string"==typeof t.slug&&"string"==typeof t.title&&"string"==typeof t.service&&"number"==typeof t.addedAt)}catch(t){return[]}}function o(t){try{window.localStorage.setItem(r,JSON.stringify(t)),window.dispatchEvent(new CustomEvent(i))}catch(t){}}function s(){return a().sort((t,e)=>e.addedAt-t.addedAt)}function c(t){o(t)}function l(t){return a().some(e=>e.slug===t)}function u(t){let e=a();e.some(e=>e.slug===t.slug)||(e.push({...t,addedAt:Date.now(),notifying:!1}),o(e))}function d(t){o(a().filter(e=>e.slug!==t))}function f(t,e){o(a().map(n=>n.slug===t?{...n,notifying:e}:n))}function h(t){return window.addEventListener(i,t),window.addEventListener("storage",t),()=>{window.removeEventListener(i,t),window.removeEventListener("storage",t)}}}}]);
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.