(self.webpackChunkphaeria_dev=self.webpackChunkphaeria_dev||[]).push([[524],{3325:function(t,e){"use strict";var n=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,l=c.replace,p=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{u=n({},u,{key:Date.now()+""});try{i||p?t.history.replaceState(u,null,e):t.history.pushState(u,null,e)}catch(d){t.location[p?"replace":"assign"](e)}}a=r(t),i=!0;var f=new Promise((function(t){return s=t}));return o.forEach((function(t){return t({location:a,action:"PUSH"})})),f}}},a=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},i=!("undefined"==typeof window||!window.document||!window.document.createElement),s=o(i?window:a()),c=s.navigate;e.W7=s},7900:function(t,e,n){"use strict";e.__esModule=!0,e.shallowCompare=e.validateRedirect=e.insertParams=e.resolve=e.match=e.pick=e.startsWith=void 0;var r,o=n(311),a=(r=o)&&r.__esModule?r:{default:r};var i=function(t,e){return t.substr(0,e.length)===e},s=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],i=d(o),s=""===i[0],u=f(t),p=0,h=u.length;pe.score?-1:t.index-e.index}))},d=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},h=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r0})))&&n.length>0?"?"+n.join("&"):"")},v=["uri","path"];e.startsWith=i,e.pick=s,e.match=function(t,e){return s([{path:t}],e)},e.resolve=function(t,e){if(i(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],a=e.split("?")[0],s=d(r),c=d(a);if(""===s[0])return h(a,o);if(!i(s[0],".")){var u=c.concat(s).join("/");return h(("/"===a?"":"/")+u,o)}for(var l=c.concat(s),p=[],f=0,v=l.length;f{if("string"!=typeof t&&!Array.isArray(t))throw new TypeError("Expected the input to be `string | string[]`");e=Object.assign({pascalCase:!1},e);if(t=Array.isArray(t)?t.map((t=>t.trim())).filter((t=>t.length)).join("-"):t.trim(),0===t.length)return"";if(1===t.length)return e.pascalCase?t.toUpperCase():t.toLowerCase();return t!==t.toLowerCase()&&(t=(t=>{let e=!1,n=!1,r=!1;for(let o=0;oe.toUpperCase())).replace(/\d+(\w|$)/g,(t=>t.toUpperCase())),n=t,e.pascalCase?n.charAt(0).toUpperCase()+n.slice(1):n;var n};t.exports=e,t.exports.default=e},2818:function(){"use strict";var t,e,n=function(){function t(t,e){for(var n=0;n1?n-1:0),o=1;o0&&Array.isArray(r[0])&&(r=r[0]),this.transformers=r.map((function(t){return"function"==typeof t?t():t})),this.tag}return n(t,[{key:"interimTag",value:function(t,e){for(var n=arguments.length,o=Array(n>2?n-2:0),a=2;a0&&void 0!==arguments[0]?arguments[0]:i;return{onSubstitution:function(e,n){if(Array.isArray(e)){var r=e.length,o=t.separator,a=t.conjunction,i=t.serial,s=n.match(/(\n?[^\S\n]+)$/);if(e=s?e.join(o+s[1]):e.join(o+" "),a&&r>1){var c=e.lastIndexOf(o);e=e.slice(0,c)+(i?o:"")+" "+a+e.slice(c+1)}}return e}}};var c=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"initial";return{onEndResult:function(e){if("initial"===t){var n=e.match(/^[^\S\n]*(?=\S)/gm),r=n&&Math.min.apply(Math,function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e0&&void 0!==arguments[0]?arguments[0]:"";return{onEndResult:function(e){if(""===t)return e.trim();if("start"===(t=t.toLowerCase())||"left"===t)return e.replace(/^\s*/,"");if("end"===t||"right"===t)return e.replace(/\s*$/,"");throw new Error("Side not supported: "+t)}}},l=(new a(s({separator:","}),c,u),new a(s({separator:",",conjunction:"and"}),c,u),new a(s({separator:",",conjunction:"or"}),c,u),function(t){return{onSubstitution:function(e,n){if(null==t||"string"!=typeof t)throw new Error("You need to specify a string character to split by.");return"string"==typeof e&&e.includes(t)&&(e=e.split(t)),e}}}),p=function(t){return null!=t&&!Number.isNaN(t)&&"boolean"!=typeof t},f=function(){return{onSubstitution:function(t){return Array.isArray(t)?t.filter(p):p(t)?t:""}}},d=(new a(l("\n"),f,s,c,u),function(t,e){return{onSubstitution:function(n,r){if(null==t||null==e)throw new Error("replaceSubstitutionTransformer requires at least 2 arguments.");return null==n?n:n.toString().replace(t,e)}}}),h=(new a(l("\n"),s,c,u,d(/&/g,"&"),d(//g,">"),d(/"/g,"""),d(/'/g,"'"),d(/`/g,"`")),function(t,e){return{onEndResult:function(n){if(null==t||null==e)throw new Error("replaceResultTransformer requires at least 2 arguments.");return n.replace(t,e)}}});new a(h(/(?:\n(?:\s*))+/g," "),u),new a(h(/(?:\n\s*)/g,""),u),new a(s({separator:","}),h(/(?:\s+)/g," "),u),new a(s({separator:",",conjunction:"or"}),h(/(?:\s+)/g," "),u),new a(s({separator:",",conjunction:"and"}),h(/(?:\s+)/g," "),u),new a(s,c,u),new a(s,h(/(?:\s+)/g," "),u),new a(c,u),new a(c("all"),u)},7325:function(t){"use strict";t.exports=Object.assign},2149:function(t){!function(){"use strict";t.exports={polyfill:function(){var t=window,e=document;if(!("scrollBehavior"in e.documentElement.style)||!0===t.__forceSmoothScrollPolyfill__){var n,r=t.HTMLElement||t.Element,o={scroll:t.scroll||t.scrollTo,scrollBy:t.scrollBy,elementScroll:r.prototype.scroll||s,scrollIntoView:r.prototype.scrollIntoView},a=t.performance&&t.performance.now?t.performance.now.bind(t.performance):Date.now,i=(n=t.navigator.userAgent,new RegExp(["MSIE ","Trident/","Edge/"].join("|")).test(n)?1:0);t.scroll=t.scrollTo=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?d.call(t,e.body,void 0!==arguments[0].left?~~arguments[0].left:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:t.scrollY||t.pageYOffset):o.scroll.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:t.scrollX||t.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:t.scrollY||t.pageYOffset))},t.scrollBy=function(){void 0!==arguments[0]&&(c(arguments[0])?o.scrollBy.call(t,void 0!==arguments[0].left?arguments[0].left:"object"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):d.call(t,e.body,~~arguments[0].left+(t.scrollX||t.pageXOffset),~~arguments[0].top+(t.scrollY||t.pageYOffset)))},r.prototype.scroll=r.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==c(arguments[0])){var t=arguments[0].left,e=arguments[0].top;d.call(this,this,void 0===t?this.scrollLeft:~~t,void 0===e?this.scrollTop:~~e)}else{if("number"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError("Value could not be converted");o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:"object"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},r.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==c(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):o.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},r.prototype.scrollIntoView=function(){if(!0!==c(arguments[0])){var n=function(t){for(;t!==e.body&&!1===p(t);)t=t.parentNode||t.host;return t}(this),r=n.getBoundingClientRect(),a=this.getBoundingClientRect();n!==e.body?(d.call(this,n,n.scrollLeft+a.left-r.left,n.scrollTop+a.top-r.top),"fixed"!==t.getComputedStyle(n).position&&t.scrollBy({left:r.left,top:r.top,behavior:"smooth"})):t.scrollBy({left:a.left,top:a.top,behavior:"smooth"})}else o.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function s(t,e){this.scrollLeft=t,this.scrollTop=e}function c(t){if(null===t||"object"!=typeof t||void 0===t.behavior||"auto"===t.behavior||"instant"===t.behavior)return!0;if("object"==typeof t&&"smooth"===t.behavior)return!1;throw new TypeError("behavior member of ScrollOptions "+t.behavior+" is not a valid value for enumeration ScrollBehavior.")}function u(t,e){return"Y"===e?t.clientHeight+i1?1:s,n=.5*(1-Math.cos(Math.PI*i)),r=e.startX+(e.x-e.startX)*n,o=e.startY+(e.y-e.startY)*n,e.method.call(e.scrollable,r,o),r===e.x&&o===e.y||t.requestAnimationFrame(f.bind(t,e))}function d(n,r,i){var c,u,l,p,d=a();n===e.body?(c=t,u=t.scrollX||t.pageXOffset,l=t.scrollY||t.pageYOffset,p=o.scroll):(c=n,u=n.scrollLeft,l=n.scrollTop,p=s),f({scrollable:c,method:p,startTime:d,startX:u,startY:l,x:r,y:i})}}}}()},7424:function(t,e,n){"use strict";var r=n(4994);e.Fe=v,e.Zf=function(t){return v(t,m())},e.oo=e.Ay=void 0;var o=r(n(4893)),a=r(n(2475)),i=r(n(6221)),s=r(n(4634)),c=r(n(5556)),u=r(n(6540)),l=n(5702),p=n(7900),f=n(2323);e.Rr=f.parsePath;var d=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"],h=function(t){return null==t?void 0:t.startsWith("/")};function v(t,e){var n,r;if(void 0===e&&(e=g()),!y(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;var o=null!==(n=null!==(r=e)&&void 0!==r?r:m())&&void 0!==n?n:"/";return""+(null!=o&&o.endsWith("/")?o.slice(0,-1):o)+(t.startsWith("/")?t:"/"+t)}var m=function(){return""},g=function(){return""},y=function(t){return t&&!t.startsWith("http://")&&!t.startsWith("https://")&&!t.startsWith("//")};var w=function(t,e){return"number"==typeof t?t:y(t)?h(t)?v(t):function(t,e){return h(t)?t:(0,p.resolve)(t,e)}(t,e):t},b={activeClassName:c.default.string,activeStyle:c.default.object,partiallyActive:c.default.bool};function E(t){return u.default.createElement(l.Location,null,(function(e){var n=e.location;return u.default.createElement(S,(0,s.default)({},t,{_location:n}))}))}var S=function(t){function e(e){var n;(n=t.call(this,e)||this).defaultGetProps=function(t){var e=t.isPartiallyCurrent,r=t.isCurrent;return(n.props.partiallyActive?e:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:(0,s.default)({},n.props.style,n.props.activeStyle)}:null};var r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.handleRef=n.handleRef.bind((0,a.default)(n)),n}(0,i.default)(e,t);var n=e.prototype;return n._prefetch=function(){var t=window.location.pathname;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname);var e=w(this.props.to,t),n=(0,f.parsePath)(e).pathname;t!==n&&___loader.enqueue(n)},n.componentDidUpdate=function(t,e){this.props.to===t.to||this.state.IOSupported||this._prefetch()},n.componentDidMount=function(){this.state.IOSupported||this._prefetch()},n.componentWillUnmount=function(){if(this.io){var t=this.io,e=t.instance,n=t.el;e.unobserve(n),e.disconnect()}},n.handleRef=function(t){var e,n,r,o=this;this.props.innerRef&&this.props.innerRef.hasOwnProperty("current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=(e=t,n=function(){o._prefetch()},(r=new window.IntersectionObserver((function(t){t.forEach((function(t){e===t.target&&(t.isIntersecting||t.intersectionRatio>0)&&(r.unobserve(e),r.disconnect(),n())}))}))).observe(e),{instance:r,el:e}))},n.render=function(){var t=this,e=this.props,n=e.to,r=e.getProps,a=void 0===r?this.defaultGetProps:r,i=e.onClick,c=e.onMouseEnter,p=(e.activeClassName,e.activeStyle,e.innerRef,e.partiallyActive,e.state),h=e.replace,v=e._location,m=(0,o.default)(e,d);var g=w(n,v.pathname);return y(g)?u.default.createElement(l.Link,(0,s.default)({to:g,state:p,getProps:a,innerRef:this.handleRef,onMouseEnter:function(t){c&&c(t),___loader.hovering((0,f.parsePath)(g).pathname)},onClick:function(e){if(i&&i(e),!(0!==e.button||t.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();var n=h,r=encodeURI(g)===v.pathname;"boolean"!=typeof h&&r&&(n=!0),window.___navigate(g,{state:p,replace:n})}return!0}},m)):u.default.createElement("a",(0,s.default)({href:g},m))},e}(u.default.Component);S.propTypes=(0,s.default)({},b,{onClick:c.default.func,to:c.default.string.isRequired,replace:c.default.bool,state:c.default.object});var P=u.default.forwardRef((function(t,e){return u.default.createElement(E,(0,s.default)({innerRef:e},t))}));e.Ay=P;e.oo=function(t,e){window.___navigate(w(t,window.location.pathname),e)}},2323:function(t,e){"use strict";e.__esModule=!0,e.parsePath=function(t){var e=t||"/",n="",r="",o=e.indexOf("#");-1!==o&&(r=e.substr(o),e=e.substr(0,o));var a=e.indexOf("?");-1!==a&&(n=e.substr(a),e=e.substr(0,a));return{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}},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)),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;an.e(125).then(n.bind(n,7412)),"component---src-pages-index-js":()=>Promise.all([n.e(869),n.e(379),n.e(602),n.e(293)]).then(n.bind(n,7700))}},3122:function(t,e,n){t.exports=[{plugin:n(7193),options:{plugins:[]}},{plugin:n(2461),options:{plugins:[]}},{plugin:n(5795),options:{plugins:[],icon:"src/assets/logo.svg",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"66f6a6a12df2192f539e38c30cccf031"}},{plugin:n(3921),options:{plugins:[],trackingIds:["G-YC083NH1SL"],gtagConfig:{anonymize_ip:!0,cookie_expires:0},pluginConfig:{head:!0,respectDNT:!0}}},{plugin:n(7789),options:{plugins:[],siteUrl:"https://southportoldlinksgolfclub.co.uk",stripQueryString:!0}}]},6883:function(t,e,n){const r=n(3122),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=n(1014).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())},1302: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)}))}}}()},9310:function(t,e,n){"use strict";n.d(e,{Yl:function(){return f},Hh:function(){return h},UA:function(){return d},QX:function(){return p}});var r=n(7900),o=n(9986),a=t=>void 0===t?t:"/"===t?"/":"/"===t.charAt(t.length-1)?t.slice(0,-1):t,i=n(4109);const s=new Map;let c=[];const u=t=>{const e=decodeURIComponent(t);return(0,o.A)(e,decodeURIComponent("")).split("#")[0].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=v(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},d=t=>{const e=v(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:{}},h=t=>{const e=u(l(t));if(s.has(e))return s.get(e);const n=(0,i.X)(t);if(n)return h(n.toPath);let r=f(e);return r||(r=v(t)),s.set(e,r),r},v=t=>{let e=u(l(t));return"/index.html"===e&&(e="/"),e=a(e),e}},1015:function(t,e,n){"use strict";n.r(e),n.d(e,{Link:function(){return o.Ay},PageRenderer:function(){return s.a},StaticQuery:function(){return p},StaticQueryContext:function(){return u},graphql:function(){return d},navigate:function(){return o.oo},parsePath:function(){return o.Rr},prefetchPathname:function(){return c},useScrollRestoration:function(){return a.RV},useStaticQuery:function(){return f},withAssetPrefix:function(){return o.Zf},withPrefix:function(){return o.Fe}});var r=n(6540),o=n(7424),a=n(7035),i=n(1098),s=n.n(i);const c=n(1014).Ay.enqueue,u=r.createContext({});function l(t){let{staticQueryData:e,data:n,query:o,render:a}=t;const i=n?n.data:e[o]&&e[o].data;return r.createElement(r.Fragment,null,i&&a(i),!i&&r.createElement("div",null,"Loading (StaticQuery)"))}const p=t=>{const{data:e,query:n,render:o,children:a}=t;return r.createElement(u.Consumer,null,(t=>r.createElement(l,{data:e,query:n,render:o||a,staticQueryData:t})))},f=t=>{var e;r.useContext;const n=r.useContext(u);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")};function d(){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.")}},1014:function(t,e,n){"use strict";n.d(e,{Wi:function(){return p},N5:function(){return w},Ay:function(){return S},LE:function(){return P},Zf:function(){return E},iC:function(){return b}});var r=n(5540);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n{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(1302),l=n(9310);const p={Error:"error",Success:"success"},f=t=>t&&t.default||t,d=t=>`/page-data/${"/"===t?"index":(t=>(t="/"===t[0]?t.slice(1):t).endsWith("/")?t.slice(0,-1):t)(t)}/page-data.json`;function h(t,e){return void 0===e&&(e="GET"),new Promise(((n,r)=>{const o=new XMLHttpRequest;o.open(e,t,!0),o.onreadystatechange=()=>{4==o.readyState&&n(o)},o.send(null)}))}const v=function(t,e){void 0===e&&(e=null);const n={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes};return{component:e,json:t.result,page:n}};let m=function(){function t(t,e){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=t,(0,l.QX)(e)}var e=t.prototype;return e.memoizedGet=function(t){let e=this.inFlightNetworkRequests.get(t);return e||(e=h(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=d(e);return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{const e=JSON.parse(a);if(void 0===e.path)throw new Error("not a valid pageData response");return Object.assign(t,{status:p.Success,payload:e})}catch(i){}return 404===o||200===o?"/404.html"===e?Object.assign(t,{status:p.Error}):this.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===o?Object.assign(t,{status:p.Error}):n<3?this.fetchPageDataJson(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.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?{error:t.error,status:t.status}:Promise.resolve(t.payload)}if(this.inFlightDb.has(e))return this.inFlightDb.get(e);const n=Promise.all([this.loadAppData(),this.loadPageDataJson(e)]).then((t=>{const n=t[1];if(n.status===p.Error)return{status:p.Error};let r=n.payload;const{componentChunkName:o,staticQueryHashes:a=[]}=r,i={},s=this.loadComponent(o).then((e=>{let o;return i.createdAt=new Date,!e||e instanceof Error?(i.status=p.Error,i.error=e):(i.status=p.Success,!0===n.notFound&&(i.notFound=!0),r=Object.assign(r,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),o=v(r,e)),o})),c=Promise.all(a.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([s,c]).then((t=>{let n,[r,o]=t;return r&&(n={...r,staticQueryResults:o},i.payload=n,u.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(e,i),i.error?{error:i.error,status:i.status}:n})).catch((t=>({error:t,status:p.Error})))}));return n.then((()=>{this.inFlightDb.delete(e)})).catch((t=>{throw this.inFlightDb.delete(e),t})),this.inFlightDb.set(e,n),n},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})()&&!this.pageDb.has(t)},e.prefetch=function(t){if(!this.shouldPrefetch(t))return!1;if(this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled)return!1;const e=(0,l.Hh)(t);return this.doPrefetch(e).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t))})),!0},e.doPrefetch=function(t){const e=d(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=v(n.payload);return[].concat(a(g(t.page.componentChunkName)),[d(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 g=t=>(window.___chunkMapping[t]||[]).map((t=>""+t));let y,w=function(t){function e(e,n,r){var o;return o=t.call(this,(t=>{if(!e.components[t])throw new Error(`We couldn't find the correct component chunk with the name ${t}`);return e.components[t]().then(f).catch((t=>t))}),n)||this,r&&o.pageDataDb.set(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=g(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,"HEAD").then((e=>200===e.status?{status:p.Error}:t)):t))},e}(m);const b=t=>{y=t},E={enqueue:t=>y.prefetch(t),getResourceURLsForPathname:t=>y.getResourceURLsForPathname(t),loadPage:t=>y.loadPage(t),loadPageSync:function(t,e){return void 0===e&&(e={}),y.loadPageSync(t,e)},prefetch:t=>y.prefetch(t),isPageNotFound:t=>y.isPageNotFound(t),hovering:t=>y.hovering(t),loadAppData:()=>y.loadAppData()};var S=E;function P(){return y?y.staticQueryDb:{}}},694:function(t,e,n){"use strict";var r=n(5540),o=n(6540),a=n(6883),i=n(9310);let s=function(t){function e(){return t.apply(this,arguments)||this}return(0,r.A)(e,t),e.prototype.render=function(){const t={...this.props,params:{...(0,i.UA)(this.props.location.pathname),...this.props.pageResources.json.pageContext.__params}},e=(0,o.createElement)(this.props.pageResources.component,{...t,key:this.props.path||this.props.pageResources.page.path});return(0,a.N)("wrapPageElement",{element:e,props:t},e,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()},e}(o.Component);e.A=s},6838:function(t,e,n){"use strict";var r=n(5540),o=n(6883),a=n(6540),i=n(961),s=n(5702),c=n(7035),u=n(1015),l=n(1014),p=n(4109),f=n(1302);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 h=n(3325),v=n(7424);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 y=(t,e)=>{m(t.pathname)||(g=t.pathname,(0,o.N)("onPreRouteUpdate",{location:t,prevLocation:e}))},w=(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 h.W7.navigate(t);const{pathname:n,search:r,hash:a}=(0,v.Rr)(t),i=(0,p.X)(n);if(i&&(t=i.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).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,s.navigate)(t,e),clearTimeout(c)}))};function E(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 S=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({},d,{ref:this.announcementRef}))},e}(a.Component);const P=(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,y(e.location,null),n}(0,r.A)(e,t);var n=e.prototype;return n.componentDidMount=function(){w(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!P(t.location,this.props.location)&&(y(this.props.location,t.location),!0)},n.componentDidUpdate=function(t){P(t.location,this.props.location)&&w(this.props.location,t.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(S,{location:location}))},e}(a.Component);var _=n(694),C=n(9576);function k(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:{...r},pageResources:o||l.Ay.loadPageSync(r.pathname,{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,{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||(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 k(t.props,e)||k(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname),!1)},n.render=function(){return this.props.children(this.state)},e}(a.Component),O=n(9986);const L=new l.N5(C,[],window.pageData);(0,l.iC)(L),L.setApiRunner(o.N),window.asyncRequires=C,window.___emitter=f.A,window.___loader=l.Zf,h.W7.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),m(window.location.pathname),(0,o.v)("onClientEntry").then((()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(3459);const t=t=>a.createElement(s.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(_.A,t)),e=a.createContext({});let p=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(s.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)();return a.createElement(u.StaticQueryContext.Provider,{value:i},a.createElement(e.Provider,{value:{pageResources:r,location:o}},t))}))}))},n}(a.Component),f=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(R,{location:r},a.createElement(c.z_,{location:r,shouldUpdateScroll:E},a.createElement(s.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},a.createElement(t,Object.assign({path:"/404.html"===n.page.path?(0,O.A)(r.pathname,""):encodeURI(n.page.matchPath||n.page.path)},this.props,{location:r,pageResources:n},n.json)))))}))},o}(a.Component);const{pagePath:d,location:h}=window;d&&""+d!==h.pathname&&!(L.findMatchPath((0,O.A)(h.pathname,""))||"/404.html"===d||d.match(/^\/404\/?$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,s.navigate)(""+d+h.search+h.hash,{replace:!0}),l.Zf.loadPage(h.pathname).then((t=>{if(!t||t.status===l.Wi.Error){const e=`page resources for ${h.pathname} not found. Not rendering React`;if(t&&t.error)throw console.error(e),t.error;throw new Error(e)}window.___webpackCompilationHash=t.page.webpackCompilationHash;const e=(0,o.N)("wrapRootElement",{element:a.createElement(f,null)},a.createElement(f,null),(t=>{let{result:e}=t;return{element:e}})).pop(),n=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(p,null,e)},r=(0,o.N)("replaceHydrateFunction",void 0,i.hydrateRoot?i.hydrateRoot:i.hydrate)[0];function s(){const t="undefined"!=typeof window?document.getElementById("___gatsby"):null;r===i.hydrateRoot?r(t,a.createElement(n,null)):r(a.createElement(n,null),t)}const c=document;if("complete"===c.readyState||"loading"!==c.readyState&&!c.documentElement.doScroll)setTimeout((function(){s()}),0);else{const t=function(){c.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),s()};c.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1)}}))}))},5706:function(t,e,n){"use strict";n.r(e);var r=n(6540),o=n(1014),a=n(694);e.default=t=>{let{location:e}=t;const n=o.Ay.loadPageSync(e.pathname);return n?r.createElement(a.A,{location:e,pageResources:n,...n.json}):null}},1098:function(t,e,n){var r;t.exports=(r=n(5706))&&r.default||r},2943:function(t,e){e.M=t=>t},4109: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)}))},3459:function(t,e,n){"use strict";n.r(e);var r=n(6883);"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)}))},9986: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}})},7789:function(t,e,n){"use strict";n.r(e),n.d(e,{onRouteUpdate:function(){return r}});const r=function(t,e){let{location:n}=t;void 0===e&&(e={stripQueryString:!1});const r=document.querySelector("link[rel='canonical']"),o=r.getAttribute("href"),a=r.getAttribute("data-baseProtocol"),i=r.getAttribute("data-baseHost");if(o&&a&&i){let t=`${a}//${i}${n.pathname}`;const{stripQueryString:o}=e;o||(t+=n.search),t+=n.hash,r.setAttribute("href",`${t}`)}}},3921:function(t,e){"use strict";e.onRouteUpdate=function(t){var e=t.location;if("function"!=typeof gtag)return null;if(e&&void 0!==window.excludeGtagPaths&&window.excludeGtagPaths.some((function(t){return t.test(e.pathname)})))return null;var n=function(){var t=e?e.pathname+e.search+e.hash:void 0;window.gtag("event","page_view",{page_path:t})};return"requestAnimationFrame"in window?requestAnimationFrame((function(){requestAnimationFrame(n)})):setTimeout(n,32),null}},3973:function(t,e,n){"use strict";n.d(e,{L:function(){return w},M:function(){return C},P:function(){return _},_:function(){return u},a:function(){return s},b:function(){return h},c:function(){return W},g:function(){return v}});var r=n(6540),o=(n(2818),n(52),n(5556)),a=n.n(o),i=n(961);function s(){return(s=Object.assign||function(t){for(var e=1;e=0||(o[n]=t[n]);return o}var l=new Set,p=function(){return"undefined"!=typeof HTMLImageElement&&"loading"in HTMLImageElement.prototype};function f(t){t&&l.add(t)}function d(t){return l.has(t)}function h(t,e,r,o,a,i,c,u){var l,p;return void 0===u&&(u={}),null!=c&&c.current&&!("objectFit"in document.documentElement.style)&&(c.current.dataset.objectFit=null!=(l=u.objectFit)?l:"cover",c.current.dataset.objectPosition=""+(null!=(p=u.objectPosition)?p:"50% 50%"),function(t){try{var e=function(){window.objectFitPolyfill(t.current)},r=function(){if(!("objectFitPolyfill"in window))return Promise.resolve(n.e(579).then(n.t.bind(n,579,23))).then((function(){}))}();Promise.resolve(r&&r.then?r.then(e):e())}catch(t){return Promise.reject(t)}}(c)),s({},r,{loading:o,shouldLoad:t,"data-main-image":"",style:s({},u,{opacity:e?1:0}),onLoad:function(t){if(!e){f(i);var n=t.currentTarget,r=new Image;r.src=n.currentSrc,r.decode?r.decode().catch((function(){})).then((function(){a(!0)})):a(!0)}},ref:c})}function v(t,e,n,r,o,a,i,c){var u={};a&&(u.backgroundColor=a,"fixed"===n?(u.width=r,u.height=o,u.backgroundColor=a,u.position="relative"):("constrained"===n||"fullWidth"===n)&&(u.position="absolute",u.top=0,u.left=0,u.bottom=0,u.right=0)),i&&(u.objectFit=i),c&&(u.objectPosition=c);var l=s({},t,{"aria-hidden":!0,"data-placeholder-image":"",style:s({opacity:e?0:1,transition:"opacity 500ms linear"},u)});return l}var m,g=["children"],y=function(t){var e=t.layout,n=t.width,o=t.height;return"fullWidth"===e?r.createElement("div",{"aria-hidden":!0,style:{paddingTop:o/n*100+"%"}}):"constrained"===e?r.createElement("div",{style:{maxWidth:n,display:"block"}},r.createElement("img",{alt:"",role:"presentation","aria-hidden":"true",src:"data:image/svg+xml;charset=utf-8,%3Csvg height='"+o+"' width='"+n+"' xmlns='http://www.w3.org/2000/svg' version='1.1'%3E%3C/svg%3E",style:{maxWidth:"100%",display:"block",position:"static"}})):null},w=function(t){var e=t.children,n=u(t,g);return r.createElement(r.Fragment,null,r.createElement(y,s({},n)),e,!1)},b=["src","srcSet","loading","alt","shouldLoad","innerRef"],E=["fallback","sources","shouldLoad"],S=function(t){var e=t.src,n=t.srcSet,o=t.loading,a=t.alt,i=void 0===a?"":a,c=t.shouldLoad,l=t.innerRef,p=u(t,b);return r.createElement("img",s({},p,{decoding:"async",loading:o,src:c?e:void 0,"data-src":c?void 0:e,srcSet:c?n:void 0,"data-srcset":c?void 0:n,alt:i,ref:l}))},P=(0,r.forwardRef)((function(t,e){var n=t.fallback,o=t.sources,a=void 0===o?[]:o,i=t.shouldLoad,c=void 0===i||i,l=u(t,E),p=l.sizes||(null==n?void 0:n.sizes),f=r.createElement(S,s({},l,n,{sizes:p,shouldLoad:c,innerRef:e}));return a.length?r.createElement("picture",null,a.map((function(t){var e=t.media,n=t.srcSet,o=t.type;return r.createElement("source",{key:e+"-"+o+"-"+n,type:o,media:e,srcSet:c?n:void 0,"data-srcset":c?void 0:n,sizes:p})})),f):f}));S.propTypes={src:o.string.isRequired,alt:o.string.isRequired,sizes:o.string,srcSet:o.string,shouldLoad:o.bool},P.displayName="Picture",P.propTypes={alt:o.string.isRequired,shouldLoad:o.bool,fallback:o.exact({src:o.string.isRequired,srcSet:o.string,sizes:o.string}),sources:o.arrayOf(o.oneOfType([o.exact({media:o.string.isRequired,type:o.string,sizes:o.string,srcSet:o.string.isRequired}),o.exact({media:o.string,type:o.string.isRequired,sizes:o.string,srcSet:o.string.isRequired})]))};var R=["fallback"],_=function(t){var e=t.fallback,n=u(t,R);return e?r.createElement(P,s({},n,{fallback:{src:e},"aria-hidden":!0,alt:""})):r.createElement("div",s({},n))};_.displayName="Placeholder",_.propTypes={fallback:o.string,sources:null==(m=P.propTypes)?void 0:m.sources,alt:function(t,e,n){return t[e]?new Error("Invalid prop `"+e+"` supplied to `"+n+"`. Validation failed."):null}};var C=(0,r.forwardRef)((function(t,e){return r.createElement(r.Fragment,null,r.createElement(P,s({ref:e},t)),r.createElement("noscript",null,r.createElement(P,s({},t,{shouldLoad:!0}))))}));C.displayName="MainImage",C.propTypes=P.propTypes;var k=function(t,e,n){return t.alt||""===t.alt?a().string.apply(a(),[t,e,n].concat([].slice.call(arguments,3))):new Error('The "alt" prop is required in '+n+'. If the image is purely presentational then pass an empty string: e.g. alt="". Learn more: https://a11y-style-guide.com/style-guide/section-media.html')},x={image:a().object.isRequired,alt:k},O=["style","className"],L=function(t){var e,o;function a(e){var n;return(n=t.call(this,e)||this).root=(0,r.createRef)(),n.hydrated={current:!1},n.forceRender={current:!1},n.lazyHydrator=null,n.ref=(0,r.createRef)(),n.unobserveRef=void 0,n.state={isLoading:p(),isLoaded:!1},n}o=t,(e=a).prototype=Object.create(o.prototype),e.prototype.constructor=e,c(e,o);var l=a.prototype;return l._lazyHydrate=function(t,e){var r=this,o=this.root.current.querySelector("[data-gatsby-image-ssr]");return p()&&o&&!this.hydrated.current?(this.hydrated.current=!0,Promise.resolve()):n.e(242).then(n.bind(n,6242)).then((function(n){var o=n.lazyHydrate,a=JSON.stringify(r.props.image.images);r.lazyHydrator=o(s({image:t.image.images,isLoading:e.isLoading||d(a),isLoaded:e.isLoaded||d(a),toggleIsLoaded:function(){null==t.onLoad||t.onLoad(),r.setState({isLoaded:!0})},ref:r.ref},t),r.root,r.hydrated,r.forceRender)}))},l._setupIntersectionObserver=function(t){var e=this;void 0===t&&(t=!0),n.e(70).then(n.bind(n,7070)).then((function(n){var r=(0,n.createIntersectionObserver)((function(){if(e.root.current){var n=JSON.stringify(e.props.image.images);null==e.props.onStartLoad||e.props.onStartLoad({wasCached:t&&d(n)}),e.setState({isLoading:!0,isLoaded:t&&d(n)})}}));e.root.current&&(e.unobserveRef=r(e.root))}))},l.shouldComponentUpdate=function(t,e){var n=this,r=!1;return this.state.isLoading||!e.isLoading||e.isLoaded||(this.forceRender.current=!0),this.props.image.images!==t.image.images&&(this.unobserveRef&&(this.unobserveRef(),this.hydrated.current&&this.lazyHydrator&&(0,i.render)(null,this.root.current)),this.setState({isLoading:!1,isLoaded:!1},(function(){n._setupIntersectionObserver(!1)})),r=!0),this.root.current&&!r&&this._lazyHydrate(t,e),!1},l.componentDidMount=function(){if(this.root.current){var t=this.root.current.querySelector("[data-gatsby-image-ssr]"),e=JSON.stringify(this.props.image.images);if(p()&&t){var n,r;if(null==(n=(r=this.props).onStartLoad)||n.call(r,{wasCached:!1}),t.complete){var o,a;null==(o=(a=this.props).onLoad)||o.call(a),f(e)}else{var i=this;t.addEventListener("load",(function n(){t.removeEventListener("load",n),null==i.props.onLoad||i.props.onLoad(),f(e)}))}return}this._setupIntersectionObserver(!0)}},l.componentWillUnmount=function(){this.unobserveRef&&(this.unobserveRef(),this.hydrated.current&&this.lazyHydrator&&this.lazyHydrator())},l.render=function(){var t=this.props.as||"div",e=this.props.image,n=e.width,o=e.height,a=e.layout,i=function(t,e,n){var r={},o="gatsby-image-wrapper";return"fixed"===n?(r.width=t,r.height=e):"constrained"===n&&(o="gatsby-image-wrapper gatsby-image-wrapper-constrained"),{className:o,"data-gatsby-image-wrapper":"",style:r}}(n,o,a),c=i.style,l=i.className,p=u(i,O),f=this.props.className;this.props.class&&(f=this.props.class);var d=function(t,e,n){var r=null;return"fullWidth"===t&&(r=''),"constrained"===t&&(r='
"),r}(a,n,o);return r.createElement(t,s({},p,{style:s({},c,this.props.style,{backgroundColor:this.props.backgroundColor}),className:l+(f?" "+f:""),ref:this.root,dangerouslySetInnerHTML:{__html:d},suppressHydrationWarning:!0}))},a}(r.Component),j=function(t){if(!t.image)return null;var e=t.image,n=JSON.stringify([e.width,e.height,e.layout,t.className,t.class,t.backgroundColor]);return r.createElement(L,s({key:n},t))};j.propTypes=x,j.displayName="GatsbyImage";var A,T=["src","__imageData","__error","width","height","aspectRatio","tracedSVGOptions","placeholder","formats","quality","transformOptions","jpgOptions","pngOptions","webpOptions","avifOptions","blurredOptions"],D=function(t,e){return"fullWidth"!==t.layout||"width"!==e&&"height"!==e||!t[e]?a().number.apply(a(),[t,e].concat([].slice.call(arguments,2))):new Error('"'+e+'" '+t[e]+" may not be passed when layout is fullWidth.")},N=new Set(["fixed","fullWidth","constrained"]),M={src:a().string.isRequired,alt:k,width:D,height:D,sizes:a().string,layout:function(t){if(void 0!==t.layout&&!N.has(t.layout))return new Error("Invalid value "+t.layout+'" provided for prop "layout". Defaulting to "constrained". Valid values are "fixed", "fullWidth" or "constrained".')}},U=(A=j,function(t){var e=t.src,n=t.__imageData,o=t.__error,a=u(t,T);return o&&console.warn(o),n?r.createElement(A,s({image:n},a)):(console.warn("Image not loaded",e),null)});function W(t){var e=t.children;return r.useEffect((function(){n.e(242).then(n.bind(n,6242))}),[]),e}U.displayName="StaticImage",U.propTypes=M},7193:function(t,e,n){"use strict";n.r(e),n.d(e,{wrapRootElement:function(){return a}});var r=n(6540),o=n(3973);function a(t){let{element:e}=t;return r.createElement(o.c,null,e)}},5795:function(t,e,n){"use strict";var r=n(4994);n(1015),r(n(3901))},3901:function(t,e){"use strict";e.__esModule=!0,e.default=void 0;e.default=function(t,e){var n="manifest.webmanifest";if(!Array.isArray(e))return n;var r=e.find((function(e){return t.startsWith(e.start_url)}));return r?"manifest_"+r.lang+".webmanifest":n}},2461:function(t,e,n){"use strict";var r=n(2149);e.onClientEntry=function(){r.polyfill()}},5702:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseContext:function(){return U},Link:function(){return B},Location:function(){return D},LocationProvider:function(){return N},Match:function(){return Z},Redirect:function(){return V},Router:function(){return W},ServerLocation:function(){return M},createHistory:function(){return S},createMemorySource:function(){return P},globalHistory:function(){return _},isRedirect:function(){return G},matchPath:function(){return u},navigate:function(){return C},redirectTo:function(){return J},resolve:function(){return l},useLocation:function(){return tt},useMatch:function(){return rt},useNavigate:function(){return et},useParams:function(){return nt}});var r=n(6540),o=n(311),a=n.n(o),i=n(2943),s=function(t,e){return t.substr(0,e.length)===e},c=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],i=g(o),s=""===i[0],c=m(t),u=0,l=c.length;ue.score?-1:t.index-e.index}))},g=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},y=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r0})))&&n.length>0?"?"+n.join("&"):"")},w=["uri","path"],b=Object.assign||function(t){for(var e=1;e1&&void 0!==arguments[1]?arguments[1]:{},s=i.state,c=i.replace,u=void 0!==c&&c;if("number"==typeof e)t.history.go(e);else{s=b({},s,{key:Date.now()+""});try{o||u?t.history.replaceState(s,null,e):t.history.pushState(s,null,e)}catch(p){t.location[u?"replace":"assign"](e)}}r=E(t),o=!0;var l=new Promise((function(t){return a=t}));return n.forEach((function(t){return t({location:r,action:"PUSH"})})),l}}},P=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],a=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState:function(t,e,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),a.push(t)},replaceState:function(t,e,n){var i=n.split("?"),s=i[0],c=i[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},a[r]=t},go:function(t){var e=r+t;e<0||e>a.length-1||(r=e)}}}},R=!("undefined"==typeof window||!window.document||!window.document.createElement),_=S(R?window:P()),C=_.navigate,k=Object.assign||function(t){for(var e=1;e=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function O(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function j(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var A=function(t,e){var n=(0,r.createContext)(e);return n.displayName=t,n},T=A("Location"),D=function(t){var e=t.children;return r.createElement(T.Consumer,null,(function(t){return t?e(t):r.createElement(N,null,e)}))},N=function(t){function e(){var n,r;O(this,e);for(var o=arguments.length,a=Array(o),i=0;i-1?(a=e.substring(0,o),i=e.substring(o)):a=e,r.createElement(T.Provider,{value:{location:{pathname:a,search:i,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},U=A("Base",{baseuri:"/",basepath:"/",navigate:_.navigate}),W=function(t){return r.createElement(U.Consumer,null,(function(e){return r.createElement(D,null,(function(n){return r.createElement(I,k({},e,n,t))}))}))},I=function(t){function e(){return O(this,e),L(this,t.apply(this,arguments))}return j(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.navigate,o=t.basepath,a=t.primary,i=t.children,s=(t.baseuri,t.component),u=void 0===s?"div":s,p=x(t,["location","navigate","basepath","primary","children","baseuri","component"]),f=r.Children.toArray(i).reduce((function(t,e){var n=at(o)(e);return t.concat(n)}),[]),d=e.pathname,h=c(f,d);if(h){var v=h.params,m=h.uri,g=h.route,y=h.route.value;o=g.default?o:g.path.replace(/\*$/,"");var w=k({},v,{uri:m,location:e,navigate:function(t,e){return n(l(t,m),e)}}),b=r.cloneElement(y,w,y.props.children?r.createElement(W,{location:e,primary:a},y.props.children):void 0),E=a?F:u,S=a?k({uri:m,location:e,component:u},p):p;return r.createElement(U.Provider,{value:{baseuri:m,basepath:o,navigate:w.navigate}},r.createElement(E,S,b))}return null},e}(r.PureComponent);I.defaultProps={primary:!0};var q=A("Focus"),F=function(t){var e=t.uri,n=t.location,o=t.component,a=x(t,["uri","location","component"]);return r.createElement(q.Consumer,null,(function(t){return r.createElement(Q,k({},a,{component:o,requestFocus:t,uri:e,location:n}))}))},H=!0,z=0,Q=function(t){function e(){var n,r;O(this,e);for(var o=arguments.length,a=Array(o),i=0;i