0\rmJ 1/0/_dk_https://reddit.com https://reddit.com https://www.reddit.com/sw.jsfunction t(t){return new Promise((e,n)=>{t.oncomplete=t.onsuccess=()=>e(t.result),t.onabort=t.onerror=()=>n(t.error)})}let e;function n(){return e||(e=function(e,n){const i=indexedDB.open(e);i.onupgradeneeded=()=>i.result.createObjectStore(n);const o=t(i);return(t,e)=>o.then(i=>e(i.transaction(n,t).objectStore(n)))}("keyval-store","keyval")),e}function i(e,i=n()){return i("readonly",n=>t(n.get(e)))}function o(e,i,o=n()){return o("readwrite",n=>(n.put(i,e),t(n.transaction)))}const a="v2_event_boiler_plate",s="disable_pns",r=async t=>{const e={headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify({info:t})};try{await fetch("/svc/shreddit/events",e)}catch(t){console.error(t)}},c={},d=(t,e=self)=>{const n=t.source?.id;c[n]={};const{v2EventBoilerPlate:i,disablePNs:r}=t.data;i&&o(a,JSON.stringify(i)),o(s,JSON.stringify(r)),t.waitUntil((async t=>{const e=await t.clients.matchAll({includeUncontrolled:!0,type:"window"}),n=new Set(e.filter(t=>!!t).map(t=>t.id)),i=Object.keys(c);for(const t of i)n.has(t)||delete c[t]})(e))},l=/^\/(r|user)\/(\w+)\/(?:(?:comments\/)(\w+)\/(?:(?:\w+\/)(\w+)\/?)?)?/,f=/\/room\/([^/]+)(?:%|:|\/event\/|$)/,u=t=>{const e={},{pathname:n}=new URL(t);if(!n)return e;const i=n.match(l);if(!i)return e;const[o,a,s,r]=i.slice(1);return a&&"r"===o&&(e.subreddit={name:a}),s&&(e.post={id:`t3_${s}`}),r&&(e.comment={id:`t1_${r}`}),e},p=async(t,e,n,o={})=>{const s=await(async({source:t,action:e,noun:n,...o},s={})=>{let r={};const c=await i(a);return void 0!==c&&(r=JSON.parse(c)),{...r,source:t,action:e,noun:n,client_timestamp:Date.now(),...o,...s}})({source:"notification",action:e,noun:"push_notification"},{notification:{id:n.correlation_id,type:n.message_type?.toLowerCase(),title:o.title,body:o.body},correlation_id:n.correlation_id,platform:{device_id:n.device_id},...u(n.link)});"click"===e&&((t,e)=>{if(e){const{post_id:n,subreddit_id:i}=e;n&&(t.post={...t.post,id:n}),i&&(t.subreddit={...t.subreddit,id:i})}})(s,n.extra_payload_fields),await r([s])};async function w(t,e){if(JSON.parse(await i(s)||"false"))return;const n=t.data?.json(),o=n.title,a=n.options||{},{extra_payload_fields:r}=n.data||{};r&&(a.data={...a.data,extra_payload_fields:r}),a.icon??(a.icon="https://www.redditstatic.com/desktop2x/img/favicon/android-icon-192x192.png");const c=p(0,"receive",a.data,{title:o,body:a.body}),d=function(t={}){if(t.group_id)return t.group_id;if(t.data?.link){const e=decodeURIComponent(t.data.link).match(f);if(e&&e.length>2)return e[2]}return t.data?.message_type}(a);d&&(a.tag=d,a.renotify=!0);const l=a.data?.auto_dismiss_options;void 0!==l?"device_default"!==l.behavior&&(a.requireInteraction=!0):a.requireInteraction=!1;const u=e.registration.showNotification(o,a).then(()=>e.registration.getNotifications()).then(t=>{if(void 0!==l&&"timed"===l.behavior)for(const e of t)e&&e.data.correlationId===n.correlationId&&setTimeout(()=>e.close(),l.dismiss_time_ms)});await Promise.all([c,u])}function y(t=self){t.addEventListener("push",e=>e.waitUntil(w(e,t))),t.addEventListener("notificationclick",e=>function(t,e){t.notification.close();const n=decodeURIComponent(t.notification.data.link),i=n.match(f),o=!!i,a=o?i[2]:"",s=new RegExp(`/room/${a}`),r=t=>{try{t.focus(),t.postMessage({type:"navigate.chat",data:{href:n}})}catch(t){console.error(t)}};t.waitUntil((async()=>{const t=(await e.clients.matchAll({type:"window"})).filter(t=>"focus"in t),i=t.filter(t=>t.id in c),a=o?t.filter(t=>f.test(t.url)):[],d=o?a.filter(t=>s.test(t.url)):[],l=t.filter(t=>t.url===n),u=l.find(t=>t.focused);if(u)return u.focus();if(l.length>0)return l[0].focus();if(o){if(d.length>0)return r(d[0]);if(a.length>0)return r(a[0]);if(i.length>0)return r(i[0])}try{return e.clients.openWindow(n)}catch(t){console.error(t)}})()),t.waitUntil(p(0,"click",t.notification.data,{title:t.notification.title,body:t.notification.body}))}(e,t)),t.addEventListener("notificationclose",t=>{t.waitUntil(p(0,"close",t.notification.data,{title:t.notification.title,body:t.notification.body}))})}const m=async(t,e,n,i=self)=>{const o=await i.clients.matchAll({includeUncontrolled:!0,type:"window"});for(const t of o)t?.postMessage({command:e,...n})};const h=(t,e=self)=>{const{badgeCounts:n}=t.data;t.waitUntil((async(t,e,n)=>{await n.clients.claim(),await m(0,"badgeCountSync",e,n)})(0,n,e))};((t=self)=>{t.addEventListener("fetch",()=>{})})(),function(t=self){t.addEventListener("message",e=>{const{command:n}=e.data;switch(n){case"badgeCountSync":return h(e,t);case"sendV2EventsData":return e.waitUntil((async({data:t,headers:e={}})=>{const n={headers:{...e,"Content-Type":"text/plain"},method:"POST",body:t};try{await fetch("/",n)}catch(t){console.error(t)}})(e.data.payload))}})}(),function(t=self){t.addEventListener("install",e=>e.waitUntil(t.skipWaiting())),t.addEventListener("activate",e=>{e.waitUntil((async()=>{await t.clients.claim(),await m(0,"registerWithServiceWorker",{},t)})())}),y(t),t.addEventListener("message",e=>{const{command:n}=e.data;switch(n){case"registerClient":return d(e,t);case"sendV2Event":return e.waitUntil(r([e.data.payload]));case"sendV2Events":return e.waitUntil(r(e.data.payload))}})}(); A EoeG>/>/>/HTTP/1.1 200last-modified:Fri, 05 Jun 2026 22:40:09 GMTetag:"638950caffc2a719e603046ac6568432"x-amz-server-side-encryption:AES256cache-control:max-age=2147483648, immutablecontent-type:text/javascript; charset=utf-8accept-ranges:bytesdate:Mon, 15 Jun 2026 19:18:41 GMTvia:1.1 varnishserver-timing:reddit-ct;desc="dn=FT,p=PAR,cs=HIT"x-content-type-options:nosniffx-frame-options:SAMEORIGINx-xss-protection:1; mode=blockserver:snooservreport-to:{"group": "w3-reporting-nel", "max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting-nel.reddit.com/reports" }]}, {"group": "w3-reporting", "max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting.reddit.com/reports" }]}, {"group": "w3-reporting-csp", "max_age": 14400, "include_subdomains": true, "endpoints": [{ "url": "https://w3-reporting-csp.reddit.com/reports" }]}nel:{"report_to": "w3-reporting-nel", "max_age": 14400, "include_subdomains": false, "success_fraction": 1.0, "failure_fraction": 1.0}content-length:514700O]_؏Ӝ*10  *H  0Y1 0 UUS10U  DigiCert Inc1301U*DigiCert Global G2 TLS RSA SHA256 2020 CA10 260408000000Z 261004235959Z0h1 0 UUS10U California10U San Francisco10U  Reddit, Inc.10U *.reddit.com0"0  *H 0 T)-ErL+=il2hpUZBܐ~Sl8'z^ Ze :=xr}]a>E"[tZeRQ SׯE"M)=xjDHHCp(n9$l倢twU uEVT $u=G.9Xe C,M6mxܶXkx(^Y_l/AEU%7^!s{ 5r00U#0tf7Ͻ)70UqPR#eC1Vi&0#U0 *.reddit.com reddit.com0>U 70503g 0)0'+http://www.digicert.com/CPS0U0U% 0 +0U00HFDBhttp://crl3.digicert.com/DigiCertGlobalG2TLSRSASHA2562020CA1-1.crl0HFDBhttp://crl4.digicert.com/DigiCertGlobalG2TLSRSASHA2562020CA1-1.crl0+{0y0$+0http://ocsp.digicert.com0Q+0Ehttp://cacerts.digicert.com/DigiCertGlobalG2TLSRSASHA2562020CA1-1.crt0 U00 +yokiw1~WEE8޲A!Z"յvRjdH0F!!Є٩n-ׅ8QhLL4! "L*\w;M=4ޕ Jͬ~um}ѧw_3ZeгsiwjdF0D t]&'0M#(n$ʛLF q.c(<1?:[i9bm§wNC$&e_8?rg}U7.jdH0F!/&ŋH^!M`:ߟD!/TGSTu'UOrtEx^?0  *H  EpQpY"ݻ.YGTۜ=oVoٌcB_λf }>:]v|n"9U$D;5 %ͭ\,;ЋizM2Ԝ^z[7BYK̄Cw:J̈́|8?&]1hnP@}u=|̜F>/L (k #zv̚@Q-{u(5ܚÎi}g]00 +VzP,#f0  *H  0a1 0 UUS10U  DigiCert Inc10U www.digicert.com1 0UDigiCert Global Root G20 210330000000Z 310329235959Z0Y1 0 UUS10U  DigiCert Inc1301U*DigiCert Global G2 TLS RSA SHA256 2020 CA10"0  *H 0 bOcoRVm'{zVᏽ`Ap' W8[}QqjA[5{ž$0V}M˧"1"ai&xٗ}fuDsȬ] YCᬲ:Hk7cFE}#QQ_IFT,<9i 2WLGB|Ȝ}MTBwH*Cp?vkLI$^ FlbRBu^^a =Gi0~0U00Utf7Ͻ)70U#0N"T n90U0U%0++0v+j0h0$+0http://ocsp.digicert.com0@+04http://cacerts.digicert.com/DigiCertGlobalRootG2.crt0BU;0907531http://crl3.digicert.com/DigiCertGlobalRootG2.crl0=U 6040  `Hl0g 0g 0g 0g 0  *H  p(i|t&{SeZCMLV_ŵ .YJ*ذ.J;קo)0?$÷{,kv3URYĹr _ϗ.2uϚXW1~7fm)f mn/\Vd}8S]Fm\'~Rƈ7|*UZ8rLs۪75)iv{gZ!?܂Y# $*%LʡԷtmս@00v:(d 0  *H  0a1 0 UUS10U  DigiCert Inc10U www.digicert.com1 0UDigiCert Global Root G20 130801120000Z 380115120000Z0a1 0 UUS10U  DigiCert Inc10U www.digicert.com1 0UDigiCert Global Root G20"0  *H 0 74{kɲhJuF! T:1⍄ږ>5_pPpGAWNĕ/%u򱎙oAq*O UEDꇕ2SF,"K EޤX}RYC&o 7}w_v<]V[fn572`199.232.169.140h2reddit.map.fastly.netwww.reddit.comS鲵լ9ۑ43M3A Eoetc