-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathapp-d704771a59de410ef7ca.js
3 lines (3 loc) · 73 KB
/
app-d704771a59de410ef7ca.js
1
2
3
/*! For license information please see app-d704771a59de410ef7ca.js.LICENSE.txt */
(self.webpackChunkmakers_gatsby_site=self.webpackChunkmakers_gatsby_site||[]).push([[524],{8776:function(t,e){"use strict";e.T=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];e.T=(t,e="always")=>{if("/"===t)return t;const r=t.endsWith("/");return((t,e)=>{for(const n of t)if(e.endsWith(n))return!0;return!1})(n,t)?t:"always"===e?r?t:`${t}/`:"never"===e&&r?t.slice(0,-1):t}},7035:function(t,e,n){"use strict";e.z_=void 0;var r=n(3215);e.z_=r.ScrollHandler,n(3721).useScrollRestoration},3215:function(t,e,n){"use strict";var r=n(4994);e.__esModule=!0,e.ScrollHandler=e.ScrollContext=void 0;var o=r(n(2475)),a=r(n(6221)),i=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=u(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in t)if("default"!==a&&Object.prototype.hasOwnProperty.call(t,a)){var i=o?Object.getOwnPropertyDescriptor(t,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=t[a]}r.default=t,n&&n.set(t,r);return r}(n(6540)),s=r(n(5556)),c=n(4351);function u(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(u=function(t){return t?n:e})(t)}var l=i.createContext(new c.SessionStorage);e.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(e=t.call.apply(t,[this].concat(r))||this)._stateStorage=new c.SessionStorage,e._isTicking=!1,e._latestKnownScrollY=0,e.scrollListener=function(){e._latestKnownScrollY=window.scrollY,e._isTicking||(e._isTicking=!0,requestAnimationFrame(e._saveScroll.bind((0,o.default)(e))))},e.windowScroll=function(t,n){e.shouldUpdateScroll(n,e.props)&&window.scrollTo(0,t)},e.scrollToHash=function(t,n){var r=document.getElementById(t.substring(1));r&&e.shouldUpdateScroll(n,e.props)&&r.scrollIntoView()},e.shouldUpdateScroll=function(t,n){var r=e.props.shouldUpdateScroll;return!r||r.call((0,o.default)(e),t,n)},e}(0,a.default)(e,t);var n=e.prototype;return n._saveScroll=function(){var t=this.props.location.key||null;t&&this._stateStorage.save(this.props.location,t,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var t;window.addEventListener("scroll",this.scrollListener);var e=this.props.location,n=e.key,r=e.hash;n&&(t=this._stateStorage.read(this.props.location,n)),r?this.scrollToHash(decodeURI(r),void 0):t&&this.windowScroll(t,void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(t){var e,n=this.props.location,r=n.hash,o=n.key;o&&(e=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),t):this.windowScroll(e,t)},n.render=function(){return i.createElement(l.Provider,{value:this._stateStorage},this.props.children)},e}(i.Component);e.ScrollHandler=p,p.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},4351:function(t,e){"use strict";e.__esModule=!0,e.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function t(){}var e=t.prototype;return e.read=function(t,e){var r=this.getStateKey(t,e);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}},e.save=function(t,e,r){var o=this.getStateKey(t,e),a=JSON.stringify(r);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(a)}},e.getStateKey=function(t,e){var n="@@scroll|"+t.pathname;return null==e?n:n+"|"+e},t}();e.SessionStorage=r},3721:function(t,e,n){"use strict";e.__esModule=!0,e.useScrollRestoration=function(t){var e=(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(e,t);i.current.scrollTo(0,r||0)}}),[e.key]),{ref:i,onScroll:function(){i.current&&n.save(e,t,i.current.scrollTop)}}};var r=n(3215),o=n(6540),a=n(6462)},2311:function(t,e,n){"use strict";e.__esModule=!0,e.onInitialClientRender=void 0;n(5535),n(9300);e.onInitialClientRender=()=>{}},3309:function(t,e){"use strict";e.__esModule=!0,e.getForwards=function(t){return null==t?void 0:t.flatMap((t=>(null==t?void 0:t.forward)||[]))}},9300:function(t,e,n){"use strict";e.__esModule=!0,e.injectPartytownSnippet=function(t){if(!t.length)return;const e=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');e&&e.remove();n&&n.remove();const a=(0,o.getForwards)(t),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,r.partytownSnippet)({forward:a}),document.head.appendChild(i)};var r=n(4656),o=n(3309)},6877:function(t,e,n){e.components={"component---src-pages-404-js":()=>n.e(125).then(n.bind(n,3331)),"component---src-pages-about-jsx":()=>Promise.all([n.e(869),n.e(86)]).then(n.bind(n,6610)),"component---src-pages-index-js":()=>Promise.all([n.e(869),n.e(86),n.e(293)]).then(n.bind(n,7936)),"component---src-pages-join-js":()=>Promise.all([n.e(869),n.e(791)]).then(n.bind(n,3358)),"component---src-pages-people-js":()=>Promise.all([n.e(869),n.e(944)]).then(n.bind(n,5040)),"component---src-pages-projects-js":()=>Promise.all([n.e(869),n.e(429)]).then(n.bind(n,3769))}},9377:function(t,e,n){t.exports=[{plugin:n(8108),options:{plugins:[]}},{plugin:n(2311),options:{plugins:[]}}]},20:function(t,e,n){const r=n(9377),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=n(6814).Zf;e.N=function(t,e,n,s){void 0===e&&(e={});let c=r.map((n=>{if(!n.plugin[t])return;e.getResourceURLsForPathname=o,e.loadPage=a,e.loadPageSync=i;const r=n.plugin[t](e,n.options);return r&&s&&(e=s({args:e,result:r,plugin:n})),r}));return c=c.filter((t=>void 0!==t)),c.length>0?c:n?[n]:[]},e.v=(t,e,n)=>r.reduce(((n,r)=>r.plugin[t]?n.then((()=>r.plugin[t](e,r.options))):n),Promise.resolve())},700:function(t,e){},9369:function(t,e,n){"use strict";n.d(e,{A:function(){return r}});var r=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).slice().map((function(t){t(n)})),(t["*"]||[]).slice().map((function(t){t(e,n)}))}}}()},8990:function(t,e,n){"use strict";n.d(e,{Yl:function(){return f},Hh:function(){return d},UA:function(){return h},QX:function(){return p}});var r=n(6462),o=n(8797),a=t=>{if(void 0===t)return t;let[e,n=""]=t.split("?");return n&&(n="?"+n),"/"===e?"/"+n:"/"===e.charAt(e.length-1)?e.slice(0,-1)+n:e+n},i=n(6491);const s=new Map;let c=[];const u=t=>{let e=t;if(-1!==t.indexOf("?")){const[n,r]=t.split("?");e=n+"?"+encodeURIComponent(r)}const n=decodeURIComponent(e);return(0,o.A)(n,decodeURIComponent("")).split("#")[0]};function l(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const p=t=>{c=t},f=t=>{const e=m(t),n=c.map((t=>{let{path:e,matchPath:n}=t;return{path:n,originalPath:e}})),o=(0,r.pick)(n,e);return o?a(o.route.originalPath):null},h=t=>{const e=m(t),n=c.map((t=>{let{path:e,matchPath:n}=t;return{path:n,originalPath:e}})),o=(0,r.pick)(n,e);return o?o.params:{}},d=t=>{const e=u(l(t));if(s.has(e))return s.get(e);const n=(0,i.X)(t);if(n)return d(n.toPath);let r=f(e);return r||(r=m(t)),s.set(e,r),r},m=t=>{let e=u(l(t));return"/index.html"===e&&(e="/"),e=a(e),e}},4810:function(t,e,n){"use strict";n.d(e,{N_:function(){return o.N_},G:function(){return a.G}});var r=n(6814),o=(n(2549),n(7035),n(7078)),a=n(7231);n(6540),n(700),n(2024);r.Ay.enqueue},6814:function(t,e,n){"use strict";n.d(e,{Wi:function(){return p},N5:function(){return E},Ay:function(){return S},Rh:function(){return C},LE:function(){return R},Zf:function(){return P},iC:function(){return _}});var r=n(5540),o=n(4506),a=n(8163);const i=function(t){if("undefined"==typeof document)return!1;const e=document.createElement("link");try{if(e.relList&&"function"==typeof e.relList.supports)return e.relList.supports(t)}catch(n){return!1}return!1}("prefetch")?function(t,e){return new Promise(((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",t),Object.keys(e).forEach((t=>{o.setAttribute(t,e[t])})),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(t){return new Promise(((e,n)=>{const r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=()=>{200===r.status?e():n()},r.send(null)}))},s={};var c=function(t,e){return new Promise((n=>{s[t]?n():i(t,e).then((()=>{n(),s[t]=!0})).catch((()=>{}))}))},u=n(9369),l=n(8990);const p={Error:"error",Success:"success"},f=t=>{const[e,n]=t.split("?");var r;return"/page-data/"+("/"===e?"index":(r="/"===(r=e)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r)+"/page-data.json"+(n?"?"+n:"")},h=t=>t.startsWith("//");function d(t,e){return void 0===e&&(e="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(e,t,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const m=/bot|crawler|spider|crawling/i,g=function(t,e,n){var r;void 0===e&&(e=null);const o={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes,getServerDataError:t.getServerDataError,slicesMap:null!==(r=t.slicesMap)&&void 0!==r?r:{}};return{component:e,head:n,json:t.result,page:o}};function v(t){return new Promise((e=>{try{const n=t.readRoot();e(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout((()=>{v(t).then(e)}),200)}}))}let y=function(){function t(t,e){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=t,(0,l.QX)(e)}var e=t.prototype;return e.memoizedGet=function(t){let e=this.inFlightNetworkRequests.get(t);return e||(e=d(t,"GET"),this.inFlightNetworkRequests.set(t,e)),e.then((e=>(this.inFlightNetworkRequests.delete(t),e))).catch((e=>{throw this.inFlightNetworkRequests.delete(t),e}))},e.setApiRunner=function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some((t=>t))},e.fetchPageDataJson=function(t){const{pagePath:e,retries:n=0}=t,r=f(e);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=e.split("?")[1];return r&&!n.path.includes(r)&&(n.path+="?"+r),Object.assign(t,{status:p.Success,payload:n})}catch(i){}return 404===o||200===o?"/404.html"===e||"/500.html"===e?Object.assign(t,{status:p.Error}):this.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(t,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(t,{retries:n+1})):Object.assign(t,{status:p.Error})}))},e.fetchPartialHydrationJson=function(t){const{pagePath:e,retries:n=0}=t,r=f(e).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{return Object.assign(t,{status:p.Success,payload:a})}catch(i){}return 404===o||200===o?"/404.html"===e||"/500.html"===e?Object.assign(t,{status:p.Error}):this.fetchPartialHydrationJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(t,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(t,{retries:n+1})):Object.assign(t,{status:p.Error})}))},e.loadPageDataJson=function(t){const e=(0,l.Hh)(t);if(this.pageDataDb.has(e)){const t=this.pageDataDb.get(e);return Promise.resolve(t)}return this.fetchPageDataJson({pagePath:e}).then((t=>(this.pageDataDb.set(e,t),t)))},e.loadPartialHydrationJson=function(t){const e=(0,l.Hh)(t);if(this.partialHydrationDb.has(e)){const t=this.partialHydrationDb.get(e);return Promise.resolve(t)}return this.fetchPartialHydrationJson({pagePath:e}).then((t=>(this.partialHydrationDb.set(e,t),t)))},e.loadSliceDataJson=function(t){if(this.slicesDataDb.has(t)){const e=this.slicesDataDb.get(t);return Promise.resolve({sliceName:t,jsonPayload:e})}return d("/slice-data/"+t+".json","GET").then((e=>{const n=JSON.parse(e.responseText);return this.slicesDataDb.set(t,n),{sliceName:t,jsonPayload:n}}))},e.findMatchPath=function(t){return(0,l.Yl)(t)},e.loadPage=function(t){const e=(0,l.Hh)(t);if(this.pageDb.has(e)){const t=this.pageDb.get(e);return t.error?Promise.resolve({error:t.error,status:t.status}):Promise.resolve(t.payload)}if(this.inFlightDb.has(e))return this.inFlightDb.get(e);const n=[this.loadAppData(),this.loadPageDataJson(e)];const r=Promise.all(n).then((t=>{const[n,r,i]=t;if(r.status===p.Error||(null==i?void 0:i.status)===p.Error)return{status:p.Error};let s=r.payload;const{componentChunkName:c,staticQueryHashes:l=[],slicesMap:f={}}=s,h={},d=Array.from(new Set(Object.values(f))),m=t=>{if(this.slicesDb.has(t.name))return this.slicesDb.get(t.name);if(this.sliceInflightDb.has(t.name))return this.sliceInflightDb.get(t.name);const e=this.loadComponent(t.componentChunkName).then((e=>{return{component:(n=e,n&&n.default||n),sliceContext:t.result.sliceContext,data:t.result.data};var n}));return this.sliceInflightDb.set(t.name,e),e.then((e=>{this.slicesDb.set(t.name,e),this.sliceInflightDb.delete(t.name)})),e};return Promise.all(d.map((t=>this.loadSliceDataJson(t)))).then((t=>{const f=[],d=(0,o.A)(l);for(const{jsonPayload:e,sliceName:n}of Object.values(t)){f.push(Object.assign({name:n},e));for(const t of e.staticQueryHashes)d.includes(t)||d.push(t)}const y=[Promise.all(f.map(m)),this.loadComponent(c,"head")];y.push(this.loadComponent(c));const b=Promise.all(y).then((t=>{const[e,o,c]=t;h.createdAt=new Date;for(const n of e)(!n||n instanceof Error)&&(h.status=p.Error,h.error=n);let u;if((!c||c instanceof Error)&&(h.status=p.Error,h.error=c),h.status!==p.Error){if(h.status=p.Success,!0!==r.notFound&&!0!==(null==i?void 0:i.notFound)||(h.notFound=!0),s=Object.assign(s,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==i?void 0:i.payload)){u=g(s,null,o),u.partialHydration=i.payload;const t=new ReadableStream({start(t){const e=new TextEncoder;t.enqueue(e.encode(i.payload))},pull(t){t.close()},cancel(){}});return v((0,a.createFromReadableStream)(t)).then((t=>(u.partialHydration=t,u)))}u=g(s,c,o)}return u})),w=Promise.all(d.map((t=>{if(this.staticQueryDb[t]){const e=this.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:e}}return this.memoizedGet("/page-data/sq/d/"+t+".json").then((e=>{const n=JSON.parse(e.responseText);return{staticQueryHash:t,jsonPayload:n}})).catch((()=>{throw new Error("We couldn't load \"/page-data/sq/d/"+t+'.json"')}))}))).then((t=>{const e={};return t.forEach((t=>{let{staticQueryHash:n,jsonPayload:r}=t;e[n]=r,this.staticQueryDb[n]=r})),e}));return Promise.all([b,w]).then((t=>{let n,[r,o]=t;return r&&(n=Object.assign({},r,{staticQueryResults:o}),h.payload=n,u.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(e,h),h.error?{error:h.error,status:h.status}:n})).catch((t=>({error:t,status:p.Error})))}))}));return r.then((()=>{this.inFlightDb.delete(e)})).catch((t=>{throw this.inFlightDb.delete(e),t})),this.inFlightDb.set(e,r),r},e.loadPageSync=function(t,e){void 0===e&&(e={});const n=(0,l.Hh)(t);if(this.pageDb.has(n)){var r;const t=this.pageDb.get(n);if(t.payload)return t.payload;if(null!==(r=e)&&void 0!==r&&r.withErrorDetails)return{error:t.error,status:t.status}}},e.shouldPrefetch=function(t){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(t))},e.prefetch=function(t){if(!this.shouldPrefetch(t))return{then:t=>t(!1),abort:()=>{}};if(this.prefetchTriggered.has(t))return{then:t=>t(!0),abort:()=>{}};const e={resolve:null,reject:null,promise:null};e.promise=new Promise(((t,n)=>{e.resolve=t,e.reject=n})),this.prefetchQueued.push([t,e]);const n=new AbortController;return n.signal.addEventListener("abort",(()=>{const e=this.prefetchQueued.findIndex((e=>{let[n]=e;return n===t}));-1!==e&&this.prefetchQueued.splice(e,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(t,n)=>e.promise.then(t,n),abort:n.abort.bind(n)}},e._processNextPrefetchBatch=function(){(window.requestIdleCallback||(t=>setTimeout(t,0)))((()=>{const t=this.prefetchQueued.splice(0,4),e=Promise.all(t.map((t=>{let[e,n]=t;return this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,l.Hh)(e)).then((()=>{this.prefetchCompleted.has(e)||(this.apiRunner("onPostPrefetchPathname",{pathname:e}),this.prefetchCompleted.add(e)),n.resolve(!0)}))})));this.prefetchQueued.length?e.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},e.doPrefetch=function(t){const e=f(t);return c(e,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(t)))},e.hovering=function(t){this.loadPage(t)},e.getResourceURLsForPathname=function(t){const e=(0,l.Hh)(t),n=this.pageDataDb.get(e);if(n){const t=g(n.payload);return[].concat((0,o.A)(b(t.page.componentChunkName)),[f(e)])}return null},e.isPageNotFound=function(t){const e=(0,l.Hh)(t),n=this.pageDb.get(e);return!n||n.notFound},e.loadAppData=function(t){return void 0===t&&(t=0),this.memoizedGet("/page-data/app-data.json").then((e=>{const{status:n,responseText:r}=e;let o;if(200!==n&&t<3)return this.loadAppData(t+1);if(200===n)try{const t=JSON.parse(r);if(void 0===t.webpackCompilationHash)throw new Error("not a valid app-data response");o=t}catch(a){}return o}))},t}();const b=t=>(window.___chunkMapping[t]||[]).map((t=>""+t));let w,E=function(t){function e(e,n,r){var o;return o=t.call(this,(function(t,n){if(void 0===n&&(n="components"),!e[n="components"][t])throw new Error("We couldn't find the correct component chunk with the name \""+t+'"');return e[n][t]().catch((t=>t))}),n)||this,r&&o.pageDataDb.set((0,l.Hh)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(e,t);var n=e.prototype;return n.doPrefetch=function(e){return t.prototype.doPrefetch.call(this,e).then((t=>{if(t.status!==p.Success)return Promise.resolve();const e=t.payload,n=e.componentChunkName,r=b(n);return Promise.all(r.map(c)).then((()=>e))}))},n.loadPageDataJson=function(e){return t.prototype.loadPageDataJson.call(this,e).then((t=>t.notFound?h(e)?t:d(e,"HEAD").then((e=>200===e.status?{status:p.Error}:t)):t))},n.loadPartialHydrationJson=function(e){return t.prototype.loadPartialHydrationJson.call(this,e).then((t=>t.notFound?h(e)?t:d(e,"HEAD").then((e=>200===e.status?{status:p.Error}:t)):t))},e}(y);const _=t=>{w=t},P={enqueue:t=>w.prefetch(t),getResourceURLsForPathname:t=>w.getResourceURLsForPathname(t),loadPage:t=>w.loadPage(t),loadPageSync:function(t,e){return void 0===e&&(e={}),w.loadPageSync(t,e)},prefetch:t=>w.prefetch(t),isPageNotFound:t=>w.isPageNotFound(t),hovering:t=>w.hovering(t),loadAppData:()=>w.loadAppData()};var S=P;function R(){return w?w.staticQueryDb:{}}function C(){return w?w.slicesDb:{}}},6017:function(t,e,n){"use strict";n.d(e,{A:function(){return S}});var r=n(6540),o=n(5556),a=n.n(o),i=n(20),s=n(8990),c=n(4506),u=n(4810),l=n(6462),p=n(9732);function f(t){let{children:e,callback:n}=t;return(0,r.useEffect)((()=>{n()})),e}const h=["link","meta","style","title","base","noscript","script","html","body"];function d(t,e){if(t instanceof HTMLElement&&e instanceof HTMLElement){const n=e.getAttribute("nonce");if(n&&!t.getAttribute("nonce")){const r=e.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===t.nonce&&t.isEqualNode(r)}}return t.isEqualNode(e)}function m(t,e){void 0===e&&(e={html:{},body:{}});const n=new Map,r=[];for(const u of t.childNodes){var o,a;const t=u.nodeName.toLowerCase(),l=null===(o=u.attributes)||void 0===o||null===(a=o.id)||void 0===a?void 0:a.value;if(y(u)){if(v(t))if("html"===t||"body"===t)for(const n of u.attributes){const r="style"===n.name;var i;if(e[t]=Object.assign({},e[t]),r||(e[t][n.name]=n.value),r)e[t].style=""+(null!==(i=e[t])&&void 0!==i&&i.style?e[t].style:"")+n.value+" "}else{let t=u.cloneNode(!0);if(t.setAttribute("data-gatsby-head",!0),"script"===t.nodeName.toLowerCase()&&(t=g(t)),l)if(n.has(l)){var s;const e=n.get(l);null===(s=r[e].parentNode)||void 0===s||s.removeChild(r[e]),r[e]=t}else r.push(t),n.set(l,r.length-1);else r.push(t)}u.childNodes.length&&r.push.apply(r,(0,c.A)(m(u,e).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:e}}function g(t){const e=document.createElement("script");for(const n of t.attributes)e.setAttribute(n.name,n.value);return e.innerHTML=t.innerHTML,e}function v(t){return h.includes(t)}function y(t){return 1===t.nodeType}const b=document.createElement("div"),w={html:[],body:[]},E=()=>{var t;const{validHeadNodes:e,htmlAndBodyAttributes:n}=m(b);w.html=Object.keys(n.html),w.body=Object.keys(n.body),function(t){if(!t)return;const{html:e,body:n}=t,r=document.querySelector("html");r&&Object.entries(e).forEach((t=>{let[e,n]=t;r.setAttribute(e,n)}));const o=document.querySelector("body");o&&Object.entries(n).forEach((t=>{let[e,n]=t;o.setAttribute(e,n)}))}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,c.A)(e));const a=[];!function(t){let{oldNodes:e,newNodes:n,onStale:r,onNew:o}=t;for(const a of e){const t=n.findIndex((t=>d(t,a)));-1===t?r(a):n.splice(t,1)}for(const a of n)o(a)}({oldNodes:r,newNodes:e,onStale:t=>t.parentNode.removeChild(t),onNew:t=>a.push(t)}),(t=document.head).append.apply(t,a)};function _(t){let{pageComponent:e,staticQueryResults:n,pageComponentProps:o}=t;(0,r.useEffect)((()=>{if(null!=e&&e.Head){!function(t){if("function"!=typeof t)throw new Error('Expected "Head" export to be a function got "'+typeof t+'".')}(e.Head);const{render:a}=(0,p.n)(),s=r.createElement(e.Head,{location:{pathname:(t=o).location.pathname},params:t.params,data:t.data||{},serverData:t.serverData,pageContext:t.pageContext}),c=(0,i.N)("wrapRootElement",{element:s},s,(t=>{let{result:e}=t;return{element:e}})).pop();a(r.createElement(f,{callback:E},r.createElement(u.G.Provider,{value:n},r.createElement(l.LocationProvider,null,c))),b)}var t;return()=>{!function(){const t=document.querySelectorAll("[data-gatsby-head]");for(const e of t)e.parentNode.removeChild(e)}(),function(t){if(!t)return;const{html:e,body:n}=t;if(e){const t=document.querySelector("html");e.forEach((e=>{t&&t.removeAttribute(e)}))}if(n){const t=document.querySelector("body");n.forEach((e=>{t&&t.removeAttribute(e)}))}}(w)}}))}function P(t){const e=Object.assign({},t,{params:Object.assign({},(0,s.UA)(t.location.pathname),t.pageResources.json.pageContext.__params)});let n;var o;n=t.pageResources.partialHydration?t.pageResources.partialHydration:(0,r.createElement)((o=t.pageResources.component)&&o.default||o,Object.assign({},e,{key:t.path||t.pageResources.page.path}));_({pageComponent:t.pageResources.head,staticQueryResults:t.pageResources.staticQueryResults,pageComponentProps:e});return(0,i.N)("wrapPageElement",{element:n,props:e},n,(t=>{let{result:n}=t;return{element:n,props:e}})).pop()}P.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var S=P},6498:function(t,e,n){"use strict";var r=n(5540),o=n(20),a=n(6540),i=n(6462),s=n(7035),c=n(7231),u=n(2024),l=n(6814),p=n(6491),f=n(9369);const 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"};var d=n(7078);function m(t){const e=(0,p.X)(t),{hash:n,search:r}=window.location;return null!=e&&(window.___replace(e.toPath+r+n),!0)}let g="";window.addEventListener("unhandledrejection",(t=>{/loading chunk \d* failed./i.test(t.reason)&&g&&(window.location.pathname=g)}));const v=(t,e)=>{m(t.pathname)||(g=t.pathname,(0,o.N)("onPreRouteUpdate",{location:t,prevLocation:e}))},y=(t,e)=>{m(t.pathname)||(0,o.N)("onRouteUpdate",{location:t,prevLocation:e})},b=function(t,e){if(void 0===e&&(e={}),"number"==typeof t)return void i.globalHistory.navigate(t);const{pathname:n,search:r,hash:a}=(0,d.Rr)(t),s=(0,p.X)(n);if(s&&(t=s.toPath+r+a),window.___swUpdated)return void(window.location=n+r+a);const c=setTimeout((()=>{f.A.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})}),1e3);l.Ay.loadPage(n+r).then((o=>{if(!o||o.status===l.Wi.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(c);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,i.navigate)(t,e),clearTimeout(c)}))};function w(t,e){let{location:n}=e;const{pathname:r,hash:a}=n,i=(0,o.N)("shouldUpdateScroll",{prevRouterProps:t,pathname:r,routerProps:{location:n},getSavedScrollPosition:t=>[0,this._stateStorage.read(t,t.key)]});if(i.length>0)return i[i.length-1];if(t){const{location:{pathname:e}}=t;if(e===r)return a?decodeURI(a.slice(1)):[0,0]}return!0}let E=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=a.createRef(),n}(0,r.A)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){requestAnimationFrame((()=>{let t="new page at "+this.props.location.pathname;document.title&&(t=document.title);const e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);const n="Navigated to "+t;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return a.createElement("div",Object.assign({},h,{ref:this.announcementRef}))},e}(a.Component);const _=(t,e)=>{var n,r;return t.href!==e.href||(null==t||null===(n=t.state)||void 0===n?void 0:n.key)!==(null==e||null===(r=e.state)||void 0===r?void 0:r.key)};let P=function(t){function e(e){var n;return n=t.call(this,e)||this,v(e.location,null),n}(0,r.A)(e,t);var n=e.prototype;return n.componentDidMount=function(){y(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!_(this.props.location,t.location)&&(v(t.location,this.props.location),!0)},n.componentDidUpdate=function(t){_(t.location,this.props.location)&&y(this.props.location,t.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(E,{location:location}))},e}(a.Component);var S=n(6017),R=n(6877);function C(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}var x=function(t){function e(e){var n;n=t.call(this)||this;const{location:r,pageResources:o}=e;return n.state={location:Object.assign({},r),pageResources:o||l.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.A)(e,t),e.getDerivedStateFromProps=function(t,e){let{location:n}=t;if(e.location.href!==n.href){return{pageResources:l.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:Object.assign({},n)}}return{location:Object.assign({},n)}};var n=e.prototype;return n.loadResources=function(t){l.Ay.loadPage(t).then((e=>{e&&e.status!==l.Wi.Error?this.setState({location:Object.assign({},window.location),pageResources:e}):(window.history.replaceState({},"",location.href),window.location=t)}))},n.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,n){return C(t.props,e)||C(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname+t.location.search),!1)},n.render=function(){return this.props.children(this.state)},e}(a.Component),O=n(8797),k=n(9732);const j=new l.N5(R,[],window.pageData);(0,l.iC)(j),j.setApiRunner(o.N);const{render:T,hydrate:D}=(0,k.n)();window.asyncRequires=R,window.___emitter=f.A,window.___loader=l.Zf,i.globalHistory.listen((t=>{t.location.action=t.action})),window.___push=t=>b(t,{replace:!1}),window.___replace=t=>b(t,{replace:!0}),window.___navigate=(t,e)=>b(t,e);const N="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(626);const t=t=>a.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(S.A,t)),e=a.createContext({}),p={renderEnvironment:"browser"};let f=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.A)(n,t),n.prototype.render=function(){const{children:t}=this.props;return a.createElement(i.Location,null,(n=>{let{location:r}=n;return a.createElement(x,{location:r},(n=>{let{pageResources:r,location:o}=n;const i=(0,l.LE)(),s=(0,l.Rh)();return a.createElement(c.G.Provider,{value:i},a.createElement(u.j$.Provider,{value:p},a.createElement(u.dd.Provider,{value:s},a.createElement(u.Jr.Provider,{value:r.page.slicesMap},a.createElement(e.Provider,{value:{pageResources:r,location:o}},t)))))}))}))},n}(a.Component),h=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.A)(o,n),o.prototype.render=function(){return a.createElement(e.Consumer,null,(e=>{let{pageResources:n,location:r}=e;return a.createElement(P,{location:r},a.createElement(s.z_,{location:r,shouldUpdateScroll:w},a.createElement(i.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},a.createElement(t,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,O.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:d,location:m}=window;d&&""+d!==m.pathname+(d.includes("?")?m.search:"")&&!(j.findMatchPath((0,O.A)(m.pathname,""))||d.match(/^\/(404|500)(\/?|.html)$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,i.navigate)(""+d+(d.includes("?")?"":m.search)+m.hash,{replace:!0});const g=()=>{try{return sessionStorage}catch(t){return null}};l.Zf.loadPage(m.pathname+m.search).then((t=>{var e;const n=g();if(null!=t&&null!==(e=t.page)&&void 0!==e&&e.webpackCompilationHash&&t.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(N)))return n.setItem(N,"1"),void window.location.reload(!0)}if(n&&n.removeItem(N),!t||t.status===l.Wi.Error){const e="page resources for "+m.pathname+" not found. Not rendering React";if(t&&t.error)throw console.error(e),t.error;throw new Error(e)}const r=(0,o.N)("wrapRootElement",{element:a.createElement(h,null)},a.createElement(h,null),(t=>{let{result:e}=t;return{element:e}})).pop(),i=function(){const t=a.useRef(!1);return a.useEffect((()=>{t.current||(t.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))}),[]),a.createElement(f,null,r)},s=document.getElementById("gatsby-focus-wrapper");let c=T;s&&s.children.length&&(c=D);const u=(0,o.N)("replaceHydrateFunction",void 0,c)[0];function p(){const t="undefined"!=typeof window?document.getElementById("___gatsby"):null;u(a.createElement(i,null),t)}const d=document;if("complete"===d.readyState||"loading"!==d.readyState&&!d.documentElement.doScroll)setTimeout((function(){p()}),0);else{const t=function(){d.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),p()};d.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1)}}))}))},963:function(t,e,n){"use strict";n.r(e);var r=n(6540),o=n(6814),a=n(6017);e.default=t=>{let{location:e}=t;const n=o.Ay.loadPageSync(e.pathname);return n?r.createElement(a.A,Object.assign({location:e,pageResources:n},n.json)):null}},2549:function(t,e,n){var r;t.exports=(r=n(963))&&r.default||r},9732:function(t,e,n){"use strict";n.d(e,{n:function(){return o}});const r=new WeakMap;function o(){const t=n(5338);return{render:(e,n)=>{let o=r.get(n);o||r.set(n,o=t.createRoot(n)),o.render(e)},hydrate:(e,n)=>t.hydrateRoot(n,e)}}},6491:function(t,e,n){"use strict";n.d(e,{X:function(){return a}});const r=new Map,o=new Map;function a(t){let e=r.get(t);return e||(e=o.get(t.toLowerCase())),e}[].forEach((t=>{t.ignoreCase?o.set(t.fromPath,t):r.set(t.fromPath,t)}))},626:function(t,e,n){"use strict";n.r(e);var r=n(20);"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(t){t.addEventListener("updatefound",(()=>{(0,r.N)("onServiceWorkerUpdateFound",{serviceWorker:t});const e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",(()=>{switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.N)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.N)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.N)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":(0,r.N)("onServiceWorkerActive",{serviceWorker:t})}}))}))})).catch((function(t){console.error("Error during service worker registration:",t)}))},2024:function(t,e,n){"use strict";n.d(e,{Jr:function(){return i},dd:function(){return o},j$:function(){return a}});var r=n(6540);const o=r.createContext({}),a=r.createContext({}),i=r.createContext({})},7231:function(t,e,n){"use strict";n.d(e,{G:function(){return o}});var r=n(6540);n(2480);const o=(a="StaticQuery",i={},r.createServerContext?function(t,e){return void 0===e&&(e=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[t]||(globalThis.__SERVER_CONTEXT[t]=r.createServerContext(t,e)),globalThis.__SERVER_CONTEXT[t]}(a,i):r.createContext(i));var a,i},8797:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(e+"/")?t.slice(e.length):t:t}n.d(e,{A:function(){return r}})},8108:function(t,e,n){"use strict";n.r(e)},311:function(t){"use strict";t.exports=function(t,e,n,r,o,a,i,s){if(!t){var c;if(void 0===e)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(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},207:function(t,e,n){"use strict";var r=n(6540),o={stream:!0},a=new Map,i=Symbol.for("react.element"),s=Symbol.for("react.lazy"),c=Symbol.for("react.default_value"),u=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function l(t,e,n){this._status=t,this._value=e,this._response=n}function p(t){switch(t._status){case 3:return t._value;case 1:var e=JSON.parse(t._value,t._response._fromJSON);return t._status=3,t._value=e;case 2:for(var r=(e=t._value).chunks,o=0;o<r.length;o++){var i=a.get(r[o]);if(null!==i)throw i}return r=n(e.id),e="*"===e.name?r:""===e.name?r.__esModule?r.default:r:r[e.name],t._status=3,t._value=e;case 0:throw t;default:throw t._value}}function f(){return p(v(this,0))}function h(t,e){return new l(3,e,t)}function d(t){if(null!==t)for(var e=0;e<t.length;e++)(0,t[e])()}function m(t,e){if(0===t._status){var n=t._value;t._status=4,t._value=e,d(n)}}function g(t,e){t._chunks.forEach((function(t){m(t,e)}))}function v(t,e){var n=t._chunks,r=n.get(e);return r||(r=new l(0,null,t),n.set(e,r)),r}function y(t){g(t,Error("Connection closed."))}function b(t,e){if(""!==e){var o=e[0],i=e.indexOf(":",1),s=parseInt(e.substring(1,i),16);switch(i=e.substring(i+1),o){case"J":(o=(e=t._chunks).get(s))?0===o._status&&(t=o._value,o._status=1,o._value=i,d(t)):e.set(s,new l(1,i,t));break;case"M":o=(e=t._chunks).get(s),i=JSON.parse(i,t._fromJSON);var p=t._bundlerConfig;p=(i=p?p[i.id][i.name]:i).chunks;for(var f=0;f<p.length;f++){var g=p[f];if(void 0===a.get(g)){var v=n.e(g),y=a.set.bind(a,g,null),b=a.set.bind(a,g);v.then(y,b),a.set(g,v)}}o?0===o._status&&(t=o._value,o._status=2,o._value=i,d(t)):e.set(s,new l(2,i,t));break;case"P":t._chunks.set(s,h(t,function(t){return u[t]||(u[t]=r.createServerContext(t,c)),u[t]}(i).Provider));break;case"S":o=JSON.parse(i),t._chunks.set(s,h(t,Symbol.for(o)));break;case"E":e=JSON.parse(i),(o=Error(e.message)).stack=e.stack,(i=(e=t._chunks).get(s))?m(i,o):e.set(s,new l(4,o,t));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function w(t){return function(e,n){return"string"==typeof n?function(t,e,n){switch(n[0]){case"$":return"$"===n?i:"$"===n[1]||"@"===n[1]?n.substring(1):p(t=v(t,parseInt(n.substring(1),16)));case"@":return t=v(t,parseInt(n.substring(1),16)),{$$typeof:s,_payload:t,_init:p}}return n}(t,0,n):"object"==typeof n&&null!==n?n[0]===i?{$$typeof:i,type:n[1],key:n[2],ref:null,props:n[3],_owner:null}:n:n}}function E(t){var e=new TextDecoder;return(t={_bundlerConfig:t,_chunks:new Map,readRoot:f,_partialRow:"",_stringDecoder:e})._fromJSON=w(t),t}function _(t,e){function n(e){g(t,e)}var r=e.getReader();r.read().then((function e(a){var i=a.value;if(!a.done){a=i,i=t._stringDecoder;for(var s=a.indexOf(10);-1<s;){var c=t._partialRow,u=a.subarray(0,s);u=i.decode(u),b(t,c+u),t._partialRow="",s=(a=a.subarray(s+1)).indexOf(10)}return t._partialRow+=i.decode(a,o),r.read().then(e,n)}y(t)}),n)}l.prototype.then=function(t){0===this._status?(null===this._value&&(this._value=[]),this._value.push(t)):t()},e.createFromReadableStream=function(t,e){return _(e=E(e&&e.moduleMap?e.moduleMap:null),t),e}},8163:function(t,e,n){"use strict";t.exports=n(207)},2475:function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},6221:function(t,e,n){var r=n(5636);t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},4994:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},5636:function(t){function e(n,r){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n,r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4656:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SCRIPT_TYPE="text/partytown",e.partytownSnippet=t=>((t,e)=>{const{forward:n=[],...r}=t||{},o=JSON.stringify(r,((t,e)=>("function"==typeof e&&(e=String(e)).startsWith(t+"(")&&(e="function "+e),e)));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');",e].join("")})(t,'/* 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<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},9306:function(t,e,n){"use strict";var r=n(4901),o=n(6823),a=TypeError;t.exports=function(t){if(r(t))return t;throw new a(o(t)+" is not a function")}},8551:function(t,e,n){"use strict";var r=n(34),o=String,a=TypeError;t.exports=function(t){if(r(t))return t;throw new a(o(t)+" is not an object")}},9617:function(t,e,n){"use strict";var r=n(5397),o=n(5610),a=n(6198),i=function(t){return function(e,n,i){var s=r(e),c=a(s);if(0===c)return!t&&-1;var u,l=o(i,c);if(t&&n!=n){for(;c>l;)if((u=s[l++])!=u)return!0}else for(;c>l;l++)if((t||l in s)&&s[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:i(!0),indexOf:i(!1)}},2195:function(t,e,n){"use strict";var r=n(9504),o=r({}.toString),a=r("".slice);t.exports=function(t){return a(o(t),8,-1)}},7740:function(t,e,n){"use strict";var r=n(9297),o=n(5031),a=n(7347),i=n(4913);t.exports=function(t,e,n){for(var s=o(e),c=i.f,u=a.f,l=0;l<s.length;l++){var p=s[l];r(t,p)||n&&r(n,p)||c(t,p,u(e,p))}}},6699:function(t,e,n){"use strict";var r=n(3724),o=n(4913),a=n(6980);t.exports=r?function(t,e,n){return o.f(t,e,a(1,n))}:function(t,e,n){return t[e]=n,t}},6980:function(t){"use strict";t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},6840:function(t,e,n){"use strict";var r=n(4901),o=n(4913),a=n(283),i=n(9433);t.exports=function(t,e,n,s){s||(s={});var c=s.enumerable,u=void 0!==s.name?s.name:e;if(r(n)&&a(n,u,s),s.global)c?t[e]=n:i(e,n);else{try{s.unsafe?t[e]&&(c=!0):delete t[e]}catch(l){}c?t[e]=n:o.f(t,e,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return t}},9433:function(t,e,n){"use strict";var r=n(4576),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},3724:function(t,e,n){"use strict";var r=n(9039);t.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:function(t,e,n){"use strict";var r=n(4576),o=n(34),a=r.document,i=o(a)&&o(a.createElement);t.exports=function(t){return i?a.createElement(t):{}}},8727:function(t){"use strict";t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},2839:function(t,e,n){"use strict";var r=n(4576).navigator,o=r&&r.userAgent;t.exports=o?String(o):""},9519:function(t,e,n){"use strict";var r,o,a=n(4576),i=n(2839),s=a.process,c=a.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&i&&(!(r=i.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=i.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},6518:function(t,e,n){"use strict";var r=n(4576),o=n(7347).f,a=n(6699),i=n(6840),s=n(9433),c=n(7740),u=n(2796);t.exports=function(t,e){var n,l,p,f,h,d=t.target,m=t.global,g=t.stat;if(n=m?r:g?r[d]||s(d,{}):r[d]&&r[d].prototype)for(l in e){if(f=e[l],p=t.dontCallGetSet?(h=o(n,l))&&h.value:n[l],!u(m?l:d+(g?".":"#")+l,t.forced)&&void 0!==p){if(typeof f==typeof p)continue;c(f,p)}(t.sham||p&&p.sham)&&a(f,"sham",!0),i(n,l,f,t)}}},9039:function(t){"use strict";t.exports=function(t){try{return!!t()}catch(e){return!0}}},616:function(t,e,n){"use strict";var r=n(9039);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9565:function(t,e,n){"use strict";var r=n(616),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:function(t,e,n){"use strict";var r=n(3724),o=n(9297),a=Function.prototype,i=r&&Object.getOwnPropertyDescriptor,s=o(a,"name"),c=s&&"something"===function(){}.name,u=s&&(!r||r&&i(a,"name").configurable);t.exports={EXISTS:s,PROPER:c,CONFIGURABLE:u}},9504:function(t,e,n){"use strict";var r=n(616),o=Function.prototype,a=o.call,i=r&&o.bind.bind(a,a);t.exports=r?i:function(t){return function(){return a.apply(t,arguments)}}},7751:function(t,e,n){"use strict";var r=n(4576),o=n(4901);t.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},5966:function(t,e,n){"use strict";var r=n(9306),o=n(4117);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},4576:function(t,e,n){"use strict";var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:function(t,e,n){"use strict";var r=n(9504),o=n(8981),a=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return a(o(t),e)}},421:function(t){"use strict";t.exports={}},5917:function(t,e,n){"use strict";var r=n(3724),o=n(9039),a=n(4055);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a}))},7055:function(t,e,n){"use strict";var r=n(9504),o=n(9039),a=n(2195),i=Object,s=r("".split);t.exports=o((function(){return!i("z").propertyIsEnumerable(0)}))?function(t){return"String"===a(t)?s(t,""):i(t)}:i},3706:function(t,e,n){"use strict";var r=n(9504),o=n(4901),a=n(7629),i=r(Function.toString);o(a.inspectSource)||(a.inspectSource=function(t){return i(t)}),t.exports=a.inspectSource},1181:function(t,e,n){"use strict";var r,o,a,i=n(8622),s=n(4576),c=n(34),u=n(6699),l=n(9297),p=n(7629),f=n(6119),h=n(421),d="Object already initialized",m=s.TypeError,g=s.WeakMap;if(i||p.state){var v=p.state||(p.state=new g);v.get=v.get,v.has=v.has,v.set=v.set,r=function(t,e){if(v.has(t))throw new m(d);return e.facade=t,v.set(t,e),e},o=function(t){return v.get(t)||{}},a=function(t){return v.has(t)}}else{var y=f("state");h[y]=!0,r=function(t,e){if(l(t,y))throw new m(d);return e.facade=t,u(t,y,e),e},o=function(t){return l(t,y)?t[y]:{}},a=function(t){return l(t,y)}}t.exports={set:r,get:o,has:a,enforce:function(t){return a(t)?o(t):r(t,{})},getterFor:function(t){return function(e){var n;if(!c(e)||(n=o(e)).type!==t)throw new m("Incompatible receiver, "+t+" required");return n}}}},4901:function(t){"use strict";var e="object"==typeof document&&document.all;t.exports=void 0===e&&void 0!==e?function(t){return"function"==typeof t||t===e}:function(t){return"function"==typeof t}},2796:function(t,e,n){"use strict";var r=n(9039),o=n(4901),a=/#|\.prototype\./,i=function(t,e){var n=c[s(t)];return n===l||n!==u&&(o(e)?r(e):!!e)},s=i.normalize=function(t){return String(t).replace(a,".").toLowerCase()},c=i.data={},u=i.NATIVE="N",l=i.POLYFILL="P";t.exports=i},4117:function(t){"use strict";t.exports=function(t){return null==t}},34:function(t,e,n){"use strict";var r=n(4901);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},6395:function(t){"use strict";t.exports=!1},757:function(t,e,n){"use strict";var r=n(7751),o=n(4901),a=n(1625),i=n(7040),s=Object;t.exports=i?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&a(e.prototype,s(t))}},6198:function(t,e,n){"use strict";var r=n(8014);t.exports=function(t){return r(t.length)}},283:function(t,e,n){"use strict";var r=n(9504),o=n(9039),a=n(4901),i=n(9297),s=n(3724),c=n(350).CONFIGURABLE,u=n(3706),l=n(1181),p=l.enforce,f=l.get,h=String,d=Object.defineProperty,m=r("".slice),g=r("".replace),v=r([].join),y=s&&!o((function(){return 8!==d((function(){}),"length",{value:8}).length})),b=String(String).split("String"),w=t.exports=function(t,e,n){"Symbol("===m(h(e),0,7)&&(e="["+g(h(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(e="get "+e),n&&n.setter&&(e="set "+e),(!i(t,"name")||c&&t.name!==e)&&(s?d(t,"name",{value:e,configurable:!0}):t.name=e),y&&n&&i(n,"arity")&&t.length!==n.arity&&d(t,"length",{value:n.arity});try{n&&i(n,"constructor")&&n.constructor?s&&d(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(o){}var r=p(t);return i(r,"source")||(r.source=v(b,"string"==typeof e?e:"")),t};Function.prototype.toString=w((function(){return a(this)&&f(this).source||u(this)}),"toString")},741:function(t){"use strict";var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},4913:function(t,e,n){"use strict";var r=n(3724),o=n(5917),a=n(8686),i=n(8551),s=n(6969),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",f="configurable",h="writable";e.f=r?a?function(t,e,n){if(i(t),e=s(e),i(n),"function"==typeof t&&"prototype"===e&&"value"in n&&h in n&&!n[h]){var r=l(t,e);r&&r[h]&&(t[e]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:p in n?n[p]:r[p],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(i(t),e=s(e),i(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},7347:function(t,e,n){"use strict";var r=n(3724),o=n(9565),a=n(8773),i=n(6980),s=n(5397),c=n(6969),u=n(9297),l=n(5917),p=Object.getOwnPropertyDescriptor;e.f=r?p:function(t,e){if(t=s(t),e=c(e),l)try{return p(t,e)}catch(n){}if(u(t,e))return i(!o(a.f,t,e),t[e])}},8480:function(t,e,n){"use strict";var r=n(1828),o=n(8727).concat("length","prototype");e.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},3717:function(t,e){"use strict";e.f=Object.getOwnPropertySymbols},1625:function(t,e,n){"use strict";var r=n(9504);t.exports=r({}.isPrototypeOf)},1828:function(t,e,n){"use strict";var r=n(9504),o=n(9297),a=n(5397),i=n(9617).indexOf,s=n(421),c=r([].push);t.exports=function(t,e){var n,r=a(t),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);for(;e.length>u;)o(r,n=e[u++])&&(~i(l,n)||c(l,n));return l}},8773:function(t,e){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);e.f=o?function(t){var e=r(this,t);return!!e&&e.enumerable}:n},4270:function(t,e,n){"use strict";var r=n(9565),o=n(4901),a=n(34),i=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!a(s=r(n,t)))return s;if(o(n=t.valueOf)&&!a(s=r(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!a(s=r(n,t)))return s;throw new i("Can't convert object to primitive value")}},5031:function(t,e,n){"use strict";var r=n(7751),o=n(9504),a=n(8480),i=n(3717),s=n(8551),c=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var e=a.f(s(t)),n=i.f;return n?c(e,n(t)):e}},7750:function(t,e,n){"use strict";var r=n(4117),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},6119:function(t,e,n){"use strict";var r=n(5745),o=n(3392),a=r("keys");t.exports=function(t){return a[t]||(a[t]=o(t))}},7629:function(t,e,n){"use strict";var r=n(6395),o=n(4576),a=n(9433),i="__core-js_shared__",s=t.exports=o[i]||a(i,{});(s.versions||(s.versions=[])).push({version:"3.39.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:function(t,e,n){"use strict";var r=n(7629);t.exports=function(t,e){return r[t]||(r[t]=e||{})}},4495:function(t,e,n){"use strict";var r=n(9519),o=n(9039),a=n(4576).String;t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol("symbol detection");return!a(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},5610:function(t,e,n){"use strict";var r=n(1291),o=Math.max,a=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):a(n,e)}},5397:function(t,e,n){"use strict";var r=n(7055),o=n(7750);t.exports=function(t){return r(o(t))}},1291:function(t,e,n){"use strict";var r=n(741);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},8014:function(t,e,n){"use strict";var r=n(1291),o=Math.min;t.exports=function(t){var e=r(t);return e>0?o(e,9007199254740991):0}},8981:function(t,e,n){"use strict";var r=n(7750),o=Object;t.exports=function(t){return o(r(t))}},2777:function(t,e,n){"use strict";var r=n(9565),o=n(34),a=n(757),i=n(5966),s=n(4270),c=n(8227),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||a(t))return t;var n,c=i(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||a(n))return n;throw new u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},6969:function(t,e,n){"use strict";var r=n(2777),o=n(757);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6823:function(t){"use strict";var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},3392:function(t,e,n){"use strict";var r=n(9504),o=0,a=Math.random(),i=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+i(++o+a,36)}},7040:function(t,e,n){"use strict";var r=n(4495);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:function(t,e,n){"use strict";var r=n(3724),o=n(9039);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8622:function(t,e,n){"use strict";var r=n(4576),o=n(4901),a=r.WeakMap;t.exports=o(a)&&/native code/.test(String(a))},8227:function(t,e,n){"use strict";var r=n(4576),o=n(5745),a=n(9297),i=n(3392),s=n(4495),c=n(7040),u=r.Symbol,l=o("wks"),p=c?u.for||u:u&&u.withoutSetter||i;t.exports=function(t){return a(l,t)||(l[t]=s&&a(u,t)?u[t]:p("Symbol."+t)),l[t]}},5081:function(t,e,n){"use strict";var r=n(6518),o=n(4576);r({global:!0,forced:o.globalThis!==o},{globalThis:o})},2480:function(t,e,n){"use strict";n(5081)},5540:function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{A:function(){return o}})},4506:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}function o(t){return function(t){if(Array.isArray(t))return r(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return r(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(t,e):void 0}}(t)||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(e,{A:function(){return o}})},6462:function(t,e,n){"use strict";var r;n.r(e),n.d(e,{BaseContext:function(){return g},Link:function(){return G},Location:function(){return Y},LocationContext:function(){return v},LocationProvider:function(){return V},Match:function(){return tt},Redirect:function(){return S},Router:function(){return st},ServerLocation:function(){return Z},createHistory:function(){return l},createMemorySource:function(){return p},globalHistory:function(){return h},insertParams:function(){return k},isRedirect:function(){return E},match:function(){return x},navigate:function(){return d},pick:function(){return C},redirectTo:function(){return _},resolve:function(){return O},shallowCompare:function(){return W},startsWith:function(){return R},useBaseContext:function(){return y},useLocation:function(){return ut},useLocationContext:function(){return b},useMatch:function(){return ft},useNavigate:function(){return lt},useParams:function(){return pt},validateRedirect:function(){return j}});var o=n(6540),a=n(5556),i=n(311);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function c(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)e.indexOf(n=a[r])>=0||(o[n]=t[n]);return o}const u=t=>{const{search:e,hash:n,href:r,origin:o,protocol:a,host:i,hostname:s,port:c}=t.location;let{pathname:u}=t.location;return!u&&r&&f&&(u=new URL(r).pathname),{pathname:encodeURI(decodeURI(u)),search:e,hash:n,href:r,origin:o,protocol:a,host:i,hostname:s,port:c,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},l=(t,e)=>{let n=[],r=u(t),o=!1,a=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(e){n.push(e);const o=()=>{r=u(t),e({location:r,action:"POP"})};return t.addEventListener("popstate",o),()=>{t.removeEventListener("popstate",o),n=n.filter((t=>t!==e))}},navigate(e,{state:i,replace:c=!1}={}){if("number"==typeof e)t.history.go(e);else{i=s({},i,{key:Date.now()+""});try{o||c?t.history.replaceState(i,null,e):t.history.pushState(i,null,e)}catch(n){t.location[c?"replace":"assign"](e)}}r=u(t),o=!0;const l=new Promise((t=>a=t));return n.forEach((t=>t({location:r,action:"PUSH"}))),l}}},p=(t="/")=>{const e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""};let r=0;const o=[n],a=[null];return{get location(){return o[r]},addEventListener(t,e){},removeEventListener(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState(t,e,n){const[i,s=""]=n.split("?");r++,o.push({pathname:i,search:s.length?`?${s}`:s}),a.push(t)},replaceState(t,e,n){const[i,s=""]=n.split("?");o[r]={pathname:i,search:s},a[r]=t},go(t){const e=r+t;e<0||e>a.length-1||(r=e)}}}},f=!("undefined"==typeof window||!window.document||!window.document.createElement),h=l(f?window:p()),{navigate:d}=h;function m(t,e){return o.createServerContext?((t,e=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[t]||(globalThis.__SERVER_CONTEXT[t]=o.createServerContext(t,e)),globalThis.__SERVER_CONTEXT[t]))(t,e):o.createContext(e)}const g=m("Base",{baseuri:"/",basepath:"/"}),v=m("Location"),y=()=>o.useContext(g),b=()=>o.useContext(v);function w(t){this.uri=t}const E=t=>t instanceof w,_=t=>{throw new w(t)};function P(t){const{to:e,replace:n=!0,state:r,noThrow:a,baseuri:i}=t;o.useEffect((()=>{Promise.resolve().then((()=>{const o=O(e,i);d(k(o,t),{replace:n,state:r})}))}),[]);const s=O(e,i);return a||_(k(s,t)),null}const S=t=>{const e=b(),{baseuri:n}=y();return o.createElement(P,s({},e,{baseuri:n},t))};S.propTypes={from:a.string,to:a.string.isRequired};const R=(t,e)=>t.substr(0,e.length)===e,C=(t,e)=>{let n,r;const[o]=e.split("?"),a=L(o),s=""===a[0],c=M(t);for(let u=0,l=c.length;u<l;u++){let t=!1;const o=c[u].route;if(o.default){r={route:o,params:{},uri:e};continue}const l=L(o.path),p={},f=Math.max(a.length,l.length);let h=0;for(;h<f;h++){const e=l[h],n=a[h];if(N(e)){p[e.slice(1)||"*"]=a.slice(h).map(decodeURIComponent).join("/");break}if(void 0===n){t=!0;break}const r=T.exec(e);if(r&&!s){const t=-1===I.indexOf(r[1]);i(t,`<Router> dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const e=decodeURIComponent(n);p[r[1]]=e}else if(e!==n){t=!0;break}}if(!t){n={route:o,params:p,uri:"/"+a.slice(0,h).join("/")};break}}return n||r||null},x=(t,e)=>C([{path:t}],e),O=(t,e)=>{if(R(t,"/"))return t;const[n,r]=t.split("?"),[o]=e.split("?"),a=L(n),i=L(o);if(""===a[0])return H(o,r);if(!R(a[0],".")){const t=i.concat(a).join("/");return H(("/"===o?"":"/")+t,r)}const s=i.concat(a),c=[];for(let u=0,l=s.length;u<l;u++){const t=s[u];".."===t?c.pop():"."!==t&&c.push(t)}return H("/"+c.join("/"),r)},k=(t,e)=>{const[n,r=""]=t.split("?");let o="/"+L(n).map((t=>{const n=T.exec(t);return n?e[n[1]]:t})).join("/");const{location:{search:a=""}={}}=e,i=a.split("?")[1]||"";return o=H(o,r,i),o},j=(t,e)=>{const n=t=>D(t);return L(t).filter(n).sort().join("/")===L(e).filter(n).sort().join("/")},T=/^:(.+)/,D=t=>T.test(t),N=t=>t&&"*"===t[0],A=(t,e)=>({route:t,score:t.default?0:L(t.path).reduce(((t,e)=>(t+=4,(t=>""===t)(e)?t+=1:D(e)?t+=2:N(e)?t-=5:t+=3,t)),0),index:e}),M=t=>t.map(A).sort(((t,e)=>t.score<e.score?1:t.score>e.score?-1:t.index-e.index)),L=t=>t.replace(/(^\/+|\/+$)/g,"").split("/"),H=(t,...e)=>t+((e=e.filter((t=>t&&t.length>0)))&&e.length>0?`?${e.join("&")}`:""),I=["uri","path"],W=(t,e)=>{const n=Object.keys(t);return n.length===Object.keys(e).length&&n.every((n=>e.hasOwnProperty(n)&&t[n]===e[n]))},U=t=>t.replace(/(^\/+|\/+$)/g,""),F=t=>e=>{if(!e)return null;if(e.type===o.Fragment&&e.props.children)return o.Children.map(e.props.children,F(t));if(i(e.props.path||e.props.default||e.type===S,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${e.type}\``),i(!!(e.type!==S||e.props.from&&e.props.to),`<Redirect from="${e.props.from}" to="${e.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),i(!(e.type===S&&!j(e.props.from,e.props.to)),`<Redirect from="${e.props.from} to="${e.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),e.props.default)return{value:e,default:!0};const n=e.type===S?e.props.from:e.props.path,r="/"===n?t:`${U(t)}/${U(n)}`;return{value:e,default:e.props.default,path:e.props.children?`${U(r)}/*`:r}},q=["innerRef"],$=["to","state","replace","getProps"],J=["key"];let{forwardRef:Q}=r||(r=n.t(o,2));void 0===Q&&(Q=t=>t);const B=()=>{},G=Q(((t,e)=>{let{innerRef:n}=t,r=c(t,q);const{baseuri:a}=y(),{location:i}=b(),{to:u,state:l,replace:p,getProps:f=B}=r,h=c(r,$),m=O(u,a),g=encodeURI(m),v=i.pathname===g,w=R(i.pathname,g);return o.createElement("a",s({ref:e||n,"aria-current":v?"page":void 0},h,f({isCurrent:v,isPartiallyCurrent:w,href:m,location:i}),{href:m,onClick:t=>{if(h.onClick&&h.onClick(t),(t=>!t.defaultPrevented&&0===t.button&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey))(t)){t.preventDefault();let e=p;if("boolean"!=typeof p&&v){const t=c(s({},i.state),J);e=W(s({},l),t)}d(m,{state:l,replace:e})}}}))}));G.displayName="Link",G.propTypes={to:a.string.isRequired};class X extends o.Component{constructor(...t){super(...t),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...t){this.setState({}),this.props.onError(...t)}render(){return this.props.children}}const z=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function K({children:t}){const[e,n]=o.useState(),r=o.useRef(),a=o.useMemo((()=>({componentDidCatch:r,error:e,setError:n})),[e]);return o.createElement(z.Provider,{value:a},o.createElement(X,{error:e,onError:(t,e)=>{n(t),null==r.current||r.current(t,e)}},t))}K.displayName="ReactUseErrorBoundaryContext";const V=function(t){var e,n;function r(e){return o.createElement(K,null,o.createElement(t,s({key:"WrappedComponent"},e)))}return r.displayName=`WithErrorBoundary(${null!=(e=null!=(n=t.displayName)?n:t.name)?e:"Component"})`,r}((({history:t=h,children:e})=>{const{location:n}=t,[r,a]=o.useState({location:n}),[i]=function(){const t=o.useContext(z);t.componentDidCatch.current=void 0;const e=o.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,e]}();if(o.useEffect((()=>{t._onTransitionComplete()}),[r.location]),o.useEffect((()=>{let e=!1;const n=t.listen((({location:t})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{e||a({location:t})}))}))}));return()=>{e=!0,n()}}),[]),i){if(!E(i))throw i;d(i.uri,{replace:!0})}return o.createElement(v.Provider,{value:r},"function"==typeof e?e(r):e||null)})),Y=({children:t})=>{const e=b();return e?t(e):o.createElement(V,null,t)},Z=({url:t,children:e})=>{const n=t.indexOf("?");let r,a="";return n>-1?(r=t.substring(0,n),a=t.substring(n)):r=t,o.createElement(v.Provider,{value:{location:{pathname:r,search:a,hash:""}}},e)},tt=({path:t,children:e})=>{const{baseuri:n}=y(),{location:r}=b(),o=O(t,n),a=x(o,r.pathname);return e({location:r,match:a?s({},a.params,{uri:a.uri,path:t}):null})},et=["uri","location","component"],nt=["children","style","component","uri","location"],rt=t=>{let{uri:e,location:n,component:r}=t,a=c(t,et);return o.createElement(at,s({},a,{component:r,uri:e,location:n}))};let ot=0;const at=t=>{let{children:e,style:n,component:r="div",uri:a,location:i}=t,u=c(t,nt);const l=o.useRef(),p=o.useRef(!0),f=o.useRef(a),h=o.useRef(i.pathname),d=o.useRef(!1);o.useEffect((()=>(ot++,m(),()=>{ot--,0===ot&&(p.current=!0)})),[]),o.useEffect((()=>{let t=!1,e=!1;a!==f.current&&(f.current=a,t=!0),i.pathname!==h.current&&(h.current=i.pathname,e=!0),d.current=t||e&&i.pathname===a,d.current&&m()}),[a,i]);const m=o.useCallback((()=>{var t;p.current?p.current=!1:(t=l.current,d.current&&t&&t.focus())}),[]);return o.createElement(r,s({style:s({outline:"none"},n),tabIndex:"-1",ref:l},u),e)},it=["location","primary","children","basepath","baseuri","component"],st=t=>{const e=y(),n=b();return o.createElement(ct,s({},e,n,t))};function ct(t){const{location:e,primary:n=!0,children:r,basepath:a,component:i="div"}=t,u=c(t,it),l=o.Children.toArray(r).reduce(((t,e)=>{const n=F(a)(e);return t.concat(n)}),[]),{pathname:p}=e,f=C(l,p);if(f){const{params:t,uri:r,route:c,route:{value:l}}=f,p=c.default?a:c.path.replace(/\*$/,""),h=s({},t,{uri:r,location:e}),d=o.cloneElement(l,h,l.props.children?o.createElement(st,{location:e,primary:n},l.props.children):void 0),m=n?rt:i,v=n?s({uri:r,location:e,component:i},u):u;return o.createElement(g.Provider,{value:{baseuri:r,basepath:p}},o.createElement(m,v,d))}return null}const ut=()=>{const t=b();if(!t)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 t.location},lt=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},pt=()=>{const t=y();if(!t)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 e=ut(),n=x(t.basepath,e.pathname);return n?n.params:null},ft=t=>{if(!t)throw new Error("useMatch(path: string) requires an argument of a string to match against");const e=y();if(!e)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=ut(),r=O(t,e.baseuri),o=x(r,n.pathname);return o?s({},o.params,{uri:o.uri,path:t}):null}},7078:function(t,e,n){"use strict";n.d(e,{N_:function(){return b},Rr:function(){return c}});var r=n(5556),o=n(6540),a=n(6462),i=n(8776);function s(){return s=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},s.apply(this,arguments)}function c(t){let e=t||"/",n="",r="";const o=e.indexOf("#");-1!==o&&(r=e.slice(o),e=e.slice(0,o));const a=e.indexOf("?");return-1!==a&&(n=e.slice(a),e=e.slice(0,a)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}const u=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,l=t=>{if("string"==typeof t)return!(t=>u.test(t))(t)};function p(t,e=""){var n;if(!l(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;const r=null!=(n=null!=e?e:"")?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${t.startsWith("/")?t:`/${t}`}`}const f=t=>null==t?void 0:t.startsWith("/");function h(t,e){const{pathname:n,search:r,hash:o}=c(t);return`${(0,i.T)(n,e)}${r}${o}`}const d=(t,e)=>"number"==typeof t?t:l(t)?f(t)?function(t){const e=p(t),n="always";return h(e,n)}(t):function(t,e){if(f(t))return t;const n="always",r=(0,a.resolve)(t,e);return h(r,n)}(t,e):t,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(t){return o.createElement(a.Location,null,(({location:e})=>o.createElement(y,s({},t,{_location:e}))))}class y extends o.Component{constructor(t){super(t),this.defaultGetProps=({isPartiallyCurrent:t,isCurrent:e})=>(this.props.partiallyActive?t:e)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:s({},this.props.style,this.props.activeStyle)}:null;let e=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(e=!0),this.state={IOSupported:e},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let t=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname+this.props._location.search);const e=c(d(this.props.to,t)),n=e.pathname+e.search;if(t!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:t,el:e}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),t.unobserve(e),t.disconnect()}handleRef(t){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=((t,e)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{t===n.target&&e(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(t),{instance:n,el:t}})(t,(t=>{t?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const t=this.props,{to:e,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:i,state:u,replace:p,_location:f}=t,h=function(t,e){if(null==t)return{};var n,r,o={},a=Object.keys(t);for(r=0;r<a.length;r++)e.indexOf(n=a[r])>=0||(o[n]=t[n]);return o}(t,m),g=d(e,f.pathname);return l(g)?o.createElement(a.Link,s({to:g,state:u,getProps:n,innerRef:this.handleRef,onMouseEnter:t=>{i&&i(t);const e=c(g);___loader.hovering(e.pathname+e.search)},onClick:t=>{if(r&&r(t),!(0!==t.button||this.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();let e=p;const n=encodeURI(g)===f.pathname;"boolean"!=typeof p&&n&&(e=!0),window.___navigate(g,{state:u,replace:e})}return!0}},h)):o.createElement("a",s({href:g},h))}}y.propTypes=s({},g,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const b=o.forwardRef(((t,e)=>o.createElement(v,s({innerRef:e},t))))},5535:function(t,e,n){"use strict";n.r(e),n.d(e,{Script:function(){return d},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return f},scriptCallbackCache:function(){return h}});var r=n(6540),o=n(6462);function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},a.apply(this,arguments)}const i=new Map,s={get:t=>i.get(t)||[],set(t,e){const n=i.get(t)||[];n.push(e),i.set(t,n)},delete(t){i.delete(t)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){const e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const p=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),f=new Set,h=new Map;function d(t){return r.createElement(o.Location,null,(()=>r.createElement(m,t)))}function m(t){const{src:e,strategy:n=u.postHydrate}=t||{},{pathname:i}=(0,o.useLocation)();if((0,r.useEffect)((()=>{let e;switch(n){case u.postHydrate:e=g(t);break;case u.idle:c((()=>{e=g(t)}));break;case u.offMainThread:{const e=y(t);s.set(i,e)}}return()=>{const{script:t,loadCallback:n,errorCallback:r}=e||{};n&&(null==t||t.removeEventListener("load",n)),r&&(null==t||t.removeEventListener("error",r)),null==t||t.remove()}}),[]),n===u.offMainThread){const o=v(t),c=y(t);return"undefined"==typeof window&&s.set(i,c),r.createElement("script",o?a({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:v(t)}}):a({type:"text/partytown",src:b(e),"data-strategy":n,crossOrigin:"anonymous"},c))}return null}function g(t){const{id:e,src:n,strategy:r=u.postHydrate,onLoad:o,onError:i}=t||{},s=e||n,c=["load","error"],l={load:o,error:i};if(s){for(const t of c)if(null!=l&&l[t]){var p;const e=h.get(s)||{},{callbacks:n=[]}=(null==e?void 0:e[t])||{};var d,m;n.push(null==l?void 0:l[t]),null!=e&&null!=(p=e[t])&&p.event?null==l||null==(d=l[t])||d.call(l,null==e||null==(m=e[t])?void 0:m.event):h.set(s,a({},e,{[t]:{callbacks:n}}))}if(f.has(s))return null}const g=v(t),b=y(t),E=document.createElement("script");e&&(E.id=e),E.dataset.strategy=r;for(const[a,u]of Object.entries(b))E.setAttribute(a,u);g&&(E.textContent=g),n&&(E.src=n);const _={};if(s){for(const t of c){const e=e=>w(e,s,t);E.addEventListener(t,e),_[`${t}Callback`]=e}f.add(s)}return document.body.appendChild(E),{script:E,loadCallback:_.loadCallback,errorCallback:_.errorCallback}}function v(t){const{dangerouslySetInnerHTML:e,children:n=""}=t||{},{__html:r=""}=e||{};return r||n}function y(t){const e={};for(const[n,r]of Object.entries(t))p.has(n)||(e[n]=r);return e}function b(t){if(t)return`/__third-party-proxy?url=${encodeURIComponent(t)}`}function w(t,e,n){const r=h.get(e)||{};for(const a of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;a(t)}h.set(e,{[n]:{event:t}})}}},function(t){t.O(0,[869,593],(function(){return e=6498,t(t.s=e);var e}));t.O()}]);
//# sourceMappingURL=app-d704771a59de410ef7ca.js.map