PageSourceSearch

https://themargaretfamily.com/app-34616ae1ca92dfa684a9.js

js themargaretfamily.com collected 2026-09-28 12:11:27 UTC 81,739 bytes, 3 lines download raw bytes

1/*! For license information please see app-34616ae1ca92dfa684a9.js.LICENSE.txt */
2(self.webpackChunkstarter=self.webpackChunkstarter||[]).push([[524],{6395: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.RV=e.z_=void 0;var r=n(3215);e.z_=r.ScrollHandler;var o=n(3721);e.RV=o.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)),i=r(n(6221)),a=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 i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var a=o?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=t[i]}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=a.createContext(new c.SessionStorage);
2e.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];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,i.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 a.createElement(l.Provider,{value:this._stateStorage},this.props.children)},e}(a.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(i){return window&&window[n]&&window[n][r]?window[n][r]:0}},e.save=function(t,e,r){var o=this.getStateKey(t,e),i=JSON.stringify(r);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(i)}},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,i.useLocation)(),n=(0,o.useContext)(r.ScrollContext),a=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(a.current){var r=n.read(e,t);a.current.scrollTo(0,r||0)}}),[e.key]),{ref:a,onScroll:function(){a.current&&n.save(e,t,a.current.scrollTop)}}};var r=n(3215),o=n(6540),i=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 i=(0,o.getForwards)(t),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,r.partytownSnippet)({forward:i}),document.head.appendChild(a)};var r=n(4656),o=n(3309)},6877:function(t,e,n){e.components={"component---src-pages-admin-js":()=>n.e(210).then(n.bind(n,6968)),"component---src-pages-careers-js":()=>Promise.all([n.e(869),n.e(106),n.e(306)]).then(n.bind(n,9655)),"component---src-pages-contact-js":()=>Promise.all([n.e(869),n.e(106),n.e(209)]).then(n.bind(n,4770)),"component---src-pages-dining-enquiry-js":()=>Promise.all([n.e(869),n.e(106),n.e(866)]).then(n.bind(n,7145)),"component---src-pages-faqs-js":()=>Promise.all([n.e(869),n.e(106),n.e(502)]).then(n.bind(n,9680)),"component---src-pages-index-js":()=>Promise.all([n.e(869),n.e(834),n.e(106),n.e(269),n.e(293)]).then(n.bind(n,9639)),"component---src-pages-our-story-js":()=>Promise.all([n.e(869),n.e(834),n.e(106),n.e(269),n.e(931),n.e(419)]).then(n.bind(n,9948)),"component---src-pages-privacy-policy-js":()=>Promise.all([n.e(869),n.e(106),n.e(186)]).then(n.bind(n,3562)),"component---src-pages-private-dining-js":()=>Promise.all([n.e(869),n.e(834),n.e(106),n.e(269),n.e(68)]).then(n.bind(n,7754)),"component---src-pages-venues-js":()=>Promise.all([n.e(869),n.e(834),n.e(106),n.e(269),n.e(235)]).then(n.bind(n,5963)),"component---src-templates-venue-js":()=>Promise.all([n.e(869),n.e(834),n.e(106),n.e(269),n.e(931),n.e(825)]).then(n.bind(n,9333))}},9377:function(t,e,n){t.exports=[{plugin:n(8710),options:{plugins:[],trackingIds:["G-MRK2C51B9F","AW-18454058757"],gtagConfig:{}}},{plugin:n(5222),options:{plugins:[],once:!0}},{plugin:n(7914),options:{plugins:[],name:"starter",short_name:"starter",start_url:"/",background_color:"#000",display:"minimal-ui",icon:"src/images/favicon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"bd8eca2d5cc7d032a31523a5ce6e9319"}},{plugin:n(8108),options:{plugins:[]}},{plugin:n(2311),options:{plugins:[]}}]},20:function(t,e,n){const r=n(9377),{getResourceURLsForPathname:o,loadPage:i,loadPageSync:a}=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=i,e.loadPageSync=a;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){e.U=()=>""},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 h},Hh:function(){return f},UA:function(){return d},QX:function(){return p}});var r=n(6462),o=n(8797),i=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},a=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},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?i(o.route.originalPath):null},d=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:{}},f=t=>{const e=u(l(t));if(s.has(e))return s.get(e);const n=(0,a.X)(t);if(n)return f(n.toPath);let r=h(e);return r||(r=m(t)),s.set(e,r),r},m=t=>{let e=u(l(t));return"/index.html"===e&&(e="/"),e=i(e),e}},4794:function(t,e,n){"use strict";n.r(e),n.d(e,{Link:function(){return s.N_},PageRenderer:function(){return i()},Script:function(){return R.Script},ScriptStrategy:function(){return R.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return c.de},StaticQueryContext:function(){return c.G},collectedScriptsByPage:function(){return R.collectedScriptsByPage},graphql:function(){return S},navigate:function(){return s.oo},parsePath:function(){return s.Rr},prefetchPathname:function(){return P},scriptCache:function(){return R.scriptCache},scriptCallbackCache:function(){return R.scriptCallbackCache},useScrollRestoration:function(){return a.RV}
2,useStaticQuery:function(){return c.GR},withAssetPrefix:function(){return s.Zf},withPrefix:function(){return s.Fe}});var r=n(6814),o=n(2549),i=n.n(o),a=n(7035),s=n(7078),c=n(7231),u=n(7387);function l(t){return l=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},l(t)}var p=n(3662);function h(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(t){}return(h=function(){return!!t})()}function d(t){var e="function"==typeof Map?new Map:void 0;return d=function(t){if(null===t||!function(t){try{return-1!==Function.toString.call(t).indexOf("[native code]")}catch(e){return"function"==typeof t}}(t))return t;if("function"!=typeof t)throw new TypeError("Super expression must either be null or a function");if(void 0!==e){if(e.has(t))return e.get(t);e.set(t,n)}function n(){return function(t,e,n){if(h())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,e);var o=new(t.bind.apply(t,r));return n&&(0,p.A)(o,n.prototype),o}(t,arguments,l(this).constructor)}return n.prototype=Object.create(t.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,p.A)(n,t)},d(t)}var f=n(6540),m=n(700),g=n(2024);const v=t=>{let{sliceId:e,children:n}=t;const r=[f.createElement("slice-start",{id:e+"-1"}),f.createElement("slice-end",{id:e+"-1"})];return n&&(r.push(n),r.push(f.createElement("slice-start",{id:e+"-2"}),f.createElement("slice-end",{id:e+"-2"}))),r},y=t=>{let{sliceName:e,allowEmpty:n,children:r,...o}=t;const i=(0,f.useContext)(g.Jr),a=(0,f.useContext)(g.hr),s=i[e];if(!s){if(n)return null;throw new Error('Slice "'+s+'" for "'+e+'" slot not found')}const c=((t,e)=>Object.keys(e).length?t+"-"+(0,m.U)(e):t)(s,o);let u=a[c];return u?r&&(u.hasChildren=!0):a[c]=u={props:o,sliceName:s,hasChildren:!!r},f.createElement(v,{sliceId:c},r)},b=t=>{let{sliceName:e,allowEmpty:n,children:r,...o}=t;const i=(0,f.useContext)(g.Jr),a=(0,f.useContext)(g.dd),s=i[e],c=a.get(s);if(!c){if(n)return null;throw new Error('Slice "'+s+'" for "'+e+'" slot not found')}return f.createElement(c.component,Object.assign({sliceContext:c.sliceContext,data:c.data},o),r)};function w(t){{const e={...t,sliceName:t.alias};delete e.alias,delete e.__renderedByLocation;const n=(0,f.useContext)(g.j$),r=E(t);if(Object.keys(r).length)throw new _("browser"===n.renderEnvironment,e.sliceName,r,t.__renderedByLocation);if("server"===n.renderEnvironment)return f.createElement(y,e);if("browser"===n.renderEnvironment)return f.createElement(b,e);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return f.createElement(b,e);if("slices"===n.renderEnvironment){let e="";try{e='\n\nSlice component "'+n.sliceRoot.name+'" ('+n.sliceRoot.componentPath+') tried to render <Slice alias="'+t.alias+'"/>'}catch{}throw new Error("Nested slices are not supported."+e+"\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices")}throw new Error('Slice context "'+n.renderEnvironment+'" is not supported.')}}let _=function(t){function e(n,r,o,i){var a;const s=Object.entries(o).map((t=>{let[e,n]=t;return'not serializable "'+n+'" type passed to "'+e+'" prop'})).join(", "),c="SlicePropsError";let u="",l="";if(n){const t=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);t[0]=t[0].trim(),u="\n"+t.join("\n"),l='Slice "'+r+'" was passed props that are not serializable ('+s+")."}else{l=c+': Slice "'+r+'" was passed props that are not serializable ('+s+").";u=l+"\n"+(new Error).stack.trim().split("\n").slice(2).join("\n")}return(a=t.call(this,l)||this).name=c,u?a.stack=u:Error.captureStackTrace(a,e),i&&(a.forcedLocation={...i,functionName:"Slice"}),a}return(0,u.A)(e,t),e}(d(Error));const E=function(t,e,n,r){void 0===e&&(e={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[o,i]of Object.entries(t)){if(null==i||!r&&"children"===o)continue;const t=r?r+"."+o:o;"function"==typeof i?e[t]=typeof i:"object"==typeof i&&n.indexOf(i)<=0&&(n.push(i),E(i,e,n,t))}return e};var R=n(5535);const P=r.Ay.enqueue;function S(){throw new Error("It appears like Gatsby is misconfigured. Gatsby related `graphql` calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.\n\nUnless your site has a complex or custom babel/Gatsby configuration this is likely a bug in Gatsby.")}},6814:function(t,e,n){"use strict";n.d(e,{Wi:function(){return p},N5:function(){return _},Ay:function(){return P},Rh:function(){return C},LE:function(){return S},Zf:function(){return R},iC:function(){return E}});var r=n(7387),o=n(4506),i=n(8163);const a=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():a(t,e).then((()=>{n(),s[t]=!0}
2)).catch((()=>{}))}))},u=n(9369),l=n(8990);const p={Error:"error",Success:"success"},h=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:"")},d=t=>t.startsWith("//");function f(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=f(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=h(e);return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{const n=JSON.parse(i);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(a){}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=h(e).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{return Object.assign(t,{status:p.Success,payload:i})}catch(a){}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)))}
2,e.loadSliceDataJson=function(t){if(this.slicesDataDb.has(t)){const e=this.slicesDataDb.get(t);return Promise.resolve({sliceName:t,jsonPayload:e})}return f("/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,a]=t;if(r.status===p.Error||(null==a?void 0:a.status)===p.Error)return{status:p.Error};let s=r.payload;const{componentChunkName:c,staticQueryHashes:l=[],slicesMap:h={}}=s,d={},f=Array.from(new Set(Object.values(h))),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(f.map((t=>this.loadSliceDataJson(t)))).then((t=>{const h=[],f=(0,o.A)(l);for(const{jsonPayload:e,sliceName:n}of Object.values(t)){h.push({name:n,...e});for(const t of e.staticQueryHashes)f.includes(t)||f.push(t)}const y=[Promise.all(h.map(m)),this.loadComponent(c,"head")];y.push(this.loadComponent(c));const b=Promise.all(y).then((t=>{const[e,o,c]=t;d.createdAt=new Date;for(const n of e)(!n||n instanceof Error)&&(d.status=p.Error,d.error=n);let u;if((!c||c instanceof Error)&&(d.status=p.Error,d.error=c),d.status!==p.Error){if(d.status=p.Success,!0!==r.notFound&&!0!==(null==a?void 0:a.notFound)||(d.notFound=!0),s=Object.assign(s,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==a?void 0:a.payload)){u=g(s,null,o),u.partialHydration=a.payload;const t=new ReadableStream({start(t){const e=new TextEncoder;t.enqueue(e.encode(a.payload))},pull(t){t.close()},cancel(){}});return v((0,i.createFromReadableStream)(t)).then((t=>(u.partialHydration=t,u)))}u=g(s,c,o)}return u})),w=Promise.all(f.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={...r,staticQueryResults:o},d.payload=n,u.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(e,d),d.error?{error:d.error,status:d.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=h(t);return c(e,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(t)))},e.hovering=function(t){this.loadPage(t)}
2,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)),[h(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(i){}return o}))},t}();const b=t=>(window.___chunkMapping[t]||[]).map((t=>""+t));let w,_=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?d(e)?t:f(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?d(e)?t:f(e,"HEAD").then((e=>200===e.status?{status:p.Error}:t)):t))},e}(y);const E=t=>{w=t},R={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 P=R;function S(){return w?w.staticQueryDb:{}}function C(){return w?w.slicesDb:{}}},6017:function(t,e,n){"use strict";n.d(e,{A:function(){return P}});var r=n(6540),o=n(5556),i=n.n(o),a=n(20),s=n(8990),c=n(4506),u=n(4794),l=n(6462),p=n(9732);function h(t){let{children:e,callback:n}=t;return(0,r.useEffect)((()=>{n()})),e}const d=["link","meta","style","title","base","noscript","script","html","body"];function f(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,i;const t=u.nodeName.toLowerCase(),l=null===(o=u.attributes)||void 0===o||null===(i=o.id)||void 0===i?void 0:i.value;if(y(u)){if(v(t))if("html"===t||"body"===t)for(const n of u.attributes){const r="style"===n.name;var a;if(e[t]={...e[t]},r||(e[t][n.name]=n.value),r)e[t].style=""+(null!==(a=e[t])&&void 0!==a&&a.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 d.includes(t)}function y(t){return 1===t.nodeType}const b=document.createElement("div"),w={html:[],body:[]},_=()=>{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");
2r&&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 i=[];!function(t){let{oldNodes:e,newNodes:n,onStale:r,onNew:o}=t;for(const i of e){const t=n.findIndex((t=>f(t,i)));-1===t?r(i):n.splice(t,1)}for(const i of n)o(i)}({oldNodes:r,newNodes:e,onStale:t=>t.parentNode.removeChild(t),onNew:t=>i.push(t)}),(t=document.head).append.apply(t,i)};function E(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:i}=(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,a.N)("wrapRootElement",{element:s},s,(t=>{let{result:e}=t;return{element:e}})).pop();i(r.createElement(h,{callback:_},r.createElement(u.StaticQueryContext.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 R(t){const e={...t,params:{...(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,{...e,key:t.path||t.pageResources.page.path});E({pageComponent:t.pageResources.head,staticQueryResults:t.pageResources.staticQueryResults,pageComponentProps:e});return(0,a.N)("wrapPageElement",{element:n,props:e},n,(t=>{let{result:n}=t;return{element:n,props:e}})).pop()}R.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var P=R},6498:function(t,e,n){"use strict";
2var r=n(7387),o=n(20),i=n(6540),a=n(6462),s=n(7035),c=n(7231),u=n(2024),l=n(6814),p=n(6491),h=n(9369);const d={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 f=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 a.globalHistory.navigate(t);const{pathname:n,search:r,hash:i}=(0,f.Rr)(t),s=(0,p.X)(n);if(s&&(t=s.toPath+r+i),window.___swUpdated)return void(window.location=n+r+i);const c=setTimeout((()=>{h.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+i),(0,a.navigate)(t,e),clearTimeout(c)}))};function w(t,e){let{location:n}=e;const{pathname:r,hash:i}=n,a=(0,o.N)("shouldUpdateScroll",{prevRouterProps:t,pathname:r,routerProps:{location:n},getSavedScrollPosition:t=>[0,this._stateStorage.read(t,t.key)]});if(a.length>0)return a[a.length-1];if(t){const{location:{pathname:e}}=t;if(e===r)return i?decodeURI(i.slice(1)):[0,0]}return!0}let _=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=i.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 i.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},e}(i.Component);const E=(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 R=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!!E(this.props.location,t.location)&&(v(t.location,this.props.location),!0)},n.componentDidUpdate=function(t){E(t.location,this.props.location)&&y(this.props.location,t.location)},n.render=function(){return i.createElement(i.Fragment,null,this.props.children,i.createElement(_,{location:location}))},e}(i.Component);var P=n(6017),S=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 O=function(t){function e(e){var n;n=t.call(this)||this;const{location:r,pageResources:o}=e;return n.state={location:{...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:{...n}}}return{location:{...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:{...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||
2(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}(i.Component),k=n(8797),x=n(9732);const T=new l.N5(S,[],window.pageData);(0,l.iC)(T),T.setApiRunner(o.N);const{render:j,hydrate:N}=(0,x.n)();window.asyncRequires=S,window.___emitter=h.A,window.___loader=l.Zf,a.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 D="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(626);const t=t=>i.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(P.A,t)),e=i.createContext({}),p={renderEnvironment:"browser"};let h=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 i.createElement(a.Location,null,(n=>{let{location:r}=n;return i.createElement(O,{location:r},(n=>{let{pageResources:r,location:o}=n;const a=(0,l.LE)(),s=(0,l.Rh)();return i.createElement(c.G.Provider,{value:a},i.createElement(u.j$.Provider,{value:p},i.createElement(u.dd.Provider,{value:s},i.createElement(u.Jr.Provider,{value:r.page.slicesMap},i.createElement(e.Provider,{value:{pageResources:r,location:o}},t)))))}))}))},n}(i.Component),d=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.A)(o,n),o.prototype.render=function(){return i.createElement(e.Consumer,null,(e=>{let{pageResources:n,location:r}=e;return i.createElement(R,{location:r},i.createElement(s.z_,{location:r,shouldUpdateScroll:w},i.createElement(a.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},i.createElement(t,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,k.A)(r.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:r,pageResources:n},n.json)))))}))},o}(i.Component);const{pagePath:f,location:m}=window;f&&""+f!==m.pathname+(f.includes("?")?m.search:"")&&!(T.findMatchPath((0,k.A)(m.pathname,""))||f.match(/^\/(404|500)(\/?|.html)$/)||f.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+f+(f.includes("?")?"":m.search)+m.hash,{replace:!0});const g=()=>{try{return sessionStorage}catch{return null}};l.Zf.loadPage(m.pathname+m.search).then((t=>{var e;
2const 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(D)))return n.setItem(D,"1"),void window.location.reload(!0)}if(n&&n.removeItem(D),!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:i.createElement(d,null)},i.createElement(d,null),(t=>{let{result:e}=t;return{element:e}})).pop(),a=function(){const t=i.useRef(!1);return i.useEffect((()=>{t.current||(t.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))}),[]),i.createElement(h,null,r)},s=document.getElementById("gatsby-focus-wrapper");let c=j;s&&s.children.length&&(c=N);const u=(0,o.N)("replaceHydrateFunction",void 0,c)[0];function p(){const t="undefined"!=typeof window?document.getElementById("___gatsby"):null;u(i.createElement(a,null),t)}const f=document;if("complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll)setTimeout((function(){p()}),0);else{const t=function(){f.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),p()};f.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),i=n(6017);e.default=t=>{let{location:e}=t;const n=o.Ay.loadPageSync(e.pathname);return n?r.createElement(i.A,{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 i}});const r=new Map,o=new Map;function i(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 a},dd:function(){return o},hr:function(){return s},j$:function(){return i}});var r=n(6540);const o=r.createContext({}),i=r.createContext({}),a=r.createContext({}),s=r.createContext({})},7231:function(t,e,n){"use strict";n.d(e,{de:function(){return c},G:function(){return o},GR:function(){return u}});var r=n(6540);const o=(i="StaticQuery",a={},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]}(i,a):r.createContext(a));var i,a;function s(t){let{staticQueryData:e,data:n,query:o,render:i}=t;const a=n?n.data:e[o]&&e[o].data;return r.createElement(r.Fragment,null,a&&i(a),!a&&r.createElement("div",null,"Loa
2ding (StaticQuery)"))}const c=t=>{const{data:e,query:n,render:i,children:a}=t;return r.createElement(o.Consumer,null,(t=>r.createElement(s,{data:e,query:n,render:i||a,staticQueryData:t})))},u=t=>{var e;r.useContext;const n=r.useContext(o);if(isNaN(Number(t)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+t+"`);\n");if(null!==(e=n[t])&&void 0!==e&&e.data)return n[t].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},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(){},8710:function(t,e){"use strict";e.onRouteUpdate=function(t,e){var n=t.location;if(void 0===e&&(e={}),"function"!=typeof gtag)return null;var r=e.pluginConfig||{};if(n&&void 0!==window.excludeGtagPaths&&window.excludeGtagPaths.some((function(t){return t.test(n.pathname)})))return null;var o=function(){var t=n?n.pathname+n.search+n.hash:void 0;window.gtag("event","page_view",{page_path:t})},i=r.delayOnRouteUpdate,a=void 0===i?0:i;return"requestAnimationFrame"in window?requestAnimationFrame((function(){requestAnimationFrame((function(){return setTimeout(o,a)}))})):setTimeout(o,32+a),null}},7914:function(t,e,n){"use strict";n.r(e),n.d(e,{onRouteUpdate:function(){return r}});n(4794),n(4598);const r=function(t,e){let{location:n}=t}},4598:function(t,e,n){"use strict";var r=n(4794)},7408:function(t,e,n){"use strict";var r=n(4994),o=n(6305);e.A=function(t){var e=t.children,n=t.path,r=t.options;return(0,i.useEffect)((function(){(0,a.default)(r)}),[n]),e};var i=o(n(6540)),a=r(n(1489))},5222:function(t,e,n){"use strict";var r=n(4994)(n(4893));n(4941),n(5127);var o=n(6540),i=n(7408).A;e.wrapPageElement=function(t,e){var n=t.element,a=t.props,s=(e.plugins,(0,r.default)(e,["plugins"]));return o.createElement(i,{options:s,path:a.path},n)}},5127:function(){!function(){"use strict";if("object"==typeof window)if("IntersectionObserver"in window&&"IntersectionObserverEntry"in window&&"intersectionRatio"in window.IntersectionObserverEntry.prototype)"isIntersecting"in window.IntersectionObserverEntry.prototype||Object.defineProperty(window.IntersectionObserverEntry.prototype,"isIntersecting",{get:function(){return this.intersectionRatio>0}});else{var t=window.document,e=[];r.prototype.THROTTLE_TIMEOUT=100,r.prototype.POLL_INTERVAL=null,r.prototype.USE_MUTATION_OBSERVER=!0,r.prototype.observe=function(t){if(!this._observationTargets.some((function(e){return e.element==t}))){if(!t||1!=t.nodeType)throw new Error("target must be an Element");this._registerInstance(),this._observationTargets.push({element:t,entry:null}),this._monitorIntersections(),this._checkForIntersections()}},r.prototype.unobserve=function(t){this._observationTargets=this._observationTargets.filter((function(e){return e.element!=t})),this._observationTargets.length||(this._unmonitorIntersections(),this._unregisterInstance())},r.prototype.disconnect=function(){this._observationTargets=[],this._unmonitorIntersections(),this._unregisterInstance()},r.prototype.takeRecords=function(){var t=this._queuedEntries.slice();return this._queuedEntries=[],t},r.prototype._initThresholds=function(t){var e=t||[0];return Array.isArray(e)||(e=[e]),e.sort().filter((function(t,e,n){if("number"!=typeof t||isNaN(t)||t<0||t>1)throw new Error("threshold must be a number between 0 and 1 inclusively");return t!==n[e-1]}))},r.prototype._parseRootMargin=function(t){var e=(t||"0px").split(/\s+/).map((function(t){var e=/^(-?\d*\.?\d+)(px|%)$/.exec(t);if(!e)throw new Error("rootMargin must be specified in pixels or percent");return{value:parseFloat(e[1]),unit:e[2]}}));return e[1]=e[1]||e[0],e[2]=e[2]||e[0],e[3]=e[3]||e[1],e},r.prototype._monitorIntersections=function(){this._monitoringIntersections||(this._monitoringIntersections=!0,this.POLL_INTERVAL?this._monitoringInterval=setInterval(this._checkForIntersections,this.POLL_INTERVAL):(o(window,"resize",this._checkForIntersections,!0),o(t,"scroll",this._checkForIntersections,!0),this.USE_MUTATION_OBSERVER&&"MutationObserver"in window&&(this._domObserver=new MutationObserver(this._checkForIntersections),this._domObserver.observe(t,{attributes:!0,childList:!0,characterData:!0,subtree:!0}))))},r.prototype._unmonitorIntersections=function(){this._monitoringIntersections&&(this._monitoringIntersections=!1,clearInterval(this._monitoringInterval),this._monitoringInterval=null,i(window,"resize",this._checkForIntersections,!0),i(t,"scroll",this._checkForIntersections,!0),this._domObserver&&(this._domObserver.disconnect(),this._domObserver=null))},r.prototype._checkForIntersections=function(){var t=this._rootIsInDom(),e=t?this._getRootRect():{top:0,bottom:0,left:0,right:0,width:0,height:0};
2this._observationTargets.forEach((function(r){var o=r.element,i=a(o),s=this._rootContainsTarget(o),c=r.entry,u=t&&s&&this._computeTargetAndRootIntersection(o,e),l=r.entry=new n({time:window.performance&&performance.now&&performance.now(),target:o,boundingClientRect:i,rootBounds:e,intersectionRect:u});c?t&&s?this._hasCrossedThreshold(c,l)&&this._queuedEntries.push(l):c&&c.isIntersecting&&this._queuedEntries.push(l):this._queuedEntries.push(l)}),this),this._queuedEntries.length&&this._callback(this.takeRecords(),this)},r.prototype._computeTargetAndRootIntersection=function(e,n){if("none"!=window.getComputedStyle(e).display){for(var r,o,i,s,u,l,p,h,d=a(e),f=c(e),m=!1;!m;){var g=null,v=1==f.nodeType?window.getComputedStyle(f):{};if("none"==v.display)return;if(f==this.root||f==t?(m=!0,g=n):f!=t.body&&f!=t.documentElement&&"visible"!=v.overflow&&(g=a(f)),g&&(r=g,o=d,i=void 0,s=void 0,u=void 0,l=void 0,p=void 0,h=void 0,i=Math.max(r.top,o.top),s=Math.min(r.bottom,o.bottom),u=Math.max(r.left,o.left),l=Math.min(r.right,o.right),h=s-i,!(d=(p=l-u)>=0&&h>=0&&{top:i,bottom:s,left:u,right:l,width:p,height:h})))break;f=c(f)}return d}},r.prototype._getRootRect=function(){var e;if(this.root)e=a(this.root);else{var n=t.documentElement,r=t.body;e={top:0,left:0,right:n.clientWidth||r.clientWidth,width:n.clientWidth||r.clientWidth,bottom:n.clientHeight||r.clientHeight,height:n.clientHeight||r.clientHeight}}return this._expandRectByRootMargin(e)},r.prototype._expandRectByRootMargin=function(t){var e=this._rootMarginValues.map((function(e,n){return"px"==e.unit?e.value:e.value*(n%2?t.width:t.height)/100})),n={top:t.top-e[0],right:t.right+e[1],bottom:t.bottom+e[2],left:t.left-e[3]};return n.width=n.right-n.left,n.height=n.bottom-n.top,n},r.prototype._hasCrossedThreshold=function(t,e){var n=t&&t.isIntersecting?t.intersectionRatio||0:-1,r=e.isIntersecting?e.intersectionRatio||0:-1;if(n!==r)for(var o=0;o<this.thresholds.length;o++){var i=this.thresholds[o];if(i==n||i==r||i<n!=i<r)return!0}},r.prototype._rootIsInDom=function(){return!this.root||s(t,this.root)},r.prototype._rootContainsTarget=function(e){return s(this.root||t,e)},r.prototype._registerInstance=function(){e.indexOf(this)<0&&e.push(this)},r.prototype._unregisterInstance=function(){var t=e.indexOf(this);-1!=t&&e.splice(t,1)},window.IntersectionObserver=r,window.IntersectionObserverEntry=n}function n(t){this.time=t.time,this.target=t.target,this.rootBounds=t.rootBounds,this.boundingClientRect=t.boundingClientRect,this.intersectionRect=t.intersectionRect||{top:0,bottom:0,left:0,right:0,width:0,height:0},this.isIntersecting=!!t.intersectionRect;var e=this.boundingClientRect,n=e.width*e.height,r=this.intersectionRect,o=r.width*r.height;this.intersectionRatio=n?Number((o/n).toFixed(4)):this.isIntersecting?1:0}function r(t,e){var n,r,o,i=e||{};if("function"!=typeof t)throw new Error("callback must be a function");if(i.root&&1!=i.root.nodeType)throw new Error("root must be an Element");this._checkForIntersections=(n=this._checkForIntersections.bind(this),r=this.THROTTLE_TIMEOUT,o=null,function(){o||(o=setTimeout((function(){n(),o=null}),r))}),this._callback=t,this._observationTargets=[],this._queuedEntries=[],this._rootMarginValues=this._parseRootMargin(i.rootMargin),this.thresholds=this._initThresholds(i.threshold),this.root=i.root||null,this.rootMargin=this._rootMarginValues.map((function(t){return t.value+t.unit})).join(" ")}function o(t,e,n,r){"function"==typeof t.addEventListener?t.addEventListener(e,n,r||!1):"function"==typeof t.attachEvent&&t.attachEvent("on"+e,n)}function i(t,e,n,r){"function"==typeof t.removeEventListener?t.removeEventListener(e,n,r||!1):"function"==typeof t.detatchEvent&&t.detatchEvent("on"+e,n)}function a(t){var e;try{e=t.getBoundingClientRect()}catch(n){}return e?(e.width&&e.height||(e={top:e.top,right:e.right,bottom:e.bottom,left:e.left,width:e.right-e.left,height:e.bottom-e.top}),e):{top:0,bottom:0,left:0,right:0,width:0,height:0}}function s(t,e){for(var n=e;n;){if(n==t)return!0;n=c(n)}return!1}function c(t){var e=t.parentNode;return e&&11==e.nodeType&&e.host?e.host:e&&e.assignedSlot?e.assignedSlot.parentNode:e}}()},311:function(t){"use strict";
2t.exports=function(t,e,n,r,o,i,a,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,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},4941:function(t,e,n){"use strict";n.r(e)},207:function(t,e,n){"use strict";var r=n(6540),o={stream:!0},i=new Map,a=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 a=i.get(r[o]);if(null!==a)throw a}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 h(){return p(v(this,0))}function d(t,e){return new l(3,e,t)}function f(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,f(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],a=e.indexOf(":",1),s=parseInt(e.substring(1,a),16);switch(a=e.substring(a+1),o){case"J":(o=(e=t._chunks).get(s))?0===o._status&&(t=o._value,o._status=1,o._value=a,f(t)):e.set(s,new l(1,a,t));break;case"M":o=(e=t._chunks).get(s),a=JSON.parse(a,t._fromJSON);var p=t._bundlerConfig;p=(a=p?p[a.id][a.name]:a).chunks;for(var h=0;h<p.length;h++){var g=p[h];if(void 0===i.get(g)){var v=n.e(g),y=i.set.bind(i,g,null),b=i.set.bind(i,g);v.then(y,b),i.set(g,v)}}o?0===o._status&&(t=o._value,o._status=2,o._value=a,f(t)):e.set(s,new l(2,a,t));break;case"P":t._chunks.set(s,d(t,function(t){return u[t]||(u[t]=r.createServerContext(t,c)),u[t]}(a).Provider));break;case"S":o=JSON.parse(a),t._chunks.set(s,d(t,Symbol.for(o)));break;case"E":e=JSON.parse(a),(o=Error(e.message)).stack=e.stack,(a=(e=t._chunks).get(s))?m(a,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?a:"$"===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]===a?{$$typeof:a,type:n[1],key:n[2],ref:null,props:n[3],_owner:null}:n:n}}function _(t){var e=new TextDecoder;return(t={_bundlerConfig:t,_chunks:new Map,readRoot:h,_partialRow:"",_stringDecoder:e})._fromJSON=w(t),t}function E(t,e){function n(e){g(t,e)}var r=e.getReader();r.read().then((function e(i){var a=i.value;if(!i.done){i=a,a=t._stringDecoder;for(var s=i.indexOf(10);-1<s;){var c=t._partialRow,u=i.subarray(0,s);u=a.decode(u),b(t,c+u),t._partialRow="",s=(i=i.subarray(s+1)).indexOf(10)}return t._partialRow+=a.decode(i,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)},1489:function(t){t.exports=function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="dist/",n(n.s=0)}([function(t,e,n){"use strict";function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function o(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};
2e%2?r(n,!0).forEach((function(e){i(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):r(n).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}function i(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}n.r(e),n(1);var a="Sal was not initialised! Probably it is used in SSR.",s="Your browser does not support IntersectionObserver!\nGet a polyfill from here:\nhttps://github.com/w3c/IntersectionObserver/tree/master/polyfill",c={rootMargin:"0% 50%",threshold:.5,animateClassName:"sal-animate",disabledClassName:"sal-disabled",enterEventName:"sal:in",exitEventName:"sal:out",selector:"[data-sal]",once:!0,disabled:!1},u=[],l=null,p=function(t,e){var n=new CustomEvent(t,{bubbles:!0,detail:e});e.target.dispatchEvent(n)},h=function(){document.body.classList.add(c.disabledClassName)},d=function(){return c.disabled||"function"==typeof c.disabled&&c.disabled()},f=function(t,e){t.forEach((function(t){t.intersectionRatio>=c.threshold?(function(t){t.target.classList.add(c.animateClassName),p(c.enterEventName,t)}(t),c.once&&e.unobserve(t.target)):c.once||function(t){t.target.classList.remove(c.animateClassName),p(c.exitEventName,t)}(t)}))},m=function(){h(),l.disconnect(),l=null},g=function(){document.body.classList.remove(c.disabledClassName),l=new IntersectionObserver(f,{rootMargin:c.rootMargin,threshold:c.threshold}),(u=[].filter.call(document.querySelectorAll(c.selector),(function(t){return!function(t){return t.classList.contains(c.animateClassName)}(t,c.animateClassName)}))).forEach((function(t){return l.observe(t)}))};e.default=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:c;if(t!==c&&(c=o({},c,{},t)),"undefined"==typeof window)return console.warn(a),{elements:u,disable:m,enable:g};if(!window.IntersectionObserver)throw h(),Error(s);return d()?h():g(),{elements:u,disable:m,enable:g}}},function(t,e,n){}]).default},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},6305:function(t,e,n){var r=n(3738).default;function o(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(o=function(t){return t?n:e})(t)}t.exports=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=r(t)&&"function"!=typeof t)return{default:t};var n=o(e);if(n&&n.has(t))return n.get(t);var i={__proto__:null},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in t)if("default"!==s&&{}.hasOwnProperty.call(t,s)){var c=a?Object.getOwnPropertyDescriptor(t,s):null;c&&(c.get||c.set)?Object.defineProperty(i,s,c):i[s]=t[s]}return i.default=t,n&&n.set(t,i),i},t.exports.__esModule=!0,t.exports.default=t.exports},4893:function(t){t.exports=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)n=i[r],e.indexOf(n)>=0||(o[n]=t[n]);return o},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},3738:function(t){function e(n){return t.exports=e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},4656:function(t,e){"use strict";
2Object.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);')},7387:function(t,e,n){"use strict";n.d(e,{A:function(){return o}});var r=n(3662);function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,(0,r.A)(t,e)}},3662: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)}n.d(e,{A:function(){return r}})},4506:function(t,e,n){"use strict";function r(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new 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=Object.prototype.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 K},Match:function(){return tt},Redirect:function(){return P},Router:function(){return st},ServerLocation:function(){return Z},createHistory:function(){return l},createMemorySource:function(){return p},globalHistory:function(){return d},insertParams:function(){return x},isRedirect:function(){return _},match:function(){return O},navigate:function(){return f},pick:function(){return C},redirectTo:function(){return E},resolve:function(){return k},shallowCompare:function(){return U},startsWith:function(){return S},useBaseContext:function(){return y},useLocation:function(){return ut},useLocationContext:function(){return b},useMatch:function(){return ht},useNavigate:function(){return lt},useParams:function(){return pt},validateRedirect:function(){return T}});var o=n(6540),i=n(5556),a=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={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}const u=t=>{const{search:e,hash:n,href:r,origin:o,protocol:i,host:a,hostname:s,port:c}=t.location;let{pathname:u}=t.location;return!u&&r&&h&&(u=new URL(r).pathname),{pathname:encodeURI(decodeURI(u)),search:e,hash:n,href:r,origin:o,protocol:i,host:a,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,i=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,i()},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:a,replace:c=!1}={}){if("number"==typeof e)t.history.go(e);else{a=s({},a,{key:Date.now()+""});try{o||c?t.history.replaceState(a,null,e):t.history.pushState(a,null,e)}catch(n){t.location[c?"replace":"assign"](e)}}r=u(t),o=!0;const l=new Promise((t=>i=t));
2return 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],i=[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 i[r]},pushState(t,e,n){const[a,s=""]=n.split("?");r++,o.push({pathname:a,search:s.length?`?${s}`:s}),i.push(t)},replaceState(t,e,n){const[a,s=""]=n.split("?");o[r]={pathname:a,search:s},i[r]=t},go(t){const e=r+t;e<0||e>i.length-1||(r=e)}}}},h=!("undefined"==typeof window||!window.document||!window.document.createElement),d=l(h?window:p()),{navigate:f}=d;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 _=t=>t instanceof w,E=t=>{throw new w(t)};function R(t){const{to:e,replace:n=!0,state:r,noThrow:i,baseuri:a}=t;o.useEffect((()=>{Promise.resolve().then((()=>{const o=k(e,a);f(x(o,t),{replace:n,state:r})}))}),[]);const s=k(e,a);return i||E(x(s,t)),null}const P=t=>{const e=b(),{baseuri:n}=y();return o.createElement(R,s({},e,{baseuri:n},t))};P.propTypes={from:i.string,to:i.string.isRequired};const S=(t,e)=>t.substr(0,e.length)===e,C=(t,e)=>{let n,r;const[o]=e.split("?"),i=A(o),s=""===i[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=A(o.path),p={},h=Math.max(i.length,l.length);let d=0;for(;d<h;d++){const e=l[d],n=i[d];if(D(e)){p[e.slice(1)||"*"]=i.slice(d).map(decodeURIComponent).join("/");break}if(void 0===n){t=!0;break}const r=j.exec(e);if(r&&!s){const t=-1===H.indexOf(r[1]);a(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:"/"+i.slice(0,d).join("/")};break}}return n||r||null},O=(t,e)=>C([{path:t}],e),k=(t,e)=>{if(S(t,"/"))return t;const[n,r]=t.split("?"),[o]=e.split("?"),i=A(n),a=A(o);if(""===i[0])return L(o,r);if(!S(i[0],".")){const t=a.concat(i).join("/");return L(("/"===o?"":"/")+t,r)}const s=a.concat(i),c=[];for(let u=0,l=s.length;u<l;u++){const t=s[u];".."===t?c.pop():"."!==t&&c.push(t)}return L("/"+c.join("/"),r)},x=(t,e)=>{const[n,r=""]=t.split("?");let o="/"+A(n).map((t=>{const n=j.exec(t);return n?e[n[1]]:t})).join("/");const{location:{search:i=""}={}}=e,a=i.split("?")[1]||"";return o=L(o,r,a),o},T=(t,e)=>{const n=t=>N(t);return A(t).filter(n).sort().join("/")===A(e).filter(n).sort().join("/")},j=/^:(.+)/,N=t=>j.test(t),D=t=>t&&"*"===t[0],I=(t,e)=>({route:t,score:t.default?0:A(t.path).reduce(((t,e)=>(t+=4,(t=>""===t)(e)?t+=1:N(e)?t+=2:D(e)?t-=5:t+=3,t)),0),index:e}),M=t=>t.map(I).sort(((t,e)=>t.score<e.score?1:t.score>e.score?-1:t.index-e.index)),A=t=>t.replace(/(^\/+|\/+$)/g,"").split("/"),L=(t,...e)=>t+((e=e.filter((t=>t&&t.length>0)))&&e.length>0?`?${e.join("&")}`:""),H=["uri","path"],U=(t,e)=>{const n=Object.keys(t);return n.length===Object.keys(e).length&&n.every((n=>e.hasOwnProperty(n)&&t[n]===e[n]))},W=t=>t.replace(/(^\/+|\/+$)/g,""),q=t=>e=>{if(!e)return null;if(e.type===o.Fragment&&e.props.children)return o.Children.map(e.props.children,q(t));if(a(e.props.path||e.props.default||e.type===P,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${e.type}\``),a(!!(e.type!==P||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>.`),a(!(e.type===P&&!T(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===P?e.props.from:e.props.path,r="/"===n?t:`${W(t)}/${W(n)}`;return{value:e,default:e.props.default,path:e.props.children?`${W(r)}/*`:r}},F=["innerRef"],J=["to","state","replace","getProps"],$=["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,F);const{baseuri:i}=y(),{location:a}=b(),{to:u,state:l,replace:p,getProps:h=B}=r,d=c(r,J),m=k(u,i),g=encodeURI(m),v=a.pathname===g,w=S(a.pathname,g);return o.createElement("a",s({ref:e||n,"aria-current":v?"page":void 0},d,h({isCurrent:v,isPartiallyCurrent:w,href:m,location:a}),{href:m,onClick:t=>{if(d.onClick&&d.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({},a.state),$);e=U(s({},l),t)}f(m,{state:l,replace:e})}}}))}));G.displayName="Link",G.propTypes={to:i.string.isRequired};class V extends o.Component{constructor(...t){super(...t),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...t){this.setState({}),this.props.onError(...t)}render(){return this.props.children}}const X=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function z({children:t}){const[e,n]=o.useState(),r=o.useRef(),i=o.useMemo((()=>({componentDidCatch:r,error:e,setError:n})),[e]);return o.createElement(X.Provider,{value:i},o.createElement(V,{error:e,onError:(t,e)=>{n(t),null==r.current||r.current(t,e)}},t))}z.displayName="ReactUseErrorBoundaryContext";const K=function(t){var e,n;function r(e){return o.createElement(z,null,o.createElement(t,s({ke
2y:"WrappedComponent"},e)))}return r.displayName=`WithErrorBoundary(${null!=(e=null!=(n=t.displayName)?n:t.name)?e:"Component"})`,r}((({history:t=d,children:e})=>{const{location:n}=t,[r,i]=o.useState({location:n}),[a]=function(t){const e=o.useContext(X);e.componentDidCatch.current=void 0;const n=o.useCallback((()=>{e.setError(void 0)}),[]);return[e.error,n]}();if(o.useEffect((()=>{t._onTransitionComplete()}),[r.location]),o.useEffect((()=>{let e=!1;const n=t.listen((({location:t})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{e||i({location:t})}))}))}));return()=>{e=!0,n()}}),[]),a){if(!_(a))throw a;f(a.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(K,null,t)},Z=({url:t,children:e})=>{const n=t.indexOf("?");let r,i="";return n>-1?(r=t.substring(0,n),i=t.substring(n)):r=t,o.createElement(v.Provider,{value:{location:{pathname:r,search:i,hash:""}}},e)},tt=({path:t,children:e})=>{const{baseuri:n}=y(),{location:r}=b(),o=k(t,n),i=O(o,r.pathname);return e({location:r,match:i?s({},i.params,{uri:i.uri,path:t}):null})},et=["uri","location","component"],nt=["children","style","component","uri","location"],rt=t=>{let{uri:e,location:n,component:r}=t,i=c(t,et);return o.createElement(it,s({},i,{component:r,uri:e,location:n}))};let ot=0;const it=t=>{let{children:e,style:n,component:r="div",uri:i,location:a}=t,u=c(t,nt);const l=o.useRef(),p=o.useRef(!0),h=o.useRef(i),d=o.useRef(a.pathname),f=o.useRef(!1);o.useEffect((()=>(ot++,m(),()=>{ot--,0===ot&&(p.current=!0)})),[]),o.useEffect((()=>{let t=!1,e=!1;i!==h.current&&(h.current=i,t=!0),a.pathname!==d.current&&(d.current=a.pathname,e=!0),f.current=t||e&&a.pathname===i,f.current&&m()}),[i,a]);const m=o.useCallback((()=>{var t;p.current?p.current=!1:(t=l.current,f.current&&t&&t.focus())}),[]);return o.createElement(r,s({style:s({outline:"none"},n),tabIndex:"-1",ref:l},u),e)},at=["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:i,component:a="div"}=t,u=c(t,at),l=o.Children.toArray(r).reduce(((t,e)=>{const n=q(i)(e);return t.concat(n)}),[]),{pathname:p}=e,h=C(l,p);if(h){const{params:t,uri:r,route:c,route:{value:l}}=h,p=c.default?i:c.path.replace(/\*$/,""),d=s({},t,{uri:r,location:e}),f=o.cloneElement(l,d,l.props.children?o.createElement(st,{location:e,primary:n},l.props.children):void 0),m=n?rt:a,v=n?s({uri:r,location:e,component:a},u):u;return o.createElement(g.Provider,{value:{baseuri:r,basepath:p}},o.createElement(m,v,f))}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=O(t.basepath,e.pathname);return n?n.params:null},ht=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=k(t,e.baseuri),o=O(r,n.pathname);return o?s({},o.params,{uri:o.uri,path:t}):null}},7078:function(t,e,n){"use strict";n.d(e,{Fe:function(){return d},N_:function(){return E},Rr:function(){return c},Zf:function(){return y},oo:function(){return R}});var r=n(5556),o=n(6540),i=n(6462),a=n(6395);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 i=e.indexOf("?");return-1!==i&&(n=e.slice(i),e=e.slice(0,i)),{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)},p=()=>"",h=()=>"";function d(t,e=p()){var n;if(!l(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;const r=null!=(n=null!=e?e:h())?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 m(t,e){const{pathname:n,search:r,hash:o}=c(t);return`${(0,a.T)(n,e)}${r}${o}`}const g=(t,e)=>"number"==typeof t?t:l(t)?f(t)?function(t){const e=d(t),n="always";return m(e,n)}(t):function(t,e){if(f(t))return t;const n="always",r=(0,i.resolve)(t,e);return m(r,n)}(t,e):t,v=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function y(t){return d(t,h())}const b={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(t){return o.createElement(i.Location,null,(({location:e})=>o.createElement(_,s({},t,{_location:e}))))}class _ 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(
2Boolean).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(g(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:a,state:u,replace:p,_location:h}=t,d=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}(t,v),f=g(e,h.pathname);return l(f)?o.createElement(i.Link,s({to:f,state:u,getProps:n,innerRef:this.handleRef,onMouseEnter:t=>{a&&a(t);const e=c(f);___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(f)===h.pathname;"boolean"!=typeof p&&n&&(e=!0),window.___navigate(f,{state:u,replace:e})}return!0}},d)):o.createElement("a",s({href:f},d))}}_.propTypes=s({},b,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const E=o.forwardRef(((t,e)=>o.createElement(w,s({innerRef:e},t)))),R=(t,e)=>{window.___navigate(g(t,window.location.pathname),e)}},5535:function(t,e,n){"use strict";n.r(e),n.d(e,{Script:function(){return f},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return h},scriptCallbackCache:function(){return d}});var r=n(6540),o=n(6462);function i(){return i=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},i.apply(this,arguments)}const a=new Map,s={get:t=>a.get(t)||[],set(t,e){const n=a.get(t)||[];n.push(e),a.set(t,n)},delete(t){a.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"]),h=new Set,d=new Map;function f(t){return r.createElement(o.Location,null,(()=>r.createElement(m,t)))}function m(t){const{src:e,strategy:n=u.postHydrate}=t||{},{pathname:a}=(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(a,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(a,c),r.createElement("script",o?i({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:v(t)}}):i({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:a}=t||{},s=e||n,c=["load","error"],l={load:o,error:a};if(s){for(const t of c)if(null!=l&&l[t]){var p;const e=d.get(s)||{},{callbacks:n=[]}=(null==e?void 0:e[t])||{};var f,m;n.push(null==l?void 0:l[t]),null!=e&&null!=(p=e[t])&&p.event?null==l||null==(f=l[t])||f.call(l,null==e||null==(m
2=e[t])?void 0:m.event):d.set(s,i({},e,{[t]:{callbacks:n}}))}if(h.has(s))return null}const g=v(t),b=y(t),_=document.createElement("script");e&&(_.id=e),_.dataset.strategy=r;for(const[i,u]of Object.entries(b))_.setAttribute(i,u);g&&(_.textContent=g),n&&(_.src=n);const E={};if(s){for(const t of c){const e=e=>w(e,s,t);_.addEventListener(t,e),E[`${t}Callback`]=e}h.add(s)}return document.body.appendChild(_),{script:_,loadCallback:E.loadCallback,errorCallback:E.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=d.get(e)||{};for(const i of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;i(t)}d.set(e,{[n]:{event:t}})}}},function(t){t.O(0,[869,593],(function(){return e=6498,t(t.s=e);var e}));t.O()}]);
3//# sourceMappingURL=app-34616ae1ca92dfa684a9.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.