PageSourceSearch

https://handstandwith.us/_next/static/chunks/pages/games/hunts/[eventSlug]/notifications-4c4218943c60a773.js

js handstandwith.us collected 2026-10-08 02:50:46 UTC 4,978 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9629],{89252:function(t,e,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/games/hunts/[eventSlug]/notifications",function(){return n(19341)}])},12237:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var s=n(85893),i=n(83989),r=n(11163),c=n(8513),a=n(24763),l=n(91858);function o(){let{shouldNag:t}=(0,c.Gn)(),e=(0,r.useRouter)(),n=(0,a.e)();return t?(0,s.jsxs)("button",{type:"button",onClick:()=>{e.push("".concat(n.account(),"?create=1"))},className:"cursor-pointer m-4 isolate flex items-center justify-between gap-4 rounded-2xl bg-[var(--hunts-nag-bg)] p-4 text-left",children:[(0,s.jsxs)("div",{className:"flex flex-col text-[var(--hunts-nag-text)]",children:[(0,s.jsx)("span",{className:"".concat(l.c.heading3," mb-2"),children:"Save your Progress!"}),(0,s.jsx)("span",{className:l.c.bodySmall,children:"You are using a temporary account."})]}),(0,s.jsx)("div",{className:"flex size-16 shrink-0 items-center justify-center rounded-full bg-[var(--hunts-nag-button-bg)]",children:(0,s.jsx)(i.Z,{className:"size-6 text-[var(--hunts-nag-button-icon)]",strokeWidth:2})})]}):null}},44585:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var s=n(85893),i=n(60641);function r(t){let{label:e="Loading",className:n="",iconClassName:r="size-5"}=t;return(0,s.jsxs)("div",{className:"flex items-center justify-center ".concat(n),"aria-live":"polite",children:[(0,s.jsx)(i.Z,{className:"".concat(r," animate-spin"),"aria-hidden":"true"}),(0,s.jsx)("span",{className:"sr-only",children:e})]})}},6811:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var s=n(85893),i=n(91858);function r(t){let{children:e,className:n=""}=t;return(0,s.jsx)("p",{className:"".concat(i.c.body," ").concat(n),children:e})}},14242:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var s=n(85893),i=n(67294),r=n(91858);let c=44/48;function a(t){if(!t.firstChild)return 0;let e=document.createRange();e.selectNodeContents(t);let n=e.getClientRects();if(0===n.length)return 0;let s=new Set;for(let t=0;t<n.length;t++)s.add(Math.round(n[t].top));return s.size}function l(t){let{children:e,className:n="",isClamped:l=!1,autoFit:o=!1}=t,u=function(t,e){let n=(0,i.useRef)(null);return(0,i.useLayoutEffect)(()=>{if(!t)return;let e=n.current;if(!e)return;let s=t=>{e.style.fontSize="".concat(t,"px"),e.style.lineHeight="".concat(Math.ceil(t*c),"px")},i=()=>e.scrollWidth>e.clientWidth+1,r=()=>{e.style.overflowWrap="normal",s(48);let t=48,n=a(e),r=i();for(;t>22&&(n>2||r);)s(t-=1),n=a(e),r=i();(n>2||r)&&(e.style.overflowWrap="anywhere")};r();let l=new ResizeObserver(r);return l.observe(e),()=>l.disconnect()},[t,e]),n}(o,"string"==typeof e?e:"");return(0,s.jsx)("h1",{ref:u,className:"".concat(r.c.heading1," ").concat(l?"pr-12":""," ").concat(n),children:e})}},25023:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var s=n(85893);function i(t){let{header:e,children:n,bgClassName:i="bg-white"}=t;return(0,s.jsx)(s.Fragment,{children:(0,s.jsxs)("div",{className:"relative h-full flex-1 flex flex-col justify-start items-stretch ".concat(e?"":"pt-4"),children:[e&&(0,s.jsx)(s.Fragment,{children:(0,s.jsx)("div",{className:"sticky max-w-[640px] top-0 flex flex-col flex-shrink-0 min-h-0 aspect-[9/8] items-stretch justify-start z-10",children:e})}),(0,s.jsx)("div",{className:"relative flex-1 rounded-t-[32px] ".concat(i," px-4 pt-10 pb-4 z-20"),children:n})]})})}},83989:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});let s=(0,n(63759).Z)("ArrowRight",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},60641:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});let s=(0,n(63759).Z)("Loader2",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},19341:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return x}});var s=n(85893),i=n(41952),r=n(13059),c=n(24763),a=n(25023),l=n(14242),o=n(6811),u=n(12237),f=n(22894),d=n(44585);function h(){let{jabbers:t,isLoading:e,error:n}=(0,r._)(),i=(0,c.e)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.Z,{}),(0,s.jsxs)(a.Z,{bgClassName:"bg-[var(--hunts-notifications-frame-bg)]",children:[(0,s.jsx)(l.Z,{className:"text-[var(--hunts-notification-text)]",children:"Notifications"}),(0,s.jsx)("div",{className:"mt-[48px] flex flex-col",children:e?(0,s.jsx)(d.Z,{label:"Loading…",className:"text-black/70"}):n?null:0===t.length?(0,s.jsx)(o.Z,{className:"text-black/70",children:"No notifications yet."}):(0,s.jsx)("div",{className:"flex flex-col",children:t.map(t=>{var e;return(0,s.jsx)(f.Z,{title:null!==(e=t.title)&&void 0!==e?e:"Notification",info:(0,f.e)(t.message),imageUrl:t.mediaUrl,isUnread:!t.isRead,href:i.notification(t.id)},t.id)})})})]})]})}function x(){return(0,s.jsx)(h,{})}h.layout={solidColorVar:"--hunts-notifications-bg"},x.getLayout=t=>(0,i.Bi)(t,h.layout)}},function(t){t.O(0,[3996,7826,2277,1952,2888,9774,179],function(){return t(t.s=89252)}),_N_E=t.O()}]);

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.