PageSourceSearch

https://captainstarlight.org.au/_next/static/chunks/pages/%5Bslug%5D-a824937246683135.js

js captainstarlight.org.au collected 2026-10-09 22:42:06 UTC 7,924 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[219],{9516:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/[slug]",function(){return l(5932)}])},2719:function(e,t,l){"use strict";var r=l(2676),s=l(6308),n=l(1518),a=l.n(n),i=l(6698),o=l.n(i),c=l(874),d=l.n(c),x=l(781);t.Z=e=>{let{statusCode:t=404}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.Z,{}),(0,r.jsx)(a(),{children:(0,r.jsx)("title",{children:"Error"})}),(0,r.jsxs)("main",{className:"min-h-screen flex flex-col items-center justify-center bg-purple-dark bg-page-stars bg-repeat-y bg-top p-12 text-center",children:[(0,r.jsxs)("h1",{className:"font-extrabold text-6xl text-white my-8",children:["Oops!",(0,r.jsx)("br",{}),"Page not found."]}),(0,r.jsx)("div",{className:"w-full max-w-xl",children:(0,r.jsx)(o(),{layout:"responsive",width:203,height:147,src:"/img/surprised-captain.svg",alt:"Surprised Captain"})}),(0,r.jsxs)(d(),{href:"/",className:"bg-yellow text-purple font-extrabold rounded-full px-8 py-4 my-8",children:["Go to ",s.px]})]})]})}},8328:function(e,t,l){"use strict";var r=l(2676),s=l(6417);let n=Object.freeze({"planets-1":"bg-header-planets-1","planets-2":"bg-header-planets-2","planet-starlight":"bg-header-planet-starlight",space:"bg-header-space",satellite:"bg-header-satellite",museum:"bg-header-museum",activities:"bg-header-activities"});t.Z=e=>{let{bg:t="planets-1",children:l}=e;return(0,r.jsxs)("div",{className:"py-20 lg:py-40 bg-purple-dark text-yellow overflow-visible",children:[(0,r.jsx)("a",{id:"header",className:"block absolute z-10 top-0 left-1/2 -translate-x-1/2 w-full max-w-[1440px] bg-transparent bg-no-repeat bg-top ".concat(n[t]," bg-auto aspect-header"),style:{top:"-4rem",WebkitMaskImage:"linear-gradient(to bottom, black 75%, transparent 99%)",maskImage:"linear-gradient(to bottom, black 75%, transparent 99%)"}}),(0,r.jsx)(s.Z,{className:"text-center relative z-20",children:(0,r.jsx)("h1",{className:"block max-w-4xl text-6xl lg:text-7xl xl:text-8xl font-extrabold mx-auto break-words",children:l})})]})}},2766:function(e,t,l){"use strict";l.d(t,{Z:function(){return m}});var r=l(2676),s=l(6417);function n(){return(0,r.jsx)("div",{className:"border-b bg-raspberry border-raspberry text-white relative",style:{zIndex:999},children:(0,r.jsx)(s.Z,{children:(0,r.jsxs)("div",{className:"py-2 text-center text-sm",children:["This page is a preview."," ",(0,r.jsx)("a",{href:"/api/exit-preview",className:"underline hover:text-cyan duration-200 transition-colors",children:"Click here"})," ","to exit preview mode."]})})})}var a=l(874),i=l.n(a),o=l(6698),c=l.n(o);function d(e){let{links:t=[],text:l="",youtubeUrl:n=""}=e;return(0,r.jsx)("footer",{className:"bg-purple text-white py-24 mt-auto relative z-20",children:(0,r.jsxs)(s.Z,{children:[(0,r.jsx)("div",{className:"pb-12 text-sm font-extrabold text-yellow border-b mb-12 flex flex-col lg:flex-row",children:(0,r.jsxs)("a",{href:n,rel:"noreferrer noopener",target:"_blank",className:"flex flex-row items-center",children:[(0,r.jsx)(c(),{width:48,height:48,src:"/img/icon-youtube.svg",alt:"YouTube logo"}),(0,r.jsx)("span",{className:"ml-2",children:"Watch the fun — Youtube"})]})}),(0,r.jsx)("div",{className:"font-extrabold text-lg mb-12",children:t.map(e=>{let{text:t,href:l}=e;return(0,r.jsx)(i(),{href:"//"===l?"/":l?l.replace(/\/\//g,"/"):"/",className:"hover:underline block lg:inline mt-6 lg:mt-0 lg:mr-8 relative z-10",children:t},t)})}),(0,r.jsxs)("div",{className:"lg:flex flex-row justify-items-end",children:[(0,r.jsx)("div",{className:"max-w-2xl",children:l.split("\n").map(e=>(0,r.jsx)("p",{className:"text-sm mt-4",children:e},e))}),(0,r.jsx)("a",{href:"https://starlight.org.au",className:"inline-block ml-auto mt-8 lg:mt-auto",children:(0,r.jsx)(c(),{width:163,height:53,src:"/img/starlight-logo.svg",alt:"Starlight logo"})})]})]})})}var x=l(781),u=l(5271),h=e=>{let{links:t=[]}=e,[l,s]=(0,u.useReducer)(e=>!e,!1);return(0,u.useEffect)(()=>{l?document.body.style.overflow="hidden":document.body.style.removeProperty("overflow")},[l]),(0,r.jsxs)("nav",{className:"bg-purple-dark pt-8 pb-16 font-bold text-lg text-white",children:[(0,r.jsxs)("div",{className:"relative z-70 flex flex-row justify-between items-center px-8 md:px-16 container mx-auto",children:[(0,r.jsx)("div",{className:"relative inline-block w-24 h-8 xl:w-40 xl:h-12",children:(0,r.jsx)(c(),{src:"/img/starlight-logo.svg",alt:"Starlight Children's Foundation logo",role:"presentation",layout:"fill",objectFit:"contain",objectPosition:"left center"})}),t.map(e=>{let{text:t,href:l}=e;return(0,r.jsx)(i(),{href:"//"===l?"/":l?l.replace(/\/\//g,"/"):"/",className:"sr-only lg:not-sr-only hover:underline mx-4 text-center",children:t},t)}),(0,r.jsxs)("button",{type:"button",className:"text-white w-8 h-8 relative focus:outline-none lg:hidden",onClick:s,children:[(0,r.jsx)("span",{className:"sr-only",children:"Open main menu"}),(0,r.jsxs)("div",{className:"block w-6 absolute left-1/2 top-1/2   transform  -translate-x-1/2 -translate-y-1/2",children:[(0,r.jsx)("span",{"aria-hidden":"true",className:"block absolute h-0.5 w-6 bg-current transform transition duration-500 ease-in-out ".concat(l?"rotate-45":"-translate-y-1.5")}),(0,r.jsx)("span",{"aria-hidden":"true",className:"block absolute  h-0.5 w-6 bg-current   transform transition duration-500 ease-in-out ".concat(l?"opacity-0":"")}
1),(0,r.jsx)("span",{"aria-hidden":"true",className:"block absolute  h-0.5 w-6 bg-current transform  transition duration-500 ease-in-out ".concat(l?"-rotate-45":"translate-y-1.5")})]})]})]}),(0,r.jsx)("div",{className:"flex flex-col pt-32 pb-16 px-16 bg-black text-white fixed inset-0 z-60 motion-safe:transition-opacity duration-700 ".concat(l?"opacity-1":"opacity-0 pointer-events-none"),children:t.map(e=>{let{text:t,href:l}=e;return(0,r.jsx)(i(),{href:"//"===l?"/":l?l.replace(/\/\//g,"/"):"/",className:"text-3xl hover:underline my-4 text-center",onClick:s,children:t},t)})})]})},m=e=>{let{draftMode:t=!1,siteSettings:l={},className:s="",children:a}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(x.Z,{}),(0,r.jsx)("a",{href:"#content",className:"sr-only focus:not-sr-only",children:(0,r.jsx)("div",{className:"fixed top-0 left-0 z-50 bg-black text-white font-extrabold block p-4 underline",children:"Skip to content"})}),(0,r.jsxs)("div",{className:s,children:[t?(0,r.jsx)(n,{}):(0,r.jsx)(r.Fragment,{}),(0,r.jsx)(h,{links:null==l?void 0:l.headerNavigation}),(0,r.jsx)("main",{id:"content",children:a}),(0,r.jsx)(d,{links:null==l?void 0:l.footerNavigation,text:null==l?void 0:l.footerText,youtubeUrl:null==l?void 0:l.youtubeUrl})]})]})}},5932:function(e,t,l){"use strict";l.r(t),l.d(t,{__N_SSG:function(){return m},default:function(){return p}});var r=l(2676),s=l(1518),n=l.n(s),a=l(3288),i=l(2719),o=l(1361),c=l(4217),d=l(2766),x=l(8328),u=l(366),h=l(6308),m=!0;function p(e){let{data:t={},draftMode:l,siteSettings:s}=e,m=(0,a.useRouter)(),p=null==t?void 0:t.page,g=null==p?void 0:p.slug;return m.isFallback||g?(0,r.jsxs)(d.Z,{draftMode:l,siteSettings:s,children:[(0,r.jsxs)(n(),{children:[(0,r.jsx)("title",{children:(null==p?void 0:p.title)||(null==s?void 0:s.title)}),(0,r.jsx)("meta",{name:"description",content:(null==p?void 0:p.excerpt)||(null==s?void 0:s.description)||h.KM})]}),m.isFallback?(0,r.jsx)("div",{className:"flex py-16 px-8 justify-center items-center",children:(0,r.jsx)(u.Z,{color:"purple",size:"xl"})}):(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n(),{children:p.coverImage&&(0,r.jsx)("meta",{property:"og:image",content:(0,c.i)(p.coverImage).width(1200).height(627).fit("crop").url()},"ogImage")}),!!(null==p?void 0:p.pageHeaderStyle)&&(0,r.jsx)(x.Z,{bg:p.pageHeaderStyle,children:(null==p?void 0:p.pageHeaderText)||(null==p?void 0:p.title)}),(0,r.jsx)(o.Z,{content:p.content,siteSettings:s})]})]}):(0,r.jsx)(i.Z,{statusCode:404})}}},function(e){e.O(0,[395,698,670,44,67,888,774,179],function(){return e(e.s=9516)}),_N_E=e.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.