/*! For license information please see app-e366050155a2cce69890.js.LICENSE.txt */ (self.webpackChunkhivebuildserver=self.webpackChunkhivebuildserver||[]).push([[143],{6751:function(e,t,r){"use strict";r.d(t,{Z:function(){return oe}});var n=function(){function e(e){var t=this;this._insertTag=function(e){var r;r=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,r),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var r=function(e){if(e.sheet)return e.sheet;for(var t=0;t0?l(w,--b):0,m--,10===g&&(m=1,y--),g}function k(){return g=b2||_(g)>3?"":" "}function D(e,t){for(;--t&&k()&&!(g<48||g>102||g>57&&g<65||g>70&&g<97););return j(e,E()+(t<6&&32==C()&&32==k()))}function I(e){for(;k();)switch(g){case e:return b;case 34:case 39:34!==e&&39!==e&&I(g);break;case 40:41===e&&I(e);break;case 92:k()}return b}function N(e,t){for(;k()&&e+g!==57&&(e+g!==84||47!==C()););return"/*"+j(t,b-1)+"*"+a(47===e?e:k())}function M(e){for(;!_(C());)k();return j(e,b)}var $="-ms-",L="-moz-",H="-webkit-",U="comm",F="rule",W="decl",q="@keyframes";function B(e,t){for(var r="",n=d(e),o=0;o0&&p(L)-v&&h(g>32?V(L+";",n,r,v-1):V(s(L," ","")+";",n,r,v-2),d);break;case 59:L+=";";default:if(h($=J(L,t,r,y,m,o,f,x,R=[],I=[],v),i),123===_)if(0===m)G(L,t,$,$,R,i,v,f,I);else switch(99===b&&110===l(L,3)?100:b){case 100:case 108:case 109:case 115:G(e,$,$,n&&h(J(e,$,$,0,0,o,f,x,o,R=[],v),I),o,I,v,f,n?R:I);break;default:G(L,$,$,$,[""],I,0,f,I)}}y=m=g=0,S=j=1,x=L="",v=c;break;case 58:v=1+p(L),g=w;default:if(S<1)if(123==_)--S;else if(125==_&&0==S++&&125==P())continue;switch(L+=a(_),_*S){case 38:j=m>0?1:(L+="\f",-1);break;case 44:f[y++]=(p(L)-1)*j,j=1;break;case 64:45===C()&&(L+=A(k())),b=C(),m=v=p(x=L+=M(E())),_++;break;case 45:45===w&&2==p(L)&&(S=0)}}return i}function J(e,t,r,n,a,i,u,l,p,h,y){for(var m=a-1,v=0===a?i:[""],b=d(v),g=0,w=0,O=0;g0?v[P]+" "+k:s(k,/&\f/g,v[P])))&&(p[O++]=C);return S(e,t,r,0===a?F:l,p,h,y)}function Q(e,t,r){return S(e,t,r,U,a(g),f(e,2,-2),0)}function V(e,t,r,n){return S(e,t,r,W,f(e,0,n),f(e,n+1,-1),n)}var Y=function(e,t,r){for(var n=0,o=0;n=o,o=C(),38===n&&12===o&&(t[r]=1),!_(o);)k();return j(e,b)},X=function(e,t){return R(function(e,t){var r=-1,n=44;do{switch(_(n)){case 0:38===n&&12===C()&&(t[r]=1),e[r]+=Y(b-1,t,r);break;case 2:e[r]+=A(n);break;case 4:if(44===n){e[++r]=58===C()?"&\f":"",t[r]=e[r].length;break}default:e[r]+=a(n)}}while(n=k());return e}(x(e),t))},K=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;"rule"!==r.type;)if(!(r=r.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||K.get(r))&&!n){K.set(e,!0);for(var o=[],a=X(t,o),i=r.props,c=0,s=0;c6)switch(l(e,t+1)){case 109:if(45!==l(e,t+4))break;case 102:return s(e,/(.+:)(.+)-([^]+)/,"$1"+H+"$2-$3$1"+L+(108==l(e,t+3)?"$3":"$2-$3"))+e;case 115:return~u(e,"stretch")?re(s(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==l(e,t+1))break;case 6444:switch(l(e,p(e)-3-(~u(e,"!important")&&10))){case 107:return s(e,":",":"+H)+e;case 101:return s(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+H+(45===l(e,14)?"inline-":"")+"box$3$1"+H+"$2$3$1"+$+"$2box$3")+e}break;case 5936:switch(l(e,t+11)){case 114:return H+e+$+s(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return H+e+$+s(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return H+e+$+s(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return H+e+$+e+e}return e}var ne=[function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case W:e.return=re(e.value,e.length);break;case q:return B([O(e,{value:s(e.value,"@","@"+H)})],n);case F:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=t.exec(e))?e[0]:e}(t,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return B([O(e,{props:[s(t,/:(read-\w+)/,":-moz-$1")]})],n);case"::placeholder":return B([O(e,{props:[s(t,/:(plac\w+)/,":"+H+"input-$1")]}),O(e,{props:[s(t,/:(plac\w+)/,":-moz-$1")]}),O(e,{props:[s(t,/:(plac\w+)/,$+"input-$1")]})],n)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||ne;var a,i,c={},s=[];a=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),r=1;r=4;++n,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(n)|(255&e.charCodeAt(++n))<<8|(255&e.charCodeAt(++n))<<16|(255&e.charCodeAt(++n))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(n+2))<<16;case 2:r^=(255&e.charCodeAt(n+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(n)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)}(o)+s;return{name:u,styles:o,next:p}}},7278:function(e,t,r){"use strict";var n;r.d(t,{L:function(){return i},j:function(){return c}});var o=r(7294),a=!!(n||(n=r.t(o,2))).useInsertionEffect&&(n||(n=r.t(o,2))).useInsertionEffect,i=a||function(e){return e()},c=a||o.useLayoutEffect},444:function(e,t,r){"use strict";r.d(t,{My:function(){return a},fp:function(){return n},hC:function(){return o}});function n(e,t,r){var n="";return r.split(" ").forEach((function(r){void 0!==e[r]?t.push(e[r]+";"):n+=r+" "})),n}var o=function(e,t,r){var n=e.key+"-"+t.name;!1===r&&void 0===e.registered[n]&&(e.registered[n]=t.styles)},a=function(e,t,r){o(e,t,r);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+n:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},4506:function(e,t){"use strict";t.H=void 0;t.H=(e,t="always")=>{const r=e.endsWith(".html"),n=e.endsWith(".xml"),o=e.endsWith(".pdf");return"/"===e?e:((r||n||o)&&(t="never"),"always"===t?e.endsWith("/")?e:`${e}/`:"never"===t&&e.endsWith("/")?e.slice(0,-1):e)}},9679:function(e,t,r){"use strict";t.p2=t.$C=void 0;var n=r(1432);t.$C=n.ScrollHandler;var o=r(4855);t.p2=o.useScrollRestoration},1432:function(e,t,r){"use strict";var n=r(4836);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=n(r(6115)),a=n(r(7867)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var r=u(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(n,a,i):n[a]=e[a]}n.default=e,r&&r.set(e,n);return n}(r(7294)),c=n(r(5697)),s=r(1142);function u(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,r=new WeakMap;return(u=function(e){return e?r:t})(e)}var l=i.createContext(new s.SessionStorage);t.ScrollContext=l,l.displayName="GatsbyScrollContext";var f=function(e){function t(){for(var t,r=arguments.length,n=new Array(r),a=0;a{}},7730:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap((e=>(null==e?void 0:e.forward)||[]))}},2731:function(e,t,r){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),r=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();r&&r.remove();const a=(0,o.getForwards)(e),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,n.partytownSnippet)({forward:a}),document.head.appendChild(i)};var n=r(2911),o=r(7730)},5418:function(e,t,r){t.components={"component---src-pages-404-js":function(){return r.e(883).then(r.bind(r,429))},"component---src-pages-index-js":function(){return Promise.all([r.e(774),r.e(532),r.e(990),r.e(909),r.e(499),r.e(72),r.e(678)]).then(r.bind(r,6282))},"component---src-pages-tag-js":function(){return Promise.all([r.e(774),r.e(532),r.e(990),r.e(221)]).then(r.bind(r,9607))},"component---src-templates-sitepage-article-js":function(){return Promise.all([r.e(774),r.e(532),r.e(990),r.e(909),r.e(10)]).then(r.bind(r,1745))},"component---src-templates-sitepage-category-js":function(){return Promise.all([r.e(774),r.e(532),r.e(990),r.e(909),r.e(499),r.e(72),r.e(623)]).then(r.bind(r,3236))},"component---src-templates-sitepage-tag-js":function(){return Promise.all([r.e(774),r.e(532),r.e(990),r.e(909),r.e(499),r.e(994)]).then(r.bind(r,9761))}}},4741:function(e,t,r){e.exports=[{plugin:r(9608),options:{plugins:[],icon:"./hvsitesrcdata/666/images/SiteFavicon.webp",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"cd3465c37eda4b8b747764d9939dc630"}},{plugin:r(45),options:{plugins:[],displayName:!0,fileName:!0,minify:!0,namespace:"",transpileTemplateLiterals:!0,topLevelImportPaths:[],pure:!1,disableVendorPrefixes:!1}},{plugin:r(7420),options:{plugins:[]}},{plugin:r(4094),options:{plugins:[]}}]},3092:function(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}var o=r(4741),a=r(1975).jN,i=a.getResourceURLsForPathname,c=a.loadPage,s=a.loadPageSync;t.h=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;var u=o.map((function(r){if(r.plugin[e]){t.getResourceURLsForPathname=i,t.loadPage=c,t.loadPageSync=s;var n=r.plugin[e](t,r.options);return n&&a&&(t=a({args:t,result:n,plugin:r})),n}}));return(u=u.filter((function(e){return"undefined"!==n(e)}))).length>0?u:r?[r]:[]},t.I=function(e,t,r){return o.reduce((function(r,n){return n.plugin[e]?r.then((function(){return n.plugin[e](t,n.options)})):r}),Promise.resolve())}},4004:function(e,t){t.M=function(){return""}},8299:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});var n=function(e){return e=e||Object.create(null),{on:function(t,r){(e[t]||(e[t]=[])).push(r)},off:function(t,r){e[t]&&e[t].splice(e[t].indexOf(r)>>>0,1)},emit:function(t,r){(e[t]||[]).slice().map((function(e){e(r)})),(e["*"]||[]).slice().map((function(e){e(t,r)}))}}}()},7802:function(e,t,r){"use strict";r.d(t,{UD:function(){return m},Cj:function(){return b},GA:function(){return v},DS:function(){return y}});var n=r(7896),o=r(1505);function a(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],s=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(l){u=!0,o=l}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);re.length)&&(t=e.length);for(var r=0,n=new Array(t);r=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var m=function(e){var t=e.sliceName,r=e.allowEmpty,n=e.children,o=y(e,h),a=(0,u.useContext)(f.u0),i=(0,u.useContext)(f.Db),c=a[t];if(!c){if(r)return null;throw new Error('Slice "'.concat(c,'" for "').concat(t,'" slot not found'))}var s=function(e,t){if(!Object.keys(t).length)return e;var r=(0,l.M)(t);return"".concat(e,"-").concat(r)}(c,o),m=i[s];return m?n&&(m.hasChildren=!0):i[s]=m={props:o,sliceName:c,hasChildren:!!n},(0,d.tZ)(p,{sliceId:s},n)},v=["sliceName","allowEmpty","children"];function b(){return b=Object.assign?Object.assign.bind():function(e){for(var t=1;t=0||(o[r]=e[r]);return o}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(o[r]=e[r])}return o}var w=function(e){var t=e.sliceName,r=e.allowEmpty,n=e.children,o=g(e,v),a=(0,u.useContext)(f.u0),i=(0,u.useContext)(f.m3),c=a[t],s=i.get(c);if(!s){if(r)return null;throw new Error('Slice "'.concat(c,'" for "').concat(t,'" slot not found'))}return(0,d.tZ)(s.component,b({sliceContext:s.sliceContext,data:s.data},o),n)};function S(e){return S="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},S(e)}function O(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],s=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(l){u=!0,o=l}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return P(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r')}catch(a){}throw new Error("Nested slices are not supported.".concat(o,"\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices"))}throw new Error('Slice context "'.concat(r.renderEnvironment,'" is not supported.'))}var $=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&R(e,t)}(a,e);var t,r,n,o=C(a);function a(e,t,r,n){var i;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a);var c=Object.entries(r).map((function(e){var t=O(e,2),r=t[0],n=t[1];return'not serializable "'.concat(n,'" type passed to "').concat(r,'" prop')})).join(", "),s="SlicePropsError",l="",f="";if(e){var p=u.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);p[0]=p[0].trim(),l="\n"+p.join("\n"),f='Slice "'.concat(t,'" was passed props that are not serializable (').concat(c,").")}else{f="".concat(s,': Slice "').concat(t,'" was passed props that are not serializable (').concat(c,").");var d=(new Error).stack.trim().split("\n").slice(2);l="".concat(f,"\n").concat(d.join("\n"))}return(i=o.call(this,f)).name=s,l?i.stack=l:Error.captureStackTrace(E(i),a),n&&(i.forcedLocation=D(D({},n),{},{functionName:"Slice"})),i}return t=a,r&&k(t.prototype,r),n&&k(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}(j(Error)),L=function e(t){for(var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,a=0,i=Object.entries(t);a=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;te.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"GET";return new Promise((function(r){var n=new XMLHttpRequest;n.open(t,e,!0),n.onreadystatechange=function(){4==n.readyState&&r(n)},n.send(null)}))}var A=/bot|crawler|spider|crawling/i,T=function(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2?arguments[2]:void 0,o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(t=e.slicesMap)&&void 0!==t?t:{}};return{component:r,head:n,json:e.result,page:o}};function D(e){return new Promise((function(t){try{var r=e.readRoot();t(r)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout((function(){D(e).then(t)}),200)}}))}var I,N=function(){function e(t,r){b(this,e),S(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,u.DS)(r)}return w(e,[{key:"memoizedGet",value:function(e){var t=this,r=this.inFlightNetworkRequests.get(e);return r||(r=R(e,"GET"),this.inFlightNetworkRequests.set(e,r)),r.then((function(r){return t.inFlightNetworkRequests.delete(e),r})).catch((function(r){throw t.inFlightNetworkRequests.delete(e),r}))}},{key:"setApiRunner",value:function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((function(e){return e}))}},{key:"fetchPageDataJson",value:function(e){var t=this,r=e.pagePath,n=e.retries,o=void 0===n?0:n,a=_(r);return this.memoizedGet(a).then((function(n){var a=n.status,i=n.responseText;if(200===a)try{var c=JSON.parse(i);if(void 0===c.path)throw new Error("not a valid pageData response");var s=r.split("?")[1];return s&&!c.path.includes(s)&&(c.path+="?".concat(s)),Object.assign(e,{status:j.Success,payload:c})}catch(u){}return 404===a||200===a?"/404.html"===r||"/500.html"===r?Object.assign(e,{status:j.Error}):t.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===a?t.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):o<3?t.fetchPageDataJson(Object.assign(e,{retries:o+1})):Object.assign(e,{status:j.Error})}))}},{key:"fetchPartialHydrationJson",value:function(e){var t=this,r=e.pagePath,n=e.retries,o=void 0===n?0:n,a=_(r).replace(".json","-rsc.json");return this.memoizedGet(a).then((function(n){var a=n.status,i=n.responseText;if(200===a)try{return Object.assign(e,{status:j.Success,payload:i})}catch(c){}return 404===a||200===a?"/404.html"===r||"/500.html"===r?Object.assign(e,{status:j.Error}):t.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===a?t.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):o<3?t.fetchPartialHydrationJson(Object.assign(e,{retries:o+1})):Object.assign(e,{status:j.Error})}))}},{key:"loadPageDataJson",value:function(e){var t=this,r=(0,u.Cj)(e);if(this.pageDataDb.has(r)){var n=this.pageDataDb.get(r);return Promise.resolve(n)}return this.fetchPageDataJson({pagePath:r}).then((function(e){return t.pageDataDb.set(r,e),e}))}},{key:"loadPartialHydrationJson",value:function(e){var t=this,r=(0,u.Cj)(e);if(this.partialHydrationDb.has(r)){var n=this.partialHydrationDb.get(r);return Promise.resolve(n)}return this.fetchPartialHydrationJson({pagePath:r}).then((function(e){return t.partialHydrationDb.set(r,e),e}))}},{key:"loadSliceDataJson",value:function(e){var t=this;if(this.slicesDataDb.has(e)){var r=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:r})}return R("".concat("","/slice-data/").concat(e,".json"),"GET").then((function(r){var n=JSON.parse(r.responseText);return t.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}}))}},{key:"findMatchPath",value:function(e){return(0,u.UD)(e)}},{key:"loadPage",value:function(e){var t=this,r=(0,u.Cj)(e);if(this.pageDb.has(r)){var o=this.pageDb.get(r);return o.error?Promise.resolve({error:o.error,status:o.status}):Promise.resolve(o.payload)}if(this.inFlightDb.has(r))return this.inFlightDb.get(r);var a=[this.loadAppData(),this.loadPageDataJson(r)];var i=Promise.all(a).then((function(e){var o=k(e,3),a=o[0],i=o[1],c=o[2];if(i.status===j.Error||(null==c?void 0:c.status)===j.Error)return{status:j.Error};var u=i.payload,l=u,f=l.componentChunkName,p=l.staticQueryHashes,d=void 0===p?[]:p,y=l.slicesMap,b=void 0===y?{}:y,g={},w=Array.from(new Set(Object.values(b))),S=function(e){if(t.slicesDb.has(e.name))return t.slicesDb.get(e.name);if(t.sliceInflightDb.has(e.name))return t.sliceInflightDb.get(e.name);var r=t.loadComponent(e.componentChunkName).then((function(t){return{component:(r=t,r&&r.default||r),sliceContext:e.result.sliceContext,data:e.result.data};var r}));return t.sliceInflightDb.set(e.name,r),r.then((function(r){t.slicesDb.set(e.name,r),t.sliceInflightDb.delete(e.name)})),r};return Promise.all(w.map((function(e){return t.loadSliceDataJson(e)}))).then((function(e){for(var o=[],l=v(d),p=0,y=Object.values(e);p1&&void 0!==arguments[1]?arguments[1]:{},r=(0,u.Cj)(e);if(this.pageDb.has(r)){var n=this.pageDb.get(r);if(n.payload)return n.payload;if(null!=t&&t.withErrorDetails)return{error:n.error,status:n.status}}}},{key:"shouldPrefetch",value:function(e){return!!function(){if("connection"in navigator&&"undefined"!==P(navigator.connection)){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0}()&&((!navigator.userAgent||!A.test(navigator.userAgent))&&!this.pageDb.has(e))}},{key:"prefetch",value:function(e){var t=this;if(!this.shouldPrefetch(e))return{then:function(e){return e(!1)},abort:function(){}};if(this.prefetchTriggered.has(e))return{then:function(e){return e(!0)},abort:function(){}};var r={resolve:null,reject:null,promise:null};r.promise=new Promise((function(e,t){r.resolve=e,r.reject=t})),this.prefetchQueued.push([e,r]);var n=new AbortController;return n.signal.addEventListener("abort",(function(){var r=t.prefetchQueued.findIndex((function(t){return k(t,1)[0]===e}));-1!==r&&t.prefetchQueued.splice(r,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((function(){t._processNextPrefetchBatch()}),3e3)),{then:function(e,t){return r.promise.then(e,t)},abort:n.abort.bind(n)}}},{key:"_processNextPrefetchBatch",value:function(){var e=this;(window.requestIdleCallback||function(e){return setTimeout(e,0)})((function(){var t=e.prefetchQueued.splice(0,4),r=Promise.all(t.map((function(t){var r=k(t,2),n=r[0],o=r[1];return e.prefetchTriggered.has(n)||(e.apiRunner("onPrefetchPathname",{pathname:n}),e.prefetchTriggered.add(n)),e.prefetchDisabled?o.resolve(!1):e.doPrefetch((0,u.Cj)(n)).then((function(){e.prefetchCompleted.has(n)||(e.apiRunner("onPostPrefetchPathname",{pathname:n}),e.prefetchCompleted.add(n)),o.resolve(!0)}))})));e.prefetchQueued.length?r.then((function(){setTimeout((function(){e._processNextPrefetchBatch()}),3e3)})):e.isPrefetchQueueRunning=!1}))}},{key:"doPrefetch",value:function(e){var t=this,r=_(e);return c(r,{crossOrigin:"anonymous",as:"fetch"}).then((function(){return t.loadPageDataJson(e)}))}},{key:"hovering",value:function(e){this.loadPage(e)}},{key:"getResourceURLsForPathname",value:function(e){var t=(0,u.Cj)(e),r=this.pageDataDb.get(t);if(r){var n=T(r.payload);return[].concat(v(M(n.page.componentChunkName)),[_(t)])}return null}},{key:"isPageNotFound",value:function(e){var t=(0,u.Cj)(e),r=this.pageDb.get(t);return!r||r.notFound}},{key:"loadAppData",value:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return this.memoizedGet("".concat("","/page-data/app-data.json")).then((function(r){var n,o=r.status,a=r.responseText;if(200!==o&&t<3)return e.loadAppData(t+1);if(200===o)try{var i=JSON.parse(a);if(void 0===i.webpackCompilationHash)throw new Error("not a valid app-data response");n=i}catch(c){}return n}))}}]),e}(),M=function(e){return(window.___chunkMapping[e]||[]).map((function(e){return""+e}))},$=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&f(e,t)}(r,e);var t=p(r);function r(e,n,o){var a;b(this,r);return a=t.call(this,(function(t){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"components";if(!e[r="components"][t])throw new Error("We couldn't find the correct component chunk with the name \"".concat(t,'"'));return e[r][t]().catch((function(e){return e}))}),n),o&&a.pageDataDb.set((0,u.Cj)(o.path),{pagePath:o.path,payload:o,status:"success"}),a}return w(r,[{key:"doPrefetch",value:function(e){return l(d(r.prototype),"doPrefetch",this).call(this,e).then((function(e){if(e.status!==j.Success)return Promise.resolve();var t=e.payload,r=t.componentChunkName,n=M(r);return Promise.all(n.map(c)).then((function(){return t}))}))}},{key:"loadPageDataJson",value:function(e){return l(d(r.prototype),"loadPageDataJson",this).call(this,e).then((function(t){return t.notFound?x(e)?t:R(e,"HEAD").then((function(e){return 200===e.status?{status:j.Error}:t})):t}))}},{key:"loadPartialHydrationJson",value:function(e){return l(d(r.prototype),"loadPartialHydrationJson",this).call(this,e).then((function(t){return t.notFound?x(e)?t:R(e,"HEAD").then((function(e){return 200===e.status?{status:j.Error}:t})):t}))}}]),r}(N),L=function(e){I=e},H={enqueue:function(e){return I.prefetch(e)},getResourceURLsForPathname:function(e){return I.getResourceURLsForPathname(e)},loadPage:function(e){return I.loadPage(e)},loadPageSync:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return I.loadPageSync(e,t)},prefetch:function(e){return I.prefetch(e)},isPageNotFound:function(e){return I.isPageNotFound(e)},hovering:function(e){return I.hovering(e)},loadAppData:function(){return I.loadAppData()}},U=H;function F(){return I?I.staticQueryDb:{}}function W(){return I?I.slicesDb:{}}},4779:function(e,t,r){"use strict";r.d(t,{Z:function(){return H}});var n=r(7294),o=r(5697),a=r.n(o),i=r(3092),c=r(7802),s=r(4160),u=r(7896),l=r(4941);function f(e){var t=e.children,r=e.callback;return(0,n.useEffect)((function(){r()})),t}var p=["link","meta","style","title","base","noscript","script","html","body"];function d(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,o,a,i,c=[],s=!0,u=!1;try{if(a=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;s=!1}else for(;!(s=(n=a.call(r)).done)&&(c.push(n.value),c.length!==t);s=!0);}catch(l){u=!0,o=l}finally{try{if(!s&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(u)throw o}}return c}}(e,t)||g(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function h(e){return function(e){if(Array.isArray(e))return w(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||g(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function m(e){for(var t=1;t=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,i=!0,c=!1;return{s:function(){r=r.call(e)},n:function(){var e=r.next();return i=e.done,e},e:function(e){c=!0,a=e},f:function(){try{i||null==r.return||r.return()}finally{if(c)throw a}}}}function g(e,t){if(e){if("string"==typeof e)return w(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?w(e,t):void 0}}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:{html:{},body:{}},n=new Map,o=[],a=b(e.childNodes);try{for(a.s();!(t=a.n()).done;){var i,c,s=t.value,u=s.nodeName.toLowerCase(),l=null===(i=s.attributes)||void 0===i||null===(c=i.id)||void 0===c?void 0:c.value;if(E(s)){if(C(u))if("html"===u||"body"===u){var f,p=b(s.attributes);try{for(p.s();!(f=p.n()).done;){var d=f.value;r[u]=m(m({},r[u]),{},v({},d.name,d.value))}}catch(S){p.e(S)}finally{p.f()}}else{var y=s.cloneNode(!0);if(y.setAttribute("data-gatsby-head",!0),"script"===y.nodeName.toLowerCase()&&(y=k(y)),l)if(n.has(l)){var g,w=n.get(l);null===(g=o[w].parentNode)||void 0===g||g.removeChild(o[w]),o[w]=y}else o.push(y),n.set(l,o.length-1);else o.push(y)}s.childNodes.length&&o.push.apply(o,h(P(s,r).validHeadNodes))}}}catch(S){a.e(S)}finally{a.f()}return{validHeadNodes:o,htmlAndBodyAttributes:r}}function k(e){var t,r=document.createElement("script"),n=b(e.attributes);try{for(n.s();!(t=n.n()).done;){var o=t.value;r.setAttribute(o.name,o.value)}}catch(a){n.e(a)}finally{n.f()}return r.innerHTML=e.innerHTML,r}function C(e){return p.includes(e)}function E(e){return 1===e.nodeType}var j=r(917);function _(e){return function(e){if(Array.isArray(e))return x(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return x(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:{};if("number"!==C(e)){var r=(0,y.cP)(e),o=r.pathname,i=r.search,c=r.hash,s=(0,p.J)(o);if(s&&(e=s.toPath+i+c),window.___swUpdated)window.location=o+i+c;else{var u=setTimeout((function(){d.Z.emit("onDelayedLoadPageResources",{pathname:o}),(0,n.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);f.ZP.loadPage(o+i).then((function(r){if(!r||r.status===f.uQ.Error)return window.history.replaceState({},"",location.href),window.location=o,void clearTimeout(u);r&&r.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=o+i+c),(0,a.navigate)(e,t),clearTimeout(u)}))}}else a.globalHistory.navigate(e)};function A(e,t){var r=this,o=t.location,a=o.pathname,i=o.hash,c=(0,n.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:a,routerProps:{location:o},getSavedScrollPosition:function(e){return[0,r._stateStorage.read(e,e.key)]}});if(c.length>0)return c[c.length-1];if(e&&e.location.pathname===a)return i?decodeURI(i.slice(1)):[0,0];return!0}var T=function(e){S(r,e);var t=P(r);function r(e){var n;return b(this,r),(n=t.call(this,e)).announcementRef=o.createRef(),n}return w(r,[{key:"componentDidUpdate",value:function(e,t){var r=this;requestAnimationFrame((function(){var e="new page at ".concat(r.props.location.pathname);document.title&&(e=document.title);var t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);var n="Navigated to ".concat(e);r.announcementRef.current&&(r.announcementRef.current.innerText!==n&&(r.announcementRef.current.innerText=n))}))}},{key:"render",value:function(){return(0,m.tZ)("div",v({},h,{ref:this.announcementRef}))}}]),r}(o.Component),D=function(e,t){var r,n;return e.href!==t.href||(null==e||null===(r=e.state)||void 0===r?void 0:r.key)!==(null==t||null===(n=t.state)||void 0===n?void 0:n.key)},I=function(e){S(r,e);var t=P(r);function r(e){var n;return b(this,r),n=t.call(this,e),_(e.location,null),n}return w(r,[{key:"componentDidMount",value:function(){x(this.props.location,null)}},{key:"shouldComponentUpdate",value:function(e){return!!D(this.props.location,e.location)&&(_(e.location,this.props.location),!0)}},{key:"componentDidUpdate",value:function(e){D(e.location,this.props.location)&&x(this.props.location,e.location)}},{key:"render",value:function(){return(0,m.tZ)(o.Fragment,null,this.props.children,(0,m.tZ)(T,{location:location}))}}]),r}(o.Component);I.propTypes={location:l().object.isRequired};var N=r(4779),M=r(5418);function $(e,t){for(var r in e)if(!(r in t))return!0;for(var n in t)if(e[n]!==t[n])return!0;return!1}function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function H(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function U(e){for(var t=1;t0&&r(9939);var e=function(e){return(0,m.tZ)(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},(0,m.tZ)(N.Z,e))},t=o.createContext({}),u={renderEnvironment:"browser"},l=function(e){te(n,e);var r=ne(n);function n(){return X(this,n),r.apply(this,arguments)}return ee(n,[{key:"render",value:function(){var e=this.props.children;return(0,m.tZ)(a.Location,null,(function(r){var n=r.location;return(0,m.tZ)(G,{location:n},(function(r){var n=r.pageResources,o=r.location,a=(0,f.hs)(),i=(0,f.Nt)();return(0,m.tZ)(c.B9.Provider,{value:a},(0,m.tZ)(s.Bs.Provider,{value:u},(0,m.tZ)(s.m3.Provider,{value:i},(0,m.tZ)(s.u0.Provider,{value:n.page.slicesMap},(0,m.tZ)(t.Provider,{value:{pageResources:n,location:o}},e)))))}))}))}}]),n}(o.Component),p=function(r){te(o,r);var n=ne(o);function o(){return X(this,o),n.apply(this,arguments)}return ee(o,[{key:"render",value:function(){var r=this;return(0,m.tZ)(t.Consumer,null,(function(t){var n=t.pageResources,o=t.location;return(0,m.tZ)(I,{location:o},(0,m.tZ)(i.$C,{location:o,shouldUpdateScroll:A},(0,m.tZ)(a.Router,{basepath:"",location:o,id:"gatsby-focus-wrapper"},(0,m.tZ)(e,Y({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,J.Z)(o.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},r.props,{location:o,pageResources:n},n.json)))))}))}}]),o}(o.Component),d=window,h=d.pagePath,y=d.location;h&&""+h!==y.pathname+(h.includes("?")?y.search:"")&&!(ae.findMatchPath((0,J.Z)(y.pathname,""))||h.match(/^\/(404|500)(\/?|.html)$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+h+(h.includes("?")?"":y.search)+y.hash,{replace:!0});var v=function(){try{return sessionStorage}catch(e){return null}};f.jN.loadPage(y.pathname+y.search).then((function(e){var t,r=v();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),r&&!("1"===r.getItem(ue))))return r.setItem(ue,"1"),void window.location.reload(!0);if(r&&r.removeItem(ue),!e||e.status===f.uQ.Error){var a="page resources for ".concat(y.pathname," not found. Not rendering React");if(e&&e.error)throw console.error(a),e.error;throw new Error(a)}var i=(0,n.h)("wrapRootElement",{element:(0,m.tZ)(p,null)},(0,m.tZ)(p,null),(function(e){return{element:e.result}})).pop(),c=function(){var e=o.useRef(!1);return o.useEffect((function(){e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,n.h)("onInitialClientRender"))}),[]),(0,m.tZ)(l,null,i)},s=document.getElementById("gatsby-focus-wrapper"),u=ce;s&&s.children.length&&(u=se);var d=(0,n.h)("replaceHydrateFunction",void 0,u)[0];function h(){var e="undefined"!==("undefined"==typeof window?"undefined":V(window))?document.getElementById("___gatsby"):null;d((0,m.tZ)(c,null),e)}var b=document;if("complete"===b.readyState||"loading"!==b.readyState&&!b.documentElement.doScroll)setTimeout((function(){h()}),0);else{var g=function e(){b.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),h()};b.addEventListener("DOMContentLoaded",g,!1),window.addEventListener("load",g,!1)}}))}))},224:function(e,t,r){"use strict";r.r(t);var n=r(7294),o=r(5697),a=r.n(o),i=r(1975),c=r(4779);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function l(e,t,r){return(t=function(e){var t=function(e,t){if("object"!==s(e)||null===e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!==s(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"===s(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var f=function(e){var t=e.location,r=i.ZP.loadPageSync(t.pathname);return r?n.createElement(c.Z,function(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:null;return globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=n.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(s,u):n.createContext(u));function f(e){var t=e.staticQueryData,r=e.data,o=e.query,a=e.render,c=r?r.data:t[o]&&t[o].data;return(0,i.tZ)(n.Fragment,null,c&&a(c),!c&&(0,i.tZ)("div",null,"Loading (StaticQuery)"))}var p=function(e){var t=e.data,r=e.query,n=e.render,o=e.children;return(0,i.tZ)(l.Consumer,null,(function(e){return(0,i.tZ)(f,{data:t,query:r,render:n||o,staticQueryData:e})}))};p.propTypes={data:a().object,query:a().string.isRequired,render:a().func,children:a().func};var d=function(e){var t;c(n.useContext);var r=n.useContext(l);if(isNaN(Number(e)))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`".concat(e,"`);\n"));if(null!==(t=r[e])&&void 0!==t&&t.data)return r[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},1505:function(e,t,r){"use strict";function n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return t?e===t?"/":e.startsWith("".concat(t,"/"))?e.slice(t.length):e:e}r.d(t,{Z:function(){return n}})},7420:function(){},9608:function(e,t,r){"use strict";r.r(t),r.d(t,{onRouteUpdate:function(){return n}});r(4160),r(292);var n=function(e,t){e.location}},292:function(e,t,r){"use strict";var n=r(4160)},45:function(e,t,r){"use strict";var n=r(4836)(r(7294)),o=r(1256);t.wrapRootElement=function(e,t){var r=e.element;return n.default.createElement(o.StyleSheetManager,{disableVendorPrefixes:!0===(null==t?void 0:t.disableVendorPrefixes)},r)}},8679:function(e,t,r){"use strict";var n=r(1296),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},c={};function s(e){return n.isMemo(e)?i:c[e.$$typeof]||o}c[n.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},c[n.Memo]=i;var u=Object.defineProperty,l=Object.getOwnPropertyNames,f=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,d=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,r,n){if("string"!=typeof r){if(h){var o=d(r);o&&o!==h&&e(t,o,n)}var i=l(r);f&&(i=i.concat(f(r)));for(var c=s(t),y=s(r),m=0;md)&&(H=(W=W.replace(" ",":")).length),0n&&(n=(t=t.trim()).charCodeAt(0)),n){case 38:return t.replace(m,"$1"+e.trim());case 58:return e.trim()+t.replace(m,"$1"+e.trim());default:if(0<1*r&&0s.charCodeAt(8))break;case 115:i=i.replace(s,"-webkit-"+s)+";"+i;break;case 207:case 102:i=i.replace(s,"-webkit-"+(102n.charCodeAt(0)&&(n=n.trim()),n=[n],01?t-1:0),n=1;n0?" Args: "+r.join(", "):""))}var E=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,r=0;r=this.groupSizes.length){for(var r=this.groupSizes,n=r.length,o=n;e>=o;)(o<<=1)<0&&C(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(r),this.length=o;for(var a=n;a=this.length||0===this.groupSizes[e])return t;for(var r=this.groupSizes[e],n=this.indexOfGroup(e),o=n+r,a=n;a=x&&(x=t+1),j.set(e,t),_.set(t,e)},D="style["+w+'][data-styled-version="5.3.11"]',I=new RegExp("^"+w+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),N=function(e,t,r){for(var n,o=r.split(","),a=0,i=o.length;a=0;r--){var n=t[r];if(n&&1===n.nodeType&&n.hasAttribute(w))return n}}(r),a=void 0!==o?o.nextSibling:null;n.setAttribute(w,"active"),n.setAttribute("data-styled-version","5.3.11");var i=$();return i&&n.setAttribute("nonce",i),r.insertBefore(n,a),n},H=function(){function e(e){var t=this.element=L(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,r=0,n=t.length;r=0){var r=document.createTextNode(t),n=this.nodes[e];return this.element.insertBefore(r,n||null),this.length++,!0}return!1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},t.getRule=function(e){return e0&&(u+=e+",")})),n+=""+c+s+'{content:"'+u+'"}/*!sc*/\n'}}}return n}(this)},e}(),Z=/(a)(d)/gi,z=function(e){return String.fromCharCode(e+(e>25?39:97))};function G(e){var t,r="";for(t=Math.abs(e);t>52;t=t/52|0)r=z(t%52)+r;return(z(t%52)+r).replace(Z,"$1-$2")}var J=function(e,t){for(var r=t.length;r;)e=33*e^t.charCodeAt(--r);return e},Q=function(e){return J(5381,e)};function V(e){for(var t=0;t>>0);if(!t.hasNameForId(n,i)){var c=r(a,"."+i,void 0,n);t.insertRules(n,i,c)}o.push(i),this.staticRulesId=i}else{for(var s=this.rules.length,u=J(this.baseHash,r.hash),l="",f=0;f>>0);if(!t.hasNameForId(n,y)){var m=r(l,"."+y,void 0,n);t.insertRules(n,y,m)}o.push(y)}}return o.join(" ")},e}(),K=/^\s*\/\/.*$/gm,ee=[":","[",".","#"];function te(e){var t,r,n,o,a=void 0===e?m:e,i=a.options,s=void 0===i?m:i,u=a.plugins,l=void 0===u?y:u,f=new c(s),p=[],d=function(e){function t(t){if(t)try{e(t+"}")}catch(e){}}return function(r,n,o,a,i,c,s,u,l,f){switch(r){case 1:if(0===l&&64===n.charCodeAt(0))return e(n+";"),"";break;case 2:if(0===u)return n+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+n),"";default:return n+(0===f?"/*|*/":"")}case-2:n.split("/*|*/}").forEach(t)}}}((function(e){p.push(e)})),h=function(e,n,a){return 0===n&&-1!==ee.indexOf(a[r.length])||a.match(o)?e:"."+t};function v(e,a,i,c){void 0===c&&(c="&");var s=e.replace(K,""),u=a&&i?i+" "+a+" { "+s+" }":s;return t=c,r=a,n=new RegExp("\\"+r+"\\b","g"),o=new RegExp("(\\"+r+"\\b){2,}"),f(i||!a?"":a,u)}return f.use([].concat(l,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(r)>0&&(o[0]=o[0].replace(n,h))},d,function(e){if(-2===e){var t=p;return p=[],t}}])),v.hash=l.length?l.reduce((function(e,t){return t.name||C(15),J(e,t.name)}),5381).toString():"",v}var re=o.createContext(),ne=re.Consumer,oe=o.createContext(),ae=(oe.Consumer,new B),ie=te();function ce(){return(0,o.useContext)(re)||ae}function se(){return(0,o.useContext)(oe)||ie}function ue(e){var t=(0,o.useState)(e.stylisPlugins),r=t[0],n=t[1],a=ce(),c=(0,o.useMemo)((function(){var t=a;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t}),[e.disableCSSOMInjection,e.sheet,e.target]),s=(0,o.useMemo)((function(){return te({options:{prefix:!e.disableVendorPrefixes},plugins:r})}),[e.disableVendorPrefixes,r]);return(0,o.useEffect)((function(){i()(r,e.stylisPlugins)||n(e.stylisPlugins)}),[e.stylisPlugins]),o.createElement(re.Provider,{value:c},o.createElement(oe.Provider,{value:s},e.children))}var le=function(){function e(e,t){var r=this;this.inject=function(e,t){void 0===t&&(t=ie);var n=r.name+t.hash;e.hasNameForId(r.id,n)||e.insertRules(r.id,n,t(r.rules,n,"@keyframes"))},this.toString=function(){return C(12,String(r.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t}return e.prototype.getName=function(e){return void 0===e&&(e=ie),this.name+e.hash},e}(),fe=/([A-Z])/,pe=/([A-Z])/g,de=/^ms-/,he=function(e){return"-"+e.toLowerCase()};function ye(e){return fe.test(e)?e.replace(pe,he).replace(de,"-ms-"):e}var me=function(e){return null==e||!1===e||""===e};function ve(e,t,r,n){if(Array.isArray(e)){for(var o,a=[],i=0,c=e.length;i1?t-1:0),n=1;n?@[\\\]^`{|}~-]+/g,Oe=/(^-|-$)/g;function Pe(e){return e.replace(Se,"-").replace(Oe,"")}var ke=function(e){return G(Q(e)>>>0)};function Ce(e){return"string"==typeof e&&!0}var Ee=function(e){return"function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},je=function(e){return"__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function _e(e,t,r){var n=e[r];Ee(t)&&Ee(n)?xe(n,t):e[r]=t}function xe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n=0||(o[r]=e[r]);return o}(t,["componentId"]),a=n&&n+"-"+(Ce(e)?e:Pe(b(e)));return Ie(e,p({},o,{attrs:S,componentId:a}),r)},Object.defineProperty(P,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=n?xe({},e.defaultProps,t):t}}),Object.defineProperty(P,"toString",{value:function(){return"."+P.styledComponentId}}),a&&f()(P,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),P}var Ne=function(e){return function e(t,r,o){if(void 0===o&&(o=m),!(0,n.isValidElementType)(r))return C(1,String(r));var a=function(){return t(r,o,ge.apply(void 0,arguments))};return a.withConfig=function(n){return e(t,r,p({},o,{},n))},a.attrs=function(n){return e(t,r,p({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},a}(Ie,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){Ne[e]=Ne(e)}));var Me=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=V(e),B.registerId(this.componentId+1)}var t=e.prototype;return t.createStyles=function(e,t,r,n){var o=n(ve(this.rules,t,r,n).join(""),""),a=this.componentId+e;r.insertRules(a,a,o)},t.removeStyles=function(e,t){t.clearRules(this.componentId+e)},t.renderStyles=function(e,t,r,n){e>2&&B.registerId(this.componentId+e),this.removeStyles(e,r),this.createStyles(e,t,r,n)},e}();function $e(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n1?t-1:0),n=1;n"+t+""},this.getStyleTags=function(){return e.sealed?C(2):e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)return C(2);var r=((t={})[w]="",t["data-styled-version"]="5.3.11",t.dangerouslySetInnerHTML={__html:e.instance.toString()},t),n=$();return n&&(r.nonce=n),[o.createElement("style",p({},r,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new B({isServer:!0}),this.sealed=!1}var t=e.prototype;return t.collectStyles=function(e){return this.sealed?C(2):o.createElement(ue,{sheet:this.instance},e)},t.interleaveWithNodeStream=function(e){return C(3)},e}(),Ue=function(e){var t=o.forwardRef((function(t,r){var n=(0,o.useContext)(Re),a=e.defaultProps,i=we(t,n,a);return o.createElement(e,p({},t,{theme:i,ref:r}))}));return f()(t,e),t.displayName="WithTheme("+b(e)+")",t},Fe=function(){return(0,o.useContext)(Re)},We={StyleSheet:B,masterSheet:ae},qe=Ne},6115:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},434:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t((e,t)=>{const{forward:r=[],...n}=e||{},o=JSON.stringify(n,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(n).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",r.length>0?`.concat(${JSON.stringify(r)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n=0||(o[r]=e[r]);return o}const u=e=>{const{search:t,hash:r,href:n,origin:o,protocol:a,host:i,hostname:c,port:s}=e.location;let{pathname:u}=e.location;return!u&&n&&p&&(u=new URL(n).pathname),{pathname:encodeURI(decodeURI(u)),search:t,hash:r,href:n,origin:o,protocol:a,host:i,hostname:c,port:s,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},l=(e,t)=>{let r=[],n=u(e),o=!1,a=()=>{};return{get location(){return n},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(t){r.push(t);const o=()=>{n=u(e),t({location:n,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),r=r.filter((e=>e!==t))}},navigate(t,{state:i,replace:s=!1}={}){if("number"==typeof t)e.history.go(t);else{i=c({},i,{key:Date.now()+""});try{o||s?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(r){e.location[s?"replace":"assign"](t)}}n=u(e),o=!0;const l=new Promise((e=>a=e));return r.forEach((e=>e({location:n,action:"PUSH"}))),l}}},f=(e="/")=>{const t=e.indexOf("?"),r={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let n=0;const o=[r],a=[null];return{get location(){return o[n]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return n},get state(){return a[n]},pushState(e,t,r){const[i,c=""]=r.split("?");n++,o.push({pathname:i,search:c.length?`?${c}`:c}),a.push(e)},replaceState(e,t,r){const[i,c=""]=r.split("?");o[n]={pathname:i,search:c},a[n]=e},go(e){const t=n+e;t<0||t>a.length-1||(n=t)}}}},p=!("undefined"==typeof window||!window.document||!window.document.createElement),d=l(p?window:f()),{navigate:h}=d;function y(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const m=y("Base",{baseuri:"/",basepath:"/"}),v=y("Location"),b=()=>o.useContext(m),g=()=>o.useContext(v);function w(e){this.uri=e}const S=e=>e instanceof w,O=e=>{throw new w(e)};function P(e){const{to:t,replace:r=!0,state:n,noThrow:a,baseuri:i}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=_(t,i);h(x(o,e),{replace:r,state:n})}))}),[]);const c=_(t,i);return a||O(x(c,e)),null}const k=e=>{const t=g(),{baseuri:r}=b();return o.createElement(P,c({},t,{baseuri:r},e))};k.propTypes={from:a.string,to:a.string.isRequired};const C=(e,t)=>e.substr(0,t.length)===t,E=(e,t)=>{let r,n;const[o]=t.split("?"),a=M(o),c=""===a[0],s=N(e);for(let u=0,l=s.length;u dynamic segment "${n[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(r);f[n[1]]=t}else if(t!==r){e=!0;break}}if(!e){r={route:o,params:f,uri:"/"+a.slice(0,d).join("/")};break}}return r||n||null},j=(e,t)=>E([{path:e}],t),_=(e,t)=>{if(C(e,"/"))return e;const[r,n]=e.split("?"),[o]=t.split("?"),a=M(r),i=M(o);if(""===a[0])return $(o,n);if(!C(a[0],".")){const e=i.concat(a).join("/");return $(("/"===o?"":"/")+e,n)}const c=i.concat(a),s=[];for(let u=0,l=c.length;u{const[r,n=""]=e.split("?");let o="/"+M(r).map((e=>{const r=A.exec(e);return r?t[r[1]]:e})).join("/");const{location:{search:a=""}={}}=t,i=a.split("?")[1]||"";return o=$(o,n,i),o},R=(e,t)=>{const r=e=>T(e);return M(e).filter(r).sort().join("/")===M(t).filter(r).sort().join("/")},A=/^:(.+)/,T=e=>A.test(e),D=e=>e&&"*"===e[0],I=(e,t)=>({route:e,score:e.default?0:M(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:T(t)?e+=2:D(t)?e-=5:e+=3,e)),0),index:t}),N=e=>e.map(I).sort(((e,t)=>e.scoret.score?-1:e.index-t.index)),M=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),$=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),L=["uri","path"],H=(e,t)=>{const r=Object.keys(e);return r.length===Object.keys(t).length&&r.every((r=>t.hasOwnProperty(r)&&e[r]===t[r]))},U=e=>e.replace(/(^\/+|\/+$)/g,""),F=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,F(e));if(i(t.props.path||t.props.default||t.type===k,`: Children of must have a \`path\` or \`default\` prop, or be a \`\`. None found on element type \`${t.type}\``),i(!!(t.type!==k||t.props.from&&t.props.to),` requires both "from" and "to" props when inside a .`),i(!(t.type===k&&!R(t.props.from,t.props.to)),` has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const r=t.type===k?t.props.from:t.props.path,n="/"===r?e:`${U(e)}/${U(r)}`;return{value:t,default:t.props.default,path:t.props.children?`${U(n)}/*`:n}},W=["innerRef"],q=["to","state","replace","getProps"],B=["key"];let{forwardRef:Z}=n||(n=r.t(o,2));void 0===Z&&(Z=e=>e);const z=()=>{},G=Z(((e,t)=>{let{innerRef:r}=e,n=s(e,W);const{baseuri:a}=b(),{location:i}=g(),{to:u,state:l,replace:f,getProps:p=z}=n,d=s(n,q),y=_(u,a),m=encodeURI(y),v=i.pathname===m,w=C(i.pathname,m);return o.createElement("a",c({ref:t||r,"aria-current":v?"page":void 0},d,p({isCurrent:v,isPartiallyCurrent:w,href:y,location:i}),{href:y,onClick:e=>{if(d.onClick&&d.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=f;if("boolean"!=typeof f&&v){const e=s(c({},i.state),B);t=H(c({},l),e)}h(y,{state:l,replace:t})}}}))}));G.displayName="Link",G.propTypes={to:a.string.isRequired};class J extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const Q=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function V({children:e}){const[t,r]=o.useState(),n=o.useRef(),a=o.useMemo((()=>({componentDidCatch:n,error:t,setError:r})),[t]);return o.createElement(Q.Provider,{value:a},o.createElement(J,{error:t,onError:(e,t)=>{r(e),null==n.current||n.current(e,t)}},e))}V.displayName="ReactUseErrorBoundaryContext";const Y=function(e){var t,r;function n(t){return o.createElement(V,null,o.createElement(e,c({key:"WrappedComponent"},t)))}return n.displayName=`WithErrorBoundary(${null!=(t=null!=(r=e.displayName)?r:e.name)?t:"Component"})`,n}((({history:e=d,children:t})=>{const{location:r}=e,[n,a]=o.useState({location:r}),[i]=function(e){const t=o.useContext(Q);t.componentDidCatch.current=void 0;const r=o.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,r]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[n.location]),o.useEffect((()=>{let t=!1;const r=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||a({location:e})}))}))}));return()=>{t=!0,r()}}),[]),i){if(!S(i))throw i;h(i.uri,{replace:!0})}return o.createElement(v.Provider,{value:n},"function"==typeof t?t(n):t||null)})),X=({children:e})=>{const t=g();return t?e(t):o.createElement(Y,null,e)},K=({url:e,children:t})=>{const r=e.indexOf("?");let n,a="";return r>-1?(n=e.substring(0,r),a=e.substring(r)):n=e,o.createElement(v.Provider,{value:{location:{pathname:n,search:a,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:r}=b(),{location:n}=g(),o=_(e,r),a=j(o,n.pathname);return t({location:n,match:a?c({},a.params,{uri:a.uri,path:e}):null})},te=["uri","location","component"],re=["children","style","component","uri","location"],ne=e=>{let{uri:t,location:r,component:n}=e,a=s(e,te);return o.createElement(ae,c({},a,{component:n,uri:t,location:r}))};let oe=0;const ae=e=>{let{children:t,style:r,component:n="div",uri:a,location:i}=e,u=s(e,re);const l=o.useRef(),f=o.useRef(!0),p=o.useRef(a),d=o.useRef(i.pathname),h=o.useRef(!1);o.useEffect((()=>(oe++,y(),()=>{oe--,0===oe&&(f.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;a!==p.current&&(p.current=a,e=!0),i.pathname!==d.current&&(d.current=i.pathname,t=!0),h.current=e||t&&i.pathname===a,h.current&&y()}),[a,i]);const y=o.useCallback((()=>{var e;f.current?f.current=!1:(e=l.current,h.current&&e&&e.focus())}),[]);return o.createElement(n,c({style:c({outline:"none"},r),tabIndex:"-1",ref:l},u),t)},ie=["location","primary","children","basepath","baseuri","component"],ce=e=>{const t=b(),r=g();return o.createElement(se,c({},t,r,e))};function se(e){const{location:t,primary:r=!0,children:n,basepath:a,component:i="div"}=e,u=s(e,ie),l=o.Children.toArray(n).reduce(((e,t)=>{const r=F(a)(t);return e.concat(r)}),[]),{pathname:f}=t,p=E(l,f);if(p){const{params:e,uri:n,route:s,route:{value:l}}=p,f=s.default?a:s.path.replace(/\*$/,""),d=c({},e,{uri:n,location:t}),h=o.cloneElement(l,d,l.props.children?o.createElement(ce,{location:t,primary:r},l.props.children):void 0),y=r?ne:i,v=r?c({uri:n,location:t,component:i},u):u;return o.createElement(m.Provider,{value:{baseuri:n,basepath:f}},o.createElement(y,v,h))}return null}const ue=()=>{const e=g();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},le=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},fe=()=>{const e=b();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ue(),r=j(e.basepath,t.pathname);return r?r.params:null},pe=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=b();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const r=ue(),n=_(e,t.baseuri),o=j(n,r.pathname);return o?c({},o.params,{uri:o.uri,path:e}):null}},1562:function(e,t,r){"use strict";r.d(t,{c4:function(){return S},cP:function(){return c},dq:function(){return p},mc:function(){return m},rU:function(){return w}});var n=r(5697),o=r(7294),a=r(7896);r(4506);function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{if("string"==typeof e)return!(e=>s.test(e))(e)},l=()=>"",f=()=>"";function p(e,t=l()){var r;if(!u(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const n=null!=(r=null!=t?t:f())?r:"/";return`${null!=n&&n.endsWith("/")?n.slice(0,-1):n}${e.startsWith("/")?e:`/${e}`}`}const d=e=>null==e?void 0:e.startsWith("/");const h=(e,t)=>"number"==typeof e?e:u(e)?d(e)?function(e){const t=p(e);return t}(e):function(e,t){if(d(e))return e;const r=(0,a.resolve)(e,t);return r}(e,t):e,y=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function m(e){return p(e,f())}const v={activeClassName:n.string,activeStyle:n.object,partiallyActive:n.bool};function b(e){return o.createElement(a.Location,null,(({location:t})=>o.createElement(g,i({},e,{_location:t}))))}class g extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:i({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=c(h(this.props.to,e)),r=t.pathname+t.search;if(e!==r)return ___loader.enqueue(r)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const r=new window.IntersectionObserver((r=>{r.forEach((r=>{e===r.target&&t(r.isIntersecting||r.intersectionRatio>0)}))}));return r.observe(e),{instance:r,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:r=this.defaultGetProps,onClick:n,onMouseEnter:s,state:l,replace:f,_location:p}=e,d=function(e,t){if(null==e)return{};var r,n,o={},a=Object.keys(e);for(n=0;n=0||(o[r]=e[r]);return o}(e,y),m=h(t,p.pathname);return u(m)?o.createElement(a.Link,i({to:m,state:l,getProps:r,innerRef:this.handleRef,onMouseEnter:e=>{s&&s(e);const t=c(m);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(n&&n(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=f;const r=encodeURI(m)===p.pathname;"boolean"!=typeof f&&r&&(t=!0),window.___navigate(m,{state:l,replace:t})}return!0}},d)):o.createElement("a",i({href:m},d))}}g.propTypes=i({},v,{onClick:n.func,to:n.string.isRequired,replace:n.bool,state:n.object});const w=o.forwardRef(((e,t)=>o.createElement(b,i({innerRef:t},e)))),S=(e,t)=>{window.___navigate(h(e,window.location.pathname),t)}},3521:function(e,t,r){"use strict";r.r(t),r.d(t,{Script:function(){return h},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return c},scriptCache:function(){return p},scriptCallbackCache:function(){return d}});var n=r(7294),o=r(7896);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;ti.get(e)||[],set(e,t){const r=i.get(e)||[];r.push(t),i.set(e,r)},delete(e){i.delete(e)}},s="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout((function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const f=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),p=new Set,d=new Map;function h(e){return n.createElement(o.Location,null,(()=>n.createElement(y,e)))}function y(e){const{src:t,strategy:r=u.postHydrate}=e||{},{pathname:i}=(0,o.useLocation)();if((0,n.useEffect)((()=>{let t;switch(r){case u.postHydrate:t=m(e);break;case u.idle:s((()=>{t=m(e)}));break;case u.offMainThread:{const t=b(e);c.set(i,t)}}return()=>{const{script:e,loadCallback:r,errorCallback:n}=t||{};r&&(null==e||e.removeEventListener("load",r)),n&&(null==e||e.removeEventListener("error",n)),null==e||e.remove()}}),[]),r===u.offMainThread){const o=v(e),s=b(e);return"undefined"==typeof window&&c.set(i,s),n.createElement("script",o?a({type:"text/partytown","data-strategy":r,crossOrigin:"anonymous"},s,{dangerouslySetInnerHTML:{__html:v(e)}}):a({type:"text/partytown",src:g(t),"data-strategy":r,crossOrigin:"anonymous"},s))}return null}function m(e){const{id:t,src:r,strategy:n=u.postHydrate,onLoad:o,onError:i}=e||{},c=t||r,s=["load","error"],l={load:o,error:i};if(c){for(const e of s)if(null!=l&&l[e]){var f;const t=d.get(c)||{},{callbacks:r=[]}=(null==t?void 0:t[e])||{};var h,y;r.push(null==l?void 0:l[e]),null!=t&&null!=(f=t[e])&&f.event?null==l||null==(h=l[e])||h.call(l,null==t||null==(y=t[e])?void 0:y.event):d.set(c,a({},t,{[e]:{callbacks:r}}))}if(p.has(c))return null}const m=v(e),g=b(e),S=document.createElement("script");t&&(S.id=t),S.dataset.strategy=n;for(const[a,u]of Object.entries(g))S.setAttribute(a,u);m&&(S.textContent=m),r&&(S.src=r);const O={};if(c){for(const e of s){const t=t=>w(t,c,e);S.addEventListener(e,t),O[`${e}Callback`]=t}p.add(c)}return document.body.appendChild(S),{script:S,loadCallback:O.loadCallback,errorCallback:O.errorCallback}}function v(e){const{dangerouslySetInnerHTML:t,children:r=""}=e||{},{__html:n=""}=t||{};return n||r}function b(e){const t={};for(const[r,n]of Object.entries(e))f.has(r)||(t[r]=n);return t}function g(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,r){const n=d.get(t)||{};for(const a of(null==n||null==(o=n[r])?void 0:o.callbacks)||[]){var o;a(e)}d.set(t,{[r]:{event:e}})}}},function(e){e.O(0,[774],(function(){return t=5824,e(e.s=t);var t}));e.O()}]); //# sourceMappingURL=app-e366050155a2cce69890.js.map