-
Notifications
You must be signed in to change notification settings - Fork 0
/
app-98b38873eeeda1b0a46a.js
2 lines (2 loc) · 182 KB
/
app-98b38873eeeda1b0a46a.js
1
2
(self.webpackChunkgatsby_starter_lumen=self.webpackChunkgatsby_starter_lumen||[]).push([[143],{80:function(t,e,n){"use strict";n.d(e,{cQ:function(){return f},cn:function(){return _},xv:function(){return y}});var r=n(7294);const o=t=>Object.keys(t).includes("default"),i={},a=t=>(i[t]=i[t]||{},i[t]),s=(t,e)=>o(e)?((t,e)=>{const n=a(t)[e.key];if("atom"!==n.type)throw new Error("".concat(n.key," is not an atom"));return n.value})(t,e):((t,e)=>e.get({get:c(t)}))(t,e),c=t=>e=>s(t,e),u=(t,e,n)=>{const r=a(t)[e.key];if("atom"!==r.type)throw new Error("".concat(r.key," is not an atom"));n!==r.value&&(r.value=n,r.subscribers.forEach((t=>t())))},l=t=>(e,n)=>p(t,e,n),p=(t,e,n)=>{o(e)?u(t,e,n):e.set&&e.set({get:c(t),set:l(t)},n)},d=(t,e,n)=>{const r=a(t)[e],{subscribers:o}=r;if(o.includes(n))throw new Error("Already subscribed to Coil Value");return o.push(n),()=>{o.splice(o.indexOf(n),1)}},h=r.createContext(""),f=t=>{const{children:e}=t,n=1..toString();return r.createElement(h.Provider,{value:n},e)},_=t=>t,m=()=>{const t=(0,r.useContext)(h);if(!t)throw new Error("Wrap your app with <CoilRoot>");return t},g=(t,e)=>{const n=r=>(e.push(r.key),o(r)?s(t,r):r.get({get:n}));return n},v=t=>{const e=m(),[,n]=(0,r.useReducer)((t=>t+1),0);return((t,e)=>{const{key:n}=e,r=a(t);r[n]||(o(e)?r[n]={default:e.default,key:n,subscribers:[],type:"atom",value:e.default}:r[n]={key:n,subscribers:[],type:"selector"})})(e,t),((t,e)=>{const n=m();(0,r.useEffect)((()=>{if(o(t))return d(n,t.key,e);const r=[];t.get({get:g(n,r)});const i=[];return r.forEach((t=>i.push(d(n,t,e)))),()=>i.forEach((t=>t()))}),[n,t,e])})(t,n),s(e,t)},y=t=>{const e=m();return[v(t),(0,r.useMemo)((()=>o(t)?((t,e)=>n=>u(t,e,n))(e,t):n=>{t.set&&t.set({get:c(e),set:l(e)},n)}),[e,t])]}},2393:function(t,e){"use strict";var n=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},r=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,i=e.origin,s=e.protocol,c=e.host,u=e.hostname,l=e.port,p=t.location.pathname;!p&&o&&a&&(p=new URL(o).pathname);return{pathname:encodeURI(decodeURI(p)),search:n,hash:r,href:o,origin:i,protocol:s,host:c,hostname:u,port:l,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},o=function(t,e){var o=[],i=r(t),a=!1,s=function(){};return{get location(){return i},get transitioning(){return a},_onTransitionComplete:function(){a=!1,s()},listen:function(e){o.push(e);var n=function(){i=r(t),e({location:i,action:"POP"})};return t.addEventListener("popstate",n),function(){t.removeEventListener("popstate",n),o=o.filter((function(t){return t!==e}))}},navigate:function(e){var c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},u=c.state,l=c.replace,p=void 0!==l&&l;if("number"==typeof e)t.history.go(e);else{u=n({},u,{key:Date.now()+""});try{a||p?t.history.replaceState(u,null,e):t.history.pushState(u,null,e)}catch(h){t.location[p?"replace":"assign"](e)}}i=r(t),a=!0;var d=new Promise((function(t){return s=t}));return o.forEach((function(t){return t({location:i,action:"PUSH"})})),d}}},i=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],i=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState:function(t,e,n){var a=n.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),i.push(t)},replaceState:function(t,e,n){var a=n.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},i[r]=t},go:function(t){var e=r+t;e<0||e>i.length-1||(r=e)}}}},a=!("undefined"==typeof window||!window.document||!window.document.createElement),s=o(a?window:i()),c=s.navigate;e.V5=s},2098:function(t,e,n){"use strict";e.ei=void 0;var r,o=n(1143),i=(r=o)&&r.__esModule?r:{default:r};var a=function(t,e){return t.substr(0,e.length)===e},s=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],a=h(o),s=""===a[0],u=d(t),p=0,f=u.length;p<f;p++){var m=!1,g=u[p].route;if(g.default)r={route:g,params:{},uri:e};else{for(var v=h(g.path),y={},E=Math.max(a.length,v.length),b=0;b<E;b++){var S=v[b],w=a[b];if(l(S)){y[S.slice(1)||"*"]=a.slice(b).map(decodeURIComponent).join("/");break}if(void 0===w){m=!0;break}var T=c.exec(S);if(T&&!s){-1===_.indexOf(T[1])||(0,i.default)(!1);var R=decodeURIComponent(w);y[T[1]]=R}else if(S!==w){m=!0;break}}if(!m){n={route:g,params:y,uri:"/"+a.slice(0,b).join("/")};break}}}return n||r||null},c=/^:(.+)/,u=function(t){return c.test(t)},l=function(t){return t&&"*"===t[0]},p=function(t,e){return{route:t,score:t.default?0:h(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?u(e)?t+=2:l(e)?t-=5:t+=3:t+=1,t}),0),index:e}},d=function(t){return t.map(p).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},h=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},f=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t+((n=n.filter((function(t){return t&&t.length>0})))&&n.length>0?"?"+n.join("&"):"")},_=["uri","path"];e.ei=s},3603:function(t,e,n){"use strict";function r(){return"undefined"!=typeof __SENTRY_BROWSER_BUNDLE__&&!!__SENTRY_BROWSER_BUNDLE__}function o(){return"npm"}n.d(e,{S:function(){return o},n:function(){return r}})},7864:function(t,e,n){"use strict";n.d(e,{KV:function(){return o},l$:function(){return i}});var r=n(3603);function o(){return!(0,r.n)()&&"[object process]"===Object.prototype.toString.call("undefined"!=typeof process?process:0)}function i(t,e){return t.require(e)}t=n.hmd(t)},5153:function(t,e,n){"use strict";n.d(e,{Z1:function(){return d},ph:function(){return l},yW:function(){return u}});var r=n(7864),o=n(9195);t=n.hmd(t);const i=(0,o.Rf)(),a={nowSeconds:()=>Date.now()/1e3};const s=(0,r.KV)()?function(){try{return(0,r.l$)(t,"perf_hooks").performance}catch(e){return}}():function(){const{performance:t}=i;if(!t||!t.now)return;return{now:()=>t.now(),timeOrigin:Date.now()-t.now()}}(),c=void 0===s?a:{nowSeconds:()=>(s.timeOrigin+s.now())/1e3},u=a.nowSeconds.bind(a),l=c.nowSeconds.bind(c);let p;const d=(()=>{const{performance:t}=i;if(!t||!t.now)return void(p="none");const e=36e5,n=t.now(),r=Date.now(),o=t.timeOrigin?Math.abs(t.timeOrigin+n-r):e,a=o<e,s=t.timing&&t.timing.navigationStart,c="number"==typeof s?Math.abs(s+n-r):e;return a||c<e?o<=c?(p="timeOrigin",t.timeOrigin):(p="navigationStart",s):(p="dateNow",r)})()},9195:function(t,e,n){"use strict";function r(t){return t&&t.Math==Math?t:void 0}n.d(e,{Rf:function(){return i},YO:function(){return a},n2:function(){return o}});const o="object"==typeof globalThis&&r(globalThis)||"object"==typeof window&&r(window)||"object"==typeof self&&r(self)||"object"==typeof n.g&&r(n.g)||function(){return this}()||{};function i(){return o}function a(t,e,n){const r=n||o,i=r.__SENTRY__=r.__SENTRY__||{};return i[t]||(i[t]=e())}},3534:function(t,e,n){("undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{}).SENTRY_RELEASE={id:"875b36fa2e7e0a3a60c85fabca613db6d4a7b6a6"}},4564:function(t){"use strict";var e=/[|\\{}()[\]^$+*?.]/g;t.exports=function(t){if("string"!=typeof t)throw new TypeError("Expected a string");return t.replace(e,"\\$&")}},8440:function(t,e){"use strict";e.H=void 0;e.H=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"legacy";const n=t.endsWith(".html"),r=t.endsWith(".xml"),o=t.endsWith(".pdf");return"/"===t?t:((n||r||o)&&(e="never"),"always"===e?t.endsWith("/")?t:"".concat(t,"/"):"never"===e&&t.endsWith("/")?t.slice(0,-1):t)}},540:function(t,e,n){"use strict";e.__esModule=!0,e.onInitialClientRender=void 0;n(3521),n(2163);e.onInitialClientRender=()=>{}},1897:function(t,e,n){"use strict";n(9244),e.__esModule=!0,e.getForwards=function(t){return null==t?void 0:t.flatMap((t=>(null==t?void 0:t.forward)||[]))}},2163:function(t,e,n){"use strict";e.__esModule=!0,e.injectPartytownSnippet=function(t){if(!t.length)return;const e=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');e&&e.remove();n&&n.remove();const i=(0,o.getForwards)(t),a=document.createElement("script");a.dataset.partytown="",a.innerHTML=(0,r.partytownSnippet)({forward:i}),document.head.appendChild(a)};var r=n(2911),o=n(1897)},9662:function(t,e,n){var r=n(614),o=n(6330),i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not a function")}},1223:function(t,e,n){var r=n(5112),o=n(30),i=n(3070).f,a=r("unscopables"),s=Array.prototype;null==s[a]&&i(s,a,{configurable:!0,value:o(null)}),t.exports=function(t){s[a][t]=!0}},9670:function(t,e,n){var r=n(111),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw i(o(t)+" is not an object")}},1318:function(t,e,n){var r=n(5656),o=n(1400),i=n(6244),a=function(t){return function(e,n,a){var s,c=r(e),u=i(c),l=o(a,u);if(t&&n!=n){for(;u>l;)if((s=c[l++])!=s)return!0}else for(;u>l;l++)if((t||l in c)&&c[l]===n)return t||l||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},4326:function(t,e,n){var r=n(1702),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},3072:function(t,e,n){var r=n(7854),o=Object.defineProperty;t.exports=function(t,e){try{o(r,t,{value:e,configurable:!0,writable:!0})}catch(n){r[t]=e}return e}},9781:function(t,e,n){var r=n(7293);t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4154:function(t){var e="object"==typeof document&&document.all,n=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:n}},317:function(t,e,n){var r=n(7854),o=n(111),i=r.document,a=o(i)&&o(i.createElement);t.exports=function(t){return a?i.createElement(t):{}}},8113:function(t){t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},7392:function(t,e,n){var r,o,i=n(7854),a=n(8113),s=i.process,c=i.Deno,u=s&&s.versions||c&&c.version,l=u&&u.v8;l&&(o=(r=l.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},748:function(t){t.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},7293:function(t){t.exports=function(t){try{return!!t()}catch(e){return!0}}},4374:function(t,e,n){var r=n(7293);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},6916:function(t,e,n){var r=n(4374),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},1702:function(t,e,n){var r=n(4374),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},5005:function(t,e,n){var r=n(7854),o=n(614);t.exports=function(t,e){return arguments.length<2?(n=r[t],o(n)?n:void 0):r[t]&&r[t][e];var n}},8173:function(t,e,n){var r=n(9662),o=n(8554);t.exports=function(t,e){var n=t[e];return o(n)?void 0:r(n)}},7854:function(t,e,n){var r=function(t){return t&&t.Math==Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||function(){return this}()||Function("return this")()},2597:function(t,e,n){var r=n(1702),o=n(7908),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(o(t),e)}},3501:function(t){t.exports={}},490:function(t,e,n){var r=n(5005);t.exports=r("document","documentElement")},4664:function(t,e,n){var r=n(9781),o=n(7293),i=n(317);t.exports=!r&&!o((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},8361:function(t,e,n){var r=n(1702),o=n(7293),i=n(4326),a=Object,s=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?s(t,""):a(t)}:a},614:function(t,e,n){var r=n(4154),o=r.all;t.exports=r.IS_HTMLDDA?function(t){return"function"==typeof t||t===o}:function(t){return"function"==typeof t}},8554:function(t){t.exports=function(t){return null==t}},111:function(t,e,n){var r=n(614),o=n(4154),i=o.all;t.exports=o.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:r(t)||t===i}:function(t){return"object"==typeof t?null!==t:r(t)}},1913:function(t){t.exports=!1},2190:function(t,e,n){var r=n(5005),o=n(614),i=n(7976),a=n(3307),s=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var e=r("Symbol");return o(e)&&i(e.prototype,s(t))}},6244:function(t,e,n){var r=n(7466);t.exports=function(t){return r(t.length)}},4758:function(t){var e=Math.ceil,n=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?n:e)(r)}},30:function(t,e,n){var r,o=n(9670),i=n(6048),a=n(748),s=n(3501),c=n(490),u=n(317),l=n(6200),p="prototype",d="script",h=l("IE_PROTO"),f=function(){},_=function(t){return"<"+d+">"+t+"</"+d+">"},m=function(t){t.write(_("")),t.close();var e=t.parentWindow.Object;return t=null,e},g=function(){try{r=new ActiveXObject("htmlfile")}catch(i){}var t,e,n;g="undefined"!=typeof document?document.domain&&r?m(r):(e=u("iframe"),n="java"+d+":",e.style.display="none",c.appendChild(e),e.src=String(n),(t=e.contentWindow.document).open(),t.write(_("document.F=Object")),t.close(),t.F):m(r);for(var o=a.length;o--;)delete g[p][a[o]];return g()};s[h]=!0,t.exports=Object.create||function(t,e){var n;return null!==t?(f[p]=o(t),n=new f,f[p]=null,n[h]=t):n=g(),void 0===e?n:i.f(n,e)}},6048:function(t,e,n){var r=n(9781),o=n(3353),i=n(3070),a=n(9670),s=n(5656),c=n(1956);e.f=r&&!o?Object.defineProperties:function(t,e){a(t);for(var n,r=s(e),o=c(e),u=o.length,l=0;u>l;)i.f(t,n=o[l++],r[n]);return t}},3070:function(t,e,n){var r=n(9781),o=n(4664),i=n(3353),a=n(9670),s=n(4948),c=TypeError,u=Object.defineProperty,l=Object.getOwnPropertyDescriptor,p="enumerable",d="configurable",h="writable";e.f=r?i?function(t,e,n){if(a(t),e=s(e),a(n),"function"==typeof t&&"prototype"===e&&"value"in n&&h in n&&!n[h]){var r=l(t,e);r&&r[h]&&(t[e]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:p in n?n[p]:r[p],writable:!1})}return u(t,e,n)}:u:function(t,e,n){if(a(t),e=s(e),a(n),o)try{return u(t,e,n)}catch(r){}if("get"in n||"set"in n)throw c("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},7976:function(t,e,n){var r=n(1702);t.exports=r({}.isPrototypeOf)},6324:function(t,e,n){var r=n(1702),o=n(2597),i=n(5656),a=n(1318).indexOf,s=n(3501),c=r([].push);t.exports=function(t,e){var n,r=i(t),u=0,l=[];for(n in r)!o(s,n)&&o(r,n)&&c(l,n);for(;e.length>u;)o(r,n=e[u++])&&(~a(l,n)||c(l,n));return l}},1956:function(t,e,n){var r=n(6324),o=n(748);t.exports=Object.keys||function(t){return r(t,o)}},2140:function(t,e,n){var r=n(6916),o=n(614),i=n(111),a=TypeError;t.exports=function(t,e){var n,s;if("string"===e&&o(n=t.toString)&&!i(s=r(n,t)))return s;if(o(n=t.valueOf)&&!i(s=r(n,t)))return s;if("string"!==e&&o(n=t.toString)&&!i(s=r(n,t)))return s;throw a("Can't convert object to primitive value")}},4488:function(t,e,n){var r=n(8554),o=TypeError;t.exports=function(t){if(r(t))throw o("Can't call method on "+t);return t}},6200:function(t,e,n){var r=n(2309),o=n(9711),i=r("keys");t.exports=function(t){return i[t]||(i[t]=o(t))}},5465:function(t,e,n){var r=n(7854),o=n(3072),i="__core-js_shared__",a=r[i]||o(i,{});t.exports=a},2309:function(t,e,n){var r=n(1913),o=n(5465);(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.1",mode:r?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.1/LICENSE",source:"https://github.com/zloirock/core-js"})},6293:function(t,e,n){var r=n(7392),o=n(7293);t.exports=!!Object.getOwnPropertySymbols&&!o((function(){var t=Symbol();return!String(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},1400:function(t,e,n){var r=n(9303),o=Math.max,i=Math.min;t.exports=function(t,e){var n=r(t);return n<0?o(n+e,0):i(n,e)}},5656:function(t,e,n){var r=n(8361),o=n(4488);t.exports=function(t){return r(o(t))}},9303:function(t,e,n){var r=n(4758);t.exports=function(t){var e=+t;return e!=e||0===e?0:r(e)}},7466:function(t,e,n){var r=n(9303),o=Math.min;t.exports=function(t){return t>0?o(r(t),9007199254740991):0}},7908:function(t,e,n){var r=n(4488),o=Object;t.exports=function(t){return o(r(t))}},7593:function(t,e,n){var r=n(6916),o=n(111),i=n(2190),a=n(8173),s=n(2140),c=n(5112),u=TypeError,l=c("toPrimitive");t.exports=function(t,e){if(!o(t)||i(t))return t;var n,c=a(t,l);if(c){if(void 0===e&&(e="default"),n=r(c,t,e),!o(n)||i(n))return n;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),s(t,e)}},4948:function(t,e,n){var r=n(7593),o=n(2190);t.exports=function(t){var e=r(t,"string");return o(e)?e:e+""}},6330:function(t){var e=String;t.exports=function(t){try{return e(t)}catch(n){return"Object"}}},9711:function(t,e,n){var r=n(1702),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},3307:function(t,e,n){var r=n(6293);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3353:function(t,e,n){var r=n(9781),o=n(7293);t.exports=r&&o((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5112:function(t,e,n){var r=n(7854),o=n(2309),i=n(2597),a=n(9711),s=n(6293),c=n(3307),u=r.Symbol,l=o("wks"),p=c?u.for||u:u&&u.withoutSetter||a;t.exports=function(t){return i(l,t)||(l[t]=s&&i(u,t)?u[t]:p("Symbol."+t)),l[t]}},9244:function(t,e,n){n(1223)("flatMap")},9679:function(t,e,n){"use strict";e.p2=e.$C=void 0;var r=n(1432);e.$C=r.ScrollHandler;var o=n(4855);e.p2=o.useScrollRestoration},1432:function(t,e,n){"use strict";var r=n(4836);e.__esModule=!0,e.ScrollHandler=e.ScrollContext=void 0;var o=r(n(6115)),i=r(n(7867)),a=function(t,e){if(!e&&t&&t.__esModule)return t;if(null===t||"object"!=typeof t&&"function"!=typeof t)return{default:t};var n=u(e);if(n&&n.has(t))return n.get(t);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in t)if("default"!==i&&Object.prototype.hasOwnProperty.call(t,i)){var a=o?Object.getOwnPropertyDescriptor(t,i):null;a&&(a.get||a.set)?Object.defineProperty(r,i,a):r[i]=t[i]}r.default=t,n&&n.set(t,r);return r}(n(7294)),s=r(n(5697)),c=n(1142);function u(t){if("function"!=typeof WeakMap)return null;var e=new WeakMap,n=new WeakMap;return(u=function(t){return t?n:e})(t)}var l=a.createContext(new c.SessionStorage);e.ScrollContext=l,l.displayName="GatsbyScrollContext";var p=function(t){function e(){for(var e,n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return(e=t.call.apply(t,[this].concat(r))||this)._stateStorage=new c.SessionStorage,e._isTicking=!1,e._latestKnownScrollY=0,e.scrollListener=function(){e._latestKnownScrollY=window.scrollY,e._isTicking||(e._isTicking=!0,requestAnimationFrame(e._saveScroll.bind((0,o.default)(e))))},e.windowScroll=function(t,n){e.shouldUpdateScroll(n,e.props)&&window.scrollTo(0,t)},e.scrollToHash=function(t,n){var r=document.getElementById(t.substring(1));r&&e.shouldUpdateScroll(n,e.props)&&r.scrollIntoView()},e.shouldUpdateScroll=function(t,n){var r=e.props.shouldUpdateScroll;return!r||r.call((0,o.default)(e),t,n)},e}(0,i.default)(e,t);var n=e.prototype;return n._saveScroll=function(){var t=this.props.location.key||null;t&&this._stateStorage.save(this.props.location,t,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var t;window.addEventListener("scroll",this.scrollListener);var e=this.props.location,n=e.key,r=e.hash;n&&(t=this._stateStorage.read(this.props.location,n)),t?this.windowScroll(t,void 0):r&&this.scrollToHash(decodeURI(r),void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(t){var e,n=this.props.location,r=n.hash,o=n.key;o&&(e=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),t):this.windowScroll(e,t)},n.render=function(){return a.createElement(l.Provider,{value:this._stateStorage},this.props.children)},e}(a.Component);e.ScrollHandler=p,p.propTypes={shouldUpdateScroll:s.default.func,children:s.default.element.isRequired,location:s.default.object.isRequired}},1142:function(t,e){"use strict";e.__esModule=!0,e.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function t(){}var e=t.prototype;return e.read=function(t,e){var r=this.getStateKey(t,e);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(i){return window&&window[n]&&window[n][r]?window[n][r]:0}},e.save=function(t,e,r){var o=this.getStateKey(t,e),i=JSON.stringify(r);try{window.sessionStorage.setItem(o,i)}catch(a){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(i)}},e.getStateKey=function(t,e){var n="@@scroll|"+t.pathname;return null==e?n:n+"|"+e},t}();e.SessionStorage=r},4855:function(t,e,n){"use strict";e.__esModule=!0,e.useScrollRestoration=function(t){var e=(0,i.useLocation)(),n=(0,o.useContext)(r.ScrollContext),a=(0,o.useRef)(null);return(0,o.useLayoutEffect)((function(){if(a.current){var r=n.read(e,t);a.current.scrollTo(0,r||0)}}),[e.key]),{ref:a,onScroll:function(){a.current&&n.save(e,t,a.current.scrollTop)}}};var r=n(1432),o=n(7294),i=n(9499)},5418:function(t,e,n){e.components={"component---cache-caches-gatsby-plugin-offline-app-shell-js":()=>n.e(306).then(n.bind(n,1367)),"component---src-templates-index-template-index-template-tsx":()=>Promise.all([n.e(774),n.e(532),n.e(418),n.e(63),n.e(574)]).then(n.bind(n,5886)),"component---src-templates-not-found-template-not-found-template-tsx":()=>Promise.all([n.e(774),n.e(532),n.e(418),n.e(63),n.e(673)]).then(n.bind(n,7491)),"component---src-templates-page-template-page-template-tsx":()=>Promise.all([n.e(774),n.e(532),n.e(418),n.e(63),n.e(982)]).then(n.bind(n,9709)),"component---src-templates-post-template-post-template-tsx":()=>Promise.all([n.e(774),n.e(532),n.e(418),n.e(827)]).then(n.bind(n,7495)),"component---src-templates-tag-template-tag-template-tsx":()=>Promise.all([n.e(774),n.e(532),n.e(418),n.e(63),n.e(854)]).then(n.bind(n,518)),"component---src-templates-tags-template-tags-template-tsx":()=>Promise.all([n.e(774),n.e(532),n.e(418),n.e(63),n.e(249)]).then(n.bind(n,6389))}},4741:function(t,e,n){t.exports=[{plugin:n(2154),options:{plugins:[],maxWidth:960,withWebp:!0,linkImagesToOriginal:!0,showCaptions:!1,markdownCaptions:!1,backgroundColor:"white",quality:50,withAvif:!1,loading:"lazy",decoding:"async",disableBgImageOnAlpha:!1,disableBgImage:!1}},{plugin:n(9650),options:{plugins:[],offsetY:0,className:"anchor"}},{plugin:n(6052),options:{plugins:[],trackingIds:["G-HPJZC3YDQQ"],pluginConfig:{head:!0}}},{plugin:n(9608),options:{plugins:[],name:"MyWeblog",short_name:"MyWeblog",theme_color:"hsl(31, 92%, 62%)",background_color:"hsl(0, 0%, 100%)",icon:"content/avatar.jpg",display:"standalone",start_url:"/",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"c12c945b50f2d123047d7c501add6845"}},{plugin:n(9684),options:{plugins:[],workboxConfig:{runtimeCaching:[{urlPattern:{},handler:"CacheFirst"},{urlPattern:{},handler:"StaleWhileRevalidate"},{urlPattern:{},handler:"StaleWhileRevalidate"},{urlPattern:{},handler:"StaleWhileRevalidate"}]}}},{plugin:n(3039),options:{plugins:[],tracesSampleRate:1}},{plugin:n(436),options:{plugins:[]}},{plugin:n(7848),options:{plugins:[]}},{plugin:n(540),options:{plugins:[]}}]},3092:function(t,e,n){const r=n(4741),{getResourceURLsForPathname:o,loadPage:i,loadPageSync:a}=n(8575).jN;e.h=function(t,e,n,s){void 0===e&&(e={});let c=r.map((n=>{if(!n.plugin[t])return;e.getResourceURLsForPathname=o,e.loadPage=i,e.loadPageSync=a;const r=n.plugin[t](e,n.options);return r&&s&&(e=s({args:e,result:r,plugin:n})),r}));return c=c.filter((t=>void 0!==t)),c.length>0?c:n?[n]:[]},e.I=(t,e,n)=>r.reduce(((n,r)=>r.plugin[t]?n.then((()=>r.plugin[t](e,r.options))):n),Promise.resolve())},8299:function(t,e,n){"use strict";n.d(e,{Z:function(){return r}});var r=function(t){return t=t||Object.create(null),{on:function(e,n){(t[e]||(t[e]=[])).push(n)},off:function(e,n){t[e]&&t[e].splice(t[e].indexOf(n)>>>0,1)},emit:function(e,n){(t[e]||[]).slice().map((function(t){t(n)})),(t["*"]||[]).slice().map((function(t){t(e,n)}))}}}()},7802:function(t,e,n){"use strict";n.d(e,{UD:function(){return d},Cj:function(){return f},GA:function(){return h},DS:function(){return p}});var r=n(2098),o=n(1505),i=t=>{if(void 0===t)return t;let[e,n=""]=t.split("?");return n&&(n="?"+n),"/"===e?"/"+n:"/"===e.charAt(e.length-1)?e.slice(0,-1)+n:e+n},a=n(6073);const s=new Map;let c=[];const u=t=>{let e=t;if(-1!==t.indexOf("?")){const[n,r]=t.split("?");e=n+"?"+encodeURIComponent(r)}const n=decodeURIComponent(e);return(0,o.Z)(n,decodeURIComponent("")).split("#")[0]};function l(t){return t.startsWith("/")||t.startsWith("https://")||t.startsWith("http://")?t:new URL(t,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const p=t=>{c=t},d=t=>{const e=_(t),n=c.map((t=>{let{path:e,matchPath:n}=t;return{path:n,originalPath:e}})),o=(0,r.ei)(n,e);return o?i(o.route.originalPath):null},h=t=>{const e=_(t),n=c.map((t=>{let{path:e,matchPath:n}=t;return{path:n,originalPath:e}})),o=(0,r.ei)(n,e);return o?o.params:{}},f=t=>{const e=u(l(t));if(s.has(e))return s.get(e);const n=(0,a.J)(t);if(n)return f(n.toPath);let r=d(e);return r||(r=_(t)),s.set(e,r),r},_=t=>{let e=u(l(t));return"/index.html"===e&&(e="/"),e=i(e),e}},1082:function(t,e,n){"use strict";n.r(e),n.d(e,{Link:function(){return s.ZP},PageRenderer:function(){return i()},Script:function(){return f.Script},ScriptStrategy:function(){return f.ScriptStrategy},StaticQuery:function(){return d},StaticQueryContext:function(){return u},StaticQueryServerContext:function(){return l},collectedScriptsByPage:function(){return f.collectedScriptsByPage},graphql:function(){return m},navigate:function(){return s.c4},parsePath:function(){return s.cP},prefetchPathname:function(){return _},scriptCache:function(){return f.scriptCache},scriptCallbackCache:function(){return f.scriptCallbackCache},useScrollRestoration:function(){return a.p2},useStaticQuery:function(){return h},withAssetPrefix:function(){return s.mc},withPrefix:function(){return s.dq}});var r=n(8575),o=n(2743),i=n.n(o),a=n(9679),s=n(4219),c=n(7294);const u=c.createContext({});let l=null;function p(t){let{staticQueryData:e,data:n,query:r,render:o}=t;const i=n?n.data:e[r]&&e[r].data;return c.createElement(c.Fragment,null,i&&o(i),!i&&c.createElement("div",null,"Loading (StaticQuery)"))}c.createServerContext&&(l=c.createServerContext("StaticQuery",{}));const d=t=>{const{data:e,query:n,render:r,children:o}=t;return c.createElement(u.Consumer,null,(t=>c.createElement(p,{data:e,query:n,render:r||o,staticQueryData:t})))},h=t=>{var e;let n;if(c.useContext,n=l&&Object.keys(l._currentValue).length?c.useContext(l):c.useContext(u),isNaN(Number(t)))throw new Error("useStaticQuery was called with a string but expects to be called using `graphql`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql`"+t+"`);\n");if(null!==(e=n[t])&&void 0!==e&&e.data)return n[t].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")};var f=n(3521);const _=r.ZP.enqueue;function m(){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.")}},8575:function(t,e,n){"use strict";n.d(e,{uQ:function(){return p},kL:function(){return y},ZP:function(){return S},hs:function(){return w},jN:function(){return b},N1:function(){return E}});var r=n(1721);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=new Array(e);n<e;n++)r[n]=t[n];return r}function i(t){return function(t){if(Array.isArray(t))return o(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return o(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?o(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const a=function(t){if("undefined"==typeof document)return!1;const e=document.createElement("link");try{if(e.relList&&"function"==typeof e.relList.supports)return e.relList.supports(t)}catch(n){return!1}return!1}("prefetch")?function(t,e){return new Promise(((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",t),Object.keys(e).forEach((t=>{o.setAttribute(t,e[t])})),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)}))}:function(t){return new Promise(((e,n)=>{const r=new XMLHttpRequest;r.open("GET",t,!0),r.onload=()=>{200===r.status?e():n()},r.send(null)}))},s={};var c=function(t,e){return new Promise((n=>{s[t]?n():a(t,e).then((()=>{n(),s[t]=!0})).catch((()=>{}))}))},u=n(8299),l=n(7802);const p={Error:"error",Success:"success"},d=t=>{const[e,n]=t.split("?");var r;return"/page-data/"+("/"===e?"index":(r="/"===(r=e)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r)+"/page-data.json"+(n?"?"+n:"")};function h(t,e){return void 0===e&&(e="GET"),new Promise((n=>{const r=new XMLHttpRequest;r.open(e,t,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)}))}const f=/bot|crawler|spider|crawling/i,_=function(t,e,n){void 0===e&&(e=null);const r={componentChunkName:t.componentChunkName,path:t.path,webpackCompilationHash:t.webpackCompilationHash,matchPath:t.matchPath,staticQueryHashes:t.staticQueryHashes,getServerDataError:t.getServerDataError};return{component:e,head:n,json:t.result,page:r}};let m=function(){function t(t,e){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=t,(0,l.DS)(e)}var e=t.prototype;return e.memoizedGet=function(t){let e=this.inFlightNetworkRequests.get(t);return e||(e=h(t,"GET"),this.inFlightNetworkRequests.set(t,e)),e.then((e=>(this.inFlightNetworkRequests.delete(t),e))).catch((e=>{throw this.inFlightNetworkRequests.delete(t),e}))},e.setApiRunner=function(t){this.apiRunner=t,this.prefetchDisabled=t("disableCorePrefetching").some((t=>t))},e.fetchPageDataJson=function(t){const{pagePath:e,retries:n=0}=t,r=d(e);return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{const n=JSON.parse(i);if(void 0===n.path)throw new Error("not a valid pageData response");const r=e.split("?")[1];return r&&!n.path.includes(r)&&(n.path+="?"+r),Object.assign(t,{status:p.Success,payload:n})}catch(a){}return 404===o||200===o?"/404.html"===e||"/500.html"===e?Object.assign(t,{status:p.Error}):this.fetchPageDataJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(t,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(t,{retries:n+1})):Object.assign(t,{status:p.Error})}))},e.fetchPartialHydrationJson=function(t){const{pagePath:e,retries:n=0}=t,r=d(e).replace(".json","-rsc.json");return this.memoizedGet(r).then((r=>{const{status:o,responseText:i}=r;if(200===o)try{return Object.assign(t,{status:p.Success,payload:i})}catch(a){}return 404===o||200===o?"/404.html"===e||"/500.html"===e?Object.assign(t,{status:p.Error}):this.fetchPartialHydrationJson(Object.assign(t,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(t,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(t,{retries:n+1})):Object.assign(t,{status:p.Error})}))},e.loadPageDataJson=function(t){const e=(0,l.Cj)(t);if(this.pageDataDb.has(e)){const t=this.pageDataDb.get(e);return Promise.resolve(t)}return this.fetchPageDataJson({pagePath:e}).then((t=>(this.pageDataDb.set(e,t),t)))},e.loadPartialHydrationJson=function(t){const e=(0,l.Cj)(t);if(this.partialHydrationDb.has(e)){const t=this.partialHydrationDb.get(e);return Promise.resolve(t)}return this.fetchPartialHydrationJson({pagePath:e}).then((t=>(this.partialHydrationDb.set(e,t),t)))},e.findMatchPath=function(t){return(0,l.UD)(t)},e.loadPage=function(t){const e=(0,l.Cj)(t);if(this.pageDb.has(e)){const t=this.pageDb.get(e);return t.error?{error:t.error,status:t.status}:Promise.resolve(t.payload)}if(this.inFlightDb.has(e))return this.inFlightDb.get(e);let n;return n=Promise.all([this.loadAppData(),this.loadPageDataJson(e)]).then((t=>{const n=t[1];if(n.status===p.Error)return{status:p.Error};let r=n.payload;const{componentChunkName:o,staticQueryHashes:i=[]}=r,a={},s=Promise.all([this.loadComponent(o),this.loadComponent(o,"head")]).then((e=>{let o,[i,s]=e;return a.createdAt=new Date,!i||i instanceof Error?(a.status=p.Error,a.error=i):(a.status=p.Success,!0===n.notFound&&(a.notFound=!0),r=Object.assign(r,{webpackCompilationHash:t[0]?t[0].webpackCompilationHash:""}),o=_(r,i,s)),o})),c=Promise.all(i.map((t=>{if(this.staticQueryDb[t]){const e=this.staticQueryDb[t];return{staticQueryHash:t,jsonPayload:e}}return this.memoizedGet("/page-data/sq/d/"+t+".json").then((e=>{const n=JSON.parse(e.responseText);return{staticQueryHash:t,jsonPayload:n}})).catch((()=>{throw new Error("We couldn't load \"/page-data/sq/d/"+t+'.json"')}))}))).then((t=>{const e={};return t.forEach((t=>{let{staticQueryHash:n,jsonPayload:r}=t;e[n]=r,this.staticQueryDb[n]=r})),e}));return Promise.all([s,c]).then((t=>{let n,[r,o]=t;return r&&(n={...r,staticQueryResults:o},a.payload=n,u.Z.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(e,a),a.error?{error:a.error,status:a.status}:n})).catch((t=>({error:t,status:p.Error})))})),n.then((()=>{this.inFlightDb.delete(e)})).catch((t=>{throw this.inFlightDb.delete(e),t})),this.inFlightDb.set(e,n),n},e.loadPageSync=function(t,e){void 0===e&&(e={});const n=(0,l.Cj)(t);if(this.pageDb.has(n)){var r;const t=this.pageDb.get(n);if(t.payload)return t.payload;if(null!==(r=e)&&void 0!==r&&r.withErrorDetails)return{error:t.error,status:t.status}}},e.shouldPrefetch=function(t){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!f.test(navigator.userAgent))&&!this.pageDb.has(t))},e.prefetch=function(t){if(!this.shouldPrefetch(t))return{then:t=>t(!1),abort:()=>{}};if(this.prefetchTriggered.has(t))return{then:t=>t(!0),abort:()=>{}};const e={resolve:null,reject:null,promise:null};e.promise=new Promise(((t,n)=>{e.resolve=t,e.reject=n})),this.prefetchQueued.push([t,e]);const n=new AbortController;return n.signal.addEventListener("abort",(()=>{const e=this.prefetchQueued.findIndex((e=>{let[n]=e;return n===t}));-1!==e&&this.prefetchQueued.splice(e,1)})),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)),{then:(t,n)=>e.promise.then(t,n),abort:n.abort.bind(n)}},e._processNextPrefetchBatch=function(){(window.requestIdleCallback||(t=>setTimeout(t,0)))((()=>{const t=this.prefetchQueued.splice(0,4),e=Promise.all(t.map((t=>{let[e,n]=t;return this.prefetchTriggered.has(e)||(this.apiRunner("onPrefetchPathname",{pathname:e}),this.prefetchTriggered.add(e)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,l.Cj)(e)).then((()=>{this.prefetchCompleted.has(e)||(this.apiRunner("onPostPrefetchPathname",{pathname:e}),this.prefetchCompleted.add(e)),n.resolve(!0)}))})));this.prefetchQueued.length?e.then((()=>{setTimeout((()=>{this._processNextPrefetchBatch()}),3e3)})):this.isPrefetchQueueRunning=!1}))},e.doPrefetch=function(t){const e=d(t);return c(e,{crossOrigin:"anonymous",as:"fetch"}).then((()=>this.loadPageDataJson(t)))},e.hovering=function(t){this.loadPage(t)},e.getResourceURLsForPathname=function(t){const e=(0,l.Cj)(t),n=this.pageDataDb.get(e);if(n){const t=_(n.payload);return[].concat(i(g(t.page.componentChunkName)),[d(e)])}return null},e.isPageNotFound=function(t){const e=(0,l.Cj)(t),n=this.pageDb.get(e);return!n||n.notFound},e.loadAppData=function(t){return void 0===t&&(t=0),this.memoizedGet("/page-data/app-data.json").then((e=>{const{status:n,responseText:r}=e;let o;if(200!==n&&t<3)return this.loadAppData(t+1);if(200===n)try{const t=JSON.parse(r);if(void 0===t.webpackCompilationHash)throw new Error("not a valid app-data response");o=t}catch(i){}return o}))},t}();const g=t=>(window.___chunkMapping[t]||[]).map((t=>""+t));let v,y=function(t){function e(e,n,r){var o;return o=t.call(this,(function(t,n){if(void 0===n&&(n="components"),!e[n="components"][t])throw new Error("We couldn't find the correct component chunk with the name \""+t+'"');return e[n][t]().catch((t=>t))}),n)||this,r&&o.pageDataDb.set((0,l.Cj)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.Z)(e,t);var n=e.prototype;return n.doPrefetch=function(e){return t.prototype.doPrefetch.call(this,e).then((t=>{if(t.status!==p.Success)return Promise.resolve();const e=t.payload,n=e.componentChunkName,r=g(n);return Promise.all(r.map(c)).then((()=>e))}))},n.loadPageDataJson=function(e){return t.prototype.loadPageDataJson.call(this,e).then((t=>t.notFound?h(e,"HEAD").then((e=>200===e.status?{status:p.Error}:t)):t))},n.loadPartialHydrationJson=function(e){return t.prototype.loadPartialHydrationJson.call(this,e).then((t=>t.notFound?h(e,"HEAD").then((e=>200===e.status?{status:p.Error}:t)):t))},e}(m);const E=t=>{v=t},b={enqueue:t=>v.prefetch(t),getResourceURLsForPathname:t=>v.getResourceURLsForPathname(t),loadPage:t=>v.loadPage(t),loadPageSync:function(t,e){return void 0===e&&(e={}),v.loadPageSync(t,e)},prefetch:t=>v.prefetch(t),isPageNotFound:t=>v.isPageNotFound(t),hovering:t=>v.hovering(t),loadAppData:()=>v.loadAppData()};var S=b;function w(){return v?v.staticQueryDb:{}}},4779:function(t,e,n){"use strict";n.d(e,{Z:function(){return y}});var r=n(7294),o=n(5697),i=n.n(o),a=n(3092),s=n(7802),c=n(1082),u=n(9499),l=n(4941);function p(t){let{children:e,callback:n}=t;return(0,r.useEffect)((()=>{n()})),e}const d=["link","meta","style","title","base","noscript","script"];function h(t,e){if(t instanceof HTMLElement&&e instanceof HTMLElement){const n=e.getAttribute("nonce");if(n&&!t.getAttribute("nonce")){const r=e.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===t.nonce&&t.isEqualNode(r)}}return t.isEqualNode(e)}const f=document.createElement("div"),_=()=>{const t=document.querySelectorAll("[data-gatsby-head]");for(const e of t)e.parentNode.removeChild(e)},m=()=>{var t;const e=[],n=new Map;for(const u of f.childNodes){var r,o;const t=u.nodeName.toLowerCase(),a=null===(r=u.attributes)||void 0===r||null===(o=r.id)||void 0===o?void 0:o.value;if(d.includes(t)){let t=u.cloneNode(!0);if(t.setAttribute("data-gatsby-head",!0),"script"===t.nodeName.toLowerCase()){const e=document.createElement("script");for(const n of t.attributes)e.setAttribute(n.name,n.value);e.innerHTML=t.innerHTML,t=e}if(a)if(n.has(a)){var i;const r=n.get(a);null===(i=e[r].parentNode)||void 0===i||i.removeChild(e[r]),e[r]=t}else e.push(t),n.set(a,e.length-1);else e.push(t)}else;}const a=document.querySelectorAll("[data-gatsby-head]");var s;if(0===a.length)return void(s=document.head).append.apply(s,e);const c=[];!function(t){let{oldNodes:e,newNodes:n,onStale:r,onNew:o}=t;for(const i of e){const t=n.findIndex((t=>h(t,i)));-1===t?r(i):n.splice(t,1)}for(const i of n)o(i)}({oldNodes:a,newNodes:e,onStale:t=>t.parentNode.removeChild(t),onNew:t=>c.push(t)}),(t=document.head).append.apply(t,c)};function g(t){let{pageComponent:e,staticQueryResults:n,pageComponentProps:o}=t;(0,r.useEffect)((()=>{if(null!=e&&e.Head){!function(t){if("function"!=typeof t)throw new Error('Expected "Head" export to be a function got "'+typeof t+'".')}(e.Head);const{render:i}=(0,l.U)(),a=e.Head;i(r.createElement(p,{callback:m},r.createElement(c.StaticQueryContext.Provider,{value:n},r.createElement(u.LocationProvider,null,r.createElement(a,{location:{pathname:(t=o).location.pathname},params:t.params,data:t.data||{},pageContext:t.pageContext})))),f)}var t;return()=>{_()}}))}function v(t){const e={...t,params:{...(0,s.GA)(t.location.pathname),...t.pageResources.json.pageContext.__params}};let n;var o;n=t.pageResources.partialHydration?t.pageResources.partialHydration:(0,r.createElement)((o=t.pageResources.component)&&o.default||o,{...e,key:t.path||t.pageResources.page.path});g({pageComponent:t.pageResources.head,staticQueryResults:t.pageResources.staticQueryResults,pageComponentProps:e});return(0,a.h)("wrapPageElement",{element:n,props:e},n,(t=>{let{result:n}=t;return{element:n,props:e}})).pop()}v.propTypes={location:i().object.isRequired,pageResources:i().object.isRequired,data:i().object,pageContext:i().object.isRequired};var y=v},5824:function(t,e,n){"use strict";var r=n(1721),o=n(3092),i=n(7294),a=n(9499),s=n(9679),c=n(1082),u=n(8575),l=n(6073),p=n(8299);const d={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var h=n(2393),f=n(4219);function _(t){const e=(0,l.J)(t),{hash:n,search:r}=window.location;return null!=e&&(window.___replace(e.toPath+r+n),!0)}let m="";window.addEventListener("unhandledrejection",(t=>{/loading chunk \d* failed./i.test(t.reason)&&m&&(window.location.pathname=m)}));const g=(t,e)=>{_(t.pathname)||(m=t.pathname,(0,o.h)("onPreRouteUpdate",{location:t,prevLocation:e}))},v=(t,e)=>{_(t.pathname)||(0,o.h)("onRouteUpdate",{location:t,prevLocation:e})},y=function(t,e){if(void 0===e&&(e={}),"number"==typeof t)return void h.V5.navigate(t);const{pathname:n,search:r,hash:i}=(0,f.cP)(t),s=(0,l.J)(n);if(s&&(t=s.toPath+r+i),window.___swUpdated)return void(window.location=n+r+i);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+i),(0,a.navigate)(t,e),clearTimeout(c)}))};function E(t,e){let{location:n}=e;const{pathname:r,hash:i}=n,a=(0,o.h)("shouldUpdateScroll",{prevRouterProps:t,pathname:r,routerProps:{location:n},getSavedScrollPosition:t=>[0,this._stateStorage.read(t,t.key)]});if(a.length>0)return a[a.length-1];if(t){const{location:{pathname:e}}=t;if(e===r)return i?decodeURI(i.slice(1)):[0,0]}return!0}let b=function(t){function e(e){var n;return(n=t.call(this,e)||this).announcementRef=i.createRef(),n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidUpdate=function(t,e){requestAnimationFrame((()=>{let t="new page at "+this.props.location.pathname;document.title&&(t=document.title);const e=document.querySelectorAll("#gatsby-focus-wrapper h1");e&&e.length&&(t=e[0].textContent);const n="Navigated to "+t;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}}))},n.render=function(){return i.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},e}(i.Component);const S=(t,e)=>{var n,r;return t.href!==e.href||(null==t||null===(n=t.state)||void 0===n?void 0:n.key)!==(null==e||null===(r=e.state)||void 0===r?void 0:r.key)};let w=function(t){function e(e){var n;return n=t.call(this,e)||this,g(e.location,null),n}(0,r.Z)(e,t);var n=e.prototype;return n.componentDidMount=function(){v(this.props.location,null)},n.shouldComponentUpdate=function(t){return!!S(t.location,this.props.location)&&(g(this.props.location,t.location),!0)},n.componentDidUpdate=function(t){S(t.location,this.props.location)&&v(this.props.location,t.location)},n.render=function(){return i.createElement(i.Fragment,null,this.props.children,i.createElement(b,{location:location}))},e}(i.Component);var T=n(4779),R=n(5418);function x(t,e){for(var n in t)if(!(n in e))return!0;for(var r in e)if(t[r]!==e[r])return!0;return!1}var k=function(t){function e(e){var n;n=t.call(this)||this;const{location:r,pageResources:o}=e;return n.state={location:{...r},pageResources:o||u.ZP.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.Z)(e,t),e.getDerivedStateFromProps=function(t,e){let{location:n}=t;if(e.location.href!==n.href){return{pageResources:u.ZP.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=e.prototype;return n.loadResources=function(t){u.ZP.loadPage(t).then((e=>{e&&e.status!==u.uQ.Error?this.setState({location:{...window.location},pageResources:e}):(window.history.replaceState({},"",location.href),window.location=t)}))},n.shouldComponentUpdate=function(t,e){return e.pageResources?this.state.pageResources!==e.pageResources||(this.state.pageResources.component!==e.pageResources.component||(this.state.pageResources.json!==e.pageResources.json||(!(this.state.location.key===e.location.key||!e.pageResources.page||!e.pageResources.page.matchPath&&!e.pageResources.page.path)||function(t,e,n){return x(t.props,e)||x(t.state,n)}(this,t,e)))):(this.loadResources(t.location.pathname+t.location.search),!1)},n.render=function(){return this.props.children(this.state)},e}(i.Component),D=n(1505),N=n(4941);const C=new u.kL(R,[],window.pageData);(0,u.N1)(C),C.setApiRunner(o.h);const{render:P,hydrate:O}=(0,N.U)();window.asyncRequires=R,window.___emitter=p.Z,window.___loader=u.jN,h.V5.listen((t=>{t.location.action=t.action})),window.___push=t=>y(t,{replace:!1}),window.___replace=t=>y(t,{replace:!0}),window.___navigate=(t,e)=>y(t,e);const U="gatsby-reload-compilation-hash-match";(0,o.I)("onClientEntry").then((()=>{(0,o.h)("registerServiceWorker").filter(Boolean).length>0&&n(9939);const t=t=>i.createElement(a.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},i.createElement(T.Z,t)),e=i.createContext({});let l=function(t){function n(){return t.apply(this,arguments)||this}return(0,r.Z)(n,t),n.prototype.render=function(){const{children:t}=this.props;return i.createElement(a.Location,null,(n=>{let{location:r}=n;return i.createElement(k,{location:r},(n=>{let{pageResources:r,location:o}=n;if(r.partialHydration)return i.createElement(e.Provider,{value:{pageResources:r,location:o}},t);{const n=(0,u.hs)();return i.createElement(c.StaticQueryContext.Provider,{value:n},i.createElement(e.Provider,{value:{pageResources:r,location:o}},t))}}))}))},n}(i.Component),p=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.Z)(o,n),o.prototype.render=function(){return i.createElement(e.Consumer,null,(e=>{let{pageResources:n,location:r}=e;return i.createElement(w,{location:r},i.createElement(s.$C,{location:r,shouldUpdateScroll:E},i.createElement(a.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},i.createElement(t,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,D.Z)(r.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:r,pageResources:n},n.json)))))}))},o}(i.Component);const{pagePath:d,location:h}=window;d&&""+d!==h.pathname+(d.includes("?")?h.search:"")&&!(C.findMatchPath((0,D.Z)(h.pathname,""))||d.match(/^\/(404|500)(\/?|.html)$/)||d.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,a.navigate)(""+d+(d.includes("?")?"":h.search)+h.hash,{replace:!0});const f=()=>{try{return sessionStorage}catch{return null}};u.jN.loadPage(h.pathname+h.search).then((t=>{var e;const n=f();if(null!=t&&null!==(e=t.page)&&void 0!==e&&e.webpackCompilationHash&&t.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n)){if(!("1"===n.getItem(U)))return n.setItem(U,"1"),void window.location.reload(!0)}if(n&&n.removeItem(U),!t||t.status===u.uQ.Error){const e="page resources for "+h.pathname+" not found. Not rendering React";if(t&&t.error)throw console.error(e),t.error;throw new Error(e)}const r=(0,o.h)("wrapRootElement",{element:i.createElement(p,null)},i.createElement(p,null),(t=>{let{result:e}=t;return{element:e}})).pop(),a=function(){const t=i.useRef(!1);return i.useEffect((()=>{t.current||(t.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.h)("onInitialClientRender"))}),[]),i.createElement(l,null,r)},s=document.getElementById("gatsby-focus-wrapper");let c=P;s&&s.children.length&&(c=O);const d=(0,o.h)("replaceHydrateFunction",void 0,c)[0];function _(){const t="undefined"!=typeof window?document.getElementById("___gatsby"):null;d(i.createElement(a,null),t)}const m=document;if("complete"===m.readyState||"loading"!==m.readyState&&!m.documentElement.doScroll)setTimeout((function(){_()}),0);else{const t=function(){m.removeEventListener("DOMContentLoaded",t,!1),window.removeEventListener("load",t,!1),_()};m.addEventListener("DOMContentLoaded",t,!1),window.addEventListener("load",t,!1)}}))}))},224:function(t,e,n){"use strict";n.r(e);var r=n(7294),o=n(8575),i=n(4779);e.default=t=>{let{location:e}=t;const n=o.ZP.loadPageSync(e.pathname);return n?r.createElement(i.Z,{location:e,pageResources:n,...n.json}):null}},2743:function(t,e,n){var r;t.exports=(r=n(224))&&r.default||r},4941:function(t,e,n){"use strict";n.d(e,{U:function(){return o}});const r=new WeakMap;function o(){let t,e;{const o=n(745);t=(t,e)=>{let n=r.get(e);n||r.set(e,n=o.createRoot(e)),n.render(t)},e=(t,e)=>o.hydrateRoot(e,t)}return{render:t,hydrate:e}}},9712:function(t,e){e.O=t=>t},6073:function(t,e,n){"use strict";n.d(e,{J:function(){return i}});const r=new Map,o=new Map;function i(t){let e=r.get(t);return e||(e=o.get(t.toLowerCase())),e}[].forEach((t=>{t.ignoreCase?o.set(t.fromPath,t):r.set(t.fromPath,t)}))},9939:function(t,e,n){"use strict";n.r(e);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(t){t.addEventListener("updatefound",(()=>{(0,r.h)("onServiceWorkerUpdateFound",{serviceWorker:t});const e=t.installing;console.log("installingWorker",e),e.addEventListener("statechange",(()=>{switch(e.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.h)("onServiceWorkerUpdateReady",{serviceWorker:t}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.h)("onServiceWorkerInstalled",{serviceWorker:t}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.h)("onServiceWorkerRedundant",{serviceWorker:t});break;case"activated":(0,r.h)("onServiceWorkerActive",{serviceWorker:t})}}))}))})).catch((function(t){console.error("Error during service worker registration:",t)}))},1505:function(t,e,n){"use strict";function r(t,e){return void 0===e&&(e=""),e?t===e?"/":t.startsWith(e+"/")?t.slice(e.length):t:t}n.d(e,{Z:function(){return r}})},3039:function(t,e,n){"use strict";n.r(e),n.d(e,{onClientEntry:function(){return Ir}});const r="7.50.0";var o=n(9195);const i=["debug","info","warn","error","log","assert","trace"];function a(t){if(!("console"in o.n2))return t();const e=o.n2.console,n={};i.forEach((t=>{const r=e[t]&&e[t].__sentry_original__;t in e&&r&&(n[t]=e[t],e[t]=r)}));try{return t()}finally{Object.keys(n).forEach((t=>{e[t]=n[t]}))}}function s(){let t=!1;const e={enable:()=>{t=!0},disable:()=>{t=!1}};return"undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?i.forEach((n=>{e[n]=function(){for(var e=arguments.length,r=new Array(e),i=0;i<e;i++)r[i]=arguments[i];t&&a((()=>{o.n2.console[n]("".concat("Sentry Logger ","[").concat(n,"]:"),...r)}))}})):i.forEach((t=>{e[t]=()=>{}})),e}let c;c="undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?(0,o.YO)("logger",s):s();const u=Object.prototype.toString;function l(t){switch(u.call(t)){case"[object Error]":case"[object Exception]":case"[object DOMException]":return!0;default:return E(t,Error)}}function p(t,e){return u.call(t)==="[object ".concat(e,"]")}function d(t){return p(t,"ErrorEvent")}function h(t){return p(t,"DOMError")}function f(t){return p(t,"String")}function _(t){return null===t||"object"!=typeof t&&"function"!=typeof t}function m(t){return p(t,"Object")}function g(t){return"undefined"!=typeof Event&&E(t,Event)}function v(t){return Boolean(t&&t.then&&"function"==typeof t.then)}function y(t){return"number"==typeof t&&t!=t}function E(t,e){try{return t instanceof e}catch(n){return!1}}const b=(0,o.Rf)(),S=80;function w(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};try{let n=t;const r=5,o=[];let i=0,a=0;const s=" > ",c=s.length;let u;const l=Array.isArray(e)?e:e.keyAttrs,p=!Array.isArray(e)&&e.maxStringLength||S;for(;n&&i++<r&&(u=T(n,l),!("html"===u||i>1&&a+o.length*c+u.length>=p));)o.push(u),a+=u.length,n=n.parentNode;return o.reverse().join(s)}catch(n){return"<unknown>"}}function T(t,e){const n=t,r=[];let o,i,a,s,c;if(!n||!n.tagName)return"";r.push(n.tagName.toLowerCase());const u=e&&e.length?e.filter((t=>n.getAttribute(t))).map((t=>[t,n.getAttribute(t)])):null;if(u&&u.length)u.forEach((t=>{r.push("[".concat(t[0],'="').concat(t[1],'"]'))}));else if(n.id&&r.push("#".concat(n.id)),o=n.className,o&&f(o))for(i=o.split(/\s+/),c=0;c<i.length;c++)r.push(".".concat(i[c]));const l=["aria-label","type","name","title","alt"];for(c=0;c<l.length;c++)a=l[c],s=n.getAttribute(a),s&&r.push("[".concat(a,'="').concat(s,'"]'));return r.join("")}function R(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return"string"!=typeof t||0===e||t.length<=e?t:"".concat(t.slice(0,e),"...")}function x(t,e){if(!Array.isArray(t))return"";const n=[];for(let o=0;o<t.length;o++){const e=t[o];try{n.push(String(e))}catch(r){n.push("[value cannot be serialized]")}}return n.join(e)}function k(t,e){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return!!f(t)&&(p(e,"RegExp")?e.test(t):!!f(e)&&(n?t===e:t.includes(e)))}function D(t){let e=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]).some((n=>k(t,n,e)))}function N(t,e,n){if(!(e in t))return;const r=t[e],o=n(r);if("function"==typeof o)try{P(o,r)}catch(i){}t[e]=o}function C(t,e,n){Object.defineProperty(t,e,{value:n,writable:!0,configurable:!0})}function P(t,e){const n=e.prototype||{};t.prototype=e.prototype=n,C(t,"__sentry_original__",e)}function O(t){return t.__sentry_original__}function U(t){if(l(t))return{message:t.message,name:t.name,stack:t.stack,...j(t)};if(g(t)){const e={type:t.type,target:I(t.target),currentTarget:I(t.currentTarget),...j(t)};return"undefined"!=typeof CustomEvent&&E(t,CustomEvent)&&(e.detail=t.detail),e}return t}function I(t){try{return e=t,"undefined"!=typeof Element&&E(e,Element)?w(t):Object.prototype.toString.call(t)}catch(n){return"<unknown>"}var e}function j(t){if("object"==typeof t&&null!==t){const e={};for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}return{}}function B(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:40;const n=Object.keys(U(t));if(n.sort(),!n.length)return"[object has no keys]";if(n[0].length>=e)return R(n[0],e);for(let r=n.length;r>0;r--){const t=n.slice(0,r).join(", ");if(!(t.length>e))return r===n.length?t:R(t,e)}return""}function Y(t){return G(t,new Map)}function G(t,e){if(m(t)){const n=e.get(t);if(void 0!==n)return n;const r={};e.set(t,r);for(const o of Object.keys(t))void 0!==t[o]&&(r[o]=G(t[o],e));return r}if(Array.isArray(t)){const n=e.get(t);if(void 0!==n)return n;const r=[];return e.set(t,r),t.forEach((t=>{r.push(G(t,e))})),r}return t}function L(){const t=o.n2,e=t.crypto||t.msCrypto;if(e&&e.randomUUID)return e.randomUUID().replace(/-/g,"");const n=e&&e.getRandomValues?()=>e.getRandomValues(new Uint8Array(1))[0]:()=>16*Math.random();return([1e7]+1e3+4e3+8e3+1e11).replace(/[018]/g,(t=>(t^(15&n())>>t/4).toString(16)))}function A(t){return t.exception&&t.exception.values?t.exception.values[0]:void 0}function M(t){const{message:e,event_id:n}=t;if(e)return e;const r=A(t);return r?r.type&&r.value?"".concat(r.type,": ").concat(r.value):r.type||r.value||n||"<unknown>":n||"<unknown>"}function H(t,e,n){const r=t.exception=t.exception||{},o=r.values=r.values||[],i=o[0]=o[0]||{};i.value||(i.value=e||""),i.type||(i.type=n||"Error")}function q(t,e){const n=A(t);if(!n)return;const r=n.mechanism;if(n.mechanism={type:"generic",handled:!0,...r,...e},e&&"data"in e){const t={...r&&r.data,...e.data};n.mechanism.data=t}}function F(t){if(t&&t.__sentry_captured__)return!0;try{C(t,"__sentry_captured__",!0)}catch(e){}return!1}function W(t){return Array.isArray(t)?t:[t]}const z=[/^Script error\.?$/,/^Javascript error: Script error\.? on line 0$/];class J{static __initStatic(){this.id="InboundFilters"}__init(){this.name=J.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this._options=t,J.prototype.__init.call(this)}setupOnce(t,e){const n=t=>{const n=e();if(n){const e=n.getIntegration(J);if(e){const r=n.getClient(),o=r?r.getOptions():{},i=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return{allowUrls:[...t.allowUrls||[],...e.allowUrls||[]],denyUrls:[...t.denyUrls||[],...e.denyUrls||[]],ignoreErrors:[...t.ignoreErrors||[],...e.ignoreErrors||[],...z],ignoreTransactions:[...t.ignoreTransactions||[],...e.ignoreTransactions||[]],ignoreInternal:void 0===t.ignoreInternal||t.ignoreInternal}}(e._options,o);return function(t,e){if(e.ignoreInternal&&function(t){try{return"SentryError"===t.exception.values[0].type}catch(e){}return!1}(t))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Event dropped due to being internal Sentry Error.\nEvent: ".concat(M(t))),!0;if(function(t,e){if(t.type||!e||!e.length)return!1;return function(t){if(t.message)return[t.message];if(t.exception)try{const{type:e="",value:n=""}=t.exception.values&&t.exception.values[0]||{};return["".concat(n),"".concat(e,": ").concat(n)]}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.error("Cannot extract message for event ".concat(M(t))),[]}return[]}(t).some((t=>D(t,e)))}(t,e.ignoreErrors))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Event dropped due to being matched by `ignoreErrors` option.\nEvent: ".concat(M(t))),!0;if(function(t,e){if("transaction"!==t.type||!e||!e.length)return!1;const n=t.transaction;return!!n&&D(n,e)}(t,e.ignoreTransactions))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Event dropped due to being matched by `ignoreTransactions` option.\nEvent: ".concat(M(t))),!0;if(function(t,e){if(!e||!e.length)return!1;const n=Q(t);return!!n&&D(n,e)}(t,e.denyUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Event dropped due to being matched by `denyUrls` option.\nEvent: ".concat(M(t),".\nUrl: ").concat(Q(t))),!0;if(!function(t,e){if(!e||!e.length)return!0;const n=Q(t);return!n||D(n,e)}(t,e.allowUrls))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Event dropped due to not being matched by `allowUrls` option.\nEvent: ".concat(M(t),".\nUrl: ").concat(Q(t))),!0;return!1}(t,i)?null:t}}return t};n.id=this.name,t(n)}}function Q(t){try{let n;try{n=t.exception.values[0].stacktrace.frames}catch(e){}return n?function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];for(let e=t.length-1;e>=0;e--){const n=t[e];if(n&&"<anonymous>"!==n.filename&&"[native code]"!==n.filename)return n.filename||null}return null}(n):null}catch(n){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.error("Cannot extract url for event ".concat(M(t))),null}}let Z;J.__initStatic();class K{constructor(){K.prototype.__init.call(this)}static __initStatic(){this.id="FunctionToString"}__init(){this.name=K.id}setupOnce(){Z=Function.prototype.toString;try{Function.prototype.toString=function(){const t=O(this)||this;for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return Z.apply(t,n)}}catch(t){}}}K.__initStatic();var V=n(5153);const $="production";var X;function tt(t){return new nt((e=>{e(t)}))}function et(t){return new nt(((e,n)=>{n(t)}))}!function(t){t[t.PENDING=0]="PENDING";t[t.RESOLVED=1]="RESOLVED";t[t.REJECTED=2]="REJECTED"}(X||(X={}));class nt{__init(){this._state=X.PENDING}__init2(){this._handlers=[]}constructor(t){nt.prototype.__init.call(this),nt.prototype.__init2.call(this),nt.prototype.__init3.call(this),nt.prototype.__init4.call(this),nt.prototype.__init5.call(this),nt.prototype.__init6.call(this);try{t(this._resolve,this._reject)}catch(e){this._reject(e)}}then(t,e){return new nt(((n,r)=>{this._handlers.push([!1,e=>{if(t)try{n(t(e))}catch(o){r(o)}else n(e)},t=>{if(e)try{n(e(t))}catch(o){r(o)}else r(t)}]),this._executeHandlers()}))}catch(t){return this.then((t=>t),t)}finally(t){return new nt(((e,n)=>{let r,o;return this.then((e=>{o=!1,r=e,t&&t()}),(e=>{o=!0,r=e,t&&t()})).then((()=>{o?n(r):e(r)}))}))}__init3(){this._resolve=t=>{this._setResult(X.RESOLVED,t)}}__init4(){this._reject=t=>{this._setResult(X.REJECTED,t)}}__init5(){this._setResult=(t,e)=>{this._state===X.PENDING&&(v(e)?e.then(this._resolve,this._reject):(this._state=t,this._value=e,this._executeHandlers()))}}__init6(){this._executeHandlers=()=>{if(this._state===X.PENDING)return;const t=this._handlers.slice();this._handlers=[],t.forEach((t=>{t[0]||(this._state===X.RESOLVED&&t[1](this._value),this._state===X.REJECTED&&t[2](this._value),t[0]=!0)}))}}}function rt(t){const e=(0,V.ph)(),n={sid:L(),init:!0,timestamp:e,started:e,duration:0,status:"ok",errors:0,ignoreDuration:!1,toJSON:()=>function(t){return Y({sid:"".concat(t.sid),init:t.init,started:new Date(1e3*t.started).toISOString(),timestamp:new Date(1e3*t.timestamp).toISOString(),status:t.status,errors:t.errors,did:"number"==typeof t.did||"string"==typeof t.did?"".concat(t.did):void 0,duration:t.duration,attrs:{release:t.release,environment:t.environment,ip_address:t.ipAddress,user_agent:t.userAgent}})}(n)};return t&&ot(n,t),n}function ot(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(e.user&&(!t.ipAddress&&e.user.ip_address&&(t.ipAddress=e.user.ip_address),t.did||e.did||(t.did=e.user.id||e.user.email||e.user.username)),t.timestamp=e.timestamp||(0,V.ph)(),e.ignoreDuration&&(t.ignoreDuration=e.ignoreDuration),e.sid&&(t.sid=32===e.sid.length?e.sid:L()),void 0!==e.init&&(t.init=e.init),!t.did&&e.did&&(t.did="".concat(e.did)),"number"==typeof e.started&&(t.started=e.started),t.ignoreDuration)t.duration=void 0;else if("number"==typeof e.duration)t.duration=e.duration;else{const e=t.timestamp-t.started;t.duration=e>=0?e:0}e.release&&(t.release=e.release),e.environment&&(t.environment=e.environment),!t.ipAddress&&e.ipAddress&&(t.ipAddress=e.ipAddress),!t.userAgent&&e.userAgent&&(t.userAgent=e.userAgent),"number"==typeof e.errors&&(t.errors=e.errors),e.status&&(t.status=e.status)}class it{constructor(){this._notifyingListeners=!1,this._scopeListeners=[],this._eventProcessors=[],this._breadcrumbs=[],this._attachments=[],this._user={},this._tags={},this._extra={},this._contexts={},this._sdkProcessingMetadata={}}static clone(t){const e=new it;return t&&(e._breadcrumbs=[...t._breadcrumbs],e._tags={...t._tags},e._extra={...t._extra},e._contexts={...t._contexts},e._user=t._user,e._level=t._level,e._span=t._span,e._session=t._session,e._transactionName=t._transactionName,e._fingerprint=t._fingerprint,e._eventProcessors=[...t._eventProcessors],e._requestSession=t._requestSession,e._attachments=[...t._attachments],e._sdkProcessingMetadata={...t._sdkProcessingMetadata}),e}addScopeListener(t){this._scopeListeners.push(t)}addEventProcessor(t){return this._eventProcessors.push(t),this}setUser(t){return this._user=t||{},this._session&&ot(this._session,{user:t}),this._notifyScopeListeners(),this}getUser(){return this._user}getRequestSession(){return this._requestSession}setRequestSession(t){return this._requestSession=t,this}setTags(t){return this._tags={...this._tags,...t},this._notifyScopeListeners(),this}setTag(t,e){return this._tags={...this._tags,[t]:e},this._notifyScopeListeners(),this}setExtras(t){return this._extra={...this._extra,...t},this._notifyScopeListeners(),this}setExtra(t,e){return this._extra={...this._extra,[t]:e},this._notifyScopeListeners(),this}setFingerprint(t){return this._fingerprint=t,this._notifyScopeListeners(),this}setLevel(t){return this._level=t,this._notifyScopeListeners(),this}setTransactionName(t){return this._transactionName=t,this._notifyScopeListeners(),this}setContext(t,e){return null===e?delete this._contexts[t]:this._contexts[t]=e,this._notifyScopeListeners(),this}setSpan(t){return this._span=t,this._notifyScopeListeners(),this}getSpan(){return this._span}getTransaction(){const t=this.getSpan();return t&&t.transaction}setSession(t){return t?this._session=t:delete this._session,this._notifyScopeListeners(),this}getSession(){return this._session}update(t){if(!t)return this;if("function"==typeof t){const e=t(this);return e instanceof it?e:this}return t instanceof it?(this._tags={...this._tags,...t._tags},this._extra={...this._extra,...t._extra},this._contexts={...this._contexts,...t._contexts},t._user&&Object.keys(t._user).length&&(this._user=t._user),t._level&&(this._level=t._level),t._fingerprint&&(this._fingerprint=t._fingerprint),t._requestSession&&(this._requestSession=t._requestSession)):m(t)&&(this._tags={...this._tags,...t.tags},this._extra={...this._extra,...t.extra},this._contexts={...this._contexts,...t.contexts},t.user&&(this._user=t.user),t.level&&(this._level=t.level),t.fingerprint&&(this._fingerprint=t.fingerprint),t.requestSession&&(this._requestSession=t.requestSession)),this}clear(){return this._breadcrumbs=[],this._tags={},this._extra={},this._user={},this._contexts={},this._level=void 0,this._transactionName=void 0,this._fingerprint=void 0,this._requestSession=void 0,this._span=void 0,this._session=void 0,this._notifyScopeListeners(),this._attachments=[],this}addBreadcrumb(t,e){const n="number"==typeof e?e:100;if(n<=0)return this;const r={timestamp:(0,V.yW)(),...t};return this._breadcrumbs=[...this._breadcrumbs,r].slice(-n),this._notifyScopeListeners(),this}getLastBreadcrumb(){return this._breadcrumbs[this._breadcrumbs.length-1]}clearBreadcrumbs(){return this._breadcrumbs=[],this._notifyScopeListeners(),this}addAttachment(t){return this._attachments.push(t),this}getAttachments(){return this._attachments}clearAttachments(){return this._attachments=[],this}applyToEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._extra&&Object.keys(this._extra).length&&(t.extra={...this._extra,...t.extra}),this._tags&&Object.keys(this._tags).length&&(t.tags={...this._tags,...t.tags}),this._user&&Object.keys(this._user).length&&(t.user={...this._user,...t.user}),this._contexts&&Object.keys(this._contexts).length&&(t.contexts={...this._contexts,...t.contexts}),this._level&&(t.level=this._level),this._transactionName&&(t.transaction=this._transactionName),this._span){t.contexts={trace:this._span.getTraceContext(),...t.contexts};const e=this._span.transaction;if(e){t.sdkProcessingMetadata={dynamicSamplingContext:e.getDynamicSamplingContext(),...t.sdkProcessingMetadata};const n=e.name;n&&(t.tags={transaction:n,...t.tags})}}return this._applyFingerprint(t),t.breadcrumbs=[...t.breadcrumbs||[],...this._breadcrumbs],t.breadcrumbs=t.breadcrumbs.length>0?t.breadcrumbs:void 0,t.sdkProcessingMetadata={...t.sdkProcessingMetadata,...this._sdkProcessingMetadata},this._notifyEventProcessors([...at(),...this._eventProcessors],t,e)}setSDKProcessingMetadata(t){return this._sdkProcessingMetadata={...this._sdkProcessingMetadata,...t},this}_notifyEventProcessors(t,e,n){let r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return new nt(((o,i)=>{const a=t[r];if(null===e||"function"!=typeof a)o(e);else{const s=a({...e},n);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&a.id&&null===s&&c.log('Event processor "'.concat(a.id,'" dropped event')),v(s)?s.then((e=>this._notifyEventProcessors(t,e,n,r+1).then(o))).then(null,i):this._notifyEventProcessors(t,s,n,r+1).then(o).then(null,i)}}))}_notifyScopeListeners(){this._notifyingListeners||(this._notifyingListeners=!0,this._scopeListeners.forEach((t=>{t(this)})),this._notifyingListeners=!1)}_applyFingerprint(t){t.fingerprint=t.fingerprint?W(t.fingerprint):[],this._fingerprint&&(t.fingerprint=t.fingerprint.concat(this._fingerprint)),t.fingerprint&&!t.fingerprint.length&&delete t.fingerprint}}function at(){return(0,o.YO)("globalEventProcessors",(()=>[]))}function st(t){at().push(t)}const ct=4,ut=100;class lt{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:new it,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:ct;this._version=n,this._stack=[{scope:e}],t&&this.bindClient(t)}isOlderThan(t){return this._version<t}bindClient(t){this.getStackTop().client=t,t&&t.setupIntegrations&&t.setupIntegrations()}pushScope(){const t=it.clone(this.getScope());return this.getStack().push({client:this.getClient(),scope:t}),t}popScope(){return!(this.getStack().length<=1)&&!!this.getStack().pop()}withScope(t){const e=this.pushScope();try{t(e)}finally{this.popScope()}}getClient(){return this.getStackTop().client}getScope(){return this.getStackTop().scope}getStack(){return this._stack}getStackTop(){return this._stack[this._stack.length-1]}captureException(t,e){const n=this._lastEventId=e&&e.event_id?e.event_id:L(),r=new Error("Sentry syntheticException");return this._withClient(((o,i)=>{o.captureException(t,{originalException:t,syntheticException:r,...e,event_id:n},i)})),n}captureMessage(t,e,n){const r=this._lastEventId=n&&n.event_id?n.event_id:L(),o=new Error(t);return this._withClient(((i,a)=>{i.captureMessage(t,e,{originalException:t,syntheticException:o,...n,event_id:r},a)})),r}captureEvent(t,e){const n=e&&e.event_id?e.event_id:L();return t.type||(this._lastEventId=n),this._withClient(((r,o)=>{r.captureEvent(t,{...e,event_id:n},o)})),n}lastEventId(){return this._lastEventId}addBreadcrumb(t,e){const{scope:n,client:r}=this.getStackTop();if(!r)return;const{beforeBreadcrumb:o=null,maxBreadcrumbs:i=ut}=r.getOptions&&r.getOptions()||{};if(i<=0)return;const s={timestamp:(0,V.yW)(),...t},c=o?a((()=>o(s,e))):s;null!==c&&(r.emit&&r.emit("beforeAddBreadcrumb",c,e),n.addBreadcrumb(c,i))}setUser(t){this.getScope().setUser(t)}setTags(t){this.getScope().setTags(t)}setExtras(t){this.getScope().setExtras(t)}setTag(t,e){this.getScope().setTag(t,e)}setExtra(t,e){this.getScope().setExtra(t,e)}setContext(t,e){this.getScope().setContext(t,e)}configureScope(t){const{scope:e,client:n}=this.getStackTop();n&&t(e)}run(t){const e=dt(this);try{t(this)}finally{dt(e)}}getIntegration(t){const e=this.getClient();if(!e)return null;try{return e.getIntegration(t)}catch(n){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Cannot retrieve integration ".concat(t.id," from the current Hub")),null}}startTransaction(t,e){const n=this._callExtensionMethod("startTransaction",t,e);return"undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__||n||console.warn("Tracing extension 'startTransaction' has not been added. Call 'addTracingExtensions' before calling 'init':\nSentry.addTracingExtensions();\nSentry.init({...});\n"),n}traceHeaders(){return this._callExtensionMethod("traceHeaders")}captureSession(){if(arguments.length>0&&void 0!==arguments[0]&&arguments[0])return this.endSession();this._sendSessionUpdate()}endSession(){const t=this.getStackTop().scope,e=t.getSession();e&&function(t,e){let n={};e?n={status:e}:"ok"===t.status&&(n={status:"exited"}),ot(t,n)}(e),this._sendSessionUpdate(),t.setSession()}startSession(t){const{scope:e,client:n}=this.getStackTop(),{release:r,environment:i=$}=n&&n.getOptions()||{},{userAgent:a}=o.n2.navigator||{},s=rt({release:r,environment:i,user:e.getUser(),...a&&{userAgent:a},...t}),c=e.getSession&&e.getSession();return c&&"ok"===c.status&&ot(c,{status:"exited"}),this.endSession(),e.setSession(s),s}shouldSendDefaultPii(){const t=this.getClient(),e=t&&t.getOptions();return Boolean(e&&e.sendDefaultPii)}_sendSessionUpdate(){const{scope:t,client:e}=this.getStackTop(),n=t.getSession();n&&e&&e.captureSession&&e.captureSession(n)}_withClient(t){const{scope:e,client:n}=this.getStackTop();n&&t(n,e)}_callExtensionMethod(t){const e=pt().__SENTRY__;if(e&&e.extensions&&"function"==typeof e.extensions[t]){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return e.extensions[t].apply(this,r)}("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Extension method ".concat(t," couldn't be found, doing nothing."))}}function pt(){return o.n2.__SENTRY__=o.n2.__SENTRY__||{extensions:{},hub:void 0},o.n2}function dt(t){const e=pt(),n=mt(e);return gt(e,t),n}function ht(){const t=pt();if(t.__SENTRY__&&t.__SENTRY__.acs){const e=t.__SENTRY__.acs.getCurrentHub();if(e)return e}return ft(t)}function ft(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:pt();return _t(t)&&!mt(t).isOlderThan(ct)||gt(t,new lt),mt(t)}function _t(t){return!!(t&&t.__SENTRY__&&t.__SENTRY__.hub)}function mt(t){return(0,o.YO)("hub",(()=>new lt),t)}function gt(t,e){if(!t)return!1;return(t.__SENTRY__=t.__SENTRY__||{}).hub=e,!0}const vt=[];function yt(t){const e=t.defaultIntegrations||[],n=t.integrations;let r;e.forEach((t=>{t.isDefaultInstance=!0})),r=Array.isArray(n)?[...e,...n]:"function"==typeof n?W(n(e)):e;const o=function(t){const e={};return t.forEach((t=>{const{name:n}=t,r=e[n];r&&!r.isDefaultInstance&&t.isDefaultInstance||(e[n]=t)})),Object.keys(e).map((t=>e[t]))}(r),i=function(t,e){for(let n=0;n<t.length;n++)if(!0===e(t[n]))return n;return-1}(o,(t=>"Debug"===t.name));if(-1!==i){const[t]=o.splice(i,1);o.push(t)}return o}function Et(t,e){e[t.name]=t,-1===vt.indexOf(t.name)&&(t.setupOnce(st,ht),vt.push(t.name),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("Integration installed: ".concat(t.name)))}const bt=50,St=/\(error: (.*)\)/;function wt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];const r=e.sort(((t,e)=>t[0]-e[0])).map((t=>t[1]));return function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;const n=[],o=t.split("\n");for(let i=e;i<o.length;i++){const t=o[i];if(t.length>1024)continue;const e=St.test(t)?t.replace(St,"$1"):t;if(!e.match(/\S*Error: /)){for(const t of r){const r=t(e);if(r){n.push(r);break}}if(n.length>=bt)break}}return function(t){if(!t.length)return[];const e=t.slice(0,bt),n=e[e.length-1].function;n&&/sentryWrapped/.test(n)&&e.pop();e.reverse();const r=e[e.length-1].function;r&&/captureMessage|captureException/.test(r)&&e.pop();return e.map((t=>({...t,filename:t.filename||e[e.length-1].filename,function:t.function||"?"})))}(n)}}const Tt="<anonymous>";function Rt(t){try{return t&&"function"==typeof t&&t.name||Tt}catch(e){return Tt}}const xt=(0,o.Rf)();function kt(){if(!("fetch"in xt))return!1;try{return new Headers,new Request("http://www.example.com"),new Response,!0}catch(t){return!1}}function Dt(t){return t&&/^function fetch\(\)\s+\{\s+\[native code\]\s+\}$/.test(t.toString())}const Nt=(0,o.Rf)();const Ct=(0,o.Rf)(),Pt="__sentry_xhr_v2__",Ot={},Ut={};function It(t){if(!Ut[t])switch(Ut[t]=!0,t){case"console":!function(){if(!("console"in Ct))return;i.forEach((function(t){t in Ct.console&&N(Ct.console,t,(function(e){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];Bt("console",{args:r,level:t}),e&&e.apply(Ct.console,r)}}))}))}();break;case"dom":!function(){if(!("document"in Ct))return;const t=Bt.bind(null,"dom"),e=qt(t,!0);Ct.document.addEventListener("click",e,!1),Ct.document.addEventListener("keypress",e,!1),["EventTarget","Node"].forEach((e=>{const n=Ct[e]&&Ct[e].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(N(n,"addEventListener",(function(e){return function(n,r,o){if("click"===n||"keypress"==n)try{const r=this,i=r.__sentry_instrumentation_handlers__=r.__sentry_instrumentation_handlers__||{},a=i[n]=i[n]||{refCount:0};if(!a.handler){const r=qt(t);a.handler=r,e.call(this,n,r,o)}a.refCount++}catch(i){}return e.call(this,n,r,o)}})),N(n,"removeEventListener",(function(t){return function(e,n,r){if("click"===e||"keypress"==e)try{const n=this,o=n.__sentry_instrumentation_handlers__||{},i=o[e];i&&(i.refCount--,i.refCount<=0&&(t.call(this,e,i.handler,r),i.handler=void 0,delete o[e]),0===Object.keys(o).length&&delete n.__sentry_instrumentation_handlers__)}catch(o){}return t.call(this,e,n,r)}})))}))}();break;case"xhr":!function(){if(!("XMLHttpRequest"in Ct))return;const t=XMLHttpRequest.prototype;N(t,"open",(function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const o=n[1],i=this[Pt]={method:f(n[0])?n[0].toUpperCase():n[0],url:n[1],request_headers:{}};f(o)&&"POST"===i.method&&o.match(/sentry_key/)&&(this.__sentry_own_request__=!0);const a=()=>{const t=this[Pt];if(t&&4===this.readyState){try{t.status_code=this.status}catch(e){}Bt("xhr",{args:n,endTimestamp:Date.now(),startTimestamp:Date.now(),xhr:this})}};return"onreadystatechange"in this&&"function"==typeof this.onreadystatechange?N(this,"onreadystatechange",(function(t){return function(){a();for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.apply(this,n)}})):this.addEventListener("readystatechange",a),N(this,"setRequestHeader",(function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const[o,i]=n,a=this[Pt];return a&&(a.request_headers[o.toLowerCase()]=i),t.apply(this,n)}})),t.apply(this,n)}})),N(t,"send",(function(t){return function(){const e=this[Pt];for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return e&&void 0!==r[0]&&(e.body=r[0]),Bt("xhr",{args:r,startTimestamp:Date.now(),xhr:this}),t.apply(this,r)}}))}();break;case"fetch":!function(){if(!function(){if(!kt())return!1;if(Dt(xt.fetch))return!0;let t=!1;const e=xt.document;if(e&&"function"==typeof e.createElement)try{const n=e.createElement("iframe");n.hidden=!0,e.head.appendChild(n),n.contentWindow&&n.contentWindow.fetch&&(t=Dt(n.contentWindow.fetch)),e.head.removeChild(n)}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return t}())return;N(Ct,"fetch",(function(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const{method:o,url:i}=function(t){if(0===t.length)return{method:"GET",url:""};if(2===t.length){const[e,n]=t;return{url:Gt(e),method:Yt(n,"method")?String(n.method).toUpperCase():"GET"}}const e=t[0];return{url:Gt(e),method:Yt(e,"method")?String(e.method).toUpperCase():"GET"}}(n),a={args:n,fetchData:{method:o,url:i},startTimestamp:Date.now()};return Bt("fetch",{...a}),t.apply(Ct,n).then((t=>(Bt("fetch",{...a,endTimestamp:Date.now(),response:t}),t)),(t=>{throw Bt("fetch",{...a,endTimestamp:Date.now(),error:t}),t}))}}))}();break;case"history":!function(){if(!function(){const t=Nt.chrome,e=t&&t.app&&t.app.runtime,n="history"in Nt&&!!Nt.history.pushState&&!!Nt.history.replaceState;return!e&&n}())return;const t=Ct.onpopstate;function e(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const o=n.length>2?n[2]:void 0;if(o){const t=Lt,e=String(o);Lt=e,Bt("history",{from:t,to:e})}return t.apply(this,n)}}Ct.onpopstate=function(){const e=Ct.location.href,n=Lt;if(Lt=e,Bt("history",{from:n,to:e}),t)try{for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t.apply(this,o)}catch(a){}},N(Ct.history,"pushState",e),N(Ct.history,"replaceState",e)}();break;case"error":Ft=Ct.onerror,Ct.onerror=function(t,e,n,r,o){return Bt("error",{column:r,error:o,line:n,msg:t,url:e}),!(!Ft||Ft.__SENTRY_LOADER__)&&Ft.apply(this,arguments)},Ct.onerror.__SENTRY_INSTRUMENTED__=!0;break;case"unhandledrejection":Wt=Ct.onunhandledrejection,Ct.onunhandledrejection=function(t){return Bt("unhandledrejection",t),!(Wt&&!Wt.__SENTRY_LOADER__)||Wt.apply(this,arguments)},Ct.onunhandledrejection.__SENTRY_INSTRUMENTED__=!0;break;default:return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("unknown instrumentation type:",t))}}function jt(t,e){Ot[t]=Ot[t]||[],Ot[t].push(e),It(t)}function Bt(t,e){if(t&&Ot[t])for(const r of Ot[t]||[])try{r(e)}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.error("Error while triggering instrumentation handler.\nType: ".concat(t,"\nName: ").concat(Rt(r),"\nError:"),n)}}function Yt(t,e){return!!t&&"object"==typeof t&&!!t[e]}function Gt(t){return"string"==typeof t?t:t?Yt(t,"url")?t.url:t.toString?t.toString():"":""}let Lt;const At=1e3;let Mt,Ht;function qt(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return n=>{if(!n||Ht===n)return;if(function(t){if("keypress"!==t.type)return!1;try{const e=t.target;if(!e||!e.tagName)return!0;if("INPUT"===e.tagName||"TEXTAREA"===e.tagName||e.isContentEditable)return!1}catch(e){}return!0}(n))return;const r="keypress"===n.type?"input":n.type;(void 0===Mt||function(t,e){if(!t)return!0;if(t.type!==e.type)return!0;try{if(t.target!==e.target)return!0}catch(n){}return!1}(Ht,n))&&(t({event:n,name:r,global:e}),Ht=n),clearTimeout(Mt),Mt=Ct.setTimeout((()=>{Mt=void 0}),At)}}let Ft=null;let Wt=null;class zt extends Error{constructor(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"warn";super(t),this.message=t,this.name=new.target.prototype.constructor.name,Object.setPrototypeOf(this,new.target.prototype),this.logLevel=e}}const Jt=/^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;function Qt(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const{host:n,path:r,pass:o,port:i,projectId:a,protocol:s,publicKey:c}=t;return"".concat(s,"://").concat(c).concat(e&&o?":".concat(o):"")+"@".concat(n).concat(i?":".concat(i):"","/").concat(r?"".concat(r,"/"):r).concat(a)}function Zt(t){return{protocol:t.protocol,publicKey:t.publicKey||"",pass:t.pass||"",host:t.host,port:t.port||"",path:t.path||"",projectId:t.projectId}}function Kt(t){const e="string"==typeof t?function(t){const e=Jt.exec(t);if(!e)throw new zt("Invalid Sentry Dsn: ".concat(t));const[n,r,o="",i,a="",s]=e.slice(1);let c="",u=s;const l=u.split("/");if(l.length>1&&(c=l.slice(0,-1).join("/"),u=l.pop()),u){const t=u.match(/^\d+/);t&&(u=t[0])}return Zt({host:i,pass:o,path:c,projectId:u,port:a,protocol:n,publicKey:r})}(t):Zt(t);return function(t){if("undefined"!=typeof __SENTRY_DEBUG__&&!__SENTRY_DEBUG__)return;const{port:e,projectId:n,protocol:r}=t;if(["protocol","publicKey","host","projectId"].forEach((e=>{if(!t[e])throw new zt("Invalid Sentry Dsn: ".concat(e," missing"))})),!n.match(/^\d+$/))throw new zt("Invalid Sentry Dsn: Invalid projectId ".concat(n));if(!function(t){return"http"===t||"https"===t}(r))throw new zt("Invalid Sentry Dsn: Invalid protocol ".concat(r));if(e&&isNaN(parseInt(e,10)))throw new zt("Invalid Sentry Dsn: Invalid port ".concat(e))}(e),e}function Vt(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:100,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0;try{return Xt("",t,e,n)}catch(r){return{ERROR:"**non-serializable** (".concat(r,")")}}}function $t(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:3,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:102400;const r=Vt(t,e);return o=r,function(t){return~-encodeURI(t).split(/%..|./).length}(JSON.stringify(o))>n?$t(t,e-1,n):r;var o}function Xt(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1/0,o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1/0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:function(){const t="function"==typeof WeakSet,e=t?new WeakSet:[];return[function(n){if(t)return!!e.has(n)||(e.add(n),!1);for(let t=0;t<e.length;t++)if(e[t]===n)return!0;return e.push(n),!1},function(n){if(t)e.delete(n);else for(let t=0;t<e.length;t++)if(e[t]===n){e.splice(t,1);break}}]}();const[a,s]=i;if(null===e||["number","boolean","string"].includes(typeof e)&&!y(e))return e;const c=function(t,e){try{if("domain"===t&&e&&"object"==typeof e&&e._events)return"[Domain]";if("domainEmitter"===t)return"[DomainEmitter]";if(void 0!==n.g&&e===n.g)return"[Global]";if("undefined"!=typeof window&&e===window)return"[Window]";if("undefined"!=typeof document&&e===document)return"[Document]";if(m(r=e)&&"nativeEvent"in r&&"preventDefault"in r&&"stopPropagation"in r)return"[SyntheticEvent]";if("number"==typeof e&&e!=e)return"[NaN]";if(void 0===e)return"[undefined]";if("function"==typeof e)return"[Function: ".concat(Rt(e),"]");if("symbol"==typeof e)return"[".concat(String(e),"]");if("bigint"==typeof e)return"[BigInt: ".concat(String(e),"]");const o=function(t){const e=Object.getPrototypeOf(t);return e?e.constructor.name:"null prototype"}(e);return/^HTML(\w*)Element$/.test(o)?"[HTMLElement: ".concat(o,"]"):"[object ".concat(o,"]")}catch(o){return"**non-serializable** (".concat(o,")")}var r}(t,e);if(!c.startsWith("[object "))return c;if(e.__sentry_skip_normalization__)return e;const u="number"==typeof e.__sentry_override_normalization_depth__?e.__sentry_override_normalization_depth__:r;if(0===u)return c.replace("object ","");if(a(e))return"[Circular ~]";const l=e;if(l&&"function"==typeof l.toJSON)try{return Xt("",l.toJSON(),u-1,o,i)}catch(f){}const p=Array.isArray(e)?[]:{};let d=0;const h=U(e);for(const n in h){if(!Object.prototype.hasOwnProperty.call(h,n))continue;if(d>=o){p[n]="[MaxProperties ~]";break}const t=h[n];p[n]=Xt(n,t,u-1,o,i),d++}return s(e),p}function te(t){return[t,arguments.length>1&&void 0!==arguments[1]?arguments[1]:[]]}function ee(t,e){const[n,r]=t;return[n,[...r,e]]}function ne(t,e){const n=t[1];for(const r of n){if(e(r,r[0].type))return!0}return!1}function re(t,e){return(e||new TextEncoder).encode(t)}function oe(t,e){const[n,r]=t;let o=JSON.stringify(n);function i(t){"string"==typeof o?o="string"==typeof t?o+t:[re(o,e),t]:o.push("string"==typeof t?re(t,e):t)}for(const s of r){const[t,e]=s;if(i("\n".concat(JSON.stringify(t),"\n")),"string"==typeof e||e instanceof Uint8Array)i(e);else{let t;try{t=JSON.stringify(e)}catch(a){t=JSON.stringify(Vt(e))}i(t)}}return"string"==typeof o?o:function(t){const e=t.reduce(((t,e)=>t+e.length),0),n=new Uint8Array(e);let r=0;for(const o of t)n.set(o,r),r+=o.length;return n}(o)}function ie(t,e){const n="string"==typeof t.data?re(t.data,e):t.data;return[Y({type:"attachment",length:n.length,filename:t.filename,content_type:t.contentType,attachment_type:t.attachmentType}),n]}const ae={session:"session",sessions:"session",attachment:"attachment",transaction:"transaction",event:"error",client_report:"internal",user_report:"default",profile:"profile",replay_event:"replay",replay_recording:"replay",check_in:"monitor"};function se(t){return ae[t]}function ce(t){if(!t||!t.sdk)return;const{name:e,version:n}=t.sdk;return{name:e,version:n}}const ue="7";function le(t){const e=t.protocol?"".concat(t.protocol,":"):"",n=t.port?":".concat(t.port):"";return"".concat(e,"//").concat(t.host).concat(n).concat(t.path?"/".concat(t.path):"","/api/")}function pe(t,e){return n={sentry_key:t.publicKey,sentry_version:ue,...e&&{sentry_client:"".concat(e.name,"/").concat(e.version)}},Object.keys(n).map((t=>"".concat(encodeURIComponent(t),"=").concat(encodeURIComponent(n[t])))).join("&");var n}function de(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n="string"==typeof e?e:e.tunnel,r="string"!=typeof e&&e._metadata?e._metadata.sdk:void 0;return n||"".concat(function(t){return"".concat(le(t)).concat(t.projectId,"/envelope/")}(t),"?").concat(pe(t,r))}function he(t,e,n,r){const o=ce(n),i=t.type&&"replay_event"!==t.type?t.type:"event";!function(t,e){e&&(t.sdk=t.sdk||{},t.sdk.name=t.sdk.name||e.name,t.sdk.version=t.sdk.version||e.version,t.sdk.integrations=[...t.sdk.integrations||[],...e.integrations||[]],t.sdk.packages=[...t.sdk.packages||[],...e.packages||[]])}(t,n&&n.sdk);const a=function(t,e,n,r){const o=t.sdkProcessingMetadata&&t.sdkProcessingMetadata.dynamicSamplingContext;return{event_id:t.event_id,sent_at:(new Date).toISOString(),...e&&{sdk:e},...!!n&&{dsn:Qt(r)},...o&&{trace:Y({...o})}}}(t,o,r,e);delete t.sdkProcessingMetadata;return te(a,[[{type:i},t]])}function fe(t,e,n,r){const{normalizeDepth:i=3,normalizeMaxBreadth:a=1e3}=t,s={...e,event_id:e.event_id||n.event_id||L(),timestamp:e.timestamp||(0,V.yW)()},c=n.integrations||t.integrations.map((t=>t.name));!function(t,e){const{environment:n,release:r,dist:o,maxValueLength:i=250}=e;"environment"in t||(t.environment="environment"in e?n:$);void 0===t.release&&void 0!==r&&(t.release=r);void 0===t.dist&&void 0!==o&&(t.dist=o);t.message&&(t.message=R(t.message,i));const a=t.exception&&t.exception.values&&t.exception.values[0];a&&a.value&&(a.value=R(a.value,i));const s=t.request;s&&s.url&&(s.url=R(s.url,i))}(s,t),function(t,e){e.length>0&&(t.sdk=t.sdk||{},t.sdk.integrations=[...t.sdk.integrations||[],...e])}(s,c),void 0===e.type&&function(t,e){const n=o.n2._sentryDebugIds;if(!n)return;let r;const i=_e.get(e);i?r=i:(r=new Map,_e.set(e,r));const a=Object.keys(n).reduce(((t,o)=>{let i;const a=r.get(o);a?i=a:(i=e(o),r.set(o,i));for(let e=i.length-1;e>=0;e--){const r=i[e];if(r.filename){t[r.filename]=n[o];break}}return t}),{}),s=new Set;try{t.exception.values.forEach((t=>{t.stacktrace.frames.forEach((t=>{t.filename&&s.add(t.filename)}))}))}catch(u){}t.debug_meta=t.debug_meta||{},t.debug_meta.images=t.debug_meta.images||[];const c=t.debug_meta.images;s.forEach((t=>{a[t]&&c.push({type:"sourcemap",code_file:t,debug_id:a[t]})}))}(s,t.stackParser);let u=r;n.captureContext&&(u=it.clone(u).update(n.captureContext));let l=tt(s);if(u){if(u.getAttachments){const t=[...n.attachments||[],...u.getAttachments()];t.length&&(n.attachments=t)}l=u.applyToEvent(s,n)}return l.then((t=>"number"==typeof i&&i>0?function(t,e,n){if(!t)return null;const r={...t,...t.breadcrumbs&&{breadcrumbs:t.breadcrumbs.map((t=>({...t,...t.data&&{data:Vt(t.data,e,n)}})))},...t.user&&{user:Vt(t.user,e,n)},...t.contexts&&{contexts:Vt(t.contexts,e,n)},...t.extra&&{extra:Vt(t.extra,e,n)}};t.contexts&&t.contexts.trace&&r.contexts&&(r.contexts.trace=t.contexts.trace,t.contexts.trace.data&&(r.contexts.trace.data=Vt(t.contexts.trace.data,e,n)));t.spans&&(r.spans=t.spans.map((t=>(t.data&&(t.data=Vt(t.data,e,n)),t))));return r}(t,i,a):t))}const _e=new WeakMap;const me="Not capturing exception because it's already been captured.";class ge{__init(){this._integrations={}}__init2(){this._integrationsInitialized=!1}__init3(){this._numProcessing=0}__init4(){this._outcomes={}}__init5(){this._hooks={}}constructor(t){if(ge.prototype.__init.call(this),ge.prototype.__init2.call(this),ge.prototype.__init3.call(this),ge.prototype.__init4.call(this),ge.prototype.__init5.call(this),this._options=t,t.dsn){this._dsn=Kt(t.dsn);const e=de(this._dsn,t);this._transport=t.transport({recordDroppedEvent:this.recordDroppedEvent.bind(this),...t.transportOptions,url:e})}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("No DSN provided, client will not do anything.")}captureException(t,e,n){if(F(t))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log(me));let r=e&&e.event_id;return this._process(this.eventFromException(t,e).then((t=>this._captureEvent(t,e,n))).then((t=>{r=t}))),r}captureMessage(t,e,n,r){let o=n&&n.event_id;const i=_(t)?this.eventFromMessage(String(t),e,n):this.eventFromException(t,n);return this._process(i.then((t=>this._captureEvent(t,n,r))).then((t=>{o=t}))),o}captureEvent(t,e,n){if(e&&e.originalException&&F(e.originalException))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log(me));let r=e&&e.event_id;return this._process(this._captureEvent(t,e,n).then((t=>{r=t}))),r}captureSession(t){this._isEnabled()?"string"!=typeof t.release?("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Discarded session because of missing or non-string release"):(this.sendSession(t),ot(t,{init:!1})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("SDK not enabled, will not capture session.")}getDsn(){return this._dsn}getOptions(){return this._options}getSdkMetadata(){return this._options._metadata}getTransport(){return this._transport}flush(t){const e=this._transport;return e?this._isClientDoneProcessing(t).then((n=>e.flush(t).then((t=>n&&t)))):tt(!0)}close(t){return this.flush(t).then((t=>(this.getOptions().enabled=!1,t)))}setupIntegrations(){this._isEnabled()&&!this._integrationsInitialized&&(this._integrations=function(t){const e={};return t.forEach((t=>{t&&Et(t,e)})),e}(this._options.integrations),this._integrationsInitialized=!0)}getIntegrationById(t){return this._integrations[t]}getIntegration(t){try{return this._integrations[t.id]||null}catch(e){return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Cannot retrieve integration ".concat(t.id," from the current Client")),null}}addIntegration(t){Et(t,this._integrations)}sendEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(this._dsn){let n=he(t,this._dsn,this._options._metadata,this._options.tunnel);for(const t of e.attachments||[])n=ee(n,ie(t,this._options.transportOptions&&this._options.transportOptions.textEncoder));const r=this._sendEnvelope(n);r&&r.then((e=>this.emit("afterSendEvent",t,e)),null)}}sendSession(t){if(this._dsn){const e=function(t,e,n,r){const o=ce(n);return te({sent_at:(new Date).toISOString(),...o&&{sdk:o},...!!r&&{dsn:Qt(e)}},["aggregates"in t?[{type:"sessions"},t]:[{type:"session"},t]])}(t,this._dsn,this._options._metadata,this._options.tunnel);this._sendEnvelope(e)}}recordDroppedEvent(t,e,n){if(this._options.sendClientReports){const n="".concat(t,":").concat(e);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log('Adding outcome: "'.concat(n,'"')),this._outcomes[n]=this._outcomes[n]+1||1}}on(t,e){this._hooks[t]||(this._hooks[t]=[]),this._hooks[t].push(e)}emit(t){for(var e=arguments.length,n=new Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];this._hooks[t]&&this._hooks[t].forEach((t=>t(...n)))}_updateSessionFromEvent(t,e){let n=!1,r=!1;const o=e.exception&&e.exception.values;if(o){r=!0;for(const t of o){const e=t.mechanism;if(e&&!1===e.handled){n=!0;break}}}const i="ok"===t.status;(i&&0===t.errors||i&&n)&&(ot(t,{...n&&{status:"crashed"},errors:t.errors||Number(r||n)}),this.captureSession(t))}_isClientDoneProcessing(t){return new nt((e=>{let n=0;const r=setInterval((()=>{0==this._numProcessing?(clearInterval(r),e(!0)):(n+=1,t&&n>=t&&(clearInterval(r),e(!1)))}),1)}))}_isEnabled(){return!1!==this.getOptions().enabled&&void 0!==this._dsn}_prepareEvent(t,e,n){const r=this.getOptions(),o=Object.keys(this._integrations);return!e.integrations&&o.length>0&&(e.integrations=o),fe(r,t,e,n)}_captureEvent(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;return this._processEvent(t,e,n).then((t=>t.event_id),(t=>{if("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__){const e=t;"log"===e.logLevel?c.log(e.message):c.warn(e)}}))}_processEvent(t,e,n){const r=this.getOptions(),{sampleRate:o}=r;if(!this._isEnabled())return et(new zt("SDK not enabled, will not capture event.","log"));const i=ye(t),a=ve(t),s=t.type||"error",c="before send for type `".concat(s,"`");if(a&&"number"==typeof o&&Math.random()>o)return this.recordDroppedEvent("sample_rate","error",t),et(new zt("Discarding event because it's not included in the random sample (sampling rate = ".concat(o,")"),"log"));const u="replay_event"===s?"replay":s;return this._prepareEvent(t,e,n).then((n=>{if(null===n)throw this.recordDroppedEvent("event_processor",u,t),new zt("An event processor returned `null`, will not send event.","log");if(e.data&&!0===e.data.__sentry__)return n;const o=function(t,e,n){const{beforeSend:r,beforeSendTransaction:o}=t;if(ve(e)&&r)return r(e,n);if(ye(e)&&o)return o(e,n);return e}(r,n,e);return function(t,e){const n="".concat(e," must return `null` or a valid event.");if(v(t))return t.then((t=>{if(!m(t)&&null!==t)throw new zt(n);return t}),(t=>{throw new zt("".concat(e," rejected with ").concat(t))}));if(!m(t)&&null!==t)throw new zt(n);return t}(o,c)})).then((r=>{if(null===r)throw this.recordDroppedEvent("before_send",u,t),new zt("".concat(c," returned `null`, will not send event."),"log");const o=n&&n.getSession();!i&&o&&this._updateSessionFromEvent(o,r);const a=r.transaction_info;if(i&&a&&r.transaction!==t.transaction){const t="custom";r.transaction_info={...a,source:t}}return this.sendEvent(r,e),r})).then(null,(t=>{if(t instanceof zt)throw t;throw this.captureException(t,{data:{__sentry__:!0},originalException:t}),new zt("Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ".concat(t))}))}_process(t){this._numProcessing++,t.then((t=>(this._numProcessing--,t)),(t=>(this._numProcessing--,t)))}_sendEnvelope(t){if(this._transport&&this._dsn)return this.emit("beforeEnvelope",t),this._transport.send(t).then(null,(t=>{("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.error("Error while sending event:",t)}));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.error("Transport disabled")}_clearOutcomes(){const t=this._outcomes;return this._outcomes={},Object.keys(t).map((e=>{const[n,r]=e.split(":");return{reason:n,category:r,quantity:t[e]}}))}}function ve(t){return void 0===t.type}function ye(t){return"transaction"===t.type}var Ee=n(3603);function be(t,e){const n=we(t,e),r={type:e&&e.name,value:Re(e)};return n.length&&(r.stacktrace={frames:n}),void 0===r.type&&""===r.value&&(r.value="Unrecoverable error caught"),r}function Se(t,e){return{exception:{values:[be(t,e)]}}}function we(t,e){const n=e.stacktrace||e.stack||"",r=function(t){if(t){if("number"==typeof t.framesToPop)return t.framesToPop;if(Te.test(t.message))return 1}return 0}(e);try{return t(n,r)}catch(o){}return[]}const Te=/Minified React error #\d+;/i;function Re(t){const e=t&&t.message;return e?e.error&&"string"==typeof e.error.message?e.error.message:e:"No error message"}function xe(t,e,n,r,o){let i;if(d(e)&&e.error){return Se(t,e.error)}if(h(e)||p(e,"DOMException")){const o=e;if("stack"in e)i=Se(t,e);else{const e=o.name||(h(o)?"DOMError":"DOMException"),a=o.message?"".concat(e,": ").concat(o.message):e;i=ke(t,a,n,r),H(i,a)}return"code"in o&&(i.tags={...i.tags,"DOMException.code":"".concat(o.code)}),i}if(l(e))return Se(t,e);if(m(e)||g(e)){return i=function(t,e,n,r){const o=ht().getClient(),i=o&&o.getOptions().normalizeDepth,a={exception:{values:[{type:g(e)?e.constructor.name:r?"UnhandledRejection":"Error",value:"Non-Error ".concat(r?"promise rejection":"exception"," captured with keys: ").concat(B(e))}]},extra:{__serialized__:$t(e,i)}};if(n){const e=we(t,n);e.length&&(a.exception.values[0].stacktrace={frames:e})}return a}(t,e,n,o),q(i,{synthetic:!0}),i}return i=ke(t,e,n,r),H(i,"".concat(e),void 0),q(i,{synthetic:!0}),i}function ke(t,e,n,r){const o={message:e};if(r&&n){const r=we(t,n);r.length&&(o.exception={values:[{value:e,stacktrace:{frames:r}}]})}return o}const De=o.n2;let Ne=0;function Ce(){return Ne>0}function Pe(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2?arguments[2]:void 0;if("function"!=typeof t)return t;try{const e=t.__sentry_wrapped__;if(e)return e;if(O(t))return t}catch(o){return t}const r=function(){const r=Array.prototype.slice.call(arguments);try{n&&"function"==typeof n&&n.apply(this,arguments);const o=r.map((t=>Pe(t,e)));return t.apply(this,o)}catch(i){throw Ne++,setTimeout((()=>{Ne--})),o=t=>{var n,o;t.addEventProcessor((t=>(e.mechanism&&(H(t,void 0,void 0),q(t,e.mechanism)),t.extra={...t.extra,arguments:r},t))),n=i,ht().captureException(n,{captureContext:o})},ht().withScope(o),i}var o};try{for(const e in t)Object.prototype.hasOwnProperty.call(t,e)&&(r[e]=t[e])}catch(i){}P(r,t),C(t,"__sentry_wrapped__",r);try{Object.getOwnPropertyDescriptor(r,"name").configurable&&Object.defineProperty(r,"name",{get(){return t.name}})}catch(i){}return r}const Oe=["fatal","error","warning","log","info","debug"];function Ue(t){return"warn"===t?"warning":Oe.includes(t)?t:"log"}function Ie(t){if(!t)return{};const e=t.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);if(!e)return{};const n=e[6]||"",r=e[8]||"";return{host:e[4],path:e[5],protocol:e[2],search:n,hash:r,relative:e[5]+n+r}}const je=1024,Be="Breadcrumbs";class Ye{static __initStatic(){this.id=Be}__init(){this.name=Ye.id}constructor(t){Ye.prototype.__init.call(this),this.options={console:!0,dom:!0,fetch:!0,history:!0,sentry:!0,xhr:!0,...t}}setupOnce(){this.options.console&&jt("console",Ge),this.options.dom&&jt("dom",function(t){function e(e){let n,r="object"==typeof t?t.serializeAttribute:void 0,o="object"==typeof t&&"number"==typeof t.maxStringLength?t.maxStringLength:void 0;o&&o>je&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("`dom.maxStringLength` cannot exceed ".concat(je,", but a value of ").concat(o," was configured. Sentry will use ").concat(je," instead.")),o=je),"string"==typeof r&&(r=[r]);try{const t=e.event;n=function(t){return t&&!!t.target}(t)?w(t.target,{keyAttrs:r,maxStringLength:o}):w(t,{keyAttrs:r,maxStringLength:o})}catch(i){n="<unknown>"}0!==n.length&&ht().addBreadcrumb({category:"ui.".concat(e.name),message:n},{event:e.event,name:e.name,global:e.global})}return e}(this.options.dom)),this.options.xhr&&jt("xhr",Le),this.options.fetch&&jt("fetch",Ae),this.options.history&&jt("history",Me)}addSentryBreadcrumb(t){this.options.sentry&&ht().addBreadcrumb({category:"sentry.".concat("transaction"===t.type?"transaction":"event"),event_id:t.event_id,level:t.level,message:M(t)},{event:t})}}function Ge(t){for(let n=0;n<t.args.length;n++)if("ref=Ref<"===t.args[n]){t.args[n+1]="viewRef";break}const e={category:"console",data:{arguments:t.args,logger:"console"},level:Ue(t.level),message:x(t.args," ")};if("assert"===t.level){if(!1!==t.args[0])return;e.message="Assertion failed: ".concat(x(t.args.slice(1)," ")||"console.assert"),e.data.arguments=t.args.slice(1)}ht().addBreadcrumb(e,{input:t.args,level:t.level})}function Le(t){const{startTimestamp:e,endTimestamp:n}=t,r=t.xhr[Pt];if(!e||!n||!r)return;const{method:o,url:i,status_code:a,body:s}=r,c={method:o,url:i,status_code:a},u={xhr:t.xhr,input:s,startTimestamp:e,endTimestamp:n};ht().addBreadcrumb({category:"xhr",data:c,type:"http"},u)}function Ae(t){const{startTimestamp:e,endTimestamp:n}=t;if(n&&(!t.fetchData.url.match(/sentry_key/)||"POST"!==t.fetchData.method))if(t.error){const r=t.fetchData,o={data:t.error,input:t.args,startTimestamp:e,endTimestamp:n};ht().addBreadcrumb({category:"fetch",data:r,level:"error",type:"http"},o)}else{const r={...t.fetchData,status_code:t.response&&t.response.status},o={input:t.args,response:t.response,startTimestamp:e,endTimestamp:n};ht().addBreadcrumb({category:"fetch",data:r,type:"http"},o)}}function Me(t){let e=t.from,n=t.to;const r=Ie(De.location.href);let o=Ie(e);const i=Ie(n);o.path||(o=r),r.protocol===i.protocol&&r.host===i.host&&(n=i.relative),r.protocol===o.protocol&&r.host===o.host&&(e=o.relative),ht().addBreadcrumb({category:"navigation",data:{from:e,to:n}})}Ye.__initStatic();class He extends ge{constructor(t){const e=De.SENTRY_SDK_SOURCE||(0,Ee.S)();t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.browser",packages:[{name:"".concat(e,":@sentry/browser"),version:r}],version:r},super(t),t.sendClientReports&&De.document&&De.document.addEventListener("visibilitychange",(()=>{"hidden"===De.document.visibilityState&&this._flushOutcomes()}))}eventFromException(t,e){return function(t,e,n,r){const o=xe(t,e,n&&n.syntheticException||void 0,r);return q(o),o.level="error",n&&n.event_id&&(o.event_id=n.event_id),tt(o)}(this._options.stackParser,t,e,this._options.attachStacktrace)}eventFromMessage(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"info",n=arguments.length>2?arguments[2]:void 0;return function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"info",r=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;const i=ke(t,e,r&&r.syntheticException||void 0,o);return i.level=n,r&&r.event_id&&(i.event_id=r.event_id),tt(i)}(this._options.stackParser,t,e,n,this._options.attachStacktrace)}sendEvent(t,e){const n=this.getIntegrationById(Be);n&&n.addSentryBreadcrumb&&n.addSentryBreadcrumb(t),super.sendEvent(t,e)}captureUserFeedback(t){if(!this._isEnabled())return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("SDK not enabled, will not capture user feedback."));const e=function(t,e){let{metadata:n,tunnel:r,dsn:o}=e;const i={event_id:t.event_id,sent_at:(new Date).toISOString(),...n&&n.sdk&&{sdk:{name:n.sdk.name,version:n.sdk.version}},...!!r&&!!o&&{dsn:Qt(o)}},a=function(t){return[{type:"user_report"},t]}(t);return te(i,[a])}(t,{metadata:this.getSdkMetadata(),dsn:this.getDsn(),tunnel:this.getOptions().tunnel});this._sendEnvelope(e)}_prepareEvent(t,e,n){return t.platform=t.platform||"javascript",super._prepareEvent(t,e,n)}_flushOutcomes(){const t=this._clearOutcomes();if(0===t.length)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("No outcomes to send"));if(!this._dsn)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("No dsn provided, will not send outcomes"));("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("Sending outcomes:",t);const e=(n=t,te((r=this._options.tunnel&&Qt(this._dsn))?{dsn:r}:{},[[{type:"client_report"},{timestamp:o||(0,V.yW)(),discarded_events:n}]]));var n,r,o;this._sendEnvelope(e)}}class qe{static __initStatic(){this.id="GlobalHandlers"}__init(){this.name=qe.id}__init2(){this._installFunc={onerror:Fe,onunhandledrejection:We}}constructor(t){qe.prototype.__init.call(this),qe.prototype.__init2.call(this),this._options={onerror:!0,onunhandledrejection:!0,...t}}setupOnce(){Error.stackTraceLimit=50;const t=this._options;for(const n in t){const r=this._installFunc[n];r&&t[n]&&(e=n,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("Global Handler attached: ".concat(e)),r(),this._installFunc[n]=void 0)}var e}}function Fe(){jt("error",(t=>{const[e,n,r]=Qe();if(!e.getIntegration(qe))return;const{msg:o,url:i,line:a,column:s,error:c}=t;if(Ce()||c&&c.__sentry_own_request__)return;const u=void 0===c&&f(o)?function(t,e,n,r){const o=/^(?:[Uu]ncaught (?:exception: )?)?(?:((?:Eval|Internal|Range|Reference|Syntax|Type|URI|)Error): )?(.*)$/i;let i=d(t)?t.message:t,a="Error";const s=i.match(o);s&&(a=s[1],i=s[2]);const c={exception:{values:[{type:a,value:i}]}};return ze(c,e,n,r)}(o,i,a,s):ze(xe(n,c||o,void 0,r,!1),i,a,s);u.level="error",Je(e,c,u,"onerror")}))}function We(){jt("unhandledrejection",(t=>{const[e,n,r]=Qe();if(!e.getIntegration(qe))return;let o=t;try{"reason"in t?o=t.reason:"detail"in t&&"reason"in t.detail&&(o=t.detail.reason)}catch(a){}if(Ce()||o&&o.__sentry_own_request__)return!0;const i=_(o)?{exception:{values:[{type:"UnhandledRejection",value:"Non-Error promise rejection captured with value: ".concat(String(o))}]}}:xe(n,o,void 0,r,!0);i.level="error",Je(e,o,i,"onunhandledrejection")}))}function ze(t,e,n,r){const o=t.exception=t.exception||{},i=o.values=o.values||[],a=i[0]=i[0]||{},s=a.stacktrace=a.stacktrace||{},c=s.frames=s.frames||[],u=isNaN(parseInt(r,10))?void 0:r,l=isNaN(parseInt(n,10))?void 0:n,p=f(e)&&e.length>0?e:function(){try{return b.document.location.href}catch(t){return""}}();return 0===c.length&&c.push({colno:u,filename:p,function:"?",in_app:!0,lineno:l}),t}function Je(t,e,n,r){q(n,{handled:!1,type:r}),t.captureEvent(n,{originalException:e})}function Qe(){const t=ht(),e=t.getClient(),n=e&&e.getOptions()||{stackParser:()=>[],attachStacktrace:!1};return[t,n.stackParser,n.attachStacktrace]}qe.__initStatic();const Ze=["EventTarget","Window","Node","ApplicationCache","AudioTrackList","ChannelMergerNode","CryptoOperation","EventSource","FileReader","HTMLUnknownElement","IDBDatabase","IDBRequest","IDBTransaction","KeyOperation","MediaController","MessagePort","ModalWindow","Notification","SVGElementInstance","Screen","TextTrack","TextTrackCue","TextTrackList","WebSocket","WebSocketWorker","Worker","XMLHttpRequest","XMLHttpRequestEventTarget","XMLHttpRequestUpload"];class Ke{static __initStatic(){this.id="TryCatch"}__init(){this.name=Ke.id}constructor(t){Ke.prototype.__init.call(this),this._options={XMLHttpRequest:!0,eventTarget:!0,requestAnimationFrame:!0,setInterval:!0,setTimeout:!0,...t}}setupOnce(){this._options.setTimeout&&N(De,"setTimeout",Ve),this._options.setInterval&&N(De,"setInterval",Ve),this._options.requestAnimationFrame&&N(De,"requestAnimationFrame",$e),this._options.XMLHttpRequest&&"XMLHttpRequest"in De&&N(XMLHttpRequest.prototype,"send",Xe);const t=this._options.eventTarget;if(t){(Array.isArray(t)?t:Ze).forEach(tn)}}}function Ve(t){return function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];const o=n[0];return n[0]=Pe(o,{mechanism:{data:{function:Rt(t)},handled:!0,type:"instrument"}}),t.apply(this,n)}}function $e(t){return function(e){return t.apply(this,[Pe(e,{mechanism:{data:{function:"requestAnimationFrame",handler:Rt(t)},handled:!0,type:"instrument"}})])}}function Xe(t){return function(){const e=this;["onload","onerror","onprogress","onreadystatechange"].forEach((t=>{t in e&&"function"==typeof e[t]&&N(e,t,(function(e){const n={mechanism:{data:{function:t,handler:Rt(e)},handled:!0,type:"instrument"}},r=O(e);return r&&(n.mechanism.data.handler=Rt(r)),Pe(e,n)}))}));for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return t.apply(this,r)}}function tn(t){const e=De,n=e[t]&&e[t].prototype;n&&n.hasOwnProperty&&n.hasOwnProperty("addEventListener")&&(N(n,"addEventListener",(function(e){return function(n,r,o){try{"function"==typeof r.handleEvent&&(r.handleEvent=Pe(r.handleEvent,{mechanism:{data:{function:"handleEvent",handler:Rt(r),target:t},handled:!0,type:"instrument"}}))}catch(i){}return e.apply(this,[n,Pe(r,{mechanism:{data:{function:"addEventListener",handler:Rt(r),target:t},handled:!0,type:"instrument"}}),o])}})),N(n,"removeEventListener",(function(t){return function(e,n,r){const o=n;try{const n=o&&o.__sentry_wrapped__;n&&t.call(this,e,n,r)}catch(i){}return t.call(this,e,o,r)}})))}Ke.__initStatic();class en{static __initStatic(){this.id="LinkedErrors"}__init(){this.name=en.id}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};en.prototype.__init.call(this),this._key=t.key||"cause",this._limit=t.limit||5}setupOnce(){const t=ht().getClient();t&&st(((e,n)=>{const r=ht().getIntegration(en);return r?function(t,e,n,r,o){if(!(r.exception&&r.exception.values&&o&&E(o.originalException,Error)))return r;const i=nn(t,n,o.originalException,e);return r.exception.values=[...i,...r.exception.values],r}(t.getOptions().stackParser,r._key,r._limit,e,n):e}))}}function nn(t,e,n,r){let o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:[];if(!E(n[r],Error)||o.length+1>=e)return o;const i=be(t,n[r]);return nn(t,e,n[r],r,[i,...o])}en.__initStatic();class rn{constructor(){rn.prototype.__init.call(this)}static __initStatic(){this.id="HttpContext"}__init(){this.name=rn.id}setupOnce(){st((t=>{if(ht().getIntegration(rn)){if(!De.navigator&&!De.location&&!De.document)return t;const e=t.request&&t.request.url||De.location&&De.location.href,{referrer:n}=De.document||{},{userAgent:r}=De.navigator||{},o={...t.request&&t.request.headers,...n&&{Referer:n},...r&&{"User-Agent":r}},i={...t.request,...e&&{url:e},headers:o};return{...t,request:i}}return t}))}}rn.__initStatic();class on{constructor(){on.prototype.__init.call(this)}static __initStatic(){this.id="Dedupe"}__init(){this.name=on.id}setupOnce(t,e){const n=t=>{if(t.type)return t;const n=e().getIntegration(on);if(n){try{if(function(t,e){if(!e)return!1;if(function(t,e){const n=t.message,r=e.message;if(!n&&!r)return!1;if(n&&!r||!n&&r)return!1;if(n!==r)return!1;if(!sn(t,e))return!1;if(!an(t,e))return!1;return!0}(t,e))return!0;if(function(t,e){const n=cn(e),r=cn(t);if(!n||!r)return!1;if(n.type!==r.type||n.value!==r.value)return!1;if(!sn(t,e))return!1;if(!an(t,e))return!1;return!0}(t,e))return!0;return!1}(t,n._previousEvent))return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Event dropped due to being a duplicate of previously captured event."),null}catch(r){return n._previousEvent=t}return n._previousEvent=t}return t};n.id=this.name,t(n)}}function an(t,e){let n=un(t),r=un(e);if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;if(r.length!==n.length)return!1;for(let o=0;o<r.length;o++){const t=r[o],e=n[o];if(t.filename!==e.filename||t.lineno!==e.lineno||t.colno!==e.colno||t.function!==e.function)return!1}return!0}function sn(t,e){let n=t.fingerprint,r=e.fingerprint;if(!n&&!r)return!0;if(n&&!r||!n&&r)return!1;try{return!(n.join("")!==r.join(""))}catch(o){return!1}}function cn(t){return t.exception&&t.exception.values&&t.exception.values[0]}function un(t){const e=t.exception;if(e)try{return e.values[0].stacktrace.frames}catch(n){return}}on.__initStatic();const ln="?";function pn(t,e,n,r){const o={filename:t,function:e,in_app:!0};return void 0!==n&&(o.lineno=n),void 0!==r&&(o.colno=r),o}const dn=/^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i,hn=/\((\S*)(?::(\d+))(?::(\d+))\)/,fn=/^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i,_n=/(\S+) line (\d+)(?: > eval line \d+)* > eval/i,mn=/^\s*at (?:((?:\[object object\])?.+) )?\(?((?:[-a-z]+):.*?):(\d+)(?::(\d+))?\)?\s*$/i,gn=wt(...[[30,t=>{const e=dn.exec(t);if(e){if(e[2]&&0===e[2].indexOf("eval")){const t=hn.exec(e[2]);t&&(e[2]=t[1],e[3]=t[2],e[4]=t[3])}const[t,n]=vn(e[1]||ln,e[2]);return pn(n,t,e[3]?+e[3]:void 0,e[4]?+e[4]:void 0)}}],[50,t=>{const e=fn.exec(t);if(e){if(e[3]&&e[3].indexOf(" > eval")>-1){const t=_n.exec(e[3]);t&&(e[1]=e[1]||"eval",e[3]=t[1],e[4]=t[2],e[5]="")}let t=e[3],n=e[1]||ln;return[n,t]=vn(n,t),pn(t,n,e[4]?+e[4]:void 0,e[5]?+e[5]:void 0)}}],[40,t=>{const e=mn.exec(t);return e?pn(e[2],e[1]||ln,+e[3],e[4]?+e[4]:void 0):void 0}]]),vn=(t,e)=>{const n=-1!==t.indexOf("safari-extension"),r=-1!==t.indexOf("safari-web-extension");return n||r?[-1!==t.indexOf("@")?t.split("@")[0]:ln,n?"safari-extension:".concat(e):"safari-web-extension:".concat(e)]:[t,e]};function yn(t){const e=[];function n(t){return e.splice(e.indexOf(t),1)[0]}return{$:e,add:function(r){if(!(void 0===t||e.length<t))return et(new zt("Not adding Promise because buffer limit was reached."));const o=r();return-1===e.indexOf(o)&&e.push(o),o.then((()=>n(o))).then(null,(()=>n(o).then(null,(()=>{})))),o},drain:function(t){return new nt(((n,r)=>{let o=e.length;if(!o)return n(!0);const i=setTimeout((()=>{t&&t>0&&n(!1)}),t);e.forEach((t=>{tt(t).then((()=>{--o||(clearTimeout(i),n(!0))}),r)}))}))}}}const En=6e4;function bn(t,e){let{statusCode:n,headers:r}=e,o=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();const i={...t},a=r&&r["x-sentry-rate-limits"],s=r&&r["retry-after"];if(a)for(const c of a.trim().split(",")){const[t,e]=c.split(":",2),n=parseInt(t,10),r=1e3*(isNaN(n)?60:n);if(e)for(const a of e.split(";"))i[a]=o+r;else i.all=o+r}else s?i.all=o+function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Date.now();const n=parseInt("".concat(t),10);if(!isNaN(n))return 1e3*n;const r=Date.parse("".concat(t));return isNaN(r)?En:r-e}(s,o):429===n&&(i.all=o+6e4);return i}const Sn=30;function wn(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:yn(t.bufferSize||Sn),r={};function o(o){const i=[];if(ne(o,((e,n)=>{const o=se(n);if(function(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now();return function(t,e){return t[e]||t.all||0}(t,e)>n}(r,o)){const r=Tn(e,n);t.recordDroppedEvent("ratelimit_backoff",o,r)}else i.push(e)})),0===i.length)return tt();const a=te(o[0],i),s=e=>{ne(a,((n,r)=>{const o=Tn(n,r);t.recordDroppedEvent(e,se(r),o)}))};return n.add((()=>e({body:oe(a,t.textEncoder)}).then((t=>(void 0!==t.statusCode&&(t.statusCode<200||t.statusCode>=300)&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Sentry responded with status code ".concat(t.statusCode," to sent event.")),r=bn(r,t),t)),(t=>{throw s("network_error"),t})))).then((t=>t),(t=>{if(t instanceof zt)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.error("Skipped sending event because buffer is full."),s("queue_overflow"),tt();throw t}))}return o.__sentry__baseTransport__=!0,{send:o,flush:t=>n.drain(t)}}function Tn(t,e){if("event"===e||"transaction"===e)return Array.isArray(t)?t[1]:void 0}let Rn;function xn(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:function(){if(Rn)return Rn;if(Dt(De.fetch))return Rn=De.fetch.bind(De);const t=De.document;let e=De.fetch;if(t&&"function"==typeof t.createElement)try{const n=t.createElement("iframe");n.hidden=!0,t.head.appendChild(n);const r=n.contentWindow;r&&r.fetch&&(e=r.fetch),t.head.removeChild(n)}catch(n){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ",n)}return Rn=e.bind(De)}(),n=0,r=0;return wn(t,(function(o){const i=o.body.length;n+=i,r++;const a={body:o.body,method:"POST",referrerPolicy:"origin",headers:t.headers,keepalive:n<=6e4&&r<15,...t.fetchOptions};try{return e(t.url,a).then((t=>(n-=i,r--,{statusCode:t.status,headers:{"x-sentry-rate-limits":t.headers.get("X-Sentry-Rate-Limits"),"retry-after":t.headers.get("Retry-After")}})))}catch(s){return Rn=void 0,n-=i,r--,et(s)}}))}const kn=4;function Dn(t){return wn(t,(function(e){return new nt(((n,r)=>{const o=new XMLHttpRequest;o.onerror=r,o.onreadystatechange=()=>{o.readyState===kn&&n({statusCode:o.status,headers:{"x-sentry-rate-limits":o.getResponseHeader("X-Sentry-Rate-Limits"),"retry-after":o.getResponseHeader("Retry-After")}})},o.open("POST",t.url);for(const e in t.headers)Object.prototype.hasOwnProperty.call(t.headers,e)&&o.setRequestHeader(e,t.headers[e]);o.send(e.body)}))}))}const Nn=[new J,new K,new Ke,new Ye,new qe,new en,new on,new rn];function Cn(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};void 0===t.defaultIntegrations&&(t.defaultIntegrations=Nn),void 0===t.release&&(t.release="875b36fa2e7e0a3a60c85fabca613db6d4a7b6a6",De.SENTRY_RELEASE&&De.SENTRY_RELEASE.id&&(t.release=De.SENTRY_RELEASE.id)),void 0===t.autoSessionTracking&&(t.autoSessionTracking=!0),void 0===t.sendClientReports&&(t.sendClientReports=!0);const e={...t,stackParser:(n=t.stackParser||gn,Array.isArray(n)?wt(...n):n),integrations:yt(t),transport:t.transport||(kt()?xn:Dn)};var n;!function(t,e){!0===e.debug&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__?c.enable():console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle."));const n=ht();n.getScope().update(e.initialScope);const r=new t(e);n.bindClient(r)}(He,e),t.autoSessionTracking&&function(){if(void 0===De.document)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Session tracking in non-browser environment with @sentry/browser is not supported."));const t=ht();if(!t.captureSession)return;Pn(t),jt("history",(t=>{let{from:e,to:n}=t;void 0!==e&&e!==n&&Pn(ht())}))}()}function Pn(t){t.startSession({ignoreDuration:!0}),t.captureSession()}function On(t){if("boolean"==typeof __SENTRY_TRACING__&&!__SENTRY_TRACING__)return!1;const e=ht().getClient(),n=t||e&&e.getOptions();return!!n&&(n.enableTracing||"tracesSampleRate"in n||"tracesSampler"in n)}class Un{__init(){this.spans=[]}constructor(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;Un.prototype.__init.call(this),this._maxlen=t}add(t){this.spans.length>this._maxlen?t.spanRecorder=void 0:this.spans.push(t)}}class In{__init2(){this.traceId=L()}__init3(){this.spanId=L().substring(16)}__init4(){this.startTimestamp=(0,V.ph)()}__init5(){this.tags={}}__init6(){this.data={}}__init7(){this.instrumenter="sentry"}constructor(t){if(In.prototype.__init2.call(this),In.prototype.__init3.call(this),In.prototype.__init4.call(this),In.prototype.__init5.call(this),In.prototype.__init6.call(this),In.prototype.__init7.call(this),!t)return this;t.traceId&&(this.traceId=t.traceId),t.spanId&&(this.spanId=t.spanId),t.parentSpanId&&(this.parentSpanId=t.parentSpanId),"sampled"in t&&(this.sampled=t.sampled),t.op&&(this.op=t.op),t.description&&(this.description=t.description),t.data&&(this.data=t.data),t.tags&&(this.tags=t.tags),t.status&&(this.status=t.status),t.startTimestamp&&(this.startTimestamp=t.startTimestamp),t.endTimestamp&&(this.endTimestamp=t.endTimestamp),t.instrumenter&&(this.instrumenter=t.instrumenter)}startChild(t){const e=new In({...t,parentSpanId:this.spanId,sampled:this.sampled,traceId:this.traceId});if(e.spanRecorder=this.spanRecorder,e.spanRecorder&&e.spanRecorder.add(e),e.transaction=this.transaction,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&e.transaction){const n=t&&t.op||"< unknown op >",r=e.transaction.name||"< unknown name >",o=e.transaction.spanId,i="[Tracing] Starting '".concat(n,"' span on transaction '").concat(r,"' (").concat(o,").");e.transaction.metadata.spanMetadata[e.spanId]={logMessage:i},c.log(i)}return e}setTag(t,e){return this.tags={...this.tags,[t]:e},this}setData(t,e){return this.data={...this.data,[t]:e},this}setStatus(t){return this.status=t,this}setHttpStatus(t){this.setTag("http.status_code",String(t));const e=function(t){if(t<400&&t>=100)return"ok";if(t>=400&&t<500)switch(t){case 401:return"unauthenticated";case 403:return"permission_denied";case 404:return"not_found";case 409:return"already_exists";case 413:return"failed_precondition";case 429:return"resource_exhausted";default:return"invalid_argument"}if(t>=500&&t<600)switch(t){case 501:return"unimplemented";case 503:return"unavailable";case 504:return"deadline_exceeded";default:return"internal_error"}return"unknown_error"}(t);return"unknown_error"!==e&&this.setStatus(e),this}isSuccess(){return"ok"===this.status}finish(t){if(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&this.transaction&&this.transaction.spanId!==this.spanId){const{logMessage:t}=this.transaction.metadata.spanMetadata[this.spanId];t&&c.log(t.replace("Starting","Finishing"))}this.endTimestamp="number"==typeof t?t:(0,V.ph)()}toTraceparent(){let t="";return void 0!==this.sampled&&(t=this.sampled?"-1":"-0"),"".concat(this.traceId,"-").concat(this.spanId).concat(t)}toContext(){return Y({data:this.data,description:this.description,endTimestamp:this.endTimestamp,op:this.op,parentSpanId:this.parentSpanId,sampled:this.sampled,spanId:this.spanId,startTimestamp:this.startTimestamp,status:this.status,tags:this.tags,traceId:this.traceId})}updateWithContext(t){return this.data=t.data||{},this.description=t.description,this.endTimestamp=t.endTimestamp,this.op=t.op,this.parentSpanId=t.parentSpanId,this.sampled=t.sampled,this.spanId=t.spanId||this.spanId,this.startTimestamp=t.startTimestamp||this.startTimestamp,this.status=t.status,this.tags=t.tags||{},this.traceId=t.traceId||this.traceId,this}getTraceContext(){return Y({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,trace_id:this.traceId})}toJSON(){return Y({data:Object.keys(this.data).length>0?this.data:void 0,description:this.description,op:this.op,parent_span_id:this.parentSpanId,span_id:this.spanId,start_timestamp:this.startTimestamp,status:this.status,tags:Object.keys(this.tags).length>0?this.tags:void 0,timestamp:this.endTimestamp,trace_id:this.traceId})}}class jn extends In{__init(){this._measurements={}}__init2(){this._contexts={}}__init3(){this._frozenDynamicSamplingContext=void 0}constructor(t,e){super(t),jn.prototype.__init.call(this),jn.prototype.__init2.call(this),jn.prototype.__init3.call(this),this._hub=e||ht(),this._name=t.name||"",this.metadata={source:"custom",...t.metadata,spanMetadata:{}},this._trimEnd=t.trimEnd,this.transaction=this;const n=this.metadata.dynamicSamplingContext;n&&(this._frozenDynamicSamplingContext={...n})}get name(){return this._name}set name(t){this.setName(t)}setName(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"custom";this._name=t,this.metadata.source=e}initSpanRecorder(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1e3;this.spanRecorder||(this.spanRecorder=new Un(t)),this.spanRecorder.add(this)}setContext(t,e){null===e?delete this._contexts[t]:this._contexts[t]=e}setMeasurement(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";this._measurements[t]={value:e,unit:n}}setMetadata(t){this.metadata={...this.metadata,...t}}finish(t){if(void 0!==this.endTimestamp)return;this.name||(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Transaction has no name, falling back to `<unlabeled transaction>`."),this.name="<unlabeled transaction>"),super.finish(t);const e=this._hub.getClient();if(e&&e.emit&&e.emit("finishTransaction",this),!0!==this.sampled)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."),void(e&&e.recordDroppedEvent("sample_rate","transaction"));const n=this.spanRecorder?this.spanRecorder.spans.filter((t=>t!==this&&t.endTimestamp)):[];this._trimEnd&&n.length>0&&(this.endTimestamp=n.reduce(((t,e)=>t.endTimestamp&&e.endTimestamp?t.endTimestamp>e.endTimestamp?t:e:t)).endTimestamp);const r=this.metadata,o={contexts:{...this._contexts,trace:this.getTraceContext()},spans:n,start_timestamp:this.startTimestamp,tags:this.tags,timestamp:this.endTimestamp,transaction:this.name,type:"transaction",sdkProcessingMetadata:{...r,dynamicSamplingContext:this.getDynamicSamplingContext()},...r.source&&{transaction_info:{source:r.source}}};return Object.keys(this._measurements).length>0&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding measurements to transaction",JSON.stringify(this._measurements,void 0,2)),o.measurements=this._measurements),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Finishing ".concat(this.op," transaction: ").concat(this.name,".")),this._hub.captureEvent(o)}toContext(){return Y({...super.toContext(),name:this.name,trimEnd:this._trimEnd})}updateWithContext(t){return super.updateWithContext(t),this.name=t.name||"",this._trimEnd=t.trimEnd,this}getDynamicSamplingContext(){if(this._frozenDynamicSamplingContext)return this._frozenDynamicSamplingContext;const t=this._hub||ht(),e=t&&t.getClient();if(!e)return{};const{environment:n,release:r}=e.getOptions()||{},{publicKey:o}=e.getDsn()||{},i=this.metadata.sampleRate,a=void 0!==i?i.toString():void 0,{segment:s}=t.getScope().getUser()||{},c=this.metadata.source,u=c&&"url"!==c?this.name:void 0,l=Y({environment:n||$,release:r,transaction:u,user_segment:s,public_key:o,trace_id:this.traceId,sample_rate:a});return e.emit&&e.emit("createDsc",l),l}setHub(t){this._hub=t}}const Bn={idleTimeout:1e3,finalTimeout:3e4,heartbeatInterval:5e3},Yn=["heartbeatFailed","idleTimeout","documentHidden","finalTimeout","externalFinish","cancelled"];class Gn extends Un{constructor(t,e,n,r){super(r),this._pushActivity=t,this._popActivity=e,this.transactionSpanId=n}add(t){t.spanId!==this.transactionSpanId&&(t.finish=e=>{t.endTimestamp="number"==typeof e?e:(0,V.ph)(),this._popActivity(t.spanId)},void 0===t.endTimestamp&&this._pushActivity(t.spanId)),super.add(t)}}class Ln extends jn{__init(){this.activities={}}__init2(){this._heartbeatCounter=0}__init3(){this._finished=!1}__init4(){this._idleTimeoutCanceledPermanently=!1}__init5(){this._beforeFinishCallbacks=[]}__init6(){this._finishReason=Yn[4]}constructor(t,e){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Bn.idleTimeout,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:Bn.finalTimeout,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:Bn.heartbeatInterval,i=arguments.length>5&&void 0!==arguments[5]&&arguments[5];super(t,e),this._idleHub=e,this._idleTimeout=n,this._finalTimeout=r,this._heartbeatInterval=o,this._onScope=i,Ln.prototype.__init.call(this),Ln.prototype.__init2.call(this),Ln.prototype.__init3.call(this),Ln.prototype.__init4.call(this),Ln.prototype.__init5.call(this),Ln.prototype.__init6.call(this),i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("Setting idle transaction on scope. Span ID: ".concat(this.spanId)),e.configureScope((t=>t.setSpan(this)))),this._restartIdleTimeout(),setTimeout((()=>{this._finished||(this.setStatus("deadline_exceeded"),this._finishReason=Yn[3],this.finish())}),this._finalTimeout)}finish(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:(0,V.ph)();if(this._finished=!0,this.activities={},"ui.action.click"===this.op&&this.setTag("finishReason",this._finishReason),this.spanRecorder){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] finishing IdleTransaction",new Date(1e3*t).toISOString(),this.op);for(const e of this._beforeFinishCallbacks)e(this,t);this.spanRecorder.spans=this.spanRecorder.spans.filter((e=>{if(e.spanId===this.spanId)return!0;e.endTimestamp||(e.endTimestamp=t,e.setStatus("cancelled"),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] cancelling span since transaction ended early",JSON.stringify(e,void 0,2)));const n=e.startTimestamp<t;return n||("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] discarding Span since it happened after Transaction was finished",JSON.stringify(e,void 0,2)),n})),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] flushing IdleTransaction")}else("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] No active IdleTransaction");if(this._onScope){const t=this._idleHub.getScope();t.getTransaction()===this&&t.setSpan(void 0)}return super.finish(t)}registerBeforeFinishCallback(t){this._beforeFinishCallbacks.push(t)}initSpanRecorder(t){if(!this.spanRecorder){const e=t=>{this._finished||this._pushActivity(t)},n=t=>{this._finished||this._popActivity(t)};this.spanRecorder=new Gn(e,n,this.spanId,t),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("Starting heartbeat"),this._pingHeartbeat()}this.spanRecorder.add(this)}cancelIdleTimeout(t){let{restartOnChildSpanChange:e}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{restartOnChildSpanChange:!0};this._idleTimeoutCanceledPermanently=!1===e,this._idleTimeoutID&&(clearTimeout(this._idleTimeoutID),this._idleTimeoutID=void 0,0===Object.keys(this.activities).length&&this._idleTimeoutCanceledPermanently&&(this._finishReason=Yn[5],this.finish(t)))}setFinishReason(t){this._finishReason=t}_restartIdleTimeout(t){this.cancelIdleTimeout(),this._idleTimeoutID=setTimeout((()=>{this._finished||0!==Object.keys(this.activities).length||(this._finishReason=Yn[1],this.finish(t))}),this._idleTimeout)}_pushActivity(t){this.cancelIdleTimeout(void 0,{restartOnChildSpanChange:!this._idleTimeoutCanceledPermanently}),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] pushActivity: ".concat(t)),this.activities[t]=!0,("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] new activities count",Object.keys(this.activities).length)}_popActivity(t){if(this.activities[t]&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] popActivity ".concat(t)),delete this.activities[t],("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] new activities count",Object.keys(this.activities).length)),0===Object.keys(this.activities).length){const t=(0,V.ph)();this._idleTimeoutCanceledPermanently?(this._finishReason=Yn[5],this.finish(t)):this._restartIdleTimeout(t+this._idleTimeout/1e3)}}_beat(){if(this._finished)return;const t=Object.keys(this.activities).join("");t===this._prevHeartbeatString?this._heartbeatCounter++:this._heartbeatCounter=1,this._prevHeartbeatString=t,this._heartbeatCounter>=3?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Transaction finished because of no change for 3 heart beats"),this.setStatus("deadline_exceeded"),this._finishReason=Yn[0],this.finish()):this._pingHeartbeat()}_pingHeartbeat(){("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("pinging Heartbeat -> current counter: ".concat(this._heartbeatCounter)),setTimeout((()=>{this._beat()}),this._heartbeatInterval)}}function An(t){return(t||ht()).getScope().getTransaction()}let Mn=!1;function Hn(){const t=An();if(t){const e="internal_error";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Transaction: ".concat(e," -> Global error occured")),t.setStatus(e)}}function qn(){const t=this.getScope().getSpan();return t?{"sentry-trace":t.toTraceparent()}:{}}function Fn(t,e,n){if(!On(e))return t.sampled=!1,t;if(void 0!==t.sampled)return t.setMetadata({sampleRate:Number(t.sampled)}),t;let r;return"function"==typeof e.tracesSampler?(r=e.tracesSampler(n),t.setMetadata({sampleRate:Number(r)})):void 0!==n.parentSampled?r=n.parentSampled:void 0!==e.tracesSampleRate?(r=e.tracesSampleRate,t.setMetadata({sampleRate:Number(r)})):(r=1,t.setMetadata({sampleRate:r})),function(t){if(y(t)||"number"!=typeof t&&"boolean"!=typeof t)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("[Tracing] Given sample rate is invalid. Sample rate must be a boolean or a number between 0 and 1. Got ".concat(JSON.stringify(t)," of type ").concat(JSON.stringify(typeof t),".")),!1;if(t<0||t>1)return("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("[Tracing] Given sample rate is invalid. Sample rate must be between 0 and 1. Got ".concat(t,".")),!1;return!0}(r)?r?(t.sampled=Math.random()<r,t.sampled?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] starting ".concat(t.op," transaction - ").concat(t.name)),t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ".concat(Number(r),")")),t)):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Discarding transaction because ".concat("function"==typeof e.tracesSampler?"tracesSampler returned 0 or false":"a negative sampling decision was inherited or tracesSampleRate is set to 0")),t.sampled=!1,t):(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("[Tracing] Discarding transaction because of invalid sample rate."),t.sampled=!1,t)}function Wn(t,e){const n=this.getClient(),r=n&&n.getOptions()||{},o=r.instrumenter||"sentry",i=t.instrumenter||"sentry";o!==i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.error("A transaction was started with instrumenter=`".concat(i,"`, but the SDK is configured with the `").concat(o,"` instrumenter.\nThe transaction will not be sampled. Please use the ").concat(o," instrumentation to start transactions.")),t.sampled=!1);let a=new jn(t,this);return a=Fn(a,r,{parentSampled:t.parentSampled,transactionContext:t,...e}),a.sampled&&a.initSpanRecorder(r._experiments&&r._experiments.maxSpans),n&&n.emit&&n.emit("startTransaction",a),a}function zn(t,e,n,r,o,i,a){const s=t.getClient(),c=s&&s.getOptions()||{};let u=new Ln(e,t,n,r,a,o);return u=Fn(u,c,{parentSampled:e.parentSampled,transactionContext:e,...i}),u.sampled&&u.initSpanRecorder(c._experiments&&c._experiments.maxSpans),s&&s.emit&&s.emit("startTransaction",u),u}function Jn(){const t=pt();t.__SENTRY__&&(t.__SENTRY__.extensions=t.__SENTRY__.extensions||{},t.__SENTRY__.extensions.startTransaction||(t.__SENTRY__.extensions.startTransaction=Wn),t.__SENTRY__.extensions.traceHeaders||(t.__SENTRY__.extensions.traceHeaders=qn),Mn||(Mn=!0,jt("error",Hn),jt("unhandledrejection",Hn)))}Hn.tag="sentry_tracingErrorCallback";const Qn=new RegExp("^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$");const Zn="baggage",Kn="sentry-",Vn=/^sentry-/,$n=8192;function Xn(t){return function(t){if(0===Object.keys(t).length)return;return Object.entries(t).reduce(((t,e,n)=>{let[r,o]=e;const i="".concat(encodeURIComponent(r),"=").concat(encodeURIComponent(o)),a=0===n?i:"".concat(t,",").concat(i);return a.length>$n?(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Not adding key: ".concat(r," with val: ").concat(o," to baggage header due to exceeding baggage size limits.")),t):a}),"")}(Object.entries(t).reduce(((t,e)=>{let[n,r]=e;return r&&(t["".concat(Kn).concat(n)]=r),t}),{}))}function tr(t){return t.split(",").map((t=>t.split("=").map((t=>decodeURIComponent(t.trim()))))).reduce(((t,e)=>{let[n,r]=e;return t[n]=r,t}),{})}const er=o.n2;const nr=(t,e,n)=>{let r,o;return i=>{e.value>=0&&(i||n)&&(o=e.value-(r||0),(o||void 0===r)&&(r=e.value,e.delta=o,t(e)))}},rr=()=>er.__WEB_VITALS_POLYFILL__?er.performance&&(performance.getEntriesByType&&performance.getEntriesByType("navigation")[0]||(()=>{const t=er.performance.timing,e=er.performance.navigation.type,n={entryType:"navigation",startTime:0,type:2==e?"back_forward":1===e?"reload":"navigate"};for(const r in t)"navigationStart"!==r&&"toJSON"!==r&&(n[r]=Math.max(t[r]-t.navigationStart,0));return n})()):er.performance&&performance.getEntriesByType&&performance.getEntriesByType("navigation")[0],or=()=>{const t=rr();return t&&t.activationStart||0},ir=(t,e)=>{const n=rr();let r="navigate";return n&&(r=er.document.prerendering||or()>0?"prerender":n.type.replace(/_/g,"-")),{name:t,value:void 0===e?-1:e,rating:"good",delta:0,entries:[],id:"v3-".concat(Date.now(),"-").concat(Math.floor(8999999999999*Math.random())+1e12),navigationType:r}},ar=(t,e,n)=>{try{if(PerformanceObserver.supportedEntryTypes.includes(t)){const r=new PerformanceObserver((t=>{e(t.getEntries())}));return r.observe(Object.assign({type:t,buffered:!0},n||{})),r}}catch(r){}},sr=(t,e)=>{const n=r=>{"pagehide"!==r.type&&"hidden"!==er.document.visibilityState||(t(r),e&&(removeEventListener("visibilitychange",n,!0),removeEventListener("pagehide",n,!0)))};addEventListener("visibilitychange",n,!0),addEventListener("pagehide",n,!0)},cr=t=>{const e=ir("CLS",0);let n,r=0,o=[];const i=t=>{t.forEach((t=>{if(!t.hadRecentInput){const i=o[0],a=o[o.length-1];r&&0!==o.length&&t.startTime-a.startTime<1e3&&t.startTime-i.startTime<5e3?(r+=t.value,o.push(t)):(r=t.value,o=[t]),r>e.value&&(e.value=r,e.entries=o,n&&n())}}))},a=ar("layout-shift",i);if(a){n=nr(t,e);const r=()=>{i(a.takeRecords()),n(!0)};return sr(r),r}};let ur=-1;const lr=()=>(ur<0&&(ur="hidden"!==er.document.visibilityState||er.document.prerendering?1/0:0,sr((t=>{let{timeStamp:e}=t;ur=e}),!0)),{get firstHiddenTime(){return ur}}),pr=t=>{const e=lr(),n=ir("FID");let r;const o=t=>{t.startTime<e.firstHiddenTime&&(n.value=t.processingStart-t.startTime,n.entries.push(t),r(!0))},i=t=>{t.forEach(o)},a=ar("first-input",i);r=nr(t,n),a&&sr((()=>{i(a.takeRecords()),a.disconnect()}),!0)},dr={},hr=t=>{const e=lr(),n=ir("LCP");let r;const o=t=>{const o=t[t.length-1];if(o){const t=Math.max(o.startTime-or(),0);t<e.firstHiddenTime&&(n.value=t,n.entries=[o],r())}},i=ar("largest-contentful-paint",o);if(i){r=nr(t,n);const e=()=>{dr[n.id]||(o(i.takeRecords()),i.disconnect(),dr[n.id]=!0,r(!0))};return["keydown","click"].forEach((t=>{addEventListener(t,e,{once:!0,capture:!0})})),sr(e,!0),e}};function fr(t){return"number"==typeof t&&isFinite(t)}function _r(t,e){let{startTimestamp:n,...r}=e;return n&&t.startTimestamp>n&&(t.startTimestamp=n),t.startChild({startTimestamp:n,...r})}function mr(t){return t/1e3}function gr(){return er&&er.addEventListener&&er.performance}let vr,yr,Er=0,br={};function Sr(){const t=gr();if(t&&V.Z1){t.mark&&er.performance.mark("sentry-tracing-init"),pr((t=>{const e=t.entries.pop();if(!e)return;const n=mr(V.Z1),r=mr(e.startTime);("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding FID"),br.fid={value:t.value,unit:"millisecond"},br["mark.fid"]={value:n+r,unit:"second"}}));const e=cr((t=>{const e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding CLS"),br.cls={value:t.value,unit:""},yr=e)})),n=hr((t=>{const e=t.entries.pop();e&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding LCP"),br.lcp={value:t.value,unit:"millisecond"},vr=e)}));return()=>{e&&e(),n&&n()}}return()=>{}}function wr(t){const e=gr();if(!e||!er.performance.getEntries||!V.Z1)return;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Adding & adjusting spans using Performance API");const n=mr(V.Z1),r=e.getEntries();let o,i;if(r.slice(Er).forEach((e=>{const r=mr(e.startTime),a=mr(e.duration);if(!("navigation"===t.op&&n+r<t.startTimestamp))switch(e.entryType){case"navigation":!function(t,e,n){["unloadEvent","redirect","domContentLoadedEvent","loadEvent","connect"].forEach((r=>{Tr(t,e,r,n)})),Tr(t,e,"secureConnection",n,"TLS/SSL","connectEnd"),Tr(t,e,"fetch",n,"cache","domainLookupStart"),Tr(t,e,"domainLookup",n,"DNS"),function(t,e,n){_r(t,{op:"browser",description:"request",startTimestamp:n+mr(e.requestStart),endTimestamp:n+mr(e.responseEnd)}),_r(t,{op:"browser",description:"response",startTimestamp:n+mr(e.responseStart),endTimestamp:n+mr(e.responseEnd)})}(t,e,n)}(t,e,n),o=n+mr(e.responseStart),i=n+mr(e.requestStart);break;case"mark":case"paint":case"measure":{!function(t,e,n,r,o){const i=o+n,a=i+r;_r(t,{description:e.name,endTimestamp:a,op:e.entryType,startTimestamp:i})}(t,e,r,a,n);const o=lr(),i=e.startTime<o.firstHiddenTime;"first-paint"===e.name&&i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding FP"),br.fp={value:e.startTime,unit:"millisecond"}),"first-contentful-paint"===e.name&&i&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding FCP"),br.fcp={value:e.startTime,unit:"millisecond"});break}case"resource":{const o=e.name.replace(er.location.origin,"");!function(t,e,n,r,o,i){if("xmlhttprequest"===e.initiatorType||"fetch"===e.initiatorType)return;const a={};"transferSize"in e&&(a["Transfer Size"]=e.transferSize);"encodedBodySize"in e&&(a["Encoded Body Size"]=e.encodedBodySize);"decodedBodySize"in e&&(a["Decoded Body Size"]=e.decodedBodySize);"renderBlockingStatus"in e&&(a["resource.render_blocking_status"]=e.renderBlockingStatus);const s=i+r,c=s+o;_r(t,{description:n,endTimestamp:c,op:e.initiatorType?"resource.".concat(e.initiatorType):"resource.other",startTimestamp:s,data:a})}(t,e,o,r,a,n);break}}})),Er=Math.max(r.length-1,0),function(t){const e=er.navigator;if(!e)return;const n=e.connection;n&&(n.effectiveType&&t.setTag("effectiveConnectionType",n.effectiveType),n.type&&t.setTag("connectionType",n.type),fr(n.rtt)&&(br["connection.rtt"]={value:n.rtt,unit:"millisecond"}));fr(e.deviceMemory)&&t.setTag("deviceMemory","".concat(e.deviceMemory," GB"));fr(e.hardwareConcurrency)&&t.setTag("hardwareConcurrency",String(e.hardwareConcurrency))}(t),"pageload"===t.op){"number"==typeof o&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding TTFB"),br.ttfb={value:1e3*(o-t.startTimestamp),unit:"millisecond"},"number"==typeof i&&i<=o&&(br["ttfb.requestTime"]={value:1e3*(o-i),unit:"millisecond"})),["fcp","fp","lcp"].forEach((e=>{if(!br[e]||n>=t.startTimestamp)return;const r=br[e].value,o=n+mr(r),i=Math.abs(1e3*(o-t.startTimestamp)),a=i-r;("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Normalized ".concat(e," from ").concat(r," to ").concat(i," (").concat(a,")")),br[e].value=i}));const e=br["mark.fid"];e&&br.fid&&(_r(t,{description:"first input delay",endTimestamp:e.value+mr(br.fid.value),op:"ui.action",startTimestamp:e.value}),delete br["mark.fid"]),"fcp"in br||delete br.cls,Object.keys(br).forEach((e=>{t.setMeasurement(e,br[e].value,br[e].unit)})),function(t){vr&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding LCP Data"),vr.element&&t.setTag("lcp.element",w(vr.element)),vr.id&&t.setTag("lcp.id",vr.id),vr.url&&t.setTag("lcp.url",vr.url.trim().slice(0,200)),t.setTag("lcp.size",vr.size));yr&&yr.sources&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Measurements] Adding CLS Data"),yr.sources.forEach(((e,n)=>t.setTag("cls.source.".concat(n+1),w(e.node)))))}(t)}vr=void 0,yr=void 0,br={}}function Tr(t,e,n,r,o,i){const a=i?e[i]:e["".concat(n,"End")],s=e["".concat(n,"Start")];s&&a&&_r(t,{op:"browser",description:o||n,startTimestamp:r+mr(s),endTimestamp:r+mr(a)})}const Rr=["localhost",/^\//],xr={traceFetch:!0,traceXHR:!0,tracingOrigins:Rr,tracePropagationTargets:Rr};function kr(t){const{traceFetch:e,traceXHR:n,tracePropagationTargets:r,tracingOrigins:o,shouldCreateSpanForRequest:i}={traceFetch:xr.traceFetch,traceXHR:xr.traceXHR,...t},a="function"==typeof i?i:t=>!0,s=t=>function(t,e){return D(t,e||Rr)}(t,r||o),c={};e&&jt("fetch",(t=>{!function(t,e,n,r){if(!On()||!t.fetchData||!e(t.fetchData.url))return;if(t.endTimestamp){const e=t.fetchData.__span;if(!e)return;const n=r[e];return void(n&&(t.response?n.setHttpStatus(t.response.status):t.error&&n.setStatus("internal_error"),n.finish(),delete r[e]))}const o=ht().getScope(),i=o&&o.getSpan(),a=i&&i.transaction;if(i&&a){const e=i.startChild({data:{...t.fetchData,type:"fetch"},description:"".concat(t.fetchData.method," ").concat(t.fetchData.url),op:"http.client"});t.fetchData.__span=e.spanId,r[e.spanId]=e;const o=t.args[0];t.args[1]=t.args[1]||{};const s=t.args[1];n(t.fetchData.url)&&(s.headers=function(t,e,n,r){const o=Xn(e),i=n.toTraceparent(),a="undefined"!=typeof Request&&E(t,Request)?t.headers:r.headers;if(a){if("undefined"!=typeof Headers&&E(a,Headers)){const t=new Headers(a);return t.append("sentry-trace",i),o&&t.append(Zn,o),t}if(Array.isArray(a)){const t=[...a,["sentry-trace",i]];return o&&t.push([Zn,o]),t}{const t="baggage"in a?a.baggage:void 0,e=[];return Array.isArray(t)?e.push(...t):t&&e.push(t),o&&e.push(o),{...a,"sentry-trace":i,baggage:e.length>0?e.join(","):void 0}}}return{"sentry-trace":i,baggage:o}}(o,a.getDynamicSamplingContext(),e,s))}}(t,a,s,c)})),n&&jt("xhr",(t=>{!function(t,e,n,r){const o=t.xhr,i=o&&o[Pt];if(!On()||o&&o.__sentry_own_request__||!(o&&i&&e(i.url)))return;if(t.endTimestamp){const t=o.__sentry_xhr_span_id__;if(!t)return;const e=r[t];return void(e&&(e.setHttpStatus(i.status_code),e.finish(),delete r[t]))}const a=ht().getScope(),s=a&&a.getSpan(),c=s&&s.transaction;if(s&&c){const t=s.startChild({data:{...i.data,type:"xhr",method:i.method,url:i.url},description:"".concat(i.method," ").concat(i.url),op:"http.client"});if(o.__sentry_xhr_span_id__=t.spanId,r[o.__sentry_xhr_span_id__]=t,o.setRequestHeader&&n(i.url))try{o.setRequestHeader("sentry-trace",t.toTraceparent());const e=Xn(c.getDynamicSamplingContext());e&&o.setRequestHeader(Zn,e)}catch(u){}}}(t,a,s,c)}))}const Dr={...Bn,markBackgroundTransactions:!0,routingInstrumentation:function(t){let e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!er||!er.location)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("Could not initialize routing instrumentation due to invalid location"));let r,o=er.location.href;e&&(r=t({name:er.location.pathname,startTimestamp:V.Z1?V.Z1/1e3:void 0,op:"pageload",metadata:{source:"url"}})),n&&jt("history",(e=>{let{to:n,from:i}=e;void 0===i&&o&&-1!==o.indexOf(n)?o=void 0:i!==n&&(o=void 0,r&&(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Finishing current transaction with op: ".concat(r.op)),r.finish()),r=t({name:er.location.pathname,op:"navigation",metadata:{source:"url"}}))}))},startTransactionOnLocationChange:!0,startTransactionOnPageLoad:!0,enableLongTask:!0,_experiments:{},...xr};class Nr{__init(){this.name="BrowserTracing"}constructor(t){Nr.prototype.__init.call(this),Jn(),this.options={...Dr,...t},void 0!==this.options._experiments.enableLongTask&&(this.options.enableLongTask=this.options._experiments.enableLongTask),t&&!t.tracePropagationTargets&&t.tracingOrigins&&(this.options.tracePropagationTargets=t.tracingOrigins),this._collectWebVitals=Sr(),this.options.enableLongTask&&ar("longtask",(t=>{for(const e of t){const t=An();if(!t)return;const n=mr(V.Z1+e.startTime),r=mr(e.duration);t.startChild({description:"Main UI thread blocked",op:"ui.long-task",startTimestamp:n,endTimestamp:n+r})}})),this.options._experiments.enableInteractions&&ar("event",(t=>{for(const e of t){const t=An();if(!t)return;if("click"===e.name){const n=mr(V.Z1+e.startTime),r=mr(e.duration);t.startChild({description:w(e.target),op:"ui.interaction.".concat(e.name),startTimestamp:n,endTimestamp:n+r})}}}),{durationThreshold:0})}setupOnce(t,e){this._getCurrentHub=e;const{routingInstrumentation:n,startTransactionOnLocationChange:r,startTransactionOnPageLoad:o,markBackgroundTransactions:i,traceFetch:a,traceXHR:s,tracePropagationTargets:u,shouldCreateSpanForRequest:l,_experiments:p}=this.options;n((t=>{const n=this._createRouteTransaction(t);return this.options._experiments.onStartRouteTransaction&&this.options._experiments.onStartRouteTransaction(n,t,e),n}),o,r),i&&(er&&er.document?er.document.addEventListener("visibilitychange",(()=>{const t=An();if(er.document.hidden&&t){const e="cancelled";("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Transaction: ".concat(e," -> since tab moved to the background, op: ").concat(t.op)),t.status||t.setStatus(e),t.setTag("visibilitychange","document.hidden"),t.finish()}})):("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("[Tracing] Could not set up background tab detection due to lack of global document")),p.enableInteractions&&this._registerInteractionListener(),kr({traceFetch:a,traceXHR:s,tracePropagationTargets:u,shouldCreateSpanForRequest:l})}_createRouteTransaction(t){if(!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("[Tracing] Did not create ".concat(t.op," transaction because _getCurrentHub is invalid.")));const{beforeNavigate:e,idleTimeout:n,finalTimeout:r,heartbeatInterval:o}=this.options,i="pageload"===t.op,a=i?Cr("sentry-trace"):null,s=i?Cr("baggage"):null,u=a?function(t){const e=t.match(Qn);if(!t||!e)return;let n;return"1"===e[3]?n=!0:"0"===e[3]&&(n=!1),{traceId:e[1],parentSampled:n,parentSpanId:e[2]}}(a):void 0,l=s?function(t){if(!f(t)&&!Array.isArray(t))return;let e={};if(Array.isArray(t))e=t.reduce(((t,e)=>({...t,...tr(e)})),{});else{if(!t)return;e=tr(t)}const n=Object.entries(e).reduce(((t,e)=>{let[n,r]=e;return n.match(Vn)&&(t[n.slice(Kn.length)]=r),t}),{});return Object.keys(n).length>0?n:void 0}(s):void 0,p={...t,...u,metadata:{...t.metadata,dynamicSamplingContext:u&&!l?{}:l},trimEnd:!0},d="function"==typeof e?e(p):p,h=void 0===d?{...p,sampled:!1}:d;h.metadata=h.name!==p.name?{...h.metadata,source:"custom"}:h.metadata,this._latestRouteName=h.name,this._latestRouteSource=h.metadata&&h.metadata.source,!1===h.sampled&&("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Will not send ".concat(h.op," transaction because of beforeNavigate.")),("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.log("[Tracing] Starting ".concat(h.op," transaction on scope"));const _=this._getCurrentHub(),{location:m}=er,g=zn(_,h,n,r,!0,{location:m},o);return g.registerBeforeFinishCallback((t=>{this._collectWebVitals(),wr(t)})),g}_registerInteractionListener(){let t;const e=()=>{const{idleTimeout:e,finalTimeout:n,heartbeatInterval:r}=this.options,o="ui.action.click",i=An();if(i&&i.op&&["navigation","pageload"].includes(i.op))return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("[Tracing] Did not create ".concat(o," transaction because a pageload or navigation transaction is in progress.")));if(t&&(t.setFinishReason("interactionInterrupted"),t.finish(),t=void 0),!this._getCurrentHub)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("[Tracing] Did not create ".concat(o," transaction because _getCurrentHub is invalid.")));if(!this._latestRouteName)return void(("undefined"==typeof __SENTRY_DEBUG__||__SENTRY_DEBUG__)&&c.warn("[Tracing] Did not create ".concat(o," transaction because _latestRouteName is missing.")));const a=this._getCurrentHub(),{location:s}=er,u={name:this._latestRouteName,op:o,trimEnd:!0,metadata:{source:this._latestRouteSource||"url"}};t=zn(a,u,e,n,!0,{location:s},r)};["click"].forEach((t=>{addEventListener(t,e,{once:!1,capture:!0})}))}}function Cr(t){const e=(n="meta[name=".concat(t,"]"),b.document&&b.document.querySelector?b.document.querySelector(n):null);var n;return e?e.getAttribute("content"):null}function Pr(t){const e=On(t);return void 0===t.integrations?Or([],e):Array.isArray(t.integrations)?Or(t.integrations,e):function(t,e){const n=n=>Or(t(n),e);return n}(t.integrations,e)}function Or(t,e){return e&&!t.some((t=>t.name===Nr.name))&&t.push(new Nr),t}function Ur(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.gatsby",packages:[{name:"npm:@sentry/gatsby",version:r}],version:r};const e=Pr(t);!function(t){t._metadata=t._metadata||{},t._metadata.sdk=t._metadata.sdk||{name:"sentry.javascript.react",packages:[{name:"npm:@sentry/react",version:r}],version:r},Cn(t)}({...t,integrations:e})}function Ir(t,e){const n=!!(window&&window.__SENTRY__&&window.__SENTRY__.hub&&window.__SENTRY__.hub.getClient()),r=function(t){if(null==t)return!1;if(1==Object.keys(t).length&&Array.isArray(t.plugins)&&0==t.plugins.length)return!1;return!0}(e);n?r&&console.warn("Sentry Logger [Warn]: The SDK was initialized in the Sentry config file, but options were found in the Gatsby config. These have been ignored. Merge them to the Sentry config if you want to use them.\nLearn more about the Gatsby SDK in https://docs.sentry.io/platforms/javascript/guides/gatsby/."):r?Ur({dsn:"",...e}):console.error("Sentry Logger [Error]: No config for the Gatsby SDK was found.\nLearn how to configure it in https://docs.sentry.io/platforms/javascript/guides/gatsby/.")}},4219:function(t,e,n){"use strict";n.d(e,{ZP:function(){return b},c4:function(){return S},cP:function(){return u},mc:function(){return g},dq:function(){return h}});var r=n(1721),o=n(5697),i=n.n(o),a=n(7294),s=n(9499);n(8440);function c(){return c=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},c.apply(this,arguments)}function u(t){let e=t||"/",n="",r="";const o=e.indexOf("#");-1!==o&&(r=e.slice(o),e=e.slice(0,o));const i=e.indexOf("?");return-1!==i&&(n=e.slice(i),e=e.slice(0,i)),{pathname:e,search:"?"===n?"":n,hash:"#"===r?"":r}}const l=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,p=t=>{if("string"==typeof t)return!(t=>l.test(t))(t)},d=()=>"";function h(t,e){var n;if(void 0===e&&(e=""),!p(t))return t;if(t.startsWith("./")||t.startsWith("../"))return t;const r=null!=(n=null!=e?e:d())?n:"/";return""+(null!=r&&r.endsWith("/")?r.slice(0,-1):r)+(t.startsWith("/")?t:"/"+t)}const f=t=>null==t?void 0:t.startsWith("/"),_=(t,e)=>"number"==typeof t?t:p(t)?f(t)?function(t){const e=h(t);return e}(t):function(t,e){if(f(t))return t;const n=(0,s.resolve)(t,e);return n}(t,e):t,m=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function g(t){return h(t,d())}const v={activeClassName:i().string,activeStyle:i().object,partiallyActive:i().bool};function y(t){return a.createElement(s.Location,null,(e=>{let{location:n}=e;return a.createElement(E,c({},t,{_location:n}))}))}let E=function(t){function e(e){var n;(n=t.call(this,e)||this).defaultGetProps=t=>{let{isPartiallyCurrent:e,isCurrent:r}=t;return(n.props.partiallyActive?e:r)?{className:[n.props.className,n.props.activeClassName].filter(Boolean).join(" "),style:c({},n.props.style,n.props.activeStyle)}:null};let r=!1;return"undefined"!=typeof window&&window.IntersectionObserver&&(r=!0),n.state={IOSupported:r},n.abortPrefetch=null,n.handleRef=n.handleRef.bind(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(n)),n}(0,r.Z)(e,t);var n=e.prototype;return n._prefetch=function(){let t=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(t=this.props._location.pathname+this.props._location.search);const e=u(_(this.props.to,t)),n=e.pathname+e.search;if(t!==n)return ___loader.enqueue(n)},n.componentWillUnmount=function(){if(!this.io)return;const{instance:t,el:e}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),t.unobserve(e),t.disconnect()},n.handleRef=function(t){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=t:this.props.innerRef&&this.props.innerRef(t),this.state.IOSupported&&t&&(this.io=((t,e)=>{const n=new window.IntersectionObserver((n=>{n.forEach((n=>{t===n.target&&e(n.isIntersecting||n.intersectionRatio>0)}))}));return n.observe(t),{instance:n,el:t}})(t,(t=>{t?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()})))},n.render=function(){const t=this.props,{to:e,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:o,state:i,replace:l,_location:d}=t,h=function(t,e){if(null==t)return{};var n,r,o={},i=Object.keys(t);for(r=0;r<i.length;r++)e.indexOf(n=i[r])>=0||(o[n]=t[n]);return o}(t,m),f=_(e,d.pathname);return p(f)?a.createElement(s.Link,c({to:f,state:i,getProps:n,innerRef:this.handleRef,onMouseEnter:t=>{o&&o(t);const e=u(f);___loader.hovering(e.pathname+e.search)},onClick:t=>{if(r&&r(t),!(0!==t.button||this.props.target||t.defaultPrevented||t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)){t.preventDefault();let e=l;const n=encodeURI(f)===d.pathname;"boolean"!=typeof l&&n&&(e=!0),window.___navigate(f,{state:i,replace:e})}return!0}},h)):a.createElement("a",c({href:f},h))},e}(a.Component);E.propTypes=c({},v,{onClick:i().func,to:i().string.isRequired,replace:i().bool,state:i().object});var b=a.forwardRef(((t,e)=>a.createElement(y,c({innerRef:e},t))));const S=(t,e)=>{window.___navigate(_(t,window.location.pathname),e)}},436:function(t,e,n){"use strict";n.r(e),n.d(e,{onClientEntry:function(){return c}});var r=n(1082),o=n(4564),i=n.n(o);const a=t=>"/"===t[0]?t:"/"+t,s=(t,e)=>n=>{if(window.___failedResources)return!0;if((t=>0!==t.button||t.altKey||t.ctrlKey||t.metaKey||t.shiftKey)(n))return!0;if((t=>t.defaultPrevented)(n))return!0;const o=(t=>{for(;t.parentNode;t=t.parentNode)if("a"===t.nodeName.toLowerCase())return t;return null})(n.target);if(null==o)return!0;if(!0===(s=o).hasAttribute("download")||!1===(t=>!1===t.hasAttribute("target")||null==t.target||["_self",""].includes(t.target)||"_parent"===t.target&&(!t.ownerDocument.defaultView.parent||t.ownerDocument.defaultView.parent===t.ownerDocument.defaultView)||"_top"===t.target&&(!t.ownerDocument.defaultView.top||t.ownerDocument.defaultView.top===t.ownerDocument.defaultView))(s))return!0;var s;const c=document.createElement("a");""!==o.href&&(c.href=o.href),"SVGAnimatedString"in window&&o.href instanceof SVGAnimatedString&&(c.href=o.href.animVal);const u=document.createElement("a");if(u.href=window.location.href,!1===((t,e)=>t.protocol===e.protocol&&t.host===e.host)(u,c))return!0;const l=new RegExp("^"+i()((0,r.withPrefix)("/")));if(((t,e)=>!1===e.test(a(t.pathname))||-1!==t.pathname.search(/^.*\.((?!htm)[a-z0-9]{1,5})$/i))(c,l))return!0;if(((t,e)=>""!==e.hash&&(""===e.pathname||e.pathname===t.pathname))(u,c))return!0;if(e.excludePattern){if(new RegExp(e.excludePattern).test(c.pathname))return!0}n.preventDefault();const p=a(c.pathname).replace(l,"/");return t(""+p+c.search+c.hash),!1};const c=function(t,e){void 0===e&&(e={}),function(t,e,n){const r=s(n,e);t.addEventListener("click",r)}(window,e,(t=>{(0,r.navigate)(t)}))}},6052:function(t,e){"use strict";e.onRouteUpdate=function(t){var e=t.location;if("function"!=typeof gtag)return null;if(e&&void 0!==window.excludeGtagPaths&&window.excludeGtagPaths.some((function(t){return t.test(e.pathname)})))return null;var n=function(){var t=e?e.pathname+e.search+e.hash:void 0;window.gtag("event","page_view",{page_path:t})};return"requestAnimationFrame"in window?requestAnimationFrame((function(){requestAnimationFrame(n)})):setTimeout(n,32),null}},9608:function(t,e,n){"use strict";n.r(e),n.d(e,{onRouteUpdate:function(){return r}});n(1082),n(292);const r=function(t,e){let{location:n}=t}},292:function(t,e,n){"use strict";var r=n(1082)},9684:function(t,e){"use strict";e.registerServiceWorker=function(){return"true"!=={}.GATSBY_IS_PREVIEW};var n=/^(stylesheet|preload)$/,r=[];function o(t,e){if(!window.___swUpdated&&"serviceWorker"in navigator){var n=navigator.serviceWorker;if(null===n.controller)r.push(t);else{var o=e(t);n.controller.postMessage({gatsbyApi:"setPathResources",path:t,resources:o})}}}e.onServiceWorkerActive=function(t){var e=t.getResourceURLsForPathname,o=t.serviceWorker;if("true"!=={}.GATSBY_IS_PREVIEW)if(window.___swUpdated)o.active.postMessage({gatsbyApi:"clearPathResources"});else{var i=document.querySelectorAll("\n head > script[src],\n head > link[href],\n head > style[data-href]\n "),a=[].slice.call(i).filter((function(t){return"LINK"!==t.tagName||n.test(t.getAttribute("rel"))})).map((function(t){return t.src||t.href||t.getAttribute("data-href")})),s=[];r.forEach((function(t){var n=e(t);s.push.apply(s,n),o.active.postMessage({gatsbyApi:"setPathResources",path:t,resources:n})})),[].concat(a,s).forEach((function(t){var e=document.createElement("link");e.rel="prefetch",e.href=t,e.onload=e.remove,e.onerror=e.remove,document.head.appendChild(e)}))}},e.onRouteUpdate=function(t){var e=t.location,n=t.getResourceURLsForPathname;o(e.pathname.replace("",""),n),"serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"enableOfflineShell"})},e.onPostPrefetchPathname=function(t){o(t.pathname,t.getResourceURLsForPathname)}},9650:function(t,e){"use strict";var n=0,r=function(t){var e=window.decodeURI(t.replace("#",""));if(""!==e){var r=document.getElementById(e);if(r){var o=window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop,i=document.documentElement.clientTop||document.body.clientTop||0,a=window.getComputedStyle(r),s=a.getPropertyValue("scroll-margin-top")||a.getPropertyValue("scroll-snap-margin-top")||"0px";return r.getBoundingClientRect().top+o-parseInt(s,10)-i-n}}return null};e.onInitialClientRender=function(t,e){e.offsetY&&(n=e.offsetY),requestAnimationFrame((function(){var t=r(window.location.hash);null!==t&&window.scrollTo(0,t)}))},e.shouldUpdateScroll=function(t){var e=t.routerProps.location,n=r(e.hash);return null===n||[0,n]}},855:function(t,e){"use strict";e.DEFAULT_OPTIONS={maxWidth:650,wrapperStyle:"",backgroundColor:"white",linkImagesToOriginal:!0,showCaptions:!1,markdownCaptions:!1,withWebp:!1,withAvif:!1,tracedSVG:!1,loading:"lazy",decoding:"async",disableBgImageOnAlpha:!1,disableBgImage:!1},e.EMPTY_ALT="GATSBY_EMPTY_ALT",e.imageClass="gatsby-resp-image-image",e.imageWrapperClass="gatsby-resp-image-wrapper",e.imageBackgroundClass="gatsby-resp-image-background-image"},2154:function(t,e,n){"use strict";var r=n(855),o=r.DEFAULT_OPTIONS,i=r.imageClass,a=r.imageBackgroundClass,s=r.imageWrapperClass;e.onRouteUpdate=function(t,e){for(var n=Object.assign({},o,e),r=document.querySelectorAll("."+s),c=function(t){var e=r[t],o=e.querySelector("."+a),s=e.querySelector("."+i),c=function(){o.style.transition="opacity 0.5s 0.5s",s.style.transition="opacity 0.5s",u()},u=function t(){o.style.opacity=0,s.style.opacity=1,s.style.color="inherit",s.style.boxShadow="inset 0px 0px 0px 400px "+n.backgroundColor,s.removeEventListener("load",c),s.removeEventListener("error",t)};s.style.opacity=0,s.addEventListener("load",c),s.addEventListener("error",u),s.complete&&u()},u=0;u<r.length;u++)c(u)}},7848:function(t,e,n){"use strict";n.r(e),n.d(e,{wrapRootElement:function(){return i}});var r=n(7294),o=n(80);const i=t=>{let{element:e}=t;return r.createElement(o.cQ,null,e)}},9499:function(t,e,n){"use strict";n.r(e),n.d(e,{BaseContext:function(){return Y},Link:function(){return J},Location:function(){return I},LocationProvider:function(){return j},Match:function(){return X},Redirect:function(){return $},Router:function(){return G},ServerLocation:function(){return B},createHistory:function(){return S},createMemorySource:function(){return w},globalHistory:function(){return R},isRedirect:function(){return Z},matchPath:function(){return u},navigate:function(){return x},redirectTo:function(){return K},resolve:function(){return l},useLocation:function(){return tt},useMatch:function(){return rt},useNavigate:function(){return et},useParams:function(){return nt}});var r=n(7294),o=n(1143),i=n.n(o),a=n(9712),s=function(t,e){return t.substr(0,e.length)===e},c=function(t,e){for(var n=void 0,r=void 0,o=e.split("?")[0],a=g(o),s=""===a[0],c=m(t),u=0,l=c.length;u<l;u++){var p=!1,h=c[u].route;if(h.default)r={route:h,params:{},uri:e};else{for(var _=g(h.path),v={},E=Math.max(a.length,_.length),b=0;b<E;b++){var S=_[b],w=a[b];if(f(S)){v[S.slice(1)||"*"]=a.slice(b).map(decodeURIComponent).join("/");break}if(void 0===w){p=!0;break}var T=d.exec(S);if(T&&!s){-1===y.indexOf(T[1])||i()(!1);var R=decodeURIComponent(w);v[T[1]]=R}else if(S!==w){p=!0;break}}if(!p){n={route:h,params:v,uri:"/"+a.slice(0,b).join("/")};break}}}return n||r||null},u=function(t,e){return c([{path:t}],e)},l=function(t,e){if(s(t,"/"))return t;var n=t.split("?"),r=n[0],o=n[1],i=e.split("?")[0],a=g(r),c=g(i);if(""===a[0])return v(i,o);if(!s(a[0],".")){var u=c.concat(a).join("/");return v(("/"===i?"":"/")+u,o)}for(var l=c.concat(a),p=[],d=0,h=l.length;d<h;d++){var f=l[d];".."===f?p.pop():"."!==f&&p.push(f)}return v("/"+p.join("/"),o)},p=function(t,e){var n=t.split("?"),r=n[0],o=n[1],i=void 0===o?"":o,a="/"+g(r).map((function(t){var n=d.exec(t);return n?e[n[1]]:t})).join("/"),s=e.location,c=(s=void 0===s?{}:s).search,u=(void 0===c?"":c).split("?")[1]||"";return a=v(a,i,u)},d=/^:(.+)/,h=function(t){return d.test(t)},f=function(t){return t&&"*"===t[0]},_=function(t,e){return{route:t,score:t.default?0:g(t.path).reduce((function(t,e){return t+=4,!function(t){return""===t}(e)?h(e)?t+=2:f(e)?t-=5:t+=3:t+=1,t}),0),index:e}},m=function(t){return t.map(_).sort((function(t,e){return t.score<e.score?1:t.score>e.score?-1:t.index-e.index}))},g=function(t){return t.replace(/(^\/+|\/+$)/g,"").split("/")},v=function(t){for(var e=arguments.length,n=Array(e>1?e-1:0),r=1;r<e;r++)n[r-1]=arguments[r];return t+((n=n.filter((function(t){return t&&t.length>0})))&&n.length>0?"?"+n.join("&"):"")},y=["uri","path"],E=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},b=function(t){var e=t.location,n=e.search,r=e.hash,o=e.href,i=e.origin,a=e.protocol,s=e.host,c=e.hostname,u=e.port,l=t.location.pathname;!l&&o&&T&&(l=new URL(o).pathname);return{pathname:encodeURI(decodeURI(l)),search:n,hash:r,href:o,origin:i,protocol:a,host:s,hostname:c,port:u,state:t.history.state,key:t.history.state&&t.history.state.key||"initial"}},S=function(t,e){var n=[],r=b(t),o=!1,i=function(){};return{get location(){return r},get transitioning(){return o},_onTransitionComplete:function(){o=!1,i()},listen:function(e){n.push(e);var o=function(){r=b(t),e({location:r,action:"POP"})};return t.addEventListener("popstate",o),function(){t.removeEventListener("popstate",o),n=n.filter((function(t){return t!==e}))}},navigate:function(e){var a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=a.state,c=a.replace,u=void 0!==c&&c;if("number"==typeof e)t.history.go(e);else{s=E({},s,{key:Date.now()+""});try{o||u?t.history.replaceState(s,null,e):t.history.pushState(s,null,e)}catch(p){t.location[u?"replace":"assign"](e)}}r=b(t),o=!0;var l=new Promise((function(t){return i=t}));return n.forEach((function(t){return t({location:r,action:"PUSH"})})),l}}},w=function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"/",e=t.indexOf("?"),n={pathname:e>-1?t.substr(0,e):t,search:e>-1?t.substr(e):""},r=0,o=[n],i=[null];return{get location(){return o[r]},addEventListener:function(t,e){},removeEventListener:function(t,e){},history:{get entries(){return o},get index(){return r},get state(){return i[r]},pushState:function(t,e,n){var a=n.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;r++,o.push({pathname:s,search:u.length?"?"+u:u}),i.push(t)},replaceState:function(t,e,n){var a=n.split("?"),s=a[0],c=a[1],u=void 0===c?"":c;o[r]={pathname:s,search:u},i[r]=t},go:function(t){var e=r+t;e<0||e>i.length-1||(r=e)}}}},T=!("undefined"==typeof window||!window.document||!window.document.createElement),R=S(T?window:w()),x=R.navigate,k=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t};function D(t,e){var n={};for(var r in t)e.indexOf(r)>=0||Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n}function N(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function P(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}var O=function(t,e){var n=(0,r.createContext)(e);return n.displayName=t,n},U=O("Location"),I=function(t){var e=t.children;return r.createElement(U.Consumer,null,(function(t){return t?e(t):r.createElement(j,null,e)}))},j=function(t){function e(){var n,r;N(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=C(this,t.call.apply(t,[this].concat(i))),r.state={context:r.getContext(),refs:{unlisten:null}},C(r,n)}return P(e,t),e.prototype.getContext=function(){var t=this.props.history;return{navigate:t.navigate,location:t.location}},e.prototype.componentDidCatch=function(t,e){if(!Z(t))throw t;(0,this.props.history.navigate)(t.uri,{replace:!0})},e.prototype.componentDidUpdate=function(t,e){e.context.location!==this.state.context.location&&this.props.history._onTransitionComplete()},e.prototype.componentDidMount=function(){var t=this,e=this.state.refs,n=this.props.history;n._onTransitionComplete(),e.unlisten=n.listen((function(){Promise.resolve().then((function(){requestAnimationFrame((function(){t.unmounted||t.setState((function(){return{context:t.getContext()}}))}))}))}))},e.prototype.componentWillUnmount=function(){var t=this.state.refs;this.unmounted=!0,t.unlisten()},e.prototype.render=function(){var t=this.state.context,e=this.props.children;return r.createElement(U.Provider,{value:t},"function"==typeof e?e(t):e||null)},e}(r.Component);j.defaultProps={history:R};var B=function(t){var e=t.url,n=t.children,o=e.indexOf("?"),i=void 0,a="";return o>-1?(i=e.substring(0,o),a=e.substring(o)):i=e,r.createElement(U.Provider,{value:{location:{pathname:i,search:a,hash:""},navigate:function(){throw new Error("You can't call navigate on the server.")}}},n)},Y=O("Base",{baseuri:"/",basepath:"/",navigate:R.navigate}),G=function(t){return r.createElement(Y.Consumer,null,(function(e){return r.createElement(I,null,(function(n){return r.createElement(L,k({},e,n,t))}))}))},L=function(t){function e(){return N(this,e),C(this,t.apply(this,arguments))}return P(e,t),e.prototype.render=function(){var t=this.props,e=t.location,n=t.navigate,o=t.basepath,i=t.primary,a=t.children,s=(t.baseuri,t.component),u=void 0===s?"div":s,p=D(t,["location","navigate","basepath","primary","children","baseuri","component"]),d=r.Children.toArray(a).reduce((function(t,e){var n=it(o)(e);return t.concat(n)}),[]),h=e.pathname,f=c(d,h);if(f){var _=f.params,m=f.uri,g=f.route,v=f.route.value;o=g.default?o:g.path.replace(/\*$/,"");var y=k({},_,{uri:m,location:e,navigate:function(t,e){return n(l(t,m),e)}}),E=r.cloneElement(v,y,v.props.children?r.createElement(G,{location:e,primary:i},v.props.children):void 0),b=i?M:u,S=i?k({uri:m,location:e,component:u},p):p;return r.createElement(Y.Provider,{value:{baseuri:m,basepath:o,navigate:y.navigate}},r.createElement(b,S,E))}return null},e}(r.PureComponent);L.defaultProps={primary:!0};var A=O("Focus"),M=function(t){var e=t.uri,n=t.location,o=t.component,i=D(t,["uri","location","component"]);return r.createElement(A.Consumer,null,(function(t){return r.createElement(F,k({},i,{component:o,requestFocus:t,uri:e,location:n}))}))},H=!0,q=0,F=function(t){function e(){var n,r;N(this,e);for(var o=arguments.length,i=Array(o),a=0;a<o;a++)i[a]=arguments[a];return n=r=C(this,t.call.apply(t,[this].concat(i))),r.state={},r.requestFocus=function(t){!r.state.shouldFocus&&t&&t.focus()},C(r,n)}return P(e,t),e.getDerivedStateFromProps=function(t,e){if(null==e.uri)return k({shouldFocus:!0},t);var n=t.uri!==e.uri,r=e.location.pathname!==t.location.pathname&&t.location.pathname===t.uri;return k({shouldFocus:n||r},t)},e.prototype.componentDidMount=function(){q++,this.focus()},e.prototype.componentWillUnmount=function(){0===--q&&(H=!0)},e.prototype.componentDidUpdate=function(t,e){t.location!==this.props.location&&this.state.shouldFocus&&this.focus()},e.prototype.focus=function(){var t=this.props.requestFocus;t?t(this.node):H?H=!1:this.node&&(this.node.contains(document.activeElement)||this.node.focus())},e.prototype.render=function(){var t=this,e=this.props,n=(e.children,e.style),o=(e.requestFocus,e.component),i=void 0===o?"div":o,a=(e.uri,e.location,D(e,["children","style","requestFocus","component","uri","location"]));return r.createElement(i,k({style:k({outline:"none"},n),tabIndex:"-1",ref:function(e){return t.node=e}},a),r.createElement(A.Provider,{value:this.requestFocus},this.props.children))},e}(r.Component);(0,a.O)(F);var W=function(){},z=r.forwardRef;void 0===z&&(z=function(t){return t});var J=z((function(t,e){var n=t.innerRef,o=D(t,["innerRef"]);return r.createElement(Y.Consumer,null,(function(t){t.basepath;var i=t.baseuri;return r.createElement(I,null,(function(t){var a=t.location,c=t.navigate,u=o.to,p=o.state,d=o.replace,h=o.getProps,f=void 0===h?W:h,_=D(o,["to","state","replace","getProps"]),m=l(u,i),g=encodeURI(m),v=a.pathname===g,y=s(a.pathname,g);return r.createElement("a",k({ref:e||n,"aria-current":v?"page":void 0},_,f({isCurrent:v,isPartiallyCurrent:y,href:m,location:a}),{href:m,onClick:function(t){if(_.onClick&&_.onClick(t),at(t)){t.preventDefault();var e=d;if("boolean"!=typeof d&&v){var n=k({},a.state),r=(n.key,D(n,["key"]));o=k({},p),i=r,e=(s=Object.keys(o)).length===Object.keys(i).length&&s.every((function(t){return i.hasOwnProperty(t)&&o[t]===i[t]}))}c(m,{state:p,replace:e})}var o,i,s}}))}))}))}));function Q(t){this.uri=t}J.displayName="Link";var Z=function(t){return t instanceof Q},K=function(t){throw new Q(t)},V=function(t){function e(){return N(this,e),C(this,t.apply(this,arguments))}return P(e,t),e.prototype.componentDidMount=function(){var t=this.props,e=t.navigate,n=t.to,r=(t.from,t.replace),o=void 0===r||r,i=t.state,a=(t.noThrow,t.baseuri),s=D(t,["navigate","to","from","replace","state","noThrow","baseuri"]);Promise.resolve().then((function(){var t=l(n,a);e(p(t,s),{replace:o,state:i})}))},e.prototype.render=function(){var t=this.props,e=(t.navigate,t.to),n=(t.from,t.replace,t.state,t.noThrow),r=t.baseuri,o=D(t,["navigate","to","from","replace","state","noThrow","baseuri"]),i=l(e,r);return n||K(p(i,o)),null},e}(r.Component),$=function(t){return r.createElement(Y.Consumer,null,(function(e){var n=e.baseuri;return r.createElement(I,null,(function(e){return r.createElement(V,k({},e,{baseuri:n},t))}))}))},X=function(t){var e=t.path,n=t.children;return r.createElement(Y.Consumer,null,(function(t){var o=t.baseuri;return r.createElement(I,null,(function(t){var r=t.navigate,i=t.location,a=l(e,o),s=u(a,i.pathname);return n({navigate:r,location:i,match:s?k({},s.params,{uri:s.uri,path:e}):null})}))}))},tt=function(){var t=(0,r.useContext)(U);if(!t)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.location},et=function(){var t=(0,r.useContext)(Y);if(!t)throw new Error("useNavigate hook was used but a BaseContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return t.navigate},nt=function(){var t=(0,r.useContext)(Y);if(!t)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var e=tt(),n=u(t.basepath,e.pathname);return n?n.params:null},rt=function(t){if(!t)throw new Error("useMatch(path: string) requires an argument of a string to match against");var e=(0,r.useContext)(Y);if(!e)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");var n=tt(),o=l(t,e.baseuri),i=u(o,n.pathname);return i?k({},i.params,{uri:i.uri,path:t}):null},ot=function(t){return t.replace(/(^\/+|\/+$)/g,"")},it=function t(e){return function(n){if(!n)return null;if(n.type===r.Fragment&&n.props.children)return r.Children.map(n.props.children,t(e));var o,a,s;if(n.props.path||n.props.default||n.type===$||i()(!1),n.type!==$||n.props.from&&n.props.to||i()(!1),n.type===$&&(o=n.props.from,a=n.props.to,s=function(t){return h(t)},g(o).filter(s).sort().join("/")!==g(a).filter(s).sort().join("/"))&&i()(!1),n.props.default)return{value:n,default:!0};var c=n.type===$?n.props.from:n.props.path,u="/"===c?e:ot(e)+"/"+ot(c);return{value:n,default:n.props.default,path:n.props.children?ot(u)+"/*":u}}},at=function(t){return!t.defaultPrevented&&0===t.button&&!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)}},1143:function(t){"use strict";t.exports=function(t,e,n,r,o,i,a,s){if(!t){var c;if(void 0===e)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[n,r,o,i,a,s],l=0;(c=new Error(e.replace(/%s/g,(function(){return u[l++]})))).name="Invariant Violation"}throw c.framesToPop=1,c}}},6115:function(t){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t},t.exports.__esModule=!0,t.exports.default=t.exports},7867:function(t,e,n){var r=n(6015);t.exports=function(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)},t.exports.__esModule=!0,t.exports.default=t.exports},4836:function(t){t.exports=function(t){return t&&t.__esModule?t:{default:t}},t.exports.__esModule=!0,t.exports.default=t.exports},6015:function(t){function e(n,r){return t.exports=e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},t.exports.__esModule=!0,t.exports.default=t.exports,e(n,r)}t.exports=e,t.exports.__esModule=!0,t.exports.default=t.exports},2911:function(t,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0});e.SCRIPT_TYPE="text/partytown",e.partytownSnippet=t=>((t,e)=>{const{forward:n=[],...r}=t||{},o=JSON.stringify(r,((t,e)=>("function"==typeof e&&(e=String(e)).startsWith(t+"(")&&(e="function "+e),e)));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",e].join("")})(t,'/* Partytown 0.5.4 - 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(w,1e4),e.addEventListener("pt0",f),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):w())))}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.5.4":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function w(t,n){for(f(),t=0;t<s.length;t++)(n=e.createElement("script")).innerHTML=s[t].innerHTML,e.head.appendChild(n);c&&c.parentNode.removeChild(c)}function f(){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);')},1721:function(t,e,n){"use strict";function r(t,e){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(t,e){return t.__proto__=e,t},r(t,e)}function o(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,r(t,e)}n.d(e,{Z:function(){return o}})},3521:function(t,e,n){"use strict";n.r(e),n.d(e,{Script:function(){return f},ScriptStrategy:function(){return u},collectedScriptsByPage:function(){return s},scriptCache:function(){return d},scriptCallbackCache:function(){return h}});var r=n(7294),o=n(9499);function i(){return i=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(t[r]=n[r])}return t},i.apply(this,arguments)}const a=new Map,s={get:t=>a.get(t)||[],set(t,e){const n=a.get(t)||[];n.push(e),a.set(t,n)},delete(t){a.delete(t)}},c="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(t){const e=Date.now();return setTimeout((function(){t({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-e))}})}),1)};var u,l;(l=u||(u={})).postHydrate="post-hydrate",l.idle="idle",l.offMainThread="off-main-thread";const p=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),d=new Set,h=new Map;function f(t){return r.createElement(o.Location,null,(()=>r.createElement(_,t)))}function _(t){const{src:e,strategy:n=u.postHydrate}=t||{},{pathname:a}=(0,o.useLocation)();if((0,r.useEffect)((()=>{let e;switch(n){case u.postHydrate:e=m(t);break;case u.idle:c((()=>{e=m(t)}));break;case u.offMainThread:{const e=v(t);s.set(a,e)}}return()=>{const{script:t,loadCallback:n,errorCallback:r}=e||{};n&&(null==t||t.removeEventListener("load",n)),r&&(null==t||t.removeEventListener("error",r)),null==t||t.remove()}}),[]),n===u.offMainThread){const o=g(t),c=v(t);return"undefined"==typeof window&&s.set(a,c),r.createElement("script",o?i({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},c,{dangerouslySetInnerHTML:{__html:g(t)}}):i({type:"text/partytown",src:y(e),"data-strategy":n,crossOrigin:"anonymous"},c))}return null}function m(t){const{id:e,src:n,strategy:r=u.postHydrate,onLoad:o,onError:a}=t||{},s=e||n,c=["load","error"],l={load:o,error:a};if(s){for(const t of c)if(null!=l&&l[t]){var p;const e=h.get(s)||{},{callbacks:n=[]}=(null==e?void 0:e[t])||{};var f,_;n.push(null==l?void 0:l[t]),null!=e&&null!=(p=e[t])&&p.event?null==l||null==(f=l[t])||f.call(l,null==e||null==(_=e[t])?void 0:_.event):h.set(s,i({},e,{[t]:{callbacks:n}}))}if(d.has(s))return null}const m=g(t),y=v(t),b=document.createElement("script");e&&(b.id=e),b.dataset.strategy=r;for(const[i,u]of Object.entries(y))b.setAttribute(i,u);m&&(b.textContent=m),n&&(b.src=n);const S={};if(s){for(const t of c){const e=e=>E(e,s,t);b.addEventListener(t,e),S[`${t}Callback`]=e}d.add(s)}return document.body.appendChild(b),{script:b,loadCallback:S.loadCallback,errorCallback:S.errorCallback}}function g(t){const{dangerouslySetInnerHTML:e,children:n=""}=t||{},{__html:r=""}=e||{};return r||n}function v(t){const e={};for(const[n,r]of Object.entries(t))p.has(n)||(e[n]=r);return e}function y(t){if(t)return`/__third-party-proxy?url=${encodeURIComponent(t)}`}function E(t,e,n){const r=h.get(e)||{};for(const i of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;i(t)}h.set(e,{[n]:{event:t}})}}},function(t){var e=function(e){return t(t.s=e)};t.O(0,[774,532],(function(){return e(3534),e(5824)}));t.O()}]);
//# sourceMappingURL=app-98b38873eeeda1b0a46a.js.map