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]="63ccea3e-799f-5e10-8d78-ae61b68d3da7")}catch(e){}}(); 3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2465],{34179:function(e,t,a){"use strict";var r=this&&this.__rest||function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(a[r[o]]=e[r[o]]);return a},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleAnalytics=void 0;let i=o(a(76692)),n=a(78959);t.GoogleAnalytics=e=>{var t=r(e,[]);return(0,n.formatData)(i.default,t)}},36390:()=>{},43270:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=t.sendGTMEvent=t.GoogleTagManager=t.YouTubeEmbed=t.GoogleMapsEmbed=void 0;var o=a(55295);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return r(o).default}});var i=a(63871);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return r(i).default}});var n=a(91728);Object.defineProperty(t,"GoogleTagManager",{enumerable:!0,get:function(){return n.GoogleTagManager}}),Object.defineProperty(t,"sendGTMEvent",{enumerable:!0,get:function(){return n.sendGTMEvent}});var l=a(76206);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return l.GoogleAnalytics}}),Object.defineProperty(t,"sendGAEvent",{enumerable:!0,get:function(){return l.sendGAEvent}})},51629:(e,t,a)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=t.GoogleMapsEmbed=t.GoogleAnalytics=void 0;var r=a(34179);Object.defineProperty(t,"GoogleAnalytics",{enumerable:!0,get:function(){return r.GoogleAnalytics}});var o=a(78744);Object.defineProperty(t,"GoogleMapsEmbed",{enumerable:!0,get:function(){return o.GoogleMapsEmbed}});var i=a(84544);Object.defineProperty(t,"YouTubeEmbed",{enumerable:!0,get:function(){return i.YouTubeEmbed}})},55295:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{apiKey:t,...a}=e,r={...a,key:t},{html:l}=(0,i.GoogleMapsEmbed)(r);return(0,o.jsx)(n.default,{height:r.height||null,width:r.width||null,html:l,dataNtpc:"GoogleMapsEmbed"})};let o=a(54568),i=a(51629),n=r(a(57175))},56241:e=>{"use strict";e.exports=JSON.parse('{"id":"google-maps-embed","description":"Embed a Google Maps embed on your webpage","website":"https://developers.google.com/maps/documentation/embed/get-started","html":{"element":"iframe","attributes":{"loading":"lazy","src":{"url":"https://www.google.com/maps/embed/v1/place","slugParam":"mode","params":["key","q","center","zoom","maptype","language","region"]},"referrerpolicy":"no-referrer-when-downgrade","frameborder":"0","style":"border:0","allowfullscreen":true,"width":null,"height":null}}}')},58749:(e,t,a)=>{"use strict";a.d(t,{A:()=>g});var r=a(54568),o=a(13414),i=a(52831),n=a(17191),l=a(44180),s=a(7620),u=a(85459),d=a(94703);let c={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},p={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 g(e){var t;
3let[a,g]=(0,s.useState)(!1),[f,b]=(0,s.useState)(),y=500===e.statusCode?e.error:void 0;(0,s.useEffect)(()=>{y&&b(l.Cp(y))},[y]);let h=(()=>{switch(e.statusCode){case 404:return c;case 500:return p;default:return}})();return(0,r.jsxs)(o.default,{component:"section",sx:m.section,children:[h&&(0,r.jsx)(u.A,{src:h.src,alt:"",style:m.image}),(0,r.jsxs)(d.A,{removeMarginBottom:!1,size:"l",color:"primary",sx:{marginTop:2},children:["ERROR ",e.statusCode]}),(0,r.jsx)(n.default,{component:"h1",variant:"h1",gutterBottom:!0,children:404===e.statusCode?"We couldn't find this page":"This page isn't working"}),(0,r.jsx)(n.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,r.jsx)(o.default,{sx:m.callToAction,children:(()=>{switch(e.statusCode){case 404:return(0,r.jsx)(i.default,{href:"/",variant:"contained",color:"primary",size:"medium",disableElevation:!0,disableRipple:!0,children:"Go to homepage"});case 500:return(0,r.jsxs)(o.default,{sx:m.callToActionWrapper,children:[(0,r.jsx)(i.default,{variant:"contained",color:"primary",size:"medium",disableElevation:!0,disableRipple:!0,onClick:()=>e.resetAction(),children:"Reload this page"}),(0,r.jsx)(i.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,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.default,{component:"p",variant:"body2",gutterBottom:!0,children:"Error ID: ".concat(f)}),(0,r.jsx)(i.default,{variant:"contained",color:"error",size:"small",onClick:()=>g(!a),disableElevation:!0,disableRipple:!0,children:"Toggle error"}),a&&(0,r.jsx)("pre",{children:null==(t=e.error)?void 0:t.stack})]})]})}},62942:(e,t,a)=>{"use strict";var r=a(42418);a.o(r,"useParams")&&a.d(t,{useParams:function(){return r.useParams}}),a.o(r,"usePathname")&&a.d(t,{usePathname:function(){return r.usePathname}}),a.o(r,"useRouter")&&a.d(t,{useRouter:function(){return r.useRouter}}),a.o(r,"useSearchParams")&&a.d(t,{useSearchParams:function(){return r.useSearchParams}}),a.o(r,"useServerInsertedHTML")&&a.d(t,{useServerInsertedHTML:function(){return r.useServerInsertedHTML}})},63411:(e,t,a)=>{"use strict";a.d(t,{$$:()=>o,$I:()=>u,Cf:()=>d,KO:()=>c,b:()=>i,gE:()=>l,l3:()=>n,lO:()=>s,qD:()=>r,yg:()=>p});let r={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"},i={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."}},n={sortOrder:{displayName:"Sort Order",type:"Text",defaultValue:"alphabetical",group:"style",validations:{in:[{value:"alphabetical",displayName:"Alphabetical"},{value:"manual",displayName:"Manual"}]}}},l={hideImages:{displayName:"Hide images",type:"Boolean",defaultValue:!1,group:"style"}},s={src:{displayName:"Image source",type:"Media",defaultValue:void 0,group:"content",validations:{bindingSourceType:["asset","manual"]}}},u={altText:{displayName:"Alt text",type:"Text",defaultValue:"",group:"content",validations:{bindingSourceType:["asset","manual","entry"]}}}
3,d={hasRoundedCorners:{displayName:"Rounded corners",type:"Boolean",defaultValue:!0,group:"style"}},c={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"}]}}},p={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"]}}}},63871:function(e,t,a){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){let{html:t,scripts:a,stylesheets:r}=(0,n.YouTubeEmbed)(e);return(0,o.jsx)(l.default,{height:e.height||null,width:e.width||null,html:t,dataNtpc:"YouTubeEmbed",children:null==a?void 0:a.map(e=>(0,o.jsx)(i.default,{src:e.url,strategy:s[e.strategy],stylesheets:r},e.url))})};let o=a(54568),i=r(a(8139)),n=a(51629),l=r(a(57175)),s={server:"beforeInteractive",client:"afterInteractive",idle:"lazyOnload",worker:"worker"}},69333:e=>{"use strict";e.exports=JSON.parse('{"id":"youtube-embed","description":"Embed a YouTube embed on your webpage.","website":"https://github.com/paulirish/lite-youtube-embed","html":{"element":"lite-youtube","attributes":{"videoid":null,"playlabel":null}},"stylesheets":["https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.css"],"scripts":[{"url":"https://cdn.jsdelivr.net/gh/paulirish/lite-youtube-embed@master/src/lite-yt-embed.js","strategy":"idle","location":"head","action":"append"}]}')},76692:e=>{"use strict";e.exports=JSON.parse('{"id":"google-analytics","description":"Install a Google Analytics tag on your website","website":"https://analytics.google.com/analytics/web/","scripts":[{"url":"https://www.googletagmanager.com/gtag/js","params":["id"],"strategy":"worker","location":"head","action":"append"},{"code":"window.dataLayer=window.dataLayer||[];window.gtag=function gtag(){window.dataLayer.push(arguments);};gtag(\'js\',new Date());gtag(\'config\',\'${args.id}\')","strategy":"worker","location":"head","action":"append"}]}')},78744:function(e,t,a){"use strict";var r=this&&this.__rest||function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(a[r[o]]=e[r[o]]);return a},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.GoogleMapsEmbed=void 0;let i=o(a(56241)),n=a(78959);t.GoogleMapsEmbed=e=>{var t=r(e,[]);return(0,n.formatData)(i.default,t)}},78959:(e,t)=>{"use strict";function a(e,t,r=!1){return t?Object.keys(e).filter(e=>r?!t.includes(e):t.includes(e)).reduce((t,a)=>(t[a]=e[a],t),{}):{}}function r(e,t,a,r){let o=r&&Object.keys(r).length>0?new URL(Object.values(r)[0],e):new URL(e);return t&&a&&t.forEach(e=>{a[e]&&o.searchParams.set(e,a[e])}),o.toString()}function o(e,t,a,o,i){var n;if(!t)return`<${e}></${e}>`;let l=(null==(n=t.src)?void 0:n.url)?Object.assign(Object.assign({},t),{src:r(t.src.url,t.src.params,o,i)}):t,s=Object.keys(Object.assign(Object.assign({},l),a)).reduce((e,t)=>{let r=null==a?void 0:a[t],o=l[t],i=null!=r?r:o,n=!0===i?t:`${t}="${i}"`;return i?e+` ${n}`:e},"");return`<${e}${s}></${e}>`}Object.defineProperty(t,"__esModule",{value:!0}),t.formatData=t.createHtml=t.formatUrl=void 0,t.formatUrl=r,t.createHtml=o,t.formatData=function(e,t){var i,n,l,s,u;let d=a(t,null==(i=e.scripts)?void 0:i.reduce((e,t)=>[...e,...Array.isArray(t.params)?t.params:[]],[])),c=a(t,null==(l=null==(n=e.html)?void 0:n.attributes.src)?void 0:l.params),p=a(t,[null==(u=null==(s=e.html)?void 0:s.attributes.src)?void 0:u.slugParam]),m=a(t,[...Object.keys(d),...Object.keys(c),...Object.keys(p)],!0);return Object.assign(Object.assign({},e),{html:e.html?o(e.html.element,e.html.attributes,m,c,p):null,scripts:e.scripts?e.scripts.map(e=>Object.assign(Object.assign({},e),{url:r(e.url,e.params,d)})):null})}},84544:function(e,t,a){"use strict";var r=this&&this.__rest||function(e,t){var a={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(a[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(a[r[o]]=e[r[o]]);return a}
3,o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.YouTubeEmbed=void 0;let i=o(a(69333)),n=a(78959);t.YouTubeEmbed=e=>{var t=r(e,[]);return(0,n.formatData)(i.default,t)}},85459:(e,t,a)=>{"use strict";a.d(t,{A:()=>n}),a(36390);var r=a(77785),o=a(54568),i={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"},n=e=>{let{src:t,altText:a="",loading:n="lazy",decoration:l="none",hasRoundedCorners:s=!0,style:u,className:d,onLoad:c,onError:p,ImageComponent:m="img",...g}=e;return(0,o.jsx)("figure",{className:r(i.figureContainer,{[i["figure-hasBorder"]]:"border"===l,[i["figure-hasBoxShadow"]]:"shadow"===l,[i["figure-hasRoundedCorners"]]:s},d),style:u,children:(0,o.jsx)(m,{className:r(i.image),alt:a,loading:n,src:t,onLoad:c,onError:p,...g})})}},94703:(e,t,a)=>{"use strict";a.d(t,{d:()=>r,A:()=>s});let r={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:{...a(63411).$$},children:{displayName:"Content",type:"Text",defaultValue:"Overline",group:"content",validations:{bindingSourceType:["entry","manual"]}}}};var o=a(54568),i=a(17191),n=a(77785),l=a.n(n);a(7620);let s=e=>{let{children:t,size:a="m",color:r="primary",removeMarginBottom:n,className:s,sx:u}=e;return(0,o.jsx)(i.default,{className:l()("overline--color-".concat(r),"overline--size-".concat(a),s),component:"p",variant:"overline",gutterBottom:!n,sx:u,children:t})}}}]); 4//# sourceMappingURL=2465-6e838638ac4fe7be.js.map 5//# debugId=63ccea3e-799f-5e10-8d78-ae61b68d3da7
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.