-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathapp-b4290e50a62a3e03e4ab.js
More file actions
3 lines (3 loc) · 208 KB
/
app-b4290e50a62a3e03e4ab.js
File metadata and controls
3 lines (3 loc) · 208 KB
1
2
3
/*! For license information please see app-b4290e50a62a3e03e4ab.js.LICENSE.txt */
(self.webpackChunk=self.webpackChunk||[]).push([[524],{20:function(e,t,n){const r=n(9377),{getResourceURLsForPathname:o,loadPage:s,loadPageSync:i}=n(6814).Zf;t.N=function(e,t,n,a){void 0===t&&(t={});let l=r.map(n=>{if(!n.plugin[e])return;t.getResourceURLsForPathname=o,t.loadPage=s,t.loadPageSync=i;const r=n.plugin[e](t,n.options);return r&&a&&(t=a({args:t,result:r,plugin:n})),r});return l=l.filter(e=>void 0!==e),l.length>0?l:n?[n]:[]},t.v=(e,t,n)=>r.reduce((n,r)=>r.plugin[e]?n.then(()=>r.plugin[e](t,r.options)):n,Promise.resolve())},207:function(e,t,n){"use strict";var r=n(6540),o={stream:!0},s=new Map,i=Symbol.for("react.element"),a=Symbol.for("react.lazy"),l=Symbol.for("react.default_value"),c=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ContextRegistry;function u(e,t,n){this._status=e,this._value=t,this._response=n}function p(e){switch(e._status){case 3:return e._value;case 1:var t=JSON.parse(e._value,e._response._fromJSON);return e._status=3,e._value=t;case 2:for(var r=(t=e._value).chunks,o=0;o<r.length;o++){var i=s.get(r[o]);if(null!==i)throw i}return r=n(t.id),t="*"===t.name?r:""===t.name?r.__esModule?r.default:r:r[t.name],e._status=3,e._value=t;case 0:throw e;default:throw e._value}}function h(){return p(y(this,0))}function d(e,t){return new u(3,t,e)}function f(e){if(null!==e)for(var t=0;t<e.length;t++)(0,e[t])()}function g(e,t){if(0===e._status){var n=e._value;e._status=4,e._value=t,f(n)}}function m(e,t){e._chunks.forEach(function(e){g(e,t)})}function y(e,t){var n=e._chunks,r=n.get(t);return r||(r=new u(0,null,e),n.set(t,r)),r}function v(e){m(e,Error("Connection closed."))}function b(e,t){if(""!==t){var o=t[0],i=t.indexOf(":",1),a=parseInt(t.substring(1,i),16);switch(i=t.substring(i+1),o){case"J":(o=(t=e._chunks).get(a))?0===o._status&&(e=o._value,o._status=1,o._value=i,f(e)):t.set(a,new u(1,i,e));break;case"M":o=(t=e._chunks).get(a),i=JSON.parse(i,e._fromJSON);var p=e._bundlerConfig;p=(i=p?p[i.id][i.name]:i).chunks;for(var h=0;h<p.length;h++){var m=p[h];if(void 0===s.get(m)){var y=n.e(m),v=s.set.bind(s,m,null),b=s.set.bind(s,m);y.then(v,b),s.set(m,y)}}o?0===o._status&&(e=o._value,o._status=2,o._value=i,f(e)):t.set(a,new u(2,i,e));break;case"P":e._chunks.set(a,d(e,function(e){return c[e]||(c[e]=r.createServerContext(e,l)),c[e]}(i).Provider));break;case"S":o=JSON.parse(i),e._chunks.set(a,d(e,Symbol.for(o)));break;case"E":t=JSON.parse(i),(o=Error(t.message)).stack=t.stack,(i=(t=e._chunks).get(a))?g(i,o):t.set(a,new u(4,o,e));break;default:throw Error("Error parsing the data. It's probably an error code or network corruption.")}}}function w(e){return function(t,n){return"string"==typeof n?function(e,t,n){switch(n[0]){case"$":return"$"===n?i:"$"===n[1]||"@"===n[1]?n.substring(1):p(e=y(e,parseInt(n.substring(1),16)));case"@":return e=y(e,parseInt(n.substring(1),16)),{$$typeof:a,_payload:e,_init:p}}return n}(e,0,n):"object"==typeof n&&null!==n?n[0]===i?{$$typeof:i,type:n[1],key:n[2],ref:null,props:n[3],_owner:null}:n:n}}function S(e){var t=new TextDecoder;return(e={_bundlerConfig:e,_chunks:new Map,readRoot:h,_partialRow:"",_stringDecoder:t})._fromJSON=w(e),e}function x(e,t){function n(t){m(e,t)}var r=t.getReader();r.read().then(function t(s){var i=s.value;if(!s.done){s=i,i=e._stringDecoder;for(var a=s.indexOf(10);-1<a;){var l=e._partialRow,c=s.subarray(0,a);c=i.decode(c),b(e,l+c),e._partialRow="",a=(s=s.subarray(a+1)).indexOf(10)}return e._partialRow+=i.decode(s,o),r.read().then(t,n)}v(e)},n)}u.prototype.then=function(e){0===this._status?(null===this._value&&(this._value=[]),this._value.push(e)):e()},t.createFromReadableStream=function(e,t){return x(t=S(t&&t.moduleMap?t.moduleMap:null),e),t}},311:function(e){"use strict";e.exports=function(e,t,n,r,o,s,i,a){if(!e){var l;if(void 0===t)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var c=[n,r,o,s,i,a],u=0;(l=new Error(t.replace(/%s/g,function(){return c[u++]}))).name="Invariant Violation"}throw l.framesToPop=1,l}}},525:function(e,t,n){"use strict";function r(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}function o(){return"undefined"!=typeof WeakMap?new WeakMap:{add:r,delete:r,get:r,set:r,has:function(e){return!1}}}n.r(t),n.d(t,{outdent:function(){return f}}),e=n.hmd(e);var s=Object.prototype.hasOwnProperty,i=function(e,t){return s.call(e,t)};function a(e,t){for(var n in t)i(t,n)&&(e[n]=t[n]);return e}var l=/^[ \t]*(?:\r\n|\r|\n)/,c=/(?:\r\n|\r|\n)[ \t]*$/,u=/^(?:[\r\n]|$)/,p=/(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/,h=/^[ \t]*[\r\n][ \t\r\n]*$/;function d(e,t,n){var r=0,o=e[0].match(p);o&&(r=o[1].length);var s=new RegExp("(\\r\\n|\\r|\\n).{0,"+r+"}","g");t&&(e=e.slice(1));var i=n.newline,a=n.trimLeadingNewline,u=n.trimTrailingNewline,h="string"==typeof i,d=e.length;return e.map(function(e,t){return e=e.replace(s,"$1"),0===t&&a&&(e=e.replace(l,"")),t===d-1&&u&&(e=e.replace(c,"")),h&&(e=e.replace(/\r\n|\n|\r/g,function(e){return i})),e})}var f=function e(t){var n=o(),r=o(),s=a(function o(s){for(var l,c=[],p=1;p<arguments.length;p++)c[p-1]=arguments[p];if(i(l=s,"raw")&&i(l,"length")){var g=s,m=(c[0]===o||c[0]===f)&&h.test(g[0])&&u.test(g[1]),y=m?r:n,v=y.get(g);if(v||(v=d(g,m,t),y.set(g,v)),0===c.length)return v[0];var b=function(e,t){for(var n="",r=0,o=e.length;r<o;r++)n+=e[r],r<o-1&&(n+=t[r]);return n}(v,m?c.slice(1):c);return b}return e(a(a({},t),s||{}))},{string:function(e){return d([e],!1,t)[0]}});return s}({trimLeadingNewline:!0,trimTrailingNewline:!0});t.default=f;try{e.exports=f,Object.defineProperty(f,"__esModule",{value:!0}),f.default=f,f.outdent=f}catch(g){}},595:function(e,t){"use strict";function n(e,t,n){var r=e.length;return(n=null==n?0:n)<0?n=0:n>r&&(n=r),t="".concat(t),e.slice(n,n+t.length)==t}function r(){return"undefined"==typeof window?null:window.navigator.languages&&window.navigator.languages[0]||window.navigator.language||window.navigator.browserLanguage||window.navigator.userLanguage||window.navigator.systemLanguage||null}function o(e){return e.toLowerCase().replace(/-/,"_")}Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var s=function(e){if(!e)return r();var t=e.languages,s=e.fallback;if(!e.languages)return s;var i=o(r());if(!i)return s;var a=t.filter(function(e){return o(e)===i});return a.length>0?a[0]||s:t.filter(function(e){return n(i,e)||n(e,i)})[0]||s};t.default=s},626:function(e,t,n){"use strict";n.r(t);var r=n(20);"https:"!==window.location.protocol&&"localhost"!==window.location.hostname?console.error("Service workers can only be used over HTTPS, or on localhost for development"):"serviceWorker"in navigator&&navigator.serviceWorker.register("/sw.js").then(function(e){e.addEventListener("updatefound",()=>{(0,r.N)("onServiceWorkerUpdateFound",{serviceWorker:e});const t=e.installing;console.log("installingWorker",t),t.addEventListener("statechange",()=>{switch(t.state){case"installed":navigator.serviceWorker.controller?(window.___swUpdated=!0,(0,r.N)("onServiceWorkerUpdateReady",{serviceWorker:e}),window.___failedResources&&(console.log("resources failed, SW updated - reloading"),window.location.reload())):(console.log("Content is now available offline!"),(0,r.N)("onServiceWorkerInstalled",{serviceWorker:e}));break;case"redundant":console.error("The installing service worker became redundant."),(0,r.N)("onServiceWorkerRedundant",{serviceWorker:e});break;case"activated":(0,r.N)("onServiceWorkerActive",{serviceWorker:e})}})})}).catch(function(e){console.error("Error during service worker registration:",e)})},700:function(e,t){t.U=()=>""},963:function(e,t,n){"use strict";n.r(t);var r=n(6540),o=n(6814),s=n(6017);t.default=e=>{let{location:t}=e;const n=o.Ay.loadPageSync(t.pathname);return n?r.createElement(s.A,{location:t,pageResources:n,...n.json}):null}},1250:function(e){e.exports=function(e,t){return t||(t=e.slice(0)),e.raw=t,e},e.exports.__esModule=!0,e.exports.default=e.exports},2024:function(e,t,n){"use strict";n.d(t,{Jr:function(){return i},dd:function(){return o},hr:function(){return a},j$:function(){return s}});var r=n(6540);const o=r.createContext({}),s=r.createContext({}),i=r.createContext({}),a=r.createContext({})},2039:function(e,t,n){"use strict";var r=n(4994)(n(6540)),o=n(7581);t.wrapRootElement=function(e,t){var n=e.element;return r.default.createElement(o.StyleSheetManager,{disableVendorPrefixes:!0===(null==t?void 0:t.disableVendorPrefixes)},n)}},2107:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.wrapPageElement=void 0;var o=r(n(4634)),s=(r(n(1250)),r(n(6540))),i=n(4794),a=r(n(595)),l=n(3773),c=r(n(5543)),u=n(9866),p=n(3064);r(n(525));t.wrapPageElement=function(e,t){var n,r,h=e.element,d=e.props,f=t.i18nextOptions,g=void 0===f?{}:f,m=t.redirect,y=void 0===m||m,v=t.generateDefaultLanguagePage,b=void 0!==v&&v,w=t.siteUrl,S=t.localeJsonNodeName,x=void 0===S?"locales":S,k=t.fallbackLanguage,O=t.trailingSlash;if(d){var E=d.data,P=d.pageContext,R=d.location,C=P.i18n,N=C.routed,L=C.language,$=C.languages,_=C.originalPath,j=C.defaultLanguage,T=C.path;if(y&&!N){var I=R.search;if("undefined"!=typeof window){var A=window.localStorage.getItem(l.LANGUAGE_KEY)||(0,a.default)({languages:$,fallback:k||L});if($.includes(A)||(A=L),window.localStorage.setItem(l.LANGUAGE_KEY,A),A!==j){var D=I||"",F="never"===O,M=(0,i.withPrefix)("/"+A+function(e,t){var n=(0,i.withPrefix)("/"),r=e;return e.startsWith(n)&&(r=e.replace(n,"/")),t&&r.endsWith("/")?r.slice(0,-1):r}(R.pathname,F)+D+R.hash);return window.___replace(M),null}}}var U=(null==E||null===(n=E[x])||void 0===n?void 0:n.edges)||[];$.length>1&&U.length,0;var H=U.map(function(e){return e.node.ns}),V=(null===(r=g.defaultNS)||void 0===r?void 0:r.toString())||"translation";V=H.find(function(e){return e!==V})||V;var K=H.filter(function(e){return e!==V}),B=U.reduce(function(e,t){var n=t.node,r="object"==typeof n.data?n.data:JSON.parse(n.data);return n.language in e||(e[n.language]={}),e[n.language][n.ns||V]=r,e},{}),W=c.default.createInstance();return W.init((0,o.default)({},g,{resources:B,lng:L,fallbackLng:j,defaultNS:V,fallbackNS:K,react:(0,o.default)({},g.react,{useSuspense:!1})})),W.language!==L&&W.changeLanguage(L),function(e,t){return function(n){return s.default.createElement(u.I18nextProvider,{i18n:e},s.default.createElement(p.I18nextContext.Provider,{value:t},n))}}(W,{routed:N,language:L,languages:$,originalPath:_,defaultLanguage:j,generateDefaultLanguagePage:b,siteUrl:w,path:T})(h)}}},2311:function(e,t,n){"use strict";t.__esModule=!0,t.onInitialClientRender=void 0;n(5535),n(9300);t.onInitialClientRender=()=>{}},2475:function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},2549:function(e,t,n){var r;e.exports=(r=n(963))&&r.default||r},2833:function(e){e.exports=function(e,t,n,r){var o=n?n.call(r,e,t):void 0;if(void 0!==o)return!!o;if(e===t)return!0;if("object"!=typeof e||!e||"object"!=typeof t||!t)return!1;var s=Object.keys(e),i=Object.keys(t);if(s.length!==i.length)return!1;for(var a=Object.prototype.hasOwnProperty.bind(t),l=0;l<s.length;l++){var c=s[l];if(!a(c))return!1;var u=e[c],p=t[c];if(!1===(o=n?n.call(r,u,p,c):void 0)||void 0===o&&u!==p)return!1}return!0}},2958:function(e,t,n){const{wrapPageElement:r}=n(2107);t.wrapPageElement=r},3064:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.I18nextContext=void 0;var o=r(n(6540)).default.createContext({language:"en",languages:["en"],routed:!1,defaultLanguage:"en",generateDefaultLanguagePage:!1,originalPath:"/",path:"/"});t.I18nextContext=o},3215:function(e,t,n){"use strict";var r=n(4994);t.__esModule=!0,t.ScrollHandler=t.ScrollContext=void 0;var o=r(n(2475)),s=r(n(6221)),i=function(e,t){if(!t&&e&&e.__esModule)return e;if(null===e||"object"!=typeof e&&"function"!=typeof e)return{default:e};var n=c(t);if(n&&n.has(e))return n.get(e);var r={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var s in e)if("default"!==s&&Object.prototype.hasOwnProperty.call(e,s)){var i=o?Object.getOwnPropertyDescriptor(e,s):null;i&&(i.get||i.set)?Object.defineProperty(r,s,i):r[s]=e[s]}r.default=e,n&&n.set(e,r);return r}(n(6540)),a=r(n(5556)),l=n(4351);function c(e){if("function"!=typeof WeakMap)return null;var t=new WeakMap,n=new WeakMap;return(c=function(e){return e?n:t})(e)}var u=i.createContext(new l.SessionStorage);t.ScrollContext=u,u.displayName="GatsbyScrollContext";var p=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),s=0;s<n;s++)r[s]=arguments[s];return(t=e.call.apply(e,[this].concat(r))||this)._stateStorage=new l.SessionStorage,t._isTicking=!1,t._latestKnownScrollY=0,t.scrollListener=function(){t._latestKnownScrollY=window.scrollY,t._isTicking||(t._isTicking=!0,requestAnimationFrame(t._saveScroll.bind((0,o.default)(t))))},t.windowScroll=function(e,n){t.shouldUpdateScroll(n,t.props)&&window.scrollTo(0,e)},t.scrollToHash=function(e,n){var r=document.getElementById(e.substring(1));r&&t.shouldUpdateScroll(n,t.props)&&r.scrollIntoView()},t.shouldUpdateScroll=function(e,n){var r=t.props.shouldUpdateScroll;return!r||r.call((0,o.default)(t),e,n)},t}(0,s.default)(t,e);var n=t.prototype;return n._saveScroll=function(){var e=this.props.location.key||null;e&&this._stateStorage.save(this.props.location,e,this._latestKnownScrollY),this._isTicking=!1},n.componentDidMount=function(){var e;window.addEventListener("scroll",this.scrollListener);var t=this.props.location,n=t.key,r=t.hash;n&&(e=this._stateStorage.read(this.props.location,n)),r?this.scrollToHash(decodeURI(r),void 0):e&&this.windowScroll(e,void 0)},n.componentWillUnmount=function(){window.removeEventListener("scroll",this.scrollListener)},n.componentDidUpdate=function(e){var t,n=this.props.location,r=n.hash,o=n.key;o&&(t=this._stateStorage.read(this.props.location,o)),r?this.scrollToHash(decodeURI(r),e):this.windowScroll(t,e)},n.render=function(){return i.createElement(u.Provider,{value:this._stateStorage},this.props.children)},t}(i.Component);t.ScrollHandler=p,p.propTypes={shouldUpdateScroll:a.default.func,children:a.default.element.isRequired,location:a.default.object.isRequired}},3309:function(e,t){"use strict";t.__esModule=!0,t.getForwards=function(e){return null==e?void 0:e.flatMap(e=>(null==e?void 0:e.forward)||[])}},3662:function(e,t,n){"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:function(){return r}})},3721:function(e,t,n){"use strict";t.__esModule=!0,t.useScrollRestoration=function(e){var t=(0,s.useLocation)(),n=(0,o.useContext)(r.ScrollContext),i=(0,o.useRef)(null);return(0,o.useLayoutEffect)(function(){if(i.current){var r=n.read(t,e);i.current.scrollTo(0,r||0)}},[t.key]),{ref:i,onScroll:function(){i.current&&n.save(t,e,i.current.scrollTop)}}};var r=n(3215),o=n(6540),s=n(6462)},3773:function(e,t){"use strict";t.__esModule=!0,t.LANGUAGE_KEY=void 0;t.LANGUAGE_KEY="gatsby-i18next-language"},4351:function(e,t){"use strict";t.__esModule=!0,t.SessionStorage=void 0;var n="___GATSBY_REACT_ROUTER_SCROLL",r=function(){function e(){}var t=e.prototype;return t.read=function(e,t){var r=this.getStateKey(e,t);try{var o=window.sessionStorage.getItem(r);return o?JSON.parse(o):0}catch(s){return window&&window[n]&&window[n][r]?window[n][r]:0}},t.save=function(e,t,r){var o=this.getStateKey(e,t),s=JSON.stringify(r);try{window.sessionStorage.setItem(o,s)}catch(i){window&&window[n]||(window[n]={}),window[n][o]=JSON.parse(s)}},t.getStateKey=function(e,t){var n="@@scroll|"+e.pathname;return null==t?n:n+"|"+t},e}();t.SessionStorage=r},4506:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e){return function(e){if(Array.isArray(e))return r(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}n.d(t,{A:function(){return o}})},4598:function(e,t,n){"use strict";var r=n(4794)},4634:function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(null,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},4656:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.SCRIPT_TYPE="text/partytown",t.partytownSnippet=e=>((e,t)=>{const{forward:n=[],...r}=e||{},o=JSON.stringify(r,(e,t)=>("function"==typeof t&&(t=String(t)).startsWith(e+"(")&&(t="function "+t),t));return["!(function(w,p,f,c){",Object.keys(r).length>0?`c=w[p]=Object.assign(w[p]||{},${o});`:"c=w[p]=w[p]||{};","c[f]=(c[f]||[])",n.length>0?`.concat(${JSON.stringify(n)})`:"","})(window,'partytown','forward');",t].join("")})(e,'/* Partytown 0.7.6 - MIT builder.io */\n!function(t,e,n,i,r,o,a,d,s,c,p,l){function u(){l||(l=1,"/"==(a=(o.lib||"/~partytown/")+(o.debug?"debug/":""))[0]&&(s=e.querySelectorAll(\'script[type="text/partytown"]\'),i!=t?i.dispatchEvent(new CustomEvent("pt1",{detail:t})):(d=setTimeout(f,1e4),e.addEventListener("pt0",w),r?h(1):n.serviceWorker?n.serviceWorker.register(a+(o.swPath||"partytown-sw.js"),{scope:a}).then((function(t){t.active?h():t.installing&&t.installing.addEventListener("statechange",(function(t){"activated"==t.target.state&&h()}))}),console.error):f())))}function h(t){c=e.createElement(t?"script":"iframe"),t||(c.setAttribute("style","display:block;width:0;height:0;border:0;visibility:hidden"),c.setAttribute("aria-hidden",!0)),c.src=a+"partytown-"+(t?"atomics.js?v=0.7.6":"sandbox-sw.html?"+Date.now()),e.body.appendChild(c)}function f(n,r){for(w(),i==t&&(o.forward||[]).map((function(e){delete t[e.split(".")[0]]})),n=0;n<s.length;n++)(r=e.createElement("script")).innerHTML=s[n].innerHTML,e.head.appendChild(r);c&&c.parentNode.removeChild(c)}function w(){clearTimeout(d)}o=t.partytown||{},i==t&&(o.forward||[]).map((function(e){p=t,e.split(".").map((function(e,n,i){p=p[i[n]]=n+1<i.length?"push"==i[n+1]?[]:p[i[n]]||{}:function(){(t._ptf=t._ptf||[]).push(i,arguments)}}))})),"complete"==e.readyState?u():(t.addEventListener("DOMContentLoaded",u),t.addEventListener("load",u))}(window,document,navigator,top,window.crossOriginIsolated);')},4794:function(e,t,n){"use strict";n.r(t),n.d(t,{Link:function(){return a.N_},PageRenderer:function(){return s()},Script:function(){return k.Script},ScriptStrategy:function(){return k.ScriptStrategy},Slice:function(){return w},StaticQuery:function(){return l.de},StaticQueryContext:function(){return l.G},collectedScriptsByPage:function(){return k.collectedScriptsByPage},graphql:function(){return E},navigate:function(){return a.oo},parsePath:function(){return a.Rr},prefetchPathname:function(){return O},scriptCache:function(){return k.scriptCache},scriptCallbackCache:function(){return k.scriptCallbackCache},useScrollRestoration:function(){return i.RV},useStaticQuery:function(){return l.GR},withAssetPrefix:function(){return a.Zf},withPrefix:function(){return a.Fe}});var r=n(6814),o=n(2549),s=n.n(o),i=n(7035),a=n(7078),l=n(7231),c=n(7387);function u(e){return u=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},u(e)}var p=n(3662);function h(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(h=function(){return!!e})()}function d(e){var t="function"==typeof Map?new Map:void 0;return d=function(e){if(null===e||!function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}}(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return function(e,t,n){if(h())return Reflect.construct.apply(null,arguments);var r=[null];r.push.apply(r,t);var o=new(e.bind.apply(e,r));return n&&(0,p.A)(o,n.prototype),o}(e,arguments,u(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),(0,p.A)(n,e)},d(e)}var f=n(6540),g=n(700),m=n(2024);const y=e=>{let{sliceId:t,children:n}=e;const r=[f.createElement("slice-start",{id:`${t}-1`}),f.createElement("slice-end",{id:`${t}-1`})];return n&&(r.push(n),r.push(f.createElement("slice-start",{id:`${t}-2`}),f.createElement("slice-end",{id:`${t}-2`}))),r},v=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const s=(0,f.useContext)(m.Jr),i=(0,f.useContext)(m.hr),a=s[t];if(!a){if(n)return null;throw new Error(`Slice "${a}" for "${t}" slot not found`)}const l=((e,t)=>Object.keys(t).length?`${e}-${(0,g.U)(t)}`:e)(a,o);let c=i[l];return c?r&&(c.hasChildren=!0):i[l]=c={props:o,sliceName:a,hasChildren:!!r},f.createElement(y,{sliceId:l},r)},b=e=>{let{sliceName:t,allowEmpty:n,children:r,...o}=e;const s=(0,f.useContext)(m.Jr),i=(0,f.useContext)(m.dd),a=s[t],l=i.get(a);if(!l){if(n)return null;throw new Error(`Slice "${a}" for "${t}" slot not found`)}return f.createElement(l.component,Object.assign({sliceContext:l.sliceContext,data:l.data},o),r)};function w(e){{const t={...e,sliceName:e.alias};delete t.alias,delete t.__renderedByLocation;const n=(0,f.useContext)(m.j$),r=x(e);if(Object.keys(r).length)throw new S("browser"===n.renderEnvironment,t.sliceName,r,e.__renderedByLocation);if("server"===n.renderEnvironment)return f.createElement(v,t);if("browser"===n.renderEnvironment)return f.createElement(b,t);if("engines"===n.renderEnvironment||"dev-ssr"===n.renderEnvironment)return f.createElement(b,t);if("slices"===n.renderEnvironment){let t="";try{t=`\n\nSlice component "${n.sliceRoot.name}" (${n.sliceRoot.componentPath}) tried to render <Slice alias="${e.alias}"/>`}catch{}throw new Error(`Nested slices are not supported.${t}\n\nSee https://gatsbyjs.com/docs/reference/built-in-components/gatsby-slice#nested-slices`)}throw new Error(`Slice context "${n.renderEnvironment}" is not supported.`)}}let S=function(e){function t(n,r,o,s){var i;const a=Object.entries(o).map(e=>{let[t,n]=e;return`not serializable "${n}" type passed to "${t}" prop`}).join(", "),l="SlicePropsError";let c="",u="";if(n){const e=f.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactDebugCurrentFrame.getCurrentStack().trim().split("\n").slice(1);e[0]=e[0].trim(),c="\n"+e.join("\n"),u=`Slice "${r}" was passed props that are not serializable (${a}).`}else{u=`${l}: Slice "${r}" was passed props that are not serializable (${a}).`;c=`${u}\n${(new Error).stack.trim().split("\n").slice(2).join("\n")}`}return(i=e.call(this,u)||this).name=l,c?i.stack=c:Error.captureStackTrace(i,t),s&&(i.forcedLocation={...s,functionName:"Slice"}),i}return(0,c.A)(t,e),t}(d(Error));const x=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=[]),void 0===r&&(r=null);for(const[o,s]of Object.entries(e)){if(null==s||!r&&"children"===o)continue;const e=r?`${r}.${o}`:o;"function"==typeof s?t[e]=typeof s:"object"==typeof s&&n.indexOf(s)<=0&&(n.push(s),x(s,t,n,e))}return t};var k=n(5535);const O=r.Ay.enqueue;function E(){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.")}},4915:function(e){e.exports={area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0}},4994:function(e){e.exports=function(e){return e&&e.__esModule?e:{default:e}},e.exports.__esModule=!0,e.exports.default=e.exports},5535:function(e,t,n){"use strict";n.r(t),n.d(t,{Script:function(){return f},ScriptStrategy:function(){return c},collectedScriptsByPage:function(){return a},scriptCache:function(){return h},scriptCallbackCache:function(){return d}});var r=n(6540),o=n(6462);function s(){return s=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}const i=new Map,a={get:e=>i.get(e)||[],set(e,t){const n=i.get(e)||[];n.push(t),i.set(e,n)},delete(e){i.delete(e)}},l="undefined"!=typeof self&&self.requestIdleCallback&&self.requestIdleCallback.bind(window)||function(e){const t=Date.now();return setTimeout(function(){e({didTimeout:!1,timeRemaining:function(){return Math.max(0,50-(Date.now()-t))}})},1)};var c,u;(u=c||(c={})).postHydrate="post-hydrate",u.idle="idle",u.offMainThread="off-main-thread";const p=new Set(["src","strategy","dangerouslySetInnerHTML","children","onLoad","onError"]),h=new Set,d=new Map;function f(e){return r.createElement(o.Location,null,()=>r.createElement(g,e))}function g(e){const{src:t,strategy:n=c.postHydrate}=e||{},{pathname:i}=(0,o.useLocation)();if((0,r.useEffect)(()=>{let t;switch(n){case c.postHydrate:t=m(e);break;case c.idle:l(()=>{t=m(e)});break;case c.offMainThread:{const t=v(e);a.set(i,t)}}return()=>{const{script:e,loadCallback:n,errorCallback:r}=t||{};n&&(null==e||e.removeEventListener("load",n)),r&&(null==e||e.removeEventListener("error",r)),null==e||e.remove()}},[]),n===c.offMainThread){const o=y(e),l=v(e);return"undefined"==typeof window&&a.set(i,l),r.createElement("script",o?s({type:"text/partytown","data-strategy":n,crossOrigin:"anonymous"},l,{dangerouslySetInnerHTML:{__html:y(e)}}):s({type:"text/partytown",src:b(t),"data-strategy":n,crossOrigin:"anonymous"},l))}return null}function m(e){const{id:t,src:n,strategy:r=c.postHydrate,onLoad:o,onError:i}=e||{},a=t||n,l=["load","error"],u={load:o,error:i};if(a){for(const e of l)if(null!=u&&u[e]){var p;const t=d.get(a)||{},{callbacks:n=[]}=(null==t?void 0:t[e])||{};var f,g;n.push(null==u?void 0:u[e]),null!=t&&null!=(p=t[e])&&p.event?null==u||null==(f=u[e])||f.call(u,null==t||null==(g=t[e])?void 0:g.event):d.set(a,s({},t,{[e]:{callbacks:n}}))}if(h.has(a))return null}const m=y(e),b=v(e),S=document.createElement("script");t&&(S.id=t),S.dataset.strategy=r;for(const[s,c]of Object.entries(b))S.setAttribute(s,c);m&&(S.textContent=m),n&&(S.src=n);const x={};if(a){for(const e of l){const t=t=>w(t,a,e);S.addEventListener(e,t),x[`${e}Callback`]=t}h.add(a)}return document.body.appendChild(S),{script:S,loadCallback:x.loadCallback,errorCallback:x.errorCallback}}function y(e){const{dangerouslySetInnerHTML:t,children:n=""}=e||{},{__html:r=""}=t||{};return r||n}function v(e){const t={};for(const[n,r]of Object.entries(e))p.has(n)||(t[n]=r);return t}function b(e){if(e)return`/__third-party-proxy?url=${encodeURIComponent(e)}`}function w(e,t,n){const r=d.get(t)||{};for(const s of(null==r||null==(o=r[n])?void 0:o.callbacks)||[]){var o;s(e)}d.set(t,{[n]:{event:e}})}},5543:function(e){"use strict";const t=e=>"string"==typeof e,n=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},r=e=>null==e?"":""+e,o=/###/g,s=e=>e&&e.indexOf("###")>-1?e.replace(o,"."):e,i=e=>!e||t(e),a=(e,n,r)=>{const o=t(n)?n.split("."):n;let a=0;for(;a<o.length-1;){if(i(e))return{};const t=s(o[a]);!e[t]&&r&&(e[t]=new r),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++a}return i(e)?{}:{obj:e,k:s(o[a])}},l=(e,t,n)=>{const{obj:r,k:o}=a(e,t,Object);if(void 0!==r||1===t.length)return void(r[o]=n);let s=t[t.length-1],i=t.slice(0,t.length-1),l=a(e,i,Object);for(;void 0===l.obj&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),l=a(e,i,Object),l?.obj&&void 0!==l.obj[`${l.k}.${s}`]&&(l.obj=void 0);l.obj[`${l.k}.${s}`]=n},c=(e,t)=>{const{obj:n,k:r}=a(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},u=(e,n,r)=>{for(const o in n)"__proto__"!==o&&"constructor"!==o&&(o in e?t(e[o])||e[o]instanceof String||t(n[o])||n[o]instanceof String?r&&(e[o]=n[o]):u(e[o],n[o],r):e[o]=n[o]);return e},p=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var h={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const d=e=>t(e)?e.replace(/[&<>"'\/]/g,e=>h[e]):e;const f=[" ",",","?","!",";"],g=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),m=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const r=t.split(n);let o=e;for(let s=0;s<r.length;){if(!o||"object"!=typeof o)return;let e,t="";for(let i=s;i<r.length;++i)if(i!==s&&(t+=n),t+=r[i],e=o[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&i<r.length-1)continue;s+=i-s+1;break}o=e}return o},y=e=>e?.replace("_","-"),v={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class b{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||v,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,n,r,o){return o&&!this.debug?null:(t(e[0])&&(e[0]=`${r}${this.prefix} ${e[0]}`),this.logger[n](e))}create(e){return new b(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new b(this.logger,e)}}var w=new b;class S{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){if(this.observers[e]){Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)})}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let o=0;o<r;o++)n.apply(n,[e,...t])})}}}class x extends S{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,n,r,o={}){const s=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,i=void 0!==o.ignoreJSONStructure?o.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,n],r&&(Array.isArray(r)?a.push(...r):t(r)&&s?a.push(...r.split(s)):a.push(r)));const l=c(this.data,a);return!l&&!n&&!r&&e.indexOf(".")>-1&&(e=a[0],n=a[1],r=a.slice(2).join(".")),!l&&i&&t(r)?m(this.data?.[e]?.[n],r,s):l}addResource(e,t,n,r,o={silent:!1}){const s=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let i=[e,t];n&&(i=i.concat(s?n.split(s):n)),e.indexOf(".")>-1&&(i=e.split("."),r=t,t=i[1]),this.addNamespaces(t),l(this.data,i,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,n,r,o={silent:!1}){for(const s in r)(t(r[s])||Array.isArray(r[s]))&&this.addResource(e,n,s,r[s],{silent:!0});o.silent||this.emit("added",e,n,r)}addResourceBundle(e,t,n,r,o,s={silent:!1,skipCopy:!1}){let i=[e,t];e.indexOf(".")>-1&&(i=e.split("."),r=n,n=t,t=i[1]),this.addNamespaces(t);let a=c(this.data,i)||{};s.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?u(a,n,o):a={...a,...n},l(this.data,i,a),s.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var k={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,o)??t}),t}};const O=Symbol("i18next/PATH_KEY");function E(e,t){const{[O]:n}=e(function(){const e=[],t=Object.create(null);let n;return t.get=(r,o)=>(n?.revoke?.(),o===O?e:(e.push(o),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}());return n.join(t?.keySeparator??".")}const P={},R=e=>!t(e)&&"boolean"!=typeof e&&"number"!=typeof e;class C extends S{constructor(e,t={}){var n,r;super(),n=e,r=this,["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"].forEach(e=>{n[e]&&(r[e]=n[e])}),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=w.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const n={...t};if(null==e)return!1;const r=this.resolve(e,n);if(void 0===r?.res)return!1;const o=R(r.res);return!1!==n.returnObjects||!o}extractFromKey(e,n){let r=void 0!==n.nsSeparator?n.nsSeparator:this.options.nsSeparator;void 0===r&&(r=":");const o=void 0!==n.keySeparator?n.keySeparator:this.options.keySeparator;let s=n.ns||this.options.defaultNS||[];const i=r&&e.indexOf(r)>-1,a=!(this.options.userDefinedKeySeparator||n.keySeparator||this.options.userDefinedNsSeparator||n.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=f.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const o=g.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let s=!o.test(e);if(!s){const t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(s=!0)}return s})(e,r,o));if(i&&!a){const n=e.match(this.interpolator.nestingRegexp);if(n&&n.length>0)return{key:e,namespaces:t(s)?[s]:s};const i=e.split(r);(r!==o||r===o&&this.options.ns.indexOf(i[0])>-1)&&(s=i.shift()),e=i.join(o)}return{key:e,namespaces:t(s)?[s]:s}}translate(e,n,r){let o="object"==typeof n?{...n}:n;if("object"!=typeof o&&this.options.overloadTranslationOptionHandler&&(o=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof o&&(o={...o}),o||(o={}),null==e)return"";"function"==typeof e&&(e=E(e,{...this.options,...o})),Array.isArray(e)||(e=[String(e)]);const s=void 0!==o.returnDetails?o.returnDetails:this.options.returnDetails,i=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator,{key:a,namespaces:l}=this.extractFromKey(e[e.length-1],o),c=l[l.length-1];let u=void 0!==o.nsSeparator?o.nsSeparator:this.options.nsSeparator;void 0===u&&(u=":");const p=o.lng||this.language,h=o.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===p?.toLowerCase())return h?s?{res:`${c}${u}${a}`,usedKey:a,exactUsedKey:a,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(o)}:`${c}${u}${a}`:s?{res:a,usedKey:a,exactUsedKey:a,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(o)}:a;const d=this.resolve(e,o);let f=d?.res;const g=d?.usedKey||a,m=d?.exactUsedKey||a,y=void 0!==o.joinArrays?o.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=void 0!==o.count&&!t(o.count),w=C.hasDefaultValue(o),S=b?this.pluralResolver.getSuffix(p,o.count,o):"",x=o.ordinal&&b?this.pluralResolver.getSuffix(p,o.count,{ordinal:!1}):"",k=b&&!o.ordinal&&0===o.count,O=k&&o[`defaultValue${this.options.pluralSeparator}zero`]||o[`defaultValue${S}`]||o[`defaultValue${x}`]||o.defaultValue;let P=f;v&&!f&&w&&(P=O);const N=R(P),L=Object.prototype.toString.apply(P);if(!(v&&P&&N&&["[object Number]","[object Function]","[object RegExp]"].indexOf(L)<0)||t(y)&&Array.isArray(P))if(v&&t(y)&&Array.isArray(f))f=f.join(y),f&&(f=this.extendTranslation(f,e,o,r));else{let t=!1,n=!1;!this.isValidLookup(f)&&w&&(t=!0,f=O),this.isValidLookup(f)||(n=!0,f=a);const s=(o.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&n?void 0:f,l=w&&O!==f&&this.options.updateMissing;if(n||t||l){if(this.logger.log(l?"updateKey":"missingKey",p,c,a,l?O:f),i){const e=this.resolve(a,{...o,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,o.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(o.lng||this.language):e.push(o.lng||this.language);const n=(e,t,n)=>{const r=w&&n!==f?n:s;this.options.missingKeyHandler?this.options.missingKeyHandler(e,c,t,r,l,o):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,c,t,r,l,o),this.emit("missingKey",e,c,t,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,o);k&&o[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],a+t,o[`defaultValue${t}`]||O)})}):n(e,a,O))}f=this.extendTranslation(f,e,o,d,r),n&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${c}${u}${a}`),(n||t)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${u}${a}`:a,t?f:void 0,o))}else{if(!o.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,P,{...o,ns:l}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(d.res=e,d.usedParams=this.getUsedParamsDetails(o),d):e}if(i){const e=Array.isArray(P),t=e?[]:{},n=e?m:g;for(const r in P)if(Object.prototype.hasOwnProperty.call(P,r)){const e=`${n}${i}${r}`;t[r]=w&&!f?this.translate(e,{...o,defaultValue:R(O)?O[r]:void 0,joinArrays:!1,ns:l}):this.translate(e,{...o,joinArrays:!1,ns:l}),t[r]===e&&(t[r]=P[r])}f=t}}return s?(d.res=f,d.usedParams=this.getUsedParamsDetails(o),d):f}extendTranslation(e,n,r,o,s){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...r},r.lng||this.language||o.usedLng,o.usedNS,o.usedKey,{resolved:o});else if(!r.skipInterpolation){r.interpolation&&this.interpolator.init({...r,interpolation:{...this.options.interpolation,...r.interpolation}});const i=t(e)&&(void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(i){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=r.replace&&!t(r.replace)?r.replace:r;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,r.lng||this.language||o.usedLng,r),i){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(r.nest=!1)}!r.lng&&o&&o.res&&(r.lng=this.language||o.usedLng),!1!==r.nest&&(e=this.interpolator.nest(e,(...e)=>s?.[0]!==e[0]||r.context?this.translate(...e,n):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${n[0]}`),null),r)),r.interpolation&&this.interpolator.reset()}const i=r.postProcess||this.options.postProcess,a=t(i)?[i]:i;return null!=e&&a?.length&&!1!==r.applyPostProcessor&&(e=k.handle(a,e,n,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...o,usedParams:this.getUsedParamsDetails(r)},...r}:r,this)),e}resolve(e,n={}){let r,o,s,i,a;return t(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(r))return;const l=this.extractFromKey(e,n),c=l.key;o=c;let u=l.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const p=void 0!==n.count&&!t(n.count),h=p&&!n.ordinal&&0===n.count,d=void 0!==n.context&&(t(n.context)||"number"==typeof n.context)&&""!==n.context,f=n.lngs?n.lngs:this.languageUtils.toResolveHierarchy(n.lng||this.language,n.fallbackLng);u.forEach(e=>{this.isValidLookup(r)||(a=e,P[`${f[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(a)||(P[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${o}" for languages "${f.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(t=>{if(this.isValidLookup(r))return;i=t;const o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,t,e,n);else{let e;p&&(e=this.pluralResolver.getSuffix(t,n.count,n));const r=`${this.options.pluralSeparator}zero`,s=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(n.ordinal&&0===e.indexOf(s)&&o.push(c+e.replace(s,this.options.pluralSeparator)),o.push(c+e),h&&o.push(c+r)),d){const t=`${c}${this.options.contextSeparator||"_"}${n.context}`;o.push(t),p&&(n.ordinal&&0===e.indexOf(s)&&o.push(t+e.replace(s,this.options.pluralSeparator)),o.push(t+e),h&&o.push(t+r))}}let a;for(;a=o.pop();)this.isValidLookup(r)||(s=a,r=this.getResource(t,e,a,n))}))})}),{res:r,usedKey:o,exactUsedKey:s,usedLng:i,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){const n=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],r=e.replace&&!t(e.replace);let o=r?e.replace:e;if(r&&void 0!==e.count&&(o.count=e.count),this.options.interpolation.defaultVariables&&(o={...this.options.interpolation.defaultVariables,...o}),!r){o={...o};for(const e of n)delete o[e]}return o}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}class N{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=w.create("languageUtils")}getScriptPartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=y(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(t(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch(n){}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,n){if(!e)return[];if("function"==typeof e&&(e=e(n)),t(e)&&(e=[e]),Array.isArray(e))return e;if(!n)return e.default||[];let r=e[n];return r||(r=e[this.getScriptPartFromCode(n)]),r||(r=e[this.formatLanguageCode(n)]),r||(r=e[this.getLanguagePartFromCode(n)]),r||(r=e.default),r||[]}toResolveHierarchy(e,n){const r=this.getFallbackCodes((!1===n?[]:n)||this.options.fallbackLng||[],e),o=[],s=e=>{e&&(this.isSupportedCode(e)?o.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return t(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&s(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&s(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&s(this.getLanguagePartFromCode(e))):t(e)&&s(this.formatLanguageCode(e)),r.forEach(e=>{o.indexOf(e)<0&&s(this.formatLanguageCode(e))}),o}}const L={zero:0,one:1,two:2,few:3,many:4,other:5},$={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class _{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=w.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const n=y("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:r});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let s;try{s=new Intl.PluralRules(n,{type:r})}catch(i){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),$;if(!e.match(/-|_/))return $;const n=this.languageUtils.getLanguagePartFromCode(e);s=this.getRule(n,t)}return this.pluralRulesCache[o]=s,s}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((e,t)=>L[e]-L[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const j=(e,n,r,o=".",s=!0)=>{let i=((e,t,n)=>{const r=c(e,n);return void 0!==r?r:c(t,n)})(e,n,r);return!i&&s&&t(r)&&(i=m(e,r,o),void 0===i&&(i=m(n,r,o))),i},T=e=>e.replace(/\$/g,"$$$$");class I{constructor(e={}){this.logger=w.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:o,prefixEscaped:s,suffix:i,suffixEscaped:a,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:h,nestingPrefixEscaped:f,nestingSuffix:g,nestingSuffixEscaped:m,nestingOptionsSeparator:y,maxReplaces:v,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:d,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=o?p(o):s||"{{",this.suffix=i?p(i):a||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=h?p(h):f||p("$t("),this.nestingSuffix=g?p(g):m||p(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,n,o,s){let i,a,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(e.indexOf(this.formatSeparator)<0){const t=j(n,c,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(t,void 0,o,{...s,...n,interpolationkey:e}):t}const t=e.split(this.formatSeparator),r=t.shift().trim(),i=t.join(this.formatSeparator).trim();return this.format(j(n,c,r,this.options.keySeparator,this.options.ignoreJSONStructure),i,o,{...s,...n,interpolationkey:r})};this.resetRegExp();const p=s?.missingInterpolationHandler||this.options.missingInterpolationHandler,h=void 0!==s?.interpolation?.skipOnVariables?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>T(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?T(this.escape(e)):T(e)}].forEach(n=>{for(l=0;i=n.regex.exec(e);){const o=i[1].trim();if(a=u(o),void 0===a)if("function"==typeof p){const n=p(e,i,s);a=t(n)?n:""}else if(s&&Object.prototype.hasOwnProperty.call(s,o))a="";else{if(h){a=i[0];continue}this.logger.warn(`missed to pass in variable ${o} for interpolating ${e}`),a=""}else t(a)||this.useRawValueToEscape||(a=r(a));const c=n.safeValue(a);if(e=e.replace(i[0],c),h?(n.regex.lastIndex+=a.length,n.regex.lastIndex-=i[0].length):n.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,n,o={}){let s,i,a;const l=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,a);const s=o.match(/'/g),i=o.match(/"/g);((s?.length??0)%2==0&&!i||i.length%2!=0)&&(o=o.replace(/'/g,'"'));try{a=JSON.parse(o),t&&(a={...t,...a})}catch(l){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,l),`${e}${n}${o}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;s=this.nestingRegexp.exec(e);){let c=[];a={...o},a=a.replace&&!t(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;const u=/{.*}/.test(s[1])?s[1].lastIndexOf("}")+1:s[1].indexOf(this.formatSeparator);if(-1!==u&&(c=s[1].slice(u).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),s[1]=s[1].slice(0,u)),i=n(l.call(this,s[1].trim(),a),a),i&&s[0]===e&&!t(i))return i;t(i)||(i=r(i)),i||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),i=""),c.length&&(i=c.reduce((e,t)=>this.format(e,t,o.lng,{...o,interpolationkey:s[1].trim()}),i.trim())),e=e.replace(s[0],i),this.regexp.lastIndex=0}return e}}const A=e=>{const t={};return(n,r,o)=>{let s=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(s={...s,[o.interpolationkey]:void 0});const i=r+JSON.stringify(s);let a=t[i];return a||(a=e(y(r),o),t[i]=a),a(n)}},D=e=>(t,n,r)=>e(y(n),r)(t);class F{constructor(e={}){this.logger=w.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const n=t.cacheInBuiltFormats?A:D;this.formats={number:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=A(t)}format(e,t,n,r={}){const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(e=>e.indexOf(")")>-1)){const e=o.findIndex(e=>e.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}return o.reduce((e,t)=>{const{formatName:o,formatOptions:s}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,""),s=t.trim();n[s]||(n[s]=o),"false"===o&&(n[s]=!1),"true"===o&&(n[s]=!0),isNaN(o)||(n[s]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[o]){let t=e;try{const i=r?.formatParams?.[r.interpolationkey]||{},a=i.locale||i.lng||r.locale||r.lng||n;t=this.formats[o](e,a,{...s,...r,...i})}catch(i){this.logger.warn(i)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}}class M extends S{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=w.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const o={},s={},i={},a={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const i=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[i]=2:this.state[i]<0||(1===this.state[i]?void 0===s[i]&&(s[i]=!0):(this.state[i]=1,r=!1,void 0===s[i]&&(s[i]=!0),void 0===o[i]&&(o[i]=!0),void 0===a[t]&&(a[t]=!0)))}),r||(i[e]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(a)}}loaded(e,t,n){const r=e.split("|"),o=r[0],s=r[1];t&&this.emit("failedLoading",o,s,t),!t&&n&&this.store.addResourceBundle(o,s,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const i={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:o}=a(e,t,Object);r[o]=r[o]||[],r[o].push(n)})(n.loaded,[o],s),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{i[e]||(i[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===i[e][t]&&(i[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,o=this.retryTimeout,s){if(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:s});this.readingCalls++;const i=(i,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}i&&a&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*o,s)},o):s(i,a)},a=this.backend[n].bind(this.backend);if(2!==a.length)return a(e,t,i);try{const n=a(e,t);n&&"function"==typeof n.then?n.then(e=>i(null,e)).catch(i):i(null,n)}catch(l){i(l)}}prepareLoading(e,n,r={},o){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),o&&o();t(e)&&(e=this.languageUtils.toResolveHierarchy(e)),t(n)&&(n=[n]);const s=this.queueLoad(e,n,r,o);if(!s.toLoad.length)return s.pending.length||o(),null;s.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){const n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,s)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&s&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,s),this.loaded(e,n,s)})}saveMissing(e,t,n,r,o,s={},i=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const l={...s,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let o;o=5===c.length?c(e,t,n,r,l):c(e,t,n,r),o&&"function"==typeof o.then?o.then(e=>i(null,e)).catch(i):i(null,o)}catch(a){i(a)}else c(e,t,n,r,i,l)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const U=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let n={};if("object"==typeof e[1]&&(n=e[1]),t(e[1])&&(n.defaultValue=e[1]),t(e[2])&&(n.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const t=e[3]||e[2];Object.keys(t).forEach(e=>{n[e]=t[e]})}return n},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),H=e=>(t(e.ns)&&(e.ns=[e.ns]),t(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),t(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),V=()=>{};class K extends S{constructor(e={},t){var n;if(super(),this.options=H(e),this.services={},this.logger=w,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},r){this.isInitializing=!0,"function"==typeof e&&(r=e,e={}),null==e.defaultNS&&e.ns&&(t(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const o=U();this.options={...o,...this.options,...H(e)},this.options.interpolation={...o.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=o.overloadTranslationOptionHandler);const s=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?w.init(s(this.modules.logger),this.options):w.init(null,this.options),e=this.modules.formatter?this.modules.formatter:F;const t=new N(this.options);this.store=new x(this.options.resources,this.options);const n=this.services;n.logger=w,n.resourceStore=this.store,n.languageUtils=t,n.pluralResolver=new _(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix});this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==o.interpolation.format||(n.formatter=s(e),n.formatter.init&&n.formatter.init(n,this.options),this.options.interpolation.format=n.formatter.format.bind(n.formatter)),n.interpolator=new I(this.options),n.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},n.backendConnector=new M(s(this.modules.backend),n.resourceStore,n,this.options),n.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(n.languageDetector=s(this.modules.languageDetector),n.languageDetector.init&&n.languageDetector.init(n,this.options.detection,this.options)),this.modules.i18nFormat&&(n.i18nFormat=s(this.modules.i18nFormat),n.i18nFormat.init&&n.i18nFormat.init(this)),this.translator=new C(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,r||(r=V),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const i=n(),a=()=>{const e=(e,t)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(t),r(e,t)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,n=V){let r=n;const o=t(e)?e:this.language;if("function"==typeof e&&(r=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===o?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return r();const e=[],t=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};if(o)t(o);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e))}this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),r(e)})}else r(null)}reloadResources(e,t,r){const o=n();return"function"==typeof e&&(r=e,e=void 0),"function"==typeof t&&(r=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),r||(r=V),this.services.backendConnector.reload(e,t,e=>{o.resolve(),r(e)}),o}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&k.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,r){this.isLanguageChangingTo=e;const o=n();this.emit("languageChanging",e);const s=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(t,n)=>{n?this.isLanguageChangingTo===e&&(s(n),this.translator.changeLanguage(n),this.isLanguageChangingTo=void 0,this.emit("languageChanged",n),this.logger.log("languageChanged",n)):this.isLanguageChangingTo=void 0,o.resolve((...e)=>this.t(...e)),r&&r(t,(...e)=>this.t(...e))},a=n=>{e||n||!this.services.languageDetector||(n=[]);const r=t(n)?n:n&&n[0],o=this.store.hasLanguageSomeTranslations(r)?r:this.services.languageUtils.getBestMatchFromCodes(t(n)?[n]:n);o&&(this.language||s(o),this.translator.language||this.translator.changeLanguage(o),this.services.languageDetector?.cacheUserLanguage?.(o)),this.loadResources(o,e=>{i(e,o)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),o}getFixedT(e,n,r){const o=(e,t,...n)=>{let s;s="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(n)):{...t},s.lng=s.lng||o.lng,s.lngs=s.lngs||o.lngs,s.ns=s.ns||o.ns,""!==s.keyPrefix&&(s.keyPrefix=s.keyPrefix||r||o.keyPrefix);const i=this.options.keySeparator||".";let a;return s.keyPrefix&&Array.isArray(e)?a=e.map(e=>("function"==typeof e&&(e=E(e,{...this.options,...t})),`${s.keyPrefix}${i}${e}`)):("function"==typeof e&&(e=E(e,{...this.options,...t})),a=s.keyPrefix?`${s.keyPrefix}${i}${e}`:e),this.t(a,s)};return t(e)?o.lng=e:o.lngs=e,o.ns=n,o.keyPrefix=r,o}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const s=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,s);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!s(n,e)||r&&!s(o,e)))}loadNamespaces(e,r){const o=n();return this.options.ns?(t(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{o.resolve(),r&&r(e)}),o):(r&&r(),Promise.resolve())}loadLanguages(e,r){const o=n();t(e)&&(e=[e]);const s=this.options.preload||[],i=e.filter(e=>s.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=s.concat(i),this.loadResources(e=>{o.resolve(),r&&r(e)}),o):(r&&r(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(n){}const t=this.services?.languageUtils||new N(U());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const n=new K(e,t);return n.createInstance=K.createInstance,n}cloneInstance(e={},t=V){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},o=new K(r);void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e));if(["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{});o.store=new x(e,r),o.services.resourceStore=o.store}if(e.interpolation){const t={...U().interpolation,...this.options.interpolation,...e.interpolation},n={...r,interpolation:t};o.services.interpolator=new I(n)}return o.translator=new C(o.services,r),o.translator.on("*",(e,...t)=>{o.emit(e,...t)}),o.init(r,t),o.translator.options=r,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const B=K.createInstance();B.keyFromSelector=E,e.exports=B},5636:function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},6017:function(e,t,n){"use strict";n.d(t,{A:function(){return E}});var r=n(6540),o=n(5556),s=n.n(o),i=n(20),a=n(8990),l=n(4506),c=n(4794),u=n(6462),p=n(9732);function h(e){let{children:t,callback:n}=e;return(0,r.useEffect)(()=>{n()}),t}const d=["link","meta","style","title","base","noscript","script","html","body"];function f(e){0}function g(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){const n=t.getAttribute("nonce");if(n&&!e.getAttribute("nonce")){const r=t.cloneNode(!0);return r.setAttribute("nonce",""),r.nonce=n,n===e.nonce&&e.isEqualNode(r)}}return e.isEqualNode(t)}function m(e,t){void 0===t&&(t={html:{},body:{}});const n=new Map,r=[];for(const c of e.childNodes){var o,s;const e=c.nodeName.toLowerCase(),u=null===(o=c.attributes)||void 0===o||null===(s=o.id)||void 0===s?void 0:s.value;if(b(c)){if(v(e))if("html"===e||"body"===e)for(const n of c.attributes){const r="style"===n.name;var i;if(t[e]={...t[e]},r||(t[e][n.name]=n.value),r)t[e].style=`${null!==(i=t[e])&&void 0!==i&&i.style?t[e].style:""}${n.value} `}else{let e=c.cloneNode(!0);if(e.setAttribute("data-gatsby-head",!0),"script"===e.nodeName.toLowerCase()&&(e=y(e)),u)if(n.has(u)){var a;const t=n.get(u);null===(a=r[t].parentNode)||void 0===a||a.removeChild(r[t]),r[t]=e}else r.push(e),n.set(u,r.length-1);else r.push(e)}else f();c.childNodes.length&&r.push.apply(r,(0,l.A)(m(c,t).validHeadNodes))}}return{validHeadNodes:r,htmlAndBodyAttributes:t}}function y(e){const t=document.createElement("script");for(const n of e.attributes)t.setAttribute(n.name,n.value);return t.innerHTML=e.innerHTML,t}function v(e){return d.includes(e)}function b(e){return 1===e.nodeType}const w=document.createElement("div"),S={html:[],body:[]},x=()=>{var e;const{validHeadNodes:t,htmlAndBodyAttributes:n}=m(w);S.html=Object.keys(n.html),S.body=Object.keys(n.body),function(e){if(!e)return;const{html:t,body:n}=e,r=document.querySelector("html");r&&Object.entries(t).forEach(e=>{let[t,n]=e;r.setAttribute(t,n)});const o=document.querySelector("body");o&&Object.entries(n).forEach(e=>{let[t,n]=e;o.setAttribute(t,n)})}(n);const r=document.querySelectorAll("[data-gatsby-head]");var o;if(0===r.length)return void(o=document.head).append.apply(o,(0,l.A)(t));const s=[];!function(e){let{oldNodes:t,newNodes:n,onStale:r,onNew:o}=e;for(const s of t){const e=n.findIndex(e=>g(e,s));-1===e?r(s):n.splice(e,1)}for(const s of n)o(s)}({oldNodes:r,newNodes:t,onStale:e=>e.parentNode.removeChild(e),onNew:e=>s.push(e)}),(e=document.head).append.apply(e,s)};function k(e){let{pageComponent:t,staticQueryResults:n,pageComponentProps:o}=e;(0,r.useEffect)(()=>{if(null!=t&&t.Head){!function(e){if("function"!=typeof e)throw new Error(`Expected "Head" export to be a function got "${typeof e}".`)}(t.Head);const{render:s}=(0,p.n)(),a=r.createElement(t.Head,{location:{pathname:(e=o).location.pathname},params:e.params,data:e.data||{},serverData:e.serverData,pageContext:e.pageContext}),l=(0,i.N)("wrapRootElement",{element:a},a,e=>{let{result:t}=e;return{element:t}}).pop();s(r.createElement(h,{callback:x},r.createElement(c.StaticQueryContext.Provider,{value:n},r.createElement(u.LocationProvider,null,l))),w)}var e;return()=>{!function(){const e=document.querySelectorAll("[data-gatsby-head]");for(const t of e)t.parentNode.removeChild(t)}(),function(e){if(!e)return;const{html:t,body:n}=e;if(t){const e=document.querySelector("html");t.forEach(t=>{e&&e.removeAttribute(t)})}if(n){const e=document.querySelector("body");n.forEach(t=>{e&&e.removeAttribute(t)})}}(S)}})}function O(e){const t={...e,params:{...(0,a.UA)(e.location.pathname),...e.pageResources.json.pageContext.__params}};let n;var o;n=e.pageResources.partialHydration?e.pageResources.partialHydration:(0,r.createElement)((o=e.pageResources.component)&&o.default||o,{...t,key:e.path||e.pageResources.page.path});k({pageComponent:e.pageResources.head,staticQueryResults:e.pageResources.staticQueryResults,pageComponentProps:t});return(0,i.N)("wrapPageElement",{element:n,props:t},n,e=>{let{result:n}=e;return{element:n,props:t}}).pop()}O.propTypes={location:s().object.isRequired,pageResources:s().object.isRequired,data:s().object,pageContext:s().object.isRequired};var E=O},6221:function(e,t,n){var r=n(5636);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},6395:function(e,t){"use strict";t.T=void 0;const n=[".html",".json",".js",".map",".txt",".xml",".pdf"];t.T=(e,t="always")=>{if("/"===e)return e;const r=e.endsWith("/");return((e,t)=>{for(const n of e)if(t.endsWith(n))return!0;return!1})(n,e)?e:"always"===t?r?e:`${e}/`:"never"===t&&r?e.slice(0,-1):e}},6462:function(e,t,n){"use strict";var r;n.r(t),n.d(t,{BaseContext:function(){return m},Link:function(){return q},Location:function(){return X},LocationContext:function(){return y},LocationProvider:function(){return Y},Match:function(){return ee},Redirect:function(){return O},Router:function(){return ae},ServerLocation:function(){return Z},createHistory:function(){return u},createMemorySource:function(){return p},globalHistory:function(){return d},insertParams:function(){return N},isRedirect:function(){return S},match:function(){return R},navigate:function(){return f},pick:function(){return P},redirectTo:function(){return x},resolve:function(){return C},shallowCompare:function(){return M},startsWith:function(){return E},useBaseContext:function(){return v},useLocation:function(){return ce},useLocationContext:function(){return b},useMatch:function(){return he},useNavigate:function(){return ue},useParams:function(){return pe},validateRedirect:function(){return L}});var o=n(6540),s=n(5556),i=n(311);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function l(e,t){if(null==e)return{};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)t.indexOf(n=s[r])>=0||(o[n]=e[n]);return o}const c=e=>{const{search:t,hash:n,href:r,origin:o,protocol:s,host:i,hostname:a,port:l}=e.location;let{pathname:c}=e.location;return!c&&r&&h&&(c=new URL(r).pathname),{pathname:encodeURI(decodeURI(c)),search:t,hash:n,href:r,origin:o,protocol:s,host:i,hostname:a,port:l,state:e.history.state,key:e.history.state&&e.history.state.key||"initial"}},u=(e,t)=>{let n=[],r=c(e),o=!1,s=()=>{};return{get location(){return r},get transitioning(){return o},_onTransitionComplete(){o=!1,s()},listen(t){n.push(t);const o=()=>{r=c(e),t({location:r,action:"POP"})};return e.addEventListener("popstate",o),()=>{e.removeEventListener("popstate",o),n=n.filter(e=>e!==t)}},navigate(t,{state:i,replace:l=!1}={}){if("number"==typeof t)e.history.go(t);else{i=a({},i,{key:Date.now()+""});try{o||l?e.history.replaceState(i,null,t):e.history.pushState(i,null,t)}catch(n){e.location[l?"replace":"assign"](t)}}r=c(e),o=!0;const u=new Promise(e=>s=e);return n.forEach(e=>e({location:r,action:"PUSH"})),u}}},p=(e="/")=>{const t=e.indexOf("?"),n={pathname:t>-1?e.substr(0,t):e,search:t>-1?e.substr(t):""};let r=0;const o=[n],s=[null];return{get location(){return o[r]},addEventListener(e,t){},removeEventListener(e,t){},history:{get entries(){return o},get index(){return r},get state(){return s[r]},pushState(e,t,n){const[i,a=""]=n.split("?");r++,o.push({pathname:i,search:a.length?`?${a}`:a}),s.push(e)},replaceState(e,t,n){const[i,a=""]=n.split("?");o[r]={pathname:i,search:a},s[r]=e},go(e){const t=r+e;t<0||t>s.length-1||(r=t)}}}},h=!("undefined"==typeof window||!window.document||!window.document.createElement),d=u(h?window:p()),{navigate:f}=d;function g(e,t){return o.createServerContext?((e,t=null)=>(globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=o.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]))(e,t):o.createContext(t)}const m=g("Base",{baseuri:"/",basepath:"/"}),y=g("Location"),v=()=>o.useContext(m),b=()=>o.useContext(y);function w(e){this.uri=e}const S=e=>e instanceof w,x=e=>{throw new w(e)};function k(e){const{to:t,replace:n=!0,state:r,noThrow:s,baseuri:i}=e;o.useEffect(()=>{Promise.resolve().then(()=>{const o=C(t,i);f(N(o,e),{replace:n,state:r})})},[]);const a=C(t,i);return s||x(N(a,e)),null}const O=e=>{const t=b(),{baseuri:n}=v();return o.createElement(k,a({},t,{baseuri:n},e))};O.propTypes={from:s.string,to:s.string.isRequired};const E=(e,t)=>e.substr(0,t.length)===t,P=(e,t)=>{let n,r;const[o]=t.split("?"),s=A(o),a=""===s[0],l=I(e);for(let c=0,u=l.length;c<u;c++){let e=!1;const o=l[c].route;if(o.default){r={route:o,params:{},uri:t};continue}const u=A(o.path),p={},h=Math.max(s.length,u.length);let d=0;for(;d<h;d++){const t=u[d],n=s[d];if(j(t)){p[t.slice(1)||"*"]=s.slice(d).map(decodeURIComponent).join("/");break}if(void 0===n){e=!0;break}const r=$.exec(t);if(r&&!a){const e=-1===F.indexOf(r[1]);i(e,`<Router> dynamic segment "${r[1]}" is a reserved name. Please use a different name in path "${o.path}".`);const t=decodeURIComponent(n);p[r[1]]=t}else if(t!==n){e=!0;break}}if(!e){n={route:o,params:p,uri:"/"+s.slice(0,d).join("/")};break}}return n||r||null},R=(e,t)=>P([{path:e}],t),C=(e,t)=>{if(E(e,"/"))return e;const[n,r]=e.split("?"),[o]=t.split("?"),s=A(n),i=A(o);if(""===s[0])return D(o,r);if(!E(s[0],".")){const e=i.concat(s).join("/");return D(("/"===o?"":"/")+e,r)}const a=i.concat(s),l=[];for(let c=0,u=a.length;c<u;c++){const e=a[c];".."===e?l.pop():"."!==e&&l.push(e)}return D("/"+l.join("/"),r)},N=(e,t)=>{const[n,r=""]=e.split("?");let o="/"+A(n).map(e=>{const n=$.exec(e);return n?t[n[1]]:e}).join("/");const{location:{search:s=""}={}}=t,i=s.split("?")[1]||"";return o=D(o,r,i),o},L=(e,t)=>{const n=e=>_(e);return A(e).filter(n).sort().join("/")===A(t).filter(n).sort().join("/")},$=/^:(.+)/,_=e=>$.test(e),j=e=>e&&"*"===e[0],T=(e,t)=>({route:e,score:e.default?0:A(e.path).reduce((e,t)=>(e+=4,(e=>""===e)(t)?e+=1:_(t)?e+=2:j(t)?e-=5:e+=3,e),0),index:t}),I=e=>e.map(T).sort((e,t)=>e.score<t.score?1:e.score>t.score?-1:e.index-t.index),A=e=>e.replace(/(^\/+|\/+$)/g,"").split("/"),D=(e,...t)=>e+((t=t.filter(e=>e&&e.length>0))&&t.length>0?`?${t.join("&")}`:""),F=["uri","path"],M=(e,t)=>{const n=Object.keys(e);return n.length===Object.keys(t).length&&n.every(n=>t.hasOwnProperty(n)&&e[n]===t[n])},U=e=>e.replace(/(^\/+|\/+$)/g,""),H=e=>t=>{if(!t)return null;if(t.type===o.Fragment&&t.props.children)return o.Children.map(t.props.children,H(e));if(i(t.props.path||t.props.default||t.type===O,`<Router>: Children of <Router> must have a \`path\` or \`default\` prop, or be a \`<Redirect>\`. None found on element type \`${t.type}\``),i(!!(t.type!==O||t.props.from&&t.props.to),`<Redirect from="${t.props.from}" to="${t.props.to}"/> requires both "from" and "to" props when inside a <Router>.`),i(!(t.type===O&&!L(t.props.from,t.props.to)),`<Redirect from="${t.props.from} to="${t.props.to}"/> has mismatched dynamic segments, ensure both paths have the exact same dynamic segments.`),t.props.default)return{value:t,default:!0};const n=t.type===O?t.props.from:t.props.path,r="/"===n?e:`${U(e)}/${U(n)}`;return{value:t,default:t.props.default,path:t.props.children?`${U(r)}/*`:r}},V=["innerRef"],K=["to","state","replace","getProps"],B=["key"];let{forwardRef:W}=r||(r=n.t(o,2));void 0===W&&(W=e=>e);const z=()=>{},q=W((e,t)=>{let{innerRef:n}=e,r=l(e,V);const{baseuri:s}=v(),{location:i}=b(),{to:c,state:u,replace:p,getProps:h=z}=r,d=l(r,K),g=C(c,s),m=encodeURI(g),y=i.pathname===m,w=E(i.pathname,m);return o.createElement("a",a({ref:t||n,"aria-current":y?"page":void 0},d,h({isCurrent:y,isPartiallyCurrent:w,href:g,location:i}),{href:g,onClick:e=>{if(d.onClick&&d.onClick(e),(e=>!e.defaultPrevented&&0===e.button&&!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey))(e)){e.preventDefault();let t=p;if("boolean"!=typeof p&&y){const e=l(a({},i.state),B);t=M(a({},u),e)}f(g,{state:u,replace:t})}}}))});q.displayName="Link",q.propTypes={to:s.string.isRequired};class J extends o.Component{constructor(...e){super(...e),this.displayName="ReactUseErrorBoundary"}componentDidCatch(...e){this.setState({}),this.props.onError(...e)}render(){return this.props.children}}const G=o.createContext({componentDidCatch:{current:void 0},error:void 0,setError:()=>!1});function Q({children:e}){const[t,n]=o.useState(),r=o.useRef(),s=o.useMemo(()=>({componentDidCatch:r,error:t,setError:n}),[t]);return o.createElement(G.Provider,{value:s},o.createElement(J,{error:t,onError:(e,t)=>{n(e),null==r.current||r.current(e,t)}},e))}Q.displayName="ReactUseErrorBoundaryContext";const Y=function(e){var t,n;function r(t){return o.createElement(Q,null,o.createElement(e,a({key:"WrappedComponent"},t)))}return r.displayName=`WithErrorBoundary(${null!=(t=null!=(n=e.displayName)?n:e.name)?t:"Component"})`,r}(({history:e=d,children:t})=>{const{location:n}=e,[r,s]=o.useState({location:n}),[i]=function(){const e=o.useContext(G);e.componentDidCatch.current=void 0;const t=o.useCallback(()=>{e.setError(void 0)},[]);return[e.error,t]}();if(o.useEffect(()=>{e._onTransitionComplete()},[r.location]),o.useEffect(()=>{let t=!1;const n=e.listen(({location:e})=>{Promise.resolve().then(()=>{requestAnimationFrame(()=>{t||s({location:e})})})});return()=>{t=!0,n()}},[]),i){if(!S(i))throw i;f(i.uri,{replace:!0})}return o.createElement(y.Provider,{value:r},"function"==typeof t?t(r):t||null)}),X=({children:e})=>{const t=b();return t?e(t):o.createElement(Y,null,e)},Z=({url:e,children:t})=>{const n=e.indexOf("?");let r,s="";return n>-1?(r=e.substring(0,n),s=e.substring(n)):r=e,o.createElement(y.Provider,{value:{location:{pathname:r,search:s,hash:""}}},t)},ee=({path:e,children:t})=>{const{baseuri:n}=v(),{location:r}=b(),o=C(e,n),s=R(o,r.pathname);return t({location:r,match:s?a({},s.params,{uri:s.uri,path:e}):null})},te=["uri","location","component"],ne=["children","style","component","uri","location"],re=e=>{let{uri:t,location:n,component:r}=e,s=l(e,te);return o.createElement(se,a({},s,{component:r,uri:t,location:n}))};let oe=0;const se=e=>{let{children:t,style:n,component:r="div",uri:s,location:i}=e,c=l(e,ne);const u=o.useRef(),p=o.useRef(!0),h=o.useRef(s),d=o.useRef(i.pathname),f=o.useRef(!1);o.useEffect(()=>(oe++,g(),()=>{oe--,0===oe&&(p.current=!0)}),[]),o.useEffect(()=>{let e=!1,t=!1;s!==h.current&&(h.current=s,e=!0),i.pathname!==d.current&&(d.current=i.pathname,t=!0),f.current=e||t&&i.pathname===s,f.current&&g()},[s,i]);const g=o.useCallback(()=>{var e;p.current?p.current=!1:(e=u.current,f.current&&e&&e.focus())},[]);return o.createElement(r,a({style:a({outline:"none"},n),tabIndex:"-1",ref:u},c),t)},ie=["location","primary","children","basepath","baseuri","component"],ae=e=>{const t=v(),n=b();return o.createElement(le,a({},t,n,e))};function le(e){const{location:t,primary:n=!0,children:r,basepath:s,component:i="div"}=e,c=l(e,ie),u=o.Children.toArray(r).reduce((e,t)=>{const n=H(s)(t);return e.concat(n)},[]),{pathname:p}=t,h=P(u,p);if(h){const{params:e,uri:r,route:l,route:{value:u}}=h,p=l.default?s:l.path.replace(/\*$/,""),d=a({},e,{uri:r,location:t}),f=o.cloneElement(u,d,u.props.children?o.createElement(ae,{location:t,primary:n},u.props.children):void 0),g=n?re:i,y=n?a({uri:r,location:t,component:i},c):c;return o.createElement(m.Provider,{value:{baseuri:r,basepath:p}},o.createElement(g,y,f))}return null}const ce=()=>{const e=b();if(!e)throw new Error("useLocation hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");return e.location},ue=()=>{throw new Error("useNavigate is removed. Use import { navigate } from 'gatsby' instead")},pe=()=>{const e=v();if(!e)throw new Error("useParams hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const t=ce(),n=R(e.basepath,t.pathname);return n?n.params:null},he=e=>{if(!e)throw new Error("useMatch(path: string) requires an argument of a string to match against");const t=v();if(!t)throw new Error("useMatch hook was used but a LocationContext.Provider was not found in the parent tree. Make sure this is used in a component that is a child of Router");const n=ce(),r=C(e,t.baseuri),o=R(r,n.pathname);return o?a({},o.params,{uri:o.uri,path:e}):null}},6491:function(e,t,n){"use strict";n.d(t,{X:function(){return s}});const r=new Map,o=new Map;function s(e){let t=r.get(e);return t||(t=o.get(e.toLowerCase())),t}[].forEach(e=>{e.ignoreCase?o.set(e.fromPath,e):r.set(e.fromPath,e)})},6498:function(e,t,n){"use strict";var r=n(7387),o=n(20),s=n(6540),i=n(6462),a=n(7035),l=n(7231),c=n(2024),u=n(6814),p=n(6491),h=n(9369);const d={id:"gatsby-announcer",style:{position:"absolute",top:0,width:1,height:1,padding:0,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",border:0},"aria-live":"assertive","aria-atomic":"true"};var f=n(7078);function g(e){const t=(0,p.X)(e),{hash:n,search:r}=window.location;return null!=t&&(window.___replace(t.toPath+r+n),!0)}let m="";window.addEventListener("unhandledrejection",e=>{/loading chunk \d* failed./i.test(e.reason)&&m&&(window.location.pathname=m)});const y=(e,t)=>{g(e.pathname)||(m=e.pathname,(0,o.N)("onPreRouteUpdate",{location:e,prevLocation:t}))},v=(e,t)=>{g(e.pathname)||(0,o.N)("onRouteUpdate",{location:e,prevLocation:t})},b=function(e,t){if(void 0===t&&(t={}),"number"==typeof e)return void i.globalHistory.navigate(e);const{pathname:n,search:r,hash:s}=(0,f.Rr)(e),a=(0,p.X)(n);if(a&&(e=a.toPath+r+s),window.___swUpdated)return void(window.location=n+r+s);const l=setTimeout(()=>{h.A.emit("onDelayedLoadPageResources",{pathname:n}),(0,o.N)("onRouteUpdateDelayed",{location:window.location})},1e3);u.Ay.loadPage(n+r).then(o=>{if(!o||o.status===u.Wi.Error)return window.history.replaceState({},"",location.href),window.location=n,void clearTimeout(l);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+s),(0,i.navigate)(e,t),clearTimeout(l)})};function w(e,t){let{location:n}=t;const{pathname:r,hash:s}=n,i=(0,o.N)("shouldUpdateScroll",{prevRouterProps:e,pathname:r,routerProps:{location:n},getSavedScrollPosition:e=>[0,this._stateStorage.read(e,e.key)]});if(i.length>0)return i[i.length-1];if(e){const{location:{pathname:t}}=e;if(t===r)return s?decodeURI(s.slice(1)):[0,0]}return!0}let S=function(e){function t(t){var n;return(n=e.call(this,t)||this).announcementRef=s.createRef(),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidUpdate=function(e,t){requestAnimationFrame(()=>{let e=`new page at ${this.props.location.pathname}`;document.title&&(e=document.title);const t=document.querySelectorAll("#gatsby-focus-wrapper h1");t&&t.length&&(e=t[0].textContent);const n=`Navigated to ${e}`;if(this.announcementRef.current){this.announcementRef.current.innerText!==n&&(this.announcementRef.current.innerText=n)}})},n.render=function(){return s.createElement("div",Object.assign({},d,{ref:this.announcementRef}))},t}(s.Component);const x=(e,t)=>{var n,r;return e.href!==t.href||(null==e||null===(n=e.state)||void 0===n?void 0:n.key)!==(null==t||null===(r=t.state)||void 0===r?void 0:r.key)};let k=function(e){function t(t){var n;return n=e.call(this,t)||this,y(t.location,null),n}(0,r.A)(t,e);var n=t.prototype;return n.componentDidMount=function(){v(this.props.location,null)},n.shouldComponentUpdate=function(e){return!!x(this.props.location,e.location)&&(y(e.location,this.props.location),!0)},n.componentDidUpdate=function(e){x(e.location,this.props.location)&&v(this.props.location,e.location)},n.render=function(){return s.createElement(s.Fragment,null,this.props.children,s.createElement(S,{location:location}))},t}(s.Component);var O=n(6017),E=n(6877);function P(e,t){for(var n in e)if(!(n in t))return!0;for(var r in t)if(e[r]!==t[r])return!0;return!1}var R=function(e){function t(t){var n;n=e.call(this)||this;const{location:r,pageResources:o}=t;return n.state={location:{...r},pageResources:o||u.Ay.loadPageSync(r.pathname+r.search,{withErrorDetails:!0})},n}(0,r.A)(t,e),t.getDerivedStateFromProps=function(e,t){let{location:n}=e;if(t.location.href!==n.href){return{pageResources:u.Ay.loadPageSync(n.pathname+n.search,{withErrorDetails:!0}),location:{...n}}}return{location:{...n}}};var n=t.prototype;return n.loadResources=function(e){u.Ay.loadPage(e).then(t=>{t&&t.status!==u.Wi.Error?this.setState({location:{...window.location},pageResources:t}):(window.history.replaceState({},"",location.href),window.location=e)})},n.shouldComponentUpdate=function(e,t){return t.pageResources?this.state.pageResources!==t.pageResources||(this.state.pageResources.component!==t.pageResources.component||(this.state.pageResources.json!==t.pageResources.json||(!(this.state.location.key===t.location.key||!t.pageResources.page||!t.pageResources.page.matchPath&&!t.pageResources.page.path)||function(e,t,n){return P(e.props,t)||P(e.state,n)}(this,e,t)))):(this.loadResources(e.location.pathname+e.location.search),!1)},n.render=function(){return this.props.children(this.state)},t}(s.Component),C=n(8797),N=JSON.parse('[{"path":"/fr/fr/members/alexandre_michaud/","matchPath":"/fr/fr/members/alexandre_michaud/"},{"path":"/fr/fr/members/jeremy_viau_trudel/","matchPath":"/fr/fr/members/jeremy_viau_trudel/"},{"path":"/fr/fr/members/ricky_ng_adam/","matchPath":"/fr/fr/members/ricky_ng_adam/"},{"path":"/fr/404/","matchPath":"/fr/fr/*"}]'),L=n(9732);const $=new u.N5(E,N,window.pageData);(0,u.iC)($),$.setApiRunner(o.N);const{render:_,hydrate:j}=(0,L.n)();window.asyncRequires=E,window.___emitter=h.A,window.___loader=u.Zf,i.globalHistory.listen(e=>{e.location.action=e.action}),window.___push=e=>b(e,{replace:!1}),window.___replace=e=>b(e,{replace:!0}),window.___navigate=(e,t)=>b(e,t);const T="gatsby-reload-compilation-hash-match";(0,o.v)("onClientEntry").then(()=>{(0,o.N)("registerServiceWorker").filter(Boolean).length>0&&n(626);const e=e=>s.createElement(i.BaseContext.Provider,{value:{baseuri:"/",basepath:"/"}},s.createElement(O.A,e)),t=s.createContext({}),p={renderEnvironment:"browser"};let h=function(e){function n(){return e.apply(this,arguments)||this}return(0,r.A)(n,e),n.prototype.render=function(){const{children:e}=this.props;return s.createElement(i.Location,null,n=>{let{location:r}=n;return s.createElement(R,{location:r},n=>{let{pageResources:r,location:o}=n;const i=(0,u.LE)(),a=(0,u.Rh)();return s.createElement(l.G.Provider,{value:i},s.createElement(c.j$.Provider,{value:p},s.createElement(c.dd.Provider,{value:a},s.createElement(c.Jr.Provider,{value:r.page.slicesMap},s.createElement(t.Provider,{value:{pageResources:r,location:o}},e)))))})})},n}(s.Component),d=function(n){function o(){return n.apply(this,arguments)||this}return(0,r.A)(o,n),o.prototype.render=function(){return s.createElement(t.Consumer,null,t=>{let{pageResources:n,location:r}=t;return s.createElement(k,{location:r},s.createElement(a.z_,{location:r,shouldUpdateScroll:w},s.createElement(i.Router,{basepath:"",location:r,id:"gatsby-focus-wrapper"},s.createElement(e,Object.assign({path:"/404.html"===n.page.path||"/500.html"===n.page.path?(0,C.A)(r.pathname,""):encodeURI((n.page.matchPath||n.page.path).split("?")[0])},this.props,{location:r,pageResources:n},n.json)))))})},o}(s.Component);const{pagePath:f,location:g}=window;f&&""+f!==g.pathname+(f.includes("?")?g.search:"")&&!($.findMatchPath((0,C.A)(g.pathname,""))||f.match(/^\/(404|500)(\/?|.html)$/)||f.match(/^\/offline-plugin-app-shell-fallback\/?$/))&&(0,i.navigate)(""+f+(f.includes("?")?"":g.search)+g.hash,{replace:!0});const m=()=>{try{return sessionStorage}catch{return null}};u.Zf.loadPage(g.pathname+g.search).then(e=>{var t;const n=m();if(null!=e&&null!==(t=e.page)&&void 0!==t&&t.webpackCompilationHash&&e.page.webpackCompilationHash!==window.___webpackCompilationHash&&("serviceWorker"in navigator&&null!==navigator.serviceWorker.controller&&"activated"===navigator.serviceWorker.controller.state&&navigator.serviceWorker.controller.postMessage({gatsbyApi:"clearPathResources"}),n)){if(!("1"===n.getItem(T)))return n.setItem(T,"1"),void window.location.reload(!0)}if(n&&n.removeItem(T),!e||e.status===u.Wi.Error){const t=`page resources for ${g.pathname} not found. Not rendering React`;if(e&&e.error)throw console.error(t),e.error;throw new Error(t)}const r=(0,o.N)("wrapRootElement",{element:s.createElement(d,null)},s.createElement(d,null),e=>{let{result:t}=e;return{element:t}}).pop(),i=function(){const e=s.useRef(!1);return s.useEffect(()=>{e.current||(e.current=!0,performance.mark&&performance.mark("onInitialClientRender"),(0,o.N)("onInitialClientRender"))},[]),s.createElement(h,null,r)},a=document.getElementById("gatsby-focus-wrapper");let l=_;a&&a.children.length&&(l=j);const c=(0,o.N)("replaceHydrateFunction",void 0,l)[0];function p(){const e="undefined"!=typeof window?document.getElementById("___gatsby"):null;c(s.createElement(i,null),e)}const f=document;if("complete"===f.readyState||"loading"!==f.readyState&&!f.documentElement.doScroll)setTimeout(function(){p()},0);else{const e=function(){f.removeEventListener("DOMContentLoaded",e,!1),window.removeEventListener("load",e,!1),p()};f.addEventListener("DOMContentLoaded",e,!1),window.addEventListener("load",e,!1)}})})},6814:function(e,t,n){"use strict";n.d(t,{Wi:function(){return p},N5:function(){return S},Ay:function(){return O},Rh:function(){return P},LE:function(){return E},Zf:function(){return k},iC:function(){return x}});var r=n(7387),o=n(4506),s=n(8163);const i=function(e){if("undefined"==typeof document)return!1;const t=document.createElement("link");try{if(t.relList&&"function"==typeof t.relList.supports)return t.relList.supports(e)}catch(n){return!1}return!1}("prefetch")?function(e,t){return new Promise((n,r)=>{if("undefined"==typeof document)return void r();const o=document.createElement("link");o.setAttribute("rel","prefetch"),o.setAttribute("href",e),Object.keys(t).forEach(e=>{o.setAttribute(e,t[e])}),o.onload=n,o.onerror=r;(document.getElementsByTagName("head")[0]||document.getElementsByName("script")[0].parentNode).appendChild(o)})}:function(e){return new Promise((t,n)=>{const r=new XMLHttpRequest;r.open("GET",e,!0),r.onload=()=>{200===r.status?t():n()},r.send(null)})},a={};var l=function(e,t){return new Promise(n=>{a[e]?n():i(e,t).then(()=>{n(),a[e]=!0}).catch(()=>{})})},c=n(9369),u=n(8990);const p={Error:"error",Success:"success"},h=e=>{const[t,n]=e.split("?");var r;return`/page-data/${"/"===t?"index":(r="/"===(r=t)[0]?r.slice(1):r).endsWith("/")?r.slice(0,-1):r}/page-data.json${n?`?${n}`:""}`},d=e=>e.startsWith("//");function f(e,t){return void 0===t&&(t="GET"),new Promise(n=>{const r=new XMLHttpRequest;r.open(t,e,!0),r.onreadystatechange=()=>{4==r.readyState&&n(r)},r.send(null)})}const g=/bot|crawler|spider|crawling/i,m=function(e,t,n){var r;void 0===t&&(t=null);const o={componentChunkName:e.componentChunkName,path:e.path,webpackCompilationHash:e.webpackCompilationHash,matchPath:e.matchPath,staticQueryHashes:e.staticQueryHashes,getServerDataError:e.getServerDataError,slicesMap:null!==(r=e.slicesMap)&&void 0!==r?r:{}};return{component:t,head:n,json:e.result,page:o}};function y(e){return new Promise(t=>{try{const n=e.readRoot();t(n)}catch(n){if(!Object.hasOwnProperty.call(n,"_response")||!Object.hasOwnProperty.call(n,"_status"))throw n;setTimeout(()=>{y(e).then(t)},200)}})}let v=function(){function e(e,t){this.inFlightNetworkRequests=new Map,this.pageDb=new Map,this.inFlightDb=new Map,this.staticQueryDb={},this.pageDataDb=new Map,this.partialHydrationDb=new Map,this.slicesDataDb=new Map,this.sliceInflightDb=new Map,this.slicesDb=new Map,this.isPrefetchQueueRunning=!1,this.prefetchQueued=[],this.prefetchTriggered=new Set,this.prefetchCompleted=new Set,this.loadComponent=e,(0,u.QX)(t)}var t=e.prototype;return t.memoizedGet=function(e){let t=this.inFlightNetworkRequests.get(e);return t||(t=f(e,"GET"),this.inFlightNetworkRequests.set(e,t)),t.then(t=>(this.inFlightNetworkRequests.delete(e),t)).catch(t=>{throw this.inFlightNetworkRequests.delete(e),t})},t.setApiRunner=function(e){this.apiRunner=e,this.prefetchDisabled=e("disableCorePrefetching").some(e=>e)},t.fetchPageDataJson=function(e){const{pagePath:t,retries:n=0}=e,r=h(t);return this.memoizedGet(r).then(r=>{const{status:o,responseText:s}=r;if(200===o)try{const n=JSON.parse(s);if(void 0===n.path)throw new Error("not a valid pageData response");const r=t.split("?")[1];return r&&!n.path.includes(r)&&(n.path+=`?${r}`),Object.assign(e,{status:p.Success,payload:n})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPageDataJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPageDataJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPageDataJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})})},t.fetchPartialHydrationJson=function(e){const{pagePath:t,retries:n=0}=e,r=h(t).replace(".json","-rsc.json");return this.memoizedGet(r).then(r=>{const{status:o,responseText:s}=r;if(200===o)try{return Object.assign(e,{status:p.Success,payload:s})}catch(i){}return 404===o||200===o?"/404.html"===t||"/500.html"===t?Object.assign(e,{status:p.Error}):this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/404.html",notFound:!0})):500===o?this.fetchPartialHydrationJson(Object.assign(e,{pagePath:"/500.html",internalServerError:!0})):n<3?this.fetchPartialHydrationJson(Object.assign(e,{retries:n+1})):Object.assign(e,{status:p.Error})})},t.loadPageDataJson=function(e){const t=(0,u.Hh)(e);if(this.pageDataDb.has(t)){const e=this.pageDataDb.get(t);return Promise.resolve(e)}return this.fetchPageDataJson({pagePath:t}).then(e=>(this.pageDataDb.set(t,e),e))},t.loadPartialHydrationJson=function(e){const t=(0,u.Hh)(e);if(this.partialHydrationDb.has(t)){const e=this.partialHydrationDb.get(t);return Promise.resolve(e)}return this.fetchPartialHydrationJson({pagePath:t}).then(e=>(this.partialHydrationDb.set(t,e),e))},t.loadSliceDataJson=function(e){if(this.slicesDataDb.has(e)){const t=this.slicesDataDb.get(e);return Promise.resolve({sliceName:e,jsonPayload:t})}return f(`/slice-data/${e}.json`,"GET").then(t=>{const n=JSON.parse(t.responseText);return this.slicesDataDb.set(e,n),{sliceName:e,jsonPayload:n}})},t.findMatchPath=function(e){return(0,u.Yl)(e)},t.loadPage=function(e){const t=(0,u.Hh)(e);if(this.pageDb.has(t)){const e=this.pageDb.get(t);return e.error?Promise.resolve({error:e.error,status:e.status}):Promise.resolve(e.payload)}if(this.inFlightDb.has(t))return this.inFlightDb.get(t);const n=[this.loadAppData(),this.loadPageDataJson(t)];const r=Promise.all(n).then(e=>{const[n,r,i]=e;if(r.status===p.Error||(null==i?void 0:i.status)===p.Error)return{status:p.Error};let a=r.payload;const{componentChunkName:l,staticQueryHashes:u=[],slicesMap:h={}}=a,d={},f=Array.from(new Set(Object.values(h))),g=e=>{if(this.slicesDb.has(e.name))return this.slicesDb.get(e.name);if(this.sliceInflightDb.has(e.name))return this.sliceInflightDb.get(e.name);const t=this.loadComponent(e.componentChunkName).then(t=>{return{component:(n=t,n&&n.default||n),sliceContext:e.result.sliceContext,data:e.result.data};var n});return this.sliceInflightDb.set(e.name,t),t.then(t=>{this.slicesDb.set(e.name,t),this.sliceInflightDb.delete(e.name)}),t};return Promise.all(f.map(e=>this.loadSliceDataJson(e))).then(e=>{const h=[],f=(0,o.A)(u);for(const{jsonPayload:t,sliceName:n}of Object.values(e)){h.push({name:n,...t});for(const e of t.staticQueryHashes)f.includes(e)||f.push(e)}const v=[Promise.all(h.map(g)),this.loadComponent(l,"head")];v.push(this.loadComponent(l));const b=Promise.all(v).then(e=>{const[t,o,l]=e;d.createdAt=new Date;for(const n of t)(!n||n instanceof Error)&&(d.status=p.Error,d.error=n);let c;if((!l||l instanceof Error)&&(d.status=p.Error,d.error=l),d.status!==p.Error){if(d.status=p.Success,!0!==r.notFound&&!0!==(null==i?void 0:i.notFound)||(d.notFound=!0),a=Object.assign(a,{webpackCompilationHash:n?n.webpackCompilationHash:""}),"string"==typeof(null==i?void 0:i.payload)){c=m(a,null,o),c.partialHydration=i.payload;const e=new ReadableStream({start(e){const t=new TextEncoder;e.enqueue(t.encode(i.payload))},pull(e){e.close()},cancel(){}});return y((0,s.createFromReadableStream)(e)).then(e=>(c.partialHydration=e,c))}c=m(a,l,o)}return c}),w=Promise.all(f.map(e=>{if(this.staticQueryDb[e]){const t=this.staticQueryDb[e];return{staticQueryHash:e,jsonPayload:t}}return this.memoizedGet(`/page-data/sq/d/${e}.json`).then(t=>{const n=JSON.parse(t.responseText);return{staticQueryHash:e,jsonPayload:n}}).catch(()=>{throw new Error(`We couldn't load "/page-data/sq/d/${e}.json"`)})})).then(e=>{const t={};return e.forEach(e=>{let{staticQueryHash:n,jsonPayload:r}=e;t[n]=r,this.staticQueryDb[n]=r}),t});return Promise.all([b,w]).then(e=>{let n,[r,o]=e;return r&&(n={...r,staticQueryResults:o},d.payload=n,c.A.emit("onPostLoadPageResources",{page:n,pageResources:n})),this.pageDb.set(t,d),d.error?{error:d.error,status:d.status}:n}).catch(e=>({error:e,status:p.Error}))})});return r.then(()=>{this.inFlightDb.delete(t)}).catch(e=>{throw this.inFlightDb.delete(t),e}),this.inFlightDb.set(t,r),r},t.loadPageSync=function(e,t){void 0===t&&(t={});const n=(0,u.Hh)(e);if(this.pageDb.has(n)){var r;const e=this.pageDb.get(n);if(e.payload)return e.payload;if(null!==(r=t)&&void 0!==r&&r.withErrorDetails)return{error:e.error,status:e.status}}},t.shouldPrefetch=function(e){return!!(()=>{if("connection"in navigator&&void 0!==navigator.connection){if((navigator.connection.effectiveType||"").includes("2g"))return!1;if(navigator.connection.saveData)return!1}return!0})()&&((!navigator.userAgent||!g.test(navigator.userAgent))&&!this.pageDb.has(e))},t.prefetch=function(e){if(!this.shouldPrefetch(e))return{then:e=>e(!1),abort:()=>{}};if(this.prefetchTriggered.has(e))return{then:e=>e(!0),abort:()=>{}};const t={resolve:null,reject:null,promise:null};t.promise=new Promise((e,n)=>{t.resolve=e,t.reject=n}),this.prefetchQueued.push([e,t]);const n=new AbortController;return n.signal.addEventListener("abort",()=>{const t=this.prefetchQueued.findIndex(t=>{let[n]=t;return n===e});-1!==t&&this.prefetchQueued.splice(t,1)}),this.isPrefetchQueueRunning||(this.isPrefetchQueueRunning=!0,setTimeout(()=>{this._processNextPrefetchBatch()},3e3)),{then:(e,n)=>t.promise.then(e,n),abort:n.abort.bind(n)}},t._processNextPrefetchBatch=function(){(window.requestIdleCallback||(e=>setTimeout(e,0)))(()=>{const e=this.prefetchQueued.splice(0,4),t=Promise.all(e.map(e=>{let[t,n]=e;return this.prefetchTriggered.has(t)||(this.apiRunner("onPrefetchPathname",{pathname:t}),this.prefetchTriggered.add(t)),this.prefetchDisabled?n.resolve(!1):this.doPrefetch((0,u.Hh)(t)).then(()=>{this.prefetchCompleted.has(t)||(this.apiRunner("onPostPrefetchPathname",{pathname:t}),this.prefetchCompleted.add(t)),n.resolve(!0)})}));this.prefetchQueued.length?t.then(()=>{setTimeout(()=>{this._processNextPrefetchBatch()},3e3)}):this.isPrefetchQueueRunning=!1})},t.doPrefetch=function(e){const t=h(e);return l(t,{crossOrigin:"anonymous",as:"fetch"}).then(()=>this.loadPageDataJson(e))},t.hovering=function(e){this.loadPage(e)},t.getResourceURLsForPathname=function(e){const t=(0,u.Hh)(e),n=this.pageDataDb.get(t);if(n){const e=m(n.payload);return[].concat((0,o.A)(b(e.page.componentChunkName)),[h(t)])}return null},t.isPageNotFound=function(e){const t=(0,u.Hh)(e),n=this.pageDb.get(t);return!n||n.notFound},t.loadAppData=function(e){return void 0===e&&(e=0),this.memoizedGet("/page-data/app-data.json").then(t=>{const{status:n,responseText:r}=t;let o;if(200!==n&&e<3)return this.loadAppData(e+1);if(200===n)try{const e=JSON.parse(r);if(void 0===e.webpackCompilationHash)throw new Error("not a valid app-data response");o=e}catch(s){}return o})},e}();const b=e=>(window.___chunkMapping[e]||[]).map(e=>""+e);let w,S=function(e){function t(t,n,r){var o;return o=e.call(this,function(e,n){if(void 0===n&&(n="components"),!t[n="components"][e])throw new Error(`We couldn't find the correct component chunk with the name "${e}"`);return t[n][e]().catch(e=>e)},n)||this,r&&o.pageDataDb.set((0,u.Hh)(r.path),{pagePath:r.path,payload:r,status:"success"}),o}(0,r.A)(t,e);var n=t.prototype;return n.doPrefetch=function(t){return e.prototype.doPrefetch.call(this,t).then(e=>{if(e.status!==p.Success)return Promise.resolve();const t=e.payload,n=t.componentChunkName,r=b(n);return Promise.all(r.map(l)).then(()=>t)})},n.loadPageDataJson=function(t){return e.prototype.loadPageDataJson.call(this,t).then(e=>e.notFound?d(t)?e:f(t,"HEAD").then(t=>200===t.status?{status:p.Error}:e):e)},n.loadPartialHydrationJson=function(t){return e.prototype.loadPartialHydrationJson.call(this,t).then(e=>e.notFound?d(t)?e:f(t,"HEAD").then(t=>200===t.status?{status:p.Error}:e):e)},t}(v);const x=e=>{w=e},k={enqueue:e=>w.prefetch(e),getResourceURLsForPathname:e=>w.getResourceURLsForPathname(e),loadPage:e=>w.loadPage(e),loadPageSync:function(e,t){return void 0===t&&(t={}),w.loadPageSync(e,t)},prefetch:e=>w.prefetch(e),isPageNotFound:e=>w.isPageNotFound(e),hovering:e=>w.hovering(e),loadAppData:()=>w.loadAppData()};var O=k;function E(){return w?w.staticQueryDb:{}}function P(){return w?w.slicesDb:{}}},6877:function(e,t,n){t.components={"component---src-pages-404-js":()=>Promise.all([n.e(223),n.e(125)]).then(n.bind(n,3331)),"component---src-pages-index-js":()=>Promise.all([n.e(869),n.e(687),n.e(563),n.e(57),n.e(377),n.e(223),n.e(293)]).then(n.bind(n,9881)),"component---src-templates-member-page-js":()=>Promise.all([n.e(687),n.e(223),n.e(628)]).then(n.bind(n,3491))}},7035:function(e,t,n){"use strict";t.RV=t.z_=void 0;var r=n(3215);t.z_=r.ScrollHandler;var o=n(3721);t.RV=o.useScrollRestoration},7078:function(e,t,n){"use strict";n.d(t,{Fe:function(){return d},N_:function(){return x},Rr:function(){return l},Zf:function(){return v},oo:function(){return k}});var r=n(5556),o=n(6540),s=n(6462),i=n(6395);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},a.apply(this,arguments)}function l(e){let t=e||"/",n="",r="";const o=t.indexOf("#");-1!==o&&(r=t.slice(o),t=t.slice(0,o));const s=t.indexOf("?");return-1!==s&&(n=t.slice(s),t=t.slice(0,s)),{pathname:t,search:"?"===n?"":n,hash:"#"===r?"":r}}const c=/^[a-zA-Z][a-zA-Z\d+\-.]*?:/,u=e=>{if("string"==typeof e)return!(e=>c.test(e))(e)},p=()=>"",h=()=>"";function d(e,t=p()){var n;if(!u(e))return e;if(e.startsWith("./")||e.startsWith("../"))return e;const r=null!=(n=null!=t?t:h())?n:"/";return`${null!=r&&r.endsWith("/")?r.slice(0,-1):r}${e.startsWith("/")?e:`/${e}`}`}const f=e=>null==e?void 0:e.startsWith("/");function g(e,t){const{pathname:n,search:r,hash:o}=l(e);return`${(0,i.T)(n,t)}${r}${o}`}const m=(e,t)=>"number"==typeof e?e:u(e)?f(e)?function(e){const t=d(e),n="always";return g(t,n)}(e):function(e,t){if(f(e))return e;const n="always",r=(0,s.resolve)(e,t);return g(r,n)}(e,t):e,y=["to","getProps","onClick","onMouseEnter","activeClassName","activeStyle","innerRef","partiallyActive","state","replace","_location"];function v(e){return d(e,h())}const b={activeClassName:r.string,activeStyle:r.object,partiallyActive:r.bool};function w(e){return o.createElement(s.Location,null,({location:t})=>o.createElement(S,a({},e,{_location:t})))}class S extends o.Component{constructor(e){super(e),this.defaultGetProps=({isPartiallyCurrent:e,isCurrent:t})=>(this.props.partiallyActive?e:t)?{className:[this.props.className,this.props.activeClassName].filter(Boolean).join(" "),style:a({},this.props.style,this.props.activeStyle)}:null;let t=!1;"undefined"!=typeof window&&window.IntersectionObserver&&(t=!0),this.state={IOSupported:t},this.abortPrefetch=null,this.handleRef=this.handleRef.bind(this)}_prefetch(){let e=window.location.pathname+window.location.search;this.props._location&&this.props._location.pathname&&(e=this.props._location.pathname+this.props._location.search);const t=l(m(this.props.to,e)),n=t.pathname+t.search;if(e!==n)return ___loader.enqueue(n)}componentWillUnmount(){if(!this.io)return;const{instance:e,el:t}=this.io;this.abortPrefetch&&this.abortPrefetch.abort(),e.unobserve(t),e.disconnect()}handleRef(e){this.props.innerRef&&Object.prototype.hasOwnProperty.call(this.props.innerRef,"current")?this.props.innerRef.current=e:this.props.innerRef&&this.props.innerRef(e),this.state.IOSupported&&e&&(this.io=((e,t)=>{const n=new window.IntersectionObserver(n=>{n.forEach(n=>{e===n.target&&t(n.isIntersecting||n.intersectionRatio>0)})});return n.observe(e),{instance:n,el:e}})(e,e=>{e?this.abortPrefetch=this._prefetch():this.abortPrefetch&&this.abortPrefetch.abort()}))}render(){const e=this.props,{to:t,getProps:n=this.defaultGetProps,onClick:r,onMouseEnter:i,state:c,replace:p,_location:h}=e,d=function(e,t){if(null==e)return{};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)t.indexOf(n=s[r])>=0||(o[n]=e[n]);return o}(e,y),f=m(t,h.pathname);return u(f)?o.createElement(s.Link,a({to:f,state:c,getProps:n,innerRef:this.handleRef,onMouseEnter:e=>{i&&i(e);const t=l(f);___loader.hovering(t.pathname+t.search)},onClick:e=>{if(r&&r(e),!(0!==e.button||this.props.target||e.defaultPrevented||e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)){e.preventDefault();let t=p;const n=encodeURI(f)===h.pathname;"boolean"!=typeof p&&n&&(t=!0),window.___navigate(f,{state:c,replace:t})}return!0}},d)):o.createElement("a",a({href:f},d))}}S.propTypes=a({},b,{onClick:r.func,to:r.string.isRequired,replace:r.bool,state:r.object});const x=o.forwardRef((e,t)=>o.createElement(w,a({innerRef:t},e))),k=(e,t)=>{window.___navigate(m(e,window.location.pathname),t)}},7231:function(e,t,n){"use strict";n.d(t,{de:function(){return l},G:function(){return o},GR:function(){return c}});var r=n(6540);const o=(s="StaticQuery",i={},r.createServerContext?function(e,t){return void 0===t&&(t=null),globalThis.__SERVER_CONTEXT||(globalThis.__SERVER_CONTEXT={}),globalThis.__SERVER_CONTEXT[e]||(globalThis.__SERVER_CONTEXT[e]=r.createServerContext(e,t)),globalThis.__SERVER_CONTEXT[e]}(s,i):r.createContext(i));var s,i;function a(e){let{staticQueryData:t,data:n,query:o,render:s}=e;const i=n?n.data:t[o]&&t[o].data;return r.createElement(r.Fragment,null,i&&s(i),!i&&r.createElement("div",null,"Loading (StaticQuery)"))}const l=e=>{const{data:t,query:n,render:s,children:i}=e;return r.createElement(o.Consumer,null,e=>r.createElement(a,{data:t,query:n,render:s||i,staticQueryData:e}))},c=e=>{var t;r.useContext;const n=r.useContext(o);if(isNaN(Number(e)))throw new Error(`useStaticQuery was called with a string but expects to be called using \`graphql\`. Try this:\n\nimport { useStaticQuery, graphql } from 'gatsby';\n\nuseStaticQuery(graphql\`${e}\`);\n`);if(null!==(t=n[e])&&void 0!==t&&t.data)return n[e].data;throw new Error("The result of this StaticQuery could not be fetched.\n\nThis is likely a bug in Gatsby and if refreshing the page does not fix it, please open an issue in https://github.com/gatsbyjs/gatsby/issues")}},7387:function(e,t,n){"use strict";n.d(t,{A:function(){return o}});var r=n(3662);function o(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,r.A)(e,t)}},7581:function(e,t,n){"use strict";n.r(t),n.d(t,{ServerStyleSheet:function(){return an},StyleSheetConsumer:function(){return $t},StyleSheetContext:function(){return Lt},StyleSheetManager:function(){return Tt},ThemeConsumer:function(){return Wt},ThemeContext:function(){return Bt},ThemeProvider:function(){return qt},__PRIVATE__:function(){return ln},createGlobalStyle:function(){return rn},css:function(){return Xt},default:function(){return tn},isStyledComponent:function(){return Xe},keyframes:function(){return on},styled:function(){return tn},useTheme:function(){return zt},version:function(){return de},withTheme:function(){return sn}});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};Object.create;function o(e,t,n){if(n||2===arguments.length)for(var r,o=0,s=t.length;o<s;o++)!r&&o in t||(r||(r=Array.prototype.slice.call(t,0,o)),r[o]=t[o]);return e.concat(r||Array.prototype.slice.call(t))}Object.create;"function"==typeof SuppressedError&&SuppressedError;var s=n(6540),i=n(2833),a=n.n(i),l="-ms-",c="-moz-",u="-webkit-",p="comm",h="rule",d="decl",f="@import",g="@namespace",m="@keyframes",y="@layer",v=Math.abs,b=String.fromCharCode,w=Object.assign;function S(e){return e.trim()}function x(e,t){return(e=t.exec(e))?e[0]:e}function k(e,t,n){return e.replace(t,n)}function O(e,t,n){return e.indexOf(t,n)}function E(e,t){return 0|e.charCodeAt(t)}function P(e,t,n){return e.slice(t,n)}function R(e){return e.length}function C(e){return e.length}function N(e,t){return t.push(e),e}function L(e,t){return e.filter(function(e){return!x(e,t)})}var $=1,_=1,j=0,T=0,I=0,A="";function D(e,t,n,r,o,s,i,a){return{value:e,root:t,parent:n,type:r,props:o,children:s,line:$,column:_,length:i,return:"",siblings:a}}function F(e,t){return w(D("",null,null,"",null,null,0,e.siblings),e,{length:-e.length},t)}function M(e){for(;e.root;)e=F(e.root,{children:[e]});N(e,e.siblings)}function U(){return I=T>0?E(A,--T):0,_--,10===I&&(_=1,$--),I}function H(){return I=T<j?E(A,T++):0,_++,10===I&&(_=1,$++),I}function V(){return E(A,T)}function K(){return T}function B(e,t){return P(A,e,t)}function W(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function z(e){return $=_=1,j=R(A=e),T=0,[]}function q(e){return A="",e}function J(e){return S(B(T-1,Y(91===e?e+2:40===e?e+1:e)))}function G(e){for(;(I=V())&&I<33;)H();return W(e)>2||W(I)>3?"":" "}function Q(e,t){for(;--t&&H()&&!(I<48||I>102||I>57&&I<65||I>70&&I<97););return B(e,K()+(t<6&&32==V()&&32==H()))}function Y(e){for(;H();)switch(I){case e:return T;case 34:case 39:34!==e&&39!==e&&Y(I);break;case 40:41===e&&Y(e);break;case 92:H()}return T}function X(e,t){for(;H()&&e+I!==57&&(e+I!==84||47!==V()););return"/*"+B(t,T-1)+"*"+b(47===e?e:H())}function Z(e){for(;!W(V());)H();return B(e,T)}function ee(e,t){for(var n="",r=0;r<e.length;r++)n+=t(e[r],r,e,t)||"";return n}function te(e,t,n,r){switch(e.type){case y:if(e.children.length)break;case f:case g:case d:return e.return=e.return||e.value;case p:return"";case m:return e.return=e.value+"{"+ee(e.children,r)+"}";case h:if(!R(e.value=e.props.join(",")))return""}return R(n=ee(e.children,r))?e.return=e.value+"{"+n+"}":""}function ne(e,t,n){switch(function(e,t){return 45^E(e,0)?(((t<<2^E(e,0))<<2^E(e,1))<<2^E(e,2))<<2^E(e,3):0}(e,t)){case 5103:return u+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:case 6391:case 5879:case 5623:case 6135:case 4599:return u+e+e;case 4855:return u+e.replace("add","source-over").replace("substract","source-out").replace("intersect","source-in").replace("exclude","xor")+e;case 4789:return c+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return u+e+c+e+l+e+e;case 5936:switch(E(e,t+11)){case 114:return u+e+l+k(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return u+e+l+k(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return u+e+l+k(e,/[svh]\w+-[tblr]{2}/,"lr")+e}case 6828:case 4268:case 2903:return u+e+l+e+e;case 6165:return u+e+l+"flex-"+e+e;case 5187:return u+e+k(e,/(\w+).+(:[^]+)/,u+"box-$1$2"+l+"flex-$1$2")+e;case 5443:return u+e+l+"flex-item-"+k(e,/flex-|-self/g,"")+(x(e,/flex-|baseline/)?"":l+"grid-row-"+k(e,/flex-|-self/g,""))+e;case 4675:return u+e+l+"flex-line-pack"+k(e,/align-content|flex-|-self/g,"")+e;case 5548:return u+e+l+k(e,"shrink","negative")+e;case 5292:return u+e+l+k(e,"basis","preferred-size")+e;case 6060:return u+"box-"+k(e,"-grow","")+u+e+l+k(e,"grow","positive")+e;case 4554:return u+k(e,/([^-])(transform)/g,"$1"+u+"$2")+e;case 6187:return k(k(k(e,/(zoom-|grab)/,u+"$1"),/(image-set)/,u+"$1"),e,"")+e;case 5495:case 3959:return k(e,/(image-set\([^]*)/,u+"$1$`$1");case 4968:return k(k(e,/(.+:)(flex-)?(.*)/,u+"box-pack:$3"+l+"flex-pack:$3"),/space-between/,"justify")+u+e+e;case 4200:if(!x(e,/flex-|baseline/))return l+"grid-column-align"+P(e,t)+e;break;case 2592:case 3360:return l+k(e,"template-","")+e;case 4384:case 3616:return n&&n.some(function(e,n){return t=n,x(e.props,/grid-\w+-end/)})?~O(e+(n=n[t].value),"span",0)?e:l+k(e,"-start","")+e+l+"grid-row-span:"+(~O(n,"span",0)?x(n,/\d+/):+x(n,/\d+/)-+x(e,/\d+/))+";":l+k(e,"-start","")+e;case 4896:case 4128:return n&&n.some(function(e){return x(e.props,/grid-\w+-start/)})?e:l+k(k(e,"-end","-span"),"span ","")+e;case 4095:case 3583:case 4068:case 2532:return k(e,/(.+)-inline(.+)/,u+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(R(e)-1-t>6)switch(E(e,t+1)){case 109:if(45!==E(e,t+4))break;case 102:return k(e,/(.+:)(.+)-([^]+)/,"$1"+u+"$2-$3$1"+c+(108==E(e,t+3)?"$3":"$2-$3"))+e;case 115:return~O(e,"stretch",0)?ne(k(e,"stretch","fill-available"),t,n)+e:e}break;case 5152:case 5920:return k(e,/(.+?):(\d+)(\s*\/\s*(span)?\s*(\d+))?(.*)/,function(t,n,r,o,s,i,a){return l+n+":"+r+a+(o?l+n+"-span:"+(s?i:+i-+r)+a:"")+e});case 4949:if(121===E(e,t+6))return k(e,":",":"+u)+e;break;case 6444:switch(E(e,45===E(e,14)?18:11)){case 120:return k(e,/(.+:)([^;\s!]+)(;|(\s+)?!.+)?/,"$1"+u+(45===E(e,14)?"inline-":"")+"box$3$1"+u+"$2$3$1"+l+"$2box$3")+e;case 100:return k(e,":",":"+l)+e}break;case 5719:case 2647:case 2135:case 3927:case 2391:return k(e,"scroll-","scroll-snap-")+e}return e}function re(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case d:return void(e.return=ne(e.value,e.length,n));case m:return ee([F(e,{value:k(e.value,"@","@"+u)})],r);case h:if(e.length)return function(e,t){return e.map(t).join("")}(n=e.props,function(t){switch(x(t,r=/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":M(F(e,{props:[k(t,/:(read-\w+)/,":"+c+"$1")]})),M(F(e,{props:[t]})),w(e,{props:L(n,r)});break;case"::placeholder":M(F(e,{props:[k(t,/:(plac\w+)/,":"+u+"input-$1")]})),M(F(e,{props:[k(t,/:(plac\w+)/,":"+c+"$1")]})),M(F(e,{props:[k(t,/:(plac\w+)/,l+"input-$1")]})),M(F(e,{props:[t]})),w(e,{props:L(n,r)})}return""})}}function oe(e){return q(se("",null,null,null,[""],e=z(e),0,[0],e))}function se(e,t,n,r,o,s,i,a,l){for(var c=0,u=0,p=i,h=0,d=0,f=0,g=1,m=1,y=1,w=0,S="",x=o,C=s,L=r,$=S;m;)switch(f=w,w=H()){case 40:if(108!=f&&58==E($,p-1)){-1!=O($+=k(J(w),"&","&\f"),"&\f",v(c?a[c-1]:0))&&(y=-1);break}case 34:case 39:case 91:$+=J(w);break;case 9:case 10:case 13:case 32:$+=G(f);break;case 92:$+=Q(K()-1,7);continue;case 47:switch(V()){case 42:case 47:N(ae(X(H(),K()),t,n,l),l),5!=W(f||1)&&5!=W(V()||1)||!R($)||" "===P($,-1,void 0)||($+=" ");break;default:$+="/"}break;case 123*g:a[c++]=R($)*y;case 125*g:case 59:case 0:switch(w){case 0:case 125:m=0;case 59+u:-1==y&&($=k($,/\f/g,"")),d>0&&(R($)-p||0===g&&47===f)&&N(d>32?le($+";",r,n,p-1,l):le(k($," ","")+";",r,n,p-2,l),l);break;case 59:$+=";";default:if(N(L=ie($,t,n,c,u,o,a,S,x=[],C=[],p,s),s),123===w)if(0===u)se($,t,L,L,x,s,p,a,C);else{switch(h){case 99:if(110===E($,3))break;case 108:if(97===E($,2))break;default:u=0;case 100:case 109:case 115:}u?se(e,L,L,r&&N(ie(e,L,L,0,0,o,a,S,o,x=[],p,C),C),o,C,p,a,r?x:C):se($,L,L,L,[""],C,0,a,C)}}c=u=d=0,g=y=1,S=$="",p=i;break;case 58:p=1+R($),d=f;default:if(g<1)if(123==w)--g;else if(125==w&&0==g++&&125==U())continue;switch($+=b(w),w*g){case 38:y=u>0?1:($+="\f",-1);break;case 44:a[c++]=(R($)-1)*y,y=1;break;case 64:45===V()&&($+=J(H())),h=V(),u=p=R(S=$+=Z(K())),w++;break;case 45:45===f&&2==R($)&&(g=0)}}return s}function ie(e,t,n,r,o,s,i,a,l,c,u,p){for(var d=o-1,f=0===o?s:[""],g=C(f),m=0,y=0,b=0;m<r;++m)for(var w=0,x=P(e,d+1,d=v(y=i[m])),O=e;w<g;++w)(O=S(y>0?f[w]+" "+x:k(x,/&\f/g,f[w])))&&(l[b++]=O);return D(e,t,n,0===o?h:a,l,c,u,p)}function ae(e,t,n,r){return D(e,t,n,p,b(I),P(e,2,-2),0,r)}function le(e,t,n,r,o){return D(e,t,n,d,P(e,0,r),P(e,r+1,-1),r,o)}var ce={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},ue="undefined"!=typeof process&&void 0!=={}&&({}.REACT_APP_SC_ATTR||{}.SC_ATTR)||"data-styled",pe="active",he="data-styled-version",de="6.2.0",fe="/*!sc*/\n",ge="undefined"!=typeof window&&"undefined"!=typeof document,me=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}&&void 0!=={}.REACT_APP_SC_DISABLE_SPEEDY&&""!=={}.REACT_APP_SC_DISABLE_SPEEDY?"false"!=={}.REACT_APP_SC_DISABLE_SPEEDY&&{}.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!=={}&&void 0!=={}.SC_DISABLE_SPEEDY&&""!=={}.SC_DISABLE_SPEEDY&&("false"!=={}.SC_DISABLE_SPEEDY&&{}.SC_DISABLE_SPEEDY)),ye={},ve=(new Set,Object.freeze([])),be=Object.freeze({});function we(e,t,n){return void 0===n&&(n=be),e.theme!==n.theme&&e.theme||t||n.theme}var Se=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),xe=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,ke=/(^-|-$)/g;function Oe(e){return e.replace(xe,"-").replace(ke,"")}var Ee=/(a)(d)/gi,Pe=52,Re=function(e){return String.fromCharCode(e+(e>25?39:97))};function Ce(e){var t,n="";for(t=Math.abs(e);t>Pe;t=t/Pe|0)n=Re(t%Pe)+n;return(Re(t%Pe)+n).replace(Ee,"$1-$2")}var Ne,Le=5381,$e=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},_e=function(e){return $e(Le,e)};function je(e){return Ce(_e(e)>>>0)}function Te(e){return e.displayName||e.name||"Component"}function Ie(e){return"string"==typeof e&&!0}var Ae="function"==typeof Symbol&&Symbol.for,De=Ae?Symbol.for("react.memo"):60115,Fe=Ae?Symbol.for("react.forward_ref"):60112,Me={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},Ue={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},He={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Ve=((Ne={})[Fe]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Ne[De]=He,Ne);function Ke(e){return("type"in(t=e)&&t.type.$$typeof)===De?He:"$$typeof"in e?Ve[e.$$typeof]:Me;var t}var Be=Object.defineProperty,We=Object.getOwnPropertyNames,ze=Object.getOwnPropertySymbols,qe=Object.getOwnPropertyDescriptor,Je=Object.getPrototypeOf,Ge=Object.prototype;function Qe(e,t,n){if("string"!=typeof t){if(Ge){var r=Je(t);r&&r!==Ge&&Qe(e,r,n)}var o=We(t);ze&&(o=o.concat(ze(t)));for(var s=Ke(e),i=Ke(t),a=0;a<o.length;++a){var l=o[a];if(!(l in Ue||n&&n[l]||i&&l in i||s&&l in s)){var c=qe(t,l);try{Be(e,l,c)}catch(e){}}}}return e}function Ye(e){return"function"==typeof e}function Xe(e){return"object"==typeof e&&"styledComponentId"in e}function Ze(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function et(e,t){if(0===e.length)return"";for(var n=e[0],r=1;r<e.length;r++)n+=t?t+e[r]:e[r];return n}function tt(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function nt(e,t,n){if(void 0===n&&(n=!1),!n&&!tt(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var r=0;r<t.length;r++)e[r]=nt(e[r],t[r]);else if(tt(t))for(var r in t)e[r]=nt(e[r],t[r]);return e}function rt(e,t){Object.defineProperty(e,"toString",{value:t})}function ot(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(e," for more information.").concat(t.length>0?" Args: ".concat(t.join(", ")):""))}var st=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)if((o<<=1)<0)throw ot(16,"".concat(e));this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++)},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n)}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+="".concat(this.tag.getRule(s)).concat(fe);return t},e}(),it=new Map,at=new Map,lt=1,ct=function(e){if(it.has(e))return it.get(e);for(;at.has(lt);)lt++;var t=lt++;return it.set(e,t),at.set(t,e),t},ut=function(e,t){lt=t+1,it.set(e,t),at.set(t,e)},pt="style[".concat(ue,"][").concat(he,'="').concat(de,'"]'),ht=new RegExp("^".concat(ue,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),dt=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r)},ft=function(e,t){for(var n,r=(null!==(n=t.textContent)&&void 0!==n?n:"").split(fe),o=[],s=0,i=r.length;s<i;s++){var a=r[s].trim();if(a){var l=a.match(ht);if(l){var c=0|parseInt(l[1],10),u=l[2];0!==c&&(ut(u,c),dt(e,u,l[3]),e.getTag().insertRules(c,o)),o.length=0}else o.push(a)}}},gt=function(e){for(var t=document.querySelectorAll(pt),n=0,r=t.length;n<r;n++){var o=t[n];o&&o.getAttribute(ue)!==pe&&(ft(e,o),o.parentNode&&o.parentNode.removeChild(o))}};function mt(){return n.nc}var yt=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){var t=Array.from(e.querySelectorAll("style[".concat(ue,"]")));return t[t.length-1]}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(ue,pe),r.setAttribute(he,de);var i=mt();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},vt=function(){function e(e){this.element=yt(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}throw ot(17)}(this.element),this.length=0}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return!1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),bt=function(){function e(e){this.element=yt(e),this.nodes=this.element.childNodes,this.length=0}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return!1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),wt=function(){function e(e){this.rules=[],this.length=0}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),St=ge,xt={isServer:!ge,useCSSOMInjection:!me},kt=function(){function e(e,t,n){void 0===e&&(e=be),void 0===t&&(t={});var o=this;this.options=r(r({},xt),e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&ge&&St&&(St=!1,gt(this)),rt(this,function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=function(n){var o=function(e){return at.get(e)}(n);if(void 0===o)return"continue";var s=e.names.get(o),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return"continue";var a="".concat(ue,".g").concat(n,'[id="').concat(o,'"]'),l="";void 0!==s&&s.forEach(function(e){e.length>0&&(l+="".concat(e,","))}),r+="".concat(i).concat(a,'{content:"').concat(l,'"}').concat(fe)},s=0;s<n;s++)o(s);return r}(o)})}return e.registerId=function(e){return ct(e)},e.prototype.rehydrate=function(){!this.server&&ge&>(this)},e.prototype.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(r(r({},this.options),t),this.gs,n&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new wt(n):t?new vt(n):new bt(n)}(this.options),new st(e)));var e},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(ct(e),this.names.has(e))this.names.get(e).add(t);else{var n=new Set;n.add(t),this.names.set(e,n)}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(ct(e),n)},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear()},e.prototype.clearRules=function(e){this.getTag().clearGroup(ct(e)),this.clearNames(e)},e.prototype.clearTag=function(){this.tag=void 0},e}(),Ot=/&/g,Et=/^\s*\/\/.*$/gm;function Pt(e,t){return e.map(function(e){return"rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return"".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Pt(e.children,t)),e})}function Rt(e){var t,n,r,o=void 0===e?be:e,s=o.options,i=void 0===s?be:s,a=o.plugins,l=void 0===a?ve:a,c=function(e,r,o){return o.startsWith(n)&&o.endsWith(n)&&o.replaceAll(n,"").length>0?".".concat(t):e},u=l.slice();u.push(function(e){e.type===h&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(Ot,n).replace(r,c))}),i.prefix&&u.push(re),u.push(te);var p=function(e,o,s,a){void 0===o&&(o=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=o,r=new RegExp("\\".concat(n,"\\b"),"g");var l=e.replace(Et,""),c=oe(s||o?"".concat(s," ").concat(o," { ").concat(l," }"):l);i.namespace&&(c=Pt(c,i.namespace));var p,h,d,f=[];return ee(c,(p=u.concat((d=function(e){return f.push(e)},function(e){e.root||(e=e.return)&&d(e)})),h=C(p),function(e,t,n,r){for(var o="",s=0;s<h;s++)o+=p[s](e,t,n,r)||"";return o})),f};return p.hash=l.length?l.reduce(function(e,t){return t.name||ot(15),$e(e,t.name)},Le).toString():"",p}var Ct=new kt,Nt=Rt(),Lt=s.createContext({shouldForwardProp:void 0,styleSheet:Ct,stylis:Nt}),$t=Lt.Consumer,_t=s.createContext(void 0);function jt(){return(0,s.useContext)(Lt)}function Tt(e){var t=(0,s.useState)(e.stylisPlugins),n=t[0],r=t[1],o=jt().styleSheet,i=(0,s.useMemo)(function(){var t=o;return e.sheet?t=e.sheet:e.target&&(t=t.reconstructWithOptions({target:e.target},!1)),e.disableCSSOMInjection&&(t=t.reconstructWithOptions({useCSSOMInjection:!1})),t},[e.disableCSSOMInjection,e.sheet,e.target,o]),l=(0,s.useMemo)(function(){return Rt({options:{namespace:e.namespace,prefix:e.enableVendorPrefixes},plugins:n})},[e.enableVendorPrefixes,e.namespace,n]);(0,s.useEffect)(function(){a()(n,e.stylisPlugins)||r(e.stylisPlugins)},[e.stylisPlugins]);var c=(0,s.useMemo)(function(){return{shouldForwardProp:e.shouldForwardProp,styleSheet:i,stylis:l}},[e.shouldForwardProp,i,l]);return s.createElement(Lt.Provider,{value:c},s.createElement(_t.Provider,{value:l},e.children))}var It=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=Nt);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"))},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,rt(this,function(){throw ot(12,String(n.name))})}return e.prototype.getName=function(e){return void 0===e&&(e=Nt),this.name+e.hash},e}(),At=function(e){return e>="A"&&e<="Z"};function Dt(e){for(var t="",n=0;n<e.length;n++){var r=e[n];if(1===n&&"-"===r&&"-"===e[0])return e;At(r)?t+="-"+r.toLowerCase():t+=r}return t.startsWith("ms-")?"-"+t:t}var Ft=function(e){return null==e||!1===e||""===e},Mt=function(e){var t,n,r=[];for(var s in e){var i=e[s];e.hasOwnProperty(s)&&!Ft(i)&&(Array.isArray(i)&&i.isCss||Ye(i)?r.push("".concat(Dt(s),":"),i,";"):tt(i)?r.push.apply(r,o(o(["".concat(s," {")],Mt(i),!1),["}"],!1)):r.push("".concat(Dt(s),": ").concat((t=s,null==(n=i)||"boolean"==typeof n||""===n?"":"number"!=typeof n||0===n||t in ce||t.startsWith("--")?String(n).trim():"".concat(n,"px")),";")))}return r};function Ut(e,t,n,r){return Ft(e)?[]:Xe(e)?[".".concat(e.styledComponentId)]:Ye(e)?!Ye(o=e)||o.prototype&&o.prototype.isReactComponent||!t?[e]:Ut(e(t),t,n,r):e instanceof It?n?(e.inject(n,r),[e.getName(r)]):[e]:tt(e)?Mt(e):Array.isArray(e)?Array.prototype.concat.apply(ve,e.map(function(e){return Ut(e,t,n,r)})):[e.toString()];var o}function Ht(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(Ye(n)&&!Xe(n))return!1}return!0}var Vt=_e(de),Kt=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ht(e),this.componentId=t,this.baseHash=$e(Vt,t),this.baseStyle=n,kt.registerId(t)}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))r=Ze(r,this.staticRulesId);else{var o=et(Ut(this.rules,e,t,n)),s=Ce($e(this.baseHash,o)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(o,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i)}r=Ze(r,s),this.staticRulesId=s}else{for(var a=$e(this.baseHash,n.hash),l="",c=0;c<this.rules.length;c++){var u=this.rules[c];if("string"==typeof u)l+=u;else if(u){var p=et(Ut(u,e,t,n));a=$e(a,p+c),l+=p}}if(l){var h=Ce(a>>>0);t.hasNameForId(this.componentId,h)||t.insertRules(this.componentId,h,n(l,".".concat(h),void 0,this.componentId)),r=Ze(r,h)}}return r},e}(),Bt=s.createContext(void 0),Wt=Bt.Consumer;function zt(){var e=(0,s.useContext)(Bt);if(!e)throw ot(18);return e}function qt(e){var t=s.useContext(Bt),n=(0,s.useMemo)(function(){return function(e,t){if(!e)throw ot(14);if(Ye(e))return e(t);if(Array.isArray(e)||"object"!=typeof e)throw ot(8);return t?r(r({},t),e):e}(e.theme,t)},[e.theme,t]);return e.children?s.createElement(Bt.Provider,{value:n},e.children):null}var Jt={};new Set;function Gt(e,t,n){var o=Xe(e),i=e,a=!Ie(e),l=t.attrs,c=void 0===l?ve:l,u=t.componentId,p=void 0===u?function(e,t){var n="string"!=typeof e?"sc":Oe(e);Jt[n]=(Jt[n]||0)+1;var r="".concat(n,"-").concat(je(de+n+Jt[n]));return t?"".concat(t,"-").concat(r):r}(t.displayName,t.parentComponentId):u,h=t.displayName,d=void 0===h?function(e){return Ie(e)?"styled.".concat(e):"Styled(".concat(Te(e),")")}(e):h,f=t.displayName&&t.componentId?"".concat(Oe(t.displayName),"-").concat(t.componentId):t.componentId||p,g=o&&i.attrs?i.attrs.concat(c).filter(Boolean):c,m=t.shouldForwardProp;if(o&&i.shouldForwardProp){var y=i.shouldForwardProp;if(t.shouldForwardProp){var v=t.shouldForwardProp;m=function(e,t){return y(e,t)&&v(e,t)}}else m=y}var b=new Kt(n,f,o?i.componentStyle:void 0);function w(e,t){return function(e,t,n){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,l=e.foldedComponentIds,c=e.styledComponentId,u=e.target,p=s.useContext(Bt),h=jt(),d=e.shouldForwardProp||h.shouldForwardProp,f=we(t,p,a)||be,g=function(e,t,n){for(var o,s=r(r({},t),{className:void 0,theme:n}),i=0;i<e.length;i+=1){var a=Ye(o=e[i])?o(s):o;for(var l in a)"className"===l?s.className=Ze(s.className,a[l]):"style"===l?s.style=r(r({},s.style),a[l]):s[l]=a[l]}return"className"in t&&"string"==typeof t.className&&(s.className=Ze(s.className,t.className)),s}(o,t,f),m=g.as||u,y={};for(var v in g)void 0===g[v]||"$"===v[0]||"as"===v||"theme"===v&&g.theme===f||("forwardedAs"===v?y.as=g.forwardedAs:d&&!d(v,m)||(y[v]=g[v]));var b=function(e,t){var n=jt();return e.generateAndInjectStyles(t,n.styleSheet,n.stylis)}(i,g),w=Ze(l,c);return b&&(w+=" "+b),g.className&&(w+=" "+g.className),y[Ie(m)&&!Se.has(m)?"class":"className"]=w,n&&(y.ref=n),(0,s.createElement)(m,y)}(S,e,t)}w.displayName=d;var S=s.forwardRef(w);return S.attrs=g,S.componentStyle=b,S.displayName=d,S.shouldForwardProp=m,S.foldedComponentIds=o?Ze(i.foldedComponentIds,i.styledComponentId):"",S.styledComponentId=f,S.target=o?i.target:e,Object.defineProperty(S,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=o?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var r=0,o=t;r<o.length;r++)nt(e,o[r],!0);return e}({},i.defaultProps,e):e}}),rt(S,function(){return".".concat(S.styledComponentId)}),a&&Qe(S,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),S}function Qt(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n}var Yt=function(e){return Object.assign(e,{isCss:!0})};function Xt(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];if(Ye(e)||tt(e))return Yt(Ut(Qt(ve,o([e],t,!0))));var r=e;return 0===t.length&&1===r.length&&"string"==typeof r[0]?Ut(r):Yt(Ut(Qt(r,t)))}function Zt(e,t,n){if(void 0===n&&(n=be),!t)throw ot(1,t);var s=function(r){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return e(t,n,Xt.apply(void 0,o([r],s,!1)))};return s.attrs=function(o){return Zt(e,t,r(r({},n),{attrs:Array.prototype.concat(n.attrs,o).filter(Boolean)}))},s.withConfig=function(o){return Zt(e,t,r(r({},n),o))},s}var en=function(e){return Zt(Gt,e)},tn=en;Se.forEach(function(e){tn[e]=en(e)});var nn=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ht(e),kt.registerId(this.componentId+1)}return e.prototype.createStyles=function(e,t,n,r){var o=r(et(Ut(this.rules,t,n,r)),""),s=this.componentId+e;n.insertRules(s,s,o)},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e)},e.prototype.renderStyles=function(e,t,n,r){e>2&&kt.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,r)},e}();function rn(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var i=Xt.apply(void 0,o([e],t,!1)),a="sc-global-".concat(je(JSON.stringify(i))),l=new nn(i,a),c=function(e){var t=jt(),n=s.useContext(Bt),r=s.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),s.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return l.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,t,n,o,s){if(l.isStatic)l.renderStyles(e,ye,n,s);else{var i=r(r({},t),{theme:we(t,o,c.defaultProps)});l.renderStyles(e,i,n,s)}}return s.memo(c)}function on(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];var r=et(Xt.apply(void 0,o([e],t,!1))),s=je(r);return new It(s,r)}function sn(e){var t=s.forwardRef(function(t,n){var o=we(t,s.useContext(Bt),e.defaultProps);return s.createElement(e,r(r({},t),{theme:o,ref:n}))});return t.displayName="WithTheme(".concat(Te(e),")"),Qe(t,e)}var an=function(){function e(){var e=this;this._emitSheetCSS=function(){var t=e.instance.toString();if(!t)return"";var n=mt(),r=et([n&&'nonce="'.concat(n,'"'),"".concat(ue,'="true"'),"".concat(he,'="').concat(de,'"')].filter(Boolean)," ");return"<style ".concat(r,">").concat(t,"</style>")},this.getStyleTags=function(){if(e.sealed)throw ot(2);return e._emitSheetCSS()},this.getStyleElement=function(){var t;if(e.sealed)throw ot(2);var n=e.instance.toString();if(!n)return[];var o=((t={})[ue]="",t[he]=de,t.dangerouslySetInnerHTML={__html:n},t),i=mt();return i&&(o.nonce=i),[s.createElement("style",r({},o,{key:"sc-0-0"}))]},this.seal=function(){e.sealed=!0},this.instance=new kt({isServer:!0}),this.sealed=!1}return e.prototype.collectStyles=function(e){if(this.sealed)throw ot(2);return s.createElement(Tt,{sheet:this.instance},e)},e.prototype.interleaveWithNodeStream=function(e){throw ot(3)},e}(),ln={StyleSheet:kt,mainSheet:Ct};"__sc-".concat(ue,"__")},7914:function(e,t,n){"use strict";n.r(t),n.d(t,{onRouteUpdate:function(){return r}});n(4794),n(4598);const r=function(e,t){let{location:n}=e}},8108:function(e,t,n){"use strict";n.r(t)},8163:function(e,t,n){"use strict";e.exports=n(207)},8493:function(e,t,n){"use strict";var r=n(6540);var o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=r.useState,i=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(r){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=s({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return a(function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})},[e,n,t]),i(function(){return c(o)&&u({inst:o}),e(function(){c(o)&&u({inst:o})})},[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},8797:function(e,t,n){"use strict";function r(e,t){return void 0===t&&(t=""),t?e===t?"/":e.startsWith(`${t}/`)?e.slice(t.length):e:e}n.d(t,{A:function(){return r}})},8990:function(e,t,n){"use strict";n.d(t,{Yl:function(){return h},Hh:function(){return f},UA:function(){return d},QX:function(){return p}});var r=n(6462),o=n(8797),s=e=>{if(void 0===e)return e;let[t,n=""]=e.split("?");return n&&(n="?"+n),"/"===t?"/"+n:"/"===t.charAt(t.length-1)?t.slice(0,-1)+n:t+n},i=n(6491);const a=new Map;let l=[];const c=e=>{let t=e;if(-1!==e.indexOf("?")){const[n,r]=e.split("?");t=`${n}?${encodeURIComponent(r)}`}const n=decodeURIComponent(t);return(0,o.A)(n,decodeURIComponent("")).split("#")[0]};function u(e){return e.startsWith("/")||e.startsWith("https://")||e.startsWith("http://")?e:new URL(e,window.location.href+(window.location.href.endsWith("/")?"":"/")).pathname}const p=e=>{l=e},h=e=>{const t=g(e),n=l.map(e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}}),o=(0,r.pick)(n,t);return o?s(o.route.originalPath):null},d=e=>{const t=g(e),n=l.map(e=>{let{path:t,matchPath:n}=e;return{path:n,originalPath:t}}),o=(0,r.pick)(n,t);return o?o.params:{}},f=e=>{const t=c(u(e));if(a.has(t))return a.get(t);const n=(0,i.X)(e);if(n)return f(n.toPath);let r=h(t);return r||(r=g(e)),a.set(t,r),r},g=e=>{let t=c(u(e));return"/index.html"===t&&(t="/"),t=s(t),t}},9300:function(e,t,n){"use strict";t.__esModule=!0,t.injectPartytownSnippet=function(e){if(!e.length)return;const t=document.querySelector("script[data-partytown]"),n=document.querySelector('iframe[src*="~partytown/partytown-sandbox-sw"]');t&&t.remove();n&&n.remove();const s=(0,o.getForwards)(e),i=document.createElement("script");i.dataset.partytown="",i.innerHTML=(0,r.partytownSnippet)({forward:s}),document.head.appendChild(i)};var r=n(4656),o=n(3309)},9369:function(e,t,n){"use strict";n.d(t,{A:function(){return r}});var r=function(e){return e=e||Object.create(null),{on:function(t,n){(e[t]||(e[t]=[])).push(n)},off:function(t,n){e[t]&&e[t].splice(e[t].indexOf(n)>>>0,1)},emit:function(t,n){(e[t]||[]).slice().map(function(e){e(n)}),(e["*"]||[]).slice().map(function(e){e(t,n)})}}}()},9377:function(e,t,n){e.exports=[{plugin:n(2039),options:{plugins:[],displayName:!0,fileName:!0,minify:!0,namespace:"",transpileTemplateLiterals:!0,topLevelImportPaths:[],pure:!1,disableVendorPrefixes:!1}},{plugin:n(7914),options:{plugins:[],icon:"/Users/rngadam/coderbunker/src/coderbunker.ca/src/assets/images/coderbunker-icon.png",legacy:!0,theme_color_in_head:!0,cache_busting_mode:"query",crossOrigin:"anonymous",include_favicon:!0,cacheDigest:"15e681ce9620abefbbd83ba4aeba11ae"}},{plugin:n(2958),options:{plugins:[],localeJsonSourceName:"locale",languages:["en","fr"],defaultLanguage:"en",siteUrl:"https://coderbunker.ca/",i18nextOptions:{interpolation:{escapeValue:!1},keySeparator:!1,nsSeparator:!1},pages:[{matchPath:"/:language?/members/:name",getLanguageFromPath:!0,excludeLanguages:[]},{matchPath:"/preview",languages:["en"]}]}},{plugin:n(8108),options:{plugins:[]}},{plugin:n(2311),options:{plugins:[]}}]},9732:function(e,t,n){"use strict";n.d(t,{n:function(){return o}});const r=new WeakMap;function o(){const e=n(5338);return{render:(t,n)=>{let o=r.get(n);o||r.set(n,o=e.createRoot(n)),o.render(t)},hydrate:(t,n)=>e.hydrateRoot(n,t)}}},9866:function(e,t,n){"use strict";n.r(t),n.d(t,{I18nContext:function(){return Te},I18nextProvider:function(){return Ye},IcuTrans:function(){return Be},IcuTransWithoutContext:function(){return Ke},Trans:function(){return Fe},TransWithoutContext:function(){return _e},Translation:function(){return Qe},composeInitialProps:function(){return Ae},date:function(){return et},getDefaults:function(){return be},getI18n:function(){return xe},getInitialProps:function(){return De},initReactI18next:function(){return je},nodesToString:function(){return Re},number:function(){return nt},plural:function(){return ot},select:function(){return rt},selectOrdinal:function(){return st},setDefaults:function(){return ve},setI18n:function(){return Se},time:function(){return tt},useSSR:function(){return Xe},useTranslation:function(){return Je},withSSR:function(){return Ze},withTranslation:function(){return Ge}});var r=n(6540);const o=e=>"string"==typeof e,s=()=>{let e,t;const n=new Promise((n,r)=>{e=n,t=r});return n.resolve=e,n.reject=t,n},i=e=>null==e?"":""+e,a=/###/g,l=e=>e&&e.indexOf("###")>-1?e.replace(a,"."):e,c=e=>!e||o(e),u=(e,t,n)=>{const r=o(t)?t.split("."):t;let s=0;for(;s<r.length-1;){if(c(e))return{};const t=l(r[s]);!e[t]&&n&&(e[t]=new n),e=Object.prototype.hasOwnProperty.call(e,t)?e[t]:{},++s}return c(e)?{}:{obj:e,k:l(r[s])}},p=(e,t,n)=>{const{obj:r,k:o}=u(e,t,Object);if(void 0!==r||1===t.length)return void(r[o]=n);let s=t[t.length-1],i=t.slice(0,t.length-1),a=u(e,i,Object);for(;void 0===a.obj&&i.length;)s=`${i[i.length-1]}.${s}`,i=i.slice(0,i.length-1),a=u(e,i,Object),a?.obj&&void 0!==a.obj[`${a.k}.${s}`]&&(a.obj=void 0);a.obj[`${a.k}.${s}`]=n},h=(e,t)=>{const{obj:n,k:r}=u(e,t);if(n&&Object.prototype.hasOwnProperty.call(n,r))return n[r]},d=(e,t,n)=>{for(const r in t)"__proto__"!==r&&"constructor"!==r&&(r in e?o(e[r])||e[r]instanceof String||o(t[r])||t[r]instanceof String?n&&(e[r]=t[r]):d(e[r],t[r],n):e[r]=t[r]);return e},f=e=>e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var g={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const m=e=>o(e)?e.replace(/[&<>"'\/]/g,e=>g[e]):e;const y=[" ",",","?","!",";"],v=new class{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(void 0!==t)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}(20),b=(e,t,n=".")=>{if(!e)return;if(e[t]){if(!Object.prototype.hasOwnProperty.call(e,t))return;return e[t]}const r=t.split(n);let o=e;for(let s=0;s<r.length;){if(!o||"object"!=typeof o)return;let e,t="";for(let i=s;i<r.length;++i)if(i!==s&&(t+=n),t+=r[i],e=o[t],void 0!==e){if(["string","number","boolean"].indexOf(typeof e)>-1&&i<r.length-1)continue;s+=i-s+1;break}o=e}return o},w=e=>e?.replace("_","-"),S={type:"logger",log(e){this.output("log",e)},warn(e){this.output("warn",e)},error(e){this.output("error",e)},output(e,t){console?.[e]?.apply?.(console,t)}};class x{constructor(e,t={}){this.init(e,t)}init(e,t={}){this.prefix=t.prefix||"i18next:",this.logger=e||S,this.options=t,this.debug=t.debug}log(...e){return this.forward(e,"log","",!0)}warn(...e){return this.forward(e,"warn","",!0)}error(...e){return this.forward(e,"error","")}deprecate(...e){return this.forward(e,"warn","WARNING DEPRECATED: ",!0)}forward(e,t,n,r){return r&&!this.debug?null:(o(e[0])&&(e[0]=`${n}${this.prefix} ${e[0]}`),this.logger[t](e))}create(e){return new x(this.logger,{prefix:`${this.prefix}:${e}:`,...this.options})}clone(e){return(e=e||this.options).prefix=e.prefix||this.prefix,new x(this.logger,e)}}var k=new x;class O{constructor(){this.observers={}}on(e,t){return e.split(" ").forEach(e=>{this.observers[e]||(this.observers[e]=new Map);const n=this.observers[e].get(t)||0;this.observers[e].set(t,n+1)}),this}off(e,t){this.observers[e]&&(t?this.observers[e].delete(t):delete this.observers[e])}emit(e,...t){if(this.observers[e]){Array.from(this.observers[e].entries()).forEach(([e,n])=>{for(let r=0;r<n;r++)e(...t)})}if(this.observers["*"]){Array.from(this.observers["*"].entries()).forEach(([n,r])=>{for(let o=0;o<r;o++)n.apply(n,[e,...t])})}}}class E extends O{constructor(e,t={ns:["translation"],defaultNS:"translation"}){super(),this.data=e||{},this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),void 0===this.options.ignoreJSONStructure&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n,r={}){const s=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,i=void 0!==r.ignoreJSONStructure?r.ignoreJSONStructure:this.options.ignoreJSONStructure;let a;e.indexOf(".")>-1?a=e.split("."):(a=[e,t],n&&(Array.isArray(n)?a.push(...n):o(n)&&s?a.push(...n.split(s)):a.push(n)));const l=h(this.data,a);return!l&&!t&&!n&&e.indexOf(".")>-1&&(e=a[0],t=a[1],n=a.slice(2).join(".")),!l&&i&&o(n)?b(this.data?.[e]?.[t],n,s):l}addResource(e,t,n,r,o={silent:!1}){const s=void 0!==o.keySeparator?o.keySeparator:this.options.keySeparator;let i=[e,t];n&&(i=i.concat(s?n.split(s):n)),e.indexOf(".")>-1&&(i=e.split("."),r=t,t=i[1]),this.addNamespaces(t),p(this.data,i,r),o.silent||this.emit("added",e,t,n,r)}addResources(e,t,n,r={silent:!1}){for(const s in n)(o(n[s])||Array.isArray(n[s]))&&this.addResource(e,t,s,n[s],{silent:!0});r.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,r,o,s={silent:!1,skipCopy:!1}){let i=[e,t];e.indexOf(".")>-1&&(i=e.split("."),r=n,n=t,t=i[1]),this.addNamespaces(t);let a=h(this.data,i)||{};s.skipCopy||(n=JSON.parse(JSON.stringify(n))),r?d(a,n,o):a={...a,...n},p(this.data,i,a),s.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return void 0!==this.getResource(e,t)}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(e=>t[e]&&Object.keys(t[e]).length>0)}toJSON(){return this.data}}var P={processors:{},addPostProcessor(e){this.processors[e.name]=e},handle(e,t,n,r,o){return e.forEach(e=>{t=this.processors[e]?.process(t,n,r,o)??t}),t}};const R=Symbol("i18next/PATH_KEY");function C(e,t){const{[R]:n}=e(function(){const e=[],t=Object.create(null);let n;return t.get=(r,o)=>(n?.revoke?.(),o===R?e:(e.push(o),n=Proxy.revocable(r,t),n.proxy)),Proxy.revocable(Object.create(null),t).proxy}());return n.join(t?.keySeparator??".")}const N={},L=e=>!o(e)&&"boolean"!=typeof e&&"number"!=typeof e;class $ extends O{constructor(e,t={}){super(),((e,t,n)=>{e.forEach(e=>{t[e]&&(n[e]=t[e])})})(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,void 0===this.options.keySeparator&&(this.options.keySeparator="."),this.logger=k.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e,t={interpolation:{}}){const n={...t};if(null==e)return!1;const r=this.resolve(e,n);if(void 0===r?.res)return!1;const o=L(r.res);return!1!==n.returnObjects||!o}extractFromKey(e,t){let n=void 0!==t.nsSeparator?t.nsSeparator:this.options.nsSeparator;void 0===n&&(n=":");const r=void 0!==t.keySeparator?t.keySeparator:this.options.keySeparator;let s=t.ns||this.options.defaultNS||[];const i=n&&e.indexOf(n)>-1,a=!(this.options.userDefinedKeySeparator||t.keySeparator||this.options.userDefinedNsSeparator||t.nsSeparator||((e,t,n)=>{t=t||"",n=n||"";const r=y.filter(e=>t.indexOf(e)<0&&n.indexOf(e)<0);if(0===r.length)return!0;const o=v.getRegExp(`(${r.map(e=>"?"===e?"\\?":e).join("|")})`);let s=!o.test(e);if(!s){const t=e.indexOf(n);t>0&&!o.test(e.substring(0,t))&&(s=!0)}return s})(e,n,r));if(i&&!a){const t=e.match(this.interpolator.nestingRegexp);if(t&&t.length>0)return{key:e,namespaces:o(s)?[s]:s};const i=e.split(n);(n!==r||n===r&&this.options.ns.indexOf(i[0])>-1)&&(s=i.shift()),e=i.join(r)}return{key:e,namespaces:o(s)?[s]:s}}translate(e,t,n){let r="object"==typeof t?{...t}:t;if("object"!=typeof r&&this.options.overloadTranslationOptionHandler&&(r=this.options.overloadTranslationOptionHandler(arguments)),"object"==typeof r&&(r={...r}),r||(r={}),null==e)return"";"function"==typeof e&&(e=C(e,{...this.options,...r})),Array.isArray(e)||(e=[String(e)]);const s=void 0!==r.returnDetails?r.returnDetails:this.options.returnDetails,i=void 0!==r.keySeparator?r.keySeparator:this.options.keySeparator,{key:a,namespaces:l}=this.extractFromKey(e[e.length-1],r),c=l[l.length-1];let u=void 0!==r.nsSeparator?r.nsSeparator:this.options.nsSeparator;void 0===u&&(u=":");const p=r.lng||this.language,h=r.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if("cimode"===p?.toLowerCase())return h?s?{res:`${c}${u}${a}`,usedKey:a,exactUsedKey:a,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:`${c}${u}${a}`:s?{res:a,usedKey:a,exactUsedKey:a,usedLng:p,usedNS:c,usedParams:this.getUsedParamsDetails(r)}:a;const d=this.resolve(e,r);let f=d?.res;const g=d?.usedKey||a,m=d?.exactUsedKey||a,y=void 0!==r.joinArrays?r.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,b=void 0!==r.count&&!o(r.count),w=$.hasDefaultValue(r),S=b?this.pluralResolver.getSuffix(p,r.count,r):"",x=r.ordinal&&b?this.pluralResolver.getSuffix(p,r.count,{ordinal:!1}):"",k=b&&!r.ordinal&&0===r.count,O=k&&r[`defaultValue${this.options.pluralSeparator}zero`]||r[`defaultValue${S}`]||r[`defaultValue${x}`]||r.defaultValue;let E=f;v&&!f&&w&&(E=O);const P=L(E),R=Object.prototype.toString.apply(E);if(!(v&&E&&P&&["[object Number]","[object Function]","[object RegExp]"].indexOf(R)<0)||o(y)&&Array.isArray(E))if(v&&o(y)&&Array.isArray(f))f=f.join(y),f&&(f=this.extendTranslation(f,e,r,n));else{let t=!1,o=!1;!this.isValidLookup(f)&&w&&(t=!0,f=O),this.isValidLookup(f)||(o=!0,f=a);const s=(r.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&o?void 0:f,l=w&&O!==f&&this.options.updateMissing;if(o||t||l){if(this.logger.log(l?"updateKey":"missingKey",p,c,a,l?O:f),i){const e=this.resolve(a,{...r,keySeparator:!1});e&&e.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let e=[];const t=this.languageUtils.getFallbackCodes(this.options.fallbackLng,r.lng||this.language);if("fallback"===this.options.saveMissingTo&&t&&t[0])for(let r=0;r<t.length;r++)e.push(t[r]);else"all"===this.options.saveMissingTo?e=this.languageUtils.toResolveHierarchy(r.lng||this.language):e.push(r.lng||this.language);const n=(e,t,n)=>{const o=w&&n!==f?n:s;this.options.missingKeyHandler?this.options.missingKeyHandler(e,c,t,o,l,r):this.backendConnector?.saveMissing&&this.backendConnector.saveMissing(e,c,t,o,l,r),this.emit("missingKey",e,c,t,f)};this.options.saveMissing&&(this.options.saveMissingPlurals&&b?e.forEach(e=>{const t=this.pluralResolver.getSuffixes(e,r);k&&r[`defaultValue${this.options.pluralSeparator}zero`]&&t.indexOf(`${this.options.pluralSeparator}zero`)<0&&t.push(`${this.options.pluralSeparator}zero`),t.forEach(t=>{n([e],a+t,r[`defaultValue${t}`]||O)})}):n(e,a,O))}f=this.extendTranslation(f,e,r,d,n),o&&f===a&&this.options.appendNamespaceToMissingKey&&(f=`${c}${u}${a}`),(o||t)&&this.options.parseMissingKeyHandler&&(f=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}${u}${a}`:a,t?f:void 0,r))}else{if(!r.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const e=this.options.returnedObjectHandler?this.options.returnedObjectHandler(g,E,{...r,ns:l}):`key '${a} (${this.language})' returned an object instead of string.`;return s?(d.res=e,d.usedParams=this.getUsedParamsDetails(r),d):e}if(i){const e=Array.isArray(E),t=e?[]:{},n=e?m:g;for(const o in E)if(Object.prototype.hasOwnProperty.call(E,o)){const e=`${n}${i}${o}`;t[o]=w&&!f?this.translate(e,{...r,defaultValue:L(O)?O[o]:void 0,joinArrays:!1,ns:l}):this.translate(e,{...r,joinArrays:!1,ns:l}),t[o]===e&&(t[o]=E[o])}f=t}}return s?(d.res=f,d.usedParams=this.getUsedParamsDetails(r),d):f}extendTranslation(e,t,n,r,s){if(this.i18nFormat?.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||r.usedLng,r.usedNS,r.usedKey,{resolved:r});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const i=o(e)&&(void 0!==n?.interpolation?.skipOnVariables?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let a;if(i){const t=e.match(this.interpolator.nestingRegexp);a=t&&t.length}let l=n.replace&&!o(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(l={...this.options.interpolation.defaultVariables,...l}),e=this.interpolator.interpolate(e,l,n.lng||this.language||r.usedLng,n),i){const t=e.match(this.interpolator.nestingRegexp);a<(t&&t.length)&&(n.nest=!1)}!n.lng&&r&&r.res&&(n.lng=this.language||r.usedLng),!1!==n.nest&&(e=this.interpolator.nest(e,(...e)=>s?.[0]!==e[0]||n.context?this.translate(...e,t):(this.logger.warn(`It seems you are nesting recursively key: ${e[0]} in key: ${t[0]}`),null),n)),n.interpolation&&this.interpolator.reset()}const i=n.postProcess||this.options.postProcess,a=o(i)?[i]:i;return null!=e&&a?.length&&!1!==n.applyPostProcessor&&(e=P.handle(a,e,t,this.options&&this.options.postProcessPassResolved?{i18nResolved:{...r,usedParams:this.getUsedParamsDetails(n)},...n}:n,this)),e}resolve(e,t={}){let n,r,s,i,a;return o(e)&&(e=[e]),e.forEach(e=>{if(this.isValidLookup(n))return;const l=this.extractFromKey(e,t),c=l.key;r=c;let u=l.namespaces;this.options.fallbackNS&&(u=u.concat(this.options.fallbackNS));const p=void 0!==t.count&&!o(t.count),h=p&&!t.ordinal&&0===t.count,d=void 0!==t.context&&(o(t.context)||"number"==typeof t.context)&&""!==t.context,f=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);u.forEach(e=>{this.isValidLookup(n)||(a=e,N[`${f[0]}-${e}`]||!this.utils?.hasLoadedNamespace||this.utils?.hasLoadedNamespace(a)||(N[`${f[0]}-${e}`]=!0,this.logger.warn(`key "${r}" for languages "${f.join(", ")}" won't get resolved as namespace "${a}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),f.forEach(r=>{if(this.isValidLookup(n))return;i=r;const o=[c];if(this.i18nFormat?.addLookupKeys)this.i18nFormat.addLookupKeys(o,c,r,e,t);else{let e;p&&(e=this.pluralResolver.getSuffix(r,t.count,t));const n=`${this.options.pluralSeparator}zero`,s=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(p&&(t.ordinal&&0===e.indexOf(s)&&o.push(c+e.replace(s,this.options.pluralSeparator)),o.push(c+e),h&&o.push(c+n)),d){const r=`${c}${this.options.contextSeparator||"_"}${t.context}`;o.push(r),p&&(t.ordinal&&0===e.indexOf(s)&&o.push(r+e.replace(s,this.options.pluralSeparator)),o.push(r+e),h&&o.push(r+n))}}let a;for(;a=o.pop();)this.isValidLookup(n)||(s=a,n=this.getResource(r,e,a,t))}))})}),{res:n,usedKey:r,exactUsedKey:s,usedLng:i,usedNS:a}}isValidLookup(e){return!(void 0===e||!this.options.returnNull&&null===e||!this.options.returnEmptyString&&""===e)}getResource(e,t,n,r={}){return this.i18nFormat?.getResource?this.i18nFormat.getResource(e,t,n,r):this.resourceStore.getResource(e,t,n,r)}getUsedParamsDetails(e={}){const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!o(e.replace);let r=n?e.replace:e;if(n&&void 0!==e.count&&(r.count=e.count),this.options.interpolation.defaultVariables&&(r={...this.options.interpolation.defaultVariables,...r}),!n){r={...r};for(const e of t)delete r[e]}return r}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,12)&&void 0!==e[n])return!0;return!1}}class _{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=k.create("languageUtils")}getScriptPartFromCode(e){if(!(e=w(e))||e.indexOf("-")<0)return null;const t=e.split("-");return 2===t.length?null:(t.pop(),"x"===t[t.length-1].toLowerCase()?null:this.formatLanguageCode(t.join("-")))}getLanguagePartFromCode(e){if(!(e=w(e))||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(o(e)&&e.indexOf("-")>-1){let n;try{n=Intl.getCanonicalLocales(e)[0]}catch(t){}return n&&this.options.lowerCaseLng&&(n=n.toLowerCase()),n||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return("languageOnly"===this.options.load||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(e=>{if(t)return;const n=this.formatLanguageCode(e);this.options.supportedLngs&&!this.isSupportedCode(n)||(t=n)}),!t&&this.options.supportedLngs&&e.forEach(e=>{if(t)return;const n=this.getScriptPartFromCode(e);if(this.isSupportedCode(n))return t=n;const r=this.getLanguagePartFromCode(e);if(this.isSupportedCode(r))return t=r;t=this.options.supportedLngs.find(e=>e===r?e:e.indexOf("-")<0&&r.indexOf("-")<0?void 0:e.indexOf("-")>0&&r.indexOf("-")<0&&e.substring(0,e.indexOf("-"))===r||0===e.indexOf(r)&&r.length>1?e:void 0)}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if("function"==typeof e&&(e=e(t)),o(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes((!1===t?[]:t)||this.options.fallbackLng||[],e),r=[],s=e=>{e&&(this.isSupportedCode(e)?r.push(e):this.logger.warn(`rejecting language code not found in supportedLngs: ${e}`))};return o(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?("languageOnly"!==this.options.load&&s(this.formatLanguageCode(e)),"languageOnly"!==this.options.load&&"currentOnly"!==this.options.load&&s(this.getScriptPartFromCode(e)),"currentOnly"!==this.options.load&&s(this.getLanguagePartFromCode(e))):o(e)&&s(this.formatLanguageCode(e)),n.forEach(e=>{r.indexOf(e)<0&&s(this.formatLanguageCode(e))}),r}}const j={zero:0,one:1,two:2,few:3,many:4,other:5},T={select:e=>1===e?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class I{constructor(e,t={}){this.languageUtils=e,this.options=t,this.logger=k.create("pluralResolver"),this.pluralRulesCache={}}clearCache(){this.pluralRulesCache={}}getRule(e,t={}){const n=w("dev"===e?"en":e),r=t.ordinal?"ordinal":"cardinal",o=JSON.stringify({cleanedCode:n,type:r});if(o in this.pluralRulesCache)return this.pluralRulesCache[o];let s;try{s=new Intl.PluralRules(n,{type:r})}catch(i){if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),T;if(!e.match(/-|_/))return T;const n=this.languageUtils.getLanguagePartFromCode(e);s=this.getRule(n,t)}return this.pluralRulesCache[o]=s,s}needsPlural(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?.resolvedOptions().pluralCategories.length>1}getPluralFormsOfKey(e,t,n={}){return this.getSuffixes(e,n).map(e=>`${t}${e}`)}getSuffixes(e,t={}){let n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((e,t)=>j[e]-j[t]).map(e=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${e}`):[]}getSuffix(e,t,n={}){const r=this.getRule(e,n);return r?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${r.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const A=(e,t,n,r=".",s=!0)=>{let i=((e,t,n)=>{const r=h(e,n);return void 0!==r?r:h(t,n)})(e,t,n);return!i&&s&&o(n)&&(i=b(e,n,r),void 0===i&&(i=b(t,n,r))),i},D=e=>e.replace(/\$/g,"$$$$");class F{constructor(e={}){this.logger=k.create("interpolator"),this.options=e,this.format=e?.interpolation?.format||(e=>e),this.init(e)}init(e={}){e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:r,prefix:o,prefixEscaped:s,suffix:i,suffixEscaped:a,formatSeparator:l,unescapeSuffix:c,unescapePrefix:u,nestingPrefix:p,nestingPrefixEscaped:h,nestingSuffix:d,nestingSuffixEscaped:g,nestingOptionsSeparator:y,maxReplaces:v,alwaysFormat:b}=e.interpolation;this.escape=void 0!==t?t:m,this.escapeValue=void 0===n||n,this.useRawValueToEscape=void 0!==r&&r,this.prefix=o?f(o):s||"{{",this.suffix=i?f(i):a||"}}",this.formatSeparator=l||",",this.unescapePrefix=c?"":u||"-",this.unescapeSuffix=this.unescapePrefix?"":c||"",this.nestingPrefix=p?f(p):h||f("$t("),this.nestingSuffix=d?f(d):g||f(")"),this.nestingOptionsSeparator=y||",",this.maxReplaces=v||1e3,this.alwaysFormat=void 0!==b&&b,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(e,t)=>e?.source===t?(e.lastIndex=0,e):new RegExp(t,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}((?:[^()"']+|"[^"]*"|'[^']*'|\\((?:[^()]|"[^"]*"|'[^']*')*\\))*?)${this.nestingSuffix}`)}interpolate(e,t,n,r){let s,a,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=e=>{if(e.indexOf(this.formatSeparator)<0){const o=A(t,c,e,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(o,void 0,n,{...r,...t,interpolationkey:e}):o}const o=e.split(this.formatSeparator),s=o.shift().trim(),i=o.join(this.formatSeparator).trim();return this.format(A(t,c,s,this.options.keySeparator,this.options.ignoreJSONStructure),i,n,{...r,...t,interpolationkey:s})};this.resetRegExp();const p=r?.missingInterpolationHandler||this.options.missingInterpolationHandler,h=void 0!==r?.interpolation?.skipOnVariables?r.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:e=>D(e)},{regex:this.regexp,safeValue:e=>this.escapeValue?D(this.escape(e)):D(e)}].forEach(t=>{for(l=0;s=t.regex.exec(e);){const n=s[1].trim();if(a=u(n),void 0===a)if("function"==typeof p){const t=p(e,s,r);a=o(t)?t:""}else if(r&&Object.prototype.hasOwnProperty.call(r,n))a="";else{if(h){a=s[0];continue}this.logger.warn(`missed to pass in variable ${n} for interpolating ${e}`),a=""}else o(a)||this.useRawValueToEscape||(a=i(a));const c=t.safeValue(a);if(e=e.replace(s[0],c),h?(t.regex.lastIndex+=a.length,t.regex.lastIndex-=s[0].length):t.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t,n={}){let r,s,a;const l=(e,t)=>{const n=this.nestingOptionsSeparator;if(e.indexOf(n)<0)return e;const r=e.split(new RegExp(`${n}[ ]*{`));let o=`{${r[1]}`;e=r[0],o=this.interpolate(o,a);const s=o.match(/'/g),i=o.match(/"/g);((s?.length??0)%2==0&&!i||i.length%2!=0)&&(o=o.replace(/'/g,'"'));try{a=JSON.parse(o),t&&(a={...t,...a})}catch(l){return this.logger.warn(`failed parsing options string in nesting for key ${e}`,l),`${e}${n}${o}`}return a.defaultValue&&a.defaultValue.indexOf(this.prefix)>-1&&delete a.defaultValue,e};for(;r=this.nestingRegexp.exec(e);){let c=[];a={...n},a=a.replace&&!o(a.replace)?a.replace:a,a.applyPostProcessor=!1,delete a.defaultValue;const u=/{.*}/.test(r[1])?r[1].lastIndexOf("}")+1:r[1].indexOf(this.formatSeparator);if(-1!==u&&(c=r[1].slice(u).split(this.formatSeparator).map(e=>e.trim()).filter(Boolean),r[1]=r[1].slice(0,u)),s=t(l.call(this,r[1].trim(),a),a),s&&r[0]===e&&!o(s))return s;o(s)||(s=i(s)),s||(this.logger.warn(`missed to resolve ${r[1]} for nesting ${e}`),s=""),c.length&&(s=c.reduce((e,t)=>this.format(e,t,n.lng,{...n,interpolationkey:r[1].trim()}),s.trim())),e=e.replace(r[0],s),this.regexp.lastIndex=0}return e}}const M=e=>{const t={};return(n,r,o)=>{let s=o;o&&o.interpolationkey&&o.formatParams&&o.formatParams[o.interpolationkey]&&o[o.interpolationkey]&&(s={...s,[o.interpolationkey]:void 0});const i=r+JSON.stringify(s);let a=t[i];return a||(a=e(w(r),o),t[i]=a),a(n)}},U=e=>(t,n,r)=>e(w(n),r)(t);class H{constructor(e={}){this.logger=k.create("formatter"),this.options=e,this.init(e)}init(e,t={interpolation:{}}){this.formatSeparator=t.interpolation.formatSeparator||",";const n=t.cacheInBuiltFormats?M:U;this.formats={number:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t});return e=>n.format(e)}),currency:n((e,t)=>{const n=new Intl.NumberFormat(e,{...t,style:"currency"});return e=>n.format(e)}),datetime:n((e,t)=>{const n=new Intl.DateTimeFormat(e,{...t});return e=>n.format(e)}),relativetime:n((e,t)=>{const n=new Intl.RelativeTimeFormat(e,{...t});return e=>n.format(e,t.range||"day")}),list:n((e,t)=>{const n=new Intl.ListFormat(e,{...t});return e=>n.format(e)})}}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=M(t)}format(e,t,n,r={}){const o=t.split(this.formatSeparator);if(o.length>1&&o[0].indexOf("(")>1&&o[0].indexOf(")")<0&&o.find(e=>e.indexOf(")")>-1)){const e=o.findIndex(e=>e.indexOf(")")>-1);o[0]=[o[0],...o.splice(1,e)].join(this.formatSeparator)}return o.reduce((e,t)=>{const{formatName:o,formatOptions:s}=(e=>{let t=e.toLowerCase().trim();const n={};if(e.indexOf("(")>-1){const r=e.split("(");t=r[0].toLowerCase().trim();const o=r[1].substring(0,r[1].length-1);"currency"===t&&o.indexOf(":")<0?n.currency||(n.currency=o.trim()):"relativetime"===t&&o.indexOf(":")<0?n.range||(n.range=o.trim()):o.split(";").forEach(e=>{if(e){const[t,...r]=e.split(":"),o=r.join(":").trim().replace(/^'+|'+$/g,""),s=t.trim();n[s]||(n[s]=o),"false"===o&&(n[s]=!1),"true"===o&&(n[s]=!0),isNaN(o)||(n[s]=parseInt(o,10))}})}return{formatName:t,formatOptions:n}})(t);if(this.formats[o]){let t=e;try{const i=r?.formatParams?.[r.interpolationkey]||{},a=i.locale||i.lng||r.locale||r.lng||n;t=this.formats[o](e,a,{...s,...r,...i})}catch(i){this.logger.warn(i)}return t}return this.logger.warn(`there was no format function for ${o}`),e},e)}}class V extends O{constructor(e,t,n,r={}){super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=r,this.logger=k.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=r.maxParallelReads||10,this.readingCalls=0,this.maxRetries=r.maxRetries>=0?r.maxRetries:5,this.retryTimeout=r.retryTimeout>=1?r.retryTimeout:350,this.state={},this.queue=[],this.backend?.init?.(n,r.backend,r)}queueLoad(e,t,n,r){const o={},s={},i={},a={};return e.forEach(e=>{let r=!0;t.forEach(t=>{const i=`${e}|${t}`;!n.reload&&this.store.hasResourceBundle(e,t)?this.state[i]=2:this.state[i]<0||(1===this.state[i]?void 0===s[i]&&(s[i]=!0):(this.state[i]=1,r=!1,void 0===s[i]&&(s[i]=!0),void 0===o[i]&&(o[i]=!0),void 0===a[t]&&(a[t]=!0)))}),r||(i[e]=!0)}),(Object.keys(o).length||Object.keys(s).length)&&this.queue.push({pending:s,pendingCount:Object.keys(s).length,loaded:{},errors:[],callback:r}),{toLoad:Object.keys(o),pending:Object.keys(s),toLoadLanguages:Object.keys(i),toLoadNamespaces:Object.keys(a)}}loaded(e,t,n){const r=e.split("|"),o=r[0],s=r[1];t&&this.emit("failedLoading",o,s,t),!t&&n&&this.store.addResourceBundle(o,s,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const i={};this.queue.forEach(n=>{((e,t,n)=>{const{obj:r,k:o}=u(e,t,Object);r[o]=r[o]||[],r[o].push(n)})(n.loaded,[o],s),((e,t)=>{void 0!==e.pending[t]&&(delete e.pending[t],e.pendingCount--)})(n,e),t&&n.errors.push(t),0!==n.pendingCount||n.done||(Object.keys(n.loaded).forEach(e=>{i[e]||(i[e]={});const t=n.loaded[e];t.length&&t.forEach(t=>{void 0===i[e][t]&&(i[e][t]=!0)})}),n.done=!0,n.errors.length?n.callback(n.errors):n.callback())}),this.emit("loaded",i),this.queue=this.queue.filter(e=>!e.done)}read(e,t,n,r=0,o=this.retryTimeout,s){if(!e.length)return s(null,{});if(this.readingCalls>=this.maxParallelReads)return void this.waitingReads.push({lng:e,ns:t,fcName:n,tried:r,wait:o,callback:s});this.readingCalls++;const i=(i,a)=>{if(this.readingCalls--,this.waitingReads.length>0){const e=this.waitingReads.shift();this.read(e.lng,e.ns,e.fcName,e.tried,e.wait,e.callback)}i&&a&&r<this.maxRetries?setTimeout(()=>{this.read.call(this,e,t,n,r+1,2*o,s)},o):s(i,a)},a=this.backend[n].bind(this.backend);if(2!==a.length)return a(e,t,i);try{const n=a(e,t);n&&"function"==typeof n.then?n.then(e=>i(null,e)).catch(i):i(null,n)}catch(l){i(l)}}prepareLoading(e,t,n={},r){if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),r&&r();o(e)&&(e=this.languageUtils.toResolveHierarchy(e)),o(t)&&(t=[t]);const s=this.queueLoad(e,t,n,r);if(!s.toLoad.length)return s.pending.length||r(),null;s.toLoad.forEach(e=>{this.loadOne(e)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e,t=""){const n=e.split("|"),r=n[0],o=n[1];this.read(r,o,"read",void 0,void 0,(n,s)=>{n&&this.logger.warn(`${t}loading namespace ${o} for language ${r} failed`,n),!n&&s&&this.logger.log(`${t}loaded namespace ${o} for language ${r}`,s),this.loaded(e,n,s)})}saveMissing(e,t,n,r,o,s={},i=()=>{}){if(!this.services?.utils?.hasLoadedNamespace||this.services?.utils?.hasLoadedNamespace(t)){if(null!=n&&""!==n){if(this.backend?.create){const l={...s,isUpdate:o},c=this.backend.create.bind(this.backend);if(c.length<6)try{let o;o=5===c.length?c(e,t,n,r,l):c(e,t,n,r),o&&"function"==typeof o.then?o.then(e=>i(null,e)).catch(i):i(null,o)}catch(a){i(a)}else c(e,t,n,r,i,l)}e&&e[0]&&this.store.addResource(e[0],t,n,r)}}else this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")}}const K=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:e=>{let t={};if("object"==typeof e[1]&&(t=e[1]),o(e[1])&&(t.defaultValue=e[1]),o(e[2])&&(t.tDescription=e[2]),"object"==typeof e[2]||"object"==typeof e[3]){const n=e[3]||e[2];Object.keys(n).forEach(e=>{t[e]=n[e]})}return t},interpolation:{escapeValue:!0,format:e=>e,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0},cacheInBuiltFormats:!0}),B=e=>(o(e.ns)&&(e.ns=[e.ns]),o(e.fallbackLng)&&(e.fallbackLng=[e.fallbackLng]),o(e.fallbackNS)&&(e.fallbackNS=[e.fallbackNS]),e.supportedLngs?.indexOf?.("cimode")<0&&(e.supportedLngs=e.supportedLngs.concat(["cimode"])),"boolean"==typeof e.initImmediate&&(e.initAsync=e.initImmediate),e),W=()=>{};class z extends O{constructor(e={},t){var n;if(super(),this.options=B(e),this.services={},this.logger=k,this.modules={external:[]},n=this,Object.getOwnPropertyNames(Object.getPrototypeOf(n)).forEach(e=>{"function"==typeof n[e]&&(n[e]=n[e].bind(n))}),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(e={},t){this.isInitializing=!0,"function"==typeof e&&(t=e,e={}),null==e.defaultNS&&e.ns&&(o(e.ns)?e.defaultNS=e.ns:e.ns.indexOf("translation")<0&&(e.defaultNS=e.ns[0]));const n=K();this.options={...n,...this.options,...B(e)},this.options.interpolation={...n.interpolation,...this.options.interpolation},void 0!==e.keySeparator&&(this.options.userDefinedKeySeparator=e.keySeparator),void 0!==e.nsSeparator&&(this.options.userDefinedNsSeparator=e.nsSeparator),"function"!=typeof this.options.overloadTranslationOptionHandler&&(this.options.overloadTranslationOptionHandler=n.overloadTranslationOptionHandler);const r=e=>e?"function"==typeof e?new e:e:null;if(!this.options.isClone){let e;this.modules.logger?k.init(r(this.modules.logger),this.options):k.init(null,this.options),e=this.modules.formatter?this.modules.formatter:H;const t=new _(this.options);this.store=new E(this.options.resources,this.options);const o=this.services;o.logger=k,o.resourceStore=this.store,o.languageUtils=t,o.pluralResolver=new I(t,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix});this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format&&this.logger.deprecate("init: you are still using the legacy format function, please use the new approach: https://www.i18next.com/translation-function/formatting"),!e||this.options.interpolation.format&&this.options.interpolation.format!==n.interpolation.format||(o.formatter=r(e),o.formatter.init&&o.formatter.init(o,this.options),this.options.interpolation.format=o.formatter.format.bind(o.formatter)),o.interpolator=new F(this.options),o.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},o.backendConnector=new V(r(this.modules.backend),o.resourceStore,o,this.options),o.backendConnector.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.languageDetector&&(o.languageDetector=r(this.modules.languageDetector),o.languageDetector.init&&o.languageDetector.init(o,this.options.detection,this.options)),this.modules.i18nFormat&&(o.i18nFormat=r(this.modules.i18nFormat),o.i18nFormat.init&&o.i18nFormat.init(this)),this.translator=new $(this.services,this.options),this.translator.on("*",(e,...t)=>{this.emit(e,...t)}),this.modules.external.forEach(e=>{e.init&&e.init(this)})}if(this.format=this.options.interpolation.format,t||(t=W),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const e=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);e.length>0&&"dev"!==e[0]&&(this.options.lng=e[0])}this.services.languageDetector||this.options.lng||this.logger.warn("init: no languageDetector is used and no lng is defined");["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(e=>{this[e]=(...t)=>this.store[e](...t)});["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(e=>{this[e]=(...t)=>(this.store[e](...t),this)});const i=s(),a=()=>{const e=(e,n)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),i.resolve(n),t(e,n)};if(this.languages&&!this.isInitialized)return e(null,this.t.bind(this));this.changeLanguage(this.options.lng,e)};return this.options.resources||!this.options.initAsync?a():setTimeout(a,0),i}loadResources(e,t=W){let n=t;const r=o(e)?e:this.language;if("function"==typeof e&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if("cimode"===r?.toLowerCase()&&(!this.options.preload||0===this.options.preload.length))return n();const e=[],t=t=>{if(!t)return;if("cimode"===t)return;this.services.languageUtils.toResolveHierarchy(t).forEach(t=>{"cimode"!==t&&e.indexOf(t)<0&&e.push(t)})};if(r)t(r);else{this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(e=>t(e))}this.options.preload?.forEach?.(e=>t(e)),this.services.backendConnector.load(e,this.options.ns,e=>{e||this.resolvedLanguage||!this.language||this.setResolvedLanguage(this.language),n(e)})}else n(null)}reloadResources(e,t,n){const r=s();return"function"==typeof e&&(n=e,e=void 0),"function"==typeof t&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=W),this.services.backendConnector.reload(e,t,e=>{r.resolve(),n(e)}),r}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return"backend"===e.type&&(this.modules.backend=e),("logger"===e.type||e.log&&e.warn&&e.error)&&(this.modules.logger=e),"languageDetector"===e.type&&(this.modules.languageDetector=e),"i18nFormat"===e.type&&(this.modules.i18nFormat=e),"postProcessor"===e.type&&P.addPostProcessor(e),"formatter"===e.type&&(this.modules.formatter=e),"3rdParty"===e.type&&this.modules.external.push(e),this}setResolvedLanguage(e){if(e&&this.languages&&!(["cimode","dev"].indexOf(e)>-1)){for(let e=0;e<this.languages.length;e++){const t=this.languages[e];if(!(["cimode","dev"].indexOf(t)>-1)&&this.store.hasLanguageSomeTranslations(t)){this.resolvedLanguage=t;break}}!this.resolvedLanguage&&this.languages.indexOf(e)<0&&this.store.hasLanguageSomeTranslations(e)&&(this.resolvedLanguage=e,this.languages.unshift(e))}}changeLanguage(e,t){this.isLanguageChangingTo=e;const n=s();this.emit("languageChanging",e);const r=e=>{this.language=e,this.languages=this.services.languageUtils.toResolveHierarchy(e),this.resolvedLanguage=void 0,this.setResolvedLanguage(e)},i=(o,s)=>{s?this.isLanguageChangingTo===e&&(r(s),this.translator.changeLanguage(s),this.isLanguageChangingTo=void 0,this.emit("languageChanged",s),this.logger.log("languageChanged",s)):this.isLanguageChangingTo=void 0,n.resolve((...e)=>this.t(...e)),t&&t(o,(...e)=>this.t(...e))},a=t=>{e||t||!this.services.languageDetector||(t=[]);const n=o(t)?t:t&&t[0],s=this.store.hasLanguageSomeTranslations(n)?n:this.services.languageUtils.getBestMatchFromCodes(o(t)?[t]:t);s&&(this.language||r(s),this.translator.language||this.translator.changeLanguage(s),this.services.languageDetector?.cacheUserLanguage?.(s)),this.loadResources(s,e=>{i(e,s)})};return e||!this.services.languageDetector||this.services.languageDetector.async?!e&&this.services.languageDetector&&this.services.languageDetector.async?0===this.services.languageDetector.detect.length?this.services.languageDetector.detect().then(a):this.services.languageDetector.detect(a):a(e):a(this.services.languageDetector.detect()),n}getFixedT(e,t,n){const r=(e,t,...o)=>{let s;s="object"!=typeof t?this.options.overloadTranslationOptionHandler([e,t].concat(o)):{...t},s.lng=s.lng||r.lng,s.lngs=s.lngs||r.lngs,s.ns=s.ns||r.ns,""!==s.keyPrefix&&(s.keyPrefix=s.keyPrefix||n||r.keyPrefix);const i=this.options.keySeparator||".";let a;return s.keyPrefix&&Array.isArray(e)?a=e.map(e=>("function"==typeof e&&(e=C(e,{...this.options,...t})),`${s.keyPrefix}${i}${e}`)):("function"==typeof e&&(e=C(e,{...this.options,...t})),a=s.keyPrefix?`${s.keyPrefix}${i}${e}`:e),this.t(a,s)};return o(e)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=n,r}t(...e){return this.translator?.translate(...e)}exists(...e){return this.translator?.exists(...e)}setDefaultNamespace(e){this.options.defaultNS=e}hasLoadedNamespace(e,t={}){if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],r=!!this.options&&this.options.fallbackLng,o=this.languages[this.languages.length-1];if("cimode"===n.toLowerCase())return!0;const s=(e,t)=>{const n=this.services.backendConnector.state[`${e}|${t}`];return-1===n||0===n||2===n};if(t.precheck){const e=t.precheck(this,s);if(void 0!==e)return e}return!!this.hasResourceBundle(n,e)||(!(this.services.backendConnector.backend&&(!this.options.resources||this.options.partialBundledLanguages))||!(!s(n,e)||r&&!s(o,e)))}loadNamespaces(e,t){const n=s();return this.options.ns?(o(e)&&(e=[e]),e.forEach(e=>{this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=s();o(e)&&(e=[e]);const r=this.options.preload||[],i=e.filter(e=>r.indexOf(e)<0&&this.services.languageUtils.isSupportedCode(e));return i.length?(this.options.preload=r.concat(i),this.loadResources(e=>{n.resolve(),t&&t(e)}),n):(t&&t(),Promise.resolve())}dir(e){if(e||(e=this.resolvedLanguage||(this.languages?.length>0?this.languages[0]:this.language)),!e)return"rtl";try{const t=new Intl.Locale(e);if(t&&t.getTextInfo){const e=t.getTextInfo();if(e&&e.direction)return e.direction}}catch(n){}const t=this.services?.languageUtils||new _(K());return e.toLowerCase().indexOf("-latn")>1?"ltr":["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"].indexOf(t.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(e={},t){const n=new z(e,t);return n.createInstance=z.createInstance,n}cloneInstance(e={},t=W){const n=e.forkResourceStore;n&&delete e.forkResourceStore;const r={...this.options,...e,isClone:!0},o=new z(r);void 0===e.debug&&void 0===e.prefix||(o.logger=o.logger.clone(e));if(["store","services","language"].forEach(e=>{o[e]=this[e]}),o.services={...this.services},o.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},n){const e=Object.keys(this.store.data).reduce((e,t)=>(e[t]={...this.store.data[t]},e[t]=Object.keys(e[t]).reduce((n,r)=>(n[r]={...e[t][r]},n),e[t]),e),{});o.store=new E(e,r),o.services.resourceStore=o.store}if(e.interpolation){const t={...K().interpolation,...this.options.interpolation,...e.interpolation},n={...r,interpolation:t};o.services.interpolator=new F(n)}return o.translator=new $(o.services,r),o.translator.on("*",(e,...t)=>{o.emit(e,...t)}),o.init(r,t),o.translator.options=r,o.translator.backendConnector.services.utils={hasLoadedNamespace:o.hasLoadedNamespace.bind(o)},o}toJSON(){return{options:this.options,store:this.store,language:this.language,languages:this.languages,resolvedLanguage:this.resolvedLanguage}}}const q=z.createInstance();q.createInstance,q.dir,q.init,q.loadResources,q.reloadResources,q.use,q.changeLanguage,q.getFixedT,q.t,q.exists,q.setDefaultNamespace,q.hasLoadedNamespace,q.loadNamespaces,q.loadLanguages;var J=n(4915),G=n.n(J),Q=/\s([^'"/\s><]+?)[\s/>]|([^\s=]+)=\s?(".*?"|'.*?')/g;function Y(e){var t={type:"tag",name:"",voidElement:!1,attrs:{},children:[]},n=e.match(/<\/?([^\s]+?)[/\s>]/);if(n&&(t.name=n[1],(G()[n[1]]||"/"===e.charAt(e.length-2))&&(t.voidElement=!0),t.name.startsWith("!--"))){var r=e.indexOf("--\x3e");return{type:"comment",comment:-1!==r?e.slice(4,r):""}}for(var o=new RegExp(Q),s=null;null!==(s=o.exec(e));)if(s[0].trim())if(s[1]){var i=s[1].trim(),a=[i,""];i.indexOf("=")>-1&&(a=i.split("=")),t.attrs[a[0]]=a[1],o.lastIndex--}else s[2]&&(t.attrs[s[2]]=s[3].trim().substring(1,s[3].length-1));return t}var X=/<[a-zA-Z0-9\-\!\/](?:"[^"]*"|'[^']*'|[^'">])*>/g,Z=/^\s*$/,ee=Object.create(null);function te(e,t){switch(t.type){case"text":return e+t.content;case"tag":return e+="<"+t.name+(t.attrs?function(e){var t=[];for(var n in e)t.push(n+'="'+e[n]+'"');return t.length?" "+t.join(" "):""}(t.attrs):"")+(t.voidElement?"/>":">"),t.voidElement?e:e+t.children.reduce(te,"")+"</"+t.name+">";case"comment":return e+"\x3c!--"+t.comment+"--\x3e"}}var ne={parse:function(e,t){t||(t={}),t.components||(t.components=ee);var n,r=[],o=[],s=-1,i=!1;if(0!==e.indexOf("<")){var a=e.indexOf("<");r.push({type:"text",content:-1===a?e:e.substring(0,a)})}return e.replace(X,function(a,l){if(i){if(a!=="</"+n.name+">")return;i=!1}var c,u="/"!==a.charAt(1),p=a.startsWith("\x3c!--"),h=l+a.length,d=e.charAt(h);if(p){var f=Y(a);return s<0?(r.push(f),r):((c=o[s]).children.push(f),r)}if(u&&(s++,"tag"===(n=Y(a)).type&&t.components[n.name]&&(n.type="component",i=!0),n.voidElement||i||!d||"<"===d||n.children.push({type:"text",content:e.slice(h,e.indexOf("<",h))}),0===s&&r.push(n),(c=o[s-1])&&c.children.push(n),o[s]=n),(!u||n.voidElement)&&(s>-1&&(n.voidElement||n.name===a.slice(2,-1))&&(s--,n=-1===s?r:o[s]),!i&&"<"!==d&&d)){c=-1===s?r:o[s].children;var g=e.indexOf("<",h),m=e.slice(h,-1===g?void 0:g);Z.test(m)&&(m=" "),(g>-1&&s+c.length>=0||" "!==m)&&c.push({type:"text",content:m})}}),r},stringify:function(e){return e.reduce(function(e,t){return e+te("",t)},"")}},re=ne;const oe=(e,t,n,r)=>{const o=[n,{code:t,...r||{}}];if(e?.services?.logger?.forward)return e.services.logger.forward(o,"warn","react-i18next::",!0);pe(o[0])&&(o[0]=`react-i18next:: ${o[0]}`),e?.services?.logger?.warn?e.services.logger.warn(...o):console?.warn&&console.warn(...o)},se={},ie=(e,t,n,r)=>{pe(n)&&se[n]||(pe(n)&&(se[n]=new Date),oe(e,t,n,r))},ae=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},le=(e,t,n)=>{e.loadNamespaces(t,ae(e,n))},ce=(e,t,n,r)=>{if(pe(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return le(e,n,r);n.forEach(t=>{e.options.ns.indexOf(t)<0&&e.options.ns.push(t)}),e.loadLanguages(t,ae(e,r))},ue=e=>e.displayName||e.name||(pe(e)&&e.length>0?e:"Unknown"),pe=e=>"string"==typeof e,he=e=>"object"==typeof e&&null!==e,de=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,fe={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},ge=e=>fe[e],me=e=>e.replace(de,ge);let ye={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:me,transDefaultProps:void 0};const ve=(e={})=>{ye={...ye,...e}},be=()=>ye;let we;const Se=e=>{we=e},xe=()=>we,ke=(e,t)=>{if(!e)return!1;const n=e.props?.children??e.children;return t?n.length>0:!!n},Oe=e=>{if(!e)return[];const t=e.props?.children??e.children;return e.props?.i18nIsDynamicList?Ee(t):t},Ee=e=>Array.isArray(e)?e:[e],Pe=e=>{const t={};if(!e)return t;const n=e=>{Ee(e).forEach(e=>{pe(e)||(ke(e)?n(Oe(e)):he(e)&&!(0,r.isValidElement)(e)&&Object.assign(t,e))})};return n(e),t},Re=(e,t,n,o)=>{if(!e)return"";let s="";const i=Ee(e),a=t?.transSupportBasicHtmlNodes?t.transKeepBasicHtmlNodesFor??[]:[];return i.forEach((e,i)=>{if(pe(e))s+=`${e}`;else{if((0,r.isValidElement)(e)){const{props:r,type:l}=e,c=Object.keys(r).length,u=a.indexOf(l)>-1,p=r.children;if(!p&&u&&!c)return void(s+=`<${l}/>`);if(!p&&(!u||c)||r.i18nIsDynamicList)return void(s+=`<${i}></${i}>`);if(u&&1===c&&pe(p))return void(s+=`<${l}>${p}</${l}>`);const h=Re(p,t,n,o);return void(s+=`<${i}>${h}</${i}>`)}if(null!==e){if(he(e)){const{format:t,...r}=e,i=Object.keys(r);if(1===i.length){const e=t?`${i[0]}, ${t}`:i[0];return void(s+=`{{${e}}}`)}return void oe(n,"TRANS_INVALID_OBJ","Invalid child - Object should only have keys {{ value, format }} (format is optional).",{i18nKey:o,child:e})}oe(n,"TRANS_INVALID_VAR","Passed in a variable like {number} - pass variables for interpolation as full objects like {{number}}.",{i18nKey:o,child:e})}else oe(n,"TRANS_NULL_VALUE","Passed in a null value as child",{i18nKey:o})}}),s},Ce=(e,t,n,o,s,i,a)=>{if(""===n)return[];const l=s.transKeepBasicHtmlNodesFor||[],c=n&&new RegExp(l.map(e=>`<${e}`).join("|")).test(n);if(!(e||t||c||a))return[n];const u=t??{},p=e=>{Ee(e).forEach(e=>{pe(e)||(ke(e)?p(Oe(e)):he(e)&&!(0,r.isValidElement)(e)&&Object.assign(u,e))})};p(e);const h=((e,t=[],n={})=>{if(!e)return e;const r=[...t,...Object.keys(n)];let o="",s=0;for(;s<e.length;)if("<"===e[s]){let t=!1;const n=e.slice(s).match(/^<\/(\d+|[a-zA-Z][a-zA-Z0-9-]*)>/);if(n){const e=n[1];(/^\d+$/.test(e)||r.includes(e))&&(t=!0,o+=n[0],s+=n[0].length)}if(!t){const n=e.slice(s).match(/^<(\d+|[a-zA-Z][a-zA-Z0-9-]*)(\s+[\w-]+(?:=(?:"[^"]*"|'[^']*'|[^\s>]+))?)*\s*(\/)?>/);if(n){const e=n[1];(/^\d+$/.test(e)||r.includes(e))&&(t=!0,o+=n[0],s+=n[0].length)}}t||(o+="<",s+=1)}else o+=e[s],s+=1;return o})(n,l,u),d=re.parse(`<0>${h}</0>`),f={...u,...i},g=(e,t,n)=>{const o=Oe(e),s=y(o,t.children,n);return(e=>Array.isArray(e)&&e.every(r.isValidElement))(o)&&0===s.length||e.props?.i18nIsDynamicList?o:s},m=(e,t,n,o,s)=>{e.dummy?(e.children=t,n.push((0,r.cloneElement)(e,{key:o},s?void 0:t))):n.push(...r.Children.map([e],e=>{const n="data-i18n-is-dynamic-list",i={key:o,[n]:void 0};return e&&e.props&&Object.keys(e.props).forEach(t=>{"ref"!==t&&"children"!==t&&"i18nIsDynamicList"!==t&&t!==n&&(i[t]=e.props[t])}),(0,r.cloneElement)(e,i,s?null:t)}))},y=(e,n,i)=>{const u=Ee(e);return Ee(n).reduce((e,n,p)=>{const h=n.children?.[0]?.content&&o.services.interpolator.interpolate(n.children[0].content,f,o.language);if("tag"===n.type){let d=u[parseInt(n.name,10)];!d&&t&&(d=t[n.name]),1!==i.length||d||(d=i[0][n.name]),d||(d={});const v={...n.attrs};a&&Object.keys(v).forEach(e=>{const t=v[e];pe(t)&&(v[e]=me(t))});const b=0!==Object.keys(v).length?((e,t)=>{const n={...t};return n.props=Object.assign(e.props,t.props),n})({props:v},d):d,w=(0,r.isValidElement)(b),S=w&&ke(n,!0)&&!n.voidElement,x=c&&he(b)&&b.dummy&&!w,k=he(t)&&Object.hasOwnProperty.call(t,n.name);if(pe(b)){const t=o.services.interpolator.interpolate(b,f,o.language);e.push(t)}else if(ke(b)||S){const t=g(b,n,i);m(b,t,e,p)}else if(x){const t=y(u,n.children,i);m(b,t,e,p)}else if(Number.isNaN(parseFloat(n.name)))if(k){const t=g(b,n,i);m(b,t,e,p,n.voidElement)}else if(s.transSupportBasicHtmlNodes&&l.indexOf(n.name)>-1)if(n.voidElement)e.push((0,r.createElement)(n.name,{key:`${n.name}-${p}`}));else{const t=y(u,n.children,i);e.push((0,r.createElement)(n.name,{key:`${n.name}-${p}`},t))}else if(n.voidElement)e.push(`<${n.name} />`);else{const t=y(u,n.children,i);e.push(`<${n.name}>${t}</${n.name}>`)}else if(he(b)&&!w){const t=n.children[0]?h:null;t&&e.push(t)}else m(b,h,e,p,1!==n.children.length||!h)}else if("text"===n.type){const t=s.transWrapTextNodes,i="function"==typeof s.unescape?s.unescape:be().unescape,l=a?i(o.services.interpolator.interpolate(n.content,f,o.language)):o.services.interpolator.interpolate(n.content,f,o.language);t?e.push((0,r.createElement)(t,{key:`${n.name}-${p}`},l)):e.push(l)}return e},[])},v=y([{dummy:!0,children:e||[]}],d,Ee(e||[]));return Oe(v[0])},Ne=(e,t,n)=>{const o=e.key||t,s=(0,r.cloneElement)(e,{key:o});if(!s.props||!s.props.children||n.indexOf(`${t}/>`)<0&&n.indexOf(`${t} />`)<0)return s;return(0,r.createElement)(function(){return(0,r.createElement)(r.Fragment,null,s)},{key:o})},Le=(e,t,n,r)=>e?Array.isArray(e)?((e,t)=>e.map((e,n)=>Ne(e,n,t)))(e,t):he(e)?((e,t)=>{const n={};return Object.keys(e).forEach(r=>{Object.assign(n,{[r]:Ne(e[r],r,t)})}),n})(e,t):(ie(n,"TRANS_INVALID_COMPONENTS",'<Trans /> "components" prop expects an object or array',{i18nKey:r}),null):null,$e=e=>!!he(e)&&(!Array.isArray(e)&&Object.keys(e).reduce((e,t)=>e&&Number.isNaN(Number.parseFloat(t)),!0));function _e({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:i={},values:a,defaults:l,components:c,ns:u,i18n:p,t:h,shouldUnescape:d,...f}){const g=p||xe();if(!g)return ie(g,"NO_I18NEXT_INSTANCE","Trans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:o}),e;const m=h||g.t.bind(g)||(e=>e),y={...be(),...g.options?.react};let v=u||m.ns||g.options?.defaultNS;v=pe(v)?[v]:v||["translation"];const{transDefaultProps:b}=y,w=b?.tOptions?{...b.tOptions,...i}:i,S=d??b?.shouldUnescape,x=b?.values?{...b.values,...a}:a,k=b?.components?{...b.components,...c}:c,O=Re(e,y,g,o),E=l||w?.defaultValue||O||y.transEmptyNodeValue||("function"==typeof o?C(o):o),{hashTransKey:P}=y,R=o||(P?P(O||E):O||E);a=g.options?.interpolation?.defaultVariables?x&&Object.keys(x).length>0?{...x,...g.options.interpolation.defaultVariables}:{...g.options.interpolation.defaultVariables}:x;const N=Pe(e);N&&"number"==typeof N.count&&void 0===t&&(t=N.count);const L=a||void 0!==t&&!g.options?.interpolation?.alwaysFormat||!e?w.interpolation:{interpolation:{...w.interpolation,prefix:"#$?",suffix:"?$#"}},$={...w,context:s||w.context,count:t,...a,...L,defaultValue:E,ns:v};let _=R?m(R,$):E;_===R&&E&&(_=E);const j=Le(k,_,g,o);let T=j||e,I=null;$e(j)&&(I=j,T=e);const A=Ce(T,I,_,g,y,$,S),D=n??y.defaultTransParent;return D?(0,r.createElement)(D,f,A):A}const je={type:"3rdParty",init(e){ve(e.options.react),Se(e)}},Te=(0,r.createContext)();class Ie{constructor(){this.usedNamespaces={}}addUsedNamespaces(e){e.forEach(e=>{this.usedNamespaces[e]||(this.usedNamespaces[e]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Ae=e=>async t=>({...await(e.getInitialProps?.(t))??{},...De()}),De=()=>{const e=xe(),t=e.reportNamespaces?.getUsedNamespaces()??[],n={},r={};return e.languages.forEach(n=>{r[n]={},t.forEach(t=>{r[n][t]=e.getResourceBundle(n,t)||{}})}),n.initialI18nStore=r,n.initialLanguage=e.language,n};function Fe({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:i={},values:a,defaults:l,components:c,ns:u,i18n:p,t:h,shouldUnescape:d,...f}){const{i18n:g,defaultNS:m}=(0,r.useContext)(Te)||{},y=p||g||xe(),v=h||y?.t.bind(y);return _e({children:e,count:t,parent:n,i18nKey:o,context:s,tOptions:i,values:a,defaults:l,components:c,ns:u||v?.ns||m||y?.options?.defaultNS,i18n:y,t:h,shouldUnescape:d,...f})}class Me extends Error{constructor(e,t,n){super(e),this.name="TranslationParserError",this.position=t,this.translationString=n,Error.captureStackTrace&&Error.captureStackTrace(this,Me)}}const Ue={" ":" ","&":"&","<":"<",">":">",""":'"',"'":"'","©":"©","®":"®","™":"™","…":"…","–":"–","—":"—","‘":"‘","’":"’","‚":"‚","“":"“","”":"”","„":"„","†":"†","‡":"‡","•":"•","′":"′","″":"″","‹":"‹","›":"›","§":"§","¶":"¶","·":"·"," ":" "," ":" "," ":" ","€":"€","£":"£","¥":"¥","¢":"¢","¤":"¤","×":"×","÷":"÷","−":"−","±":"±","≠":"≠","≤":"≤","≥":"≥","≈":"≈","≡":"≡","∞":"∞","∫":"∫","∑":"∑","∏":"∏","√":"√","∂":"∂","‰":"‰","°":"°","µ":"µ","←":"←","↑":"↑","→":"→","↓":"↓","↔":"↔","↵":"↵","⇐":"⇐","⇑":"⇑","⇒":"⇒","⇓":"⇓","⇔":"⇔","α":"α","β":"β","γ":"γ","δ":"δ","ε":"ε","ζ":"ζ","η":"η","θ":"θ","ι":"ι","κ":"κ","λ":"λ","μ":"μ","ν":"ν","ξ":"ξ","ο":"ο","π":"π","ρ":"ρ","σ":"σ","τ":"τ","υ":"υ","φ":"φ","χ":"χ","ψ":"ψ","ω":"ω","Α":"Α","Β":"Β","Γ":"Γ","Δ":"Δ","Ε":"Ε","Ζ":"Ζ","Η":"Η","Θ":"Θ","Ι":"Ι","Κ":"Κ","Λ":"Λ","Μ":"Μ","Ν":"Ν","Ξ":"Ξ","Ο":"Ο","Π":"Π","Ρ":"Ρ","Σ":"Σ","Τ":"Τ","Υ":"Υ","Φ":"Φ","Χ":"Χ","Ψ":"Ψ","Ω":"Ω","À":"À","Á":"Á","Â":"Â","Ã":"Ã","Ä":"Ä","Å":"Å","Æ":"Æ","Ç":"Ç","È":"È","É":"É","Ê":"Ê","Ë":"Ë","Ì":"Ì","Í":"Í","Î":"Î","Ï":"Ï","Ð":"Ð","Ñ":"Ñ","Ò":"Ò","Ó":"Ó","Ô":"Ô","Õ":"Õ","Ö":"Ö","Ø":"Ø","Ù":"Ù","Ú":"Ú","Û":"Û","Ü":"Ü","Ý":"Ý","Þ":"Þ","ß":"ß","à":"à","á":"á","â":"â","ã":"ã","ä":"ä","å":"å","æ":"æ","ç":"ç","è":"è","é":"é","ê":"ê","ë":"ë","ì":"ì","í":"í","î":"î","ï":"ï","ð":"ð","ñ":"ñ","ò":"ò","ó":"ó","ô":"ô","õ":"õ","ö":"ö","ø":"ø","ù":"ù","ú":"ú","û":"û","ü":"ü","ý":"ý","þ":"þ","ÿ":"ÿ","¡":"¡","¿":"¿","ƒ":"ƒ","ˆ":"ˆ","˜":"˜","Œ":"Œ","œ":"œ","Š":"Š","š":"š","Ÿ":"Ÿ","ª":"ª","º":"º","¯":"¯","´":"´","¸":"¸","¹":"¹","²":"²","³":"³","¼":"¼","½":"½","¾":"¾","♠":"♠","♣":"♣","♥":"♥","♦":"♦","◊":"◊","‾":"‾","⁄":"⁄","℘":"℘","ℑ":"ℑ","ℜ":"ℜ","ℵ":"ℵ"},He=new RegExp(Object.keys(Ue).map(e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")).join("|"),"g"),Ve=(e,t=[])=>{if(!e)return[];const n=(e=>{const t=[];let n=0,r="";const o=()=>{r&&(t.push({type:"Text",value:r,position:n-r.length}),r="")};for(;n<e.length;){const s=e[n];if("<"===s){const i=e.slice(n).match(/^<(\d+)>/);if(i)o(),t.push({type:"TagOpen",value:i[0],position:n,tagNumber:parseInt(i[1],10)}),n+=i[0].length;else{const i=e.slice(n).match(/^<\/(\d+)>/);i?(o(),t.push({type:"TagClose",value:i[0],position:n,tagNumber:parseInt(i[1],10)}),n+=i[0].length):(r+=s,n+=1)}}else r+=s,n+=1}return o(),t})(e),o=[],s=[],i=new Set;if(n.forEach(n=>{switch(n.type){case"Text":{const e=n.value.replace(He,e=>Ue[e]).replace(/&#(\d+);/g,(e,t)=>String.fromCharCode(parseInt(t,10))).replace(/&#x([0-9a-fA-F]+);/g,(e,t)=>String.fromCharCode(parseInt(t,16)));(s.length>0?s[s.length-1].children:o).push(e)}break;case"TagOpen":{const{tagNumber:e}=n,r=(()=>{if(0===s.length)return t;const e=s[s.length-1];return e.declaration.props?.children&&Array.isArray(e.declaration.props.children)?e.declaration.props.children:e.declarations})(),a=r[e];if(!a){i.add(e);const t=`<${e}>`;(s.length>0?s[s.length-1].children:o).push(t);break}s.push({tagNumber:e,children:[],position:n.position,declaration:a,declarations:r})}break;case"TagClose":{const{tagNumber:t}=n;if(i.has(t)){const e=`</${t}>`;(s.length>0?s[s.length-1].children:o).push(e),i.delete(t);break}if(0===s.length)throw new Me(`Unexpected closing tag </${t}> at position ${n.position}`,n.position,e);const a=s.pop();if(a.tagNumber!==t)throw new Me(`Mismatched tags: expected </${a.tagNumber}> but got </${t}> at position ${n.position}`,n.position,e);const l=((e,t,n)=>{const{type:o,props:s={}}=e;if(s.children&&Array.isArray(s.children)&&n){const{children:e,...n}=s;return r.createElement(o,n,...t)}return 0===t.length?r.createElement(o,s):1===t.length?r.createElement(o,s,t[0]):r.createElement(o,s,...t)})(a.declaration,a.children,a.declarations);(s.length>0?s[s.length-1].children:o).push(l)}}}),s.length>0){const t=s[s.length-1];throw new Me(`Unclosed tag <${t.tagNumber}> at position ${t.position}`,t.position,e)}return o};function Ke({i18nKey:e,defaultTranslation:t,content:n,ns:o,values:s={},i18n:i,t:a}){const l=i||xe();if(!l)return ie(l,"NO_I18NEXT_INSTANCE","IcuTrans: You need to pass in an i18next instance using i18nextReactModule",{i18nKey:e}),r.createElement(r.Fragment,{},t);const c=a||l.t?.bind(l)||(e=>e);let u=o||c.ns||l.options?.defaultNS;u=pe(u)?[u]:u||["translation"];let p=s;l.options?.interpolation?.defaultVariables&&(p=s&&Object.keys(s).length>0?{...s,...l.options.interpolation.defaultVariables}:{...l.options.interpolation.defaultVariables});const h=c(e,{defaultValue:t,...p,ns:u});try{const e=Ve(h,n);return r.createElement(r.Fragment,{},...e)}catch(d){return oe(l,"ICU_TRANS_RENDER_ERROR",`IcuTrans component error for key "${e}": ${d.message}`,{i18nKey:e,error:d}),r.createElement(r.Fragment,{},h)}}function Be({i18nKey:e,defaultTranslation:t,content:n,ns:o,values:s={},i18n:i,t:a}){const{i18n:l,defaultNS:c}=(0,r.useContext)(Te)||{},u=i||l||xe(),p=a||u?.t.bind(u);return Ke({i18nKey:e,defaultTranslation:t,content:n,ns:o||p?.ns||c||u?.options?.defaultNS,values:s,i18n:u,t:a})}Ke.displayName="IcuTransWithoutContext",Be.displayName="IcuTrans";var We=n(9888);const ze={t:(e,t)=>pe(t)?t:he(t)&&pe(t.defaultValue)?t.defaultValue:Array.isArray(e)?e[e.length-1]:e,ready:!1},qe=()=>()=>{},Je=(e,t={})=>{const{i18n:n}=t,{i18n:o,defaultNS:s}=(0,r.useContext)(Te)||{},i=n||o||xe();i&&!i.reportNamespaces&&(i.reportNamespaces=new Ie),i||ie(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const a=(0,r.useMemo)(()=>({...be(),...i?.options?.react,...t}),[i,t]),{useSuspense:l,keyPrefix:c}=a,u=e||s||i?.options?.defaultNS,p=pe(u)?[u]:u||["translation"],h=(0,r.useMemo)(()=>p,p);i?.reportNamespaces?.addUsedNamespaces?.(h);const d=(0,r.useRef)(0),f=(0,r.useCallback)(e=>{if(!i)return qe;const{bindI18n:t,bindI18nStore:n}=a,r=()=>{d.current+=1,e()};return t&&i.on(t,r),n&&i.store.on(n,r),()=>{t&&t.split(" ").forEach(e=>i.off(e,r)),n&&n.split(" ").forEach(e=>i.store.off(e,r))}},[i,a]),g=(0,r.useRef)(),m=(0,r.useCallback)(()=>{if(!i)return ze;const e=!(!i.isInitialized&&!i.initializedStoreOnce)&&h.every(e=>((e,t,n={})=>t.languages&&t.languages.length?t.hasLoadedNamespace(e,{lng:n.lng,precheck:(t,r)=>{if(n.bindI18n&&n.bindI18n.indexOf("languageChanging")>-1&&t.services.backendConnector.backend&&t.isLanguageChangingTo&&!r(t.isLanguageChangingTo,e))return!1}}):(ie(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0))(e,i,a)),n=t.lng||i.language,r=d.current,o=g.current;if(o&&o.ready===e&&o.lng===n&&o.keyPrefix===c&&o.revision===r)return o;const s={t:i.getFixedT(n,"fallback"===a.nsMode?h:h[0],c),ready:e,lng:n,keyPrefix:c,revision:r};return g.current=s,s},[i,h,c,a,t.lng]),[y,v]=(0,r.useState)(0),{t:b,ready:w}=(0,We.useSyncExternalStore)(f,m,m);(0,r.useEffect)(()=>{if(i&&!w&&!l){const e=()=>v(e=>e+1);t.lng?ce(i,t.lng,h,e):le(i,h,e)}},[i,t.lng,h,w,l,y]);const S=i||{},x=(0,r.useRef)(null),k=(0,r.useRef)(),O=e=>{const t=Object.getOwnPropertyDescriptors(e);t.__original&&delete t.__original;const n=Object.create(Object.getPrototypeOf(e),t);if(!Object.prototype.hasOwnProperty.call(n,"__original"))try{Object.defineProperty(n,"__original",{value:e,writable:!1,enumerable:!1,configurable:!1})}catch(r){}return n},E=(0,r.useMemo)(()=>{const e=S,t=e?.language;let n=e;e&&(x.current&&x.current.__original===e?k.current!==t?(n=O(e),x.current=n,k.current=t):n=x.current:(n=O(e),x.current=n,k.current=t));const r=[b,n,w];return r.t=b,r.i18n=n,r.ready=w,r},[b,S,w,S.resolvedLanguage,S.language,S.languages]);if(i&&l&&!w)throw new Promise(e=>{const n=()=>e();t.lng?ce(i,t.lng,h,n):le(i,h,n)});return E},Ge=(e,t={})=>function(n){function o({forwardedRef:o,...s}){const[i,a,l]=Je(e,{...s,keyPrefix:t.keyPrefix}),c={...s,t:i,i18n:a,tReady:l};return t.withRef&&o?c.ref=o:!t.withRef&&o&&(c.forwardedRef=o),(0,r.createElement)(n,c)}o.displayName=`withI18nextTranslation(${ue(n)})`,o.WrappedComponent=n;return t.withRef?(0,r.forwardRef)((e,t)=>(0,r.createElement)(o,Object.assign({},e,{forwardedRef:t}))):o},Qe=({ns:e,children:t,...n})=>{const[r,o,s]=Je(e,n);return t(r,{i18n:o,lng:o.language},s)};function Ye({i18n:e,defaultNS:t,children:n}){const o=(0,r.useMemo)(()=>({i18n:e,defaultNS:t}),[e,t]);return(0,r.createElement)(Te.Provider,{value:o},n)}const Xe=(e,t,n={})=>{const{i18n:o}=n,{i18n:s}=(0,r.useContext)(Te)||{},i=o||s||xe();i.options?.isClone||(e&&!i.initializedStoreOnce&&(i.services.resourceStore.data=e,i.options.ns=Object.values(e).reduce((e,t)=>(Object.keys(t).forEach(t=>{e.indexOf(t)<0&&e.push(t)}),e),i.options.ns),i.initializedStoreOnce=!0,i.isInitialized=!0),t&&!i.initializedLanguageOnce&&(i.changeLanguage(t),i.initializedLanguageOnce=!0))},Ze=()=>function(e){function t({initialI18nStore:t,initialLanguage:n,...o}){return Xe(t,n),(0,r.createElement)(e,{...o})}return t.getInitialProps=Ae(e),t.displayName=`withI18nextSSR(${ue(e)})`,t.WrappedComponent=e,t},et=()=>"",tt=()=>"",nt=()=>"",rt=()=>"",ot=()=>"",st=()=>""},9888:function(e,t,n){"use strict";e.exports=n(8493)}},function(e){e.O(0,[869,593],function(){return t=6498,e(e.s=t);var t});e.O()}]);
//# sourceMappingURL=app-b4290e50a62a3e03e4ab.js.map