"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2001],{40654:function(e,t,n){async function r(e,t){let n;let r=e.getReader();for(;!(n=await r.read()).done;)t(n.value)}function o(){return{data:"",event:"",id:"",retry:void 0}}n.d(t,{L:function(){return c}});var u=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n};let i="text/event-stream",a="last-event-id";function c(e,t){var{signal:n,headers:c,onopen:s,onmessage:f,onclose:d,onerror:v,openWhenHidden:b,fetch:p}=t,y=u(t,["signal","headers","onopen","onmessage","onclose","onerror","openWhenHidden","fetch"]);return new Promise((t,u)=>{let h;let g=Object.assign({},c);function m(){h.abort(),document.hidden||j()}g.accept||(g.accept=i),b||document.addEventListener("visibilitychange",m);let w=1e3,Z=0;function E(){document.removeEventListener("visibilitychange",m),window.clearTimeout(Z),h.abort()}null==n||n.addEventListener("abort",()=>{E(),t()});let S=null!=p?p:window.fetch,O=null!=s?s:l;async function j(){var n,i;h=new AbortController;try{let n,u,c,l;let s=await S(e,Object.assign(Object.assign({},y),{headers:g,signal:h.signal}));await O(s),await r(s.body,(i=function(e,t,n){let r=o(),u=new TextDecoder;return function(i,a){if(0===i.length)null==n||n(r),r=o();else if(a>0){let n=u.decode(i.subarray(0,a)),o=a+(32===i[a+1]?2:1),c=u.decode(i.subarray(o));switch(n){case"data":r.data=r.data?r.data+"\n"+c:c;break;case"event":r.event=c;break;case"id":e(r.id=c);break;case"retry":let l=parseInt(c,10);isNaN(l)||t(r.retry=l)}}}}(e=>{e?g[a]=e:delete g[a]},e=>{w=e},f),l=!1,function(e){void 0===n?(n=e,u=0,c=-1):n=function(e,t){let n=new Uint8Array(e.length+t.length);return n.set(e),n.set(t,e.length),n}(n,e);let t=n.length,r=0;for(;u<t;){l&&(10===n[u]&&(r=++u),l=!1);let e=-1;for(;u<t&&-1===e;++u)switch(n[u]){case 58:-1===c&&(c=u-r);break;case 13:l=!0;case 10:e=u}if(-1===e)break;i(n.subarray(r,e),c),r=u,c=-1}r===t?n=void 0:0!==r&&(n=n.subarray(r),u-=r)})),null==d||d(),E(),t()}catch(e){if(!h.signal.aborted)try{let t=null!==(n=null==v?void 0:v(e))&&void 0!==n?n:w;window.clearTimeout(Z),Z=window.setTimeout(j,t)}catch(e){E(),u(e)}}}j()})}function l(e){let t=e.headers.get("content-type");if(!(null==t?void 0:t.startsWith(i)))throw Error(`Expected content-type to be ${i}, Actual: ${t}`)}},18423:function(e,t,n){/**
 * @license React
 * use-sync-external-store-shim/with-selector.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var r=n(40929),o=n(43199),u="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=o.useSyncExternalStore,a=r.useRef,c=r.useEffect,l=r.useMemo,s=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var f=a(null);if(null===f.current){var d={hasValue:!1,value:null};f.current=d}else d=f.current;var v=i(e,(f=l(function(){function e(e){if(!c){if(c=!0,i=e,e=r(e),void 0!==o&&d.hasValue){var t=d.value;if(o(t,e))return a=t}return a=e}if(t=a,u(i,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(i=e,a=n)}var i,a,c=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,n,r,o]))[0],f[1]);return c(function(){d.hasValue=!0,d.value=v},[v]),s(v),v}},95339:function(e,t,n){e.exports=n(18423)},39276:function(e,t,n){n.d(t,{Z:function(){return c}});for(var r,o={randomUUID:"undefined"!=typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)},u=new Uint8Array(16),i=[],a=0;a<256;++a)i.push((a+256).toString(16).slice(1));var c=function(e,t,n){if(o.randomUUID&&!t&&!e)return o.randomUUID();var a=(e=e||{}).random||(e.rng||function(){if(!r&&!(r="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)))throw Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return r(u)})();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(var c=0;c<16;++c)t[n+c]=a[c];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(a)}},39634:function(e,t){t.Z=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}},98085:function(e,t){t.Z=function(e,t,n,r){var o=-1,u=null==e?0:e.length;for(r&&u&&(n=e[++o]);++o<u;)n=t(n,e[o],o,e);return n}},53913:function(e,t,n){var r=n(78010),o=n(64123);t.Z=function(e,t){var n=-1,u=(0,o.Z)(e)?Array(e.length):[];return(0,r.Z)(e,function(e,r,o){u[++n]=t(e,r,o)}),u}},32391:function(e,t){t.Z=function(e,t,n,r,o){return o(e,function(e,o,u){n=r?(r=!1,e):t(n,e,o,u)}),n}},2007:function(e,t,n){var r=n(56643);t.Z=function(e){return(0,r.Z)(e,5)}},51232:function(e,t,n){n.d(t,{Z:function(){return l}});var r=n(39634),o=n(78010),u=function(e,t){var n=!0;return(0,o.Z)(e,function(e,r,o){return n=!!t(e,r,o)}),n},i=n(18210),a=n(24702),c=n(60747),l=function(e,t,n){var o=(0,a.Z)(e)?r.Z:u;return n&&(0,c.Z)(e,t,n)&&(t=void 0),o(e,(0,i.Z)(t,3))}},39158:function(e,t,n){var r=n(57782);t.Z=function(e){return(0,r.Z)(e)&&e!=+e}},57782:function(e,t,n){var r=n(47976),o=n(45154);t.Z=function(e){return"number"==typeof e||(0,o.Z)(e)&&"[object Number]"==(0,r.Z)(e)}},49581:function(e,t,n){var r=n(25479),o=n(18210),u=n(53913),i=n(24702);t.Z=function(e,t){return((0,i.Z)(e)?r.Z:u.Z)(e,(0,o.Z)(t,3))}},60144:function(e,t,n){var r=n(98085),o=n(78010),u=n(18210),i=n(32391),a=n(24702);t.Z=function(e,t,n){var c=(0,a.Z)(e)?r.Z:i.Z,l=arguments.length<3;return c(e,(0,u.Z)(t,4),n,l,o.Z)}},21556:function(e,t,n){n.d(t,{Ue:function(){return d},oR:function(){return s}});var r=n(6749),o=n(40929),u=n(95339);let{useDebugValue:i}=o,{useSyncExternalStoreWithSelector:a}=u,c=!1,l=e=>e;function s(e,t=l,n){n&&!c&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),c=!0);let r=a(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return i(r),r}let f=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");let t="function"==typeof e?(0,r.M)(e):e,n=(e,n)=>s(t,e,n);return Object.assign(n,t),n},d=e=>e?f(e):f},6749:function(e,t,n){n.d(t,{M:function(){return o}});let r=e=>{let t;let n=new Set,r=(e,r)=>{let o="function"==typeof e?e(t):e;if(!Object.is(o,t)){let e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach(n=>n(t,e))}},o=()=>t,u={setState:r,getState:o,getInitialState:()=>i,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},i=t=e(r,o,u);return u},o=e=>e?r(e):r}}]);