PageSourceSearch

https://wellhub.com/_next/static/chunks/4805-0e91aa31e77ba8c2.js

js wellhub.com collected 2026-09-24 09:35:47 UTC 103,995 bytes, 2 lines download raw bytes

1try{!function(){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]="c636b9b7-fad8-419f-930b-273c89bd03d0",e._sentryDebugIdIdentifier="sentry-dbid-c636b9b7-fad8-419f-930b-273c89bd03d0")}()}catch(e){}"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4805],{10248:(e,t,r)=>{r.d(t,{P:()=>T});var n=r(71450),i=r(22180),o=r(23853),a=r(83931),s=r(97056),c=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=(0,o.vA)(42,t,e.message);throw n.parseError=e,n}return r},u=function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")},l=r(81186);function f(e){var t={next:function(){return e.read()}};return l.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var h=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},d=r(59794),p=r(66260),v=Object.prototype.hasOwnProperty;function y(e,t){e.status>=300&&h(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var m=function(e){if(!e&&"undefined"==typeof fetch)throw(0,o.vA)(40)},g=r(74742),b={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},_=function(e,t){return t(e)};function w(e){return new s.c(function(t){t.error(e)})}var O=r(50424),C=r(42527),S=r(53537),k=(0,o.no)(function(){return fetch}),E=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,E=e.fetch,T=e.print,D=void 0===T?_:T,x=e.includeExtensions,R=e.preserveHeaderCase,I=e.useGETForQueries,F=e.includeUnusedVariables,M=void 0!==F&&F,q=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&m(E||k);var V={http:{includeExtensions:x,preserveHeaderCase:R},options:q.fetchOptions,credentials:q.credentials,headers:q.headers};return new i.C(function(e){var t,i,m,_,T,x,R=u(e,r),F=e.getContext(),q={};if(F.clientAwareness){var Q=F.clientAwareness,j=Q.name,N=Q.version;j&&(q["apollographql-client-name"]=j),N&&(q["apollographql-client-version"]=N)}var A=(0,n.Cl)((0,n.Cl)({},q),F.headers),P={http:F.http,options:F.fetchOptions,credentials:F.credentials,headers:A};if((0,a.d8)(["client"],e.query)){var L=(0,C.er)(e.query);if(!L)return w(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=L}var W=function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach(function(e){o=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},o),e.options),{headers:(0,n.Cl)((0,n.Cl)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.Cl)((0,n.Cl)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,c=e.extensions,u=e.variables,l=e.query,f={operationName:s,variables:u};return a.includeExtensions&&(f.extensions=c),a.includeQuery&&(f.query=t(l,g.y)),{options:o,body:f}}(e,D,b,V,P),z=W.options,U=W.body;U.variables&&!M&&(t=U.variables,i=e.query,m=(0,n.Cl)({},t),_=new Set(Object.keys(t)),(0,O.YR)(i,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&_.delete(e.name.value)}}),_.forEach(function(e){delete m[e]}),U.variables=m),z.signal||"undefined"==typeof AbortController||(z.signal=(x=new AbortController).signal);var B="OperationDefinition"===(T=(0,S.Vn)(e.query)).kind&&"subscription"===T.operation,K=(0,a.d8)(["defer"],e.query);if(I&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(z.method="GET"),K||B){z.headers=z.headers||{};var Y="multipart/mixed;";B&&K&&!1!==globalThis.__DEV__&&o.V1.warn(41),B?Y+="boundary=graphql;subscriptionSpec=1.0,application/json":K&&(Y+="deferSpec=20220824,application/json"),z.headers.accept=Y}if("GET"===z.method){var H=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=c(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=c(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,u=e.indexOf("#");-1!==u&&(a=e.substr(u),s=e.substr(0,u));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+r.join("&")+a}}(R,U),G=H.newURI,J=H.parseError;if(J)return w(J);R=G}else try{z.body=c(U,"Payload")}catch(e){return w(e)}return new s.c(function(t){var r=E||(0,o.no)(function(){return fetch})||k,i=t.next.bind(t);return r(R,z).then(function(t){e.setContext({response:t});var r,o=null==(r=t.headers)?void 0:r.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){return(0,n.sH)(this,void 0,void 0,function(){var r,i,o,a,s,c,u,h,v,m,g,b,_,w,O,C,S,k,E,T,D,x,R;return(0,n.YH)(this,function(I){switch(I.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),i=null==(R=e.headers)?void 0:R.get("content-type"),o="boundary=",a=(null==i?void 0:i.includes(o))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(o))+o.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(a),c="",u=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,l.uJ&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return f(s.getReader());if(s.stream)return f(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},l.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return l.uJ&&(u[Symbol.asyncIterator]=function(){return this}),u}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),h=!0,I.label=1;case 1:if(!h)return[3,3];return[4,u.next()];case 2:for(m=(v=I.sent()).value,g=v.done,b="string"==typeof m?m:r.decode(m),_=c.length-s.length+1,h=!g,c+=b,w=c.indexOf(s,_);w>-1;){if(O=void 0,O=(D=[c.slice(0,w),c.slice(w+s.length)])[0],c=D[1],C=O.indexOf("\r\n\r\n"),(S=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(O.slice(0,C))["content-type"])&&-1===S.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1if(k=O.slice(C)){if(Object.keys(E=y(e,k)).length>1||"data"in E||"incremental"in E||"errors"in E||"payload"in E)if((0,p.Nw)(E)){if(T={},"payload"in E){if(1===Object.keys(E).length&&null===E.payload)return[2];T=(0,n.Cl)({},E.payload)}"errors"in E&&(T=(0,n.Cl)((0,n.Cl)({},T),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in T?T.extensions:null),((x={})[d.K$]=E.errors,x))})),t(T)}else t(E);else if(1===Object.keys(E).length&&"hasNext"in E&&!E.hasNext)return[2]}w=c.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return y(t,e)}).then(function(r){return Array.isArray(r)||v.call(r,"data")||v.call(r,"errors")||h(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})})(t).then(i)}).then(function(){x=void 0,t.complete()}).catch(function(e){x=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){x&&x.abort()}})})},T=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,E(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},12707:(e,t,r)=>{r.d(t,{R:()=>et});var n=r(71450),i=r(23853),o=r(22180),a=o.C.execute,s=r(97410),c=r(10248),u=r(88924),l=r(66260),f=r(83931),h=r(42527),d=r(10038),p=r(78764),v=r(68432),y=r(97056);function m(e,t,r){return new y.c(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function o(e,t){return function(r){if(e){var o=function(){return n.closed?0:e(r)};i=i.then(o,o).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var a={next:o(t,"next"),error:o(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(a);return function(){return s.unsubscribe()}})}var g=r(83557);function b(e){var t=_(e);return(0,g.E)(t)}function _(e){var t=(0,g.E)(e.errors)?e.errors.slice(0):[];return(0,l.ST)(e)&&(0,g.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var w=r(53537),O=r(37979),C=r(25433),S=r(61491),k=r(78687),E=r(25498);function T(e){return e&&"function"==typeof e.then}var D=function(e){function t(t){var r=e.call(this,function(e){return r.addObserver(e),function(){return r.removeObserver(e)}})||this;return r.observers=new Set,r.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),r.handlers={next:function(e){null!==r.sub&&(r.latest=["next",e],r.notify("next",e),(0,k.w)(r.observers,"next",e))},error:function(e){var t=r.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest=["error",e],r.reject(e),r.notify("error",e),(0,k.w)(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?T(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,k.w)(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.error(e)},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new y.c(t)]),T(t)?t.then(function(e){return r.start(e)},r.handlers.error):r.start(t),r}return(0,n.C6)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},t}(y.c);(0,E.r)(D);var x=r(59794),R=r(60628),I=r(24982),F=r(28363),M=new((r(81186)).et?WeakMap:Map);function q(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return M.set(e,(M.get(e)+1)%1e15),r.apply(this,arguments)})}var V=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;M.has(r)||(M.set(r,0),q(r,"evict"),q(r,"modify"),q(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||I.pT.loading;return this.variables&&this.networkStatus!==I.pT.loading&&!(0,u.L)(this.variables,e.variables)&&(t=I.pT.setVariables),(0,u.L)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,u.L)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var r=this.cache.diff(e);return this.updateLastDiff(r,e),r},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null==(t=this.observableQuery)?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r,n=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null==(t=this.observableQuery)?void 0:t.getLastError()))&&(this.updateLastDiff(e),(0,u.L)(n&&n.result,e&&e.result)||null==(r=this.observableQuery)||r.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null==(e=this.observableQuery)||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null==(e=this.cancelWatch)||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,u.L)(i,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===M.get(this.cache)&&(0,u.L)(t,r.variables)&&(0,u.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i,o=this,a=new F.ZI,s=(0,g.E)(e.errors)?e.errors.slice(0):[];if(null==(i=this.observableQuery)||i.resetNotifications(),"incremental"in e&&(0,g.E)(e.incremental)){var c=(0,l.bd)(this.getDiff().result,e);e.data=c}else if("hasNext"in e&&e.hasNext){var f=this.getDiff();e.data=a.merge(f.result,e.data)}this.graphQLErrors=s,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(Q(e,r.errorPolicy)?this.cache.performTransaction(function(i){if(o.shouldWrite(e,r.variables))i.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),o.lastWrite={result:e,variables:r.variables,dmCount:M.get(o.cache)};else if(o.lastDiff&&o.lastDiff.diff.complete){e.data=o.lastDiff.diff.result;return}var a=o.getDiffOptions(r.variables),s=i.diff(a);!o.stopped&&(0,u.L)(o.variables,r.variables)&&o.updateWatch(r.variables),o.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=I.pT.ready},e.prototype.markError=function(e){var t;return this.networkStatus=I.pT.error,this.lastWrite=void 0,null==(t=this.observableQuery)||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function Q(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!b(e);return!n&&r&&e.data&&(n=!0),n}var j=r(74742),N=r(44),A=r(83502),P=r(12477),L=r(14762),W=r(79312),z=r(65267),U=Object.prototype.hasOwnProperty,B=Object.create(null),K=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new A.A(P.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new N.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new v.c(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,i.vA)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t,r,o,a,s,c,u,l=e.mutation,f=e.variables,h=e.optimisticResponse,d=e.updateQueries,p=e.refetchQueries,v=void 0===p?[]:p,y=e.awaitRefetchQueries,g=void 0!==y&&y,w=e.update,O=e.onQueryUpdated,C=e.fetchPolicy,S=void 0===C?(null==(c=this.defaultOptions.mutate)?void 0:c.fetchPolicy)||"network-only":C,k=e.errorPolicy,E=void 0===k?(null==(u=this.defaultOptions.mutate)?void 0:u.errorPolicy)||"none":k,T=e.keepRootFields,D=e.context;return(0,n.YH)(this,function(e){switch(e.label){case 0:if((0,i.V1)(l,28),(0,i.V1)("network-only"===S||"no-cache"===S,29),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),!r)return[3,2];return[4,this.localState.addExportedVariables(l,f,D)];case 1:f=e.sent(),e.label=2;case 2:return o=this.mutationStore&&(this.mutationStore[t]={mutation:l,variables:f,loading:!0,error:null}),a=h&&this.markMutationOptimistic(h,{mutationId:t,document:l,variables:f,fetchPolicy:S,errorPolicy:E,context:D,updateQueries:d,update:w,keepRootFields:T}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return m(s.getObservableFromLink(l,(0,n.Cl)((0,n.Cl)({},D),{optimisticResponse:a?h:void 0}),f,{},!1),function(e){if(b(e)&&"none"===E)throw new x.K4({graphQLErrors:_(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.Cl)({},e);return"function"==typeof v&&(v=v(r)),"ignore"===E&&b(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:l,variables:f,fetchPolicy:S,errorPolicy:E,context:D,update:w,updateQueries:d,awaitRefetchQueries:g,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:O,keepRootFields:T})}).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,n.Cl)((0,n.Cl)({},r),{data:s.maskOperation({document:l,data:r.data,fetchPolicy:S,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof x.K4?e:new x.K4({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var r=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&Q(i,e.errorPolicy)){if((0,l.ST)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,l.ST)(i)&&(0,g.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),c=void 0;s.result&&(c=(0,l.bd)(s.result,i)),void 0!==c&&(i.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var u=e.updateQueries;u&&this.queries.forEach(function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&U.call(u,s)){var c=u[s],l=r.queries.get(n),f=l.document,h=l.variables,d=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),p=d.result;if(d.complete&&p){var v=c(p,{mutationResult:i,queryName:f&&(0,w.n4)(f)||void 0,queryVariables:h});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}})}if(o.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,c=!(0,l.YX)(i)||(0,l.ST)(i)&&!i.hasNext;if(s){if(!a){var u=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});u.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:u.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return f.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"==typeof e?e(t.variables,{IGNORE:B}):e;return o!==B&&(this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,n.Cl)((0,n.Cl)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.V1.error(e)}},t.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var t=this.transformCache;if(!t.has(e)){var r={hasClientExports:(0,f.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.d8)(["nonreactive"],e),nonReactiveQuery:(0,h.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,h.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,w.wY)((0,w.Vu)(e)),asQuery:(0,n.Cl)((0,n.Cl)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.Cl)((0,n.Cl)({},e),{operation:"query"}):e})})};t.set(e,r)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.Cl)((0,n.Cl)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new V(this),i=new R.U({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,R.U.inactiveOnCreation.getValue()||this.queries.set(i.queryId,r),r.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var r=this;void 0===t&&(t=this.generateQueryId()),(0,i.V1)(e.query,30),(0,i.V1)("Document"===e.query.kind,31),(0,i.V1)(!e.returnPartialData,32),(0,i.V1)(!e.pollInterval,33);var o=this.transform(e.query);return this.fetchQuery(t,(0,n.Cl)((0,n.Cl)({},e),{query:o})).then(function(i){return i&&(0,n.Cl)((0,n.Cl)({},i),{data:r.maskOperation({document:o,data:i.data,fetchPolicy:e.fetchPolicy,id:t})})}).finally(function(){return r.stopQuery(t)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}
1),this.cancelPendingFetches((0,i.vA)(34)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=I.pT.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var r=new Map,o=new Map,a=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)o.set(e,e),a.set(e,!1);else if((0,O.Kc)(e)){var r=(0,j.y)(t.transform(e));o.set(r,(0,w.n4)(e)),a.set(r,!1)}else(0,C.U)(e)&&e.query&&s.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,o=t.document;if(i){if("all"===e)return void r.set(n,i);var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&a.has(s)||o&&a.has((0,j.y)(o)))&&(r.set(n,i),s&&a.set(s,!0),o&&a.set((0,j.y)(o),!0))}}),s.size&&s.forEach(function(e){var o=(0,S.v)("legacyOneTimeQuery"),a=t.getOrCreateQuery(o).init({document:e.query,variables:e.variables}),s=new R.U({queryManager:t,queryInfo:a,options:(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"network-only"})});(0,i.V1)(s.queryId===o),a.setObservableQuery(s),r.set(o,s)}),!1!==globalThis.__DEV__&&a.size&&a.forEach(function(e,t){if(!e){var r=o.get(t);r?!1!==globalThis.__DEV__&&i.V1.warn(35,r):!1!==globalThis.__DEV__&&i.V1.warn(36)}}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,o=e.errorPolicy,a=void 0===o?"none":o,s=e.context,c=void 0===s?{}:s,u=e.extensions,l=void 0===u?{}:u;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,c,e,l).map(function(n){"no-cache"!==i&&(Q(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=b(n),s=(0,x.uR)(n);if(o||s){var c={};if(o&&(c.graphQLErrors=n.errors),s&&(c.protocolErrors=n.extensions[x.K$]),"none"===a||s)throw new x.K4(c)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var h=this.localState.addExportedVariables(r,n,c).then(f);return new y.c(function(e){var t=null;return h.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return f(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null==(t=this.queries.get(e))||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null==(t=e.observableQuery)?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i,o){var s,c,u=this;void 0===o&&(o=null!=(s=null==t?void 0:t.queryDeduplication)?s:this.queryDeduplication);var l=this.getDocumentInfo(e),f=l.serverQuery,h=l.clientQuery;if(f){var d=this.inFlightLinkObservables,v=this.link,g={query:f,variables:r,operationName:(0,w.n4)(f)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!o})),extensions:i};if(t=g.context,o){var b=(0,j.y)(f),_=(0,p.M)(r),O=d.lookup(b,_);if(!(c=O.observable)){var C=new D([a(v,g)]);c=O.observable=C,C.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?C.beforeNext(e):d.remove(b,_)})}}else c=new D([a(v,g)])}else c=new D([y.c.of({data:{}})]),t=this.prepareContext(t);return h&&(c=m(c,function(e){return u.localState.runResolvers({document:h,remoteResult:e,context:t,variables:r})})),c},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return m(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=_(o),s=a.length>0,c=r.errorPolicy;if(n>
1=e.lastRequestId){if(s&&"none"===c)throw e.markError(new x.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:I.pT.ready};return s&&"none"===c&&(u.data=void 0),s&&"ignore"!==c&&(u.errors=a,u.networkStatus=I.pT.error),u},function(t){var r=(0,x.Mn)(t)?t:new x.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,o,a=this;void 0===r&&(r=I.pT.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),c=this.defaultOptions.watchQuery,u=t.fetchPolicy,l=void 0===u?c&&c.fetchPolicy||"cache-first":u,f=t.errorPolicy,h=void 0===f?c&&c.errorPolicy||"none":f,d=t.returnPartialData,p=t.notifyOnNetworkStatusChange,v=t.context,y=Object.assign({},t,{query:n,variables:s,fetchPolicy:l,errorPolicy:h,returnPartialData:void 0!==d&&d,notifyOnNetworkStatusChange:void 0!==p&&p,context:void 0===v?{}:v}),m=function(n){y.variables=n;var i=a.fetchQueryByPolicy(e,y,r);return"standby"!==y.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},g=function(){return a.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){g(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(y.query).hasClientExports)i=new D(this.localState.addExportedVariables(y.query,y.variables,y.context).then(m).then(function(e){return e.sources})),o=!0;else{var b=m(y.variables);o=b.fromLink,i=new D(b.sources)}return i.promise.then(g,g),{concast:i,fromLink:o}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,S.v)("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof V&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;c&&(a||(a=t.cache.diff(i.queryInfo.getDiffOptions())),n=c(i,a,o)),c&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,r,n,o=e.document,a=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,c=e.id,u=null==(t=(0,w.Vu)(o))?void 0:t.operation,l=(null!=(r=null==u?void 0:u[0])?r:"o")+c;!this.dataMasking||"no-cache"!==s||(0,d.s6)(o)||this.noCacheWarningsByQueryId.has(l)||(this.noCacheWarningsByQueryId.add(l),!1!==globalThis.__DEV__&&i.V1.warn(37,null!=(n=(0,w.n4)(o))?n:"Unnamed ".concat(null!=u?u:"operation")))}return this.dataMasking?function(e,t,r){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,W.Ki)(),e;var n,o=(0,w.Vu)(t);return((0,i.V1)(o,51),null==e)?e:(0,L.S)(e,o.selectionSet,{operationType:o.operation,operationName:null==(n=o.name)?void 0:n.value,fragmentMap:(0,d.JG)((0,w.zK)(t)),cache:r,mutableTargets:new W.jq,knownChanged:new W.xm})}(a,o,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,z.z)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,h=t.context,d=t.notifyOnNetworkStatusChange,p=e.networkStatus;e.init({document:o,variables:a,networkStatus:r});var v=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||I.pT.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,u.L)(s,{})||(0,R.y)(t.missing);var c=function(e){return y.c.of((0,n.Cl)({data:e,loading:(0,I.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:h,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return c(e.data||void 0)}):"none"===l&&r===I.pT.refetch&&Array.isArray(t.missing)?c(void 0):c(s)},g="no-cache"===s?0:r===I.pT.refetch&&"merge"!==c?1:2,b=function(){return i.getResultsFromLink(e,g,{query:o,variables:a,context:h,fetchPolicy:s,errorPolicy:l})},_=d&&"number"==typeof p&&p!==r&&(0,I.bi)(r);switch(s){default:case"cache-first":var w=v();if(w.complete)return{fromLink:!1,sources:[m(w,e.markReady())]};if(f||_)return{fromLink:!0,sources:[m(w),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var w=v();if(w.complete||f||_)return{fromLink:!0,sources:[m(w),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[m(v(),e.markReady())]};case"network-only":if(_)return{fromLink:!0,sources:[m(v()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(_)return{fromLink:!0,sources:[m(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new V(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.defaultContext),t),{clientAwareness:this.clientAwareness})},e}(),Y=r(50424),H=r(11619);function G(e){return e.kind===H.b.FIELD||e.kind===H.b.FRAGMENT_SPREAD||e.kind===H.b.INLINE_FRAGMENT}var J=r(53691),X=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,F.D9)(t.resolvers,e)}):this.resolvers=(0,F.D9)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,n.sH)(this,arguments,void 0,function(e){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.YH)(this,function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,n.Cl)((0,n.Cl)({},r),{data:e.result})})]:[2,r]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,f.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,h.er)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.Cl)((0,n.Cl)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,n.sH)(this,arguments,void 0,function(e,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.YH)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then(function(e){return(0,n.Cl)((0,n.Cl)({},t),e.exportedVariables)})]:[2,(0,n.Cl)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,Y.YR)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return Y.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,h.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t){return(0,n.sH)(this,arguments,void 0,function(e,t,r,i,o,a){var s,c,u,l,f,h,p,v,y,m;return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.YH)(this,function(g){return s=(0,w.Vn)(e),c=(0,w.zK)(e),u=(0,d.JG)(c),l=this.collectSelectionsToResolve(s,u),h=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=this,v=p.cache,y=p.client,m={fragmentMap:u,context:(0,n.Cl)((0,n.Cl)({},r),{cache:v,client:y}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,m).then(function(e){return{result:e,exportedVariables:m.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,function(){var a,s,c,u,l,h=this;return(0,n.YH)(this,function(d){return a=o.fragmentMap,s=o.context,c=o.variables,u=[r],l=function(e){return(0,n.sH)(h,void 0,void 0,function(){var l,h;return(0,n.YH)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,f.MS)(e,c)?(0,O.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&u.push(((r={}
1)[(0,O.ue)(e)]=t,r))})]:((0,O.kd)(e)?l=e:(l=a[e.name.value],(0,i.V1)(l,19,e.name.value)),l&&l.typeCondition&&(h=l.typeCondition.name.value,o.fragmentMatcher(r,h,s)))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then(function(e){u.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,F.IM)(u)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,function(){var o,a,s,c,u,l,f,h,d,p=this;return(0,n.YH)(this,function(n){return r?(o=i.variables,c=(a=e.name.value)!==(s=(0,O.ue)(e)),l=Promise.resolve(u=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(d=h[c?a:s])&&(l=Promise.resolve(J.bl.withValue(this.cache,d,[r,(0,O.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var n,o,a=null!=(o=null==(n=e.directives)?void 0:n.some(function(e){return"client"===e.name.value}))&&o;return Array.isArray(r)?p.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?p.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,Y.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&G(e)&&a.add(e)})},FragmentSpread:function(n,o,s,c,u){var l=t[n.name.value];(0,i.V1)(l,20,n.name.value);var f=e(l);f.size>0&&(u.forEach(function(e){r(e)&&G(e)&&a.add(e)}),a.add(n),f.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),$=r(90209),Z=r(70554),ee=!1,et=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(16);var a=e.uri,u=e.credentials,l=e.headers,f=e.cache,h=e.documentTransform,d=e.ssrMode,p=void 0!==d&&d,v=e.ssrForceFetchDelay,y=void 0===v?0:v,m=e.connectToDevTools,g=e.queryDeduplication,b=void 0===g||g,_=e.defaultOptions,w=e.defaultContext,O=e.assumeImmutableResults,C=void 0===O?f.assumeImmutableResults:O,S=e.resolvers,k=e.typeDefs,E=e.fragmentMatcher,T=e.name,D=e.version,x=e.devtools,R=e.dataMasking,I=e.link;I||(I=a?new c.P({uri:a,credentials:u,headers:l}):o.C.empty()),this.link=I,this.cache=f,this.disableNetworkFetches=p||y>0,this.queryDeduplication=b,this.defaultOptions=_||Object.create(null),this.typeDefs=k,this.devtoolsConfig=(0,n.Cl)((0,n.Cl)({},x),{enabled:null!=(t=null==x?void 0:x.enabled)?t:m}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),y&&setTimeout(function(){return r.disableNetworkFetches=!1},y),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.r,this.localState=new X({cache:f,client:this,resolvers:S,fragmentMatcher:E}),this.queryManager=new K({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:w,documentTransform:h,queryDeduplication:b,ssrMode:p,dataMasking:!!R,clientAwareness:{name:T,version:D},localState:this.localState,assumeImmutableResults:C,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("undefined"!=typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!ee&&!1!==globalThis.__DEV__&&(ee=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.V1.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,$.l)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,$.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,$.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(i){return(0,n.Cl)((0,n.Cl)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,n.Cl)((0,n.Cl)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return a(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){!1!==globalThis.__DEV__&&i.V1.debug(18,e)}),o},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(et.prototype.getMemoryInternals=Z.ep)},14762:(e,t,r)=>{r.d(t,{S:()=>u});var n=r(11619),i=r(64716),o=r(37979),a=r(83931),s=r(79312),c=r(23853);function u(e,t,r){return s.yV.withValue(!0,function(){var u=function e(t,r,i,u,l){var f,h=i.knownChanged,d=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(var p=0,v=Array.from(t.entries());p<v.length;p++){var y=v[p],m=y[0],g=y[1];if(null===g){d[m]=null;continue}var b=e(g,r,i,u,!1!==globalThis.__DEV__?"".concat(l||"","[").concat(m,"]"):void 0);h.has(b)&&h.add(d),d[m]=b}return h.has(d)?d:t}for(var _=0,w=r.selections;_<w.length;_++){var O=w[_],C=void 0;if(u&&h.add(d),O.kind===n.b.FIELD){var S=(0,o.ue)(O),k=O.selectionSet;if(void 0===(C=d[S]||t[S]))continue;if(k&&null!==C){var b=e(t[S],k,i,u,!1!==globalThis.__DEV__?"".concat(l||"",".").concat(S):void 0);h.has(b)&&(C=b)}!1===globalThis.__DEV__&&(d[S]=C),!1!==globalThis.__DEV__&&(!u||"__typename"===S||(null==(f=Object.getOwnPropertyDescriptor(d,S))?void 0:f.value)?(delete d[S],d[S]=C):Object.defineProperty(d,S,function(e,t,r,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&c.V1.warn(48,n?"".concat(i," '").concat(n,"'"):"anonymous ".concat(i),"".concat(r,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(S,C,l||"",i.operationName,i.operationType)))}if(O.kind===n.b.INLINE_FRAGMENT&&(!O.typeCondition||i.cache.fragmentMatches(O,t.__typename))&&(C=e(t,O.selectionSet,i,u,l)),O.kind===n.b.FRAGMENT_SPREAD){var E=O.name.value,T=i.fragmentMap[E]||(i.fragmentMap[E]=i.cache.lookupFragment(E));(0,c.V1)(T,47,E);var D=(0,a.s7)(O);"mask"!==D&&(C=e(t,T.selectionSet,i,"migrate"===D,l))}h.has(C)&&h.add(d)}return"__typename"in t&&!("__typename"in d)&&(d.__typename=t.__typename),Object.keys(d).length!==Object.keys(t).length&&h.add(d),h.has(d)?d:t}(e,t,r,!1);return Object.isFrozen(e)&&(0,i.G)(u),u})}},22180:(e,t,r)=>{r.d(t,{C:()=>l});var n=r(23853),i=r(97056),o=r(71450),a=r(53537);function s(e,t){return t?t(e):i.c.of()}function c(e){return"function"==typeof e?new l(e):e}function u(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o=c(r),a=c(n||new e(s));return Object.assign(new e(u(o)&&u(a)?function(e){return t(e)?o.request(e)||i.c.of(
1):a.request(e)||i.c.of()}:function(e,r){return t(e)?o.request(e,r)||i.c.of():a.request(e,r)||i.c.of()}),{left:o,right:a})},e.execute=function(e,t){var r,s,c,u,l;return e.request((c=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(0>t.indexOf(o))throw(0,n.vA)(46,o)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.n4)(s.query)||void 0:""),u=s,l=(0,o.Cl)({},c),Object.defineProperty(u,"setContext",{enumerable:!1,value:function(e){l="function"==typeof e?(0,o.Cl)((0,o.Cl)({},l),e(l)):(0,o.Cl)((0,o.Cl)({},l),e)}}),Object.defineProperty(u,"getContext",{enumerable:!1,value:function(){return(0,o.Cl)({},l)}}),u))||i.c.of()},e.concat=function(t,r){var o=c(t);if(u(o))return!1!==globalThis.__DEV__&&n.V1.warn(38,o),o;var a=c(r);return Object.assign(new e(u(a)?function(e){return o.request(e,function(e){return a.request(e)||i.c.of()})||i.c.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.c.of()})||i.c.of()}),{left:o,right:a})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.vA)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},28363:(e,t,r)=>{r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>u});var n=r(71450),i=r(25433),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new u,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var c=function(e,t,r){return this.merge(e[r],t[r])},u=function(){function e(e){void 0===e&&(e=c),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var c=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));c!==s&&((e=r.shallowCopyForMerge(e))[i]=c)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},28972:(e,t,r)=>{r.d(t,{X:()=>s});var n=r(71450),i=r(23853),o=r(82855),a=r(4932),s=function(e){var t=e.client,r=e.children,s=(0,a.l)(),c=o.useContext(s),u=o.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},c),{client:t||c.client})},[c,t]);return(0,i.V1)(u.client,55),o.createElement(s.Provider,{value:u},r)}},34846:(e,t,r)=>{r.d(t,{D:()=>eE});var n=r(71450),i=r(23853),o=r(33566),a=r(88924),s=r(10038),c=r(12477),u=r(53537),l=r(97056),f=r(28363),h=r(55137),d=r(70554),p=r(98953),v=r(65267),y=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,o.LV)(s.ct,{max:c.v["cache.fragmentQueryDocuments"]||1e3,cache:h.l})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,o=e.fragment,a=e.fragmentName,s=e.from,c=e.optimistic,h=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]),d=this.getFragmentDoc(o,a),y=void 0===s||"string"==typeof s?s:this.identify(s),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var g=a||(0,u.E4)(o).name.value;y||!1===globalThis.__DEV__||i.V1.warn(1,g)}var b=(0,n.Cl)((0,n.Cl)({},h),{returnPartialData:!0,id:y,query:d,optimistic:void 0===c||c});return new l.c(function(i){return r.watch((0,n.Cl)((0,n.Cl)({},b),{immediate:!0,callback:function(s){var c=m?(0,v.z)(s.result,o,r,a):s.result;if(!(t&&(0,p.a)(d,{data:t.result},{data:c},e.variables))){var u={data:c,complete:!!s.complete};s.missing&&(u.missing=(0,f.IM)(s.missing.map(function(e){return e.missing}))),t=(0,n.Cl)((0,n.Cl)({},s),{result:c}),i.next(u)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=d.tQ);var m=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)(a={})[s.path[c]]=s.missing,s.missing=a}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error),g=r(68432),b=r(42527),_=r(78764),w=r(74742),O=r(37979),C=r(11619),S=r(81186),k=r(11464),E=r(83931),T=r(64716),D=r(25433),x=r(44),R=r(83557),I=Object.prototype.hasOwnProperty;function F(e){return null==e}function M(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=F(n)?F(i)?void 0:{_id:i}:{id:n}),F(n)&&!F(i)&&(n=i),!F(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var q={dataIdFromObject:M,addTypename:!0,resultCaching:!0,canonizeResults:!1};function V(e){var t=e.canonizeResults;return void 0===t?q.canonizeResults:t}var Q=/^[_a-z][_0-9a-z]*/i;function j(e){var t=e.match(Q);return t?t[0]:e}function N(e){return(0,D.U)(e)&&!(0,O.A_)(e)&&!(0,R.c)(e)}function A(e,t){var r=(0,s.JG)((0,u.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var P=Object.create(null),L=function(){return P},W=Object.create(null),z=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,T.G)((0,O.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,O.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,O.WU)(e);if((0,O.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,O.WU)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.Cl)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),I.call(this.data,e)){var r=this.data[e];if(r&&I.call(r,t))return r[t]}return"__typename"===t&&I.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof K?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),I.call(this.data,e))?this.data[e]:this instanceof K?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,O.A_)(e)&&(e=e.__ref),(0,O.A_)(t)&&(t=t.__ref);
1var o="string"==typeof e?this.lookup(r=e):e,a="string"==typeof t?this.lookup(r=t):t;if(a){(0,i.V1)("string"==typeof r,2);var s=new f.ZI(H).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){c[e]=1;var t=j(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(c[t]=1),void 0!==s[e]||n instanceof K||delete s[e]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete c.__typename,Object.keys(c).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,o=this.lookup(e);if(o){var a=Object.create(null),s=!1,c=!0,u={DELETE:P,INVALIDATE:W,isReference:O.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,O.WU)(e)}:t,{store:r})}};if(Object.keys(o).forEach(function(l){var f=j(l),h=o[l];if(void 0!==h){var d="function"==typeof t?t:t[l]||t[f];if(d){var p=d===L?P:d((0,T.G)(h),(0,n.Cl)((0,n.Cl)({},u),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(p===W)r.group.dirty(e,l);else if(p===P&&(p=void 0),p!==h&&(a[l]=p,s=!0,h=p,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if((0,O.A_)(p))v(p);else if(Array.isArray(p))for(var y=!1,m=void 0,g=0,b=p;g<b.length;g++){var _=b[g];if((0,O.A_)(_)){if(y=!0,v(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(m=_);if(y&&void 0!==m){!1!==globalThis.__DEV__&&i.V1.warn(4,m);break}}}}void 0!==h&&(c=!1)}}),s)return this.merge(e,a),c&&(this instanceof K?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&r?this.policies.getStoreFieldName({typename:o,fieldName:t,args:r}):t;return this.modify(e,a?((n={})[a]=L,n):L)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(I.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof K&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){I.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&I.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,n.Tt)(e,["__META"]);
1Object.keys(i).forEach(function(e){t.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof K?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){I.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof K;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!I.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,O.A_)(e)&&(t[e.__ref]=!0),(0,D.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,D.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),U=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,o.yN)():null,this.keyMaker=new x.b(S.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=j(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function B(e,t){G(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new U(void 0===n||n))||this;return o.stump=new Y(o),o.storageTrie=new x.b(S.et),i&&o.replace(i),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(z||(z={}));var K=function(e){function t(t,r,n,i){var o=e.call(this,r.policies,i)||this;return o.id=t,o.parent=r,o.replay=n,o.group=i,n(o),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,a.L)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.Cl)((0,n.Cl)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return I.call(this.data,t)?(0,n.Cl)((0,n.Cl)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(z),Y=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new U(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(K);function H(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function G(e){return!!(e instanceof z&&e.group.caching)}var J=function(){function e(){this.known=new(S.En?WeakSet:Set),this.pool=new x.b(S.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,D.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,D.U)(e)){var t=(0,D.U)(e)?(0,R.c)(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,D.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],s=this.sortedKeys(e);a.push(s.json);var c=a.length;s.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var u=i.object=Object.create(o);this.known.add(u),s.sorted.forEach(function(e,t){u[e]=a[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(u)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function X(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var $=function(){function e(e){var t=this;this.knownResults=new(S.et?WeakMap:Map),this.config=(0,k.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:V(e)}),this.canon=e.canon||new J,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,o=X(e);o[3]=!i;var a=(r=t.executeSelectionSet).peek.apply(r,o);return a?i?(0,n.Cl)((0,n.Cl)({},a),{result:t.canon.admit(a.result)}):a:(B(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:X,makeCacheKey:function(e,t,r,n){if(G(r.store))return r.store.makeCacheKey(e,(0,O.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return B(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(G(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new J},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,c=e.canonizeResults,l=void 0===c?this.config.canonizeResults:c,f=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,u.wY)((0,u.AT)(i))),a);var h=(0,O.WU)(void 0===o?"ROOT_QUERY":o),d=this.executeSelectionSet({selectionSet:(0,u.Vn)(i).selectionSet,objectOrReference:h,enclosingRef:h,context:(0,n.Cl)({store:r,query:i,policies:f,variables:a,varString:(0,_.M)(a),canonizeResults:l},A(i,this.config.fragments))});if(d.missing&&(t=[new m(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(d.missing),d.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:d.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(G(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,c=e.context;if((0,O.A_)(o)&&!c.policies.rootTypenamesById[o.__ref]&&!c.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var u=c.variables,l=c.policies,h=c.store.getFieldValue(o,"__typename"),d=[],p=new f.ZI;function v(e,r){var n;return e.missing&&(t=p.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof h&&!l.rootIdsByTypename[h]&&d.push({__typename:h});var y=new Set(n.selections);
1y.forEach(function(e){var n,f;if((0,E.MS)(e,u))if((0,O.dt)(e)){var m=l.readField({fieldName:e.name.value,field:e,variables:c.variables,from:o},c),g=(0,O.ue)(e);void 0===m?b.XY.added(e)||(t=p.merge(t,((n={})[g]="Can't find field '".concat(e.name.value,"' on ").concat((0,O.A_)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,R.c)(m)?m.length>0&&(m=v(r.executeSubSelectedArray({field:e,array:m,enclosingRef:a,context:c}),g)):e.selectionSet?null!=m&&(m=v(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:m,enclosingRef:(0,O.A_)(m)?m:a,context:c}),g)):c.canonizeResults&&(m=r.canon.pass(m)),void 0!==m&&d.push(((f={})[g]=m,f))}else{var _=(0,s.HQ)(e,c.lookupFragment);if(!_&&e.kind===C.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);_&&l.fragmentMatches(_,h)&&_.selectionSet.selections.forEach(y.add,y)}});var m={result:(0,f.IM)(d),missing:t},g=c.canonizeResults?this.canon.admit(m):(0,T.G)(m);return g.result&&this.knownResults.set(g.result,n),g},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,c=new f.ZI;function u(e,r){var n;return e.missing&&(t=c.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,R.c)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,O.A_)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,D.U)(r)&&((0,i.V1)(!(0,O.A_)(r),11,(0,O.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),Z=r(29846),ee=r(69451),et=r(53691),er=Object.create(null);function en(e){var t=JSON.stringify(e);return er[t]||(er[t]=Object.create(null))}function ei(e){var t=en(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=ea(e,function(e){var o=ec(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&I.call(t,e[0])&&(o=ec(t,e,es)),(0,i.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function eo(e){var t=en(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(ea(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,R.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),c=s&&(0,O.MB)(s,i);return c&&ec(c,e.slice(1))}return}if("$"===o){var u=r.slice(1);if(i&&I.call(i,u)){var l=e.slice(0);return l[0]=u,ec(i,l)}return}if(t)return ec(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function ea(e,t){var r=new f.ZI;return(function e(t){var r=en(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,R.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,R.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function es(e,t){return e[t]}function ec(e,t,r){return r=r||es,function e(t){return(0,D.U)(t)?(0,R.c)(t)?t.map(e):ea(Object.keys(t).sort(),function(e){return ec(t,e)}):t}(t.reduce(function e(t,n){return(0,R.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var eu=r(79312);function el(e){return void 0!==e.args?e.args:e.field?(0,O.MB)(e.field,e.variables):null}var ef=function(){},eh=function(e,t){return t.fieldName},ed=function(e,t,r){return(0,r.mergeObjects)(e,t)},ep=function(e,t){return t},ev=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.Cl)({dataIdFromObject:M},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,o=this,a=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,c=(0,n.Cl)((0,n.Cl)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=em(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),u=a&&this.getTypePolicy(a),l=u&&u.keyFn||this.config.dataIdFromObject;return eu.yV.withValue(!0,function(){for(;l;){var t=l((0,n.Cl)((0,n.Cl)({},e),s),c);if((0,R.c)(t))l=ei(t);else{i=t;break}}}),i=i?String(i):void 0,c.keyObject?[i,c.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,c=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),I.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?ed:!1===t?ep:e.merge}a(n,t.merge),n.keyFn=!1===i?ef:(0,R.c)(i)?ei(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;n.keyFn=!1===s?eh:(0,R.c)(s)?eo(s):"function"==typeof s?s:n.keyFn,"function"==typeof c&&(n.read=c),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||eh)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.V1)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(Q);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!I.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var o=t.supertypeMap.get(n);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(r,(0,n.Tt)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),c=[s],u=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},l=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<c.length;++h){var d=c[h];if(d.has(a))return s.has(a)||(f&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;d.forEach(u),l&&h===c.length-1&&function e(t,r,n){return!!(0,D.U)(r)&&((0,R.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,O.dt)(t)&&(0,E.MS)(t,n)){var i=(0,O.ue)(t);return I.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=el(e);o;){var c=o(s,a);if((0,R.c)(c))o=eo(c);else{t=c||n;break}}return(void 0===t&&(t=e.field?(0,O.Ii)(e.field,e.variables):(0,O.o5)(n,el(e))),!1===t)?n:n===j(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=j(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),c=s&&s.read;if(c){var u=ey(this,r,e,t,t.store.getStorage((0,O.A_)(r)?r.__ref:r,i));return et.bl.withValue(this.cache,c,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===ed?eg(n.store)(e,t):s===ep?t:(n.overwrite&&(e=void 0),s(e,t,ey(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function ey(e,t,r,n,i){var o=e.getStoreFieldName(r),a=j(o),s=r.variables||n.variables,c=n.store,u=c.toReference,l=c.canRead;return{args:el(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:O.A_,toReference:u,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(em(arguments,t,s),n)},mergeObjects:eg(n.store)}}function em(e,t,r){var o,a=e[0],s=e[1],c=e.length;return"string"==typeof a?o={fieldName:a,from:c>1?s:t}:(o=(0,n.Cl)({},a),I.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,ee.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function eg(e){return function(t,r){if((0,R.c)(t)||(0,R.c)(r))throw(0,i.vA)(9);if((0,D.U)(t)&&(0,D.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,O.A_)(t)&&N(r))return e.merge(t.__ref,r),t;if(N(t)&&(0,O.A_)(r))return e.merge(t,r.__ref),r;if(N(t)&&N(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function eb(e,t,r){var i="".concat(t).concat(r),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===r?e:(0,n.Cl)((0,n.Cl)({},e),{clientOnly:t,deferred:r})),o}var e_=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,c=t.dataId,l=t.variables,h=t.overwrite,d=(0,u.Vu)(o),p=new f.ZI;l=(0,n.Cl)((0,n.Cl)({},(0,u.wY)(d)),l);var v=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)}
1,variables:l,varString:(0,_.M)(l)},A(o,this.fragments)),{overwrite:!!h,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),y=this.processSelectionSet({result:s||Object.create(null),dataId:c,selectionSet:d.selectionSet,mergeTree:{map:new Map},context:v});if(!(0,O.A_)(y))throw(0,i.vA)(12,s);return v.incomingById.forEach(function(t,o){var s=t.storeObject,c=t.mergeTree,u=t.fieldNodeSet,l=(0,O.WU)(o);if(c&&c.map.size){var f=r.applyMerges(c,l,s,v);if((0,O.A_)(f))return;s=f}if(!1!==globalThis.__DEV__&&!v.overwrite){var h=Object.create(null);u.forEach(function(e){e.selectionSet&&(h[e.name.value]=!0)});var d=function(e){var t=c&&c.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(s).forEach(function(e){!0!==h[j(e)]||d(e)||function(e,t,r,o){var s=function(e){var t=o.getFieldValue(e,r);return"object"==typeof t&&t},c=s(e);if(c){var u=s(t);if(!(!u||(0,O.A_)(c)||(0,a.L)(c,u)||Object.keys(c).every(function(e){return void 0!==o.getFieldValue(u,e)}))){var l=o.getFieldValue(e,"__typename")||o.getFieldValue(t,"__typename"),f=j(r),h="".concat(l,".").concat(f);if(!ek.has(h)){ek.add(h);var d=[];(0,R.c)(c)||(0,R.c)(u)||[c,u].forEach(function(e){var t=o.getFieldValue(e,"__typename");"string"!=typeof t||d.includes(t)||d.push(t)}),!1!==globalThis.__DEV__&&i.V1.warn(15,f,l,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",h,(0,n.Cl)({},c),(0,n.Cl)({},u))}}}}(l,s,e,v.store)})}e.merge(o,s)}),e.retain(y.__ref),y},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,c=e.mergeTree,u=this.cache.policies,l=Object.create(null),f=r&&u.rootTypenamesById[r]||(0,O.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var h=function(){var e=em(arguments,l,s.variables);if((0,O.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return u.readField(e,s)},d=new Set;this.flattenFields(a,o,s,f).forEach(function(e,r){var n,a=o[(0,O.ue)(r)];if(d.add(r),void 0!==a){var s=u.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),p=eO(c,s),v=t.processFieldValue(a,r,r.selectionSet?eb(e,!1,!1):e,p),y=void 0;r.selectionSet&&((0,O.A_)(v)||N(v))&&(y=h("__typename",v));var m=u.getMergeFunction(f,r.name.value,y);m?p.info={field:r,typename:f,merge:m}:eS(c,s),l=e.merge(l,((n={})[s]=v,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||b.XY.added(r)||u.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||i.V1.error(13,(0,O.ue)(r),o)});try{var p=u.identify(o,{typename:f,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:l,readField:h}),v=p[0],y=p[1];r=r||v,y&&(l=s.merge(l,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,O.WU)(r),g=s.written[r]||(s.written[r]=[]);if(g.indexOf(a)>=0||(g.push(a),this.reader&&this.reader.isFresh(o,m,a,s)))return m;var _=s.incomingById.get(r);return _?(_.storeObject=s.merge(_.storeObject,l),_.mergeTree=function e(t,r){if(t===r||!r||eC(r))return t;if(!t||eC(t))return r;var i=t.info&&r.info?(0,n.Cl)((0,n.Cl)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a={info:i,map:o?new Map:t.map.size?t.map:r.map};if(o){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(_.mergeTree,c),d.forEach(function(e){return _.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:eC(c)?void 0:c,fieldNodeSet:d}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,R.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,eO(n,o));return eS(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,Z.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,O.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,c=new x.b(!1);return!function e(u,l){var f=c.lookup(u,l.clientOnly,l.deferred);f.visited||(f.visited=!0,u.selections.forEach(function(c){if((0,E.MS)(c,r.variables)){var u=l.clientOnly,f=l.deferred;
1if(!(u&&f)&&(0,R.E)(c.directives)&&c.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,O.MB)(e,r.variables);n&&!1===n.if||(f=!0)}}),(0,O.dt)(c)){var h=o.get(c);h&&(u=u&&h.clientOnly,f=f&&h.deferred),o.set(c,eb(r,u,f))}else{var d=(0,s.HQ)(c,r.lookupFragment);if(!d&&c.kind===C.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,c.name.value);d&&a.fragmentMatches(d,n,t,r.variables)&&e(d.selectionSet,eb(r,u,f))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s=this;if(e.map.size&&!(0,O.A_)(r)){var c,u,l=!(0,R.c)(r)&&((0,O.A_)(t)||N(t))?t:void 0,f=r;l&&!a&&(a=[(0,O.A_)(l)?l.__ref:l]);var h=function(e,t){return(0,R.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=h(l,t),n=h(f,t);if(void 0!==n){a&&a.push(t);var c=s.applyMerges(e,r,n,o,a);c!==n&&(u=u||new Map).set(t,c),a&&(0,i.V1)(a.pop()===t)}}),u&&(r=(0,R.c)(f)?f.slice(0):(0,n.Cl)({},f),u.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(c=o.store).getStorage.apply(c,a)):r},e}(),ew=[];function eO(e,t){var r=e.map;return r.has(t)||r.set(t,ew.pop()||{map:new Map}),r.get(t)}function eC(e){return!e||!(e.info||e.map.size)}function eS(e,t){var r=e.map,n=r.get(t);n&&eC(n)&&(ew.push(n),r.delete(t))}var ek=new Set,eE=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new g.c(b.XY),n.assumeImmutableResults=!0,n.makeVar=et.UT,n.txCount=0,r=t,n.config=(0,k.o)(q,r),n.addTypename=!!n.config.addTypename,n.policies=new ev({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new z.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new e_(this,this.storeReader=new $({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:V(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,o.LV)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||c.v["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(G(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,_.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof m)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(I.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,et.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,et.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){_.M.reset(),w.y.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,O.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(I.call(e,"id"))return!1;e=(0,n.Cl)((0,n.Cl)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),_.M.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,et.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var n=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=o}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,u):!1===a?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&l.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,a.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(y);!1!==globalThis.__DEV__&&(eE.prototype.getMemoryInternals=d.cM)},42527:(e,t,r)=>{r.d(t,{XY:()=>p,er:()=>y,iz:()=>d,x3:()=>m,zc:()=>v});var n=r(71450),i=r(23853),o=r(11619),a=r(50424),s=r(53537),c=r(37979),u=r(10038),l=r(83557),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function h(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function d(e,t){(0,s.sw)(t);for(var r,c,f,d=h(""),p=h(""),v=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,l.c)(r)){if(r.kind===o.b.OPERATION_DEFINITION)return d(r.name&&r.name.value);if(r.kind===o.b.FRAGMENT_DEFINITION)return p(r.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(97),null},y=0,m=t.definitions.length-1;m>=0;--m)t.definitions[m].kind===o.b.OPERATION_DEFINITION&&++y;var g=(r=new Map,c=new Map,e.forEach(function(e){e&&(e.name?r.set(e.name,e):e.test&&c.set(e.test,e))}),function(e){var t=r.get(e.name.value);return!t&&c.size&&c.forEach(function(r,n){n(e)&&(t=r)}),t}),b=function(e){return(0,l.E)(e)&&e.map(g).some(function(e){return e&&e.remove})},_=new Map,w=!1,O={enter:function(e){if(b(e.directives))return w=!0,null}},C=(0,a.YR)(t,{Field:O,InlineFragment:O,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=v(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(b(e.directives))return w=!0,null;var o=v(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){_.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===_.get(JSON.stringify(n))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(p(e.name.value).removed=!0,w=!0,null):void 0}},Directive:{leave:function(e){if(g(e))return w=!0,null}}});if(!w)return t;var S=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){S(p(t)).transitiveVars.forEac
1h(function(t){e.transitiveVars.add(t)})})),e},k=new Set;C.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?S(d(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){k.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==y||p(e.name.value).removed||k.add(e.name.value)}),k.forEach(function(e){S(p(e)).fragmentSpreads.forEach(function(e){k.add(e)})});var E={enter:function(e){var t;if(t=e.name.value,!k.has(t)||p(t).removed)return null}};return f=(0,a.YR)(C,{FragmentSpread:E,FragmentDefinition:E,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=S(d(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.Vu)(f)||(0,s.E4)(f),(0,u.JG)((0,s.zK)(f)))?f:null}var p=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,c.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,c.dt)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}});function v(e){return"query"===(0,s.Vn)(e).operation?e:(0,a.YR)(e,{OperationDefinition:{enter:function(e){return(0,n.Cl)((0,n.Cl)({},e),{operation:"query"})}}})}function y(e){return(0,s.sw)(e),d([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function m(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,n.Cl)((0,n.Cl)({},e),{directives:(0,n.fX)((0,n.fX)([],e.directives||[],!0),[{kind:o.b.DIRECTIVE,name:{kind:o.b.NAME,value:"nonreactive"}}
1],!1)})}})}},53691:(e,t,r)=>{r.d(t,{MS:()=>c,UT:()=>u,WR:()=>s,bl:()=>i});var n=r(33566),i=new n.DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function c(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function u(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){var t;a(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var c=Array.from(r);r.clear(),c.forEach(function(t){return t(e)})}}else{var u=i.getValue();u&&(o(u),a(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},65267:(e,t,r)=>{r.d(t,{z:()=>l});var n=r(11619),i=r(79312),o=r(23853),a=r(88924),s=r(14762),c=r(10038),u=r(53537);function l(e,t,r,l){if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,i.Ki)(),e;var f=t.definitions.filter(function(e){return e.kind===n.b.FRAGMENT_DEFINITION});void 0===l&&((0,o.V1)(1===f.length,49,f.length),l=f[0].name.value);var h=f.find(function(e){return e.name.value===l});return((0,o.V1)(!!h,50,l),null==e||(0,a.A)(e,{}))?e:(0,s.S)(e,h.selectionSet,{operationType:"fragment",operationName:h.name.value,fragmentMap:(0,c.JG)((0,u.zK)(t)),cache:r,mutableTargets:new i.jq,knownChanged:new i.xm})}},66260:(e,t,r)=>{r.d(t,{Nw:()=>c,ST:()=>a,YX:()=>s,bd:()=>u});var n=r(25433),i=r(83557),o=r(28363);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function c(e){return(0,n.U)(e)&&"payload"in e}function u(e,t){var r=e,n=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}},68432:(e,t,r)=>{r.d(t,{c:()=>f});var n=r(44),i=r(81186),o=r(53537),a=r(23853),s=r(55137),c=r(33566),u=r(12477);function l(e){return e}var f=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.En?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(l,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var t=this;if(this.cached){var r=new n.b(i.et);this.performWork=(0,c.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),77),r.lookupArray(n)},max:u.v["documentTransform.cache"],cache:s.l})}},e.prototype.performWork=function(e){return(0,o.sw)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}()},74742:(e,t,r)=>{r.d(t,{y:()=>g});var n,i=r(92498);let o=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function a(e){return s[e.charCodeAt(0)]}let s=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var c=r(50424);let u={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=h("(",l(e.variableDefinitions,", "),")"),r=l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+h(" = ",r)+h(" ",l(n," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}
1){let o=h("",e,": ")+t,a=o+h("(",l(r,", "),")");return a.length>80&&(a=o+h("(\n",d(l(r,"\n")),"\n)")),l([a,l(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+h(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>l(["...",h("on ",e),l(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${h("(",l(r,", "),")")} on ${t} ${h("",l(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e},StringValue:{leave:({value:e,block:t})=>t?(0,i.yo)(e):`"${e.replace(o,a)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+h("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>h("",e,"\n")+l(["schema",l(t," "),f(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l(["scalar",t,l(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["type",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>h("",e,"\n")+t+(p(r)?h("(\n",d(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+": "+n+h(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>h("",e,"\n")+l([t+": "+r,h("= ",n),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>h("",e,"\n")+l(["interface",t,h("implements ",l(r," & ")),l(n," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>h("",e,"\n")+l(["union",t,l(r," "),h("= ",l(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>h("",e,"\n")+l(["enum",t,l(r," "),f(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>h("",e,"\n")+l([t,l(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>h("",e,"\n")+l(["input",t,l(r," "),f(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>h("",e,"\n")+"directive @"+t+(p(r)?h("(\n",d(l(r,"\n")),"\n)"):h("(",l(r,", "),")"))+(n?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend type",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>l(["extend interface",e,h("implements ",l(t," & ")),l(r," "),f(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>l(["extend union",e,l(t," "),h("= ",l(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>l(["extend enum",e,l(t," "),f(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>l(["extend input",e,l(t," "),f(r)]," ")}};function l(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function f(e){return h("{\n",d(l(e,"\n")),"\n}")}function h(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function d(e){return h("  ",e.replace(/\n/g,"\n  "))}function p(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var v=r(83502),y=r(12477),m=r(70554),g=Object.assign(function(e){var t=n.get(e);return t||(t=(0,c.YR)(e,u),n.set(e,t)),t},{reset:function(){n=new v.A(y.v.print||2e3)}});g.reset(),!1!==globalThis.__DEV__&&(0,m.D_)("print",function(){return n?n.size:0})}
1,79312:(e,t,r)=>{r.d(t,{Ki:()=>l,jq:()=>a,xm:()=>s,yV:()=>c});var n=r(33566),i=r(23853),o=r(81186),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,c=new n.DX,u=!1;function l(){u||(u=!0,!1!==globalThis.__DEV__&&i.V1.warn(52))}}}]);
2//# sourceMappingURL=4805-0e91aa31e77ba8c2.js.map

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.