/
app-7604650d349aa930ce29.js
3 lines (3 loc) · 104 KB
/
app-7604650d349aa930ce29.js
1
2
3
/*! For license information please see app-7604650d349aa930ce29.js.LICENSE.txt */
(self.webpackChunkxr_b_website=self.webpackChunkxr_b_website||[]).push([[143],{6751:function(e,t,n){"use strict";n.d(t,{Z:function(){return oe}});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=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,n),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 n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(r){0}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,a=String.fromCharCode,i=Object.assign;function s(e){return e.trim()}function c(e,t,n){return e.replace(t,n)}function l(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function f(e){return e.length}function h(e,t){return t.push(e),e}var m=1,g=1,y=0,v=0,b=0,w="";function S(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:m,column:g,length:i,return:""}}function E(e,t){return i(S("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return b=v>0?u(w,--v):0,g--,10===b&&(g=1,m--),b}function _(){return b=v<y?u(w,v++):0,g++,10===b&&(g=1,m++),b}function P(){return u(w,v)}function k(){return v}function R(e,t){return d(w,e,t)}function x(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function O(e){return m=g=1,y=p(w=e),v=0,[]}function j(e){return w="",e}function M(e){return s(R(v-1,D(91===e?e+2:40===e?e+1:e)))}function T(e){for(;(b=P())&&b<33;)_();return x(e)>2||x(b)>3?"":" "}function N(e,t){for(;--t&&_()&&!(b<48||b>102||b>57&&b<65||b>70&&b<97););return R(e,k()+(t<6&&32==P()&&32==_()))}function D(e){for(;_();)switch(b){case e:return v;case 34:case 39:34!==e&&39!==e&&D(b);break;case 40:41===e&&D(e);break;case 92:_()}return v}function L(e,t){for(;_()&&e+b!==57&&(e+b!==84||47!==P()););return"/*"+R(t,v-1)+"*"+a(47===e?e:_())}function I(e){for(;!x(P());)_();return R(e,v)}var A="-ms-",$="-moz-",W="-webkit-",B="comm",H="rule",U="decl",q="@keyframes";function F(e,t){for(var n="",r=f(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function z(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case U:return e.return=e.return||e.value;case B:return"";case q:return e.return=e.value+"{"+F(e.children,r)+"}";case H:e.value=e.props.join(",")}return p(n=F(e.children,r))?e.return=e.value+"{"+n+"}":""}function Q(e){return j(Z("",null,null,null,[""],e=O(e),0,[0],e))}function Z(e,t,n,r,o,i,s,d,f){for(var m=0,g=0,y=s,v=0,b=0,w=0,S=1,E=1,R=1,x=0,O="",j=o,D=i,A=r,$=O;E;)switch(w=x,x=_()){case 40:if(108!=w&&58==u($,y-1)){-1!=l($+=c(M(x),"&","&\f"),"&\f")&&(R=-1);break}case 34:case 39:case 91:$+=M(x);break;case 9:case 10:case 13:case 32:$+=T(w);break;case 92:$+=N(k()-1,7);continue;case 47:switch(P()){case 42:case 47:h(G(L(_(),k()),t,n),f);break;default:$+="/"}break;case 123*S:d[m++]=p($)*R;case 125*S:case 59:case 0:switch(x){case 0:case 125:E=0;case 59+g:-1==R&&($=c($,/\f/g,"")),b>0&&p($)-y&&h(b>32?X($+";",r,n,y-1):X(c($," ","")+";",r,n,y-2),f);break;case 59:$+=";";default:if(h(A=J($,t,n,m,g,o,d,O,j=[],D=[],y),i),123===x)if(0===g)Z($,t,A,A,j,i,y,d,D);else switch(99===v&&110===u($,3)?100:v){case 100:case 108:case 109:case 115:Z(e,A,A,r&&h(J(e,A,A,0,0,o,d,O,o,j=[],y),D),o,D,y,d,r?j:D);break;default:Z($,A,A,A,[""],D,0,d,D)}}m=g=b=0,S=R=1,O=$="",y=s;break;case 58:y=1+p($),b=w;default:if(S<1)if(123==x)--S;else if(125==x&&0==S++&&125==C())continue;switch($+=a(x),x*S){case 38:R=g>0?1:($+="\f",-1);break;case 44:d[m++]=(p($)-1)*R,R=1;break;case 64:45===P()&&($+=M(_())),v=P(),g=y=p(O=$+=I(k())),x++;break;case 45:45===w&&2==p($)&&(S=0)}}return i}function J(e,t,n,r,a,i,l,u,p,h,m){for(var g=a-1,y=0===a?i:[""],v=f(y),b=0,w=0,E=0;b<r;++b)for(var C=0,_=d(e,g+1,g=o(w=l[b])),P=e;C<v;++C)(P=s(w>0?y[C]+" "+_:c(_,/&\f/g,y[C])))&&(p[E++]=P);return S(e,t,n,0===a?H:u,p,h,m)}function G(e,t,n){return S(e,t,n,B,a(b),d(e,2,-2),0)}function X(e,t,n,r){return S(e,t,n,U,d(e,0,r),d(e,r+1,-1),r)}var Y=function(e,t,n){for(var r=0,o=0;r=o,o=P(),38===r&&12===o&&(t[n]=1),!x(o);)_();return R(e,v)},K=function(e,t){return j(function(e,t){var n=-1,r=44;do{switch(x(r)){case 0:38===r&&12===P()&&(t[n]=1),e[n]+=Y(v-1,t,n);break;case 2:e[n]+=M(r);break;case 4:if(44===r){e[++n]=58===P()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}}while(r=_());return e}(O(e),t))},V=new WeakMap,ee=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||V.get(n))&&!r){V.set(e,!0);for(var o=[],a=K(t,o),i=n.props,s=0,c=0;s<a.length;s++)for(var l=0;l<i.length;l++,c++)e.props[c]=o[s]?a[s].replace(/&\f/g,i[l]):i[l]+" "+a[s]}}},te=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ne(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return W+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return W+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return W+e+$+e+A+e+e;case 6828:case 4268:return W+e+A+e+e;case 6165:return W+e+A+"flex-"+e+e;case 5187:return W+e+c(e,/(\w+).+(:[^]+)/,W+"box-$1$2"+A+"flex-$1$2")+e;case 5443:return W+e+A+"flex-item-"+c(e,/flex-|-self/,"")+e;case 4675:return W+e+A+"flex-line-pack"+c(e,/align-content|flex-|-self/,"")+e;case 5548:return W+e+A+c(e,"shrink","negative")+e;case 5292:return W+e+A+c(e,"basis","preferred-size")+e;case 6060:return W+"box-"+c(e,"-grow","")+W+e+A+c(e,"grow","positive")+e;case 4554:return W+c(e,/([^-])(transform)/g,"$1"+W+"$2")+e;case 6187:return c(c(c(e,/(zoom-|grab)/,W+"$1"),/(image-set)/,W+"$1"),e,"")+e;case 5495:case 3959:return c(e,/(image-set\([^]*)/,W+"$1$`$1");case 4968:return c(c(e,/(.+:)(flex-)?(.*)/,W+"box-pack:$3"+A+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+W+e+e;case 4095:case 3583:case 4068:case 2532:return c(e,/(.+)-inline(.+)/,W+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return c(e,/(.+:)(.+)-([^]+)/,"$1"+W+"$2-$3$1"+$+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~l(e,"stretch")?ne(c(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~l(e,"!important")&&10))){case 107:return c(e,":",":"+W)+e;case 101:return c(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+W+(45===u(e,14)?"inline-":"")+"box$3$1"+W+"$2$3$1"+A+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return W+e+A+c(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return W+e+A+c(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return W+e+A+c(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return W+e+A+e+e}return e}var re=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case U:e.return=ne(e.value,e.length);break;case q:return F([E(e,{value:c(e.value,"@","@"+W)})],r);case H: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 F([E(e,{props:[c(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return F([E(e,{props:[c(t,/:(plac\w+)/,":"+W+"input-$1")]}),E(e,{props:[c(t,/:(plac\w+)/,":-moz-$1")]}),E(e,{props:[c(t,/:(plac\w+)/,A+"input-$1")]})],r)}return""}))}}],oe=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o=e.stylisPlugins||re;var a,i,s={},c=[];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(" "),n=1;n<t.length;n++)s[t[n]]=!0;c.push(e)}));var l,u,d,p,h=[z,(p=function(e){l.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],m=(u=[ee,te].concat(o,h),d=f(u),function(e,t,n,r){for(var o="",a=0;a<d;a++)o+=u[a](e,t,n,r)||"";return o});i=function(e,t,n,r){l=n,F(Q(e?e+"{"+t.styles+"}":t.styles),m),r&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new r({key:t,container:a,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:i};return g.sheet.hydrate(c),g}},5042:function(e,t,n){"use strict";function r(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}n.d(t,{Z:function(){return r}})},5260:function(e,t,n){"use strict";n.d(t,{E:function(){return g},T:function(){return p},c:function(){return h},h:function(){return l},i:function(){return c},w:function(){return d}});var r=n(7294),o=n(6751),a=n(444),i=n(6797),s=n(7278),c=!0,l={}.hasOwnProperty,u=r.createContext("undefined"!=typeof HTMLElement?(0,o.Z)({key:"css"}):null);u.Provider;var d=function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(u);return e(t,o,n)}))};c||(d=function(e){return function(t){var n=(0,r.useContext)(u);return null===n?(n=(0,o.Z)({key:"css"}),r.createElement(u.Provider,{value:n},e(t,n))):e(t,n)}});var p=r.createContext({});var f="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",h=function(e,t){var n={};for(var r in t)l.call(t,r)&&(n[r]=t[r]);return n[f]=e,n},m=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,a.hC)(t,n,r),(0,s.L)((function(){return(0,a.My)(t,n,r)})),null};var g=d((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var s=e[f],c=[o],u="";"string"==typeof e.className?u=(0,a.fp)(t.registered,c,e.className):null!=e.className&&(u=e.className+" ");var d=(0,i.O)(c,void 0,r.useContext(p));u+=t.key+"-"+d.name;var h={};for(var g in e)l.call(e,g)&&"css"!==g&&g!==f&&(h[g]=e[g]);return h.ref=n,h.className=u,r.createElement(r.Fragment,null,r.createElement(m,{cache:t,serialized:d,isStringTag:"string"==typeof s}),r.createElement(s,h))}))},6797:function(e,t,n){"use strict";n.d(t,{O:function(){return h}});var r={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},o=n(5042),a=/[A-Z]|^ms/g,i=/_EMO_([^_]+?)_([^]*?)_EMO_/g,s=function(e){return 45===e.charCodeAt(1)},c=function(e){return null!=e&&"boolean"!=typeof e},l=(0,o.Z)((function(e){return s(e)?e:e.replace(a,"-$&").toLowerCase()})),u=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(i,(function(e,t,n){return p={name:t,styles:n,next:p},t}))}return 1===r[e]||s(e)||"number"!=typeof t||0===t?t:t+"px"};function d(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return p={name:n.name,styles:n.styles,next:p},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)p={name:r.name,styles:r.styles,next:p},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=d(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":c(i)&&(r+=l(a)+":"+u(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var s=d(e,t,i);switch(a){case"animation":case"animationName":r+=l(a)+":"+s+";";break;default:r+=a+"{"+s+"}"}}else for(var p=0;p<i.length;p++)c(i[p])&&(r+=l(a)+":"+u(a,i[p])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=p,a=n(e);return p=o,d(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var p,f=/label:\s*([^\s;\n{]+)\s*(;|$)/g;var h=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";p=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=d(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=d(n,t,e[i]),r&&(o+=a[i]);f.lastIndex=0;for(var s,c="";null!==(s=f.exec(o));)c+="-"+s[1];var l=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+c;return{name:l,styles:o,next:p}}},7278:function(e,t,n){"use strict";var r;n.d(t,{L:function(){return i},j:function(){return s}});var o=n(7294),a=!!(r||(r=n.t(o,2))).useInsertionEffect&&(r||(r=n.t(o,2))).useInsertionEffect,i=a||function(e){return e()},s=a||o.useLayoutEffect},444:function(e,t,n){"use strict";n.d(t,{My:function(){return a},fp:function(){return r},hC:function(){return o}});function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},a=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},9996:function(e){"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)};var n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?c((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function i(e,t){try{return t in e}catch(n){return!1}}function s(e,t,n){var o={};return n.isMergeableObject(e)&&a(e).forEach((function(t){o[t]=r(e[t],n)})),a(t).forEach((function(a){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(i(e,a)&&n.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return c;var n=t.customMerge(e);return"function"==typeof n?n:c}(a,n)(e[a],t[a],n):o[a]=r(t[a],n))})),o}function c(e,n,a){(a=a||{}).arrayMerge=a.arrayMerge||o,a.isMergeableObject=a.isMergeableObject||t,a.cloneUnlessOtherwiseSpecified=r;var i=Array.isArray(n);return i===Array.isArray(e)?i?a.arrayMerge(e,n,a):s(e,n,a):r(n,a)}c.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return c(e,n,t)}),{})};var l=c;e.exports=l},4506:function(e,t){"use strict";t.H=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.H=(e,t="always")=>{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},9679:function(e,t,n){"use strict";t.p2=t.$C=void 0;var r=n(1432);t.$C=r.ScrollHandler;var o=n(4855);t.p2=o.useScrollRestoration},1432:function(e,t,n){"use strict";var r=n(4836);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(6115)),a=r(n(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 n=l(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var a in e)if("default"!==a&&Object.prototype.hasOwnProperty.call(e,a)){var i=o?Object.getOwnPropertyDescriptor(e,a):null;i&&(i.get||i.set)?Object.defineProperty(r,a,i):r[a]=e[a]}r.default=e,n&&n.set(e,r);return r}(n(7294)),s=r(n(5697)),c=n(1142);function l(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(l=function(e){return e?n:t})(e)}var u=i.createContext(new c.SessionStorage);t.ScrollContext=u,u.displayName="GatsbyScrollContext";var d=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),a=0;a<n;a++)r[a]=arguments[a];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new c.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,a.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),r?this.scrollToHash(decodeURI(r),void 0):e&&this.windowScroll(e,void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return i.createElement(u.Provider,{value:this._stateStorage},this.props.children)},t}(i.Component);t.ScrollHandler=d,d.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(a){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),a=JSON.stringify(r);try{window.sessionStorage.setItem(o,a)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(a)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},4855:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,a.useLocation)(),n=(0,o.useContext)(r.ScrollContext),i=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(i.current){var r=n.read(t,e);i.current.scrollTo(0,r||0)}}),[t.key]),{ref:i,onScroll:function(){i.current&&n.save(t,e,i.current.scrollTop)}}};var r=n(1432),o=n(7294),a=n(7896)},4094:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(3521),n(2731);t.onInitialClientRender=()=>{}},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,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const a=(0,o.getForwards)(e),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,r.partytownSnippet)({forward:a}),document.head.appendChild(i)};var r=n(2911),o=n(7730)},5418:function(e,t,n){t.components={"component---src-pages-404-js":()=>n.e(883).then(n.bind(n,429)),"component---src-pages-about-js":()=>Promise.all([n.e(532),n.e(682)]).then(n.bind(n,2600)),"component---src-pages-decal-homework-hw-1-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(337)]).then(n.bind(n,4997)),"component---src-pages-decal-homework-hw-2-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(589),n.e(834)]).then(n.bind(n,46)),"component---src-pages-decal-homework-hw-3-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(886)]).then(n.bind(n,3020)),"component---src-pages-decal-homework-hw-4-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(7)]).then(n.bind(n,7113)),"component---src-pages-decal-homework-hw-5-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(152)]).then(n.bind(n,6831)),"component---src-pages-decal-homework-index-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(721)]).then(n.bind(n,4165)),"component---src-pages-decal-index-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(289)]).then(n.bind(n,8945)),"component---src-pages-decal-labs-index-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(466)]).then(n.bind(n,232)),"component---src-pages-decal-labs-oculus-index-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(457)]).then(n.bind(n,4035)),"component---src-pages-decal-labs-oculus-lab-1-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(174)]).then(n.bind(n,5391)),"component---src-pages-decal-labs-oculus-lab-2-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(589),n.e(97)]).then(n.bind(n,703)),"component---src-pages-decal-labs-oculus-lab-3-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(589),n.e(185)]).then(n.bind(n,5032)),"component---src-pages-decal-labs-oculus-lab-4-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(589),n.e(625)]).then(n.bind(n,1318)),"component---src-pages-decal-lectures-index-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(473)]).then(n.bind(n,2772)),"component---src-pages-decal-resources-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(672)]).then(n.bind(n,6546)),"component---src-pages-home-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(79)]).then(n.bind(n,2343)),"component---src-pages-index-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(678)]).then(n.bind(n,3547)),"component---src-pages-projects-js":()=>Promise.all([n.e(774),n.e(532),n.e(284),n.e(853)]).then(n.bind(n,3083))}},4741:function(e,t,n){e.exports=[{plugin:n(6133),options:{plugins:[]}},{plugin:n(9608),options:{plugins:[],icon:"src/images/icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"0077ffc3322c179afc0c420fdd6e598f"}},{plugin:n(4094),options:{plugins:[]}}]},3092:function(e,t,n){const r=n(4741),{getResourceURLsForPathname:o,loadPage:a,loadPageSync:i}=n(1975).jN;t.h=function(e,t,n,s){void 0===t&&(t={});let c=r.map((n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=a,t.loadPageSync=i;const r=n.plugin[e](t,n.options);return r&&s&&(t=s({args:t,result:r,plugin:n})),r}));return c=c.filter((e=>void 0!==e)),c.length>0?c:n?[n]:[]},t.I=(e,t,n)=>r.reduce(((n,r)=>r.plugin[e]?n.then((()=>r.plugin[e](t,r.options))):n),Promise.resolve())},4004:function(e,t){t.M=()=>""},8299:function(e,t,n){"use strict";n.d(t,{Z:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map((function(e){e(n)})),(e["*"]||[]).slice().map((function(e){e(t,n)}))}}}()},7802:function(e,t,n){"use strict";n.d(t,{UD:function(){return p},Cj:function(){return h},GA:function(){return f},DS:function(){return d}});var r=n(7896),o=n(1505),a=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},i=n(6073);const s=new Map;let c=[];const l=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=n+"?"+encodeURIComponent(r)}const n=decodeURIComponent(t);return(0,o.Z)(n,decodeURIComponent("")).split("#")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const d=e=>{c=e},p=e=>{const t=m(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?a(o.route.originalPath):null},f=e=>{const t=m(e),n=c.map((e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}})),o=(0,r.pick)(n,t);return o?o.params:{}},h=e=>{const t=l(u(e));if(s.has(t))return s.get(t);const n=(0,i.J)(e);if(n)return h(n.toPath);let r=p(t);return r||(r=m(e)),s.set(t,r),r},m=e=>{let t=l(u(e));return"/index.html"===t&&(t="/"),t=a(t),t}},1883:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return s.rU},PageRenderer:function(){return a()},Script:function(){return C.Script},ScriptStrategy:function(){return C.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return c.i1},StaticQueryContext:function(){return c.B9},collectedScriptsByPage:function(){return C.collectedScriptsByPage},graphql:function(){return P},navigate:function(){return s.c4},parsePath:function(){return s.cP},prefetchPathname:function(){return _},scriptCache:function(){return C.scriptCache},scriptCallbackCache:function(){return C.scriptCallbackCache},useScrollRestoration:function(){return i.p2},useStaticQuery:function(){return c.K2},withAssetPrefix:function(){return s.mc},withPrefix:function(){return s.dq}});var r=n(1975),o=n(2743),a=n.n(o),i=n(9679),s=n(1562),c=n(1757);var l=n(4578);function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var d=n(9611);function p(e,t,n){return p=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var o=new(Function.bind.apply(e,r));return n&&(0,d.Z)(o,n.prototype),o},p.apply(null,arguments)}function f(e){var t="function"==typeof Map?new Map:void 0;return f=function(e){if(null===e||(n=e,-1===Function.toString.call(n).indexOf("[native code]")))return e;var n;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return p(e,arguments,u(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),(0,d.Z)(r,e)},f(e)}var h=n(7294),m=n(4004),g=n(8995);const y=e=>{let{sliceId:t,children:n}=e;const r=[h.createElement("slice-start",{id:t+"-1"}),h.createElement("slice-end",{id:t+"-1"})];return n&&(r.push(n),r.push(h.createElement("slice-start",{id:t+"-2"}),h.createElement("slice-end",{id:t+"-2"}))),r},v=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const a=(0,h.useContext)(g.u0),i=(0,h.useContext)(g.Db),s=a[t];if(!s){if(n)return null;throw new Error('Slice "'+s+'" for "'+t+'" slot not found')}const c=((e,t)=>Object.keys(t).length?e+"-"+(0,m.M)(t):e)(s,o);let l=i[c];return l?r&&(l.hasChildren=!0):i[c]=l={props:o,sliceName:s,hasChildren:!!r},h.createElement(y,{sliceId:c},r)},b=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const a=(0,h.useContext)(g.u0),i=(0,h.useContext)(g.m3),s=a[t],c=i.get(s);if(!c){if(n)return null;throw new Error('Slice "'+s+'" for "'+t+'" slot not found')}return h.createElement(c.component,Object.assign({sliceContext:c.sliceContext,data:c.data},o),r)};function w(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,h.useContext)(g.Bs),r=E(e);if(Object.keys(r).length)throw new S("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return h.createElement(v,t);if("browser"===n.renderEnvironment)return h.createElement(b,t);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return h.createElement(b,t);if("slices"===n.renderEnvironment){let t="";try{t='\n\nSlice component "'+n.sliceRoot.name+'" ('+n.sliceRoot.componentPath+') tried to render <Slice alias="'+e.alias+'"/>'}catch{}throw new Error("Nested slices are not supported."+t+"\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices")}throw new Error('Slice context "'+n.renderEnvironment+'" is not supported.')}}let S=function(e){function t(n,r,o,a){var i;const s=Object.entries(o).map((e=>{let[t,n]=e;return'not serializable "'+n+'" type passed to "'+t+'" prop'})).join(", "),c="SlicePropsError";let l="",u="";if(n){const e=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),l="\n"+e.join("\n"),u='Slice "'+r+'" was passed props that are not serializable ('+s+")."}else{u=c+': Slice "'+r+'" was passed props that are not serializable ('+s+").";l=u+"\n"+(new Error).stack.trim().split("\n").slice(2).join("\n")}return(i=e.call(this,u)||this).name=c,l?i.stack=l:Error.captureStackTrace(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(i),t),a&&(i.forcedLocation={...a,functionName:"Slice"}),i}return(0,l.Z)(t,e),t}(f(Error));const E=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[o,a]of Object.entries(e)){if(null==a||!r&&"children"===o)continue;const e=r?r+"."+o:o;"function"==typeof a?t[e]=typeof a:"object"==typeof a&&n.indexOf(a)<=0&&(n.push(a),E(a,t,n,e))}return t};var C=n(3521);const _=r.ZP.enqueue;function P(){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.")}},1975:function(e,t,n){"use strict";n.d(t,{uQ:function(){return d},kL:function(){return S},ZP:function(){return _},Nt:function(){return k},hs:function(){return P},jN:function(){return C},N1:function(){return E}});var r=n(4578),o=n(5785),a=n(904);const i=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise(((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach((e=>{o.setAttribute(e,t[e])})),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(e){return new Promise(((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)}))},s={};var c=function(e,t){return new Promise((n=>{s[e]?n():i(e,t).then((()=>{n(),s[e]=!0})).catch((()=>{}))}))},l=n(8299),u=n(7802);const d={Error:"error",Success:"success"},p=e=>{const[t,n]=e.split("?");var r;return"/page-data/"+("/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r)+"/page-data.json"+(n?"?"+n:"")},f=e=>e.startsWith("//");function h(e,t){return void 0===t&&(t="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const m=/bot|crawler|spider|crawling/i,g=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function y(e){return new Promise((t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout((()=>{y(e).then(t)}),200)}}))}let v=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,u.DS)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=h(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then((t=>(this.inFlightNetworkRequests.delete(e),t))).catch((t=>{throw this.inFlightNetworkRequests.delete(e),t}))},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some((e=>e))},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=p(t);return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{const n=JSON.parse(a);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+="?"+r),Object.assign(e,{status:d.Success,payload:n})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:d.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:d.Error})}))},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=p(t).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:a}=r;if(200===o)try{return Object.assign(e,{status:d.Success,payload:a})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:d.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:d.Error})}))},t.loadPageDataJson=function(e){const t=(0,u.Cj)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then((e=>(this.pageDataDb.set(t,e),e)))},t.loadPartialHydrationJson=function(e){const t=(0,u.Cj)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then((e=>(this.partialHydrationDb.set(t,e),e)))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return h("/slice-data/"+e+".json","GET").then((t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}}))},t.findMatchPath=function(e){return(0,u.UD)(e)},t.loadPage=function(e){const t=(0,u.Cj)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const r=Promise.all(n).then((e=>{const[n,r,i]=e;if(r.status===d.Error||(null==i?void 0:i.status)===d.Error)return{status:d.Error};let s=r.payload;const{componentChunkName:c,staticQueryHashes:u=[],slicesMap:p={}}=s,f={},h=Array.from(new Set(Object.values(p))),m=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then((t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n}));return this.sliceInflightDb.set(e.name,t),t.then((t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)})),t};return Promise.all(h.map((e=>this.loadSliceDataJson(e)))).then((e=>{const p=[],h=(0,o.Z)(u);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){p.push({name:n,...t});for(const e of t.staticQueryHashes)h.includes(e)||h.push(e)}const v=[Promise.all(p.map(m)),this.loadComponent(c,"head")];v.push(this.loadComponent(c));const b=Promise.all(v).then((e=>{const[t,o,c]=e;f.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(f.status=d.Error,f.error=n);let l;if((!c||c instanceof Error)&&(f.status=d.Error,f.error=c),f.status!==d.Error){if(f.status=d.Success,!0!==r.notFound&&!0!==(null==i?void 0:i.notFound)||(f.notFound=!0),s=Object.assign(s,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==i?void 0:i.payload)){l=g(s,null,o),l.partialHydration=i.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(i.payload))},pull(e){e.close()},cancel(){}});return y((0,a.createFromReadableStream)(e)).then((e=>(l.partialHydration=e,l)))}l=g(s,c,o)}return l})),w=Promise.all(h.map((e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet("/page-data/sq/d/"+e+".json").then((t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}})).catch((()=>{throw new Error("We couldn't load \"/page-data/sq/d/"+e+'.json"')}))}))).then((e=>{const t={};return e.forEach((e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r})),t}));return Promise.all([b,w]).then((e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},f.payload=n,l.Z.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,f),f.error?{error:f.error,status:f.status}:n})).catch((e=>({error:e,status:d.Error})))}))}));return r.then((()=>{this.inFlightDb.delete(t)})).catch((e=>{throw this.inFlightDb.delete(t),e})),this.inFlightDb.set(t,r),r},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,u.Cj)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!m.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise(((e,n)=>{t.resolve=e,t.reject=n})),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",(()=>{const t=this.prefetchQueued.findIndex((t=>{let[n]=t;return n===e}));-1!==t&&this.prefetchQueued.splice(t,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))((()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map((e=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,u.Cj)(t)).then((()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)}))})));this.prefetchQueued.length?t.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},t.doPrefetch=function(e){const t=p(e);return c(t,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(e)))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,u.Cj)(e),n=this.pageDataDb.get(t);if(n){const e=g(n.payload);return[].concat((0,o.Z)(b(e.page.componentChunkName)),[p(t)])}return null},t.isPageNotFound=function(e){const t=(0,u.Cj)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then((t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(a){}return o}))},e}();const b=e=>(window.___chunkMapping[e]||[]).map((e=>""+e));let w,S=function(e){function t(t,n,r){var o;return o=e.call(this,(function(e,n){if(void 0===n&&(n="components"),!t[n="components"][e])throw new Error("We couldn't find the correct component chunk with the name \""+e+'"');return t[n][e]().catch((e=>e))}),n)||this,r&&o.pageDataDb.set((0,u.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.Z)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then((e=>{if(e.status!==d.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=b(n);return Promise.all(r.map(c)).then((()=>t))}))},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then((e=>e.notFound?f(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:d.Error}:e)):e))},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then((e=>e.notFound?f(t)?e:h(t,"HEAD").then((t=>200===t.status?{status:d.Error}:e)):e))},t}(v);const E=e=>{w=e},C={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var _=C;function P(){return w?w.staticQueryDb:{}}function k(){return w?w.slicesDb:{}}},4779:function(e,t,n){"use strict";n.d(t,{Z:function(){return _}});var r=n(7294),o=n(5697),a=n.n(o),i=n(3092),s=n(7802),c=n(5785),l=n(1883),u=n(7896),d=n(4941);function p(e){let{children:t,callback:n}=e;return(0,r.useEffect)((()=>{n()})),t}const f=["link","meta","style","title","base","noscript","script","html","body"];function h(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function m(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const l of e.childNodes){var o,a;const e=l.nodeName.toLowerCase(),u=null===(o=l.attributes)||void 0===o||null===(a=o.id)||void 0===a?void 0:a.value;if(v(l)){if(y(e))if("html"===e||"body"===e)for(const n of l.attributes){const r="style"===n.name;var i;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=""+(null!==(i=t[e])&&void 0!==i&&i.style?t[e].style:"")+n.value+" "}else{let e=l.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=g(e)),u)if(n.has(u)){var s;const t=n.get(u);null===(s=r[t].parentNode)||void 0===s||s.removeChild(r[t]),r[t]=e}else r.push(e),n.set(u,r.length-1);else r.push(e)}l.childNodes.length&&r.push.apply(r,(0,c.Z)(m(l,t).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function g(e){const t=document.createElement("script");for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function y(e){return f.includes(e)}function v(e){return 1===e.nodeType}const b=document.createElement("div"),w={html:[],body:[]},S=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=m(b);w.html=Object.keys(n.html),w.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");r&&Object.entries(t).forEach((e=>{let[t,n]=e;r.setAttribute(t,n)}));const o=document.querySelector("body");o&&Object.entries(n).forEach((e=>{let[t,n]=e;o.setAttribute(t,n)}))}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,c.Z)(t));const a=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:o}=e;for(const a of t){const e=n.findIndex((e=>h(e,a)));-1===e?r(a):n.splice(e,1)}for(const a of n)o(a)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>a.push(e)}),(e=document.head).append.apply(e,a)};function E(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:o}=e;(0,r.useEffect)((()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error('Expected "Head" export to be a function got "'+typeof e+'".')}(t.Head);const{render:a}=(0,d.U)(),s=r.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),c=(0,i.h)("wrapRootElement",{element:s},s,(e=>{let{result:t}=e;return{element:t}})).pop();a(r.createElement(p,{callback:S},r.createElement(l.StaticQueryContext.Provider,{value:n},r.createElement(u.LocationProvider,null,c))),b)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach((t=>{e&&e.removeAttribute(t)}))}if(n){const e=document.querySelector("body");n.forEach((t=>{e&&e.removeAttribute(t)}))}}(w)}}))}function C(e){const t={...e,params:{...(0,s.GA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});E({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,i.h)("wrapPageElement",{element:n,props:t},n,(e=>{let{result:n}=e;return{element:n,props:t}})).pop()}C.propTypes={location:a().object.isRequired,pageResources:a().object.isRequired,data:a().object,pageContext:a().object.isRequired};var _=C},5824:function(e,t,n){"use strict";var r=n(4578),o=n(3092),a=n(7294),i=n(7896),s=n(9679),c=n(1757),l=n(8995),u=n(1975),d=n(6073),p=n(8299);const f={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(1562);function m(e){const t=(0,d.J)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let g="";window.addEventListener("unhandledrejection",(e=>{/loading chunk \d* failed./i.test(e.reason)&&g&&(window.location.pathname=g)}));const y=(e,t)=>{m(e.pathname)||(g=e.pathname,(0,o.h)("onPreRouteUpdate",{location:e,prevLocation:t}))},v=(e,t)=>{m(e.pathname)||(0,o.h)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void i.globalHistory.navigate(e);const{pathname:n,search:r,hash:a}=(0,h.cP)(e),s=(0,d.J)(n);if(s&&(e=s.toPath+r+a),window.___swUpdated)return void(window.location=n+r+a);const c=setTimeout((()=>{p.Z.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.h)("onRouteUpdateDelayed",{location:window.location})}),1e3);u.ZP.loadPage(n+r).then((o=>{if(!o||o.status===u.uQ.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(c);o&&o.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),window.location=n+r+a),(0,i.navigate)(e,t),clearTimeout(c)}))};function w(e,t){let{location:n}=t;const{pathname:r,hash:a}=n,i=(0,o.h)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return a?decodeURI(a.slice(1)):[0,0]}return!0}let S=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=a.createRef(),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame((()=>{let e="new page at "+this.props.location.pathname;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n="Navigated to "+e;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return a.createElement("div",Object.assign({},f,{ref:this.announcementRef}))},t}(a.Component);const E=(e,t)=>{var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)};let C=function(e){function t(t){var n;return n=e.call(this,t)||this,y(t.location,null),n}(0,r.Z)(t,e);var n=t.prototype;return n.componentDidMount=function(){v(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!E(this.props.location,e.location)&&(y(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){E(e.location,this.props.location)&&v(this.props.location,e.location)},n.render=function(){return a.createElement(a.Fragment,null,this.props.children,a.createElement(S,{location:location}))},t}(a.Component);var _=n(4779),P=n(5418);function k(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var R=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||u.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.Z)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:u.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){u.ZP.loadPage(e).then((t=>{t&&t.status!==u.uQ.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)}))},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return k(e.props,t)||k(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(a.Component),x=n(1505),O=n(4941);const j=new u.kL(P,[],window.pageData);(0,u.N1)(j),j.setApiRunner(o.h);const{render:M,hydrate:T}=(0,O.U)();window.asyncRequires=P,window.___emitter=p.Z,window.___loader=u.jN,i.globalHistory.listen((e=>{e.location.action=e.action})),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>b(e,t);const N="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((()=>{(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(9939);const e=e=>a.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},a.createElement(_.Z,e)),t=a.createContext({}),d={renderEnvironment:"browser"};let p=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.Z)(n,e),n.prototype.render=function(){const{children:e}=this.props;return a.createElement(i.Location,null,(n=>{let{location:r}=n;return a.createElement(R,{location:r},(n=>{let{pageResources:r,location:o}=n;const i=(0,u.hs)(),s=(0,u.Nt)();return a.createElement(c.B9.Provider,{value:i},a.createElement(l.Bs.Provider,{value:d},a.createElement(l.m3.Provider,{value:s},a.createElement(l.u0.Provider,{value:r.page.slicesMap},a.createElement(t.Provider,{value:{pageResources:r,location:o}},e)))))}))}))},n}(a.Component),f=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.Z)(o,n),o.prototype.render=function(){return a.createElement(t.Consumer,null,(t=>{let{pageResources:n,location:r}=t;return a.createElement(C,{location:r},a.createElement(s.$C,{location:r,shouldUpdateScroll:w},a.createElement(i.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},a.createElement(e,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,x.Z)(r.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:r,pageResources:n},n.json)))))}))},o}(a.Component);const{pagePath:h,location:m}=window;h&&""+h!==m.pathname+(h.includes("?")?m.search:"")&&!(j.findMatchPath((0,x.Z)(m.pathname,""))||h.match(/^\/(404|500)(\/?|.html)$/)||h.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,i.navigate)(""+h+(h.includes("?")?"":m.search)+m.hash,{replace:!0});const g=()=>{try{return sessionStorage}catch{return null}};u.jN.loadPage(m.pathname+m.search).then((e=>{var t;const n=g();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n)){if(!("1"===n.getItem(N)))return n.setItem(N,"1"),void window.location.reload(!0)}if(n&&n.removeItem(N),!e||e.status===u.uQ.Error){const t="page resources for "+m.pathname+" not found. Not rendering React";if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const r=(0,o.h)("wrapRootElement",{element:a.createElement(f,null)},a.createElement(f,null),(e=>{let{result:t}=e;return{element:t}})).pop(),i=function(){const e=a.useRef(!1);return a.useEffect((()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),a.createElement(p,null,r)},s=document.getElementById("gatsby-focus-wrapper");let c=M;s&&s.children.length&&(c=T);const l=(0,o.h)("replaceHydrateFunction",void 0,c)[0];function d(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;l(a.createElement(i,null),e)}const h=document;if("complete"===h.readyState||"loading"!==h.readyState&&!h.documentElement.doScroll)setTimeout((function(){d()}),0);else{const e=function(){h.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),d()};h.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}}))}))},224:function(e,t,n){"use strict";n.r(t);var r=n(7294),o=n(1975),a=n(4779);t.default=e=>{let{location:t}=e;const n=o.ZP.loadPageSync(t.pathname);return n?r.createElement(a.Z,{location:t,pageResources:n,...n.json}):null}},2743:function(e,t,n){var r;e.exports=(r=n(224))&&r.default||r},4941:function(e,t,n){"use strict";n.d(t,{U:function(){return o}});const r=new WeakMap;function o(){const e=n(745);return{render:(t,n)=>{let o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},6073:function(e,t,n){"use strict";n.d(t,{J:function(){return a}});const r=new Map,o=new Map;function a(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach((e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)}))},9939:function(e,t,n){"use strict";n.r(t);var r=n(3092);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then((function(e){e.addEventListener("updatefound",(()=>{(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",(()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:e})}}))}))})).catch((function(e){console.error("Error during service worker registration:",e)}))},8995:function(e,t,n){"use strict";n.d(t,{Bs:function(){return a},Db:function(){return s},m3:function(){return o},u0:function(){return i}});var r=n(7294);const o=r.createContext({}),a=r.createContext({}),i=r.createContext({}),s=r.createContext({})},1757:function(e,t,n){"use strict";n.d(t,{i1:function(){return c},B9:function(){return o},K2:function(){return l}});var r=n(7294);const o=(a="StaticQuery",i={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(a,i):r.createContext(i));var a,i;function s(e){let{staticQueryData:t,data:n,query:o,render:a}=e;const i=n?n.data:t[o]&&t[o].data;return r.createElement(r.Fragment,null,i&&a(i),!i&&r.createElement("div",null,"Loading (StaticQuery)"))}const c=e=>{const{data:t,query:n,render:a,children:i}=e;return r.createElement(o.Consumer,null,(e=>r.createElement(s,{data:t,query:n,render:a||i,staticQueryData:e})))},l=e=>{var t;r.useContext;const n=r.useContext(o);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`"+e+"`);\n");if(null!==(t=n[e])&&void 0!==t&&t.data)return n[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,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(t+"/")?e.slice(t.length):e:e}n.d(t,{Z:function(){return r}})},9608:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(1883),n(292);const r=function(e,t){let{location:n}=e}},292:function(e,t,n){"use strict";var r=n(1883)},6133:function(e,t,n){"use strict";n.r(t),n.d(t,{wrapRootElement:function(){return Re}});var r=n(7294),o=n(5260),a=n(444),i=n(7278),s=n(6797),c=(n(6751),n(434),n(8679),function(e,t){var n=arguments;if(null==t||!o.h.call(t,"css"))return r.createElement.apply(void 0,n);var a=n.length,i=new Array(a);i[0]=o.E,i[1]=(0,o.c)(e,t);for(var s=2;s<a;s++)i[s]=n[s];return r.createElement.apply(null,i)}),l=(0,o.w)((function(e,t){var n=e.styles,c=(0,s.O)([n],void 0,r.useContext(o.T));if(!o.i){for(var l,u=c.name,d=c.styles,p=c.next;void 0!==p;)u+=" "+p.name,d+=p.styles,p=p.next;var f=!0===t.compat,h=t.insert("",{name:u,styles:d},t.sheet,f);return f?null:r.createElement("style",((l={})["data-emotion"]=t.key+"-global "+u,l.dangerouslySetInnerHTML={__html:h},l.nonce=t.sheet.nonce,l))}var m=r.useRef();return(0,i.j)((function(){var e=t.key+"-global",n=new t.sheet.constructor({key:e,nonce:t.sheet.nonce,container:t.sheet.container,speedy:t.sheet.isSpeedy}),r=!1,o=document.querySelector('style[data-emotion="'+e+" "+c.name+'"]');return t.sheet.tags.length&&(n.before=t.sheet.tags[0]),null!==o&&(r=!0,o.setAttribute("data-emotion",e),n.hydrate([o])),m.current=[n,r],function(){n.flush()}}),[t]),(0,i.j)((function(){var e=m.current,n=e[0];if(e[1])e[1]=!1;else{if(void 0!==c.next&&(0,a.My)(t,c.next,!0),n.tags.length){var r=n.tags[n.tags.length-1].nextElementSibling;n.before=r,n.flush()}t.insert("",c,n,!1)}}),[t,c.name]),null}));var u=n(9996),d=n.n(u);function p(){return p=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},p.apply(this,arguments)}var f="__default",h=function(e){return"object"==typeof e&&null!==e&&f in e};function m(e,t,n,r,o){var a=t&&"string"==typeof t?t.split("."):[t];for(r=0;r<a.length;r++)e=e?e[a[r]]:o;return e===o?n:h(e)?e[f]:e}var g=function e(t,n){if(t&&t.variant){var r={};for(var o in t){var a=t[o];if("variant"===o)r=p({},r,e(m(n,"function"==typeof a?a(n):a),n));else r[o]=a}return r}return t},y=[40,52,64].map((function(e){return e+"em"})),v={space:[0,4,8,16,32,64,128,256,512],fontSizes:[12,14,16,20,24,32,48,64,72]},b={bg:"backgroundColor",m:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft",mx:"marginX",my:"marginY",p:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",px:"paddingX",py:"paddingY"},w={marginX:["marginLeft","marginRight"],marginY:["marginTop","marginBottom"],paddingX:["paddingLeft","paddingRight"],paddingY:["paddingTop","paddingBottom"],scrollMarginX:["scrollMarginLeft","scrollMarginRight"],scrollMarginY:["scrollMarginTop","scrollMarginBottom"],scrollPaddingX:["scrollPaddingLeft","scrollPaddingRight"],scrollPaddingY:["scrollPaddingTop","scrollPaddingBottom"],size:["width","height"]},S={color:"colors",background:"colors",backgroundColor:"colors",borderColor:"colors",caretColor:"colors",columnRuleColor:"colors",outlineColor:"colors",textDecorationColor:"colors",opacity:"opacities",transition:"transitions",margin:"space",marginTop:"space",marginRight:"space",marginBottom:"space",marginLeft:"space",marginX:"space",marginY:"space",marginBlock:"space",marginBlockEnd:"space",marginBlockStart:"space",marginInline:"space",marginInlineEnd:"space",marginInlineStart:"space",padding:"space",paddingTop:"space",paddingRight:"space",paddingBottom:"space",paddingLeft:"space",paddingX:"space",paddingY:"space",paddingBlock:"space",paddingBlockEnd:"space",paddingBlockStart:"space",paddingInline:"space",paddingInlineEnd:"space",paddingInlineStart:"space",scrollMargin:"space",scrollMarginTop:"space",scrollMarginRight:"space",scrollMarginBottom:"space",scrollMarginLeft:"space",scrollMarginX:"space",scrollMarginY:"space",scrollPadding:"space",scrollPaddingTop:"space",scrollPaddingRight:"space",scrollPaddingBottom:"space",scrollPaddingLeft:"space",scrollPaddingX:"space",scrollPaddingY:"space",inset:"space",insetBlock:"space",insetBlockEnd:"space",insetBlockStart:"space",insetInline:"space",insetInlineEnd:"space",insetInlineStart:"space",top:"space",right:"space",bottom:"space",left:"space",gridGap:"space",gridColumnGap:"space",gridRowGap:"space",gap:"space",columnGap:"space",rowGap:"space",fontFamily:"fonts",fontSize:"fontSizes",fontWeight:"fontWeights",lineHeight:"lineHeights",letterSpacing:"letterSpacings",border:"borders",borderTop:"borders",borderRight:"borders",borderBottom:"borders",borderLeft:"borders",borderWidth:"borderWidths",borderStyle:"borderStyles",borderRadius:"radii",borderTopRightRadius:"radii",borderTopLeftRadius:"radii",borderBottomRightRadius:"radii",borderBottomLeftRadius:"radii",borderTopWidth:"borderWidths",borderTopColor:"colors",borderTopStyle:"borderStyles",borderBottomWidth:"borderWidths",borderBottomColor:"colors",borderBottomStyle:"borderStyles",borderLeftWidth:"borderWidths",borderLeftColor:"colors",borderLeftStyle:"borderStyles",borderRightWidth:"borderWidths",borderRightColor:"colors",borderRightStyle:"borderStyles",borderBlock:"borders",borderBlockColor:"colors",borderBlockEnd:"borders",borderBlockEndColor:"colors",borderBlockEndStyle:"borderStyles",borderBlockEndWidth:"borderWidths",borderBlockStart:"borders",borderBlockStartColor:"colors",borderBlockStartStyle:"borderStyles",borderBlockStartWidth:"borderWidths",borderBlockStyle:"borderStyles",borderBlockWidth:"borderWidths",borderEndEndRadius:"radii",borderEndStartRadius:"radii",borderInline:"borders",borderInlineColor:"colors",borderInlineEnd:"borders",borderInlineEndColor:"colors",borderInlineEndStyle:"borderStyles",borderInlineEndWidth:"borderWidths",borderInlineStart:"borders",borderInlineStartColor:"colors",borderInlineStartStyle:"borderStyles",borderInlineStartWidth:"borderWidths",borderInlineStyle:"borderStyles",borderInlineWidth:"borderWidths",borderStartEndRadius:"radii",borderStartStartRadius:"radii",columnRuleWidth:"borderWidths",boxShadow:"shadows",textShadow:"shadows",zIndex:"zIndices",width:"sizes",minWidth:"sizes",maxWidth:"sizes",height:"sizes",minHeight:"sizes",maxHeight:"sizes",flexBasis:"sizes",size:"sizes",blockSize:"sizes",inlineSize:"sizes",maxBlockSize:"sizes",maxInlineSize:"sizes",minBlockSize:"sizes",minInlineSize:"sizes",columnWidth:"sizes",fill:"colors",stroke:"colors"},E=function(e,t){if("number"!=typeof t||t>=0){if("string"==typeof t&&t.startsWith("-")){var n=t.substring(1),r=m(e,n,n);return"number"==typeof r?-1*r:"-"+r}return m(e,t,t)}var o=Math.abs(t),a=m(e,o,o);return"string"==typeof a?"-"+a:-1*Number(a)},C=["margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginBlock","marginBlockEnd","marginBlockStart","marginInline","marginInlineEnd","marginInlineStart","top","bottom","left","right"].reduce((function(e,t){var n;return p({},e,((n={})[t]=E,n))}),{}),_=function e(t){return void 0===t&&(t={}),function(n){void 0===n&&(n={});var r=p({},v,"theme"in n?n.theme:n),o=function(e){return function(t){var n={},r=t&&t.breakpoints||y,o=[null].concat(r.map((function(e){return e.includes("@media")?e:"@media screen and (min-width: "+e+")"})));for(var a in e){var i=a,s=e[i];if("function"==typeof s&&(s=s(t||{})),!1!==s&&null!=s)if(Array.isArray(s))for(var c=0;c<s.slice(0,o.length).length;c++){var l=o[c];l?(n[l]=n[l]||{},null!=s[c]&&(n[l][i]=s[c])):n[i]=s[c]}else n[i]=s}return n}}(g("function"==typeof t?t(r):t,r))(r),a={};for(var i in o){var s=o[i],c="function"==typeof s?s(r):s;if(c&&"object"==typeof c){if(h(c)){a[i]=c[f];continue}a[i]=e(c)(r)}else{var l=i in b?b[i]:i,u=l in S?S[l]:void 0,d=u?null==r?void 0:r[u]:m(r,l,{}),E=m(C,l,m)(d,c,c);if(l in w)for(var _=w[l],P=0;P<_.length;P++)a[_[P]]=E;else a[l]=E}}return a}};function P(e){if(!e||!e.sx&&!e.css)return e;var t={};for(var n in e)"sx"!==n&&(t[n]=e[n]);return t.css=function(e){return function(t){return[_(e.sx)(t),"function"==typeof e.css?e.css(t):e.css]}}(e),t}function k(){return k=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},k.apply(this,arguments)}var R=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return c.apply(void 0,[e,P(t)].concat(r))},x={__EMOTION_VERSION__:"11.11.1",theme:{}},O=r.createContext(x),j=function(){return r.useContext(O)},M="function"==typeof Symbol&&Symbol.for,T=M?Symbol.for("react.element"):60103,N=M?Symbol.for("react.forward_ref"):60103,D={isMergeableObject:function(e){return!!e&&"object"==typeof e&&e.$$typeof!==T&&e.$$typeof!==N},arrayMerge:function(e,t){return t}},L=function(e,t){return d()(e,t,D)};L.all=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return d().all(t,D)};var I=function(e){var t=e.context,n=e.children;return R(o.T.Provider,{value:t.theme},R(O.Provider,{value:t,children:n}))};function A(e){var t=e.theme,n=e.children,r=j();var o="function"==typeof t?k({},r,{theme:t(r.theme)}):L.all({},r,{theme:t});return R(I,{context:o,children:n})}function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},$.apply(this,arguments)}var W=function(e){return"--theme-ui-"+e.replace("-__default","")},B=function(e){return"var("+W(e)+")"},H=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.filter(Boolean).join("-")},U=new Set(["useCustomProperties","initialColorModeName","printColorModeName","initialColorMode","useLocalStorage","config"]),q=function e(t,n){var r=Array.isArray(t)?[]:{};for(var o in t){var a=t[o],i=H(n,o);a&&"object"==typeof a?r[o]=e(a,i):U.has(o)?r[o]=a:r[o]=B(i)}return r},F=function e(t,n){var r={};for(var o in n)if("modes"!==o){var a=H(t,o),i=n[o];i&&"object"==typeof i?r=$({},r,e(a,i)):r[W(a)]=i}return r},z=function(e){void 0===e&&(e={});var t=e.config||e||{},n=t.useCustomProperties,r=t.initialColorModeName,o=t.printColorModeName,a=t.useRootStyles,i=e.rawColors||e.colors;if(!i||!1===a)return{};if(!1===n)return _({color:"text",bg:"background"})(e);var s=i.modes||{},c=Q(i,s);if(o){var l=s[o];l||o!==r||(l=i),l?c["@media print"]=F("colors",l):console.error("Theme UI `printColorModeName` was not found in colors scale",{colors:i,printColorModeName:o})}var u=function(e){return B("colors-"+e)};return _($({},c,{color:u("text"),bg:u("background")}))(e)};function Q(e,t){var n=F("colors",e);return Object.keys(t).forEach((function(e){var r=".theme-ui-"+e;n["&"+r+", "+r+" &"]=F("colors",t[e])})),n}var Z="theme-ui-color-mode",J="(prefers-color-scheme: dark)",G=function(){try{return window.localStorage.getItem(Z)}catch(e){console.warn("localStorage is disabled and color mode might not work as expected.","Please check your Site Settings.",e)}},X=function(e){try{window.localStorage.setItem(Z,e)}catch(t){console.warn("localStorage is disabled and color mode might not work as expected.","Please check your Site Settings.",t)}},Y=function(){if("undefined"!=typeof window&&window.matchMedia){if(window.matchMedia(J).matches)return"dark";if(window.matchMedia("(prefers-color-scheme: light)").matches)return"light"}return null},K="undefined"==typeof window?function(){}:r.useLayoutEffect,V=function(e){var t=e.outerCtx,n=e.children,o=t.theme||{},a=o.config||o,i=a.initialColorModeName,s=a.useColorSchemeMediaQuery,c=a.useLocalStorage,l=(0,r.useState)((function(){return!1!==s&&Y()||i})),u=l[0],d=l[1];K((function(){var e=!1!==c&&G();"undefined"!=typeof document&&document.documentElement.classList.remove("theme-ui-"+e),"system"!==s&&e&&e!==u&&(u=e,d(e))}),[]),(0,r.useEffect)((function(){u&&!1!==c&&X(u)}),[u,c]);var p=(0,r.useCallback)((function(){var e=Y();d(e||i)}),[i]);(0,r.useEffect)((function(){if("system"===s&&window.matchMedia){var e=window.matchMedia(J);"function"==typeof e.addEventListener?e.addEventListener("change",p):"function"==typeof e.addListener&&e.addListener(p)}return function(){if("system"===s&&window.matchMedia){var e=window.matchMedia(J);"function"==typeof e.removeEventListener?e.removeEventListener("change",p):"function"==typeof e.removeListener&&e.removeListener(p)}}}),[s,p]);var f=ne({colorMode:u,outerTheme:o}),h=$({},t,{theme:f,colorMode:u,setColorMode:d});return r.createElement(I,{context:h},r.createElement(re,{theme:f}),n)};var ee=function(e){var t=$({},e);return delete t.modes,t};function te(e,t){for(var n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],a=o[0],i=o[1];if("string"!=typeof i||i.startsWith("var(")){if("object"==typeof i){var s=$({},t[a]);te(i,s),t[a]=s}}else t[a]=i}}function ne(e){var t=e.outerTheme,n=e.colorMode;return(0,r.useMemo)((function(){var e=$({},t),r=m(e,"colors.modes",{}),o=m(r,n,{});n&&(e.colors=$({},e.colors,o));var a=t.config||t,i=a.useCustomProperties,s=a.initialColorModeName,c=void 0===s?"__default":s,l=t.rawColors||t.colors||{};if(!1!==i){var u=null!=e.rawColors,d=e.colors||{};if(u)te(d,l=$({},l)),l.modes&&(l.modes[c]=ee(l)),e.rawColors=l;else if("modes"in l){var p,f=$(((p={})[c]=ee(l),p),l.modes);e.rawColors=$({},d,{modes:f})}else e.rawColors=d;e.colors=q(ee(l),"colors")}return e}),[n,t])}function re(e){var t=e.theme;return R(l,{styles:function(){return{html:z(t)}}})}function oe(e){var t,n=e.outerCtx,o=e.children,a=ne({outerTheme:n.theme,colorMode:n.colorMode}),i=(0,r.useState)((function(){var e;return!1!==(null==(e=a.config)?void 0:e.useLocalStorage)})),s=i[0],c=i[1];K((function(){c(!1)}),[]);var l=a.rawColors||a.colors,u=null==(t=a.config)?void 0:t.useCustomProperties,d=(0,r.useMemo)((function(){if(!1===u)return{};var e=l||{};return _(Q(e,e.modes||{}))(a)}),[a,l,u]);return r.createElement(I,{context:$({},n,{theme:a})},R("div",{"data-themeui-nested-provider":!0,key:Number(s),suppressHydrationWarning:!0,css:d,children:o}))}var ae=function(e){var t=e.children,n=j();return"function"!=typeof n.setColorMode?r.createElement(V,{outerCtx:n},t):r.createElement(oe,{outerCtx:n},t)},ie=function(){return R(l,{styles:function(e){var t,n=e;if(!1===(n.config||n).useRootStyles||n.styles&&!n.styles.root)return null;var r=!1===(null==(t=n.config)?void 0:t.useBorderBox)?void 0:"border-box";return _({"*":{boxSizing:r},html:{variant:"styles.root"},body:{margin:0}})(n)}})},se=function(e){var t=e.theme,n=e.children,o=j()===x;return r.createElement(A,{theme:t},r.createElement(ae,null,o&&r.createElement(ie,null),n))};function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ce.apply(this,arguments)}var le={inlineCode:"code",thematicBreak:"hr",root:"div"},ue=function(e){return e in le?le[e]:e},de=function(e){return function(t){return _(m(t,"styles."+e))(t)}},pe={},fe={};function he(e,t){var n=function(n){return R(e,ce({},n,{css:de(t)}))};return n.displayName="MdxComponents('"+t+"')",n}["p","b","i","a","h1","h2","h3","h4","h5","h6","img","pre","code","ol","ul","li","blockquote","hr","em","table","tr","th","td","em","strong","del","inlineCode","thematicBreak","div","root"].forEach((function(e){var t=function(e,t){var n=de(t),r=function(t){var r={};if("th"===e||"td"===e){var o=t.align;"char"!==o&&(r.textAlign=o)}return R(e,ce({},t,{css:[t.css,n,r].filter(Boolean)}))};return r.displayName="Themed("+e+")",r}(ue(e),e);pe[e]=t,fe[e]=t}));var me=function e(t){for(var n=ce({},pe),r=0,o=Object.keys(t);r<o.length;r++){var a=o[r],i=t[a];n[a]="object"==typeof i?e(i):he(i,a)}return n};function ge(e){return(0,r.useMemo)((function(){return me(ce({},pe,e))}),[e])}var ye={};var ve={},be=n(1883);var we=()=>(0,be.useStaticQuery)("2744905544").themeUiConfig;const Se=r.createContext({});function Ee(e){const t=r.useContext(Se);return r.useMemo((()=>"function"==typeof e?e(t):{...t,...e}),[t,e])}const Ce={};function _e({components:e,children:t,disableParentContext:n}){let o;return o=n?"function"==typeof e?e({}):e||Ce:Ee(e),r.createElement(Se.Provider,{value:o},t)}const Pe=e=>{let{children:t}=e;const n=we(),{preset:o,prismPreset:a}=n,i=o.default||o,s=L(i,{styles:{pre:a}}),c=L(s,ye);return r.createElement(se,{theme:c},r.createElement(_e,{components:ge(Ee(ve))},t))},ke=e=>{let{element:t}=e;return r.createElement(Pe,null,t)},Re=e=>{let{element:t}=e;return r.createElement(ke,{element:t})}},8679:function(e,t,n){"use strict";var r=n(9864),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},s={};function c(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var l=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,h=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(h){var o=f(n);o&&o!==h&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=c(t),m=c(n),g=0;g<i.length;++g){var y=i[g];if(!(a[y]||r&&r[y]||m&&m[y]||s&&s[y])){var v=p(n,y);try{l(t,y,v)}catch(b){}}}}return t}},1143:function(e){"use strict";e.exports=function(e,t,n,r,o,a,i,s){if(!e){var c;if(void 0===t)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var l=[n,r,o,a,i,s],u=0;(c=new Error(t.replace(/%s/g,(function(){return l[u++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},9921:function(e,t){"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,c=n?Symbol.for("react.provider"):60109,l=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,h=n?Symbol.for("react.suspense_list"):60120,m=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,y=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,b=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function S(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case l:case p:case g:case m:case c:return e;default:return t}}case o:return t}}}function E(e){return S(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=l,t.ContextProvider=c,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=m,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return E(e)||S(e)===u},t.isConcurrentMode=E,t.isContextConsumer=function(e){return S(e)===l},t.isContextProvider=function(e){return S(e)===c},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return S(e)===p},t.isFragment=function(e){return S(e)===a},t.isLazy=function(e){return S(e)===g},t.isMemo=function(e){return S(e)===m},t.isPortal=function(e){return S(e)===o},t.isProfiler=function(e){return S(e)===s},t.isStrictMode=function(e){return S(e)===i},t.isSuspense=function(e){return S(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===f||e===h||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===m||e.$$typeof===c||e.$$typeof===l||e.$$typeof===p||e.$$typeof===v||e.$$typeof===b||e.$$typeof===w||e.$$typeof===y)},t.typeOf=S},9864:function(e,t,n){"use strict";e.exports=n(9921)},9730:function(e,t,n){"use strict";var r=n(7294),o={stream:!0},a=new Map,i=Symbol.for("react.element"),s=Symbol.for("react.lazy"),c=Symbol.for("react.default_value"),l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function u(e,t,n){this._status=e,this._value=t,this._response=n}function d(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var r=(t=e._value).chunks,o=0;o<r.length;o++){var i=a.get(r[o]);if(null!==i)throw i}return r=n(t.id),t="*"===t.name?r:""===t.name?r.__esModule?r.default:r:r[t.name],e._status=3,e._value=t;case 0:throw e;default:throw e._value}}function p(){return d(y(this,0))}function f(e,t){return new u(3,t,e)}function h(e){if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}function m(e,t){if(0===e._status){var n=e._value;e._status=4,e._value=t,h(n)}}function g(e,t){e._chunks.forEach((function(e){m(e,t)}))}function y(e,t){var n=e._chunks,r=n.get(t);return r||(r=new u(0,null,e),n.set(t,r)),r}function v(e){g(e,Error("Connection closed."))}function b(e,t){if(""!==t){var o=t[0],i=t.indexOf(":",1),s=parseInt(t.substring(1,i),16);switch(i=t.substring(i+1),o){case"J":(o=(t=e._chunks).get(s))?0===o._status&&(e=o._value,o._status=1,o._value=i,h(e)):t.set(s,new u(1,i,e));break;case"M":o=(t=e._chunks).get(s),i=JSON.parse(i,e._fromJSON);var d=e._bundlerConfig;d=(i=d?d[i.id][i.name]:i).chunks;for(var p=0;p<d.length;p++){var g=d[p];if(void 0===a.get(g)){var y=n.e(g),v=a.set.bind(a,g,null),b=a.set.bind(a,g);y.then(v,b),a.set(g,y)}}o?0===o._status&&(e=o._value,o._status=2,o._value=i,h(e)):t.set(s,new u(2,i,e));break;case"P":e._chunks.set(s,f(e,function(e){return l[e]||(l[e]=r.createServerContext(e,c)),l[e]}(i).Provider));break;case"S":o=JSON.parse(i),e._chunks.set(s,f(e,Symbol.for(o)));break;case"E":t=JSON.parse(i),(o=Error(t.message)).stack=t.stack,(i=(t=e._chunks).get(s))?m(i,o):t.set(s,new u(4,o,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function w(e){return function(t,n){return"string"==typeof n?function(e,t,n){switch(n[0]){case"$":return"$"===n?i:"$"===n[1]||"@"===n[1]?n.substring(1):d(e=y(e,parseInt(n.substring(1),16)));case"@":return e=y(e,parseInt(n.substring(1),16)),{$$typeof:s,_payload:e,_init:d}}return n}(e,0,n):"object"==typeof n&&null!==n?n[0]===i?{$$typeof:i,type:n[1],key:n[2],ref:null,props:n[3],_owner:null}:n:n}}function S(e){var t=new TextDecoder;return(e={_bundlerConfig:e,_chunks:new Map,readRoot:p,_partialRow:"",_stringDecoder:t})._fromJSON=w(e),e}function E(e,t){function n(t){g(e,t)}var r=t.getReader();r.read().then((function t(a){var i=a.value;if(!a.done){a=i,i=e._stringDecoder;for(var s=a.indexOf(10);-1<s;){var c=e._partialRow,l=a.subarray(0,s);l=i.decode(l),b(e,c+l),e._partialRow="",s=(a=a.subarray(s+1)).indexOf(10)}return e._partialRow+=i.decode(a,o),r.read().then(t,n)}v(e)}),n)}u.prototype.then=function(e){0===this._status?(null===this._value&&(this._value=[]),this._value.push(e)):e()},t.createFromReadableStream=function(e,t){return E(t=S(t&&t.moduleMap?t.moduleMap:null),e),t}},904:function(e,t,n){"use strict";e.exports=n(9730)},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<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},7867:function(e,t,n){var r=n(6015);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},4836:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},6015:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},2911:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,((e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.5 - 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.5":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},4578:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});var r=n(9611);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.Z)(e,t)}},9611:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{Z:function(){return r}})},5785:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(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){if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(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.")}()}n.d(t,{Z:function(){return o}})},7896:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return g},Link:function(){return Z},Location:function(){return K},LocationContext:function(){return y},LocationProvider:function(){return Y},Match:function(){return ee},Redirect:function(){return _},Router:function(){return se},ServerLocation:function(){return V},createHistory:function(){return u},createMemorySource:function(){return d},globalHistory:function(){return f},insertParams:function(){return O},isRedirect:function(){return S},match:function(){return R},navigate:function(){return h},pick:function(){return k},redirectTo:function(){return E},resolve:function(){return x},shallowCompare:function(){return W},startsWith:function(){return P},useBaseContext:function(){return v},useLocation:function(){return le},useLocationContext:function(){return b},useMatch:function(){return pe},useNavigate:function(){return ue},useParams:function(){return de},validateRedirect:function(){return j}});var o=n(7294),a=n(5697),i=n(1143);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}const l=e=>{const{search:t,hash:n,href:r,origin:o,protocol:a,host:i,hostname:s,port:c}=e.location;let{pathname:l}=e.location;return!l&&r&&p&&(l=new URL(r).pathname),{pathname:encodeURI(decodeURI(l)),search:t,hash:n,href:r,origin:o,protocol:a,host:i,hostname:s,port:c,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},u=(e,t)=>{let n=[],r=l(e),o=!1,a=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,a()},listen(t){n.push(t);const o=()=>{r=l(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter((e=>e!==t))}},navigate(t,{state:i,replace:c=!1}={}){if("number"==typeof t)e.history.go(t);else{i=s({},i,{key:Date.now()+""});try{o||c?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(n){e.location[c?"replace":"assign"](t)}}r=l(e),o=!0;const u=new Promise((e=>a=e));return n.forEach((e=>e({location:r,action:"PUSH"}))),u}}},d=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],a=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return a[r]},pushState(e,t,n){const[i,s=""]=n.split("?");r++,o.push({pathname:i,search:s.length?`?${s}`:s}),a.push(e)},replaceState(e,t,n){const[i,s=""]=n.split("?");o[r]={pathname:i,search:s},a[r]=e},go(e){const t=r+e;t<0||t>a.length-1||(r=t)}}}},p=!("undefined"==typeof window||!window.document||!window.document.createElement),f=u(p?window:d()),{navigate:h}=f;function m(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const g=m("Base",{baseuri:"/",basepath:"/"}),y=m("Location"),v=()=>o.useContext(g),b=()=>o.useContext(y);function w(e){this.uri=e}const S=e=>e instanceof w,E=e=>{throw new w(e)};function C(e){const{to:t,replace:n=!0,state:r,noThrow:a,baseuri:i}=e;o.useEffect((()=>{Promise.resolve().then((()=>{const o=x(t,i);h(O(o,e),{replace:n,state:r})}))}),[]);const s=x(t,i);return a||E(O(s,e)),null}const _=e=>{const t=b(),{baseuri:n}=v();return o.createElement(C,s({},t,{baseuri:n},e))};_.propTypes={from:a.string,to:a.string.isRequired};const P=(e,t)=>e.substr(0,t.length)===t,k=(e,t)=>{let n,r;const[o]=t.split("?"),a=I(o),s=""===a[0],c=L(e);for(let l=0,u=c.length;l<u;l++){let e=!1;const o=c[l].route;if(o.default){r={route:o,params:{},uri:t};continue}const u=I(o.path),d={},p=Math.max(a.length,u.length);let f=0;for(;f<p;f++){const t=u[f],n=a[f];if(N(t)){d[t.slice(1)||"*"]=a.slice(f).map(decodeURIComponent).join("/");break}if(void 0===n){e=!0;break}const r=M.exec(t);if(r&&!s){const e=-1===$.indexOf(r[1]);i(e,`<Router> dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);d[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:d,uri:"/"+a.slice(0,f).join("/")};break}}return n||r||null},R=(e,t)=>k([{path:e}],t),x=(e,t)=>{if(P(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),a=I(n),i=I(o);if(""===a[0])return A(o,r);if(!P(a[0],".")){const e=i.concat(a).join("/");return A(("/"===o?"":"/")+e,r)}const s=i.concat(a),c=[];for(let l=0,u=s.length;l<u;l++){const e=s[l];".."===e?c.pop():"."!==e&&c.push(e)}return A("/"+c.join("/"),r)},O=(e,t)=>{const[n,r=""]=e.split("?");let o="/"+I(n).map((e=>{const n=M.exec(e);return n?t[n[1]]:e})).join("/");const{location:{search:a=""}={}}=t,i=a.split("?")[1]||"";return o=A(o,r,i),o},j=(e,t)=>{const n=e=>T(e);return I(e).filter(n).sort().join("/")===I(t).filter(n).sort().join("/")},M=/^:(.+)/,T=e=>M.test(e),N=e=>e&&"*"===e[0],D=(e,t)=>({route:e,score:e.default?0:I(e.path).reduce(((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:T(t)?e+=2:N(t)?e-=5:e+=3,e)),0),index:t}),L=e=>e.map(D).sort(((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index)),I=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),A=(e,...t)=>e+((t=t.filter((e=>e&&e.length>0)))&&t.length>0?`?${t.join("&")}`:""),$=["uri","path"],W=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every((n=>t.hasOwnProperty(n)&&e[n]===t[n]))},B=e=>e.replace(/(^\/+|\/+$)/g,""),H=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,H(e));if(i(t.props.path||t.props.default||t.type===_,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),i(!!(t.type!==_||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),i(!(t.type===_&&!j(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===_?t.props.from:t.props.path,r="/"===n?e:`${B(e)}/${B(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${B(r)}/*`:r}},U=["innerRef"],q=["to","state","replace","getProps"],F=["key"];let{forwardRef:z}=r||(r=n.t(o,2));void 0===z&&(z=e=>e);const Q=()=>{},Z=z(((e,t)=>{let{innerRef:n}=e,r=c(e,U);const{baseuri:a}=v(),{location:i}=b(),{to:l,state:u,replace:d,getProps:p=Q}=r,f=c(r,q),m=x(l,a),g=encodeURI(m),y=i.pathname===g,w=P(i.pathname,g);return o.createElement("a",s({ref:t||n,"aria-current":y?"page":void 0},f,p({isCurrent:y,isPartiallyCurrent:w,href:m,location:i}),{href:m,onClick:e=>{if(f.onClick&&f.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=d;if("boolean"!=typeof d&&y){const e=c(s({},i.state),F);t=W(s({},u),e)}h(m,{state:u,replace:t})}}}))}));Z.displayName="Link",Z.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 G=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function X({children:e}){const[t,n]=o.useState(),r=o.useRef(),a=o.useMemo((()=>({componentDidCatch:r,error:t,setError:n})),[t]);return o.createElement(G.Provider,{value:a},o.createElement(J,{error:t,onError:(e,t)=>{n(e),null==r.current||r.current(e,t)}},e))}X.displayName="ReactUseErrorBoundaryContext";const Y=function(e){var t,n;function r(t){return o.createElement(X,null,o.createElement(e,s({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}((({history:e=f,children:t})=>{const{location:n}=e,[r,a]=o.useState({location:n}),[i]=function(e){const t=o.useContext(G);t.componentDidCatch.current=void 0;const n=o.useCallback((()=>{t.setError(void 0)}),[]);return[t.error,n]}();if(o.useEffect((()=>{e._onTransitionComplete()}),[r.location]),o.useEffect((()=>{let t=!1;const n=e.listen((({location:e})=>{Promise.resolve().then((()=>{requestAnimationFrame((()=>{t||a({location:e})}))}))}));return()=>{t=!0,n()}}),[]),i){if(!S(i))throw i;h(i.uri,{replace:!0})}return o.createElement(y.Provider,{value:r},"function"==typeof t?t(r):t||null)})),K=({children:e})=>{const t=b();return t?e(t):o.createElement(Y,null,e)},V=({url:e,children:t})=>{const n=e.indexOf("?");let r,a="";return n>-1?(r=e.substring(0,n),a=e.substring(n)):r=e,o.createElement(y.Provider,{value:{location:{pathname:r,search:a,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=v(),{location:r}=b(),o=x(e,n),a=R(o,r.pathname);return t({location:r,match:a?s({},a.params,{uri:a.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,a=c(e,te);return o.createElement(ae,s({},a,{component:r,uri:t,location:n}))};let oe=0;const ae=e=>{let{children:t,style:n,component:r="div",uri:a,location:i}=e,l=c(e,ne);const u=o.useRef(),d=o.useRef(!0),p=o.useRef(a),f=o.useRef(i.pathname),h=o.useRef(!1);o.useEffect((()=>(oe++,m(),()=>{oe--,0===oe&&(d.current=!0)})),[]),o.useEffect((()=>{let e=!1,t=!1;a!==p.current&&(p.current=a,e=!0),i.pathname!==f.current&&(f.current=i.pathname,t=!0),h.current=e||t&&i.pathname===a,h.current&&m()}),[a,i]);const m=o.useCallback((()=>{var e;d.current?d.current=!1:(e=u.current,h.current&&e&&e.focus())}),[]);return o.createElement(r,s({style:s({outline:"none"},n),tabIndex:"-1",ref:u},l),t)},ie=["location","primary","children","basepath","baseuri","component"],se=e=>{const t=v(),n=b();return o.createElement(ce,s({},t,n,e))};function ce(e){const{location:t,primary:n=!0,children:r,basepath:a,component:i="div"}=e,l=c(e,ie),u=o.Children.toArray(r).reduce(((e,t)=>{const n=H(a)(t);return e.concat(n)}),[]),{pathname:d}=t,p=k(u,d);if(p){const{params:e,uri:r,route:c,route:{value:u}}=p,d=c.default?a:c.path.replace(/\*$/,""),f=s({},e,{uri:r,location:t}),h=o.cloneElement(u,f,u.props.children?o.createElement(se,{location:t,primary:n},u.props.children):void 0),m=n?re:i,y=n?s({uri:r,location:t,component:i},l):l;return o.createElement(g.Provider,{value:{baseuri:r,basepath:d}},o.createElement(m,y,h))}return null}const le=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},ue=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},de=()=>{const e=v();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=le(),n=R(e.basepath,t.pathname);return n?n.params:null},pe=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=v();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const n=le(),r=x(e,t.baseuri),o=R(r,n.pathname);return o?s({},o.params,{uri:o.uri,path:e}):null}},1562:function(e,t,n){"use strict";n.d(t,{c4:function(){return C},cP:function(){return c},dq:function(){return f},mc:function(){return v},rU:function(){return E}});var r=n(5697),o=n(7294),a=n(7896),i=n(4506);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function c(e){let t=e||"/",n="",r="";const o=t.indexOf("#");-1!==o&&(r=t.slice(o),t=t.slice(0,o));const a=t.indexOf("?");return-1!==a&&(n=t.slice(a),t=t.slice(0,a)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}const l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>{if("string"==typeof e)return!(e=>l.test(e))(e)},d=()=>"",p=()=>"";function f(e,t=d()){var n;if(!u(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:p())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const h=e=>null==e?void 0:e.startsWith("/");function m(e,t){const{pathname:n,search:r,hash:o}=c(e);return`${(0,i.H)(n,t)}${r}${o}`}const g=(e,t)=>"number"==typeof e?e:u(e)?h(e)?function(e){const t=f(e),n="always";return m(t,n)}(e):function(e,t){if(h(e))return e;const n="always",r=(0,a.resolve)(e,t);return m(r,n)}(e,t):e,y=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function v(e){return f(e,p())}const b={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(e){return o.createElement(a.Location,null,(({location:t})=>o.createElement(S,s({},e,{_location:t}))))}class S 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:s({},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(g(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(e),{instance:n,el:e}})(e,(e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:i,state:l,replace:d,_location:p}=e,f=function(e,t){if(null==e)return{};var n,r,o={},a=Object.keys(e);for(r=0;r<a.length;r++)t.indexOf(n=a[r])>=0||(o[n]=e[n]);return o}(e,y),h=g(t,p.pathname);return u(h)?o.createElement(a.Link,s({to:h,state:l,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{i&&i(e);const t=c(h);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=d;const n=encodeURI(h)===p.pathname;"boolean"!=typeof d&&n&&(t=!0),window.___navigate(h,{state:l,replace:t})}return!0}},f)):o.createElement("a",s({href:h},f))}}S.propTypes=s({},b,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const E=o.forwardRef(((e,t)=>o.createElement(w,s({innerRef:t},e)))),C=(e,t)=>{window.___navigate(g(e,window.location.pathname),t)}},3521:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return h},ScriptStrategy:function(){return l},collectedScriptsByPage:function(){return s},scriptCache:function(){return p},scriptCallbackCache:function(){return f}});var r=n(7294),o=n(7896);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}const i=new Map,s={get:e=>i.get(e)||[],set(e,t){const n=i.get(e)||[];n.push(t),i.set(e,n)},delete(e){i.delete(e)}},c="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 l,u;(u=l||(l={})).postHydrate="post-hydrate",u.idle="idle",u.offMainThread="off-main-thread";const d=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),p=new Set,f=new Map;function h(e){return r.createElement(o.Location,null,(()=>r.createElement(m,e)))}function m(e){const{src:t,strategy:n=l.postHydrate}=e||{},{pathname:i}=(0,o.useLocation)();if((0,r.useEffect)((()=>{let t;switch(n){case l.postHydrate:t=g(e);break;case l.idle:c((()=>{t=g(e)}));break;case l.offMainThread:{const t=v(e);s.set(i,t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}}),[]),n===l.offMainThread){const o=y(e),c=v(e);return"undefined"==typeof window&&s.set(i,c),r.createElement("script",o?a({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:y(e)}}):a({type:"text/partytown",src:b(t),"data-strategy":n,crossOrigin:"anonymous"},c))}return null}function g(e){const{id:t,src:n,strategy:r=l.postHydrate,onLoad:o,onError:i}=e||{},s=t||n,c=["load","error"],u={load:o,error:i};if(s){for(const e of c)if(null!=u&&u[e]){var d;const t=f.get(s)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var h,m;n.push(null==u?void 0:u[e]),null!=t&&null!=(d=t[e])&&d.event?null==u||null==(h=u[e])||h.call(u,null==t||null==(m=t[e])?void 0:m.event):f.set(s,a({},t,{[e]:{callbacks:n}}))}if(p.has(s))return null}const g=y(e),b=v(e),S=document.createElement("script");t&&(S.id=t),S.dataset.strategy=r;for(const[a,l]of Object.entries(b))S.setAttribute(a,l);g&&(S.textContent=g),n&&(S.src=n);const E={};if(s){for(const e of c){const t=t=>w(t,s,e);S.addEventListener(e,t),E[`${e}Callback`]=t}p.add(s)}return document.body.appendChild(S),{script:S,loadCallback:E.loadCallback,errorCallback:E.errorCallback}}function y(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function v(e){const t={};for(const[n,r]of Object.entries(e))d.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=f.get(t)||{};for(const a of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;a(e)}f.set(t,{[n]:{event:e}})}}},function(e){e.O(0,[774],(function(){return t=5824,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=app-7604650d349aa930ce29.js.map