!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5e8350a4-88d9-5b2d-ac7d-419c885bff70")}catch(e){}}(); (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5866],{79603:e=>{function t(e){return e&&e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}function r(e){return e}function n(e,n){let i=(n=n||{}).delimiter||".",o=n.maxDepth,u=n.transformKey||r,a={};return!function e(r,c,l){l=l||1,Object.keys(r).forEach(function(s){let d=r[s],f=n.safe&&Array.isArray(d),b=Object.prototype.toString.call(d),p=t(d),g=c?c+i+u(s):u(s);if(!f&&!p&&("[object Object]"===b||"[object Array]"===b)&&Object.keys(d).length&&(!n.maxDepth||l0&&(n=s(r.shift()),d=s(r[0]))}f[n]=e(i[t],o)}),l}},68799:(e,t,r)=>{"use strict";function n(e,t,r){if(!t.has(e))throw TypeError("attempted to "+r+" private field on non-instance");return t.get(e)}r.d(t,{_:()=>n})},74028:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(68799);function i(e,t){var r=(0,n._)(e,t,"get");return r.get?r.get.call(e):r.value}},31981:(e,t,r)=>{"use strict";function n(e,t,r){!function(e,t){if(t.has(e))throw TypeError("Cannot initialize the same private elements twice on an object")}(e,t),t.set(e,r)}r.d(t,{_:()=>n})},29615:(e,t,r)=>{"use strict";r.d(t,{_:()=>i});var n=r(68799);function i(e,t,r){var i=(0,n._)(e,t,"set");return!function(e,t,r){if(t.set)t.set.call(e,r);else{if(!t.writable)throw TypeError("attempted to set read only private field");t.value=r}}(e,i,r),r}},89440:(e,t,r)=>{"use strict";function n(){return"undefined"!=typeof window}function i(){return(n()?window.vam:"production")||"production"}function o(){return"production"===i()}function u(e,t,r){var u,a;if(!n()){let e="[Vercel Web Analytics] Please import `track` from `@vercel/analytics/server` when using this function in a server environment";if(o())console.warn(e);else throw Error(e);return}if(!t){null==(u=window.va)||u.call(window,"event",{name:e,options:r});return}try{let n=function(e,t){if(!e)return;let r=e,n=[];for(let[i,o]of Object.entries(e))"object"==typeof o&&null!==o&&(t.strip?r=function(e,{[e]:t,...r}){return r}(i,r):n.push(i));if(n.length>0&&!t.strip)throw Error(`The following properties are not valid: ${n.join(", ")}. Only strings, numbers, booleans, and null are allowed.`);return r}(t,{strip:o()});null==(a=window.va)||a.call(window,"event",{name:e,data:n,options:r})}catch(e){e instanceof Error&&"development"===i()&&console.error(e)}}r.d(t,{u4:()=>u}),r(73124)},33877:(e,t,r)=>{"use strict";function n(e){for(var t=1;ti});let i=function e(t,r){function i(e,i,o){if("undefined"!=typeof document){"number"==typeof(o=n({},r,o)).expires&&(o.expires=new Date(Date.now()+864e5*o.expires)),o.expires&&(o.expires=o.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var u="";for(var a in o)o[a]&&(u+="; "+a,!0!==o[a]&&(u+="="+o[a].split(";")[0]));return document.cookie=e+"="+t.write(i,e)+u}}return Object.create({set:i,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var r=document.cookie?document.cookie.split("; "):[],n={},i=0;i{"use strict";r.d(t,{A:()=>l});var n=r(72303),i=r(47057),o=r(90080);let u=n.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;if("rejected"===e.status)throw e.reason;throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}),a={dedupe:!0};o.qv.defineProperty(o.BE,"defaultValue",{value:o.sb});let c=(0,o.qm)((e,t,r)=>{let{cache:c,compare:l,suspense:s,fallbackData:d,revalidateOnMount:f,revalidateIfStale:b,refreshInterval:p,refreshWhenHidden:g,refreshWhenOffline:v,keepPreviousData:h}=r,[m,w,y,E]=o.bZ.get(c),[j,O]=(0,o.lK)(e),R=(0,n.useRef)(!1),T=(0,n.useRef)(!1),_=(0,n.useRef)(j),k=(0,n.useRef)(t),C=(0,n.useRef)(r),V=()=>C.current,A=()=>V().isVisible()&&V().isOnline(),[S,L,x,D]=(0,o.r9)(c,j),N=(0,n.useRef)({}).current,I=(0,o.b0)(d)?r.fallback[j]:d;I&&(0,o.$X)(I)&&(I=u(I));let F=(e,t)=>{for(let r in N)if("data"===r){if(!l(e[r],t[r])&&(!(0,o.b0)(e[r])||!l(Z,t[r])))return!1}else if(t[r]!==e[r])return!1;return!0},U=(0,n.useMemo)(()=>{let e=!!j&&!!t&&((0,o.b0)(f)?!V().isPaused()&&!s&&(!!(0,o.b0)(b)||b):f),r=t=>{let r=(0,o.rL)(t);return(delete r._k,e)?{isValidating:!0,isLoading:!0,...r}:r},n=S(),i=D(),u=r(n),a=n===i?u:r(i),c=u;return[()=>{let e=r(S());return F(e,c)?(c.data=e.data,c.isLoading=e.isLoading,c.isValidating=e.isValidating,c.error=e.error,c):(c=e,e)},()=>a]},[c,j]),B=(0,i.useSyncExternalStore)((0,n.useCallback)(e=>x(j,(t,r)=>{F(r,t)||e()}),[c,j]),U[0],U[1]),P=!R.current,q=m[j]&&m[j].length>0,z=B.data,H=(0,o.b0)(z)?I:z,K=B.error,X=(0,n.useRef)(H),Z=h?(0,o.b0)(z)?X.current:z:H,M=(!q||!!(0,o.b0)(K))&&(P&&!(0,o.b0)(f)?f:!V().isPaused()&&(s?!(0,o.b0)(H)&&b:(0,o.b0)(H)||b)),$=!!(j&&t&&P&&M),W=(0,o.b0)(B.isValidating)?$:B.isValidating,G=(0,o.b0)(B.isLoading)?$:B.isLoading,J=(0,n.useCallback)(async e=>{let t,n;let i=k.current;if(!j||!i||T.current||V().isPaused())return!1;let u=!0,a=e||{},c=!y[j]||!a.dedupe,s=()=>o.dO?!T.current&&j===_.current&&R.current:j===_.current,d={isValidating:!1,isLoading:!1},f=()=>{L(d)},b=()=>{let e=y[j];e&&e[1]===n&&delete y[j]},p={isValidating:!0};(0,o.b0)(S().data)&&(p.isLoading=!0);try{if(c&&(L(p),r.loadingTimeout&&(0,o.b0)(S().data)&&setTimeout(()=>{u&&s()&&V().onLoadingSlow(j,r)},r.loadingTimeout),y[j]=[i(O),(0,o.lg)()]),[t,n]=y[j],t=await t,c&&setTimeout(b,r.dedupingInterval),!y[j]||y[j][1]!==n)return c&&s()&&V().onDiscarded(j),!1;d.error=o.ZH;let e=w[j];if(!(0,o.b0)(e)&&(n<=e[0]||n<=e[1]||0===e[1]))return f(),c&&s()&&V().onDiscarded(j),!1;let a=S().data;d.data=l(a,t)?a:t,c&&s()&&V().onSuccess(t,j,r)}catch(r){b();let e=V(),{shouldRetryOnError:t}=e;!e.isPaused()&&(d.error=r,c&&s()&&(e.onError(r,j,e),(!0===t||(0,o.Tn)(t)&&t(r))&&(!V().revalidateOnFocus||!V().revalidateOnReconnect||A())&&e.onErrorRetry(r,j,e,e=>{let t=m[j];t&&t[0]&&t[0](o.bu.ERROR_REVALIDATE_EVENT,e)},{retryCount:(a.retryCount||0)+1,dedupe:!0})))}return u=!1,f(),!0},[j,c]),Q=(0,n.useCallback)((...e)=>(0,o.mF)(c,_.current,...e),[]);if((0,o.Es)(()=>{k.current=t,C.current=r,(0,o.b0)(z)||(X.current=z)}),(0,o.Es)(()=>{if(!j)return;let e=J.bind(o.ZH,a),t=0,r=(0,o.aw)(j,m,(r,n={})=>{if(r==o.bu.FOCUS_EVENT){let r=Date.now();V().revalidateOnFocus&&r>t&&A()&&(t=r+V().focusThrottleInterval,e())}else if(r==o.bu.RECONNECT_EVENT)V().revalidateOnReconnect&&A()&&e();else if(r==o.bu.MUTATE_EVENT)return J();else if(r==o.bu.ERROR_REVALIDATE_EVENT)return J(n)});return T.current=!1,_.current=j,R.current=!0,L({_k:O}),M&&((0,o.b0)(H)||o.X3?e():(0,o.mf)(e)),()=>{T.current=!0,r()}},[j]),(0,o.Es)(()=>{let e;function t(){let t=(0,o.Tn)(p)?p(S().data):p;t&&-1!==e&&(e=setTimeout(r,t))}function r(){!S().error&&(g||V().isVisible())&&(v||V().isOnline())?J(a).then(t):t()}return t(),()=>{e&&(clearTimeout(e),e=-1)}},[p,g,v,j]),(0,n.useDebugValue)(Z),s&&(0,o.b0)(H)&&j){if(!o.dO&&o.X3)throw Error("Fallback data is required when using suspense in SSR.");k.current=t,C.current=r,T.current=!1;let e=E[j];if((0,o.b0)(e)||u(Q(e)),(0,o.b0)(K)){let e=J(a);(0,o.b0)(Z)||(e.status="fulfilled",e.value=!0),u(e)}else throw K}return{mutate:Q,get data(){return N.data=!0,Z},get error(){return N.error=!0,K},get isValidating(){return N.isValidating=!0,W},get isLoading(){return N.isLoading=!0,G}}}),l=(0,o.Ht)(c,e=>(t,r,n)=>(n.revalidateOnFocus=!1,n.revalidateIfStale=!1,n.revalidateOnReconnect=!1,e(t,r,n)))}}]); //# debugId=5e8350a4-88d9-5b2d-ac7d-419c885bff70