1(self.webpackChunkcep_gatsby_starter_code=self.webpackChunkcep_gatsby_starter_code||[]).push([[2143],{1506:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.default=e.exports,e.exports.__esModule=!0},3552:function(e,t,n){"use strict";function r(e,t){return(r=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)}n.d(t,{Z:function(){return o}})},18:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{Z:function(){return o}})},7154:function(e){function t(){return e.exports=t=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.default=e.exports,e.exports.__esModule=!0,t.apply(this,arguments)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},5354:function(e,t,n){var r=n(9489);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.default=e.exports,e.exports.__esModule=!0},5318:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.default=e.exports,e.exports.__esModule=!0},7316:function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.default=e.exports,e.exports.__esModule=!0},9489:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},e.exports.default=e.exports,e.exports.__esModule=!0,t(n,r)}e.exports=t,e.exports.default=e.exports,e.exports.__esModule=!0},3725:function(e,t,n){"use strict";n.r(t),n.d(t,{onInitialClientRender:function(){return a},onRouteUpdate:function(){return o}});var r=function(e,t){window.DEAnalytics.ajaxRefreshPageTrack({url:e,previousUrl:t})},o=function(e){var t=e.location,n=e.prevLocation,o=n&&n.href?n.href:null;!function(e,t){t&&(window.DEAnalytics?r(e,t):window.addEventListener("DOMContentLoaded",(function(){r(e,t)})))}(t.href,o)},a=function(e,t){var n=document.createElement("script");n.innerHTML=i(t,window.location.hostname),document.body.appendChild(n),h(d(t,window.location.hostname),!1).then((function(e){window.DEAnalytics.ip||window.DEAnalytics.init()})).catch((function(e){console.error(e)}))},i=function(e,t){return"\n let DEAnalyticsInitData = {\n 'key': '".concat(s(e,t),"',\n 'consentManager': true,\n 'consentPreferences': {\n 'Performance Cookies': true,\n 'Functional Cookies': true,\n 'Targeting Cookies': true,\n },\n 'partnershipId': '").concat(e.partnershipId,"',\n 'version': 4,\n 'regionTLD': '").concat(p(u(e,window.location.hostname)),"'\n };\n ")},s=function(e,t){var n=f(e,t);return"PROD"===n?e.prodTrackingId||c(u(e,t),"PROD"):"STAGE"===n?e.stageTrackingId||c(u(e,t),"STAGE"):e.devTrackingId||c(u(e,t),"DEV")},c=function(e,t){if("PROD"===t)switch(e){case"US":return"5seaYkvc7SCITVV9H8tJUYQ77OIYjTzS";case"CA":return"DwsH7rRd0ddwWAe5aeReVmHsp29ZlcBo";case"CO":return"BR87YwOuO1sL2vtjO7BNY1YAurBxhZVu";case"MX":return"cjcOte2SXTiwpetsFfCmHhktC9IYw2IH";case"UK":return"wADmvlIlErBjccOwjNs138oSQIuWS3PA";case"IE":return"8Y9EK0pHiMoLzseeA2gDxUVaMzokEJAQ";case"IN":return"uqB2IEUZYvmXFWImrVDaC8sKC5CNJXjr";default:return"5seaYkvc7SCITVV9H8tJUYQ77OIYjTzS"}else if("STAGE"===t)switch(e){case"US":return"F7GWwYsqIAzJxsU65zfgIKDmFYcIQmvD";case"CA":return"FsNLPj5nPlm3VjwfSu6mFoxUEjmrJIC9";default:return"F7GWwYsqIAzJxsU65zfgIKDmFYcIQmvD"}else switch(e){case"US":return"a9U0PWohUAV2xuKP3FAi09iNt55vEaCM";case"CA":return"IOFdhxdaknfn75IpFfQVx024yJx9axxT";default:return"a9U0PWohUAV2xuKP3FAi09iNt55vEaCM"}},u=function(e,t){var n=f(e,t);if("DEV"===n&&e.extraDevHostnames){var r=e.extraDevHostnames.filter((function(e){return"object"==typeof e}));if(r.length>0){var o=r.find((function(e){return t.includes(e.domain)}));if(o)return o.region}return e.region||"US"}if("STAGE"===n&&e.extraStageHostnames){var a=e.extraStageHostnames.filter((function(e){return"object"==typeof e}));if(a.length>0){var i=a.find((function(e){return t.includes(e.domain)}));if(i)return i.region}return e.region||"US"}if("PROD"===n&&e.extraProdHostnames){var s=e.extraProdHostnames.filter((function(e){return"object"==typeof e}));if(s.length>0){var c=s.find((function(e){return t.includes(e.domain)}));if(c)return c.region}return e.region||"US"}return e.region||"US"},l=function(e,t){var n=null;switch(t){case"DEV":n=e.extraDevHostnames;break;case"STAGE":n=e.extraStageHostnames;break;case"PROD":n=e.extraProdHostnames}if(!n)return null;var r=n.filter((function(e){return"string"==typeof e}));return n.filter((function(e){return"object"==typeof e}
1)).forEach((function(e){r.push(e.domain)})),r.length>0?r:null},p=function(e){switch(e){case"US":return".com";case"UK":return".co.uk";case"CA":return".ca";default:return".com"}},f=function(e,t){var n="DEV";return JSON.stringify(l(e,"DEV")||[]).includes(t)?n="DEV":JSON.stringify(l(e,"STAGE")||[]).includes(t)||/^test-.*pantheonsite.io$/.test(t)?n="STAGE":(JSON.stringify(l(e,"PROD")||[]).includes(t)||/^live-.*pantheonsite.io$/.test(t)||/^.*[.](org|com)$/.test(t)&&!/^.*local.*$/.test(t)&&!/^.*test.*$/.test(t)&&!/^.*dev.*$/.test(t))&&(n="PROD"),n},h=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"text/javascript";return new Promise((function(r,o){try{var a=document.createElement("script");a.type=n,a.async=t,a.src=e,a.addEventListener("load",(function(e){console.log("Script loaded successfully"),r({status:!0})})),a.addEventListener("error",(function(e){o({status:!1,message:"Failed to load the script ï¼{FILE_URL}"})})),document.body.appendChild(a)}catch(i){o(i)}}))},d=function(e,t){var n,r,o,a,i=null;switch(f(e,t)){case"PROD":i="https://apollo.discoveryeducation";break;default:i="https://apollo.dev.discoveryeducation"}return"".concat(i).concat(p(u(e,t)),"/js/enterprise-analytics.min.js?key=").concat((n=new Date,r=("0"+(n.getMonth()+1)).slice(-2),o=("0"+n.getDate()).slice(-2),a=("0"+n.getHours()).slice(-2),"".concat(n.getFullYear()).concat(r).concat(o).concat(a)))}},2393:function(e,t){"use strict";var n=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,a=t.origin,s=t.protocol,c=t.host,u=t.hostname,l=t.port,p=e.location.pathname;!p&&o&&i&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:a,protocol:s,host:c,hostname:u,port:l,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},o=function(e,t){var o=[],a=r(e),i=!1,s=function(){};return{get location(){return a},get transitioning(){return i},_onTransitionComplete:function(){i=!1,s()},listen:function(t){o.push(t);var n=function(){a=r(e),t({location:a,action:"POP"})};return e.addEventListener("popstate",n),function(){e.removeEventListener("popstate",n),o=o.filter((function(e){return e!==t}))}},navigate:function(t){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,l=c.replace,p=void 0!==l&&l;if("number"==typeof t)e.history.go(t);else{u=n({},u,{key:Date.now()+""});try{i||p?e.history.replaceState(u,null,t):e.history.pushState(u,null,t)}catch(h){e.location[p?"replace":"assign"](t)}}a=r(e),i=!0;var f=new Promise((function(e){return s=e}));return o.forEach((function(e){return e({location:a,action:"PUSH"})})),f}}},a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(e,t,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},i=!("undefined"==typeof window||!window.document||!window.document.createElement),s=o(i?window:a()),c=s.navigate;t.V5=s},2098:function(e,t,n){"use strict";t.__esModule=!0,t.shallowCompare=t.validateRedirect=t.insertParams=t.resolve=t.match=t.pick=t.startsWith=void 0;var r,o=n(1143),a=(r=o)&&r.__esModule?r:{default:r};var i=function(e,t){return e.substr(0,t.length)===t},s=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],i=h(o),s=""===i[0],u=f(e),p=0,d=u.length;p<d;p++){var g=!1,v=u[p].route;if(v.default)r={route:v,params:{},uri:t};else{for(var y=h(v.path),b={},w=Math.max(i.length,y.length),P=0;P<w;P++){var j=y[P],E=i[P];if(l(j)){b[j.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===E){g=!0;break}var S=c.exec(j);if(S&&!s){-1===m.indexOf(S[1])||(0,a.default)(!1);var C=decodeURIComponent(E);b[S[1]]=C}else if(j!==E){g=!0;break}}if(!g){n={route:v,params:b,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},c=/^:(.+)/,u=function(e){return c.test(e)},l=function(e){return e&&"*"===e[0]},p=function(e,t){return{route:e,score:e.default?0:h(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?u(t)?e+=2:l(t)?e-=5:e+=3:e+=1,e}),0),index:t}},f=function(e){return e.map(p).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},h=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},d=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},m=["uri","path"];t.startsWith=i,t.pick=s,t.match=function(e,t){return s([{path:e}],t)},t.resolve=function(e,t){if(i(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],a=t.split("?")[0],s=h(r),c=h(a);if(""===s[0])return d(a,o);
1if(!i(s[0],".")){var u=c.concat(s).join("/");return d(("/"===a?"":"/")+u,o)}for(var l=c.concat(s),p=[],f=0,m=l.length;f<m;f++){var g=l[f];".."===g?p.pop():"."!==g&&p.push(g)}return d("/"+p.join("/"),o)},t.insertParams=function(e,t){var n=e.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+h(r).map((function(e){var n=c.exec(e);return n?t[n[1]]:e})).join("/"),s=t.location,u=(s=void 0===s?{}:s).search,l=(void 0===u?"":u).split("?")[1]||"";return i=d(i,a,l)},t.validateRedirect=function(e,t){var n=function(e){return u(e)};return h(e).filter(n).sort().join("/")===h(t).filter(n).sort().join("/")},t.shallowCompare=function(e,t){var n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((function(n){return t.hasOwnProperty(n)&&e[n]===t[n]}))}},4811:function(e){"use strict";var t=function(e,t){if("string"!=typeof e&&!Array.isArray(e))throw new TypeError("Expected the input to be `string | string[]`");t=Object.assign({pascalCase:!1},t);var n;return 0===(e=Array.isArray(e)?e.map((function(e){return e.trim()})).filter((function(e){return e.length})).join("-"):e.trim()).length?"":1===e.length?t.pascalCase?e.toUpperCase():e.toLowerCase():(e!==e.toLowerCase()&&(e=function(e){for(var t=!1,n=!1,r=!1,o=0;o<e.length;o++){var a=e[o];t&&/[a-zA-Z]/.test(a)&&a.toUpperCase()===a?(e=e.slice(0,o)+"-"+e.slice(o),t=!1,r=n,n=!0,o++):n&&r&&/[a-zA-Z]/.test(a)&&a.toLowerCase()===a?(e=e.slice(0,o-1)+"-"+e.slice(o-1),r=n,n=!1,t=!0):(t=a.toLowerCase()===a&&a.toUpperCase()!==a,r=n,n=a.toUpperCase()===a&&a.toLowerCase()!==a)}return e}(e)),e=e.replace(/^[_.\- ]+/,"").toLowerCase().replace(/[_.\- ]+(\w|$)/g,(function(e,t){return t.toUpperCase()})).replace(/\d+(\w|$)/g,(function(e){return e.toUpperCase()})),n=e,t.pascalCase?n.charAt(0).toUpperCase()+n.slice(1):n)};e.exports=t,e.exports.default=t},4041:function(){"use strict";var e,t,n=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),r=(e=["",""],t=["",""],Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}})));function o(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var a=function(){function e(){for(var t=this,n=arguments.length,r=Array(n),a=0;a<n;a++)r[a]=arguments[a];return o(this,e),this.tag=function(e){for(var n=arguments.length,r=Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return"function"==typeof e?t.interimTag.bind(t,e):"string"==typeof e?t.transformEndResult(e):(e=e.map(t.transformString.bind(t)),t.transformEndResult(e.reduce(t.processSubstitutions.bind(t,r))))},r.length>0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map((function(e){return"function"==typeof e?e():e})),this.tag}return n(e,[{key:"interimTag",value:function(e,t){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a<n;a++)o[a-2]=arguments[a];return this.tag(r,e.apply(void 0,[t].concat(o)))}},{key:"processSubstitutions",value:function(e,t,n){var r=this.transformSubstitution(e.shift(),t);return"".concat(t,r,n)}},{key:"transformString",value:function(e){return this.transformers.reduce((function(e,t){return t.onString?t.onString(e):e}),e)}},{key:"transformSubstitution",value:function(e,t){return this.transformers.reduce((function(e,n){return n.onSubstitution?n.onSubstitution(e,t):e}),e)}},{key:"transformEndResult",value:function(e){return this.transformers.reduce((function(e,t){return t.onEndResult?t.onEndResult(e):e}),e)}}]),e}(),i={separator:"",conjunction:"",serial:!1},s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i;return{onSubstitution:function(t,n){if(Array.isArray(t)){var r=t.length,o=e.separator,a=e.conjunction,i=e.serial,s=n.match(/(\n?[^\S\n]+)$/);if(t=s?t.join(o+s[1]):t.join(o+" "),a&&r>1){var c=t.lastIndexOf(o);t=t.slice(0,c)+(i?o:"")+" "+a+t.slice(c+1)}}return t}}};function c(e){if(Array.isArray(e)){for(var t=0,n=Array(e.length);t<e.length;t++)n[t]=e[t];return n}return Array.from(e)}var u=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(t){if("initial"===e){var n=t.match(/^[^\S\n]*(?
1=\S)/gm),r=n&&Math.min.apply(Math,c(n.map((function(e){return e.length}))));if(r){var o=new RegExp("^.{"+r+"}","gm");return t.replace(o,"")}return t}if("all"===e)return t.replace(/^[^\S\n]+/gm,"");throw new Error("Unknown type: "+e)}}},l=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(t){if(""===e)return t.trim();if("start"===(e=e.toLowerCase())||"left"===e)return t.replace(/^\s*/,"");if("end"===e||"right"===e)return t.replace(/\s*$/,"");throw new Error("Side not supported: "+e)}}},p=(new a(s({separator:","}),u,l),new a(s({separator:",",conjunction:"and"}),u,l),new a(s({separator:",",conjunction:"or"}),u,l),function(e){return{onSubstitution:function(t,n){if(null==e||"string"!=typeof e)throw new Error("You need to specify a string character to split by.");return"string"==typeof t&&t.includes(e)&&(t=t.split(e)),t}}}),f=function(e){return null!=e&&!Number.isNaN(e)&&"boolean"!=typeof e},h=function(){return{onSubstitution:function(e){return Array.isArray(e)?e.filter(f):f(e)?e:""}}},d=(new a(p("\n"),h,s,u,l),function(e,t){return{onSubstitution:function(n,r){if(null==e||null==t)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==n?n:n.toString().replace(e,t)}}}),m=(new a(p("\n"),s,u,l,d(/&/g,"&"),d(/</g,"<"),d(/>/g,">"),d(/"/g,"""),d(/'/g,"'"),d(/`/g,"`")),function(e,t){return{onEndResult:function(n){if(null==e||null==t)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(e,t)}}});new a(m(/(?:\n(?:\s*))+/g," "),l),new a(m(/(?:\n\s*)/g,""),l),new a(s({separator:","}),m(/(?:\s+)/g," "),l),new a(s({separator:",",conjunction:"or"}),m(/(?:\s+)/g," "),l),new a(s({separator:",",conjunction:"and"}),m(/(?:\s+)/g," "),l),new a(s,u,l),new a(s,m(/(?:\s+)/g," "),l),new a(u,l),new a(u("all"),l)},6494:function(e){"use strict";e.exports=Object.assign},8037:function(e,t,n){"use strict";var r=n(5318);t.dq=m,t.mc=function(e){return m(e,g())},t.c4=t.ZP=void 0;var o=r(n(7316)),a=r(n(1506)),i=r(n(5354)),s=r(n(7154)),c=r(n(5697)),u=r(n(7294)),l=n(9499),p=n(2098),f=n(1752);t.cP=f.parsePath;var h=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"],d=function(e){return null==e?void 0:e.startsWith("/")};function m(e,t){var n,r;if(void 0===t&&(t=v()),!y(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;var o=null!==(n=null!==(r=t)&&void 0!==r?r:g())&&void 0!==n?n:"/";return""+(null!=o&&o.endsWith("/")?o.slice(0,-1):o)+(e.startsWith("/")?e:"/"+e)}var g=function(){return""},v=function(){return""},y=function(e){return e&&!e.startsWith("http://")&&!e.startsWith("https://")&&!e.startsWith("//")};var b=function(e,t){return"number"==typeof e?e:y(e)?d(e)?m(e):function(e,t){return d(e)?e:(0,p.resolve)(e,t)}(e,t):e},w={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool};function P(e){return u.default.createElement(l.Location,null,(function(t){var n=t.location;return u.default.createElement(j,(0,s.default)({},e,{_location:n}))}))}var j=function(e){function t(t){var n;(n=e.call(this,t)||this).defaultGetProps=function(e){var t=e.isPartiallyCurrent,r=e.isCurrent;return(n.props.partiallyActive?t:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,s.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,a.default)(n)),n}(0,i.default)(t,e);var n=t.prototype;return n._prefetch=function(){var e=window.location.pathname;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname);var t=b(this.props.to,e),n=(0,f.parsePath)(t).pathname;e!==n&&___loader.enqueue(n)},n.componentDidUpdate=function(e,t){this.props.to===e.to||this.state.IOSupported||this._prefetch()},n.componentDidMount=function(){this.state.IOSupported||this._prefetch()},n.componentWillUnmount=function(){if(this.io){var e=this.io,t=e.instance,n=e.el;t.unobserve(n),t.disconnect()}},n.handleRef=function(e){var t,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=(t=e,n=function(){o._prefetch()},(r=new window.IntersectionObserver((function(e){e.forEach((function(e){t===e.target&&(e.isIntersecting||e.intersectionRatio>0)&&(r.unobserve(t),r.disconnect(),n())}))}))).observe(t),{instance:r,el:t}))},n.render=function(){var e=this,t=this.props,n=t.to,r=t.getProps,a=void 0===r?this.defaultGetProps:r,i=t.onClick,c=t.onMouseEnter,p=(t.activeClassName,t.activeStyle,t.innerRef,t.partiallyActive,t.state),d=t.replace,m=t._location,g=(0,o.default)(t,h);var v=b(n,m.pathname);return y(v)?u.default.createElement(l.Link,(0,s.default)({to:v,state:p,getProps:a,innerRef:this.handleRef,onMouseEnter:function(e){c&&c(e),___loader.hovering((0,f.parsePath)(v).pathname)},onClick:function(t){if(i&&i(t),!(0!==t.button||e.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();var n=d,r=encodeURI(v)===m.pathname;"boolean"!=typeof d&&r&&(n=!0),window.___navigate(v,{state:p,replace:n})}return!0}},g)):u.default.createElement("a",(0,s.default)({href:v},g))},t}(u.default.Component);j.propTypes=(0,s.default)({},w,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var E=u.default.forwardRef((function(e,t){return u.default.createElement(P,(0,s.default)({innerRef:t},e))}));t.ZP=E;t.c4=function(e,t){window.___navigate(b(e,window.location.pathname),t)}},1752:function(e,t){"use strict";t.__esModule=!0,t.parsePath=function(e){var t=e||"/",n="",r="",o=t.indexOf("#");-1!==o&&(r=t.substr(o),t=t.substr(0,o));var a=t.indexOf("?");-1!==a&&(n=t.substr(a),t=t.substr(0,a));return{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}},9679:function(e,t,n){"use strict";t.p2=t.$C=void 0;var r=n(1432);t.$C=r.ScrollHandler;var o=n(4855);t.p2=o.useScrollRestoration},1432:function(e,t,n){"use strict";var r=n(5318);
1t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(1506)),a=r(n(5354)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=u(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(7294)),s=r(n(5697)),c=n(1142);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(u=function(e){return e?n:t})(e)}var l=i.createContext(new c.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new c.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,a.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),e?this.windowScroll(e,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return i.createElement(l.Provider,{value:this._stateStorage},this.props.children)},t}(i.Component);t.ScrollHandler=p,p.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(a){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),a=JSON.stringify(r);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(a)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},4855:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,a.useLocation)(),n=(0,o.useContext)(r.ScrollContext),i=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(i.current){var r=n.read(t,e);i.current.scrollTo(0,r||0)}}),[t.key]),{ref:i,onScroll:function(){i.current&&n.save(t,e,i.current.scrollTop)}}};var r=n(1432),o=n(7294),a=n(9499)},4999:function(e,t,n){t.components={"component---src-pages-404-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8883)]).then(n.bind(n,9616))},"component---src-pages-about-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8682)]).then(n.bind(n,5518))},"component---src-pages-alumni-center-alumni-grant-recipients-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(7296)]).then(n.bind(n,6104))},"component---src-pages-alumni-center-alumni-spotlight-anna-du-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5977)]).then(n.bind(n,474))},"component---src-pages-alumni-center-alumni-spotlight-braeden-benedict-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(7087)]).then(n.bind(n,445))},"component---src-pages-alumni-center-alumni-spotlight-caroline-crouchley-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(9677)]).then(n.bind(n,6102))},"component---src-pages-alumni-center-alumni-spotlight-devin-willis-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8848)]).then(n.bind(n,8868))},"component---src-pages-alumni-center-alumni-spotlight-faraz-tamboli-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3211)]).then(n.bind(n,6593))},"component---src-pages-alumni-center-alumni-spotlight-hannah-herbst-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3188)]).then(n.bind(n,286))},"component---src-pages-alumni-center-alumni-spotlight-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3838)]).then(n.bind(n,8153))},"component---src-pages-alumni-center-alumni-spotlight-kaien-yang-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(9479)]).then(n.bind(n,7525))},"component---src-pages-alumni-center-alumni-spotlight-katie-lampo-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5958)]).then(n.bind(n,1830))},"component---src-pages-alumni-center-alumni-spotlight-mehaa-amirthalingam-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(270)]).then(n.bind(n,4549))},"component---src-pages-alumni-center-alumni-spotlight-nicholas-lajoie-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(9650)]).then(n.bind(n,8332))},"component---src-pages-alumni-center-alumni-spotlight-shanza-sami-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(9018)]).then(n.bind(n,4280))},"component---src-pages-alumni-center-alumni-spotlight-viraj-pandey-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(89)]).then(n.bind(n,9262))},"component---src-pages-alumni-center-overview-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8014)]).then(n.bind(n,4818))}
1,"component---src-pages-annual-challenge-about-the-challenge-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5081)]).then(n.bind(n,5230))},"component---src-pages-annual-challenge-challenge-resources-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5490)]).then(n.bind(n,4318))},"component---src-pages-annual-challenge-entry-topics-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(6159)]).then(n.bind(n,1670))},"component---src-pages-annual-challenge-event-gallery-highlights-anatomy-of-challenge-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(7720)]).then(n.bind(n,1644))},"component---src-pages-annual-challenge-event-gallery-highlights-importance-of-stem-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5537)]).then(n.bind(n,4271))},"component---src-pages-annual-challenge-event-gallery-highlights-innovation-taking-shape-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(7992)]).then(n.bind(n,8817))},"component---src-pages-annual-challenge-event-gallery-highlights-journey-to-3-m-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8606)]).then(n.bind(n,836))},"component---src-pages-annual-challenge-event-gallery-highlights-life-of-scientist-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(6557)]).then(n.bind(n,5829))},"component---src-pages-annual-challenge-event-gallery-highlights-meet-the-mentors-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2407)]).then(n.bind(n,2412))},"component---src-pages-annual-challenge-event-gallery-highlights-shaping-futures-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5332)]).then(n.bind(n,358))},"component---src-pages-annual-challenge-event-gallery-highlights-the-importance-of-mentorship-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8692)]).then(n.bind(n,6881))},"component---src-pages-annual-challenge-event-gallery-highlights-top-young-scientist-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8163)]).then(n.bind(n,3141))},"component---src-pages-annual-challenge-event-gallery-highlights-voyage-of-ideas-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5798)]).then(n.bind(n,1024))},"component---src-pages-annual-challenge-event-gallery-highlights-who-inspired-you-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5366)]).then(n.bind(n,8200))},"component---src-pages-annual-challenge-event-gallery-highlights-why-science-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2628)]).then(n.bind(n,5370))},"component---src-pages-annual-challenge-event-gallery-highlights-why-we-love-science-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8327)]).then(n.bind(n,4169))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2014-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(7197)]).then(n.bind(n,4575))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2015-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(1859)]).then(n.bind(n,9309))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2016-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(7157)]).then(n.bind(n,4455))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2017-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(3264)]).then(n.bind(n,8174))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2018-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(466)]).then(n.bind(n,4797))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2020-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(4199)]).then(n.bind(n,267))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2021-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(807)]).then(n.bind(n,1976))}
1,"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2023-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(6403)]).then(n.bind(n,5549))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2024-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(9986)]).then(n.bind(n,9321))},"component---src-pages-annual-challenge-event-gallery-live-events-3-m-2025-ysc-finalist-presentations-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(4346)]).then(n.bind(n,3285))},"component---src-pages-annual-challenge-event-gallery-photos-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2117)]).then(n.bind(n,1292))},"component---src-pages-annual-challenge-event-gallery-videos-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(9658)]).then(n.bind(n,6518))},"component---src-pages-annual-challenge-event-gallery-webinars-process-this-analyze-that-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3473)]).then(n.bind(n,6075))},"component---src-pages-annual-challenge-event-gallery-webinars-storyboarding-successful-screen-debut-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(7708)]).then(n.bind(n,2925))},"component---src-pages-annual-challenge-event-gallery-webinars-ysc-webinar-2011-winner-braeden-benedict-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5803)]).then(n.bind(n,1188))},"component---src-pages-annual-challenge-event-gallery-webinars-ysc-webinar-2012-winner-deepika-kurup-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(7574)]).then(n.bind(n,7514))},"component---src-pages-annual-challenge-faqs-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(854)]).then(n.bind(n,2915))},"component---src-pages-coming-soon-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(4595)]).then(n.bind(n,6314))},"component---src-pages-index-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(9678)]).then(n.bind(n,901))},"component---src-pages-news-and-events-alumni-news-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(4713)]).then(n.bind(n,737))},"component---src-pages-news-and-events-press-releases-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3155)]).then(n.bind(n,78))},"component---src-pages-news-and-events-recent-news-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(7458)]).then(n.bind(n,6722))},"component---src-pages-news-and-events-ysc-blog-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(6905),n.e(2578),n.e(3495)]).then(n.bind(n,679))},"component---src-pages-science-starters-getting-started-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5997)]).then(n.bind(n,9250))},"component---src-pages-science-starters-lesson-plans-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(723)]).then(n.bind(n,7697))},"component---src-pages-science-starters-science-at-home-bernoulli-balance-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(401)]).then(n.bind(n,7972))},"component---src-pages-science-starters-science-at-home-c-2-balloon-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(1509)]).then(n.bind(n,8148))},"component---src-pages-science-starters-science-at-home-diffusion-with-miss-america-2020-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(646)]).then(n.bind(n,8598))},"component---src-pages-science-starters-science-at-home-elephant-toothpaste-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5062)]).then(n.bind(n,3074))},"component---src-pages-science-starters-science-at-home-feeling-sound-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(6873)]).then(n.bind(n,625))},"component---src-pages-science-starters-science-at-home-fidget-spinner-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(9527)]).then(n.bind(n,9163))},"component---src-pages-science-starters-science-at-home-how-do-we-breathe-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(8681)]).then(n.bind(n,4850))},"component---src-pages-science-starters-science-at-home-inflation-station-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(617)]).then(n.bind(n,9003))},"component---src-pages-science-starters-science-at-home-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(1414)]).then(n.bind(n,4179))},"component---src-pages-science-starters-science-at-home-liquid-fireworks-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(328)]).then(n.bind(n,5402))},"component---src-pages-science-starters-science-at-home-make-your-own-cotton-ball-launcher-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2279)]).then(n.bind(n,7356))},"component---src-pages-science-starters-science-at-home-marshmallow-tower-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3857)]).then(n.bind(n,5706))},"component---src-pages-science-starters-science-at-home-push-and-pull-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2470)]).then(n.bind(n,2880))},"component---src-pages-science-starters-science-at-home-rainbow-bubble-snake-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5012)]).then(n.bind(n,1249))},"component---src-pages-science-starters-science-at-home-soap-boat-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5189)]).then(n.bind(n,3034))},"component---src-pages-science-starters-science-at-work-jeff-emslander-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(534)]).then(n.bind(n,328))},"component---src-pages-science-starters-science-at-work-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(4791)]).then(n.bind(n,1226))},"component---src-pages-science-starters-science-at-work-sara-frisco-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(1304)]).then(n.bind(n,926))},"component---src-pages-science-starters-science-at-work-tesha-alston-dampier-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(5277)]).then(n.bind(n,8605))},"component---src-pages-science-starters-virtual-field-trips-how-nature-inspires-3-m-science-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(4543)]).then(n.bind(n,4718))},"component---src-pages-science-starters-virtual-field-trips-inside-the-world-of-science-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(3378),n.e(5399)]).then(n.bind(n,5261))},"component---src-pages-science-starters-virtual-field-trips-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2363)]).then(n.bind(n,7600))},"component---src-templates-alumni-grant-recipient-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2681)]).then(n.bind(n,4302))},"component---src-templates-blog-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2578),n.e(6744)]).then(n.bind(n,8159))},"component---src-templates-judge-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(6702)]).then(n.bind(n,7508))},"component---src-templates-judges-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(6905),n.e(7641)]).then(n.bind(n,8326))},"component---src-templates-mentor-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(2587)]).then(n.bind(n,9090))},"component---src-templates-mentors-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(6905),n.e(2
111)]).then(n.bind(n,1377))},"component---src-templates-student-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(801)]).then(n.bind(n,4658))},"component---src-templates-students-js":function(){return Promise.all([n.e(532),n.e(9351),n.e(6905),n.e(6852)]).then(n.bind(n,526))}}},5182:function(e,t,n){e.exports=[{plugin:n(4870),options:{plugins:[]}},{plugin:n(6988),options:{plugins:[]}},{plugin:n(992),options:{plugins:[],name:"gatsby-starter-default",short_name:"starter",start_url:"/",background_color:"#663399",theme_color:"#663399",display:"minimal-ui",icon:"/Users/JEbenhoe/Documents/Claude/3m-ysc/source/src/images/favicon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"328d123b235f8d711a029240f4c67921"}},{plugin:n(3725),options:{plugins:[],partnershipId:"4b68854a-8f40-44d2-82c6-e20d152767a0",extraDevHostnames:[],extraStageHostnames:[],extraProdHostnames:[]}},{plugin:n(9037),options:{plugins:[]}}]},7343:function(e,t,n){var r=n(5182),o=n(8741).jN,a=o.getResourceURLsForPathname,i=o.loadPage,s=o.loadPageSync;t.h=function(e,t,n,o){void 0===t&&(t={});var c=r.map((function(n){if(n.plugin[e]){t.getResourceURLsForPathname=a,t.loadPage=i,t.loadPageSync=s;var r=n.plugin[e](t,n.options);return r&&o&&(t=o({args:t,result:r,plugin:n})),r}}));return(c=c.filter((function(e){return void 0!==e}))).length>0?c:n?[n]:[]},t.I=function(e,t,n){return r.reduce((function(n,r){return r.plugin[e]?n.then((function(){return r.plugin[e](t,r.options)})):n}),Promise.resolve())}},8110:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},2257:function(e,t,n){"use strict";n.d(t,{UD:function(){return f},Cj:function(){return d},GA:function(){return h},DS:function(){return p}});var r=n(2098),o=n(1578),a=function(e){return void 0===e?e:"/"===e?"/":"/"===e.charAt(e.length-1)?e.slice(0,-1):e},i=n(5166),s=new Map,c=[],u=function(e){var t=decodeURIComponent(e);return(0,o.Z)(t,decodeURIComponent("")).split("#")[0].split("?")[0]};function l(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}var p=function(e){c=e},f=function(e){var t=m(e),n=c.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=(0,r.pick)(n,t);return o?a(o.route.originalPath):null},h=function(e){var t=m(e),n=c.map((function(e){var t=e.path;return{path:e.matchPath,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},d=function e(t){var n=u(l(t));if(s.has(n))return s.get(n);var r=(0,i.J)(t);if(r)return e(r.toPath);var o=f(n);return o||(o=m(t)),s.set(n,o),o},m=function(e){var t=u(l(e));return"/index.html"===t&&(t="/"),t=a(t)}},5444:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return o.ZP},withAssetPrefix:function(){return o.mc},withPrefix:function(){return o.dq},graphql:function(){return h},parsePath:function(){return o.cP},navigate:function(){return o.c4},useScrollRestoration:function(){return a.p2},StaticQueryContext:function(){return u},StaticQuery:function(){return p},PageRenderer:function(){return s.a},useStaticQuery:function(){return f},prefetchPathname:function(){return c}});var r=n(7294),o=n(8037),a=n(9679),i=n(861),s=n.n(i),c=n(8741).ZP.enqueue,u=r.createContext({});function l(e){var t=e.staticQueryData,n=e.data,o=e.query,a=e.render,i=n?n.data:t[o]&&t[o].data;return r.createElement(r.Fragment,null,i&&a(i),!i&&r.createElement("div",null,"Loading (StaticQuery)"))}var p=function(e){var t=e.data,n=e.query,o=e.render,a=e.children;return r.createElement(u.Consumer,null,(function(e){return r.createElement(l,{data:t,query:n,render:o||a,staticQueryData:e})}))},f=function(e){var t;r.useContext;var n=r.useContext(u);if(isNaN(Number(e)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { use
1StaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+e+"`);\n");if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};function h(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},8741:function(e,t,n){"use strict";n.d(t,{uQ:function(){return l},kL:function(){return y},ZP:function(){return P},hs:function(){return j},jN:function(){return w},N1:function(){return b}});var r=n(3552),o=n(18),a=function(e){if("undefined"==typeof document)return!1;var t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((function(n,r){if("undefined"!=typeof document){var o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((function(e){o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r,(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}else r()}))}:function(e){return new Promise((function(t,n){var r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=function(){200===r.status?t():n()},r.send(null)}))},i={},s=function(e,t){return new Promise((function(n){i[e]?n():a(e,t).then((function(){n(),i[e]=!0})).catch((function(){}))}))},c=n(8110),u=n(2257),l={Error:"error",Success:"success"},p=function(e){return e&&e.default||e},f=function(e){return"/page-data/"+("/"===e?"index":function(e){return(e="/"===e[0]?e.slice(1):e).endsWith("/")?e.slice(0,-1):e}(e))+"/page-data.json"};function h(e,t){return void 0===t&&(t="GET"),new Promise((function(n,r){var o=new XMLHttpRequest;o.open(t,e,!0),o.onreadystatechange=function(){4==o.readyState&&n(o)},o.send(null)}))}var d,m=function(e,t){void 0===t&&(t=null);var n={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes};return{component:t,json:e.result,page:n}},g=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,u.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){var t=this,n=this.inFlightNetworkRequests.get(e);return n||(n=h(e,"GET"),this.inFlightNetworkRequests.set(e,n)),n.then((function(n){return t.inFlightNetworkRequests.delete(e),n})).catch((function(n){throw t.inFlightNetworkRequests.delete(e),n}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((function(e){return e}))},t.fetchPageDataJson=function(e){var t=this,n=e.pagePath,r=e.retries,o=void 0===r?0:r,a=f(n);return this.memoizedGet(a).then((function(r){var a=r.status,i=r.responseText;if(200===a)try{var s=JSON.parse(i);if(void 0===s.path)throw new Error("not a valid pageData response");return Object.assign(e,{status:l.Success,payload:s})}catch(c){}return 404===a||200===a?"/404.html"===n?Object.assign(e,{status:l.Error}):t.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===a?Object.assign(e,{status:l.Error}):o<3?t.fetchPageDataJson(Object.assign(e,{retries:o+1})):Object.assign(e,{status:l.Error})}))},t.loadPageDataJson=function(e){var t=this,n=(0,u.Cj)(e);if(this.pageDataDb.has(n)){var r=this.pageDataDb.get(n);return Promise.resolve(r)}return this.fetchPageDataJson({pagePath:n}).then((function(e){return t.pageDataDb.set(n,e),e}))},t.findMatchPath=function(e){return(0,u.UD)(e)},t.loadPage=function(e){var t=this,n=(0,u.Cj)(e);if(this.pageDb.has(n)){var r=this.pageDb.get(n);return r.error?{error:r.error,status:r.status}:Promise.resolve(r.payload)}if(this.inFlightDb.has(n))return this.inFlightDb.get(n);var o=Promise.all([this.loadAppData(),this.loadPageDataJson(n)]).then((function(e){var r=e[1];if(r.status===l.Error)return{status:l.Error};var o=r.payload,a=o,i=a.componentChunkName,s=a.staticQueryHashes,u=void 0===s?[]:s,p={},f=t.loadComponent(i).then((function(t){var n;return p.createdAt=new Date,!t||t instanceof Error?(p.status=l.Error,p.error=t):(p.status=l.Success,!0===r.notFound&&(p.notFound=!0),o=Object.assign(o,{webpackCompilationHash:e[0]?e[0].webpackCompilationHash:""}),n=m(o,t)),n})),h=Promise.all(u.map((function(e){if(t.staticQueryDb[e]){var n=t.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:n}}
1return t.memoizedGet("/page-data/sq/d/"+e+".json").then((function(t){var n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((function(){throw new Error("We couldn't load \"/page-data/sq/d/"+e+'.json"')}))}))).then((function(e){var n={};return e.forEach((function(e){var r=e.staticQueryHash,o=e.jsonPayload;n[r]=o,t.staticQueryDb[r]=o})),n}));return Promise.all([f,h]).then((function(e){var r,o=e[0],a=e[1];return o&&(r=Object.assign({},o,{staticQueryResults:a}),p.payload=r,c.Z.emit("onPostLoadPageResources",{page:r,pageResources:r})),t.pageDb.set(n,p),p.error?{error:p.error,status:p.status}:r})).catch((function(e){return{error:e,status:l.Error}}))}));return o.then((function(){t.inFlightDb.delete(n)})).catch((function(e){throw t.inFlightDb.delete(n),e})),this.inFlightDb.set(n,o),o},t.loadPageSync=function(e,t){void 0===t&&(t={});var n=(0,u.Cj)(e);if(this.pageDb.has(n)){var r,o=this.pageDb.get(n);if(o.payload)return o.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:o.error,status:o.status}}},t.shouldPrefetch=function(e){return!!function(){if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&!this.pageDb.has(e)},t.prefetch=function(e){var t=this;if(!this.shouldPrefetch(e))return!1;if(this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled)return!1;var n=(0,u.Cj)(e);return this.doPrefetch(n).then((function(){t.prefetchCompleted.has(e)||(t.apiRunner("onPostPrefetchPathname",{pathname:e}),t.prefetchCompleted.add(e))})),!0},t.doPrefetch=function(e){var t=this,n=f(e);return s(n,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return t.loadPageDataJson(e)}))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){var t=(0,u.Cj)(e),n=this.pageDataDb.get(t);if(n){var r=m(n.payload);return[].concat((0,o.Z)(v(r.page.componentChunkName)),[f(t)])}return null},t.isPageNotFound=function(e){var t=(0,u.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){var t=this;return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((function(n){var r,o=n.status,a=n.responseText;if(200!==o&&e<3)return t.loadAppData(e+1);if(200===o)try{var i=JSON.parse(a);if(void 0===i.webpackCompilationHash)throw new Error("not a valid app-data response");r=i}catch(s){}return r}))},e}(),v=function(e){return(window.___chunkMapping[e]||[]).map((function(e){return""+e}))},y=function(e){function t(t,n){return e.call(this,(function(e){if(!t.components[e])throw new Error("We couldn't find the correct component chunk with the name "+e);return t.components[e]().then(p).catch((function(e){return e}))}),n)||this}(0,r.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((function(e){if(e.status!==l.Success)return Promise.resolve();var t=e.payload,n=t.componentChunkName,r=v(n);return Promise.all(r.map(s)).then((function(){return t}))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((function(e){return e.notFound?h(t,"HEAD").then((function(t){return 200===t.status?{status:l.Error}:e})):e}))},t}(g),b=function(e){d=e},w={enqueue:function(e){return d.prefetch(e)},getResourceURLsForPathname:function(e){return d.getResourceURLsForPathname(e)},loadPage:function(e){return d.loadPage(e)},loadPageSync:function(e,t){return void 0===t&&(t={}),d.loadPageSync(e,t)},prefetch:function(e){return d.prefetch(e)},isPageNotFound:function(e){return d.isPageNotFound(e)},hovering:function(e){return d.hovering(e)},loadAppData:function(){return d.loadAppData()}},P=w;function j(){return d?d.staticQueryDb:{}}},804:function(e,t,n){"use strict";var r=n(3552),o=n(7294),a=n(7343),i=n(2257),s=function(e){function t(){return e.apply(this,arguments)||this}return(0,r.Z)(t,e),t.prototype.render=function(){var e=Object.assign({},this.props,{params:Object.assign({},(0,i.GA)(this.props.location.pathname),this.props.pageResources.json.pageContext.__params)}),t=(0,o.createElement)(this.props.pageResources.component,Object.assign({},e,{key:this.props.path||this.props.pageResources.page.path}));return(0,a.h)("wrapPageElement",{element:t,props:e},t,(function(t){return{element:t.result,props:e}})).pop()},t}(o.Component);t.Z=s},2871:function(e,t,n){"use strict";var r=n(3552),o=n(7343),a=n(7294),i=n(3935),s=n(9499),c=n(9679),u=n(5444),l=n(8741),p=n(5166),f=n(8110),h={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"},d=n(2393),m=n(8037);function g(e){var t=(0,p.J)(e);return null!=t&&(window.___replace(t.toPath),!0)}var v=function(e,t){g(e.pathname)||(0,o.h)("onPreRouteUpdate",{location:e,prevLocation:t})},y=function(e,t){g(e.pathname)||(0,o.h)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"!=typeof e){var n=(0,m.cP)(e).pathname,r=(0,p.J)(n);if(r&&(e=r.toPath,n=(0,m.cP)(e).pathname),window.___swUpdated)window.location=n;else{var a=setTimeout((function(){f.Z.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.ZP.loadPage(n).then((function(r){if(!r||r.status===l.uQ.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(a);r&&r.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"
1in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n),(0,s.navigate)(e,t),clearTimeout(a)}))}}else d.V5.navigate(e)};function w(e,t){var n=this,r=t.location,a=r.pathname,i=r.hash,s=(0,o.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:a,routerProps:{location:r},getSavedScrollPosition:function(e){return[0,n._stateStorage.read(e,e.key)]}});if(s.length>0)return s[s.length-1];if(e&&e.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var P=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){var n=this;requestAnimationFrame((function(){var e="new page at "+n.props.location.pathname;document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var r="Navigated to "+e;n.announcementRef.current&&(n.announcementRef.current.innerText!==r&&(n.announcementRef.current.innerText=r))}))},n.render=function(){return a.createElement("div",Object.assign({},h,{ref:this.announcementRef}))},t}(a.Component),j=function(e,t){var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)},E=function(e){function t(t){var n;return n=e.call(this,t)||this,v(t.location,null),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!j(e.location,this.props.location)&&(v(this.props.location,e.location),!0)},n.componentDidUpdate=function(e){j(e.location,this.props.location)&&y(this.props.location,e.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(P,{location:location}))},t}(a.Component),S=n(804),C=n(4999);function R(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var _=function(e){function t(t){var n;n=e.call(this)||this;var r=t.location,o=t.pageResources;return n.state={location:Object.assign({},r),pageResources:o||l.ZP.loadPageSync(r.pathname,{withErrorDetails:!0})},n}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){var n=e.location;return t.location.href!==n.href?{pageResources:l.ZP.loadPageSync(n.pathname,{withErrorDetails:!0}),location:Object.assign({},n)}:{location:Object.assign({},n)}};var n=t.prototype;return n.loadResources=function(e){var t=this;l.ZP.loadPage(e).then((function(n){n&&n.status!==l.uQ.Error?t.setState({location:Object.assign({},window.location),pageResources:n}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return R(e.props,t)||R(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),k=n(1578),O=new l.kL(C,[]);(0,l.N1)(O),O.setApiRunner(o.h),window.asyncRequires=C,window.___emitter=f.Z,window.___loader=l.jN,d.V5.listen((function(e){e.location.action=e.action})),window.___push=function(e){return b(e,{replace:!1})},window.___replace=function(e){return b(e,{replace:!0})},window.___navigate=function(e,t){return b(e,t)},g(window.location.pathname),(0,o.I)("onClientEntry").then((function(){(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(154);var e=function(e){return a.createElement(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(S.Z,e))},t=a.createContext({}),p=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){var e=this.props.children;return a.createElement(s.Location,null,(function(n){var r=n.location;return a.createElement(_,{location:r},(function(n){var r=n.pageResources,o=n.location,i=(0,l.hs)();return a.createElement(u.StaticQueryContext.Provider,{value:i},a.createElement(t.Provider,{value:{pageResources:r,location:o}},e))}))}))},n}
1(a.Component),f=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.Z)(o,n),o.prototype.render=function(){var n=this;return a.createElement(t.Consumer,null,(function(t){var r=t.pageResources,o=t.location;return a.createElement(E,{location:o},a.createElement(c.$C,{location:o,shouldUpdateScroll:w},a.createElement(s.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},a.createElement(e,Object.assign({path:"/404.html"===r.page.path?(0,k.Z)(o.pathname,""):encodeURI(r.page.matchPath||r.page.path)},n.props,{location:o,pageResources:r},r.json)))))}))},o}(a.Component),h=window,d=h.pagePath,m=h.location;d&&""+d!==m.pathname&&!(O.findMatchPath((0,k.Z)(m.pathname,""))||"/404.html"===d||d.match(/^\/404\/?$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,s.navigate)(""+d+m.search+m.hash,{replace:!0}),l.jN.loadPage(m.pathname).then((function(e){if(!e||e.status===l.uQ.Error){var t="page resources for "+m.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}window.___webpackCompilationHash=e.page.webpackCompilationHash;var n=(0,o.h)("wrapRootElement",{element:a.createElement(f,null)},a.createElement(f,null),(function(e){return{element:e.result}})).pop(),r=function(){var e=a.useRef(!1);return a.useEffect((function(){e.current||(e.current=!0,performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),a.createElement(p,null,n)},s=(0,o.h)("replaceHydrateFunction",void 0,i.createRoot?i.createRoot:i.hydrate)[0];function c(){var e="undefined"!=typeof window?document.getElementById("___gatsby"):null;s===i.createRoot?s(e,{hydrate:!0}).render(a.createElement(r,null)):s(a.createElement(r,null),e)}var u=document;if("complete"===u.readyState||"loading"!==u.readyState&&!u.documentElement.doScroll)setTimeout((function(){c()}),0);else{var h=function e(){u.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),c()};u.addEventListener("DOMContentLoaded",h,!1),window.addEventListener("load",h,!1)}}))}))},6947:function(e,t,n){"use strict";n.r(t);var r=n(7294),o=n(8741),a=n(804);t.default=function(e){var t=e.location,n=o.ZP.loadPageSync(t.pathname);return n?r.createElement(a.Z,Object.assign({location:t,pageResources:n},n.json)):null}},861:function(e,t,n){var r;e.exports=(r=n(6947))&&r.default||r},3639:function(e,t){t.O=function(e){return e}},5166:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});var r=new Map,o=new Map;function a(e){var t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((function(e){e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},154:function(e,t,n){"use strict";n.r(t);var r=n(7343);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(function(){(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:e});var t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(function(){switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},1578:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}n.d(t,{Z:function(){return r}})},9037:function(e,t,n){"use strict";n.r(t),n.d(t,{shouldUpdateScroll:function(){return r}});var r=function(e){var t=e.routerProps.location;e.getSavedScrollPosition;try{return!t.state.disableScrollUpdate}catch(n){return!1}}},9788:function(e,t,n){"use strict";var r=n(5318);t.__esModule=!0,t.AppProviders=void 0;var o=r(n(7294)),a=n(1492),i=n(7791);t.AppProviders=function(e){var t=e.element,n=e.pluginOptions,r=n.defaultCrumb,s=n.useClassNames,c=n.useAutoGen,u=n.usePathPrefix;return o.default.createElement(i.OptionsProvider,{useAutoGen:c||!1,useClassNames:s||!1,usePathPrefix:u||null},o.default.createElement(a.BreadcrumbProvider,{defaultCrumb:r||null},t))}},1492:function(e,t,n){"use strict";var r=n(5318);t.__esModule=!0,t.BreadcrumbConsumer=t.BreadcrumbProvider=t.BreadcrumbContext=void 0;var o=r(n(7154)),a=r(n(7294)),i=r(n(924)),s=a.default.createContext("Breadcrumb");t.BreadcrumbContext=s;var c=function(e){var t=e.children,n=e.defaultCrumb,r=a.default.useState(n?[(0,o.default)({pathname:n.location.pathname},n)]:[]),i=r[0],c=r[1],u={crumbs:i,updateCrumbs:function(e){var t=e.location,n=e.crumbLabel,r=e.crumbSeparator,a=e.crumbStyle,s=e.crumbActiveStyle,u=i.findIndex((function(e){return e.pathname===t.pathname}));u>
1-1&&u<i.length-1&&c(i.slice(0,u)),-1===u&&c([].concat(i,[(0,o.default)({},t,{crumbLabel:n,crumbSeparator:r,crumbStyle:a,crumbActiveStyle:s})]))}};return a.default.createElement(s.Provider,{value:u},t)};t.BreadcrumbProvider=c;var u=s.Consumer;t.BreadcrumbConsumer=u,c.defaultProps={defaultCrumb:null},c.propTypes={children:i.default.node.isRequired,defaultCrumb:i.default.shape({location:i.default.shape({pathname:i.default.string}),crumbLabel:i.default.string,crumbSeparator:i.default.string,crumbStyle:i.default.shape(),crumbActiveStyle:i.default.shape()})}},7791:function(e,t,n){"use strict";var r=n(5318);t.__esModule=!0,t.OptionsConsumer=t.OptionsProvider=t.OptionsContext=void 0;var o=r(n(7294)),a=r(n(924)),i=o.default.createContext("Options");t.OptionsContext=i;var s=function(e){var t=e.children,n=e.useAutoGen,r=void 0!==n&&n,a=e.usePathPrefix,s={useAutoGen:r,usePathPrefix:void 0===a?null:a};return o.default.createElement(i.Provider,{value:s},t)};t.OptionsProvider=s;var c=i.Consumer;t.OptionsConsumer=c,s.defaultProps={useAutoGen:!1,usePathPrefix:null},s.propTypes={children:a.default.node.isRequired,useAutoGen:a.default.bool,usePathPrefix:a.default.string}},4870:function(e,t,n){"use strict";var r=n(5318);t.__esModule=!0,t.wrapRootElement=void 0;var o=r(n(7294)),a=n(9788);t.wrapRootElement=function(e,t){var n=e.element;return o.default.createElement(a.AppProviders,{element:n,pluginOptions:t})}},6935:function(e,t,n){"use strict";var r=n(6585);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:a,resetWarningCache:o};return n.PropTypes=n,n}},924:function(e,t,n){e.exports=n(6935)()},6585:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6802:function(e,t,n){"use strict";n.d(t,{G:function(){return L},L:function(){return w},M:function(){return _},P:function(){return R},_:function(){return u},a:function(){return s},b:function(){return m},c:function(){return F},d:function(){return d},g:function(){return g}});var r=n(7294),o=(n(4041),n(4811),n(5697)),a=n.n(o),i=n(3935);function s(){return(s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e}).apply(this,arguments)}function c(e,t){return(c=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function u(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}var l=new Set,p=function(){return"undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype};function f(e){e&&l.add(e)}function h(e){return l.has(e)}var d=function(e){var t;return function(e){var t,n;return Boolean(null==e||null==(t=e.images)||null==(n=t.fallback)?void 0:n.src)}(e)?e:function(e){return Boolean(null==e?void 0:e.gatsbyImageData)}(e)?e.gatsbyImageData:null==e||null==(t=e.childImageSharp)?void 0:t.gatsbyImageData};function m(e,t,r,o,a,i,c,u){var l,p;return void 0===u&&(u={}),null!=c&&c.current&&!("objectFit"in document.documentElement.style)&&(c.current.dataset.objectFit=null!=(l=u.objectFit)?l:"cover",c.current.dataset.objectPosition=""+(null!=(p=u.objectPosition)?p:"50% 50%"),function(e){try{var t=function(){window.objectFitPolyfill(e.current)},r=function(){if(!("objectFitPolyfill"in window))return Promise.resolve(n.e(7231).then(n.t.bind(n,7231,23))).then((function(){}))}();Promise.resolve(r&&r.then?r.then(t):t())}catch(e){return Promise.reject(e)}}(c)),s({},r,{loading:o,shouldLoad:e,"data-main-image":"",style:s({},u,{opacity:t?1:0}),onLoad:function(e){if(!t){f(i);var n=e.currentTarget,r=new Image;r.src=n.currentSrc,r.decode?r.decode().catch((function(){})).then((function(){a(!0)})):a(!0)}},ref:c})}function g(e,t,n,r,o,a,i,c){var u={};a&&(u.backgroundColor=a,"fixed"===n?(u.width=r,u.height=o,u.backgroundColor=a,u.position="relative"):("constrained"===n||"fullWidth"===n)&&(u.position="absolute",u.top=0,u.left=0,u.bottom=0,u.right=0)),i&&(u.objectFit=i),c&&(u.objectPosition=c);var l=s({},e,{"aria-hidden":!0,"data-placeholder-image":"",style:s({opacity:t?0:1,transition:"opacity 500ms linear"},u)});return l}var v,y=["children"],b=function(e){var t=e.layout,n=e.width,o=e.height;return"fullWidth"===t?r.createElement("div",{"aria-hidden":!0,style:{paddingTop:o/n*100+"%"}}):"constrained"===t?r.createElement("div",{style:{maxWidth:n,display:"block"}},r.createElement("img",{alt:"",role:"presentation","aria-hidden":"true",src:"data:image/svg+xml;charset=utf-8,%3Csvg height='"+o+"' width='"+n+"' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E",style:{maxWidth:"100%",display:"block",position:"static"}})):null},w=function(e){var t=e.children,n=u(e,y);return r.createElement(r.Fragment,null,r.createElement(b,Object.assign({},n)),t,!1)},P=["src","srcSet","loading","alt","shouldLoad","innerRef"],j=["fallback","sources","shouldLoad"],E=function(e){var t=e.src,n=e.srcSet,o=e.loading,a=e.alt,i=void 0===a?"":a,s=e.shouldLoad,c=e.innerRef,l=u(e,P);return r.createElement("img",Object.assign({},l,{decoding:"async",loading:o,src:s?t:void 0,"data-src":s?void 0:t,srcSet:s?n:void 0,"data-srcset":s?void 0:n,alt:i,ref:c}))},S=(0,r.forwardRef)((function(e,t){var n=e.fallback,o=e.sources,a=void 0===o?[]:o,i=e.shouldLoad,s=void 0===i||i,c=u(e,j),l=c.sizes||(null==n?void 0:n.sizes),p=r.createElement(E,Object.assign({},c,n,{sizes:l,shouldLoad:s,innerRef:t}));return a.length?r.createElement("picture",null,a.map((function(e){var t=e.media,n=e.srcSet,o=e.type;return r.createElement("source",{key:t+"-"+o+"-"+n,type:o,media:t,srcSet:s?n:void 0,"data-srcset":s?void 0:n,sizes:l})})),p):p}));E.propTypes={src:o.string.isRequired,alt:o.string.isRequired,sizes:o.string,
1srcSet:o.string,shouldLoad:o.bool},S.displayName="Picture",S.propTypes={alt:o.string.isRequired,shouldLoad:o.bool,fallback:(0,o.exact)({src:o.string.isRequired,srcSet:o.string,sizes:o.string}),sources:(0,o.arrayOf)((0,o.oneOfType)([(0,o.exact)({media:o.string.isRequired,type:o.string,sizes:o.string,srcSet:o.string.isRequired}),(0,o.exact)({media:o.string,type:o.string.isRequired,sizes:o.string,srcSet:o.string.isRequired})]))};var C=["fallback"],R=function(e){var t=e.fallback,n=u(e,C);return t?r.createElement(S,Object.assign({},n,{fallback:{src:t},"aria-hidden":!0,alt:""})):r.createElement("div",Object.assign({},n))};R.displayName="Placeholder",R.propTypes={fallback:o.string,sources:null==(v=S.propTypes)?void 0:v.sources,alt:function(e,t,n){return e[t]?new Error("Invalid prop `"+t+"` supplied to `"+n+"`. Validation failed."):null}};var _=(0,r.forwardRef)((function(e,t){return r.createElement(r.Fragment,null,r.createElement(S,Object.assign({ref:t},e)),r.createElement("noscript",null,r.createElement(S,Object.assign({},e,{shouldLoad:!0}))))}));_.displayName="MainImage",_.propTypes=S.propTypes;var k=function(e,t,n){return e.alt||""===e.alt?a().string.apply(a(),[e,t,n].concat([].slice.call(arguments,3))):new Error('The "alt" prop is required in '+n+'. If the image is purely presentational then pass an empty string: e.g. alt="". Learn more: https://a11y-style-guide.com/style-guide/section-media.html')},O={image:a().object.isRequired,alt:k},x=["style","className"],D=function(e){var t,o;function a(t){var n;return(n=e.call(this,t)||this).root=(0,r.createRef)(),n.hydrated={current:!1},n.forceRender={current:!1},n.lazyHydrator=null,n.ref=(0,r.createRef)(),n.state={isLoading:p(),isLoaded:!1},n}o=e,(t=a).prototype=Object.create(o.prototype),t.prototype.constructor=t,c(t,o);var l=a.prototype;return l._lazyHydrate=function(e,t){var r=this,o=this.root.current.querySelector("[data-gatsby-image-ssr]");return p()&&o&&!this.hydrated.current?(this.hydrated.current=!0,Promise.resolve()):n.e(8776).then(n.bind(n,8776)).then((function(n){r.lazyHydrator=(0,n.lazyHydrate)(s({image:e.image.images,isLoading:t.isLoading,isLoaded:t.isLoaded,toggleIsLoaded:function(){null==e.onLoad||e.onLoad(),r.setState({isLoaded:!0})},ref:r.ref},e),r.root,r.hydrated,r.forceRender)}))},l._setupIntersectionObserver=function(e){var t=this;void 0===e&&(e=!0),n.e(7175).then(n.bind(n,7175)).then((function(n){var r=(0,n.createIntersectionObserver)((function(){if(t.root.current){var n=JSON.stringify(t.props.image.images);null==t.props.onStartLoad||t.props.onStartLoad({wasCached:e&&h(n)}),t.setState({isLoading:!0,isLoaded:e&&h(n)})}}));t.root.current&&(t.unobserveRef=r(t.root))}))},l.shouldComponentUpdate=function(e,t){var n=this,r=!1;return this.state.isLoading||!t.isLoading||t.isLoaded||(this.forceRender.current=!0),this.props.image.images!==e.image.images&&(this.unobserveRef&&(this.unobserveRef(),this.hydrated.current&&this.lazyHydrator&&(0,i.render)(null,this.root.current)),this.setState({isLoading:!1,isLoaded:!1},(function(){n._setupIntersectionObserver(!1)})),r=!0),this.root.current&&!r&&this._lazyHydrate(e,t),!1},l.componentDidMount=function(){if(this.root.current){var e=this.root.current.querySelector("[data-gatsby-image-ssr]"),t=JSON.stringify(this.props.image.images);if(p()&&e){var n,r;if(null==(n=(r=this.props).onStartLoad)||n.call(r,{wasCached:!1}),e.complete){var o,a;null==(o=(a=this.props).onLoad)||o.call(a),f(t)}else{var i=this;e.addEventListener("load",(function n(){e.removeEventListener("load",n),null==i.props.onLoad||i.props.onLoad(),f(t)}))}return}this._setupIntersectionObserver(!0)}},l.componentWillUnmount=function(){this.unobserveRef&&(this.unobserveRef(),this.hydrated.current&&this.lazyHydrator&&this.lazyHydrator())},l.render=function(){var e=this.props.as||"div",t=this.props.image,n=t.width,o=t.height,a=t.layout,i=function(e,t,n){var r={},o="gatsby-image-wrapper";return"fixed"===n?(r.width=e,r.height=t):"constrained"===n&&(o="gatsby-image-wrapper gatsby-image-wrapper-constrained"),{className:o,"data-gatsby-image-wrapper":"",style:r}}(n,o,a),c=i.style,l=i.className,p=u(i,x),f=this.props.className;this.props.class&&(f=this.props.class);var h=function(e,t,n){var r=null;return"fullWidth"===e&&(r='<div aria-hidden="true" style="padding-top: '+n/t*100+'%;"></div>'),"constrained"===e&&(r='<div style="max-width: '+t+'px; display: block;"><img alt="" role="presentation" aria-hidden="true" src="data:image/svg+xml;charset=utf-8,%3Csvg height=\''+n+"' width='"+t+"' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E\" style=\"max-width: 100%; display: block; position: static;\"></div>"),r}(a,n,o);return r.createElement(e,Object.assign({},p,{style:s({},c,this.props.style,{backgroundColor:this.props.backgroundColor}),className:l+(f?" "+f:""),ref:this.root,dangerouslySetInnerHTML:{__html:h},suppressHydrationWarning:!0}))},a}(r.Component),L=function(e){if(!e.image)return null;var t=e.image,n=JSON.stringify([t.width,t.height,t.layout,e.className,e.class,e.backgroundColor]);return r.createElement(D,Object.assign({key:n},e))};L.propTypes=O,L.displayName="GatsbyImage";var A,T=["src","__imageData","__error","width","height","aspectRatio","tracedSVGOptions","placeholder","formats","quality","transformOptions","jpgOptions","pngOptions","webpOptions","avifOptions","blurredOptions"],U=function(e,t){return"fullWidth"!==e.layout||"width"!==t&&"height"!==t||!e[t]?a().number.apply(a(),[e,t].concat([].slice.call(arguments,2))):new Error('"'+t+'" '+e[t]+" may not be passed when layout is fullWidth.")},I=new Set(["fixed","fullWidth","constrained"]),M={src:a().string.isRequired,alt:k,width:U,height:U,sizes:a().string,layout:function(e){if(void 0!==e.layout&&!I.has(e.layout))return new Error("Invalid value "+e.layout+'" provided for prop "layout". Defaulting to "constrained". Valid values are "fixed", "fullWidth" or "constrained".')}},N=(A=L,function(e){var t=e.src,n=e.__imageData,o=e.__error,a=u(e,T);return o&&console.warn(o),n?r.createElement(A,Object.assign({image:n},a)):(console.warn("Image not loaded",t),null)});function F(e){var t=e.children;return(0,r.useEffect)((function(){n.e(8776).then(n.bind(n,8776))}),[]),t}N.displayName="StaticImage",N.propTypes=M},6988:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapRootElement:function(){return a}});var r=n(7294),o=n(6802);function a(e){var t=e.element;return r.createElement(o.c,null,t)}},992:function(e,t,n){"use strict";var r=n(5318);n(5444),r(n(1632))},1632:function(e,t){"use strict";t.__esModule=!0,t.default=void 0;t.default=function(e,t){var n="manifest.webmanifest";if(!Array.isArray(t))return n;var r=t.find((function(t){return e.startsWith(t.start_url)}));return r?"manifest_"+r.lang+".webmanifest":n}},9499:function(e,t,n){"use strict";n.r(t),n.d(t,{BaseContext:function(){return M},Link:function(){return Q},Location:function(){return T},LocationProvider:function(){return U},Match:function(){return X},Redirect:function(){return $},Router:function(){return N},ServerLocation:function(){return I},createHistory:function(){return j},createMemorySource:function(){return E},globalHistory:function(){return C},isRedirect:function(){return V},matchPath:function(){return u},navigate:function(){return R},redirectTo:function(){return Y},useLocation:function(){return ee},useMatch:function(){return re},useNavigate:function(){return te},useParams:function(){return ne}});var r=n(7294),o=n(1143),a=n.n(o),i=n(3639),s=function(e,t){return e.substr(0,t.length)===t},c=function(e,t){for(var n=void 0,r=void 0,o=t.split("?")[0],i=v(o
1),s=""===i[0],c=g(e),u=0,l=c.length;u<l;u++){var p=!1,h=c[u].route;if(h.default)r={route:h,params:{},uri:t};else{for(var m=v(h.path),y={},w=Math.max(i.length,m.length),P=0;P<w;P++){var j=m[P],E=i[P];if(d(j)){y[j.slice(1)||"*"]=i.slice(P).map(decodeURIComponent).join("/");break}if(void 0===E){p=!0;break}var S=f.exec(j);if(S&&!s){-1===b.indexOf(S[1])||a()(!1);var C=decodeURIComponent(E);y[S[1]]=C}else if(j!==E){p=!0;break}}if(!p){n={route:h,params:y,uri:"/"+i.slice(0,P).join("/")};break}}}return n||r||null},u=function(e,t){return c([{path:e}],t)},l=function(e,t){if(s(e,"/"))return e;var n=e.split("?"),r=n[0],o=n[1],a=t.split("?")[0],i=v(r),c=v(a);if(""===i[0])return y(a,o);if(!s(i[0],".")){var u=c.concat(i).join("/");return y(("/"===a?"":"/")+u,o)}for(var l=c.concat(i),p=[],f=0,h=l.length;f<h;f++){var d=l[f];".."===d?p.pop():"."!==d&&p.push(d)}return y("/"+p.join("/"),o)},p=function(e,t){var n=e.split("?"),r=n[0],o=n[1],a=void 0===o?"":o,i="/"+v(r).map((function(e){var n=f.exec(e);return n?t[n[1]]:e})).join("/"),s=t.location,c=(s=void 0===s?{}:s).search,u=(void 0===c?"":c).split("?")[1]||"";return i=y(i,a,u)}
1,f=/^:(.+)/,h=function(e){return f.test(e)},d=function(e){return e&&"*"===e[0]},m=function(e,t){return{route:e,score:e.default?0:v(e.path).reduce((function(e,t){return e+=4,!function(e){return""===e}(t)?h(t)?e+=2:d(t)?e-=5:e+=3:e+=1,e}),0),index:t}},g=function(e){return e.map(m).sort((function(e,t){return e.score<t.score?1:e.score>t.score?-1:e.index-t.index}))},v=function(e){return e.replace(/(^\/+|\/+$)/g,"").split("/")},y=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return e+((n=n.filter((function(e){return e&&e.length>0})))&&n.length>0?"?"+n.join("&"):"")},b=["uri","path"],w=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},P=function(e){var t=e.location,n=t.search,r=t.hash,o=t.href,a=t.origin,i=t.protocol,s=t.host,c=t.hostname,u=t.port,l=e.location.pathname;!l&&o&&S&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:a,protocol:i,host:s,hostname:c,port:u,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},j=function(e,t){var n=[],r=P(e),o=!1,a=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,a()},listen:function(t){n.push(t);var o=function(){r=P(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),function(){e.removeEventListener("popstate",o),n=n.filter((function(e){return e!==t}))}},navigate:function(t){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=i.state,c=i.replace,u=void 0!==c&&c;if("number"==typeof t)e.history.go(t);else{s=w({},s,{key:Date.now()+""});try{o||u?e.history.replaceState(s,null,t):e.history.pushState(s,null,t)}catch(p){e.location[u?"replace":"assign"](t)}}r=P(e),o=!0;var l=new Promise((function(e){return a=e}));return n.forEach((function(e){return e({location:r,action:"PUSH"})})),l}}},E=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(e,t){},removeEventListener:function(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(e,t,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),a.push(e)},replaceState:function(e,t,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=e},go:function(e){var t=r+e;t<0||t>a.length-1||(r=t)}}}},S=!("undefined"==typeof window||!window.document||!window.document.createElement),C=j(S?window:E()),R=C.navigate,_=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};function k(e,t){var n={};for(var r in e)t.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n}function O(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function x(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function D(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var L=function(e,t){var n=(0,r.createContext)(t);return n.displayName=e,n},A=L("Location"),T=function(e){var t=e.children;return r.createElement(A.Consumer,null,(function(e){return e?t(e):r.createElement(U,null,t)}))},U=function(e){function t(){var n,r;O(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=x(this,e.call.apply(e,[this].concat(a))),r.state={context:r.getContext(),refs:{unlisten:null}},x(r,n)}return D(t,e),t.prototype.getContext=function(){var e=this.props.history;return{navigate:e.navigate,location:e.location}},t.prototype.componentDidCatch=function(e,t){if(!V(e))throw e;(0,this.props.history.navigate)(e.uri,{replace:!0})},t.prototype.componentDidUpdate=function(e,t){t.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},t.prototype.componentDidMount=function(){var e=this,t=this.state.refs,n=this.props.history;n._onTransitionComplete(),t.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){e.unmounted||e.setState((function(){return{context:e.getContext()}}))}))}))}))},t.prototype.componentWillUnmount=function(){var e=this.state.refs;this.unmounted=!0,e.unlisten()},t.prototype.render=function(){var e=this.state.context,t=this.props.children;return r.createElement(A.Provider,{value:e},"function"==typeof t?t(e):t||null)},t}(r.Component);U.defaultProps={history:C};var I=function(e){var t=e.url,n=e.children,o=t.indexOf("?"),a=void 0,i="";return o>-1?(a=t.substring(0,o),i=t.substring(o)):a=t,r.createElement(A.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},M=L("Base",{baseuri:"/",basepath:"/",navigate:C.navigate}),N=function(e){return r.createElement(M.Consumer,null,(function(t){return r.createElement(T,null,(function(n){return r.createElement(F,_({},t,n,e))}))}))},F=function(e){function t(){return O(this,t),x(this,e.apply(this,arguments))}return D(t,e),t.prototype.render=function(){var e=this.props,t=e.location,n=e.navigate,o=e.basepath,a=e.primary,i=e.children,s=(e.baseuri,e.component),u=void 0===s?"div":s,p=k(e,["location","navigate","basepath","primary","children","baseuri","component"]),f=r.Children.toArray(i).reduce((function(e,t){var n=ae(o)(t);return e.concat(n)}),[]),h=t.pathname,d=c(f,h);if(d){var m=d.params,g=d.uri,v=d.route,y=d.route.value;o=v.default?o:v.path.replace(/\*$/,"");var b=_({},m,{uri:g,location:t,navigate:function(e,t){return n(l(e,g),t)}}),w=r.cloneElement(y,b,y.props.children?r.createElement(N,{location:t,primary:a},y.props.children):void 0),P=a?q:u,j=a?_({uri:g,location:t,component:u},p):p;return r.createElement(M.Provider,{value:{baseuri:g,basepath:o,navigate:b.navigate}},r.createElement(P,j,w))}return null},t}(r.PureComponent);F.defaultProps={primary:!0};var W=L("Focus"),q=function(e){var t=e.uri,n=e.location,o=e.component,a=k(e,["uri","location","component"]);return r.createElement(W.Consumer,null,(function(e){return r.createElement(G,_({},a,{component:o,requestFocus:e,uri:t,location:n}))}))},H=!0,z=0,G=function(e){function t(){var n,r;O(this,t);for(var o=arguments.length,a=Array(o),i=0;i<o;i++)a[i]=arguments[i];return n=r=x(this,e.call.apply(e,[this].concat(a))),r.state={},r.requestFocus=function(e){!r.state.shouldFocus&&e&&e.focus()},x(r,n)}return D(t,e),t.getDerivedStateFromProps=function(e,t){if(null==t.uri)return _({shouldFocus:!0},e);var n=e.uri!==t.uri,r=t.location.pathname!==e.location.pathname&&e.location.pathname===e.uri;return _({shouldFocus:n||r},e)},t.prototype.componentDidMount=function(){z++,this.focus()},t.prototype.componentWillUnmount=function(){0===--z&&(H=!0)},t.prototype.componentDidUpdate=function(e,t){e.location!==this.props.location&&this.state.shouldFocus&&this.focus()}
1,t.prototype.focus=function(){var e=this.props.requestFocus;e?e(this.node):H?H=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},t.prototype.render=function(){var e=this,t=this.props,n=(t.children,t.style),o=(t.requestFocus,t.component),a=void 0===o?"div":o,i=(t.uri,t.location,k(t,["children","style","requestFocus","component","uri","location"]));return r.createElement(a,_({style:_({outline:"none"},n),tabIndex:"-1",ref:function(t){return e.node=t}},i),r.createElement(W.Provider,{value:this.requestFocus},this.props.children))},t}(r.Component);(0,i.O)(G);var Z=function(){},J=r.forwardRef;void 0===J&&(J=function(e){return e});var Q=J((function(e,t){var n=e.innerRef,o=k(e,["innerRef"]);return r.createElement(M.Consumer,null,(function(e){e.basepath;var a=e.baseuri;return r.createElement(T,null,(function(e){var i=e.location,c=e.navigate,u=o.to,p=o.state,f=o.replace,h=o.getProps,d=void 0===h?Z:h,m=k(o,["to","state","replace","getProps"]),g=l(u,a),v=encodeURI(g),y=i.pathname===v,b=s(i.pathname,v);return r.createElement("a",_({ref:t||n,"aria-current":y?"page":void 0},m,d({isCurrent:y,isPartiallyCurrent:b,href:g,location:i}),{href:g,onClick:function(e){if(m.onClick&&m.onClick(e),ie(e)){e.preventDefault();var t=f;if("boolean"!=typeof f&&y){var n=_({},i.state),r=(n.key,k(n,["key"]));o=_({},p),a=r,t=(s=Object.keys(o)).length===Object.keys(a).length&&s.every((function(e){return a.hasOwnProperty(e)&&o[e]===a[e]}))}c(g,{state:p,replace:t})}var o,a,s}}))}))}))}));function B(e){this.uri=e}Q.displayName="Link";var V=function(e){return e instanceof B},Y=function(e){throw new B(e)},K=function(e){function t(){return O(this,t),x(this,e.apply(this,arguments))}return D(t,e),t.prototype.componentDidMount=function(){var e=this.props,t=e.navigate,n=e.to,r=(e.from,e.replace),o=void 0===r||r,a=e.state,i=(e.noThrow,e.baseuri),s=k(e,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var e=l(n,i);t(p(e,s),{replace:o,state:a})}))},t.prototype.render=function(){var e=this.props,t=(e.navigate,e.to),n=(e.from,e.replace,e.state,e.noThrow),r=e.baseuri,o=k(e,["navigate","to","from","replace","state","noThrow","baseuri"]),a=l(t,r);return n||Y(p(a,o)),null},t}(r.Component),$=function(e){return r.createElement(M.Consumer,null,(function(t){var n=t.baseuri;return r.createElement(T,null,(function(t){return r.createElement(K,_({},t,{baseuri:n},e))}))}))},X=function(e){var t=e.path,n=e.children;return r.createElement(M.Consumer,null,(function(e){var o=e.baseuri;return r.createElement(T,null,(function(e){var r=e.navigate,a=e.location,i=l(t,o),s=u(i,a.pathname);return n({navigate:r,location:a,match:s?_({},s.params,{uri:s.uri,path:t}):null})}))}))},ee=function(){var e=(0,r.useContext)(A);if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},te=function(){var e=(0,r.useContext)(M);if(!e)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.navigate},ne=function(){var e=(0,r.useContext)(M);if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var t=ee(),n=u(e.basepath,t.pathname);return n?n.params:null},re=function(e){if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");var t=(0,r.useContext)(M);if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=ee(),o=l(e,t.baseuri),a=u(o,n.pathname);return a?_({},a.params,{uri:a.uri,path:e}):null},oe=function(e){return e.replace(/(^\/+|\/+$)/g,"")},ae=function e(t){return function(n){if(!n)return null;if(n.type===r.Fragment&&n.props.children)return r.Children.map(n.props.children,e(t));var o,i,s;if(n.props.path||n.props.default||n.type===$||a()(!1),n.type!==$||n.props.from&&n.props.to||a()(!1),n.type===$&&(o=n.props.from,i=n.props.to,s=function(e){return h(e)},v(o).filter(s).sort().join("/")!==v(i).filter(s).sort().join("/"))&&a()(!1),n.props.default)return{value:n,default:!0};var c=n.type===$?n.props.from:n.props.path,u="/"===c?t:oe(t)+"/"+oe(c);return{value:n,default:n.props.default,path:n.props.children?oe(u)+"/*":u}}},ie=function(e){return!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}},1143:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,a,i,s],l=0;(c=new Error(t.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}}},function(e){"use strict";e.O(0,[532,9774],(function(){return t=2871,e(e.s=t);var t}));e.O()}]); 2//# sourceMappingURL=app-8e0ea87adf5ef5d99441.js.map
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.