1 2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="2e7efd35-b3ce-59c4-87ba-a9c077627e9e")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9077],{32352:(e,a,t)=>{Promise.resolve().then(t.bind(t,46913))},36390:()=>{},46913:(e,a,t)=>{"use strict";t.r(a),t.d(a,{default:()=>l});var i=t(54568),o=t(58749);function l(e){let{error:a,reset:t}=e;return(0,i.jsx)(o.A,{statusCode:500,error:a,resetAction:t})}},58749:(e,a,t)=>{"use strict";t.d(a,{A:()=>A});var i=t(54568),o=t(13414),l=t(52831),r=t(17191),n=t(44180),d=t(7620),s=t(85459),u=t(94703);let p={src:"/_next/static/media/404.a0cb07f3.webp",height:496,width:462,blurDataURL:"data:image/webp;base64,UklGRtQAAABXRUJQVlA4WAoAAAAQAAAABgAABwAAQUxQSDkAAAAAAEEPZDZQAAPkz/f/mwEn+v////8uBJv////+LQG9///zaAMBjfr+hLeCAA9nYDPOzgACBAIAAAAAVlA4IHQAAAAQAgCdASoHAAgAAkA4JbACdLoAArrQmHigAP6b2rdv/43j5Cc/1auSfpv8rXBId6ub316vX4PV6aA1pNTjbBLMs1R60nfzFNPQf9xR5F7oc2vsMn3iv/Y5M/wQnxj1Vh+z0XE259Yy129+OteLM/g3+oAAAA==",blurWidth:7,blurHeight:8},c={src:"/_next/static/media/500.0c8d5bd4.webp",height:496,width:462,blurDataURL:"data:image/webp;base64,UklGRtQAAABXRUJQVlA4WAoAAAAQAAAABgAABwAAQUxQSDkAAAAAAEEPZDZQAAPlz/f/mgAo+v////8tBJz////+LAG+///zZwMBjfr9hLeBABBnYDTOzgACBAIAAAAAVlA4IHQAAAAwAgCdASoHAAgAAkA4JbACdLoAAxoeHtj7wAD+m9q3b/+N+/mO2nY+n4/TrnfVHmXr4Xr6PwKi04H7GIe4Xk0Dv3H/m2tub5M+taf9xR5F7oc2vsMnvff/RyZ/ghPjHqvFezzHJSU31RmQ3nrxfsh3NzAAAA==",blurWidth:7,blurHeight:8},m={section:{display:"flex",justifyContent:"center",alignItems:"center",flexDirection:"column",paddingBlock:12,paddingInline:4,textAlign:"center"},image:{display:"inline-block",height:"auto",width:"7.125rem"},callToAction:{marginTop:2,display:"flex",gap:2},callToActionWrapper:{display:"flex",flexDirection:"row",gap:2,marginBottom:3}};function A(e){var a;let[t,A]=(0,d.useState)(!1),[g,h]=(0,d.useState)(),y=500===e.statusCode?e.error:void 0;(0,d.useEffect)(()=>{y&&h(n.Cp(y))},[y]);let v=(()=>{switch(e.statusCode){case 404:return p;case 500:return c;default:return}})();return(0,i.jsxs)(o.default,{component:"section",sx:m.section,children:[v&&(0,i.jsx)(s.A,{src:v.src,alt:"",style:m.image}),(0,i.jsxs)(u.A,{removeMarginBottom:!1,size:"l",color:"primary",sx:{marginTop:2},children:["ERROR ",e.statusCode]}),(0,i.jsx)(r.default,{component:"h1",variant:"h1",gutterBottom:!0,children:404===e.statusCode?"We couldn't find this page":"This page isn't working"}),(0,i.jsx)(r.default,{component:"p",variant:"body2",gutterBottom:!0,children:404===e.statusCode?"We couldn't find the page you were looking for, let's get you back on track.":"Uh oh! We ran into an internal server error and couldn't complete your request."}),(0,i.jsx)(o.default,{sx:m.callToAction,children:(()=>{switch(e.statusCode){case 404:return(0,i.jsx)(l.default,{href:"/",variant:"contained",color:"primary",size:"medium",disableElevation:!0,disableRipple:!0,children:"Go to homepage"});case 500:return(0,i.jsxs)(o.default,{sx:m.callToActionWrapper,children:[(0,i.jsx)(l.default,{variant:"contained",color:"primary",size:"medium",disableElevation:!0,disableRipple:!0,onClick:()=>e.resetAction(),children:"Reload this page"}),(0,i.jsx)(l.default,{variant:"outlined",color:"inherit",size:"medium",disableElevation:!0,disableRipple:!0,href:"https://status.code.org/",target:"_blank",rel:"noopener noreferrer",children:"Check status page"})]})}})()}),500===e.statusCode&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(r.default,{component:"p",variant:"body2",gutterBottom:!0,children:"Error ID: ".concat(g)}),(0,i.jsx)(l.default,{variant:"contained",color:"error",size:"small",onClick:()=>A(!t),disableElevation:!0,disableRipple:!0,children:"Toggle error"}),t&&(0,i.jsx)("pre",{children:null==(a=e.error)?void 0:a.stack})]})]})}},63411:(e,a,t)=>{"use strict";t.d(a,{$$:()=>o,$I:()=>s,Cf:()=>u,KO:()=>p,b:()=>l,gE:()=>n,l3:()=>r,lO:()=>d,qD:()=>i,yg:()=>c});let i={displayName:"Size",type:"Text",group:"style",defaultValue:"m",validations:{in:[{value:"l",displayName:"Large"},{value:"m",displayName:"Medium"},{value:"s",displayName:"Small"},{value:"xs",displayName:"Extra Small"}]}},o={displayName:"Remove margin bottom",type:"Boolean",defaultValue:!1,group:"style"},l={videoTitle:{displayName:"Video title",type:"Text",group:"content",description:"The title of the video. This will double as the caption under the video player.",validations:{bindingSourceType:["entry","manual"]}},videoYouTubeId:{displayName:"Video YouTube ID",type:"Text",group:"content",description:"The YouTube ID of the video. This is the unique identifier for the video on YouTube.",validations:{bindingSourceType:["entry","manual"]}},videoFallback:{displayName:"Video fallback",type:"Text",group:"content",description:"This is the URL of the video that will be used in place of the YouTube video if YouTube is blocked.",validations:{bindingSourceType:["entry","manual"]}},videoShowCaption:{displayName:"Show video caption",type:"Boolean",defaultValue:!1,group:"style",description:"Check this to show a caption (video title) under the video player."}},r={sortOrder:{displayName:"Sort Order",type:"Text",defaultValue:"alphabetical",group:"style",validations:{in:[{value:"alphabetical",displayName:"Alphabetical"},{value:"manual",displayName:"Manual"}]}}},n={hideImages:{displayName:"Hide images",type:"Boolean",defaultValue:!1,group:"style"}}
3,d={src:{displayName:"Image source",type:"Media",defaultValue:void 0,group:"content",validations:{bindingSourceType:["asset","manual"]}}},s={altText:{displayName:"Alt text",type:"Text",defaultValue:"",group:"content",validations:{bindingSourceType:["asset","manual","entry"]}}},u={hasRoundedCorners:{displayName:"Rounded corners",type:"Boolean",defaultValue:!0,group:"style"}},p={padding:{displayName:"Padding",type:"Text",group:"style",description:"Adds medium or large padding to the section.",defaultValue:"l",validations:{in:[{value:"m",displayName:"Medium"},{value:"l",displayName:"Large"},{value:"none",displayName:"None"}]}}},c={id:{displayName:"Section ID",type:"Text",group:"content",description:"Adds a custom ID to a section; can be used for skip links.",validations:{bindingSourceType:["manual"]}}}},85459:(e,a,t)=>{"use strict";t.d(a,{A:()=>r}),t(36390);var i=t(77785),o=t(54568),l={figureContainer:"image-module__figureContainer___jYA2e",image:"image-module__image___vystJ","figure-hasBorder":"image-module__figure-hasBorder___fP8EU","figure-hasBoxShadow":"image-module__figure-hasBoxShadow___bqnjE","figure-hasRoundedCorners":"image-module__figure-hasRoundedCorners___aJWq0"},r=e=>{let{src:a,altText:t="",loading:r="lazy",decoration:n="none",hasRoundedCorners:d=!0,style:s,className:u,onLoad:p,onError:c,ImageComponent:m="img",...A}=e;return(0,o.jsx)("figure",{className:i(l.figureContainer,{[l["figure-hasBorder"]]:"border"===n,[l["figure-hasBoxShadow"]]:"shadow"===n,[l["figure-hasRoundedCorners"]]:d},u),style:s,children:(0,o.jsx)(m,{className:i(l.image),alt:t,loading:r,src:a,onLoad:p,onError:c,...A})})}},94703:(e,a,t)=>{"use strict";t.d(a,{d:()=>i,A:()=>d});let i={id:"overline",name:"Overline",category:"10: Deprecated",thumbnailUrl:"https://contentful-images.code.org/90t6bu6vlf76/30ubXKEp07H0liw3w6jad/222daf47eb2d7f14dfef4e9711522217/component_overline_thumbnail.png",tooltip:{description:"A short, all-caps preheader used to introduce or categorize content.",imageUrl:"https://contentful-images.code.org/90t6bu6vlf76/2I1BvrvBam8kLhb248w1z4/db2323e89e0ee68853f276417ceada74/component_overline_tooltip.png"},builtInStyles:["cfTextAlign"],variables:{color:{displayName:"Color",type:"Text",group:"style",defaultValue:"primary",validations:{in:[{value:"primary",displayName:"Primary"},{value:"secondary",displayName:"Secondary"},{value:"white",displayName:"White"}]}},size:{displayName:"Text Size",type:"Text",group:"style",defaultValue:"m",validations:{in:[{value:"s",displayName:"Small"},{value:"m",displayName:"Medium"},{value:"l",displayName:"Large"}]}},removeMarginBottom:{...t(63411).$$},children:{displayName:"Content",type:"Text",defaultValue:"Overline",group:"content",validations:{bindingSourceType:["entry","manual"]}}}};var o=t(54568),l=t(17191),r=t(77785),n=t.n(r);t(7620);let d=e=>{let{children:a,size:t="m",color:i="primary",removeMarginBottom:r,className:d,sx:s}=e;return(0,o.jsx)(l.default,{className:n()("overline--color-".concat(i),"overline--size-".concat(t),d),component:"p",variant:"overline",gutterBottom:!r,sx:s,children:a})}}},e=>{e.O(0,[3035,4676,4180,587,1902,7358],()=>e(e.s=32352)),_N_E=e.O()}]); 4//# sourceMappingURL=error-48dbc56fdd88cccb.js.map 5//# debugId=2e7efd35-b3ce-59c4-87ba-a9c077627e9e
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.