1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="8ed0003e-1ce0-4886-96ec-3f6995d3667d",e._sentryDebugIdIdentifier="sentry-dbid-8ed0003e-1ce0-4886-96ec-3f6995d3667d")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5838],{45838:(e,t,r)=>{r.r(t),r.d(t,{built_for_browser:()=>O,default:()=>F});var o=r(43113),n=r(34916),c=r(21394),s=r(5645),u=r(43765),l=r(68111),a=r(74776),i=r(11617),f=r(79231),y=r(16952),p=Symbol.for("apollo.skipToken"),d=r(24451),h=r(5015);function b(e,t){!1!==globalThis.__DEV__&&(0,a.h)("symbol"==typeof t?{}:t,"canonizeResults","useBackgroundQuery");var r,l,b,v,_,g,k,m=(0,o.m)(t.client),w=(0,s.B)(m),q=(l=(r={client:m,query:e,options:t}).client,b=r.query,v=r.options,_=function(){if(v===p)return{query:b,fetchPolicy:"standby"};var e,t,r,o,c,s,u,a=v.fetchPolicy||(null==(u=l.defaultOptions.watchQuery)?void 0:u.fetchPolicy)||"cache-first",y=(0,n.Cl)((0,n.Cl)({},v),{fetchPolicy:a,query:b,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return!1!==globalThis.__DEV__&&(o=y.query,c=y.fetchPolicy,s=y.returnPartialData,(0,f.D$)(o,f.KG.Query),void 0===(e=c)&&(e="cache-first"),(0,i.V1)(["cache-first","network-only","no-cache","cache-and-network"].includes(e),89,e),t=c,r=s,"no-cache"===t&&r&&!1!==globalThis.__DEV__&&i.V1.warn(90)),v.skip&&(y.fetchPolicy="standby"),y},g=[l,v,b],(k=c.useRef(void 0)).current&&(0,y.L)(k.current.deps,g)||(k.current={value:_(),deps:g}),k.current.value),C=q.fetchPolicy,x=q.variables,D=t.queryKey,R=c.useRef("standby"!==C);R.current||(R.current="standby"!==C);var T=(0,n.fX)([e,(0,d.M)(x)],[].concat(void 0===D?[]:D),!0),M=(0,h.lz)("canonizeResults",function(){return w.getQueryRef(T,function(){return m.watchQuery(q)})}),Q=c.useState((0,u.Qh)(M)),P=Q[0],S=Q[1];if((0,u.Fd)(P)!==M&&S((0,u.Qh)(M)),M.didChangeOptions(q)){var E=M.applyOptions(q);(0,u.CY)(P,E)}c.useEffect(function(){var e=setTimeout(function(){M.disposed&&w.add(T,M)});return function(){return clearTimeout(e)}});var F=c.useCallback(function(e){var t=M.fetchMore(e);return S((0,u.Qh)(M)),t},[M]),O=c.useCallback(function(e){var t=M.refetch(e);return S((0,u.Qh)(M)),t},[M]);return c.useEffect(function(){return M.softRetain()},[M]),[R.current?P:void 0,{fetchMore:F,refetch:O,subscribeToMore:M.observable.subscribeToMore}]}var v=r(55326),_=r(41597),g=r(81892),k=r(89600),m=r(45006);r(38078);var w=r(92319),q=r(19395),C=r(77660),x=Symbol.for("apollo.tee.readableStreamController"),D=Symbol.for("apollo.read.readableStream"),R=class extends _.C{constructor(){super((e,t)=>{let r=e.getContext()[x];if(r){let o=r(),n=()=>{try{o.close()}catch(e){}};return new g.c(r=>{let c=t(e).subscribe({next(e){o.enqueue({type:"next",value:e}),r.next(e)},error(e){o.enqueue({type:"error"}),n(),r.error(e)},complete(){o.enqueue({type:"completed"}),n(),r.complete()}});return()=>{n(),c.unsubscribe()}})}return t(e)})}},T=class extends _.C{constructor(){super((e,t)=>{let r=e.getContext()[D];return r?new g.c(o=>{let n=!1,c=(()=>{try{return r.getReader()}catch(e){}})();if(!c){let r=t(e).subscribe(o);return()=>r.unsubscribe()}u(c);let s=()=>{n=!0,c.cancel()};return()=>s();async function u(r){let c;for(;!n&&!(null==c?void 0:c.done)&&(c=await r.read(),!n);)if(c.value)switch(c.value.type){case"next":o.next(c.value.value);break;case"completed":o.complete();break;case"error":{s();let r=t(e).subscribe(o);s=()=>r.unsubscribe()}}}}):t(e)})}},M={pkg:"@apollo/client-react-streaming"},Q=Symbol.for("apollo.source_package");function P(e){return{...e,query:(0,w.J1)((0,q.y)((0,w.J1)(e.query)))}}(class extends k.D{constructor(e){super(e);let t=this.constructor.info;this[Q]="".concat(t.pkg,":InMemoryCache")}}).info=M,Symbol.for("apollo.hook.wrappers"),(class extends m.R{setLink(e){super.setLink.call(this,_.C.from([new T,new R,e]))}constructor(e){let t=[];"ssrMode"in e&&(delete e.ssrMode,t.push("The `ssrMode` option is not supported in %s. Please remove it from your %s constructor options.")),"ssrForceFetchDelay"in e&&(delete e.ssrForceFetchDelay,t.push("The `ssrForceFetchDelay` option is not supported in %s. Please remove it from your %s constructor options.")),super(e);let r=this.constructor.info;
1for(let e of(this[Q]="".concat(r.pkg,":ApolloClient"),t))console.warn(e,r.pkg,"ApolloClient");!function(e,t,r){if(e[Q]!=="".concat(t.pkg,":").concat(r))throw Error("When using `".concat(r,"` in streaming SSR, you must use the `").concat(r,'` export provided by `"').concat(t.pkg,'"`.'))}(this.cache,r,"InMemoryCache"),this.setLink(this.link)}}).info=M;var S=Symbol.for("apollo.dataTransport.skip"),E=new WeakMap;function F(e){let{queryRef:t,children:r}=e,n=(0,o.m)(),{$__apollo_queryRef:{options:c,stream:a,queryKey:i}}=t;if(!E.has(t)){let e=P(c),r=[e.query,(0,d.M)(e.variables),i];E.set(t,{cacheKey:r});let o=(0,s.B)(n).getQueryRef(r,()=>{var t;return n.watchQuery({...e,fetchPolicy:"network-only",context:Object.assign((t=a.pipeThrough(new C.Fq),Object.assign({...e.context,queryDeduplication:!0},{[D]:t})),{[S]:!0})})});Object.assign(t,(0,u.Qh)(o))}return!function(e,t){void 0===t&&(t=Object.create(null)),(0,l.Y)("useBackgroundQuery",b,(0,o.m)("object"==typeof t?t.client:void 0))(e,t)}(...(0,v.useMemo)(()=>{let{query:e,...r}=P(t.$__apollo_queryRef.options);return[e,{...r,queryKey:t.$__apollo_queryRef.queryKey}]},[t.$__apollo_queryRef])),r}let O=!0}}]);
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.