/*! For license information please see app-64d6375b6a46cc3d0d8b.js.LICENSE.txt */ (self.webpackChunkgatsby_starter_hello_world=self.webpackChunkgatsby_starter_hello_world||[]).push([[524],{1:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return s},collectedScriptsByPage:function(){return i},scriptCache:function(){return d},scriptCallbackCache:function(){return p}});var r=n(758),o=n(9477);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;tl.get(e)||[],set(e,t){const n=l.get(e)||[];n.push(t),l.set(e,n)},delete(e){l.delete(e)}},u="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var s,c;(c=s||(s={})).postHydrate="post-hydrate",c.idle="idle",c.offMainThread="off-main-thread";const f=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),d=new Set,p=new Map;function h(e){return r.createElement(o.Location,null,(()=>r.createElement(m,e)))}function m(e){const{src:t,strategy:n=s.postHydrate}=e||{},{pathname:l}=(0,o.useLocation)();if((0,r.useEffect)((()=>{let t;switch(n){case s.postHydrate:t=g(e);break;case s.idle:u((()=>{t=g(e)}));break;case s.offMainThread:{const t=y(e);i.set(l,t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}}),[]),n===s.offMainThread){const o=v(e),u=y(e);return"undefined"==typeof window&&i.set(l,u),r.createElement("script",o?a({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},u,{dangerouslySetInnerHTML:{__html:v(e)}}):a({type:"text/partytown",src:b(t),"data-strategy":n,crossOrigin:"anonymous"},u))}return null}function g(e){const{id:t,src:n,strategy:r=s.postHydrate,onLoad:o,onError:l}=e||{},i=t||n,u=["load","error"],c={load:o,error:l};if(i){for(const e of u)if(null!=c&&c[e]){var f;const t=p.get(i)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,m;n.push(null==c?void 0:c[e]),null!=t&&null!=(f=t[e])&&f.event?null==c||null==(h=c[e])||h.call(c,null==t||null==(m=t[e])?void 0:m.event):p.set(i,a({},t,{[e]:{callbacks:n}}))}if(d.has(i))return null}const g=v(e),b=y(e),k=document.createElement("script");t&&(k.id=t),k.dataset.strategy=r;for(const[a,s]of Object.entries(b))k.setAttribute(a,s);g&&(k.textContent=g),n&&(k.src=n);const S={};if(i){for(const e of u){const t=t=>w(t,i,e);k.addEventListener(e,t),S[`${e}Callback`]=t}d.add(i)}return document.body.appendChild(k),{script:k,loadCallback:S.loadCallback,errorCallback:S.errorCallback}}function v(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function y(e){const t={};for(const[n,r]of Object.entries(e))f.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=p.get(t)||{};for(const a of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;a(e)}p.set(t,{[n]:{event:e}})}},552:function(e,t,n){"use strict";n.d(t,{Wi:function(){return f},N5:function(){return k},Ay:function(){return _},Rh:function(){return x},LE:function(){return C},Zf:function(){return E},iC:function(){return S}});var r=n(9266),o=n(9216),a=n(4250);const l=function(e){if("undefined"==typeof document)return!1;const 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(((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)}))},i={};var u=function(e,t){return new Promise((n=>{i[e]?n():l(e,t).then((()=>{n(),i[e]=!0})).catch((()=>{}))}))},s=n(2703),c=n(8448);const f={Error:"error",Success:"success"},d=e=>{const[t,n]=e.split("?");var r;return`/page-data/${"/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r}/page-data.json${n?`?${n}`:""}`},p=e=>e.startsWith("//");function h(e,t){return void 0===t&&(t="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const m=/bot|crawler|spider|crawling/i,g=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function v(e){return new Promise((t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout((()=>{v(e).then(t)}),200)}}))}let y=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,c.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=h(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=d(t);return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{const n=JSON.parse(a);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+=`?${r}`),Object.assign(e,{status:f.Success,payload:n})}catch(l){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:f.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=d(t).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{return Object.assign(e,{status:f.Success,payload:a})}catch(l){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:f.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:f.Error})}))},t.loadPageDataJson=function(e){const t=(0,c.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,c.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return h(`/slice-data/${e}.json`,"GET").then((t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}}))},t.findMatchPath=function(e){return(0,c.Yl)(e)},t.loadPage=function(e){const t=(0,c.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const r=Promise.all(n).then((e=>{const[n,r,l]=e;if(r.status===f.Error||(null==l?void 0:l.status)===f.Error)return{status:f.Error};let i=r.payload;const{componentChunkName:u,staticQueryHashes:c=[],slicesMap:d={}}=i,p={},h=Array.from(new Set(Object.values(d))),m=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(h.map((e=>this.loadSliceDataJson(e)))).then((e=>{const d=[],h=(0,o.A)(c);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){d.push({name:n,...t});for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const y=[Promise.all(d.map(m)),this.loadComponent(u,"head")];y.push(this.loadComponent(u));const b=Promise.all(y).then((e=>{const[t,o,u]=e;p.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(p.status=f.Error,p.error=n);let s;if((!u||u instanceof Error)&&(p.status=f.Error,p.error=u),p.status!==f.Error){if(p.status=f.Success,!0!==r.notFound&&!0!==(null==l?void 0:l.notFound)||(p.notFound=!0),i=Object.assign(i,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==l?void 0:l.payload)){s=g(i,null,o),s.partialHydration=l.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(l.payload))},pull(e){e.close()},cancel(){}});return v((0,a.createFromReadableStream)(e)).then((e=>(s.partialHydration=e,s)))}s=g(i,u,o)}return s})),w=Promise.all(h.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then((t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r})),t}));return Promise.all([b,w]).then((e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},p.payload=n,s.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,p),p.error?{error:p.error,status:p.status}:n})).catch((e=>({error:e,status:f.Error})))}))}));return r.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,r),r},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,c.Hh)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!m.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[n]=t;return n===e}));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,c.Hh)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=d(e);return u(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,c.Hh)(e),n=this.pageDataDb.get(t);if(n){const e=g(n.payload);return[].concat((0,o.A)(b(e.page.componentChunkName)),[d(t)])}return null},t.isPageNotFound=function(e){const t=(0,c.Hh)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(a){}return o}))},e}();const b=e=>(window.___chunkMapping[e]||[]).map((e=>""+e));let w,k=function(e){function t(t,n,r){var o;return o=e.call(this,(function(e,n){if(void 0===n&&(n="components"),!t[n="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[n][e]().catch((e=>e))}),n)||this,r&&o.pageDataDb.set((0,c.Hh)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==f.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=b(n);return Promise.all(r.map(u)).then((()=>t))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?p(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:f.Error}:e)):e))},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?p(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:f.Error}:e)):e))},t}(y);const S=e=>{w=e},E={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var _=E;function C(){return w?w.staticQueryDb:{}}function x(){return w?w.slicesDb:{}}},758:function(e,t,n){"use strict";e.exports=n(2713)},1017:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const a=(0,o.getForwards)(e),l=document.createElement("script");l.dataset.partytown="",l.innerHTML=(0,r.partytownSnippet)({forward:a}),document.head.appendChild(l)};var r=n(7375),o=n(7980)},1063:function(e,t,n){"use strict";var r=n(2796);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(6165)),a=r(n(4095)),l=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=s(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 l=o?Object.getOwnPropertyDescriptor(e,a):null;l&&(l.get||l.set)?Object.defineProperty(r,a,l):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(758)),i=r(n(2736)),u=n(9047);function s(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(s=function(e){return e?n:t})(e)}var c=l.createContext(new u.SessionStorage);t.ScrollContext=c,c.displayName="GatsbyScrollContext";var f=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},1330:function(e,t,n){"use strict";n.d(t,{G:function(){return o}});var r=n(758);const o=(a="StaticQuery",l={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(a,l):r.createContext(l));var a,l},1405:function(e,t){"use strict";t.T=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},1814:function(e,t,n){"use strict";n.r(t);var r=n(758),o=n(552),a=n(8123);t.default=e=>{let{location:t}=e;const n=o.Ay.loadPageSync(t.pathname);return n?r.createElement(a.A,{location:t,pageResources:n,...n.json}):null}},1896:function(e,t,n){"use strict";e.exports=n(4733)},2497:function(e,t,n){"use strict";n.d(t,{N_:function(){return o.N_},G:function(){return a.G}});var r=n(552),o=(n(9302),n(7539),n(9384)),a=n(1330);n(758),n(9699),n(4497);r.Ay.enqueue},2703:function(e,t,n){"use strict";n.d(t,{A: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)}))}}}()},2713:function(e,t){"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),l=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=v.prototype;var w=b.prototype=new y;w.constructor=b,m(w,v.prototype),w.isPureReactComponent=!0;var k=Array.isArray,S=Object.prototype.hasOwnProperty,E={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function C(e,t,r){var o,a={},l=null,i=null;if(null!=t)for(o in void 0!==t.ref&&(i=t.ref),void 0!==t.key&&(l=""+t.key),t)S.call(t,o)&&!_.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=r;else if(1=0||Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);return n},V=function(e){return!1===(!(arguments.length>1&&void 0!==arguments[1])||arguments[1])?String(e):String(e).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'")},Q=function(e){var t=X(e,w.TITLE),n=X(e,I);if(n&&t)return n.replace(/%s/g,(function(){return Array.isArray(t)?t.join(""):t}));var r=X(e,D);return t||r||void 0},q=function(e){return X(e,z)||function(){}},K=function(e,t){return t.filter((function(t){return void 0!==t[e]})).map((function(t){return t[e]})).reduce((function(e,t){return W({},e,t)}),{})},J=function(e,t){return t.filter((function(e){return void 0!==e[w.BASE]})).map((function(e){return e[w.BASE]})).reverse().reduce((function(t,n){if(!t.length)for(var r=Object.keys(n),o=0;o=0;n--){var r=e[n];if(r.hasOwnProperty(t))return r[t]}return null},G=(r=Date.now(),function(e){var t=Date.now();t-r>16?(r=t,e(t)):setTimeout((function(){G(e)}),0)}),Z=function(e){return clearTimeout(e)},ee="undefined"!=typeof window?window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||G:n.g.requestAnimationFrame||G,te="undefined"!=typeof window?window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||Z:n.g.cancelAnimationFrame||Z,ne=function(e){return console&&"function"==typeof console.warn&&console.warn(e)},re=null,oe=function(e,t){var n=e.baseTag,r=e.bodyAttributes,o=e.htmlAttributes,a=e.linkTags,l=e.metaTags,i=e.noscriptTags,u=e.onChangeClientState,s=e.scriptTags,c=e.styleTags,f=e.title,d=e.titleAttributes;ie(w.BODY,r),ie(w.HTML,o),le(f,d);var p={baseTag:ue(w.BASE,n),linkTags:ue(w.LINK,a),metaTags:ue(w.META,l),noscriptTags:ue(w.NOSCRIPT,i),scriptTags:ue(w.SCRIPT,s),styleTags:ue(w.STYLE,c)},h={},m={};Object.keys(p).forEach((function(e){var t=p[e],n=t.newTags,r=t.oldTags;n.length&&(h[e]=n),r.length&&(m[e]=p[e].oldTags)})),t&&t(),u(e,h,m)},ae=function(e){return Array.isArray(e)?e.join(""):e},le=function(e,t){void 0!==e&&document.title!==e&&(document.title=ae(e)),ie(w.TITLE,t)},ie=function(e,t){var n=document.getElementsByTagName(e)[0];if(n){for(var r=n.getAttribute(U),o=r?r.split(","):[],a=[].concat(o),l=Object.keys(t),i=0;i=0;f--)n.removeAttribute(a[f]);o.length===a.length?n.removeAttribute(U):n.getAttribute(U)!==l.join(",")&&n.setAttribute(U,l.join(","))}},ue=function(e,t){var n=document.head||document.querySelector(w.HEAD),r=n.querySelectorAll(e+"["+U+"]"),o=Array.prototype.slice.call(r),a=[],l=void 0;return t&&t.length&&t.forEach((function(t){var n=document.createElement(e);for(var r in t)if(t.hasOwnProperty(r))if(r===C)n.innerHTML=t.innerHTML;else if(r===S)n.styleSheet?n.styleSheet.cssText=t.cssText:n.appendChild(document.createTextNode(t.cssText));else{var i=void 0===t[r]?"":t[r];n.setAttribute(r,i)}n.setAttribute(U,"true"),o.some((function(e,t){return l=t,n.isEqualNode(e)}))?o.splice(l,1):a.push(n)})),o.forEach((function(e){return e.parentNode.removeChild(e)})),a.forEach((function(e){return n.appendChild(e)})),{oldTags:o,newTags:a}},se=function(e){return Object.keys(e).reduce((function(t,n){var r=void 0!==e[n]?n+'="'+e[n]+'"':""+n;return t?t+" "+r:r}),"")},ce=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[L[n]||n]=e[n],t}),t)},fe=function(e,t,n){switch(e){case w.TITLE:return{toComponent:function(){return e=t.title,n=t.titleAttributes,(r={key:e})[U]=!0,o=ce(n,r),[u.createElement(w.TITLE,o,e)];var e,n,r,o},toString:function(){return function(e,t,n,r){var o=se(n),a=ae(t);return o?"<"+e+" "+U+'="true" '+o+">"+V(a,r)+"":"<"+e+" "+U+'="true">'+V(a,r)+""}(e,t.title,t.titleAttributes,n)}};case v:case y:return{toComponent:function(){return ce(t)},toString:function(){return se(t)}};default:return{toComponent:function(){return function(e,t){return t.map((function(t,n){var r,o=((r={key:n})[U]=!0,r);return Object.keys(t).forEach((function(e){var n=L[e]||e;if(n===C||n===S){var r=t.innerHTML||t.cssText;o.dangerouslySetInnerHTML={__html:r}}else o[n]=t[e]})),u.createElement(e,o)}))}(e,t)},toString:function(){return function(e,t,n){return t.reduce((function(t,r){var o=Object.keys(r).filter((function(e){return!(e===C||e===S)})).reduce((function(e,t){var o=void 0===r[t]?t:t+'="'+V(r[t],n)+'"';return e?e+" "+o:o}),""),a=r.innerHTML||r.cssText||"",l=-1===F.indexOf(e);return t+"<"+e+" "+U+'="true" '+o+(l?"/>":">"+a+"")}),"")}(e,t,n)}}}},de=function(e){var t=e.baseTag,n=e.bodyAttributes,r=e.encode,o=e.htmlAttributes,a=e.linkTags,l=e.metaTags,i=e.noscriptTags,u=e.scriptTags,s=e.styleTags,c=e.title,f=void 0===c?"":c,d=e.titleAttributes;return{base:fe(w.BASE,t,r),bodyAttributes:fe(v,n,r),htmlAttributes:fe(y,o,r),link:fe(w.LINK,a,r),meta:fe(w.META,l,r),noscript:fe(w.NOSCRIPT,i,r),script:fe(w.SCRIPT,u,r),style:fe(w.STYLE,s,r),title:fe(w.TITLE,{title:f,titleAttributes:d},r)}},pe=d()((function(e){return{baseTag:J([E,O],e),bodyAttributes:K(v,e),defer:X(e,M),encode:X(e,A),htmlAttributes:K(y,e),linkTags:Y(w.LINK,[R,E],e),metaTags:Y(w.META,[P,k,_,T,x],e),noscriptTags:Y(w.NOSCRIPT,[C],e),onChangeClientState:q(e),scriptTags:Y(w.SCRIPT,[N,C],e),styleTags:Y(w.STYLE,[S],e),title:Q(e),titleAttributes:K(b,e)}}),(function(e){re&&te(re),e.defer?re=ee((function(){oe(e,(function(){re=null}))})):(oe(e),re=null)}),de)((function(){return null})),he=(o=pe,l=a=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(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}(this,e.apply(this,arguments))}return function(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)}(t,e),t.prototype.shouldComponentUpdate=function(e){return!h()(this.props,e)},t.prototype.mapNestedChildrenToProps=function(e,t){if(!t)return null;switch(e.type){case w.SCRIPT:case w.NOSCRIPT:return{innerHTML:t};case w.STYLE:return{cssText:t}}throw new Error("<"+e.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")},t.prototype.flattenArrayTypeChildren=function(e){var t,n=e.child,r=e.arrayTypeChildren,o=e.newChildProps,a=e.nestedChildren;return W({},r,((t={})[n.type]=[].concat(r[n.type]||[],[W({},o,this.mapNestedChildrenToProps(n,a))]),t))},t.prototype.mapObjectTypeChildren=function(e){var t,n,r=e.child,o=e.newProps,a=e.newChildProps,l=e.nestedChildren;switch(r.type){case w.TITLE:return W({},o,((t={})[r.type]=l,t.titleAttributes=W({},a),t));case w.BODY:return W({},o,{bodyAttributes:W({},a)});case w.HTML:return W({},o,{htmlAttributes:W({},a)})}return W({},o,((n={})[r.type]=W({},a),n))},t.prototype.mapArrayTypeChildrenToProps=function(e,t){var n=W({},t);return Object.keys(e).forEach((function(t){var r;n=W({},n,((r={})[t]=e[t],r))})),n},t.prototype.warnOnInvalidChildren=function(e,t){return!0},t.prototype.mapChildrenToProps=function(e,t){var n=this,r={};return u.Children.forEach(e,(function(e){if(e&&e.props){var o=e.props,a=o.children,l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return Object.keys(e).reduce((function(t,n){return t[j[n]||n]=e[n],t}),t)}(B(o,["children"]));switch(n.warnOnInvalidChildren(e,a),e.type){case w.LINK:case w.META:case w.NOSCRIPT:case w.SCRIPT:case w.STYLE:r=n.flattenArrayTypeChildren({child:e,arrayTypeChildren:r,newChildProps:l,nestedChildren:a});break;default:t=n.mapObjectTypeChildren({child:e,newProps:t,newChildProps:l,nestedChildren:a})}}})),t=this.mapArrayTypeChildrenToProps(r,t)},t.prototype.render=function(){var e=this.props,t=e.children,n=B(e,["children"]),r=W({},n);return t&&(r=this.mapChildrenToProps(t,r)),u.createElement(o,r)},$(t,null,[{key:"canUseDOM",set:function(e){o.canUseDOM=e}}]),t}(u.Component),a.propTypes={base:c().object,bodyAttributes:c().object,children:c().oneOfType([c().arrayOf(c().node),c().node]),defaultTitle:c().string,defer:c().bool,encodeSpecialCharacters:c().bool,htmlAttributes:c().object,link:c().arrayOf(c().object),meta:c().arrayOf(c().object),noscript:c().arrayOf(c().object),onChangeClientState:c().func,script:c().arrayOf(c().object),style:c().arrayOf(c().object),title:c().string,titleAttributes:c().object,titleTemplate:c().string},a.defaultProps={defer:!0,encodeSpecialCharacters:!0},a.peek=o.peek,a.rewind=function(){var e=o.rewind();return e||(e=de({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}})),e},l);he.renderStatic=he.rewind;const me=e=>{let{hrefs:t}=e;const n=[];return t.forEach((e=>{const t=u.createElement("noscript",{key:`noscript-${e}`},``),r=u.createElement("link",{key:`stylesheet-${e}`,rel:"stylesheet",media:"all",href:e});n.push([t,r])})),u.createElement(he,null,n)},ge="async",ve="body",ye=e=>{const t=[];return e.forEach((e=>{let{name:n}=e;return Array.isArray(n)?t.push.apply(t,(0,i.A)(n)):t.push(n)})),t},be=e=>{let{fontNames:t,scope:n}=e;const r=t&&Boolean(t.length),o="html"===n?"documentElement":"body",a="fonts"in document;function l(){c("all")}function i(e){e.forEach((e=>{c(e.family)}))}function u(e){return document.fonts.load(`1rem ${e}`).then(i).catch(s)}function s(){t.forEach(c)}function c(e){var t;document[o].classList.add(`wf-${t=e,t.match(/[A-Z]{2,}(?=[A-Z][a-z0-9]*|\b)|[A-Z]?[a-z0-9]*|[A-Z]|[0-9]+/g).filter(Boolean).map((e=>e.toLowerCase())).join("-")}`)}if(!a)return f="Font loading API not available",console.info(`document.fonts API error: ${f}`),console.info("Replacing fonts instantly. FOUT handling failed."),void s();var f;r&&a&&function(){const e=t.map(u);Promise.all(e).then(l).catch(s)}()},we=(e,t)=>{let{custom:n=[],web:r=[],enableListener:o=!1,scope:a=ve}=t;if(!o)return;const l=[].concat((0,i.A)(n),(0,i.A)(r)),u=ye(l);be({fontNames:u,scope:a})},ke=(e,t)=>{let{element:n}=e,{custom:r=[],web:o=[],mode:a=ge}=t;if("async"!==a)return n;const l=[].concat((0,i.A)(r),(0,i.A)(o)),s=(e=>e.map((e=>{let{file:t}=e;return t})))(l),c=ye(l),f=Boolean(c.length);return u.createElement(u.Fragment,null,f&&u.createElement(me,{hrefs:s}),n)}},4072:function(e){var t="undefined"!=typeof Element,n="function"==typeof Map,r="function"==typeof Set,o="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;function a(e,l){if(e===l)return!0;if(e&&l&&"object"==typeof e&&"object"==typeof l){if(e.constructor!==l.constructor)return!1;var i,u,s,c;if(Array.isArray(e)){if((i=e.length)!=l.length)return!1;for(u=i;0!=u--;)if(!a(e[u],l[u]))return!1;return!0}if(n&&e instanceof Map&&l instanceof Map){if(e.size!==l.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!l.has(u.value[0]))return!1;for(c=e.entries();!(u=c.next()).done;)if(!a(u.value[1],l.get(u.value[0])))return!1;return!0}if(r&&e instanceof Set&&l instanceof Set){if(e.size!==l.size)return!1;for(c=e.entries();!(u=c.next()).done;)if(!l.has(u.value[0]))return!1;return!0}if(o&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(l)){if((i=e.length)!=l.length)return!1;for(u=i;0!=u--;)if(e[u]!==l[u])return!1;return!0}if(e.constructor===RegExp)return e.source===l.source&&e.flags===l.flags;if(e.valueOf!==Object.prototype.valueOf&&"function"==typeof e.valueOf&&"function"==typeof l.valueOf)return e.valueOf()===l.valueOf();if(e.toString!==Object.prototype.toString&&"function"==typeof e.toString&&"function"==typeof l.toString)return e.toString()===l.toString();if((i=(s=Object.keys(e)).length)!==Object.keys(l).length)return!1;for(u=i;0!=u--;)if(!Object.prototype.hasOwnProperty.call(l,s[u]))return!1;if(t&&e instanceof Element)return!1;for(u=i;0!=u--;)if(("_owner"!==s[u]&&"__v"!==s[u]&&"__o"!==s[u]||!e.$$typeof)&&!a(e[s[u]],l[s[u]]))return!1;return!0}return e!=e&&l!=l}e.exports=function(e,t){try{return a(e,t)}catch(n){if((n.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw n}}},4074:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4095:function(e,t,n){var r=n(4074);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4250:function(e,t,n){"use strict";e.exports=n(6414)},4497:function(e,t,n){"use strict";n.d(t,{Jr:function(){return l},dd:function(){return o},j$:function(){return a}});var r=n(758);const o=r.createContext({}),a=r.createContext({}),l=r.createContext({})},4733:function(e,t){"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0>>1,o=e[r];if(!(0>>1;ra(u,n))sa(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[i]=n,r=i);else{if(!(sa(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var l=performance;t.unstable_now=function(){return l.now()}}else{var i=Date,u=i.now();t.unstable_now=function(){return i.now()-u}}var s=[],c=[],f=1,d=null,p=3,h=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function k(e){if(g=!1,w(e),!m)if(null!==r(s))m=!0,D(S);else{var t=r(c);null!==t&&M(k,t.startTime-e)}}function S(e,n){m=!1,g&&(g=!1,y(x),x=-1),h=!0;var a=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!R());){var l=d.callback;if("function"==typeof l){d.callback=null,p=d.priorityLevel;var i=l(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof i?d.callback=i:d===r(s)&&o(s),w(n)}else o(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&M(k,f.startTime-n),u=!1}return u}finally{d=null,p=a,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var E,_=!1,C=null,x=-1,P=5,T=-1;function R(){return!(t.unstable_now()-Te||125l?(e.sortIndex=a,n(c,e),null===r(s)&&e===r(c)&&(g?(y(x),x=-1):g=!0,M(k,a-l))):(e.sortIndex=i,n(s,e),m||h||(m=!0,D(S))),e},t.unstable_shouldYield=R,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},4741:function(e){"use strict";e.exports=Object.assign},5138:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(1),n(1017);t.onInitialClientRender=()=>{}},5866:function(e,t,n){"use strict";var r=n(9266),o=n(8927),a=n(758),l=n(9477),i=n(7539),u=n(1330),s=n(4497),c=n(552),f=n(1202),d=n(2703);const p={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"};var h=n(9384);function m(e){const t=(0,f.X)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let g="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&g&&(window.location.pathname=g)}));const v=(e,t)=>{m(e.pathname)||(g=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},y=(e,t)=>{m(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void l.globalHistory.navigate(e);const{pathname:n,search:r,hash:a}=(0,h.Rr)(e),i=(0,f.X)(n);if(i&&(e=i.toPath+r+a),window.___swUpdated)return void(window.location=n+r+a);const u=setTimeout((()=>{d.A.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})}),1e3);c.Ay.loadPage(n+r).then((o=>{if(!o||o.status===c.Wi.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(u);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+r+a),(0,l.navigate)(e,t),clearTimeout(u)}))};function w(e,t){let{location:n}=t;const{pathname:r,hash:a}=n,l=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(l.length>0)return l[l.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return a?decodeURI(a.slice(1)):[0,0]}return!0}let k=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return a.createElement("div",Object.assign({},p,{ref:this.announcementRef}))},t}(a.Component);const S=(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)};let E=function(e){function t(t){var n;return n=e.call(this,t)||this,v(t.location,null),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!S(this.props.location,e.location)&&(v(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){S(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(k,{location:location}))},t}(a.Component);var _=n(8123),C=n(7084);function x(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 P=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||c.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.A)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:c.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){c.Ay.loadPage(e).then((t=>{t&&t.status!==c.Wi.Error?this.setState({location:{...window.location},pageResources:t}):(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 x(e.props,t)||x(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),T=n(6326),R=n(7657);const N=new c.N5(C,[],window.pageData);(0,c.iC)(N),N.setApiRunner(o.N);const{render:O,hydrate:L}=(0,R.n)();window.asyncRequires=C,window.___emitter=d.A,window.___loader=c.Zf,l.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>b(e,t);const D="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(8975);const e=e=>a.createElement(l.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(_.A,e)),t=a.createContext({}),f={renderEnvironment:"browser"};let d=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.A)(n,e),n.prototype.render=function(){const{children:e}=this.props;return a.createElement(l.Location,null,(n=>{let{location:r}=n;return a.createElement(P,{location:r},(n=>{let{pageResources:r,location:o}=n;const l=(0,c.LE)(),i=(0,c.Rh)();return a.createElement(u.G.Provider,{value:l},a.createElement(s.j$.Provider,{value:f},a.createElement(s.dd.Provider,{value:i},a.createElement(s.Jr.Provider,{value:r.page.slicesMap},a.createElement(t.Provider,{value:{pageResources:r,location:o}},e)))))}))}))},n}(a.Component),p=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.A)(o,n),o.prototype.render=function(){return a.createElement(t.Consumer,null,(t=>{let{pageResources:n,location:r}=t;return a.createElement(E,{location:r},a.createElement(i.z_,{location:r,shouldUpdateScroll:w},a.createElement(l.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},a.createElement(e,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,T.A)(r.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:r,pageResources:n},n.json)))))}))},o}(a.Component);const{pagePath:h,location:m}=window;h&&""+h!==m.pathname+(h.includes("?")?m.search:"")&&!(N.findMatchPath((0,T.A)(m.pathname,""))||h.match(/^\/(404|500)(\/?|.html)$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,l.navigate)(""+h+(h.includes("?")?"":m.search)+m.hash,{replace:!0});const g=()=>{try{return sessionStorage}catch{return null}};c.Zf.loadPage(m.pathname+m.search).then((e=>{var t;const n=g();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n)){if(!("1"===n.getItem(D)))return n.setItem(D,"1"),void window.location.reload(!0)}if(n&&n.removeItem(D),!e||e.status===c.Wi.Error){const 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)}const r=(0,o.N)("wrapRootElement",{element:a.createElement(p,null)},a.createElement(p,null),(e=>{let{result:t}=e;return{element:t}})).pop(),l=function(){const e=a.useRef(!1);return a.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))}),[]),a.createElement(d,null,r)},i=document.getElementById("gatsby-focus-wrapper");let u=O;i&&i.children.length&&(u=L);const s=(0,o.N)("replaceHydrateFunction",void 0,u)[0];function f(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;s(a.createElement(l,null),e)}const h=document;if("complete"===h.readyState||"loading"!==h.readyState&&!h.documentElement.doScroll)setTimeout((function(){f()}),0);else{const e=function(){h.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),f()};h.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},6165: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.__esModule=!0,e.exports.default=e.exports},6186:function(e,t,n){"use strict";var r=n(2985);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,l){if(l!==r){var i=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 i.name="Invariant Violation",i}}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}},6326: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,{A:function(){return r}})},6414:function(e,t,n){"use strict";var r=n(758),o={stream:!0},a=new Map,l=Symbol.for("react.element"),i=Symbol.for("react.lazy"),u=Symbol.for("react.default_value"),s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function c(e,t,n){this._status=e,this._value=t,this._response=n}function f(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var r=(t=e._value).chunks,o=0;oPromise.all([n.e(869),n.e(209)]).then(n.bind(n,8628)),"component---src-pages-index-js":()=>Promise.all([n.e(869),n.e(176),n.e(293)]).then(n.bind(n,2249)),"component---src-pages-organ-js":()=>Promise.all([n.e(869),n.e(176),n.e(844)]).then(n.bind(n,4472)),"component---src-pages-projects-js":()=>Promise.all([n.e(869),n.e(429)]).then(n.bind(n,2574))}},7375:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n{let o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},7980:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},8123:function(e,t,n){"use strict";n.d(t,{A:function(){return _}});var r=n(758),o=n(2736),a=n.n(o),l=n(8927),i=n(8448),u=n(9216),s=n(2497),c=n(9477),f=n(7657);function d(e){let{children:t,callback:n}=e;return(0,r.useEffect)((()=>{n()})),t}const p=["link","meta","style","title","base","noscript","script","html","body"];function h(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function m(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const s of e.childNodes){var o,a;const e=s.nodeName.toLowerCase(),c=null===(o=s.attributes)||void 0===o||null===(a=o.id)||void 0===a?void 0:a.value;if(y(s)){if(v(e))if("html"===e||"body"===e)for(const n of s.attributes){const r="style"===n.name;var l;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=`${null!==(l=t[e])&&void 0!==l&&l.style?t[e].style:""}${n.value} `}else{let e=s.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=g(e)),c)if(n.has(c)){var i;const t=n.get(c);null===(i=r[t].parentNode)||void 0===i||i.removeChild(r[t]),r[t]=e}else r.push(e),n.set(c,r.length-1);else r.push(e)}s.childNodes.length&&r.push.apply(r,(0,u.A)(m(s,t).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function g(e){const t=document.createElement("script");for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function v(e){return p.includes(e)}function y(e){return 1===e.nodeType}const b=document.createElement("div"),w={html:[],body:[]},k=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=m(b);w.html=Object.keys(n.html),w.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");r&&Object.entries(t).forEach((e=>{let[t,n]=e;r.setAttribute(t,n)}));const o=document.querySelector("body");o&&Object.entries(n).forEach((e=>{let[t,n]=e;o.setAttribute(t,n)}))}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,u.A)(t));const a=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:o}=e;for(const a of t){const e=n.findIndex((e=>h(e,a)));-1===e?r(a):n.splice(e,1)}for(const a of n)o(a)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>a.push(e)}),(e=document.head).append.apply(e,a)};function S(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:o}=e;(0,r.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(t.Head);const{render:a}=(0,f.n)(),i=r.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),u=(0,l.N)("wrapRootElement",{element:i},i,(e=>{let{result:t}=e;return{element:t}})).pop();a(r.createElement(d,{callback:k},r.createElement(s.G.Provider,{value:n},r.createElement(c.LocationProvider,null,u))),b)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(n){const e=document.querySelector("body");n.forEach((t=>{e&&e.removeAttribute(t)}))}}(w)}}))}function E(e){const t={...e,params:{...(0,i.UA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});S({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,l.N)("wrapPageElement",{element:n,props:t},n,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()}E.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var _=E},8143:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(t){console.error(t)}}(),e.exports=n(9481)},8448:function(e,t,n){"use strict";n.d(t,{Yl:function(){return d},Hh:function(){return h},UA:function(){return p},QX:function(){return f}});var r=n(9477),o=n(6326),a=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},l=n(1202);const i=new Map;let u=[];const s=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=`${n}?${encodeURIComponent(r)}`}const n=decodeURIComponent(t);return(0,o.A)(n,decodeURIComponent("")).split("#")[0]};function c(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const f=e=>{u=e},d=e=>{const t=m(e),n=u.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?a(o.route.originalPath):null},p=e=>{const t=m(e),n=u.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},h=e=>{const t=s(c(e));if(i.has(t))return i.get(t);const n=(0,l.X)(e);if(n)return h(n.toPath);let r=d(t);return r||(r=m(e)),i.set(t,r),r},m=e=>{let t=s(c(e));return"/index.html"===t&&(t="/"),t=a(t),t}},8927:function(e,t,n){const r=n(2934),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:l}=n(552).Zf;t.N=function(e,t,n,i){void 0===t&&(t={});let u=r.map((n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=a,t.loadPageSync=l;const r=n.plugin[e](t,n.options);return r&&i&&(t=i({args:t,result:r,plugin:n})),r}));return u=u.filter((e=>void 0!==e)),u.length>0?u:n?[n]:[]},t.v=(e,t,n)=>r.reduce(((n,r)=>r.plugin[e]?n.then((()=>r.plugin[e](t,r.options))):n),Promise.resolve())},8975:function(e,t,n){"use strict";n.r(t);var r=n(8927);"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",(()=>{(0,r.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.N)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},9047: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(l){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},9216:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n{if("string"==typeof e)return!(e=>s.test(e))(e)};function f(e,t=""){var n;if(!c(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:"")?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const d=e=>null==e?void 0:e.startsWith("/");function p(e,t){const{pathname:n,search:r,hash:o}=u(e);return`${(0,l.T)(n,t)}${r}${o}`}const h=(e,t)=>"number"==typeof e?e:c(e)?d(e)?function(e){const t=f(e),n="always";return p(t,n)}(e):function(e,t){if(d(e))return e;const n="always",r=(0,a.resolve)(e,t);return p(r,n)}(e,t):e,m=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];const g={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function v(e){return o.createElement(a.Location,null,(({location:t})=>o.createElement(y,i({},e,{_location:t}))))}class y extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:i({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=u(h(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(e),{instance:n,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:l,state:s,replace:f,_location:d}=e,p=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,m),g=h(t,d.pathname);return c(g)?o.createElement(a.Link,i({to:g,state:s,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{l&&l(e);const t=u(g);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=f;const n=encodeURI(g)===d.pathname;"boolean"!=typeof f&&n&&(t=!0),window.___navigate(g,{state:s,replace:t})}return!0}},p)):o.createElement("a",i({href:g},p))}}y.propTypes=i({},g,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const b=o.forwardRef(((e,t)=>o.createElement(v,i({innerRef:t},e))))},9477:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return g},Link:function(){return q},Location:function(){return G},LocationContext:function(){return v},LocationProvider:function(){return X},Match:function(){return ee},Redirect:function(){return _},Router:function(){return ie},ServerLocation:function(){return Z},createHistory:function(){return c},createMemorySource:function(){return f},globalHistory:function(){return p},insertParams:function(){return R},isRedirect:function(){return k},match:function(){return P},navigate:function(){return h},pick:function(){return x},redirectTo:function(){return S},resolve:function(){return T},shallowCompare:function(){return F},startsWith:function(){return C},useBaseContext:function(){return y},useLocation:function(){return se},useLocationContext:function(){return b},useMatch:function(){return de},useNavigate:function(){return ce},useParams:function(){return fe},validateRedirect:function(){return N}});var o=n(758),a=n(2736),l=n(9597);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[n]=e[n]);return o}const s=e=>{const{search:t,hash:n,href:r,origin:o,protocol:a,host:l,hostname:i,port:u}=e.location;let{pathname:s}=e.location;return!s&&r&&d&&(s=new URL(r).pathname),{pathname:encodeURI(decodeURI(s)),search:t,hash:n,href:r,origin:o,protocol:a,host:l,hostname:i,port:u,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},c=(e,t)=>{let n=[],r=s(e),o=!1,a=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(t){n.push(t);const o=()=>{r=s(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter((e=>e!==t))}},navigate(t,{state:l,replace:u=!1}={}){if("number"==typeof t)e.history.go(t);else{l=i({},l,{key:Date.now()+""});try{o||u?e.history.replaceState(l,null,t):e.history.pushState(l,null,t)}catch(n){e.location[u?"replace":"assign"](t)}}r=s(e),o=!0;const c=new Promise((e=>a=e));return n.forEach((e=>e({location:r,action:"PUSH"}))),c}}},f=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],a=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState(e,t,n){const[l,i=""]=n.split("?");r++,o.push({pathname:l,search:i.length?`?${i}`:i}),a.push(e)},replaceState(e,t,n){const[l,i=""]=n.split("?");o[r]={pathname:l,search:i},a[r]=e},go(e){const t=r+e;t<0||t>a.length-1||(r=t)}}}},d=!("undefined"==typeof window||!window.document||!window.document.createElement),p=c(d?window:f()),{navigate:h}=p;function m(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const g=m("Base",{baseuri:"/",basepath:"/"}),v=m("Location"),y=()=>o.useContext(g),b=()=>o.useContext(v);function w(e){this.uri=e}const k=e=>e instanceof w,S=e=>{throw new w(e)};function E(e){const{to:t,replace:n=!0,state:r,noThrow:a,baseuri:l}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=T(t,l);h(R(o,e),{replace:n,state:r})}))}),[]);const i=T(t,l);return a||S(R(i,e)),null}const _=e=>{const t=b(),{baseuri:n}=y();return o.createElement(E,i({},t,{baseuri:n},e))};_.propTypes={from:a.string,to:a.string.isRequired};const C=(e,t)=>e.substr(0,t.length)===t,x=(e,t)=>{let n,r;const[o]=t.split("?"),a=z(o),i=""===a[0],u=A(e);for(let s=0,c=u.length;s dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);f[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:f,uri:"/"+a.slice(0,p).join("/")};break}}return n||r||null},P=(e,t)=>x([{path:e}],t),T=(e,t)=>{if(C(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),a=z(n),l=z(o);if(""===a[0])return I(o,r);if(!C(a[0],".")){const e=l.concat(a).join("/");return I(("/"===o?"":"/")+e,r)}const i=l.concat(a),u=[];for(let s=0,c=i.length;s{const[n,r=""]=e.split("?");let o="/"+z(n).map((e=>{const n=O.exec(e);return n?t[n[1]]:e})).join("/");const{location:{search:a=""}={}}=t,l=a.split("?")[1]||"";return o=I(o,r,l),o},N=(e,t)=>{const n=e=>L(e);return z(e).filter(n).sort().join("/")===z(t).filter(n).sort().join("/")},O=/^:(.+)/,L=e=>O.test(e),D=e=>e&&"*"===e[0],M=(e,t)=>({route:e,score:e.default?0:z(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:L(t)?e+=2:D(t)?e-=5:e+=3,e)),0),index:t}),A=e=>e.map(M).sort(((e,t)=>e.scoret.score?-1:e.index-t.index)),z=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),I=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),j=["uri","path"],F=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((n=>t.hasOwnProperty(n)&&e[n]===t[n]))},U=e=>e.replace(/(^\/+|\/+$)/g,""),H=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,H(e));if(l(t.props.path||t.props.default||t.type===_,`: Children of must have a \`path\` or \`default\` prop, or be a \`\`. None found on element type \`${t.type}\``),l(!!(t.type!==_||t.props.from&&t.props.to),` requires both "from" and "to" props when inside a .`),l(!(t.type===_&&!N(t.props.from,t.props.to)),` has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===_?t.props.from:t.props.path,r="/"===n?e:`${U(e)}/${U(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${U(r)}/*`:r}},$=["innerRef"],W=["to","state","replace","getProps"],B=["key"];let{forwardRef:V}=r||(r=n.t(o,2));void 0===V&&(V=e=>e);const Q=()=>{},q=V(((e,t)=>{let{innerRef:n}=e,r=u(e,$);const{baseuri:a}=y(),{location:l}=b(),{to:s,state:c,replace:f,getProps:d=Q}=r,p=u(r,W),m=T(s,a),g=encodeURI(m),v=l.pathname===g,w=C(l.pathname,g);return o.createElement("a",i({ref:t||n,"aria-current":v?"page":void 0},p,d({isCurrent:v,isPartiallyCurrent:w,href:m,location:l}),{href:m,onClick:e=>{if(p.onClick&&p.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=f;if("boolean"!=typeof f&&v){const e=u(i({},l.state),B);t=F(i({},c),e)}h(m,{state:c,replace:t})}}}))}));q.displayName="Link",q.propTypes={to:a.string.isRequired};class K extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const J=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function Y({children:e}){const[t,n]=o.useState(),r=o.useRef(),a=o.useMemo((()=>({componentDidCatch:r,error:t,setError:n})),[t]);return o.createElement(J.Provider,{value:a},o.createElement(K,{error:t,onError:(e,t)=>{n(e),null==r.current||r.current(e,t)}},e))}Y.displayName="ReactUseErrorBoundaryContext";const X=function(e){var t,n;function r(t){return o.createElement(Y,null,o.createElement(e,i({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}((({history:e=p,children:t})=>{const{location:n}=e,[r,a]=o.useState({location:n}),[l]=function(){const e=o.useContext(J);e.componentDidCatch.current=void 0;const t=o.useCallback((()=>{e.setError(void 0)}),[]);return[e.error,t]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[r.location]),o.useEffect((()=>{let t=!1;const n=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||a({location:e})}))}))}));return()=>{t=!0,n()}}),[]),l){if(!k(l))throw l;h(l.uri,{replace:!0})}return o.createElement(v.Provider,{value:r},"function"==typeof t?t(r):t||null)})),G=({children:e})=>{const t=b();return t?e(t):o.createElement(X,null,e)},Z=({url:e,children:t})=>{const n=e.indexOf("?");let r,a="";return n>-1?(r=e.substring(0,n),a=e.substring(n)):r=e,o.createElement(v.Provider,{value:{location:{pathname:r,search:a,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=y(),{location:r}=b(),o=T(e,n),a=P(o,r.pathname);return t({location:r,match:a?i({},a.params,{uri:a.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,a=u(e,te);return o.createElement(ae,i({},a,{component:r,uri:t,location:n}))};let oe=0;const ae=e=>{let{children:t,style:n,component:r="div",uri:a,location:l}=e,s=u(e,ne);const c=o.useRef(),f=o.useRef(!0),d=o.useRef(a),p=o.useRef(l.pathname),h=o.useRef(!1);o.useEffect((()=>(oe++,m(),()=>{oe--,0===oe&&(f.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;a!==d.current&&(d.current=a,e=!0),l.pathname!==p.current&&(p.current=l.pathname,t=!0),h.current=e||t&&l.pathname===a,h.current&&m()}),[a,l]);const m=o.useCallback((()=>{var e;f.current?f.current=!1:(e=c.current,h.current&&e&&e.focus())}),[]);return o.createElement(r,i({style:i({outline:"none"},n),tabIndex:"-1",ref:c},s),t)},le=["location","primary","children","basepath","baseuri","component"],ie=e=>{const t=y(),n=b();return o.createElement(ue,i({},t,n,e))};function ue(e){const{location:t,primary:n=!0,children:r,basepath:a,component:l="div"}=e,s=u(e,le),c=o.Children.toArray(r).reduce(((e,t)=>{const n=H(a)(t);return e.concat(n)}),[]),{pathname:f}=t,d=x(c,f);if(d){const{params:e,uri:r,route:u,route:{value:c}}=d,f=u.default?a:u.path.replace(/\*$/,""),p=i({},e,{uri:r,location:t}),h=o.cloneElement(c,p,c.props.children?o.createElement(ie,{location:t,primary:n},c.props.children):void 0),m=n?re:l,v=n?i({uri:r,location:t,component:l},s):s;return o.createElement(g.Provider,{value:{baseuri:r,basepath:f}},o.createElement(m,v,h))}return null}const se=()=>{const e=b();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},ce=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},fe=()=>{const e=y();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");const t=se(),n=P(e.basepath,t.pathname);return n?n.params:null},de=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=y();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");const n=se(),r=T(e,t.baseuri),o=P(r,n.pathname);return o?i({},o.params,{uri:o.uri,path:e}):null}},9481:function(e,t,n){"use strict";var r=n(758),o=n(1896);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n