1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1360],{82395:(e,t,r)=>{r.r(t);var n=r(11361),i=r(48720);(0,n.L)(function(e,t){t._reactRoot||(t._reactRoot=(0,i.createRoot)(t));var r=t._reactRoot;return r.render(e),function(){return new Promise(function(e){setTimeout(function(){r.unmount(),e()},0)})}})},96158:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});let n=r(56148),i=r(78968);t.default=function(e){let{html:t,height:r=null,width:a=null,children:o,dataNtpc:l=""}=e;return(0,i.useEffect)(()=>{l&&performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-".concat(l)}})},[l]),(0,n.jsxs)(n.Fragment,{children:[o,t?(0,n.jsx)("div",{style:{height:null!=r?"".concat(r,"px"):"auto",width:null!=a?"".concat(a,"px"):"auto"},"data-ntpc":l,dangerouslySetInnerHTML:{__html:t}}):null]})}},23935:(e,t,r)=>{let n;Object.defineProperty(t,"__esModule",{value:!0}),t.sendGAEvent=t.GoogleAnalytics=void 0;let i=r(56148),a=r(78968),o=function(e){return e&&e.__esModule?e:{default:e}}(r(11582));t.GoogleAnalytics=function(e){let{gaId:t,dataLayerName:r="dataLayer"}=e;return void 0===n&&(n=r),(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-ga"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.default,{id:"_next-ga-init",dangerouslySetInnerHTML:{__html:"\n window['".concat(r,"'] = window['").concat(r,"'] || [];\n function gtag(){window['").concat(r,"'].push(arguments);}\n gtag('js', new Date());\n\n gtag('config', '").concat(t,"');")}}),(0,i.jsx)(o.default,{id:"_next-ga",src:"https://www.googletagmanager.com/gtag/js?id=".concat(t)})]})},t.sendGAEvent=function(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r];if(void 0===n){console.warn("@next/third-parties: GA has not been initialized");return}window[n]?window[n].push(arguments):console.warn("@next/third-parties: GA dataLayer ".concat(n," does not exist"))}},88947:(e,t,r)=>{let n;Object.defineProperty(t,"__esModule",{value:!0}),t.sendGTMEvent=t.GoogleTagManager=void 0;let i=r(56148),a=r(78968),o=function(e){return e&&e.__esModule?e:{default:e}}(r(11582));t.GoogleTagManager=function(e){let{gtmId:t,dataLayerName:r="dataLayer",auth:l,preview:u,dataLayer:s}=e;void 0===n&&(n=r);let c="dataLayer"!==r?"&l=".concat(r):"";return(0,a.useEffect)(()=>{performance.mark("mark_feature_usage",{detail:{feature:"next-third-parties-gtm"}})},[]),(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(o.default,{id:"_next-gtm-init",dangerouslySetInnerHTML:{__html:"\n (function(w,l){\n w[l]=w[l]||[];\n w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});\n ".concat(s?"w[l].push(".concat(JSON.stringify(s),")"):"","\n })(window,'").concat(r,"');")}}),(0,i.jsx)(o.default,{id:"_next-gtm","data-ntpc":"GTM",src:"https://www.googletagmanager.com/gtm.js?id=".concat(t).concat(c).concat(l?">m_auth=".concat(l):"").concat(u?">m_preview=".concat(u,">m_cookies_win=x"):"")})]})},t.sendGTMEvent=e=>{if(void 0===n){console.warn("@next/third-parties: GTM has not been initialized");return}window[n]?window[n].push(e):console.warn("@next/third-parties: GTM dataLayer ".concat(n," does not exist"))}},37680:(e,t,r)=>{r.d(t,{BP:()=>c,G_:()=>a,j:()=>s});var n=r(78968);let i=(0,n.createContext)(null);function a(e){let{clientId:t,nonce:r,onScriptLoadSuccess:a,onScriptLoadError:o,children:l}=e,u=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},{nonce:t,onScriptLoadSuccess:r,onScriptLoadError:i}=e,[a,o]=(0,n.useState)(!1),l=(0,n.useRef)(r);l.current=r;let u=(0,n.useRef)(i);return u.current=i,(0,n.useEffect)(()=>{let e=document.createElement("script");return e.src="https://accounts.google.com/gsi/client",e.async=!0,e.defer=!0,e.nonce=t,e.onload=()=>{var e;o(!0),null===(e=l.current)||void 0===e||e.call(l)},e.onerror=()=>{var e;o(!1),null===(e=u.current)||void 0===e||e.call(u)},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[t]),a}({nonce:r,onScriptLoadSuccess:a,onScriptLoadError:o}),s=(0,n.useMemo)(()=>({clientId:t,scriptLoadedSuccessfully:u}),[t,u]);return n.createElement(i.Provider,{value:s},l)}function o(){let e=(0,n.useContext)(i);if(!e)throw Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function l(e){var t;return null!==(t=null==e?void 0:e.clientId)&&void 0!==t?t:null==e?void 0:e.client_id}let u={large:40,medium:32,small:20};function s(e){let{onSuccess:t,onError:r,useOneTap:i,promptMomentNotification:a,type:s="standard",theme:c="outline",size:d="large",text:f,shape:h,logo_alignment:p,width:v,locale:m,click_listener:y,containerProps:g,...b}=e,_=(0,n.useRef)(null),{clientId:w,scriptLoadedSuccessfully:P}=o(),x=(0,n.useRef)(t);x.current=t;let O=(0,n.useRef)(r);O.current=r;let j=(0,n.useRef)(a);return j.current=a,(0,n.useEffect)(()=>{var e,t,r,n,a,o,u,g,C;if(P)return null===(r=null===(t=null===(e=null==window?void 0:window.google)||void 0===e?void 0:e.accounts)||void 0===t?void 0:t.id)||void 0===r||r.initialize({client_id:w,callback:e=>{var t;if(!(null==e?void 0:e.credential))return null===(t=O.current)||void 0===t?void 0:t.call(O);let{credential:r,select_by:n}=e;x.current({credential:r,clientId:l(e),select_by:n})},...b}),null===(o=null===(a=null===(n=null==window?void 0:window.google)||void 0===n?void 0:n.accounts)||void 0===a?void 0:a.id)||void 0===o||o.renderButton(_.current,{type:s,theme:c,size:d,text:f,shape:h,logo_alignment:p,width:v,locale:m,click_listener:y}),i&&(null===(C=null===(g=null===(u=null==window?void 0:window.google)||void 0===u?void 0:u.accounts)||void 0===g?void 0:g.id)||void 0===C||C.prompt(j.current)),()=>{var e,t,r;i&&(null===(r=null===(t=null===(e=null==window?void 0:window.google)||void 0===e?void 0:e.accounts)||void 0===t?void 0:t.id)||void 0===r||r.cancel())}},[w,P,i,s,c,d,f,h,p,v,m]),n.createElement("div",{...g,ref:_,style:{height:u[d],...null==g?void 0:g.style}})}function c(e){let{onSuccess:t,onError:r,promptMomentNotification:i,cancel_on_tap_outside:a,prompt_parent_id:u,state_cookie_domain:s,hosted_domain:c,use_fedcm_for_prompt:d=!1,disabled:f,auto_select:h}=e,{clientId:p,scriptLoadedSuccessfully:v}=o(),m=(0,n.useRef)(t);m.current=t;let y=(0,n.useRef)(r);y.current=r;let g=(0,n.useRef)(i);g.current=i,(0,n.useEffect)(()=>{var e,t,r,n,i,o,b,_,w;if(v){if(f){null===(r=null===(t=null===(e=null==window?void 0:window.google)||void 0===e?void 0:e.accounts)||void 0===t?void 0:t.id)||void 0===r||r.cancel();return}return null===(o=null===(i=null===(n=null==window?void 0:window.google)||void 0===n?void 0:n.accounts)||void 0===i?void 0:i.id)||void 0===o||o.initialize({client_id:p,callback:e=>{var t;if(!(null==e?void 0:e.credential))return null===(t=y.current)||void 0===t?void 0:t.call(y);let{credential:r,select_by:n}=e;m.current({credential:r,clientId:l(e),select_by:n})},hosted_domain:c,cancel_on_tap_outside:a,prompt_parent_id:u,state_cookie_domain:s,use_fedcm_for_prompt:d,auto_select:h}),null===(w=null===(_=null===(b=null==window?void 0:window.google)||void 0===b?void 0:b.accounts)||void 0===_?void 0:_.id)||void 0===w||w.prompt(g.current),()=>{var e,t,r;null===(r=null===(t=null===(e=null==window?void 0:window.google)||void 0===e?void 0:e.accounts)||void 0===t?void 0:t.id)||void 0===r||r.cancel()}}},[p,v,a,u,s,c,d,f,h])}},11361:(e,t,r)=>{r.d(t,{K:()=>b,L:()=>g}),r(78968);var n,i=r(96185),a=r.t(i,2),o=r(74079),l=r(86047),u=r(66476),s=(0,r(90129).A)({},a),c=s.version,d=s.render,f=s.unmountComponentAtNode;try{Number((c||"").split(".")[0])>=18&&(n=s.createRoot)}
1catch(e){}function h(e){var t=s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;t&&"object"===(0,u.A)(t)&&(t.usingClientEntryPoint=e)}var p="__rc_react_root__";function v(){return(v=(0,l.A)((0,o.A)().mark(function e(t){return(0,o.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",Promise.resolve().then(function(){var e;null===(e=t[p])||void 0===e||e.unmount(),delete t[p]}));case 1:case"end":return e.stop()}},e)}))).apply(this,arguments)}function m(){return(m=(0,l.A)((0,o.A)().mark(function e(t){return(0,o.A)().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(void 0!==n)){e.next=2;break}return e.abrupt("return",function(e){return v.apply(this,arguments)}(t));case 2:f(t);case 3:case"end":return e.stop()}},e)}))).apply(this,arguments)}let y=(e,t)=>(!function(e,t){var r;if(n){h(!0),r=t[p]||n(t),h(!1),r.render(e),t[p]=r;return}null==d||d(e,t)}(e,t),()=>(function(e){return m.apply(this,arguments)})(t));function g(e){y=e}function b(){return y}},35583:(e,t,r)=>{r.d(t,{_:()=>n});function n(){return(n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e}).apply(null,arguments)}},21141:(e,t,r)=>{r.d(t,{default:()=>o});var n=r(35583),i=r(78968),a=r(64094);function o(e){let{locale:t,...r}=e;if(!t)throw Error("Failed to determine locale in `NextIntlClientProvider`, please provide the `locale` prop explicitly.\n\nSee https://next-intl.dev/docs/configuration#locale");return i.createElement(a.IntlProvider,(0,n._)({locale:t},r))}},15512:(e,t,r)=>{var n=r(90496),i=r(35880),a=r(47706);n.default,i.default,t.xp=a.default},33743:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(30289),i=r(78968),a=r(95108),o=r(27644),l=r(72866),u=function(e){return e&&e.__esModule?e:{default:e}}(i);let s=i.forwardRef(function(e,t){let{locale:r,localePrefix:i,...s}=e,c=a.default(),d=r||c,f=o.getLocalePrefix(d,i);return u.default.createElement(l.default,n.extends({ref:t,locale:d,localePrefixMode:i.mode,prefix:f},s))});s.displayName="ClientLink",t.default=s},35880:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(30289),i=r(78968),a=r(95108),o=r(92930),l=r(90005),u=r(33743),s=r(46565),c=r(6858),d=r(57695),f=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e){let t=o.receiveRoutingConfig(e),r=o.receiveLocaleCookie(e.localeCookie);function h(){let e=a.default();if(!t.locales.includes(e))throw Error(void 0);return e}let p=i.forwardRef(function(e,i){let{href:a,locale:o,...s}=e,c=h(),d=o||c;return f.default.createElement(u.default,n.extends({ref:i,href:l.compileLocalizedPathname({locale:d,pathname:a,params:"object"==typeof a?a.params:void 0,pathnames:t.pathnames}),locale:o,localeCookie:r,localePrefix:t.localePrefix},s))});function v(e){let{href:r,locale:n}=e;return l.compileLocalizedPathname({...l.normalizeNameOrNameWithParams(r),locale:n,pathnames:t.pathnames})}return p.displayName="Link",{Link:p,redirect:function(e){let r=v({href:e,locale:h()});for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return s.clientRedirect({pathname:r,localePrefix:t.localePrefix},...i)},permanentRedirect:function(e){let r=v({href:e,locale:h()});for(var n=arguments.length,i=Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return s.clientPermanentRedirect({pathname:r,localePrefix:t.localePrefix},...i)},usePathname:function(){let e=c.default(t),r=h();return i.useMemo(()=>e?l.getRoute(r,e,t.pathnames):e,[r,e])},useRouter:function(){let e=d.default(t.localePrefix,r),n=h();return i.useMemo(()=>({...e,push(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let l=v({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.push(l,...a)},replace(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let l=v({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.replace(l,...a)},prefetch(t){for(var r,i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];let l=v({href:t,locale:(null===(r=a[0])||void 0===r?void 0:r.locale)||n});return e.prefetch(l,...a)}}),[e,n])},getPathname:v}}},47706:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0});var n=r(7555),i=r(78968),a=r(95108),o=r(78100),l=r(687),u=r(90005),s=r(6858);t.default=function(e){function t(){return a.default()}let{Link:r,config:c,getPathname:d,...f}=o.default(t,e);return{...f,Link:r,usePathname:function(){let e=s.default(c),r=t();return i.useMemo(()=>e&&c.pathnames?u.getRoute(r,e,c.pathnames):e,[r,e])},useRouter:function(){let e=n.useRouter(),r=t(),a=n.usePathname();return i.useMemo(()=>{function t(e){return function(t,n){let{locale:i,...o}=n||{},u=[d({href:t,locale:i||r,domain:window.location.host})];Object.keys(o).length>0&&u.push(o),e(...u),l.default(c.localeCookie,a,r,i)}}return{...e,push:t(e.push),replace:t(e.replace),prefetch:t(e.prefetch)}},[r,a,e])},getPathname:d}}},90496:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(30289),i=r(78968),a=r(92930),o=r(33743),l=r(46565),u=r(6858),s=r(57695),c=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=function(e){let t=a.receiveLocalePrefixConfig(null==e?void 0:e.localePrefix),r=a.receiveLocaleCookie(null==e?void 0:e.localeCookie),d=i.forwardRef(function(e,i){return c.default.createElement(o.default,n.extends({ref:i,localeCookie:r,localePrefix:t},e))});return d.displayName="Link",{Link:d,redirect:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return l.clientRedirect({pathname:e,localePrefix:t},...n)},permanentRedirect:function(e){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return l.clientPermanentRedirect({pathname:e,localePrefix:t},...n)},usePathname:function(){return u.default({localePrefix:t,defaultLocale:null==e?void 0:e.defaultLocale})},useRouter:function(){return s.default(t,r)}}}},46565:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(95108),i=r(15653);function a(e){return function(t){let r;try{r=n.default()}catch(e){throw e}for(var i=arguments.length,a=Array(i>1?i-1:0),o=1;o<i;o++)a[o-1]=arguments[o];return e({...t,locale:r},...a)}}let o=a(i.baseRedirect),l=a(i.basePermanentRedirect);t.clientPermanentRedirect=l,t.clientRedirect=o},6858:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(7555),i=r(78968),a=r(95108),o=r(27644);t.default=function(e){let t=n.usePathname(),r=a.default();return i.useMemo(()=>{if(!t)return t;let n=t,i=o.getLocalePrefix(r,e.localePrefix);if(o.hasPathnamePrefixed(i,t))n=o.unprefixPathname(t,i);else if("as-needed"===e.localePrefix.mode&&e.localePrefix.prefixes){let e=o.getLocaleAsPrefix(r);o.hasPathnamePrefixed(e,t)&&(n=o.unprefixPathname(t,e))}return n},[e.localePrefix,r,t])}},57695:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(7555),i=r(78968),a=r(95108),o=r(27644),l=r(687),u=r(90005);t.default=function(e,t){let r=n.useRouter(),s=a.default(),c=n.usePathname();return i.useMemo(()=>{function n(r){return function(n,i){let{locale:a,...d}=i||{};l.default(t,c,s,a);let f=[function(t,r){let n=window.location.pathname,i=u.getBasePath(c);i&&(n=n.replace(i,""));let a=r||s,l=o.getLocalePrefix(a,e);return o.localizeHref(t,a,s,n,l)}(n,a)];return Object.keys(d).length>0&&f.push(d),r(...f)}}return{...r,push:n(r.push),replace:n(r.replace),prefetch:n(r.prefetch)}},[s,t,e,c,r])}},4417:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(30289),i=r(69646),a=r(7555),o=r(78968),l=r(95108),u=r(687);function s(e){return e&&e.__esModule?e:{default:e}}var c=s(i),d=s(o),f=o.forwardRef(function(e,t){let{defaultLocale:r,href:i,locale:s,localeCookie:f,onClick:h,prefetch:p,unprefixed:v,...m}=e,y=l.default(),g=null!=s&&s!==y,b=s||y,_=function(){let[e,t]=o.useState();return o.useEffect(()=>{t(window.location.host)},[]),e}(),w=_&&v&&(v.domains[_]===b||!Object.keys(v.domains).includes(_)&&y===r&&!s)?v.pathname:i,P=a.usePathname();return g&&(p=!1),d.default.createElement(c.default,n.extends({ref:t,href:w,hrefLang:g?s:void 0,onClick:function(e){u.default(f,P,y,s),h&&h(e)},prefetch:p},m))});t.default=f},72866:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(30289),i=r(7555),a=r(78968),o=r(95108),l=r(27644),u=r(4417),s=function(e){return e&&e.__esMo
1dule?e:{default:e}}(a);let c=a.forwardRef(function(e,t){let{href:r,locale:c,localeCookie:d,localePrefixMode:f,prefix:h,...p}=e,v=i.usePathname(),m=o.default(),y=c!==m,[g,b]=a.useState(()=>l.isLocalizableHref(r)&&("never"!==f||y)?l.prefixHref(r,h):r);return a.useEffect(()=>{v&&b(l.localizeHref(r,c,m,v,h))},[m,r,c,v,h]),s.default.createElement(u.default,n.extends({ref:t,href:g,locale:c,localeCookie:d},p))});c.displayName="ClientLink",t.default=c},78100:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(30289),i=r(7555),a=r(78968),o=r(92930),l=r(27644),u=r(4417),s=r(90005),c=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default=function(e,t){let r=o.receiveRoutingConfig(t||{}),d=r.pathnames,f="as-needed"===r.localePrefix.mode&&r.domains||void 0,h=a.forwardRef(function(t,i){let o,s,{href:h,locale:v,...m}=t;"object"==typeof h?(o=h.pathname,s=h.params):o=h;let y=l.isLocalizableHref(h),g=e(),b=g instanceof Promise?a.use(g):g,_=y?p({locale:v||b,href:null==d?o:{pathname:o,params:s}},null!=v||f||void 0):o;return c.default.createElement(u.default,n.extends({ref:i,defaultLocale:r.defaultLocale,href:"object"==typeof h?{...h,pathname:_}:_,locale:v,localeCookie:r.localeCookie,unprefixed:f&&y?{domains:r.domains.reduce((e,t)=>(e[t.domain]=t.defaultLocale,e),{}),pathname:p({locale:b,href:null==d?o:{pathname:o,params:s}},!1)}:void 0},m))});function p(e,t){let n;let{href:i,locale:a}=e;return null==d?"object"==typeof i?(n=i.pathname,i.query&&(n+=s.serializeSearchParams(i.query))):n=i:n=s.compileLocalizedPathname({locale:a,...s.normalizeNameOrNameWithParams(i),pathnames:r.pathnames}),s.applyPathnamePrefix(n,a,r,e.domain,t)}function v(e){return function(t){for(var r=arguments.length,n=Array(r>1?r-1:0),i=1;i<r;i++)n[i-1]=arguments[i];return e(p(t,t.domain?void 0:f),...n)}}return{config:r,Link:h,redirect:v(i.redirect),permanentRedirect:v(i.permanentRedirect),getPathname:p}}},15653:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(7555),i=r(27644);function a(e){return function(t){let r=i.getLocalePrefix(t.locale,t.localePrefix),n="never"!==t.localePrefix.mode&&i.isLocalizableHref(t.pathname)?i.prefixPathname(r,t.pathname):t.pathname;for(var a=arguments.length,o=Array(a>1?a-1:0),l=1;l<a;l++)o[l-1]=arguments[l];return e(n,...o)}}let o=a(n.redirect),l=a(n.permanentRedirect);t.basePermanentRedirect=l,t.baseRedirect=o},687:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(90005);t.default=function(e,t,r,i){if(!e||!(i!==r&&null!=i)||!t)return;let a=n.getBasePath(t),{name:o,...l}=e;l.path||(l.path=""!==a?a:"/");let u="".concat(o,"=").concat(i,";");for(let[e,t]of Object.entries(l))u+="".concat("maxAge"===e?"max-age":e),"boolean"!=typeof t&&(u+="="+t),u+=";";document.cookie=u}},90005:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0});var n=r(27644);function i(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))Array.isArray(n)?n.forEach(e=>{t.append(r,String(e))}):t.set(r,String(n));return"?"+t.toString()}t.applyPathnamePrefix=function(e,t,r,i,a){let o;let{mode:l}=r.localePrefix;if(void 0!==a)o=a;else if(n.isLocalizableHref(e)){if("always"===l)o=!0;else if("as-needed"===l){let e=r.defaultLocale;if(r.domains){let t=r.domains.find(e=>e.domain===i);t&&(e=t.defaultLocale)}o=e!==t}}return o?n.prefixPathname(n.getLocalePrefix(t,r.localePrefix),e):e},t.compileLocalizedPathname=function(e){let{pathname:t,locale:r,params:a,pathnames:o,query:l}=e;function u(e){let t=o[e];return t||(t=e),t}function s(e){let t="string"==typeof e?e:e[r];return a&&Object.entries(a).forEach(e=>{let r,n,[i,a]=e;Array.isArray(a)?(r="(\\[)?\\[...".concat(i,"\\](\\])?"),n=a.map(e=>String(e)).join("/")):(r="\\[".concat(i,"\\]"),n=String(a)),t=t.replace(RegExp(r,"g"),n)}),t=t.replace(/\[\[\.\.\..+\]\]/g,""),t=n.normalizeTrailingSlash(t),l&&(t+=i(l)),t}if("string"==typeof t)return s(u(t));{let{pathname:e,...r}=t;return{...r,pathname:s(u(e))}}},t.getBasePath=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:window.location.pathname;return"/"===e?t:t.replace(e,"")},t.getRoute=function(e,t,r){let i=n.getSortedPathnames(Object.keys(r)),a=decodeURI(t);for(let t of i){let i=r[t];if("string"==typeof i){if(n.matchesPathname(i,a))return t}else if(n.matchesPathname(i[e],a))return t}return t},t.normalizeNameOrNameWithParams=function(e){return"string"==typeof e?{pathname:e}:e},t.serializeSearchParams=i},41779:(e,t,r)=>{var n=r(47675);t.o=n.default},92930:(e,t)=>{function r(e){return!(null!=e&&!e)&&{name:"NEXT_LOCALE",maxAge:31536e3,sameSite:"lax",..."object"==typeof e&&e}}function n(e){return"object"==typeof e?e:{mode:e||"always"}}
1Object.defineProperty(t,"__esModule",{value:!0}),t.receiveLocaleCookie=r,t.receiveLocalePrefixConfig=n,t.receiveRoutingConfig=function(e){var t,i;return{...e,localePrefix:n(e.localePrefix),localeCookie:r(e.localeCookie),localeDetection:null===(t=e.localeDetection)||void 0===t||t,alternateLinks:null===(i=e.alternateLinks)||void 0===i||i}}},47675:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){return e}},27644:(e,t,r)=>{var n=r(37811);function i(e){return("object"==typeof e?null==e.host&&null==e.hostname:!/^[a-z]+:/i.test(e))&&!function(e){let t="object"==typeof e?e.pathname:e;return null!=t&&!t.startsWith("/")}(e)}function a(e,t){let r;return"string"==typeof e?r=o(t,e):(r={...e},e.pathname&&(r.pathname=o(t,e.pathname))),r}function o(e,t){let r=e;return/^\/(\?.*)?$/.test(t)&&(t=t.slice(1)),r+=t}function l(e,t){return t===e||t.startsWith("".concat(e,"/"))}function u(e){let t=function(){try{return"true"===n.env._next_intl_trailing_slash}catch(e){return!1}}();if("/"!==e){let r=e.endsWith("/");t&&!r?e+="/":!t&&r&&(e=e.slice(0,-1))}return e}function s(e){return"/"+e}function c(e){let t=e.replace(/\[\[(\.\.\.[^\]]+)\]\]/g,"?(.*)").replace(/\[(\.\.\.[^\]]+)\]/g,"(.+)").replace(/\[([^\]]+)\]/g,"([^/]+)");return new RegExp("^".concat(t,"$"))}function d(e){return e.includes("[[...")}function f(e){return e.includes("[...")}function h(e){return e.includes("[")}function p(e,t){let r=e.split("/"),n=t.split("/"),i=Math.max(r.length,n.length);for(let e=0;e<i;e++){let t=r[e],i=n[e];if(!t&&i)return -1;if(t&&!i)return 1;if(t||i){if(!h(t)&&h(i))return -1;if(h(t)&&!h(i))return 1;if(!f(t)&&f(i))return -1;if(f(t)&&!f(i))return 1;if(!d(t)&&d(i))return -1;if(d(t)&&!d(i))return 1}}return 0}Object.defineProperty(t,"__esModule",{value:!0}),t.getLocaleAsPrefix=s,t.getLocalePrefix=function(e,t){var r;return"never"!==t.mode&&(null===(r=t.prefixes)||void 0===r?void 0:r[e])||s(e)},t.getSortedPathnames=function(e){return e.sort(p)},t.hasPathnamePrefixed=l,t.isLocalizableHref=i,t.localizeHref=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t,n=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0;if(!i(e))return e;let u=l(o,n);return(t!==r||u)&&null!=o?a(e,o):e},t.matchesPathname=function(e,t){let r=u(e),n=u(t);return c(r).test(n)},t.normalizeTrailingSlash=u,t.prefixHref=a,t.prefixPathname=o,t.templateToRegex=c,t.unprefixPathname=function(e,t){return e.replace(new RegExp("^".concat(t)),"")||"/"}},44272:(e,t,r)=>{r.d(t,{default:()=>i.a});var n=r(66585),i=r.n(n)},11582:(e,t,r)=>{r.r(t),r.d(t,{default:()=>i.a});var n=r(42351),i=r.n(n),a={};for(let e in n)"default"!==e&&(a[e]=()=>n[e]);r.d(t,a)},42351:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return g},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return m}});let n=r(9419),i=r(79104),a=r(56148),o=n._(r(96185)),l=i._(r(78968)),u=r(59138),s=r(64334),c=r(84354),d=new Map,f=new Set,h=e=>{if(o.default.preinit){e.forEach(e=>{o.default.preinit(e,{as:"style"})});return}if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},p=e=>{let{src:t,id:r,onLoad:n=()=>{},onReady:i=null,dangerouslySetInnerHTML:a,children:o="",strategy:l="afterInteractive",onError:u,stylesheets:c}=e,p=r||t;if(p&&f.has(p))return;if(d.has(t)){f.add(p),d.get(t).then(n,u);return}let v=()=>{i&&i(),f.add(p)},m=document.createElement("script"),y=new Promise((e,t)=>{m.addEventListener("load",function(t){e(),n&&n.call(this,t),v()}),m.addEventListener("error",function(e){t(e)})}).catch(function(e){u&&u(e)});a?(m.innerHTML=a.__html||"",v()):o?(m.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",v()):t&&(m.src=t,d.set(t,y)),(0,s.setAttributesFromProps)(m,e),"worker"===l&&m.setAttribute("type","text/partytown"),m.setAttribute("data-nscript",l),c&&h(c),document.body.appendChild(m)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))}):p(e)}function m(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEac
1h(e=>{let t=e.id||e.getAttribute("src");f.add(t)})}function y(e){let{id:t,src:r="",onLoad:n=()=>{},onReady:i=null,strategy:s="afterInteractive",onError:d,stylesheets:h,...v}=e,{updateScripts:m,scripts:y,getIsSsr:g,appDir:b,nonce:_}=(0,l.useContext)(u.HeadManagerContext),w=(0,l.useRef)(!1);(0,l.useEffect)(()=>{let e=t||r;w.current||(i&&e&&f.has(e)&&i(),w.current=!0)},[i,t,r]);let P=(0,l.useRef)(!1);if((0,l.useEffect)(()=>{!P.current&&("afterInteractive"===s?p(e):"lazyOnload"===s&&("complete"===document.readyState?(0,c.requestIdleCallback)(()=>p(e)):window.addEventListener("load",()=>{(0,c.requestIdleCallback)(()=>p(e))})),P.current=!0)},[e,s]),("beforeInteractive"===s||"worker"===s)&&(m?(y[s]=(y[s]||[]).concat([{id:t,src:r,onLoad:n,onReady:i,onError:d,...v}]),m(y)):g&&g()?f.add(t||r):g&&!g()&&p(e)),b){if(h&&h.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===s)return r?(o.default.preload(r,v.integrity?{as:"script",integrity:v.integrity,nonce:_,crossOrigin:v.crossOrigin}:{as:"script",nonce:_,crossOrigin:v.crossOrigin}),(0,a.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...v,id:t}])+")"}})):(v.dangerouslySetInnerHTML&&(v.children=v.dangerouslySetInnerHTML.__html,delete v.dangerouslySetInnerHTML),(0,a.jsx)("script",{nonce:_,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...v,id:t}])+")"}}));"afterInteractive"===s&&r&&o.default.preload(r,v.integrity?{as:"script",integrity:v.integrity,nonce:_,crossOrigin:v.crossOrigin}:{as:"script",nonce:_,crossOrigin:v.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let g=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},64334:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"setAttributesFromProps",{enumerable:!0,get:function(){return a}});let r={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"},n=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"];function i(e){return["async","defer","noModule"].includes(e)}function a(e,t){for(let[a,o]of Object.entries(t)){if(!t.hasOwnProperty(a)||n.includes(a)||void 0===o)continue;let l=r[a]||a.toLowerCase();"SCRIPT"===e.tagName&&i(l)?e[l]=!!o:e.setAttribute(l,String(o)),(!1===o||"SCRIPT"===e.tagName&&i(l)&&(!o||"false"===o))&&(e.setAttribute(l,""),e.removeAttribute(l))}}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},66585:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let n=r(9419)._(r(40681));function i(e,t){var r;let i={};"function"==typeof e&&(i.loader=e);let a={...i,...t};return(0,n.default)({...a,modules:null==(r=a.loadableGenerated)?void 0:r.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},2598:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let n=r(73058);function i(e){let{reason:t,children:r}=e;if("undefined"==typeof window)throw new n.BailoutToCSRError(t);return r}},40681:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return s}});let n=r(56148),i=r(78968),a=r(2598),o=r(54795);function l(e){return{default:e&&"default"in e?e.default:e}}let u={loader:()=>Promise.resolve(l(()=>null)),loading:null,ssr:!0},s=function(e){let t={...u,...e},r=(0,i.lazy)(()=>t.loader().then(l)),s=t.loading;function c(e){let l=s?(0,n.jsx)(s,{isLoading:!0,pastDelay:!0,error:null}):null,u=!t.ssr||!!t.loading,c=u?i.Suspense:i.Fragment,d=t.ssr?(0,n.jsxs)(n.Fragment,{children:["undefined"==typeof window?(0,n.jsx)(o.PreloadChunks,{moduleIds:t.modules}):null,(0,n.jsx)(r,{...e})]}):(0,n.jsx)(a.BailoutToCSR,{reason:"next/dynamic",children:(0,n.jsx)(r,{...e})});return(0,n.jsx)(c,{...u?{fallback:l}:{},children:d})}return c.displayName="LoadableComponent",c}},54795:(e,t,r)=>
1{Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return l}});let n=r(56148),i=r(96185),a=r(39068),o=r(82441);function l(e){let{moduleIds:t}=e;if("undefined"!=typeof window)return null;let r=a.workAsyncStorage.getStore();if(void 0===r)return null;let l=[];if(r.reactLoadableManifest&&t){let e=r.reactLoadableManifest;for(let r of t){if(!e[r])continue;let t=e[r].files;l.push(...t)}}return 0===l.length?null:(0,n.jsx)(n.Fragment,{children:l.map(e=>{let t=r.assetPrefix+"/_next/"+(0,o.encodeURIPath)(e);return e.endsWith(".css")?(0,n.jsx)("link",{precedence:"dynamic",href:t,rel:"stylesheet",as:"style"},e):((0,i.preload)(t,{as:"script",fetchPriority:"low"}),null)})})}},86047:(e,t,r)=>{function n(e,t,r,n,i,a,o){try{var l=e[a](o),u=l.value}catch(e){return void r(e)}l.done?t(u):Promise.resolve(u).then(n,i)}function i(e){return function(){var t=this,r=arguments;return new Promise(function(i,a){var o=e.apply(t,r);function l(e){n(o,i,a,l,u,"next",e)}function u(e){n(o,i,a,l,u,"throw",e)}l(void 0)})}}r.d(t,{A:()=>i})},74079:(e,t,r)=>{r.d(t,{A:()=>i});var n=r(66476);function i(){i=function(){return t};var e,t={},r=Object.prototype,a=r.hasOwnProperty,o=Object.defineProperty||function(e,t,r){e[t]=r.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",s=l.asyncIterator||"@@asyncIterator",c=l.toStringTag||"@@toStringTag";function d(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{d({},"")}catch(e){d=function(e,t,r){return e[t]=r}}function f(t,r,n,i){var a,l,u=Object.create((r&&r.prototype instanceof g?r:g).prototype);return o(u,"_invoke",{value:(a=new E(i||[]),l=p,function(r,i){if(l===v)throw Error("Generator is already running");if(l===m){if("throw"===r)throw i;return{value:e,done:!0}}for(a.method=r,a.arg=i;;){var o=a.delegate;if(o){var u=function t(r,n){var i=n.method,a=r.iterator[i];if(a===e)return n.delegate=null,"throw"===i&&r.iterator.return&&(n.method="return",n.arg=e,t(r,n),"throw"===n.method)||"return"!==i&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+i+"' method")),y;var o=h(a,r.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var l=o.arg;return l?l.done?(n[r.resultName]=l.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):l:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,y)}(o,a);if(u){if(u===y)continue;return u}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(l===p)throw l=m,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);l=v;var s=h(t,n,a);if("normal"===s.type){if(l=a.done?m:"suspendedYield",s.arg===y)continue;return{value:s.arg,done:a.done}}"throw"===s.type&&(l=m,a.method="throw",a.arg=s.arg)}})}),u}function h(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=f;var p="suspendedStart",v="executing",m="completed",y={};function g(){}function b(){}function _(){}var w={};d(w,u,function(){return this});var P=Object.getPrototypeOf,x=P&&P(P(A([])));x&&x!==r&&a.call(x,u)&&(w=x);var O=_.prototype=g.prototype=Object.create(w);function j(e){["next","throw","return"].forEach(function(t){d(e,t,function(e){return this._invoke(t,e)})})}function C(e,t){var r;o(this,"_invoke",{value:function(i,o){function l(){return new t(function(r,l){!function r(i,o,l,u){var s=h(e[i],e,o);if("throw"!==s.type){var c=s.arg,d=c.value;return d&&"object"==(0,n.A)(d)&&a.call(d,"__await")?t.resolve(d.__await).then(function(e){r("next",e,l,u)},function(e){r("throw",e,l,u)}):t.resolve(d).then(function(e){c.value=e,l(c)},function(e){return r("throw",e,l,u)})}u(s.arg)}(i,o,r,l)})}return r=r?r.then(l,l):l()}})}function L(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function E(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(L,this),this.reset(!0)}function A(t){if(t||""===t){var r=t[u];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i<t.length;)if(a.call(t,i))return r.value=t[i],r.done=!1,r;return r.value=e,r.done=!0,r};return o.next=o}}throw TypeError((0,n.A)(t)+" is not iterable")}return b.prototype=_,o(O,"constructor",{value:_,configurable:!0}),o(_,"constructor",{value:b,configurable:!0}),b.displayName=d(_,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,_):(e.__proto__=_,d(e,c,"GeneratorFunction")),e.prototype=Object.create(O),e},t.awrap=function(e){return{__await:e}},j(C.prototype),d(C.prototype,s,function(){return this}),t.AsyncIterator=C,t.async=function(e,r,n,i,a){void 0===a&&(a=Promise);var o=new C(f(e,r,n,i),a);return t.isGeneratorFunction(r)?o:o.next().then(function(e){return e.done?e.value:o.next()})},j(O),d(O,c,"Generator"),d(O,u,function(){return this}),d(O,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=A,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEac
1h(M),!t)for(var r in this)"t"===r.charAt(0)&&a.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function n(n,i){return l.type="throw",l.arg=t,r.next=n,i&&(r.method="next",r.arg=e),!!i}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],l=o.completion;if("root"===o.tryLoc)return n("end");if(o.tryLoc<=this.prev){var u=a.call(o,"catchLoc"),s=a.call(o,"finallyLoc");if(u&&s){if(this.prev<o.catchLoc)return n(o.catchLoc,!0);if(this.prev<o.finallyLoc)return n(o.finallyLoc)}else if(u){if(this.prev<o.catchLoc)return n(o.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return n(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var n=this.tryEntries[r];if(n.tryLoc<=this.prev&&a.call(n,"finallyLoc")&&this.prev<n.finallyLoc){var i=n;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),y},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),M(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;M(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:A(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}},21305:(e,t,r)=>{r.d(t,{E:()=>m});var n=r(74585),i=r(86948),a=r(89226),o=r(35029),l=r(94969);class u extends l.k{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||i.U,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){let t="function"==typeof e.initialData?e.initialData():e.initialData,r=void 0!==t,n=r?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:r?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:r?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){let r=(0,n.pl)(this.state.data,e,this.options);return this.dispatch({data:r,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),r}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;let r=this.promise;return null==(t=this.retryer)||t.cancel(e),r?r.then(n.lQ).catch(n.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some(e=>!1!==e.options.enabled)}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(e=>e.getCurrentResult().isStale)}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,n.j3)(this.state.dataUpdatedAt,e)}onFocus(){var e;let t=this.observers.find(e=>e.shouldFetchOnWindowFocus());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;let t=this.observers.find(e=>e.shouldFetchOnReconnect());t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>
1t!==e),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var r,i,a,l;if("idle"!==this.state.fetchStatus){if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise)return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){let e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}let u=(0,n.jY)(),s={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},c=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(u)return this.abortSignalConsumed=!0,u.signal}})};c(s);let d={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(s)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};c(d),null==(r=this.options.behavior)||r.onFetch(d),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(i=d.fetchOptions)?void 0:i.meta))&&this.dispatch({type:"fetch",meta:null==(l=d.fetchOptions)?void 0:l.meta});let f=e=>{if((0,o.wm)(e)&&e.silent||this.dispatch({type:"error",error:e}),!(0,o.wm)(e)){var t,r,n,i;null==(t=(r=this.cache.config).onError)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,this.state.data,e,this)}this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,o.II)({fn:d.fetchFn,abort:null==u?void 0:u.abort.bind(u),onSuccess:e=>{var t,r,n,i;if(void 0===e){f(Error(this.queryHash+" data is undefined"));return}this.setData(e),null==(t=(r=this.cache.config).onSuccess)||t.call(r,e,this),null==(n=(i=this.cache.config).onSettled)||n.call(i,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1},onError:f,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:d.options.retry,retryDelay:d.options.retryDelay,networkMode:d.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var r,n;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(r=e.meta)?r:null,fetchStatus:(0,o.v_)(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(n=e.dataUpdatedAt)?n:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":let i=e.error;if((0,o.wm)(i)&&i.revert&&this.revertState)return{...this.revertState,fetchStatus:"idle"};return{...t,error:i,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:i,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),a.j.batch(()=>{this.observers.forEach(t=>{t.onQueryUpdate(e)}),this.cache.notify({query:this,type:"updated",action:e})})}}var s=r(43303);class c extends s.Q{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,r){var i;let a=t.queryKey,o=null!=(i=t.queryHash)?i:(0,n.F$)(a,t),l=this.get(o);return l||(l=new u({cache:this,logger:e.getLogger(),queryKey:a,queryHash:o,options:e.defaultQueryOptions(t),state:r,defaultOptions:e.getQueryDefaults(a)}),this.add(l)),l}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){let t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(t=>t!==e),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){a.j.batch(()=>
1{this.queries.forEach(e=>{this.remove(e)})})}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){let[r]=(0,n.b_)(e,t);return void 0===r.exact&&(r.exact=!0),this.queries.find(e=>(0,n.MK)(r,e))}findAll(e,t){let[r]=(0,n.b_)(e,t);return Object.keys(r).length>0?this.queries.filter(e=>(0,n.MK)(r,e)):this.queries}notify(e){a.j.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}onFocus(){a.j.batch(()=>{this.queries.forEach(e=>{e.onFocus()})})}onOnline(){a.j.batch(()=>{this.queries.forEach(e=>{e.onOnline()})})}}var d=r(39525);class f extends s.Q{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,r){let n=new d.s({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:r,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(n),n}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter(t=>t!==e),this.notify({type:"removed",mutation:e})}clear(){a.j.batch(()=>{this.mutations.forEach(e=>{this.remove(e)})})}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(t=>(0,n.nJ)(e,t))}findAll(e){return this.mutations.filter(t=>(0,n.nJ)(e,t))}notify(e){a.j.batch(()=>{this.listeners.forEach(({listener:t})=>{t(e)})})}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then(()=>{let e=this.mutations.filter(e=>
1e.state.isPaused);return a.j.batch(()=>e.reduce((e,t)=>e.then(()=>t.continue().catch(n.lQ)),Promise.resolve()))}).then(()=>{this.resuming=void 0}),this.resuming}}var h=r(95781),p=r(75288),v=r(78988);class m{constructor(e={}){this.queryCache=e.queryCache||new c,this.mutationCache=e.mutationCache||new f,this.logger=e.logger||i.U,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=h.m.subscribe(()=>{h.m.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())}),this.unsubscribeOnline=p.t.subscribe(()=>{p.t.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())}))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){let[r]=(0,n.b_)(e,t);return r.fetchStatus="fetching",this.queryCache.findAll(r).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state.data}ensureQueryData(e,t,r){let i=(0,n.vh)(e,t,r),a=this.getQueryData(i.queryKey);return a?Promise.resolve(a):this.fetchQuery(i)}getQueriesData(e){return this.getQueryCache().findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,r){let i=this.queryCache.find(e),a=null==i?void 0:i.state.data,o=(0,n.Zw)(t,a);if(void 0===o)return;let l=(0,n.vh)(e),u=this.defaultQueryOptions(l);return this.queryCache.build(this,u).setData(o,{...r,manual:!0})}setQueriesData(e,t,r){return a.j.batch(()=>this.getQueryCache().findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,r)]))}getQueryState(e,t){var r;return null==(r=this.queryCache.find(e,t))?void 0:r.state}removeQueries(e,t){let[r]=(0,n.b_)(e,t),i=this.queryCache;a.j.batch(()=>{i.findAll(r).forEach(e=>{i.remove(e)})})}resetQueries(e,t,r){let[i,o]=(0,n.b_)(e,t,r),l=this.queryCache,u={type:"active",...i};return a.j.batch(()=>(l.findAll(i).forEach(e=>{e.reset()}),this.refetchQueries(u,o)))}cancelQueries(e,t,r){let[i,o={}]=(0,n.b_)(e,t,r);return void 0===o.revert&&(o.revert=!0),Promise.all(a.j.batch(()=>this.queryCache.findAll(i).map(e=>e.cancel(o)))).then(n.lQ).catch(n.lQ)}invalidateQueries(e,t,r){let[i,o]=(0,n.b_)(e,t,r);return a.j.batch(()=>{var e,t;if(this.queryCache.findAll(i).forEach(e=>{e.invalidate()}),"none"===i.refetchType)return Promise.resolve();let r={...i,type:null!=(e=null!=(t=i.refetchType)?t:i.type)?e:"active"};return this.refetchQueries(r,o)})}refetchQueries(e,t,r){let[i,o]=(0,n.b_)(e,t,r),l=Promise.all(a.j.batch(()=>this.queryCache.findAll(i).filter(e=>!e.isDisabled()).map(e=>{var t;return e.fetch(void 0,{...o,cancelRefetch:null==(t=null==o?void 0:o.cancelRefetch)||t,meta:{refetchPage:i.refetchPage}})}))).then(n.lQ);return null!=o&&o.throwOnError||(l=l.catch(n.lQ)),l}fetchQuery(e,t,r){let i=(0,n.vh)(e,t,r),a=this.defaultQueryOptions(i);void 0===a.retry&&(a.retry=!1);let o=this.queryCache.build(this,a);return o.isStaleByTime(a.staleTime)?o.fetch(a):Promise.resolve(o.state.data)}prefetchQuery(e,t,r){return this.fetchQuery(e,t,r).then(n.lQ).catch(n.lQ)}fetchInfiniteQuery(e,t,r){let i=(0,n.vh)(e,t,r);return i.behavior=(0,v.PL)(),this.fetchQuery(i)}prefetchInfiniteQuery(e,t,r){return this.fetchInfiniteQuery(e,t,r).then(n.lQ).catch(n.lQ)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){let r=this.queryDefaults.find(t=>(0,n.Od)(e)===(0,n.Od)(t.queryKey));r?r.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;let t=this.queryDefaults.find(t=>(0,n.Cp)(e,t.queryKey));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){let r=this.mutationDefaults.find(t=>(0,n.Od)(e)===(0,n.Od)(t.mutationKey));r?r.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;let t=this.mutationDefaults.find(t=>(0,n.Cp)(e,t.mutationKey));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;let t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=(0,n.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}},10182:(e,t,r)=>{r.d(t,{E:()=>n});let n=function(){return null}},22235:(e,t,r)=>{r.d(t,{A:()=>n});let n=function(){}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.