PageSourceSearch

https://www.wwpnorthathletics.com/_next/static/immutable/chunks/1nnpu19ae2lum.js

js wwpnorthathletics.com collected 2026-09-24 14:57:58 UTC 7,046 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,73375,e=>{"use strict";let t=(0,e.i(75254).default)("chevron-left",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]);e.s(["ChevronLeft",0,t],73375)},28059,e=>{"use strict";var t=e.i(43476),i=e.i(20949),s=e.i(22315),o=e.i(71645),a=e.i(90657),n=e.i(83857),r=e.i(41097);e.s(["PhotoGalleriesListComponent",0,function({photoGalleries:e,galleryCountToLoad:l,schoolId:c,globalOrganizationId:d,teamId:u}){let[h,p]=(0,o.useState)([...e]),[m,f]=(0,o.useState)(e.length===l),[g,x]=(0,o.useState)(l),[v,w]=(0,o.useState)(!1),b=(0,o.useCallback)(async()=>{if(!m||v)return;w(!0);let e=await n.apiClient.getPhotoGalleries({schoolId:String(c),globalOrganizationId:d,take:String(l),skip:String(g),teamId:u??void 0});if(!e||0===e.length){w(!1),f(!1);return}p(t=>[...t,...e]),x(e=>e+l),f(e.length===l),w(!1)},[m,v,c,d,g,l,u]);return(0,t.jsx)(t.Fragment,{children:0===e.length?(0,t.jsx)("div",{className:"flex min-h-80 max-w-full flex-col items-center justify-center border-b border-school-secondary-contrast bg-school-secondary",children:(0,t.jsxs)("div",{className:"flex w-full flex-col justify-center px-2 text-center font-body text-school-secondary-contrast md:px-12",children:[(0,t.jsx)("h3",{className:"text-2xl md:text-4xl",children:"There are no photo galleries"}),(0,t.jsx)("p",{className:"my-6 text-lg leading-6 md:text-2xl",children:"Photos will be posted after team events have happened"})]})}):(0,t.jsxs)("div",{children:[(0,t.jsx)("div",{className:"mx-auto grid w-full grid-cols-1 gap-4 p-4 sm:container xs:grid-cols-2 sm:gap-8 sm:p-8 md:grid-cols-3 lg:grid-cols-4",children:h.map(e=>{let o=(e=>{if(!e||e.length<1)return;let t=new Set;return e.forEach(e=>{e?.sport&&t.add(e.sport.id)}),1===t.size?t.values().next().value:void 0})(e.teamMappings?.map(({team:e})=>e));return(0,t.jsx)(i.PhotoCard,{link:(0,r.getContentUrl)("gallery",e.id,e.customSlugs?.[0]?.slugPath),title:e.title??void 0,backgroundImage:e.primaryPhoto?.imageUrl??e.photos?.[0]?.imageUrl??void 0,numberOfPhotos:e.photoCount||0,date:(0,s.default)(e.createdDatetimeUtc).format("M/D"),Icon:(0,t.jsx)(i.ActivityIcon,{activity:o?Number(o):void 0})},e.id)})}),m&&(0,t.jsx)("div",{className:"py-16",children:(0,t.jsx)(a.InfiniteLoadingTriggerComponent,{isLoading:v,onIntersecting:b})})]})})}],28059)},93748,e=>{"use strict";var t=e.i(43476),i=e.i(73375),s=e.i(18566),o=e.i(71645),a=e.i(29857),n=e.i(84463);e.s(["PwaSmartBackButtonComponent",0,function(){let e=(0,a.useStandaloneDisplayMode)(),r=(0,s.useRouter)(),[l,c]=(0,o.useState)(null);return((0,o.useEffect)(()=>{if(!e)return;let t=()=>{c((0,n.peekPwaNavigationOrigin)())};return t(),window.addEventListener(n.PWA_NAVIGATION_HISTORY_EVENT,t),window.addEventListener("pageshow",t),window.addEventListener("focus",t),()=>{window.removeEventListener(n.PWA_NAVIGATION_HISTORY_EVENT,t),window.removeEventListener("pageshow",t),window.removeEventListener("focus",t)}},[e]),e&&l)?(0,t.jsxs)("button",{type:"button",className:"inline-flex items-center gap-1 rounded-md px-2 py-1 font-body text-sm font-semibold text-current transition-colors hover:bg-white/15 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-current focus-visible:ring-offset-2 focus-visible:ring-offset-transparent",onClick:()=>{let e=(0,n.popPwaNavigationOrigin)({notify:!1});e&&("sports-panel"===e.type&&(0,n.setPendingPwaPanelReopen)("sports"),"more-panel"===e.type&&(0,n.setPendingPwaPanelReopen)("more"),r.push(e.url),window.setTimeout(()=>{c((0,n.peekPwaNavigationOrigin)())},0))},"aria-label":"Back",children:[(0,t.jsx)(i.ChevronLeft,{className:"h-5 w-5","aria-hidden":"true"}),(0,t.jsx)("span",{children:"Back"})]}):null}])},44834,e=>{"use strict";var t=e.i(43476),i=e.i(7670),s=e.i(69423),o=e.i(93748),a=e.i(29857),n=e.i(67479);e.s(["AthletesBannerDisplayComponent",0,function({children:e,outerContainerClassNames:r,bgImageClassNames:l,bgImageHeight:c,bgImageWidth:d,bgImageSrc:u,schoolSecondaryColor:h}){let p=(0,a.useStandaloneDisplayMode)(),m=(0,n.isColorWhite)(h);return p?(0,t.jsxs)("div",{className:(0,i.default)("flex min-h-20 flex-col items-stretch justify-center gap-2 bg-school-secondary px-4 py-5 text-center text-school-secondary-contrast",{"border-b-[6px] border-school-primary":m}),"data-testid":"pwa-athletes-banner-header",children:[(0,t.jsx)("div",{className:"self-start",children:(0,t.jsx)(o.PwaSmartBackButtonComponent,{})}),(0,t.jsx)("div",{className:"flex w-full items-center justify-center [&>*]:!pt-0",children:e})]}):(0,t.jsxs)("div",{className:(0,i.default)(r,{"border-b-[6px] border-school-primary":m}),"data-testid":"athletes-banner-section",children:[(0,t.jsx)(s.NextImageWithFallbackComponent,{src:u,alt:"",width:d,height:c,className:l,role:"none"}),(0,t.jsx)("div",{className:"absolute",children:e})]})}])},90657,e=>{"use strict";var t=e.i(43476),i=e.i(72171),s=e.i(71645),o=e.i(38648);function a({onIntersecting:e}){let i=(0,s.useRef)(null),{height:n}=(0,o.default)(),r=1.5*n;return(0,s.useEffect)(()=>{let t=()=>{if(i.current){let{offsetTop:t}=i.current;t<=window.scrollY+n+r&&e()}};return window.addEventListener("scroll",t),()=>{window.removeEventListener("scroll",t)}},[n,r,e]),(0,t.jsx)("div",{ref:i})}e.s(["InfiniteLoadingTriggerComponent",0,function({isLoading:e,onIntersecting:s}
1){return e?(0,t.jsx)(i.LoaderComponent,{className:"min-h-16",size:"lg"}):(0,t.jsx)(a,{onIntersecting:s})}],90657)},83857,e=>{"use strict";e.i(47167);var t,i=((t=i||{}).NEWS="/api/news/",t.MEDIA_PHOTOS_GALLERY="/api/media/photos/gallery/",t.EVENTS_SCORES="/api/events/scores/",t.MEDIA_PHOTOS="/api/media/photos/",t.TEAM_SCHEDULE="/api/team/schedule/",t.SCHEDULE="/api/schedule/",t.FACEBOOK_POST="/api/socials/facebook/post/",t.FACEBOOK="/api/socials/facebook/",t);let s=(e,t,i="GET")=>async s=>{let o,a=e;if("GET"===i){let t=new URLSearchParams(Object.fromEntries(Object.entries(s).filter(([,e])=>null!=e).map(([e,t])=>[e,String(t)])));a=`${e}?${t.toString()}`}else o=JSON.stringify(s);let n={Authorization:"Bearer 4525116d-b7c9-4af3-ae24-932092b3f887"};"POST"===i&&(n["Content-Type"]="application/json");try{let e=await fetch(a,{method:i,headers:n,body:o});if(!e.ok)throw Error(`${t}: ${e.status} ${e.statusText}`);let{data:s}=await e.json();return s||null}catch(e){return null}},o={getNews:s("/api/news/","Failed to fetch news"),getPhotosFromGallery:s("/api/media/photos/gallery/","Failed to fetch photo"),getEventsWithScores:s("/api/events/scores/","Failed to fetch events with scores"),getPhotoGalleries:s("/api/media/photos/","Failed to fetch photo galleries"),getTeamSchedule:s("/api/team/schedule/","Failed to fetch team schedule"),getSchedule:s("/api/schedule/","Failed to fetch schedule"),getFacebookPost:s("/api/socials/facebook/post/","Failed to fetch Facebook post"),getFacebookProfile:s("/api/socials/facebook/","Failed to fetch Facebook")};e.s(["apiClient",0,o])},41097,e=>{"use strict";let t={post:"news",page:"page",gallery:"media/photos"};e.s(["getContentUrl",0,(e,i,s)=>s?`/${t[e]}/${s}`:`/${t[e]}/${i}`])}]);

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.