/*! For license information please see 3797.98615fe5765058de4bb3.js.LICENSE.txt */ "use strict";(self.__LOADABLE_LOADED_CHUNKS__=self.__LOADABLE_LOADED_CHUNKS__||[]).push([[3797],{93797:function(e,t,n){n.d(t,{ZP:function(){return ce}});var r=n(94159);function i(e,t,n,r){return new(n||(n=Promise))((function(i,u){function o(e){try{c(r.next(e))}catch(e){u(e)}}function a(e){try{c(r.throw(e))}catch(e){u(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,a)}c((r=r.apply(e,t||[])).next())}))}function u(e,t){var n,r,i,u,o={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return u={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(u[Symbol.iterator]=function(){return this}),u;function a(u){return function(a){return function(u){if(n)throw new TypeError("Generator is already executing.");for(;o;)try{if(n=1,r&&(i=2&u[0]?r.return:u[0]?r.throw||((i=r.return)&&i.call(r),0):r.next)&&!(i=i.call(r,u[1])).done)return i;switch(r=0,i&&(u=[2&u[0],i.value]),u[0]){case 0:case 1:i=u;break;case 4:return o.label++,{value:u[1],done:!1};case 5:o.label++,r=u[1],u=[0];continue;case 7:u=o.ops.pop(),o.trys.pop();continue;default:if(!((i=(i=o.trys).length>0&&i[i.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]u||setTimeout(r,a,i)},onDiscarded:a,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:L?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:L?5e3:3e3,compare:function(e,t){return y(e)==y(t)},isPaused:function(){return!1},cache:W,mutate:j,fallback:{}},S),J=function(e,t){var n=d(e,t);if(t){var r=e.use,i=e.fallback,u=t.use,o=t.fallback;r&&u&&(n.use=r.concat(u)),i&&o&&(n.fallback=d(i,o))}return n},H=(0,r.createContext)({}),q=function(e){return s(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},B=function(){return d(z,(0,r.useContext)(H))},G=function(e,t,n){var r=t[e]||(t[e]=[]);return r.push(n),function(){var e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},K={dedupe:!0},U=(f.defineProperty((function(e){var t=e.value,n=J((0,r.useContext)(H),t),i=t&&t.provider,u=(0,r.useState)((function(){return i?M(i(n.cache||W),t):c}))[0];return u&&(n.cache=u[0],n.mutate=u[1]),C((function(){return u?u[2]:c}),[]),(0,r.createElement)(H.Provider,d(e,{value:n}))}),"default",{value:z}),o=function(e,t,n){var o=n.cache,a=n.compare,f=n.fallbackData,p=n.suspense,g=n.revalidateOnMount,y=n.refreshInterval,b=n.refreshWhenHidden,w=n.refreshWhenOffline,m=A.get(o),O=m[0],E=m[1],k=m[2],R=m[3],S=T(e),D=S[0],V=S[1],L=S[2],P=(0,r.useRef)(!1),F=(0,r.useRef)(!1),M=(0,r.useRef)(D),N=(0,r.useRef)(t),W=(0,r.useRef)(n),j=function(){return W.current},z=function(){return j().isVisible()&&j().isOnline()},J=function(e){return o.set(L,d(o.get(L),e))},H=o.get(D),q=l(f)?n.fallback[D]:f,B=l(H)?q:H,U=o.get(L)||{},Z=U.error,Q=!P.current,X=function(){return Q&&!l(g)?g:!j().isPaused()&&(p?!l(B):l(B)||n.revalidateIfStale)},Y=!(!D||!t)&&(!!U.isValidating||Q&&X()),ee=function(e,t){var n=(0,r.useState)({})[1],i=(0,r.useRef)(e),u=(0,r.useRef)({data:!1,error:!1,isValidating:!1}),o=(0,r.useCallback)((function(e){var r=!1,o=i.current;for(var a in e){var c=a;o[c]!==e[c]&&(o[c]=e[c],u.current[c]&&(r=!0))}r&&!t.current&&n({})}),[]);return C((function(){i.current=e})),[i,u.current,o]}({data:B,error:Z,isValidating:Y},F),te=ee[0],ne=ee[1],re=ee[2],ie=(0,r.useCallback)((function(e){return i(void 0,void 0,void 0,(function(){var t,r,i,f,d,v,h,p,g,y,b,w,m;return u(this,(function(u){switch(u.label){case 0:if(t=N.current,!D||!t||F.current||j().isPaused())return[2,!1];f=!0,d=e||{},v=!R[D]||!d.dedupe,h=function(){return!F.current&&D===M.current&&P.current},p=function(){var e=R[D];e&&e[1]===i&&delete R[D]},g={isValidating:!1},y=function(){J({isValidating:!1}),h()&&re(g)},J({isValidating:!0}),re({isValidating:!0}),u.label=1;case 1:return u.trys.push([1,3,,4]),v&&(_(o,D,te.current.data,te.current.error,!0),n.loadingTimeout&&!o.get(D)&&setTimeout((function(){f&&h()&&j().onLoadingSlow(D,n)}),n.loadingTimeout),R[D]=[t.apply(void 0,V),$()]),m=R[D],r=m[0],i=m[1],[4,r];case 2:return r=u.sent(),v&&setTimeout(p,n.dedupingInterval),R[D]&&R[D][1]===i?(J({error:c}),g.error=c,b=k[D],!l(b)&&(i<=b[0]||i<=b[1]||0===b[1])?(y(),v&&h()&&j().onDiscarded(D),[2,!1]):(a(te.current.data,r)?g.data=te.current.data:g.data=r,a(o.get(D),r)||o.set(D,r),v&&h()&&j().onSuccess(r,D,n),[3,4])):(v&&h()&&j().onDiscarded(D),[2,!1]);case 3:return w=u.sent(),p(),j().isPaused()||(J({error:w}),g.error=w,v&&h()&&(j().onError(w,D,n),("boolean"==typeof n.shouldRetryOnError&&n.shouldRetryOnError||s(n.shouldRetryOnError)&&n.shouldRetryOnError(w))&&z()&&j().onErrorRetry(w,D,n,ie,{retryCount:(d.retryCount||0)+1,dedupe:!0}))),[3,4];case 4:return f=!1,y(),h()&&v&&_(o,D,g.data,g.error,!1),[2,!0]}}))}))}),[D]),ue=(0,r.useCallback)(I.bind(c,o,(function(){return M.current})),[]);if(C((function(){N.current=t,W.current=n})),C((function(){if(D){var e=D!==M.current,t=ie.bind(c,K),n=0,r=G(D,E,(function(e,t,n){re(d({error:t,isValidating:n},a(te.current.data,e)?c:{data:e}))})),i=G(D,O,(function(e){if(0==e){var r=Date.now();j().revalidateOnFocus&&r>n&&z()&&(n=r+j().focusThrottleInterval,t())}else if(1==e)j().revalidateOnReconnect&&z()&&t();else if(2==e)return ie()}));return F.current=!1,M.current=D,P.current=!0,e&&re({data:B,error:Z,isValidating:Y}),X()&&(l(B)||x?t():(u=t,h()&&typeof window.requestAnimationFrame!=v?window.requestAnimationFrame(u):setTimeout(u,1))),function(){F.current=!0,r(),i()}}var u}),[D,ie]),C((function(){var e;function t(){var t=s(y)?y(B):y;t&&-1!==e&&(e=setTimeout(n,t))}function n(){te.current.error||!b&&!j().isVisible()||!w&&!j().isOnline()?t():ie(K).then(t)}return t(),function(){e&&(clearTimeout(e),e=-1)}}),[y,b,w,ie]),(0,r.useDebugValue)(B),p&&l(B)&&D)throw N.current=t,W.current=n,F.current=!1,l(Z)?ie(K):Z;return{mutate:ue,get data(){return ne.data=!0,B},get error(){return ne.error=!0,Z},get isValidating(){return ne.isValidating=!0,Y}}},function(){for(var e=[],t=0;t0;)f=l[s](f);return f(i,u||c.fetcher,c)}),Z=function(){return Z=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0&&i[i.length-1])||6!==u[0]&&2!==u[0])){o=0;continue}if(3===u[0]&&(!i||u[1]>i[0]&&u[1]