1"use strict";(self.webpackChunk_main_main=self.webpackChunk_main_main||[]).push([[8897],{342814(e,t,r){var n;r.d(t,{pT:()=>n}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},396626(e,t,r){r.d(t,{K$:()=>o,uR:()=>a});var n=r(187150),i=(r(37764),r(828193)),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}!function(e){function t(r){var o,a,s=r.graphQLErrors,u=r.protocolErrors,c=r.clientErrors,l=r.networkError,f=r.errorMessage,h=r.extraInfo,d=e.call(this,f)||this;return d.name="ApolloError",d.graphQLErrors=s||[],d.protocolErrors=u||[],d.clientErrors=c||[],d.networkError=l||null,d.message=f||(o=d,a=(0,n.fX)((0,n.fX)((0,n.fX)([],o.graphQLErrors,!0),o.clientErrors,!0),o.protocolErrors,!0),o.networkError&&a.push(o.networkError),a.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")),d.extraInfo=h,d.cause=(0,n.fX)((0,n.fX)((0,n.fX)([l],s||[],!0),u||[],!0),c||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}(0,n.C6)(t,e)}(Error)},769778(e,t,r){r.d(t,{C:()=>h});var n=r(37764),i=r(403410),o=r(306176),a=r(749438),s=r(983742),u=r(786490);function c(e,t){return t?t(e):i.c.of()}function l(e){return"function"===typeof e?new h(e):e}function f(e){return e.request.length<=1}var h=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(l).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o,a=l(r),s=l(n||new e(c));return o=f(a)&&f(s)?new e(function(e){return t(e)?a.request(e)||i.c.of():s.request(e)||i.c.of()}):new e(function(e,r){return t(e)?a.request(e,r)||i.c.of():s.request(e,r)||i.c.of()}),Object.assign(o,{left:a,right:s})},e.execute=function(e,t){return e.request((0,a.k)(t.context,(0,s.A)((0,o.K)(t))))||i.c.of()},e.concat=function(t,r){var o=l(t);if(f(o))return!1!==globalThis.__DEV__&&n.V1.warn(47,o),o;var a,s=l(r);return a=f(s)?new e(function(e){return o.request(e,function(e){return s.request(e)||i.c.of()})||i.c.of()}):new e(function(e,t){return o.request(e,function(e){return s.request(e,t)||i.c.of()})||i.c.of()}),Object.assign(a,{left:o,right:s})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(c)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.vA)(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&(0,u.S2)("onError",function(){!1!==globalThis.__DEV__&&n.V1.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&n.V1.warn(50),this.onError=e,this},e}()},700061(e,t,r){r.d(t,{H:()=>n});var n=r(769778).C.from},256308(e,t,r){r.d(t,{S:()=>s});var n=r(187150),i=r(396626),o=r(403410),a=r(769778);function s(e){return new a.C(function(t,r){return new o.c(function(n){var o,a,s;try{o=r(t).subscribe({next:function(o){o.errors?s=e({graphQLErrors:o.errors,response:o,operation:t,forward:r}):(0,i.uR)(o)&&(s=e({protocolErrors:o.extensions[i.K$],response:o,operation:t,forward:r})),s?a=s.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.next(o)},error:function(i){(s=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r}))?a=s.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)}):n.error(i)},complete:function(){s||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){o&&o.unsubscribe(),a&&o.unsubscribe()}})})}!function(e){function t(t){var r=e.call(this)||this;return r.link=s(t),r}(0,n.C6)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(a.C)},523370(e,t,r){r.d(t,{b:()=>f});var n=r(250052),i=r(599526),o=r(491069),a=r(769778),s=r(407899),u=r(828193),c=r(335468),l=r(655861);function f(e){return void 0===e&&(e=Object.create(null)),Object.assign(new a.C(function(t,r){var n=e.except,i=t.query,o=t.variables;return o&&(t.variables=n?function(e,t,r){var n=d(e);return Object.fromEntries(Object.entries(t).map(function(e){var t=e[0],i=e[1],o=n[t],a=r[o];return e[1]=a?h(i,a):(0,c.i)(i),e}))}(i,o,n):(0,c.i)(o)),r(t)}),!1!==globalThis.__DEV__?{getMemoryInternals:function(){var e;return{removeTypenameFromVariables:{getVariableDefinitions:null!==(e=null===d||void 0===d?void 0:d.size)&&void 0!==e?e:0}}}}:{})}function h(e,t){if("__KEEP"===t)return e;if(Array.isArray(e))return e.map(function(e){return h(e,t)});if((0,u.Q)(e)){var r={};return Object.keys(e).forEach(function(n){var i=e[n];if("__typename"!==n){var o=t[n];r[n]=o?h(i,o):(0,c.i)(i)}}),r}return e}var d=(0,n.LV)(function(e){var t={};return(0,o.YR)(e,{VariableDefinition:function(e){t[e.variable.name.value]=p(e.type)}}),t},{max:s.v["removeTypenameFromVariables.getVariableDefinitions"]||2e3,cache:l.l});function p(e){switch(e.kind){case i.b.NON_NULL_TYPE:case i.b.LIST_TYPE:return p(e.type);case i.b.NAMED_TYPE:return e.name.value}}},749438(e,t,r){r.d(t,{k:()=>i});var n=r(187150);function i(e,t){var r=(0,n.Cl)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"===typeof e?(0,n.Cl)((0,n.Cl)({},r),e(r)):(0,n.Cl)((0,n.Cl)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,n.Cl)({},r)}}),t}},983742(e,t,r){r.d(t,{A:()=>i});var n=r(399793);function i(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?(0,n.n4)(t.query)||void 0:""),t}},306176(e,t,r){r.d(t,{K:()=>i});var n=r(37764);function i(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(t.indexOf(o)<0)throw(0,n.vA)(58,o)}return e}},757726(e,t,r){let n;r.d(t,{l:()=>u});var i=r(554714),o=r(913776),a=r(37764),s=o.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function u(){(0,a.V1)("createContext"in(n||(n=r.t(i,2))),69);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}
1),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},144252(e,t,r){r.d(t,{m:()=>a});var n=r(37764),i=r(554714),o=r(757726);function a(e){var t=i.useContext((0,o.l)()),r=e||t.client;return(0,n.V1)(!!r,78),r}},407899(e,t,r){r.d(t,{v:()=>a});var n=r(187150),i=r(37764),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},913776(e,t,r){r.d(t,{ol:()=>o});var n=r(37764),i="ReactNative"==(0,n.no)(function(){return navigator.product}),o=("function"===typeof WeakMap&&(i&&r.g.HermesInternal),"function"===typeof Symbol&&"function"===typeof Symbol.for);o&&Symbol.asyncIterator,(0,n.no)(function(){return window.document.createElement}),(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})},16357(e,t,r){r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},828193(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e){return null!==e&&"object"===n(e)}function o(e){return null!==e&&"object"===n(e)&&(Object.getPrototypeOf(e)===Object.prototype||null===Object.getPrototypeOf(e))}r.d(t,{Q:()=>o,U:()=>i})},900262(e,t,r){r.d(t,{s:()=>i});var n=r(828193);function i(e,t){return o(e,t)}function o(e,t,r){if(void 0===r&&(r=new Map),r.has(e))return r.get(e);var i=!1;if(Array.isArray(e)){var a=[];if(r.set(e,a),e.forEach(function(e,n){var s=o(e,t,r);i||(i=s!==e),a[n]=s}),i)return a}else if((0,n.Q)(e)){var s=Object.create(Object.getPrototypeOf(e));if(r.set(e,s),Object.keys(e).forEach(function(n){if(n!==t){var a=o(e[n],t,r);i||(i=a!==e[n]),s[n]=a}else i=!0}),i)return s}return e}},622643(e,t,r){r.d(t,{p:()=>i});var n=r(16357);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},335468(e,t,r){r.d(t,{i:()=>i});var n=r(900262);function i(e){return(0,n.s)(e,"__typename")}},786490(e,t,r){r.d(t,{S2:()=>l});var n,i=r(250052),o=r(37764),a=Symbol.for("apollo.deprecations"),s=Symbol.for("apollo.deprecations.slot"),u=o.Sf,c=null!==(n=u[s])&&void 0!==n?n:u[s]=new i.DX;function l(e,t){(function(e){return u[a]||(c.getValue()||[]).includes(e)})(e)||t()}},793517(e,t,r){var n=r(798132);const i=(0,n.n)(function(){return globalThis})||(0,n.n)(function(){return window})||(0,n.n)(function(){return self})||(0,n.n)(function(){return r.g})||(0,n.n)(function(){return n.n.constructor("return this")()});r.d(t,["A",0,i])},37764(e,t,r){r.d(t,{Sf:()=>o.A,V1:()=>n.V1,no:()=>i.n,vA:()=>n.vA});var n=r(489536),i=r(798132),o=r(793517);globalThis.__DEV__},489536(e,t,r){r.d(t,{V1:()=>u,vA:()=>c});var n=r(816732),i=r(125540),o=r(793517),a=r(622643);function s(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"===typeof t){var i=t;(t=h(i))||(t=d(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var u=Object.assign(function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e||(0,n.V1)(e,h(t,r)||d(t,r))},{debug:s(n.V1.debug),log:s(n.V1.log),warn:s(n.V1.warn),error:s(n.V1.error)});function c(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new n.zU(h(e,t)||d(e,t))}var l=Symbol.for("ApolloErrorMessageHandler_"+i.r);function f(e){if("string"==typeof e)return e;try{return(0,a.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function h(e,t){if(void 0===t&&(t=[]),e)return o.A[l]&&o.A[l](e,t.map(f))}function d(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.r,message:e,args:t.map(f)})))}},798132(e,t,r){function n(e){try{return e()}catch(e){}}r.d(t,{n:()=>n})},399793(e,t,r){r.d(t,{n4:()=>n});r(37764);function n(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}},125540(e,t,r){r.d(t,{r:()=>n});var n="3.14.1"},392675(e,t,r){r.d(t,{k:()=>y});var n=r(187150),i=r(250052),o=r(403410),a=r(590167),s=r(34572),u=r(426949),c=r(1979),l=r(655861),f=r(323774),h=r(287279),d=r
1(593904),p=r(983419),v=r(737878),y=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.LV)(s.ct,{max:a.v["cache.fragmentQueryDocuments"]||1e3,cache:l.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){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,v.cc)(e,"canonizeResults","cache.readQuery"),(0,v.lz)("canonizeResults",function(){return r.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))})},e.prototype.watchFragment=function(e){var t=this,r=e.fragment,i=e.fragmentName,a=e.from,s=e.optimistic,l=void 0===s||s,f=(0,n.Tt)(e,["fragment","fragmentName","from","optimistic"]),v=this.getFragmentDoc(r,i),y="undefined"===typeof a||"string"===typeof a?a:this.identify(a),m=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var b=i||(0,u.E4)(r).name.value;y||!1!==globalThis.__DEV__&&d.V1.warn(1,b)}var g,_=(0,n.Cl)((0,n.Cl)({},f),{returnPartialData:!0,id:y,query:v,optimistic:l});return new o.c(function(o){return t.watch((0,n.Cl)((0,n.Cl)({},_),{immediate:!0,callback:function(a){var s=m?(0,p.z)(a.result,r,t,i):a.result;if(!g||!(0,h.a)(v,{data:g.result},{data:s},e.variables)){var u={data:s,complete:!!a.complete};a.missing&&(u.missing=(0,c.IM)(a.missing.map(function(e){return e.missing}))),g=(0,n.Cl)((0,n.Cl)({},a),{result:s}),o.next(u)}}}))})},e.prototype.readFragment=function(e,t){var r=this;return void 0===t&&(t=!!e.optimistic),!1!==globalThis.__DEV__&&(0,v.cc)(e,"canonizeResults","cache.readFragment"),(0,v.lz)("canonizeResults",function(){return r.read((0,n.Cl)((0,n.Cl)({},e),{query:r.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!1!==globalThis.__DEV__&&(0,v.cc)(e,"canonizeResults","cache.updateQuery"),this.batch({update:function(r){var i=(0,v.lz)("canonizeResults",function(){return r.readQuery(e)}),o=t(i);return void 0===o||null===o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return!1!==globalThis.__DEV__&&(0,v.cc)(e,"canonizeResults","cache.updateFragment"),this.batch({update:function(r){var i=(0,v.lz)("canonizeResults",function(){return r.readFragment(e)}),o=t(i);return void 0===o||null===o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}();!1!==globalThis.__DEV__&&(y.prototype.getMemoryInternals=f.tQ)},969930(e,t,r){r.d(t,{Z:()=>i});var n=r(187150),i=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 u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error)},895038(e,t,r){r.d(t,{$7:()=>O,D_:()=>b,M2:()=>w});var n=r(187150),i=r(593904),o=r(250052),a=r(286246),s=r(877545),u=r(253751),c=r(1979),l=r(203488),f=r(640093),h=r(590244),d=r(448451);function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}var v=Object.create(null),y=function(){return v},m=Object.create(null),b=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,l.G)((0,u.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,u.A_)(e)?r.has(e.__ref):"object"===p(e)},this.toReference=function(e,t){if("string"===typeof e)return(0,u.WU)(e);if((0,u.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,u.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),d.$3.call(this.data,e)){var r=this.data[e];if(r&&d.$3.call(r,t))return r[t]}return"__typename"===t&&d.$3.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof S?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return t&&this.group.depend(e,"__exists"),d.$3.call(this.data,e)?this.data[e]:this instanceof S?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,u.A_)(e)&&(e=e.__ref),(0,u.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 c.ZI(C).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var l=Object.create(null);o||(l.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){l[e]=1;var t=(0,d.iJ)(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(l[t]=1),void 0!==s[e]||n instanceof S||delete s[e]}}),!l.__typename||o&&o.__typename||this.policies.rootTypenamesById[r]!==s.__typename||delete l.__typename,Object.keys(l).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,f={DELETE:v,INVALIDATE:m,isReference:u.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"===typeof t?{fieldName:t,from:n||(0,u.WU)(e)}:t,{store:r})}};if(Object.keys(o).forEach(function(h){var b=(0,d.iJ)(h),g=o[h];if(void 0!==g){var _="function"===typeof t?t:t[h]||t[b];if(_){var w=_===y?v:_((0,l.G)(g),(0,n.Cl)((0,n.Cl)({},f),{fieldName:b,storeFieldName:h,storage:r.getStorage(e,h)}));if(w===m)r.group.dirty(e,h);else if(w===v&&(w=void 0),w!==g&&(a[h]=w,s=!0,g=w,!1!==globalThis.__DEV__)){var S=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.V1.warn(3,e),!0};if((0,u.A_)(w))S(w);else if(Array.isArray(w))for(var E=!1,C=void 0,O=0,k=w;O<k.length;O++){var T=k[O];if((0,u.A_)(T)){if(E=!0,S(T))break}else if("object"===p(T)&&T)r.policies.identify(T)[0]&&(C=T);if(E&&void 0!==C){!1!==globalThis.__DEV__&&i.V1.warn(4,C);break}}}}void 0!==g&&(c=!1)}}),s)return this.merge(e,a),c&&(this instanceof S?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]=y,n):y)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(d.$3.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof S&&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){d.$3.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&&d.$3.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 S?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){d.$3.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 S;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!d.$3.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,u.A_)(e)&&(t[e.__ref]=!0),(0,f.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,f.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),g=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 s.b(h.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(_(e,t));var r=(0,d.iJ)(t);r!==t&&this.d(_(e,r)),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(_(e,t),"__exists"===t?"forget":"setDirty")},e}();function _(e,t){return t+"#"+e}function w(e,t){O(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=void 0===n||n,o=t.seed,a=e.call(this,r,new g(i))||this;return a.stump=new E(a),a.storageTrie=new s.b(h.et),o&&a.replace(o),a}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}(b||(b={}));var S=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 d.$3.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}(b),E=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new g(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}(S);function C(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function O(e){return!!(e instanceof b&&e.group.caching)}},448451(e,t,r){r.d(t,{$3:()=>f,I6:()=>v,T9:()=>_,Ui:()=>m,Xx:()=>y,d1:()=>w,gk:()=>b,iJ:()=>g,lq:()=>E,mv:()=>S,or:()=>d});var n=r(118343),i=r(34572),o=r(426949),a=r(253751),s=r(1979),u=r(744627),c=r(640093),l=r(970456),f=Object.prototype.hasOwnProperty;function h(e){return null===e||void 0===e}function d(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"===typeof r&&(t&&(t.keyObject=h(n)?h(i)?void 0:{_id:i}:{id:n}),h(n)&&!h(i)&&(n=i),!h(n)))return"".concat(r,":").concat("number"===typeof n||"string"===typeof n?n:JSON.stringify(n))}var p={dataIdFromObject:d,addTypename:!0,resultCaching:!0,canonizeResults:!1};function v(e){return(0,l.o)(p,e)}function y(e){var t=e.canonizeResults;return void 0===t?p.canonizeResults:t}function m(e,t){return(0,a.A_)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var b=/^[_a-z][_0-9a-z]*/i;function g(e){var t=e.match(b);return t?t[0]:e}function _(e,t,r){return!!(0,c.U)(t)&&((0,u.c)(t)?t.every(function(t){return _(e,t,r)}):e.selections.every(function(e){if((0,a.dt)(e)&&(0,n.MS)(e,r)){var i=(0,a.ue)(e);return f.call(t,i)&&(!e.selectionSet||_(e.selectionSet,t[i],r))}return!0}))}function w(e){return(0,c.U)(e)&&!(0,a.A_)(e)&&!(0,u.c)(e)}function S(){return new s.ZI}function E(e,t){var r=(0,i.JG)((0,o.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}},873484(e,t,r){r.d(t,{D:()=>E});var n=r(187150),i=r(593904),o=r(250052),a=r(286246),s=r(392675),u=r(969930),c=r(590167),l=r(370862),f=r(674250),h=r(253751),d=r(302737),p=r(159218),v=r(363907),y=r(778203),m=r(895038),b=r(815021),g=r(727914),_=r(448451),w=r(323774),S=r(737878),E=function(e){function t(t){void 0===t&&(t={});var r=e.call(this)||this;return r.watches=new Set,r.addTypenameTransform=new l.c(d.XY),r.assumeImmutableResults=!0,r.makeVar=b.UT,r.txCount=0,!1!==globalThis.__DEV__&&((0,S.cc)(t,"addTypename","InMemoryCache","Please remove the `addTypename` option when initializing `InMemoryCache`."),(0,S.cc)(t,"canonizeResults","InMemoryCache","Please remove the `canonizeResults` option when initializing `InMemoryCache`.")),r.config=(0,_.I6)(t),r.addTypename=!!r.config.addTypename,r.policies=new g.l({cache:r,dataIdFromObject:r.config.dataIdFromObject,possibleTypes:r.config.possibleTypes,typePolicies:r.config.typePolicies}),r.init(),r}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new m.D_.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.addTypenameTransform.resetCache(),null===n||void 0===n||n.resetCaches(),this.storeWriter=new y.N(this,this.storeReader=new v.D({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,_.Xx)(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((0,m.$7)(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,p.M)({optimistic:n,id:i,variables:o}))}}}
1),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){!1!==globalThis.__DEV__&&(0,S.cc)(e,"canonizeResults","cache.read");var t=e.returnPartialData,r=void 0!==t&&t;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:r})).result||null}catch(e){if(e instanceof u.Z)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(_.$3.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!1!==globalThis.__DEV__&&(0,S.cc)(e,"canonizeResults","cache.diff"),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,b.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,b.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){!1!==globalThis.__DEV__&&(0,S.cc)(e||{},"resetResultIdentities","cache.gc","First ensure all usages of `canonizeResults` are removed, then remove this option."),p.M.reset(),f.y.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},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,h.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(_.$3.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(),p.M.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,b.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,u=e.onWatchUpdated,c=function(e){var n=r,o=n.data,a=n.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=o,r.optimisticData=a}},l=new Set;return u&&!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,c):!1===a?c(this.data):c(),"string"===typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=u.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?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;
1this.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=this,n=e.lastDiff,i=(0,S.lz)("canonizeResults",function(){return r.diff(e)});t&&(e.optimistic&&"string"===typeof t.optimistic&&(i.fromOptimisticTransaction=!0),t.onWatchUpdated&&!1===t.onWatchUpdated.call(this,e,i,n))||n&&(0,a.L)(n.result,i.result)||e.callback(e.lastDiff=i,n)},t}(s.k);!1!==globalThis.__DEV__&&(E.prototype.getMemoryInternals=w.cM)},102768(e,t,r){r.d(t,{fc:()=>h,v2:()=>f});var n=r(593904),i=r(253751),o=r(1979),a=r(744627),s=r(640093),u=r(448451),c=Object.create(null);function l(e){var t=JSON.stringify(e);return c[t]||(c[t]=Object.create(null))}function f(e){var t=l(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var i=function(e,t){return r.readField(t,e)},o=r.keyObject=d(e,function(e){var o=y(r.storeObject,e,i);return void 0===o&&t!==r.storeObject&&u.$3.call(t,e[0])&&(o=y(t,e,v)),(0,n.V1)(void 0!==o,5,e.join("."),t),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function h(e){var t=l(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,o=r.variables,s=r.fieldName,c=d(e,function(e){var r=e[0],s=r.charAt(0);if("@"!==s)if("$"!==s){if(t)return y(t,e)}else{var c=r.slice(1);if(o&&u.$3.call(o,c)){var l=e.slice(0);return l[0]=c,y(o,l)}}else if(n&&(0,a.E)(n.directives)){var f=r.slice(1),h=n.directives.find(function(e){return e.name.value===f}),d=h&&(0,i.MB)(h,o);return d&&y(d,e.slice(1))}}),l=JSON.stringify(c);return(t||"{}"!==l)&&(s+=":"+l),s})}function d(e,t){var r=new o.ZI;return p(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 p(e){var t=l(e);if(!t.paths){var r=t.paths=[],n=[];e.forEach(function(t,i){(0,a.c)(t)?(p(t).forEach(function(e){return r.push(n.concat(e))}),n.length=0):(n.push(t),(0,a.c)(e[i+1])||(r.push(n.slice(0)),n.length=0))})}return t.paths}function v(e,t){return e[t]}function y(e,t,r){return r=r||v,m(t.reduce(function e(t,n){return(0,a.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function m(e){return(0,s.U)(e)?(0,a.c)(e)?e.map(m):d(Object.keys(e).sort(),function(t){return y(e,t)}):e}},757409(e,t,r){r.d(t,{$:()=>u});var n=r(187150),i=r(877545),o=r(640093),a=r(590244),s=r(744627);var u=function(){function e(){this.known=new(a.En?WeakSet:Set),this.pool=new i.b(a.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,o.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,o.U)(e)){var t=function(e){return(0,o.U)(e)?(0,s.c)(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e):e}(e);return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,o.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))return e;var n=e.map(this.admit,this);return(u=this.pool.lookupArray(n)).array||(this.known.add(u.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),u.array;case null:case Object.prototype:if(this.known.has(e))return e;var i=Object.getPrototypeOf(e),a=[i],s=this.sortedKeys(e);a.push(s.json);var u,c=a.length;if(s.sorted.forEach(function(r){a.push(t.admit(e[r]))}),!(u=this.pool.lookupArray(a)).object){var l=u.object=Object.create(i);this.known.add(l),s.sorted.forEach(function(e,t){l[e]=a[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return u.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}()},727914(e,t,r){r.d(t,{l:()=>b,m:()=>_});var n=r(187150),i=r(593904),o=r(253751),a=r(640093),s=r(842775),u=r(448451),c=r(744627),l=r(815021),f=r(102768),h=r(895458);
1function d(e){return void 0!==e.args?e.args:e.field?(0,o.MB)(e.field,e.variables):null}var p=function(){},v=function(e,t){return t.fieldName},y=function(e,t,r){return(0,r.mergeObjects)(e,t)},m=function(e,t){return t},b=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:u.or},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=this,o=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var a,s=t&&t.storeObject||e,u=(0,n.Cl)((0,n.Cl)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=_(arguments,s);return i.readField(e,{store:i.cache.data,variables:e.variables})}}),l=o&&this.getTypePolicy(o),d=l&&l.keyFn||this.config.dataIdFromObject;return h.yV.withValue(!0,function(){for(;d;){var t=d((0,n.Cl)((0,n.Cl)({},e),s),u);if(!(0,c.c)(t)){a=t;break}d=(0,f.v2)(t)}}),a=a?String(a):void 0,u.keyObject?[a,u.keyObject]:[a]},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),u.$3.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(e,t,r){var n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"===typeof t?t:!0===t?y:!1===t?m:e.merge}a(n,t.merge),n.keyFn=!1===i?p:(0,c.c)(i)?(0,f.v2)(i):"function"===typeof i?i:n.keyFn,o&&Object.keys(o).forEach(function(t){var n=r[t];n&&(null===n||void 0===n?void 0:n.typename)===e||(n=r[t]={typename:e});var i=o[t];if("function"===typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;n.keyFn=!1===s?v:(0,c.c)(s)?(0,f.fc)(s):"function"===typeof s?s:n.keyFn,"function"===typeof u&&(n.read=u),a(n,l)}n.read&&n.merge&&(n.keyFn=n.keyFn||v)})},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(u.gk);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!u.$3.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,a=(0,n.Tt)(i,["fields"]);Object.assign(r,a),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r,t.typePolicies[e].fields)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t){if(e)return this.getTypePolicy(e).fields[t]},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],l=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&c.indexOf(t)<0&&c.push(t)},f=!(!r||!this.fuzzySubtypes.size),h=!1,d=0;d<c.length;++d){var p=c[d];if(p.has(a))return s.has(a)||(h&&!1!==globalThis.__DEV__&&i.V1.warn(7,t,a),s.add(a)),!0;p.forEach(l),f&&d===c.length-1&&(0,u.T9)(e.selectionSet,r,n)&&(f=!1,h=!0,this.fuzzySubtypes.forEac
1h(function(e,r){var n=t.match(e);n&&n[0]===t&&l(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t);return!(!r||!r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n),a=i&&i.keyFn;if(a&&r)for(var s={typename:r,fieldName:n,field:e.field||null,variables:e.variables},l=d(e);a;){var h=a(l,s);if(!(0,c.c)(h)){t=h||n;break}a=(0,f.fc)(h)}return void 0===t&&(t=e.field?(0,o.Ii)(e.field,e.variables):(0,o.o5)(n,d(e))),!1===t?n:n===(0,u.iJ)(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),a=(0,u.iJ)(i),s=t.store.getFieldValue(r,i),c=this.getFieldPolicy(e.typename,a),f=c&&c.read;if(f){var h=g(this,r,e,t,t.store.getStorage((0,o.A_)(r)?r.__ref:r,i));return l.bl.withValue(this.cache,f,[s,h])}return s}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t),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===y?w(n.store)(e,t):s===m?t:(n.overwrite&&(e=void 0),s(e,t,g(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function g(e,t,r,n,i){var a=e.getStoreFieldName(r),s=(0,u.iJ)(a),c=r.variables||n.variables,l=n.store,f=l.toReference,h=l.canRead;return{args:d(r),field:r.field||null,fieldName:s,storeFieldName:a,variables:c,isReference:o.A_,toReference:f,storage:i,cache:e.cache,canRead:h,readField:function(){return e.readField(_(arguments,t,c),n)},mergeObjects:w(n.store)}}function _(e,t,r){var o,a=e[0],c=e[1],l=e.length;return"string"===typeof a?o={fieldName:a,from:l>1?c:t}:(o=(0,n.Cl)({},a),u.$3.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.V1.warn(8,(0,s.p)(Array.from(e))),void 0===o.variables&&(o.variables=r),o}function w(e){return function(t,r){if((0,c.c)(t)||(0,c.c)(r))throw(0,i.vA)(9);if((0,a.U)(t)&&(0,a.U)(r)){var s=e.getFieldValue(t,"__typename"),l=e.getFieldValue(r,"__typename");if(s&&l&&s!==l)return r;if((0,o.A_)(t)&&(0,u.d1)(r))return e.merge(t.__ref,r),t;if((0,u.d1)(t)&&(0,o.A_)(r))return e.merge(t,r.__ref),r;if((0,u.d1)(t)&&(0,u.d1)(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}},815021(e,t,r){r.d(t,{MS:()=>u,UT:()=>c,WR:()=>s,bl:()=>i});var n=r(250052),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 u(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function c(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(n),function(e){e.broadcastWatches&&e.broadcastWatches()}(e)});var u=Array.from(r);r.clear(),u.forEach(function(t){return t(e)})}}else{var c=i.getValue();c&&(o(c),a(c).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}},363907(e,t,r){r.d(t,{D:()=>O});var n=r(187150),i=r(593904),o=r(599526),a=r(250052),s=r(590167),u=r(118343),c=r(34572),l=r(426949),f=r(253751),h=r(302737),d=r(1979),p=r(203488),v=r(640093),y=r(590244),m=r(970456),b=r(159218),g=r(895038),_=r(448451),w=r(744627),S=r(969930),E=r(757409);function C(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var O=function(){function e(e){var t=this;this.knownResults=new(y.et?WeakMap:Map),this.config=(0,m.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,_.Xx)(e)}),this.canon=e.canon||new E.$,this.executeSelectionSet=(0,a.LV)(function(e){var r,i=e.context.canonizeResults,o=C(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:((0,g.M2)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||s.v["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:C,makeCacheKey:function(e,t,r,n){if((0,g.$7)(r.store))return r.store.makeCacheKey(e,(0,f.A_)(t)?t.__ref:t,r.varStr
1ing,n)}}),this.executeSubSelectedArray=(0,a.LV)(function(e){return(0,g.M2)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||s.v["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if((0,g.$7)(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new E.$},e.prototype.diffQueryAgainstStore=function(e){var t=e.store,r=e.query,i=e.rootId,o=void 0===i?"ROOT_QUERY":i,a=e.variables,s=e.returnPartialData,u=void 0===s||s,c=e.canonizeResults,h=void 0===c?this.config.canonizeResults:c,d=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,l.wY)((0,l.AT)(r))),a);var p,v=(0,f.WU)(o),y=this.executeSelectionSet({selectionSet:(0,l.Vn)(r).selectionSet,objectOrReference:v,enclosingRef:v,context:(0,n.Cl)({store:t,query:r,policies:d,variables:a,varString:(0,b.M)(a),canonizeResults:h},(0,_.lq)(r,this.config.fragments))});if(y.missing&&(p=[new S.Z(k(y.missing),y.missing,r,a)],!u))throw p[0];return{result:y.result,complete:!p,missing:p}},e.prototype.isFresh=function(e,t,r,n){if((0,g.$7)(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=this,r=e.selectionSet,n=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,f.A_)(n)&&!s.policies.rootTypenamesById[n.__ref]&&!s.store.has(n.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(n.__ref," object")};var l,v=s.variables,y=s.policies,m=s.store.getFieldValue(n,"__typename"),b=[],g=new d.ZI;function _(e,t){var r;return e.missing&&(l=g.merge(l,((r={})[t]=e.missing,r))),e.result}this.config.addTypename&&"string"===typeof m&&!y.rootIdsByTypename[m]&&b.push({__typename:m});var S=new Set(r.selections);S.forEach(function(e){var r,d;if((0,u.MS)(e,v))if((0,f.dt)(e)){var p=y.readField({fieldName:e.name.value,field:e,variables:s.variables,from:n},s),E=(0,f.ue)(e);void 0===p?h.XY.added(e)||(l=g.merge(l,((r={})[E]="Can't find field '".concat(e.name.value,"' on ").concat((0,f.A_)(n)?n.__ref+" object":"object "+JSON.stringify(n,null,2)),r))):(0,w.c)(p)?p.length>0&&(p=_(t.executeSubSelectedArray({field:e,array:p,enclosingRef:a,context:s}),E)):e.selectionSet?null!=p&&(p=_(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:p,enclosingRef:(0,f.A_)(p)?p:a,context:s}),E)):s.canonizeResults&&(p=t.canon.pass(p)),void 0!==p&&b.push(((d={})[E]=p,d))}else{var C=(0,c.HQ)(e,s.lookupFragment);if(!C&&e.kind===o.b.FRAGMENT_SPREAD)throw(0,i.vA)(10,e.name.value);C&&y.fragmentMatches(C,m)&&C.selectionSet.selections.forEach(S.add,S)}});var E={result:(0,d.IM)(b),missing:l},C=s.canonizeResults?this.canon.admit(E):(0,p.G)(E);return C.result&&this.knownResults.set(C.result,r),C},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new d.ZI;function c(e,r){var n;return e.missing&&(t=u.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,w.c)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,f.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,v.U)(r)&&((0,i.V1)(!(0,f.A_)(r),11,(0,_.Ui)(e,r),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}();function k(e){try{JSON.stringify(e,function(e,t){if("string"===typeof t)throw t;return t})}catch(e){return e}}},778203(e,t,r){r.d(t,{N:()=>_});var n=r(187150),i=r(593904),o=r(286246),a=r(877545),s=r(599526),u=r(118343),c=r(34572),l=r(426949),f=r(253751),h=r(302737),d=r(747430),p=r(744627),v=r(159218),y=r(448451),m=r(727914);function b(e){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},b(e)}function g(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 _=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,a=t.query,s=t.result,u=t.dataId,c=t.variables,h=t.overwrite,d=(0,l.Vu)(a),m=(0,y.mv)();c=(0,n.Cl)((0,n.Cl)({},(0,l.wY)(d)),c);var g=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return m.merge(e,t)},variables:c,varString:(0,v.M)(c)},(0,y.lq)(a,this.fragments)),{overwrite:!!h,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),_=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:d.selectionSet,mergeTree:{map:new Map},context:g});if(!(0,f.A_)(_))throw(0,i.vA)(12,s);
1return g.incomingById.forEach(function(t,a){var s=t.storeObject,u=t.mergeTree,c=t.fieldNodeSet,l=(0,f.WU)(a);if(u&&u.map.size){var h=r.applyMerges(u,l,s,g);if((0,f.A_)(h))return;s=h}if(!1!==globalThis.__DEV__&&!g.overwrite){var d=Object.create(null);c.forEach(function(e){e.selectionSet&&(d[e.name.value]=!0)});Object.keys(s).forEach(function(e){(function(e){return!0===d[(0,y.iJ)(e)]})(e)&&!function(e){var t=u&&u.map.get(e);return Boolean(t&&t.info&&t.info.merge)}(e)&&function(e,t,r,a){var s=function(e){var t=a.getFieldValue(e,r);return"object"===b(t)&&t},u=s(e);if(!u)return;var c=s(t);if(!c)return;if((0,f.A_)(u))return;if((0,o.L)(u,c))return;if(Object.keys(u).every(function(e){return void 0!==a.getFieldValue(c,e)}))return;var l=a.getFieldValue(e,"__typename")||a.getFieldValue(t,"__typename"),h=(0,y.iJ)(r),d="".concat(l,".").concat(h);if(k.has(d))return;k.add(d);var v=[];(0,p.c)(u)||(0,p.c)(c)||[u,c].forEach(function(e){var t=a.getFieldValue(e,"__typename");"string"!==typeof t||v.includes(t)||v.push(t)});!1!==globalThis.__DEV__&&i.V1.warn(15,h,l,v.length?"either ensure all objects of type "+v.join(" and ")+" have an ID or a custom merge function, or ":"",d,(0,n.Cl)({},u),(0,n.Cl)({},c))}(l,s,e,g.store)})}e.merge(a,s)}),e.retain(_.__ref),_},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,l=Object.create(null),d=r&&c.rootTypenamesById[r]||(0,f.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"===typeof d&&(l.__typename=d);var p=function(){var e=(0,m.m)(arguments,l,s.variables);if((0,f.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},v=new Set;this.flattenFields(a,o,s,d).forEach(function(e,r){var n,a=(0,f.ue)(r),s=o[a];if(v.add(r),void 0!==s){var m=c.getStoreFieldName({typename:d,fieldName:r.name.value,field:r,variables:e.variables}),b=S(u,m),_=t.processFieldValue(s,r,r.selectionSet?g(e,!1,!1):e,b),w=void 0;r.selectionSet&&((0,f.A_)(_)||(0,y.d1)(_))&&(w=p("__typename",_));var E=c.getMergeFunction(d,r.name.value,w);E?b.info={field:r,typename:d,merge:E}:O(u,m),l=e.merge(l,((n={})[m]=_,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||h.XY.added(r)||c.getReadFunction(d,r.name.value)||!1!==globalThis.__DEV__&&i.V1.error(13,(0,f.ue)(r),o)});try{var b=c.identify(o,{typename:d,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:l,readField:p}),_=b[0],w=b[1];r=r||_,w&&(l=s.merge(l,w))}catch(e){if(!r)throw e}if("string"===typeof r){var k=(0,f.WU)(r),T=s.written[r]||(s.written[r]=[]);if(T.indexOf(a)>=0)return k;if(T.push(a),this.reader&&this.reader.isFresh(o,k,a,s))return k;var D=s.incomingById.get(r);return D?(D.storeObject=s.merge(D.storeObject,l),D.mergeTree=E(D.mergeTree,u),v.forEach(function(e){return D.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:C(u)?void 0:u,fieldNodeSet:v}),k}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,p.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,S(n,o));return O(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,d.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,f.D$)(t,e,r.fragmentMap));var o=new Map,l=this.cache.policies,h=new a.b(!1);return function e(a,d){var v=h.lookup(a,d.clientOnly,d.deferred);v.visited||(v.visited=!0,a.selections.forEach(function(a){if((0,u.MS)(a,r.variables)){var h=d.clientOnly,v=d.deferred;if(h&&v||!(0,p.E)(a.directives)||a.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(h=!0),"defer"===t){var n=(0,f.MB)(e,r.variables);n&&!1===n.if||(v=!0)}}),(0,f.dt)(a)){var y=o.get(a);y&&(h=h&&y.clientOnly,v=v&&y.deferred),o.set(a,g(r,h,v))}else{var m=(0,c.HQ)(a,r.lookupFragment);if(!m&&a.kind===s.b.FRAGMENT_SPREAD)throw(0,i.vA)(14,a.name.value);m&&l.fragmentMatches(m,n,t,r.variables)&&e(m.selectionSet,g(r,h,v))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s,u=this;if(e.map.size&&!(0,f.A_)(r)){var c,l=(0,p.c)(r)||!(0,f.A_)(t)&&!(0,y.d1)(t)?void 0:t,h=r;l&&!a&&(a=[(0,f.A_)(l)?l.__ref:l]);var d=function(e,t){return(0,p.c)(e)?"number"===typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};
1e.map.forEach(function(e,t){var r=d(l,t),n=d(h,t);if(void 0!==n){a&&a.push(t);var s=u.applyMerges(e,r,n,o,a);s!==n&&(c=c||new Map).set(t,s),a&&(0,i.V1)(a.pop()===t)}}),c&&(r=(0,p.c)(h)?h.slice(0):(0,n.Cl)({},h),c.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(s=o.store).getStorage.apply(s,a)):r},e}(),w=[];function S(e,t){var r=e.map;return r.has(t)||r.set(t,w.pop()||{map:new Map}),r.get(t)}function E(e,t){if(e===t||!t||C(t))return e;if(!e||C(e))return t;var r=e.info&&t.info?(0,n.Cl)((0,n.Cl)({},e.info),t.info):e.info||t.info,i=e.map.size&&t.map.size,o={info:r,map:i?new Map:e.map.size?e.map:t.map};if(i){var a=new Set(t.map.keys());e.map.forEach(function(e,r){o.map.set(r,E(e,t.map.get(r))),a.delete(r)}),a.forEach(function(r){o.map.set(r,E(t.map.get(r),e.map.get(r)))})}return o}function C(e){return!e||!(e.info||e.map.size)}function O(e,t){var r=e.map,n=r.get(t);n&&C(n)&&(w.push(n),r.delete(t))}var k=new Set},505776(e,t,r){r.d(t,{R:()=>v});var n=r(187150),i=r(593904),o=r(269466),a=r(871126),s=r(562400),u=r(190740),c=r(949211),l=r(604192),f=r(774111),h=r(323774),d=r(737878),p=!1,v=function(){function e(e){var t,r,o,f=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.vA)(16);var h=e.uri,p=e.credentials,v=e.headers,y=e.cache,m=e.documentTransform,b=e.ssrMode,g=void 0!==b&&b,_=e.ssrForceFetchDelay,w=void 0===_?0:_,S=e.connectToDevTools,E=e.queryDeduplication,C=void 0===E||E,O=e.defaultOptions,k=e.defaultContext,T=e.assumeImmutableResults,D=void 0===T?y.assumeImmutableResults:T,V=e.resolvers,R=e.typeDefs,x=e.fragmentMatcher,M=e.clientAwareness,q=e.name,I=e.version,P=e.devtools,F=e.dataMasking;!1!==globalThis.__DEV__&&((0,d.cc)(e,"connectToDevTools","ApolloClient","Please use `devtools.enabled` instead."),(0,d.cc)(e,"uri","ApolloClient","Please initialize an instance of `HttpLink` with `uri` instead."),(0,d.cc)(e,"credentials","ApolloClient","Please initialize an instance of `HttpLink` with `credentials` instead."),(0,d.cc)(e,"headers","ApolloClient","Please initialize an instance of `HttpLink` with `headers` instead."),(0,d.cc)(e,"name","ApolloClient","Please use the `clientAwareness.name` option instead."),(0,d.cc)(e,"version","ApolloClient","Please use the `clientAwareness.version` option instead."),(0,d.cc)(e,"typeDefs","ApolloClient"),e.link||!1!==globalThis.__DEV__&&i.V1.warn(17));var A=e.link;A||(A=h?new u.P({uri:h,credentials:p,headers:v}):a.C.empty()),this.link=A,this.cache=y,this.disableNetworkFetches=g||w>0,this.queryDeduplication=C,this.defaultOptions=O||Object.create(null),this.typeDefs=R,this.devtoolsConfig=(0,n.Cl)((0,n.Cl)({},P),{enabled:null!==(t=null===P||void 0===P?void 0:P.enabled)&&void 0!==t?t:S}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),w&&setTimeout(function(){return f.disableNetworkFetches=!1},w),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 l.X({cache:y,client:this,resolvers:V,fragmentMatcher:x}),this.queryManager=new c.E({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:k,documentTransform:m,queryDeduplication:C,ssrMode:g,dataMasking:!!F,clientAwareness:{name:null!==(r=null===M||void 0===M?void 0:M.name)&&void 0!==r?r:q,version:null!==(o=null===M||void 0===M?void 0:M.version)&&void 0!==o?o:I},localState:this.localState,assumeImmutableResults:D,onBroadcast:this.devtoolsConfig.enabled?function(){f.devToolsHookCb&&f.devToolsHookCb({action:{},state:{queries:f.queryManager.getQueryStore(),mutations:f.queryManager.mutationStore||{}},dataWithOptimisticResults:f.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return Object.defineProperty(e.prototype,"prioritizeCacheValues",{get:function(){return this.disableNetworkFetches},set:function(e){this.disableNetworkFetches=e}
1,enumerable:!1,configurable:!0}),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,p||!1===globalThis.__DEV__||(p=!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},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,f.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"})),!1!==globalThis.__DEV__&&((0,d.cc)(e,"canonizeResults","client.watchQuery"),(0,d.cc)(e,"partialRefetch","client.watchQuery")),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,f.l)(this.defaultOptions.query,e)),(0,i.V1)("cache-and-network"!==e.fetchPolicy,18),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),!1!==globalThis.__DEV__&&((0,d.cc)(e,"canonizeResults","client.query"),(0,d.cc)(e,"notifyOnNetworkStatusChange","client.query","This option does not affect `client.query` and can be safely removed."),"standby"===e.fetchPolicy&&!1!==globalThis.__DEV__&&i.V1.warn(19)),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,f.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(0,o.g)(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(20,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}
1,enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(v.prototype.getMemoryInternals=h.ep)},604192(e,t,r){r.d(t,{X:()=>p});var n=r(187150),i=r(593904),o=r(491069),a=r(93003),s=r(118343),u=r(34572),c=r(426949),l=r(253751),f=r(302737),h=r(1979),d=r(815021),p=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,h.D9)(t.resolvers,e)}):this.resolvers=(0,h.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,s.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,f.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,o.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 o.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,f.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,l,f,h,d,p,v,y,m,b;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,c.Vn)(e),l=(0,c.zK)(e),f=(0,u.JG)(l),h=this.collectSelectionsToResolve(s,f),d=s.operation,p=d?d.charAt(0).toUpperCase()+d.slice(1):"Query",y=(v=this).cache,m=v.client,b={fragmentMap:f,context:(0,n.Cl)((0,n.Cl)({},r),{cache:y,client:m}),variables:i,fragmentMatcher:o,defaultOperationType:p,exportedVariables:{},selectionsToResolve:h,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,false,t,b).then(function(e){return{result:e,exportedVariables:b.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,function(){var a,u,c,f,d,p=this;return(0,n.YH)(this,function(v){return a=o.fragmentMap,u=o.context,c=o.variables,f=[r],d=function(e){return(0,n.sH)(p,void 0,void 0,function(){var h,d;return(0,n.YH)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,s.MS)(e,c)?(0,l.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;"undefined"!==typeof t&&f.push(((r={})[(0,l.ue)(e)]=t,r))})]:((0,l.kd)(e)?h=e:(h=a[e.name.value],(0,i.V1)(h,21,e.name.value)),h&&h.typeCondition&&(d=h.typeCondition.name.value,o.fragmentMatcher(r,d,u))?[2,this.resolveSelectionSet(h.selectionSet,t,r,o).then(function(e){f.push(e)})]:[2]):[2]})})},[2,Promise.all(e.selections.map(d)).then(function(){return(0,h.IM)(f)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,function(){var o,a,s,u,c,f,h,p,v,y=this;return(0,n.YH)(this,function(n){return r?(o=i.variables,a=e.name.value,s=(0,l.ue)(e),u=a!==s,c=r[s]||r[a],f=Promise.resolve(c),i.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(h=r.__typename||i.defaultOperationType,(p=this.resolvers&&this.resolvers[h])&&
1(v=p[u?a:s])&&(f=Promise.resolve(d.bl.withValue(this.cache,v,[r,(0,l.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,f.then(function(r){var n,o;if(void 0===r&&(r=c),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)return r;if(null==r)return r;var a=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?y.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?y.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(s){if(!n.has(s)){var u=new Set;n.set(s,u),(0,o.YR)(s,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&(0,a.VK)(e)&&u.add(e)})},FragmentSpread:function(n,o,s,c,l){var f=t[n.name.value];(0,i.V1)(f,22,n.name.value);var h=e(f);h.size>0&&(l.forEach(function(e){r(e)&&(0,a.VK)(e)&&u.add(e)}),u.add(n),h.forEach(function(e){u.add(e)}))}})}return n.get(s)}(e)},e}()},506297(e,t,r){r.d(t,{U:()=>_,y:()=>S});var n=r(187150),i=r(593904),o=r(286246),a=r(607658),s=r(403410),u=r(426949),c=r(276822),l=r(747430),f=r(385041),h=r(438352),d=r(970456),p=r(103014),v=r(287279),y=r(250052),m=r(737878),b=Object.assign,g=Object.hasOwnProperty,_=function(e){function t(r){var i=r.queryManager,o=r.queryInfo,a=r.options,s=this,c=t.inactiveOnCreation.getValue();(s=e.call(this,function(e){s._getOrCreateQuery();try{var t=e._subscription._observer;t&&!t.error&&(t.error=w)}catch(e){}var r=!s.observers.size;s.observers.add(e);var n=s.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(s.maskResult(n.result)),r&&s.reobserve().catch(function(){}),function(){s.observers.delete(e)&&!s.observers.size&&s.tearDownQuery()}})||this).observers=new Set,s.subscriptions=new Set,s.dirty=!1,s._getOrCreateQuery=function(){return c&&(i.queries.set(s.queryId,o),c=!1),s.queryManager.getOrCreateQuery(s.queryId)},s.queryInfo=o,s.queryManager=i,s.waitForOwnResult=E(a.fetchPolicy),s.isTornDown=!1,s.subscribeToMore=s.subscribeToMore.bind(s),s.maskResult=s.maskResult.bind(s);var l=i.defaultOptions.watchQuery,f=(void 0===l?{}:l).fetchPolicy,h=void 0===f?"cache-first":f,d=a.fetchPolicy,p=void 0===d?h:d,v=a.initialFetchPolicy,y=void 0===v?"standby"===p?h:p:v;s.options=(0,n.Cl)((0,n.Cl)({},a),{initialFetchPolicy:y,fetchPolicy:p}),s.queryId=o.queryId||i.generateQueryId();var m=(0,u.Vu)(s.query);return s.queryName=m&&m.name&&m.name.value,s}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return!1!==globalThis.__DEV__&&(0,m.S2)("observableQuery.result",function(){!1!==globalThis.__DEV__&&i.V1.warn(23)}),new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},t.prototype.resetDiff=function(){this.queryInfo.resetDiff()},t.prototype.getCurrentFullResult=function(e){var t=this;void 0===e&&(e=!0);var r=(0,m.lz)("getLastResult",function(){return t.getLastResult(!0)}),i=this.queryInfo.networkStatus||r&&r.networkStatus||a.pT.ready,s=(0,n.Cl)((0,n.Cl)({},r),{loading:(0,a.bi)(i),networkStatus:i}),u=this.options.fetchPolicy,c=void 0===u?"cache-first":u;if(E(c)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var l=this.queryInfo.getDiff();(l.complete||this.options.returnPartialData)&&(s.data=l.result),(0,o.L)(s.data,{})&&(s.data=void 0),l.complete?(delete s.partial,!l.complete||s.networkStatus!==a.pT.loading||"cache-first"!==c&&"cache-only"!==c||(s.networkStatus=a.pT.ready,s.loading=!1)):s.partial=!0,s.networkStatus===a.pT.ready&&(s.error||s.errors)&&(s.networkStatus=a.pT.error),!1===globalThis.__DEV__||l.complete||this.options.partialRefetch||s.loading||s.data||s.error||S(l.missing)}return e&&this.updateLastResult(s),s},t.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},t.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),n=this.queryManager.dataMasking,i=n?r.nonReactiveQuery:this.query;return(n||r.hasNonreactiveDirective?!(0,v.a)(i,this.last.result,e,this.variables):!(0,o.L)(this.last.result,e))||t&&!(0,o.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,o.L)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return!1!==globalThis.__DEV__&&(0,m.S2)("getLastResult",function(){!1!==globalThis.__DEV__&&i.V1.warn(24)}),this.getLast("result",e)},t.prototype.getLastError=function(e){return!1!==globalThis.__DEV__&&(0,m.S2)("getLastError",function(){!1!==globalThis.__DEV__&&i.V1.warn(25)}),this.getLast("error",e)},t.prototype.resetLastResults=function(){!1!==globalThis.__DEV__&&(0,m.S2)("resetLastResults",function(){!1!==globalThis.__DEV__&&i.V1.warn(26)}),delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.V1.warn(27),this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},s=this.options.fetchPolicy;if(r.fetchPolicy="no-cache"===s?"no-cache":"network-only",!1!==globalThis.__DEV__&&e&&g.call(e,"variables")){var c=(0,u.AT)(this.query),l=c.variableDefinitions;l&&l.some(function(e){return"variables"===e.variable.name.value})||!1!==globalThis.__DEV__&&i.V1.warn(28,e,(null===(t=c.name)||void 0===t?void 0:t.value)||c)}return e&&!(0,o.L)(this.options.variables,e)&&(r.variables=this.options.variables=(0,n.Cl)((0,n.Cl)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(r,a.pT.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.Cl)((0,n.Cl)({},e.query?e:(0,n.Cl)((0,n.Cl)((0,n.Cl)((0,n.Cl)({},this.options),{query:this.options.query}),e),{variables:(0,n.Cl)((0,n.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});r.query=this.transformDocument(r.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):r.query;var s=this.queryInfo,u=s.networkStatus;
1s.networkStatus=a.pT.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=null===e||void 0===e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,i.V1)(l,29),this.queryManager.fetchQuery(o,r,a.pT.fetchMore).then(function(i){if(t.queryManager.removeQuery(o),s.networkStatus===a.pT.fetchMore&&(s.networkStatus=u),f)t.queryManager.cache.batch({update:function(n){var o=e.updateQuery;o?n.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:i.data,variables:r.variables})}):n.writeQuery({query:r.query,variables:r.variables,data:i.data})},onWatchUpdated:function(e){c.add(e.query)}});else{var h=t.getLast("result"),d=l(h.data,{fetchMoreResult:i.data,variables:r.variables});t.reportResult((0,n.Cl)((0,n.Cl)({},h),{networkStatus:u,loading:(0,a.bi)(u),data:d}),t.variables)}return t.maskResult(i)}).finally(function(){f&&!c.has(t.query)&&t.reobserveCacheFirst()})},t.prototype.subscribeToMore=function(e){var t=this,r=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&t.updateQuery(function(e,t){return i(e,(0,n.Cl)({subscriptionData:r},t))})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&i.V1.error(30,t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return!1!==globalThis.__DEV__&&((0,m.cc)(e,"canonizeResults","setOptions"),(0,m.S2)("setOptions",function(){!1!==globalThis.__DEV__&&i.V1.warn(31)})),this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,d.o)(this.options,e||{});b(this.options,t)},t.prototype.setVariables=function(e){var t=this;return(0,o.L)(this.variables,e)?this.observers.size?(0,m.lz)("observableQuery.result",function(){return t.result()}):Promise.resolve():(this.options.variables=e,this.observers.size?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},a.pT.setVariables):Promise.resolve())},t.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,o=e(n,{variables:this.variables,complete:!!i,previousData:n});o&&(t.cache.writeQuery({query:this.options.query,data:o,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,o=void 0===i?n:i;"standby"===n||("function"===typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:o}):t.fetchPolicy="variables-changed"===e?o:t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t,r){var n=this._getOrCreateQuery();return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(r&&this.hasObservers()){if(!t||t.interval!==r){(0,i.V1)(r,32),(t||(this.pollingInfo={})).interval=r;var n=function(){var t,r;e.pollingInfo&&((0,a.bi)(e.queryInfo.networkStatus)||(null===(r=(t=e.options).skipPollAttempt)||void 0===r?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},a.pT.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)}},t.prototype.updateLastResult=function(e,t){var r=this;void 0===t&&(t=this.variables);var i=(0,m.lz)("getLastError",function(){return r.getLastError()});return i&&this.last&&!(0,o.L)(t,this.last.variables)&&(i=void 0),this.last=(0,n.Cl)({result:this.queryManager.assumeImmutableResults?e:(0,l.m)(e),variables:t},i?{error:i}:null)},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;
1var i=t===a.pT.refetch||t===a.pT.fetchMore||t===a.pT.poll,s=this.options.variables,u=this.options.fetchPolicy,c=(0,d.o)(this.options,e||{}),l=i?c:b(this.options,c),f=this.transformDocument(l.query);this.lastQuery=f,i||(this.updatePolling(),!e||!e.variables||(0,o.L)(e.variables,s)||"standby"===l.fetchPolicy||l.fetchPolicy!==u&&"function"!==typeof l.nextFetchPolicy||(this.applyNextFetchPolicy("variables-changed",l),void 0===t&&(t=a.pT.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=E(l.fetchPolicy));var h=function(){r.concast===m&&(r.waitForOwnResult=!1)},v=l.variables&&(0,n.Cl)({},l.variables),y=this.fetch(l,t,f),m=y.concast,g=y.fromLink,_={next:function(e){(0,o.L)(r.variables,v)&&(h(),r.reportResult(e,v))},error:function(e){(0,o.L)(r.variables,v)&&((0,p.Mn)(e)||(e=new p.K4({networkError:e})),h(),r.reportError(e,v))}};return i||!g&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=m,this.observer=_),m.addObserver(_),m},t.prototype.reobserve=function(e,t){return(0,c.X)(this.reobserveAsConcast(e,t).promise.then(this.maskResult))},t.prototype.resubscribeAfterError=function(){for(var e=this,t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];var n=this.last;(0,m.lz)("resetLastResults",function(){return e.resetLastResults()});var i=this.subscribe.apply(this,t);return this.last=n,i},t.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this,n=(0,m.lz)("getLastError",function(){return r.getLastError()}),i=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||i)&&(0,f.w)(this.observers,"next",this.maskResult(e))},t.prototype.reportError=function(e,t){var r=this,i=(0,n.Cl)((0,n.Cl)({},(0,m.lz)("getLastResult",function(){return r.getLastResult()})),{error:e,errors:e.graphQLErrors,networkStatus:a.pT.error,loading:!1});this.updateLastResult(i,t),(0,f.w)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t.prototype.maskResult=function(e){return e&&"data"in e?(0,n.Cl)((0,n.Cl)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},t.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},t.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},t.prototype.scheduleNotify=function(){var e=this;this.dirty||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},t.prototype.notify=function(){(this.cancelNotifyTimeout(),this.dirty)&&("cache-only"!=this.options.fetchPolicy&&"cache-and-network"!=this.options.fetchPolicy&&(0,a.bi)(this.queryInfo.networkStatus)||(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()));this.dirty=!1},t.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return this.nextFetchPolicy=r,"function"===typeof this.nextFetchPolicy?this.nextFetchPolicy(e,n):t}}):this.reobserve()},t.inactiveOnCreation=new y.DX,t}(s.c);function w(e){!1!==globalThis.__DEV__&&i.V1.error(33,e.message,e.stack)}function S(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.V1.debug(34,e)}function E(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,h.r)(_)},438446(e,t,r){r.d(t,{L:()=>p,u:()=>v});var n=r(187150),i=r(286246),o=r(1979),a=r(652992),s=r(744627),u=r(432802),c=r(590244),l=r(607658),f=r(737878),h=new(c.et?WeakMap:Map);function d(e,t){var r=e[t];"function"===typeof r&&(e[t]=function(){return h.set(e,(h.get(e)+1)%1e15),r.apply(this,arguments)})}var p=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;h.has(r)||(h.set(r,0),d(r,"evict"),d(r,"modify"),d(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||l.pT.loading;return this.variables&&this.networkStatus!==l.pT.loading&&!(0,i.L)(this.variables,e.variables)&&(t=l.pT.setVariables),(0,i.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,t=this.getDiffOptions();if(this.lastDiff&&(0,i.L)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=(0,f.lz)("canonizeResults",function(){return e.cache.diff(t)});return this.updateLastDiff(n,t),n},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?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,r=this,n=this.lastDiff&&this.lastDiff.diff;e&&!e.complete&&(0,f.lz)("getLastError",function(){var e;return null===(e=r.observableQuery)||void 0===e?void 0:e.getLastError()})||(this.updateLastDiff(e),(0,i.L)(n&&n.result,e&&e.result)||null===(t=this.observableQuery)||void 0===t||t.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)||void 0===e||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null===(e=this.cancelWatch)||void 0===e||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 o=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});
1this.lastWatch&&(0,i.L)(o,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=o))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===h.get(this.cache)&&(0,i.L)(t,r.variables)&&(0,i.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var u,c=this,l=new o.ZI,d=(0,s.E)(e.errors)?e.errors.slice(0):[];if(null===(u=this.observableQuery)||void 0===u||u.resetNotifications(),"incremental"in e&&(0,s.E)(e.incremental)){var p=(0,a.bd)(this.getDiff().result,e);e.data=p}else if("hasNext"in e&&e.hasNext){var y=this.getDiff();e.data=l.merge(y.result,e.data)}this.graphQLErrors=d,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(v(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(c.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),c.lastWrite={result:e,variables:r.variables,dmCount:h.get(c.cache)};else if(c.lastDiff&&c.lastDiff.diff.complete)return void(e.data=c.lastDiff.diff.result);var a=c.getDiffOptions(r.variables),s=(0,f.lz)("canonizeResults",function(){return o.diff(a)});!c.stopped&&(0,i.L)(c.variables,r.variables)&&c.updateWatch(r.variables),c.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=l.pT.ready},e.prototype.markError=function(e){var t;return this.networkStatus=l.pT.error,this.lastWrite=void 0,null===(t=this.observableQuery)||void 0===t||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function v(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!(0,u.t)(e);return!n&&r&&e.data&&(n=!0),n}},949211(e,t,r){r.d(t,{E:()=>P});var n=r(187150),i=r(593904),o=r(286246),a=r(269466),s=r(118343),u=r(34572),c=r(302737),l=r(652992),f=r(159218),h=r(403410),d=r(370862),p=r(426949),v=r(253751),y=r(910918),m=r(769993),b=r(744627),g=r(640093),_=r(432802),w=r(273593),S=r(103014),E=r(506297),C=r(607658),O=r(438446),k=r(674250),T=r(877545),D=r(96234),V=r(590167),R=r(983419),x=r(354718),M=r(737878),q=Object.prototype.hasOwnProperty,I=Object.create(null),P=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new D.A(V.v["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new T.b(!1),this.noCacheWarningsByQueryId=new Set;var r=new d.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)(35))},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,u,c,l=e.mutation,f=e.variables,h=e.optimisticResponse,d=e.updateQueries,p=e.refetchQueries,v=void 0===p?[]:p,m=e.awaitRefetchQueries,b=void 0!==m&&m,g=e.update,w=e.onQueryUpdated,E=e.fetchPolicy,C=void 0===E?(null===(u=this.defaultOptions.mutate)||void 0===u?void 0:u.fetchPolicy)||"network-only":E,O=e.errorPolicy,k=void 0===O?(null===(c=this.defaultOptions.mutate)||void 0===c?void 0:c.errorPolicy)||"none":O,T=e.keepRootFields,D=e.context;return(0,n.YH)(this,function(e){switch(e.label){case 0:return(0,i.V1)(l,36),(0,i.V1)("network-only"===C||"no-cache"===C,37),t=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),r=this.getDocumentInfo(l).hasClientExports,f=this.getVariables(l,f),r?[4,this.localState.addExportedVariables(l,f,D)]:[3,2];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:C,errorPolicy:k,context:D,updateQueries:d,update:g,keepRootFields:T}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return(0,y.x)(s.getObservableFromLink(l,(0,n.Cl)((0,n.Cl)({},D),{optimisticResponse:a?h:void 0}),f,{},!1),function(e){if((0,_.t)(e)&&"none"===k)throw new S.K4({graphQLErrors:(0,_.M)(e)});o&&(o.loading=!1,o.error=null);var r=(0,n.Cl)({},e);return"function"===typeof v&&(v=v(r)),"ignore"===k&&(0,_.t)(r)&&delete r.errors,s.markMutationResult({mutationId:t,result:r,document:l,variables:f,fetchPolicy:C,errorPolicy:k,context:D,update:g,updateQueries:d,awaitRefetchQueries:b,refetchQueries:v,removeOptimistic:a?t:void 0,onQueryUpdated:w,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:C,id:t})}))},error:function(e){o&&(o.loading=!1,o.error=e),a&&s.cache.removeOptimistic(t),s.broadcastQueries(),r(e instanceof S.K4?e:new S.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&&(0,O.u)(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,b.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),u=void 0;s.result&&(u=(0,l.bd)(s.result,i)),"undefined"!==typeof u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&q.call(c,s)){var u=c[s],l=r.queries.get(n),f=l.document,h=l.variables,d=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),v=d.result;if(d.complete&&v){var y=u(v,{mutationResult:i,queryName:f&&(0,p.n4)(f)||void 0,queryVariables:h});y&&o.push({result:y,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,u=!(0,l.YX)(i)||(0,l.ST)(i)&&!i.hasNext;if(s){if(!a){var c=t.diff({id:"ROOT_MUTATION",query:r.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:c.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!u||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:I}):e;return o!==I&&(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,s.f2)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,s.d8)(["nonreactive"],e),nonReactiveQuery:(0,c.x3)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,c.iz)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,p.wY)((0,p.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);"undefined"===typeof(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var r=new O.L(this),i=new E.U({queryManager:this,queryInfo:r,options:e});return i.lastQuery=t,E.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,38),(0,i.V1)("Document"===e.query.kind,39),(0,i.V1)(!e.returnPartialData,40),(0,i.V1)(!e.pollInterval,41);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)(42)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=C.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,v.Kc)(e)){var r=(0,k.y)(t.transform(e));o.set(r,(0,p.n4)(e)),a.set(r,!1)}else(0,g.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,k.y)(o)))&&(r.set(n,i),s&&a.set(s,!0),o&&a.set((0,k.y)(o),!0))}}),s.size&&s.forEach(function(e){var o=(0,w.v)("legacyOneTimeQuery"),a=t.getOrCreateQuery(o).init({document:e.query,variables:e.variables}),s=new E.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(43,r):!1!==globalThis.__DEV__&&i.V1.warn(44)}}),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;(0,M.lz)("resetLastResults",function(){return 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,u=void 0===s?{}:s,c=e.extensions,l=void 0===c?{}:c;r=this.transform(r),n=this.getVariables(r,n);var f=function(e){return t.getObservableFromLink(r,u,e,l).map(function(n){"no-cache"!==i&&((0,O.u)(n,a)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var o=(0,_.t)(n),s=(0,S.uR)(n);if(o||s){var u={};if(o&&(u.graphQLErrors=n.errors),s&&(u.protocolErrors=n.extensions[S.K$]),"none"===a||s)throw new S.K4(u)}return"ignore"===a&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var d=this.localState.addExportedVariables(r,n,u).then(f);return new h.c(function(e){var t=null;return d.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))||void 0===t||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?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i,o){var s,u,c=this;void 0===o&&(o=null!==(s=null===t||void 0===t?void 0:t.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var l=this.getDocumentInfo(e),d=l.serverQuery,v=l.clientQuery;if(d){var b=this.inFlightLinkObservables,g=this.link,_={query:d,variables:r,operationName:(0,p.n4)(d)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!o})),extensions:i};if(t=_.context,o){var w=(0,k.y)(d),S=(0,f.M)(r),E=b.lookup(w,S);if(!(u=E.observable)){var C=new m.E([(0,a.g)(g,_)]);u=E.observable=C,C.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?C.beforeNext(e):b.remove(w,S)})}}else u=new m.E([(0,a.g)(g,_)])}else u=new m.E([h.c.of({data:{}})]),t=this.prepareContext(t);return v&&(u=(0,y.x)(u,function(e){return c.localState.runResolvers({document:v,remoteResult:e,context:t,variables:r})})),u},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return(0,y.x)(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=(0,_.M)(o),s=a.length>0,u=r.errorPolicy;if(n>
1=e.lastRequestId){if(s&&"none"===u)throw e.markError(new S.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:C.pT.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=a,c.networkStatus=C.pT.error),c},function(t){var r=(0,S.Mn)(t)?t:new S.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i=this;void 0===r&&(r=C.pT.loading),void 0===n&&(n=t.query);var o,a,s=this.getVariables(n,t.variables),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,l=void 0===c?u&&u.fetchPolicy||"cache-first":c,f=t.errorPolicy,h=void 0===f?u&&u.errorPolicy||"none":f,d=t.returnPartialData,p=void 0!==d&&d,v=t.notifyOnNetworkStatusChange,y=void 0!==v&&v,b=t.context,g=void 0===b?{}:b,_=Object.assign({},t,{query:n,variables:s,fetchPolicy:l,errorPolicy:h,returnPartialData:p,notifyOnNetworkStatusChange:y,context:g}),w=function(n){_.variables=n;var o=i.fetchQueryByPolicy(e,_,r);return"standby"!==_.fetchPolicy&&o.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),o},S=function(){return i.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){S(),setTimeout(function(){return o.cancel(e)})}),this.getDocumentInfo(_.query).hasClientExports)o=new m.E(this.localState.addExportedVariables(_.query,_.variables,_.context).then(w).then(function(e){return e.sources})),a=!0;else{var E=w(_.variables);a=E.fromLink,o=new m.E(E.sources)}return o.promise.then(S,S),{concast:o,fromLink:a}},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,w.v)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.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 O.L&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;u&&(a||(a=(0,M.lz)("canonizeResults",function(){return t.cache.diff(i.queryInfo.getDiffOptions())})),n=u(i,a,o)),u&&!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,l=null===(t=(0,p.Vu)(o))||void 0===t?void 0:t.operation,f=(null!==(r=null===l||void 0===l?void 0:l[0])&&void 0!==r?r:"o")+c;!this.dataMasking||"no-cache"!==s||(0,u.s6)(o)||this.noCacheWarningsByQueryId.has(f)||(this.noCacheWarningsByQueryId.add(f),!1!==globalThis.__DEV__&&i.V1.warn(45,null!==(n=(0,p.n4)(o))&&void 0!==n?n:"Unnamed ".concat(null!==l&&void 0!==l?l:"operation")))}return this.dataMasking?(0,x.m)(a,o,this.cache):a},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?(0,R.z)(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,a=t.query,s=t.variables,u=t.fetchPolicy,c=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,d=t.context,p=t.notifyOnNetworkStatusChange,v=e.networkStatus;e.init({document:a,variables:s,networkStatus:r});var y=function(){return e.getDiff()},m=function(t,r){void 0===r&&(r=e.networkStatus||C.pT.loading);var u=t.result;!1===globalThis.__DEV__||f||(0,o.L)(u,{})||(0,E.y)(t.missing);var c=function(e){return h.c.of((0,n.Cl)({data:e,loading:(0,C.bi)(r),networkStatus:r},t.complete?null:{partial:!0}))};return u&&i.getDocumentInfo(a).hasForcedResolvers?i.localState.runResolvers({document:a,remoteResult:{data:u},context:d,variables:s,onlyRunForcedResolvers:!0}).then(function(e){return c(e.data||void 0)}):"none"===l&&r===C.pT.refetch&&Array.isArray(t.missing)?c(void 0):c(u)},b="no-cache"===u?0:r===C.pT.refetch&&"merge"!==c?1:2,g=function(){return i.getResultsFromLink(e,b,{query:a,variables:s,context:d,fetchPolicy:u,errorPolicy:l})},_=p&&"number"===typeof v&&v!==r&&(0,C.bi)(r);switch(u){default:case"cache-first":return(w=y()).complete?{fromLink:!1,sources:[m(w,e.markReady())]}:f||_?{fromLink:!0,sources:[m(w),g()]}:{fromLink:!0,sources:[g()]};case"cache-and-network":var w;return(w=y()).complete||f||_?{fromLink:!0,sources:[m(w),g()]}:{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":return _?{fromLink:!0,sources:[m(y()),g()]}:{fromLink:!0,sources:[g()]};case"no-cache":return _?{fromLink:!0,sources:[m(e.getDiff()),g()]}:{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new O.L(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}()},287279(e,t,r){r.d(t,{a:()=>c});var n=r(187150),i=r(286246),o=r(118343),a=r(34572),s=r(426949),u=r(253751);function c(e,t,r,o){var u=t.data,c=(0,n.Tt)(t,["data"]),f=r.data,h=(0,n.Tt)(r,["data"]);return(0,i.A)(c,h)&&l((0,s.Vn)(e).selectionSet,u,f,{fragmentMap:(0,a.JG)((0,s.zK)(e)),variables:o})}function l(e,t,r,n){if(t===r)return!0;var s=new Set;return e.selections.every(function(e){if(s.has(e))return!0;
1if(s.add(e),!(0,o.MS)(e,n.variables))return!0;if(f(e))return!0;if((0,u.dt)(e)){var c=(0,u.ue)(e),h=t&&t[c],d=r&&r[c],p=e.selectionSet;if(!p)return(0,i.A)(h,d);var v=Array.isArray(h),y=Array.isArray(d);if(v!==y)return!1;if(v&&y){var m=h.length;if(d.length!==m)return!1;for(var b=0;b<m;++b)if(!l(p,h[b],d[b],n))return!1;return!0}return l(p,h,d,n)}var g=(0,a.HQ)(e,n.fragmentMap);return g?!!f(g)||l(g.selectionSet,t,r,n):void 0})}function f(e){return!!e.directives&&e.directives.some(h)}function h(e){return"nonreactive"===e.name.value}},607658(e,t,r){var n;function i(e){return!!e&&e<7}r.d(t,{bi:()=>i,pT:()=>n}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},103014(e,t,r){r.d(t,{K$:()=>o,K4:()=>u,Mn:()=>s,uR:()=>a});var n=r(187150),i=(r(593904),r(640093)),o=Symbol();function a(e){return!!e.extensions&&Array.isArray(e.extensions[o])}function s(e){return e.hasOwnProperty("graphQLErrors")}var u=function(e){function t(r){var o,a,s=r.graphQLErrors,u=r.protocolErrors,c=r.clientErrors,l=r.networkError,f=r.errorMessage,h=r.extraInfo,d=e.call(this,f)||this;return d.name="ApolloError",d.graphQLErrors=s||[],d.protocolErrors=u||[],d.clientErrors=c||[],d.networkError=l||null,d.message=f||(o=d,a=(0,n.fX)((0,n.fX)((0,n.fX)([],o.graphQLErrors,!0),o.clientErrors,!0),o.protocolErrors,!0),o.networkError&&a.push(o.networkError),a.map(function(e){return(0,i.U)(e)&&e.message||"Error message not found."}).join("\n")),d.extraInfo=h,d.cause=(0,n.fX)((0,n.fX)((0,n.fX)([l],s||[],!0),u||[],!0),c||[],!0).find(function(e){return!!e})||null,d.__proto__=t.prototype,d}return(0,n.C6)(t,e),t}(Error)},871126(e,t,r){r.d(t,{C:()=>h});var n=r(593904),i=r(403410),o=r(311276),a=r(410138),s=r(347762),u=r(737878);function c(e,t){return t?t(e):i.c.of()}function l(e){return"function"===typeof e?new h(e):e}function f(e){return e.request.length<=1}var h=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(l).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var o,a=l(r),s=l(n||new e(c));return o=f(a)&&f(s)?new e(function(e){return t(e)?a.request(e)||i.c.of():s.request(e)||i.c.of()}):new e(function(e,r){return t(e)?a.request(e,r)||i.c.of():s.request(e,r)||i.c.of()}),Object.assign(o,{left:a,right:s})},e.execute=function(e,t){return e.request((0,a.k)(t.context,(0,s.A)((0,o.K)(t))))||i.c.of()},e.concat=function(t,r){var o=l(t);if(f(o))return!1!==globalThis.__DEV__&&n.V1.warn(47,o),o;var a,s=l(r);return a=f(s)?new e(function(e){return o.request(e,function(e){return s.request(e)||i.c.of()})||i.c.of()}):new e(function(e,t){return o.request(e,function(e){return s.request(e,t)||i.c.of()})||i.c.of()}),Object.assign(a,{left:o,right:s})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(c)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,n.vA)(48)},e.prototype.onError=function(e,t){if(!1!==globalThis.__DEV__&&(0,u.S2)("onError",function(){!1!==globalThis.__DEV__&&n.V1.warn(49)}),t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&n.V1.warn(50),this.onError=e,this},e}()},269466(e,t,r){r.d(t,{g:()=>n});var n=r(871126).C.execute},190740(e,t,r){r.d(t,{P:()=>a});var n=r(187150),i=r(871126),o=r(56908),a=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,(0,o.$)(t).request)||this;return r.options=t,r}return(0,n.C6)(t,e),t}(i.C)},653511(e,t,r){r.d(t,{S:()=>i});var n=r(593904),i=function(e){if(!e&&"undefined"===typeof fetch)throw(0,n.vA)(51)}},56908(e,t,r){r.d(t,{$:()=>g});var n=r(187150),i=r(593904),o=r(871126),a=r(403410),s=r(118343),u=r(974699),c=r(884416),l=r(57925),f=r(653511),h=r(561875),d=r(420995),p=r(300893),v=r(695635),y=r(426949),m=r(302737),b=(0,i.no)(function(){return fetch}),g=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,g=e.fetch,_=e.print,w=void 0===_?h.i1:_,S=e.includeExtensions,E=e.preserveHeaderCase,C=e.useGETForQueries,O=e.includeUnusedVariables,k=void 0!==O&&O,T=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,f.S)(g||b);var D={http:{includeExtensions:S,preserveHeaderCase:E},options:T.fetchOptions,credentials:T.credentials,headers:T.headers};return new o.C(function(e){var t=(0,c.z)(e,r),o=e.getContext(),f={};if(o.clientAwareness){var _=o.clientAwareness,S=_.name,E=_.version;S&&(f["apollographql-client-name"]=S),E&&(f["apollographql-client-version"]=E)}var O=(0,n.Cl)((0,n.Cl)({},f),o.headers),T={http:o.http,options:o.fetchOptions,credentials:o.credentials,headers:O};if((0,s.d8)(["client"],e.query)){!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.V1.warn(52);var V=(0,m.er)(e.query);if(!V)return(0,p.N)(new 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=V}var R,x=(0,h.HY)(e,w,h.R4,D,T),M=x.options,q=x.body;q.variables&&!k&&(q.variables=(0,v.X)(q.variables,e.query)),M.signal||"undefined"===typeof AbortController||(R=new AbortController,M.signal=R.signal);var I,P="OperationDefinition"===(I=(0,y.Vn)(e.query)).kind&&"subscription"===I.operation,F=(0,s.d8)(["defer"],e.query);if(C&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(M.method="GET"),F||P){M.headers=M.headers||{};var A="multipart/mixed;";P&&F&&!1!==globalThis.__DEV__&&i.V1.warn(53),P?A+="boundary=graphql;subscriptionSpec=1.0,application/json":F&&(A+="deferSpec=20220824,application/json"),M.headers.accept=A}if("GET"===M.method){var Q=(0,d.E)(t,q),j=Q.newURI,N=Q.parseError;if(N)return(0,p.N)(N);t=j}else try{M.body=(0,u.Y)(q,"Payload")}catch(N){return(0,p.N)(N)}return new a.c(function(r){var n=g||(0,i.no)(function(){return fetch})||b,o=r.next.bind(r);return n(t,M).then(function(t){var r;e.setContext({response:t});var n=null===(r=t.headers)||void 0===r?void 0:r.get("content-type");return null!==n&&/^multipart\/mixed/i.test(n)?(0,l.tD)(t,o):(0,l.OQ)(e)(t).then(o)}).then(function(){R=void 0,r.complete()}).catch(function(e){R=void 0,(0,l.H4)(e,r)}),function(){R&&R.abort()}})})}},690318(e,t,r){function n(e){var t,r=e[Symbol.asyncIterator]();return(t={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},t}r.d(t,{A:()=>n})},193632(e,t,r){r.d(t,{A:()=>i});var n=r(590244);function i(e){var t=null,r=null,i=!1,o=[],a=[];function s(e){if(!r){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}
1function u(e){r=e,a.slice().forEach(function(t){t[1](e)}),!t||t()}function c(){i=!0,a.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),!t||t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",u),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise(function(e,t){return r?t(r):o.length?e({value:o.shift(),done:!1}):i?e({value:void 0,done:!0}):void a.push([e,t])})}};return n.uJ&&(l[Symbol.asyncIterator]=function(){return this}),l}},302455(e,t,r){r.d(t,{A:()=>i});var n=r(590244);function i(e){var t=!1,r={next:function(){return t?Promise.resolve({value:void 0,done:!0}):(t=!0,new Promise(function(t,r){e.then(function(e){t({value:e,done:!1})}).catch(r)}))}};return n.uJ&&(r[Symbol.asyncIterator]=function(){return this}),r}},656099(e,t,r){r.d(t,{A:()=>i});var n=r(590244);function i(e){var t={next:function(){return e.read()}};return n.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}},57925(e,t,r){r.d(t,{H4:()=>h,OQ:()=>d,tD:()=>c});var n=r(187150),i=r(460717),o=r(979932),a=r(103014),s=r(652992),u=Object.prototype.hasOwnProperty;function c(e,t){return(0,n.sH)(this,void 0,void 0,function(){var r,o,u,c,h,d,p,v,y,m,b,g,_,w,S,E,C,O,k,T,D,V,R,x;return(0,n.YH)(this,function(M){switch(M.label){case 0:if(void 0===TextDecoder)throw new Error("TextDecoder must be defined in the environment: please import a polyfill.");r=new TextDecoder("utf-8"),o=null===(x=e.headers)||void 0===x?void 0:x.get("content-type"),u="boundary=",c=(null===o||void 0===o?void 0:o.includes(u))?null===o||void 0===o?void 0:o.substring((null===o||void 0===o?void 0:o.indexOf(u))+9).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",h="\r\n--".concat(c),d="",p=(0,i.C)(e),v=!0,M.label=1;case 1:return v?[4,p.next()]:[3,3];case 2:for(y=M.sent(),m=y.value,b=y.done,g="string"===typeof m?m:r.decode(m),_=d.length-h.length+1,v=!b,w=(d+=g).indexOf(h,_);w>-1;){if(S=void 0,V=[d.slice(0,w),d.slice(w+h.length)],d=V[1],E=(S=V[0]).indexOf("\r\n\r\n"),C=l(S.slice(0,E)),(O=C["content-type"])&&-1===O.toLowerCase().indexOf("application/json"))throw new Error("Unsupported patch content type: application/json is required.");if(k=S.slice(E))if(T=f(e,k),Object.keys(T).length>1||"data"in T||"incremental"in T||"errors"in T||"payload"in T)if((0,s.Nw)(T)){if(D={},"payload"in T){if(1===Object.keys(T).length&&null===T.payload)return[2];D=(0,n.Cl)({},T.payload)}"errors"in T&&(D=(0,n.Cl)((0,n.Cl)({},D),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in D?D.extensions:null),(R={},R[a.K$]=T.errors,R))})),t(D)}else t(T);else if(1===Object.keys(T).length&&"hasNext"in T&&!T.hasNext)return[2];w=d.indexOf(h)}return[3,1];case 3:return[2]}})})}function l(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}function f(e,t){if(e.status>=300){(0,o.A)(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(n){var r=n;throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function h(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function d(e){return function(t){return t.text().then(function(e){return f(t,e)}).then(function(r){return Array.isArray(r)||u.call(r,"data")||u.call(r,"errors")||(0,o.A)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})}}},460717(e,t,r){r.d(t,{C:()=>u});var n=r(590244),i=r(690318),o=r(193632),a=r(302455),s=r(656099);function u(e){var t=e;if(e.body&&(t=e.body),function(e){return!(!n.uJ||!e[Symbol.asyncIterator])}(t))return(0,i.A)(t);if(function(e){return!!e.getReader}(t))return(0,s.A)(t.getReader());if(function(e){return!!e.stream}(t))return(0,s.A)(t.stream().getReader());if(function(e){return!!e.arrayBuffer}(t))return(0,a.A)(t.arrayBuffer());if(function(e){return!!e.pipe}(t))return(0,o.A)(t);throw new Error("Unknown body type for responseIterator. Please pass a streamable response.")}},420995(e,t,r){r.d(t,{E:()=>i});var n=r(974699);function i(e,t){var r=[],i=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,n.Y)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,n.Y)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+r.join("&")+s}}},561875(e,t,r){r.d(t,{HY:()=>s,R4:()=>o,i1:()=>a});var n=r(187150),i=r(674250),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var r=[],o=2;o<arguments.length;o++)r[o-2]=arguments[o];var a={},s={};r.forEach(function(e){a=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},a),e.options),{headers:(0,n.Cl)((0,n.Cl)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),s=(0,n.Cl)((0,n.Cl)({},s),e.http)}),a.headers&&(a.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}(a.headers,s.preserveHeaderCase));var u=e.operationName,c=e.extensions,l=e.variables,f=e.query,h={operationName:u,variables:l};return s.includeExtensions&&(h.extensions=c),s.includeQuery&&(h.query=t(f,i.y)),{options:a,body:h}}},884416(e,t,r){r.d(t,{z:()=>n});var n=function(e,t){var r=e.getContext().uri;return r||("function"===typeof t?t(e):t||"/graphql")}},974699(e,t,r){r.d(t,{Y:()=>i});var n=r(593904),i=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var i=(0,n.vA)(54,t,e.message);throw i.parseError=e,i}return r}},991107(e,t,r){function n(e){var t=e||{},r=t.initial,n=void 0===r?300:r,i=t.jitter,o=void 0===i||i,a=t.max,s=void 0===a?1/0:a,u=o?n:n/2;return function(e){var t=Math.min(s,u*Math.pow(2,e));return o&&(t=Math.random()*t),t}}r.d(t,{W:()=>n})},345826(e,t,r){function n(e){var t=e||{},r=t.retryIf,n=t.max,i=void 0===n?5:n;return function(e,t,n){return!(e>=i)&&(r?r(n,t):!!n)}}r.d(t,{h:()=>n})},124594(e,t,r){r.d(t,{z:()=>l});var n=r(187150),i=r(871126),o=r(403410),a=r(991107),s=r(345826),u=r(103014),c=function(){function e(e,t,r,i,o){var a=this;this.observer=e,this.operation=t,this.forward=r,this.delayFor=i,this.retryIf=o,this.retryCount=0,this.currentSubscription=null,this.onError=function(e){return(0,n.sH)(a,void 0,void 0,function(){return(0,n.YH)(this,function(t){switch(t.label){case 0:return this.retryCount+=1,[4,this.retryIf(this.retryCount,this.operation,e)];case 1:return t.sent()?(this.scheduleRetry(this.delayFor(this.retryCount,this.operation,e)),[2]):(this.observer.error(e),[2])}})})},this.try()}return e.prototype.cancel=function(){this.currentSubscription&&this.currentSubscription.unsubscribe(),clearTimeout(this.timerId),this.timerId=void 0,this.currentSubscription=null},e.prototype.try=function(){var e=this;this.currentSubscription=this.forward(this.operation).subscribe({next:function(t){var r;if((0,u.uR)(t))return e.onError(new u.K4({protocolErrors:t.extensions[u.K$]})),void(null===(r=e.currentSubscription)||void 0===r||r.unsubscribe());e.observer.next(t)},error:this.onError,complete:this.observer.complete.bind(this.observer)})},e.prototype.scheduleRetry=function(e){var t=this;if(this.timerId)throw new Error("RetryLink BUG! Encountered overlapping retries");this.timerId=setTimeout(function(){t.timerId=void 0,t.try()},e)},e}(),l=function(e){function t(t){var r=e.call(this)||this,n=t||{},i=n.attempts,o=n.delay;return r.delayFor="function"===typeof o?o:(0,a.W)(o),r.retryIf="function"===typeof i?i:(0,s.h)(i),r}return(0,n.C6)(t,e),t.prototype.request=function(e,t){var r=this;return new o.c(function(n){var i=new c(n,e,t,r.delayFor,r.retryIf);return function(){i.cancel()}})},t}(i.C)},410138(e,t,r){r.d(t,{k:()=>i});var n=r(187150);function i(e,t){var r=(0,n.Cl)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){r="function"===typeof e?(0,n.Cl)((0,n.Cl)({},r),e(r)):(0,n.Cl)((0,n.Cl)({},r),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,n.Cl)({},r)}}),t}},695635(e,t,r){r.d(t,{X:()=>o});var n=r(187150),i=r(491069);function o(e,t){var r=(0,n.Cl)({},e),o=new Set(Object.keys(e));return(0,i.YR)(t,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&o.delete(e.name.value)}}),o.forEach(function(e){delete r[e]}),r}},300893(e,t,r){r.d(t,{N:()=>i});var n=r(403410);function i(e){return new n.c(function(t){t.error(e)})}},979932(e,t,r){r.d(t,{A:()=>n});var n=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}},347762(e,t,r){r.d(t,{A:()=>i});var n=r(426949);function i(e){var t={variables:e.variables||{},extensions:e.extensions||{},operationName:e.operationName,query:e.query};return t.operationName||(t.operationName="string"!==typeof t.query?(0,n.n4)(t.query)||void 0:""),t}},311276(e,t,r){r.d(t,{K:()=>i});var n=r(593904);function i(e){for(var t=["query","operationName","variables","extensions","context"],r=0,i=Object.keys(e);r<i.length;r++){var o=i[r];if(t.indexOf(o)<0)throw(0,n.vA)(58,o)}return e}},249190(e,t,r){r.d(t,{S:()=>c});var n=r(599526),i=r(118343),o=r(253751),a=r(203488),s=r(895458),u=r(593904);function c(e,t,r){return s.yV.withValue(!0,function(){var n=l(e,t,r,!1);return Object.isFrozen(e)&&(0,a.G)(n),n})}function l(e,t,r,a,s){var c,h=r.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}(e,r.mutableTargets);if(Array.isArray(e)){for(var p=0,v=Array.from(e.entries());p<v.length;p++){var y=v[p],m=y[0],b=y[1];if(null!==b){var g=l(b,t,r,a,!1!==globalThis.__DEV__?"".concat(s||"","[").concat(m,"]"):void 0);h.has(g)&&h.add(d),d[m]=g}else d[m]=null}return h.has(d)?d:e}for(var _=0,w=t.selections;_<w.length;_++){var S=w[_],E=void 0;if(a&&h.add(d),S.kind===n.b.FIELD){var C=(0,o.ue)(S),O=S.selectionSet;if(void 0===(E=d[C]||e[C]))continue;if(O&&null!==E){g=l(e[C],O,r,a,!1!==globalThis.__DEV__?"".concat(s||"",".").concat(C):void 0);h.has(g)&&(E=g)}!1===globalThis.__DEV__&&(d[C]=E),!1!==globalThis.__DEV__&&(a&&"__typename"!==C&&!(null===(c=Object.getOwnPropertyDescriptor(d,C))||void 0===c?void 0:c.value)?Object.defineProperty(d,C,f(C,E,s||"",r.operationName,r.operationType)):(delete d[C],d[C]=E))}if(S.kind!==n.b.INLINE_FRAGMENT||S.typeCondition&&!r.cache.fragmentMatches(S,e.__typename)||(E=l(e,S.selectionSet,r,a,s)),S.kind===n.b.FRAGMENT_SPREAD){var k=S.name.value,T=r.fragmentMap[k]||(r.fragmentMap[k]=r.cache.lookupFragment(k));(0,u.V1)(T,59,k);var D=(0,i.s7)(S);"mask"!==D&&(E=l(e,T.selectionSet,r,"migrate"===D,s))}h.has(E)&&h.add(d)}return"__typename"in e&&!("__typename"in d)&&(d.__typename=e.__typename),Object.keys(d).length!==Object.keys(e).length&&h.add(d),h.has(d)?d:e}function f(e,t,r,n,i){var o=function(){return s.yV.getValue()||(!1!==globalThis.__DEV__&&u.V1.warn(60,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}}},983419(e,t,r){r.d(t,{z:()=>l});var n=r(599526),i=r(895458),o=r(593904),a=r(286246),s=r(249190),u=r(34572),c=r(426949);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});"undefined"===typeof l&&((0,o.V1)(1===f.length,61,f.length),l=f[0].name.value);var h=f.find(function(e){return e.name.value===l});return(0,o.V1)(!!h,62,l),null==e||(0,a.A)(e,{})?e:(0,s.S)(e,h.selectionSet,{operationType:"fragment",operationName:h.name.value,fragmentMap:(0,u.JG)((0,c.zK)(t)),c
1ache:r,mutableTargets:new i.jq,knownChanged:new i.xm})}},354718(e,t,r){r.d(t,{m:()=>u});var n=r(593904),i=r(34572),o=r(426949),a=r(249190),s=r(895458);function u(e,t,r){var u;if(!r.fragmentMatches)return!1!==globalThis.__DEV__&&(0,s.Ki)(),e;var c=(0,o.Vu)(t);return(0,n.V1)(c,63),null==e?e:(0,a.S)(e,c.selectionSet,{operationType:c.operation,operationName:null===(u=c.name)||void 0===u?void 0:u.value,fragmentMap:(0,i.JG)((0,o.zK)(t)),cache:r,mutableTargets:new s.jq,knownChanged:new s.xm})}},895458(e,t,r){r.d(t,{Ki:()=>l,jq:()=>a,xm:()=>s,yV:()=>u});var n=r(250052),i=r(593904),o=r(590244),a=o.et?WeakMap:Map,s=o.En?WeakSet:Set,u=new n.DX,c=!1;function l(){c||(c=!0,!1!==globalThis.__DEV__&&i.V1.warn(64))}},749994(e,t,r){let n;r.d(t,{l:()=>u});var i=r(554714),o=r(590244),a=r(593904),s=o.ol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";function u(){(0,a.V1)("createContext"in(n||(n=r.t(i,2))),69);var e=i.createContext[s];return e||(Object.defineProperty(i.createContext,s,{value:e=i.createContext({}),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}},390616(e,t,r){r.d(t,{X:()=>s});var n=r(187150),i=r(593904),o=r(554714),a=r(749994),s=function(e){var t=e.client,r=e.children,s=(0,a.l)(),u=o.useContext(s),c=o.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},u),{client:t||u.client})},[u,t]);return(0,i.V1)(c.client,71),o.createElement(s.Provider,{value:c},r)}},949052(e,t,r){r.d(t,{E:()=>i});var n=r(554714),i=r(590244).Sw?n.useLayoutEffect:n.useEffect},223321(e,t,r){r.d(t,{h:()=>o});var n=r(554714),i=r(737878);function o(e,t,r,o){void 0===o&&(o="Please remove this option.");var a=n.useRef(!1);!1!==globalThis.__DEV__&&t in e&&!a.current&&((0,i.cc)(e,t,r,o),a.current=!0)}},540278(e,t,r){r.d(t,{Y:()=>i});var n=Symbol.for("apollo.hook.wrappers");function i(e,t,r){var i=r.queryManager,o=i&&i[n],a=o&&o[e];return a?a(t):t}},664184(e,t,r){r.d(t,{m:()=>a});var n=r(593904),i=r(554714),o=r(749994);function a(e){var t=i.useContext((0,o.l)()),r=e||t.client;return(0,n.V1)(!!r,78),r}},960643(e,t,r){r.d(t,{n:()=>h});var n=r(187150),i=r(554714),o=r(774111),a=r(286246),s=r(443318),u=r(103014),c=r(664184),l=r(949052),f=r(223321);function h(e,t){!1!==globalThis.__DEV__&&(0,f.h)(t||{},"ignoreResults","useMutation","If you don't want to synchronize component state with the mutation, please use the `useApolloClient` hook to get the client instance and call `client.mutate` directly.");var r=(0,c.m)(null===t||void 0===t?void 0:t.client);(0,s.D$)(e,s.KG.Mutation);var h=i.useState({called:!1,loading:!1,client:r}),d=h[0],p=h[1],v=i.useRef({result:d,mutationId:0,isMounted:!0,client:r,mutation:e,options:t});(0,l.E)(function(){Object.assign(v.current,{client:r,options:t,mutation:e})});var y=i.useCallback(function(e){void 0===e&&(e={});var t=v.current,r=t.options,i=t.mutation,s=(0,n.Cl)((0,n.Cl)({},r),{mutation:i}),c=e.client||v.current.client;v.current.result.loading||s.ignoreResults||!v.current.isMounted||p(v.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:c});var l=++v.current.mutationId,f=(0,o.l)(s,e);return c.mutate(f).then(function(t){var r,n,i=t.data,o=t.errors,s=o&&o.length>0?new u.K4({graphQLErrors:o}):void 0,h=e.onError||(null===(r=v.current.options)||void 0===r?void 0:r.onError);if(s&&h&&h(s,f),l===v.current.mutationId&&!f.ignoreResults){var d={called:!0,loading:!1,data:i,error:s,client:c};v.current.isMounted&&!(0,a.L)(v.current.result,d)&&p(v.current.result=d)}var y=e.onCompleted||(null===(n=v.current.options)||void 0===n?void 0:n.onCompleted);return s||null===y||void 0===y||y(t.data,f),t},function(t){var r;if(l===v.current.mutationId&&v.current.isMounted){var n={loading:!1,error:t,data:void 0,called:!0,client:c};(0,a.L)(v.current.result,n)||p(v.current.result=n)}var i=e.onError||(null===(r=v.current.options)||void 0===r?void 0:r.onError);if(i)return i(t,f),{data:void 0,errors:t};throw t})},[]),m=i.useCallback(function(){if(v.current.isMounted){var e={called:!1,loading:!1,client:v.current.client};Object.assign(v.current,{mutationId:0,result:e}),p(e)}},[]);return i.useEffect(function(){var e=v.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[y,(0,n.Cl)({reset:m},d)]}},440046(e,t,r){r.d(t,{IT:()=>C});
1var n=r(187150),i=r(593904),o=r(554714),a=r(782983),s=r(286246),u=r(774111),c=r(749994),l=r(103014),f=r(506297),h=r(607658),d=r(443318),p=r(664184),v=r(203488),y=r(744627),m=r(970456),b=r(223321),g=r(540278),_=r(737878),w=Object.prototype.hasOwnProperty;function S(){}var E=Symbol();function C(e,t){return void 0===t&&(t=Object.create(null)),(0,g.Y)("useQuery",O,(0,p.m)(t&&t.client))(e,t)}function O(e,t){!1!==globalThis.__DEV__&&((0,b.h)(t,"canonizeResults","useQuery"),(0,b.h)(t,"partialRefetch","useQuery"),(0,b.h)(t,"defaultOptions","useQuery","Pass the options directly to the hook instead."),(0,b.h)(t,"onCompleted","useQuery","If your `onCompleted` callback sets local state, switch to use derived state using `data` returned from the hook instead. Use `useEffect` to perform side-effects as a result of updates to `data`."),(0,b.h)(t,"onError","useQuery","If your `onError` callback sets local state, switch to use derived state using `data`, `error` or `errors` returned from the hook instead. Use `useEffect` if you need to perform side-effects as a result of updates to `data`, `error` or `errors`."));var r=function(e,t){var r=(0,p.m)(t.client),u=o.useContext((0,c.l)()).renderPromises,l=!!u,v=r.disableNetworkFetches,y=!1!==t.ssr&&!t.skip,m=t.partialRefetch,b=function(e,t,r,i){void 0===r&&(r={});var o=r.skip,a=(r.ssr,r.onCompleted,r.onError,r.defaultOptions),s=(0,n.Tt)(r,["skip","ssr","onCompleted","onError","defaultOptions"]);return function(r){var n=Object.assign(s,{query:t});return!i||"network-only"!==n.fetchPolicy&&"cache-and-network"!==n.fetchPolicy||(n.fetchPolicy="cache-first"),n.variables||(n.variables={}),o?(n.initialFetchPolicy=n.initialFetchPolicy||n.fetchPolicy||V(a,e.defaultOptions),n.fetchPolicy="standby"):n.fetchPolicy||(n.fetchPolicy=(null===r||void 0===r?void 0:r.options.initialFetchPolicy)||V(a,e.defaultOptions)),n}}(r,e,t,l),g=function(e,t,r,i,a){function s(n){var o;return(0,d.D$)(t,d.KG.Query),{client:e,query:t,observable:i&&i.getSSRObservable(a())||f.
1U.inactiveOnCreation.withValue(!i,function(){return(0,_.lz)(["canonizeResults","partialRefetch"],function(){return e.watchQuery(k(void 0,e,r,a()))})}),resultData:{previousData:null===(o=null===n||void 0===n?void 0:n.resultData.current)||void 0===o?void 0:o.data}}}var u=o.useState(s),c=u[0],l=u[1];function h(e){var t,r;Object.assign(c.observable,((t={})[E]=e,t));var i=c.resultData;l((0,n.Cl)((0,n.Cl)({},c),{query:e.query,resultData:Object.assign(i,{previousData:(null===(r=i.current)||void 0===r?void 0:r.data)||i.previousData,current:void 0})}))}if(e!==c.client||t!==c.query){var p=s(c);return l(p),[p,h]}return[c,h]}(r,e,t,u,b),C=g[0],O=C.observable,q=C.resultData,I=g[1],P=b(O);!function(e,t,r,n,i){var o;t[E]&&!(0,s.L)(t[E],i)&&(t.reobserve(k(t,r,n,i)),e.previousData=(null===(o=e.current)||void 0===o?void 0:o.data)||e.previousData,e.current=void 0);t[E]=i}(q,O,r,t,P);var F=o.useMemo(function(){return function(e){return{refetch:e.refetch.bind(e),reobserve:function(){for(var t=[],r=0;r<arguments.length;r++)t[r]=arguments[r];return!1!==globalThis.__DEV__&&!1!==globalThis.__DEV__&&i.V1.warn(83),e.reobserve.apply(e,t)},fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}}(O)},[O]);!function(e,t,r){t&&r&&(t.registerSSRObservable(e),e.getCurrentResult().loading&&t.addObservableQueryPromise(e))}(O,u,y);var A=function(e,t,r,n,i,u,c,l,f){var d=o.useRef(f);o.useEffect(function(){d.current=f});var p=!l&&!u||!1!==n.ssr||n.skip?n.skip||"standby"===i.fetchPolicy?M:void 0:x,v=e.previousData,y=o.useMemo(function(){return p&&R(p,v,t,r)},[r,t,p,v]);return(0,a.r)(o.useCallback(function(n){if(l)return function(){};var i=function(){var i=e.current,o=t.getCurrentResult();i&&i.loading===o.loading&&i.networkStatus===o.networkStatus&&(0,s.L)(i.data,o.data)||T(o,e,t,r,c,n,d.current)},o=function(u){if(a.current.unsubscribe(),a.current=t.resubscribeAfterError(i,o),!w.call(u,"graphQLErrors"))throw u;var l=e.current;(!l||l&&l.loading||!(0,s.L)(u,l.error))&&T({data:l&&l.data,error:u,loading:!1,networkStatus:h.pT.error},e,t,r,c,n,d.current)},a={current:t.subscribe(i,o)};return function(){setTimeout(function(){return a.current.unsubscribe()})}},[u,l,t,e,c,r]),function(){return y||D(e,t,d.current,c,r)},function(){return y||D(e,t,d.current,c,r)})}(q,O,r,t,P,v,m,l,{onCompleted:t.onCompleted||S,onError:t.onError||S});return{result:A,obsQueryFields:F,observable:O,resultData:q,client:r,onQueryExecuted:I}}(e,t),u=r.result,l=r.obsQueryFields;return o.useMemo(function(){return(0,n.Cl)((0,n.Cl)({},u),l)},[u,l])}function k(e,t,r,n){var i=[],o=t.defaultOptions.watchQuery;return o&&i.push(o),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,m.o)(e&&e.options,n)),i.reduce(u.l)}function T(e,t,r,o,a,s,u){var c=t.current;c&&c.data&&(t.previousData=c.data),!e.error&&(0,y.E)(e.errors)&&(e.error=new l.K4({graphQLErrors:e.errors})),t.current=R(function(e,t,r){if(e.partial&&r&&!e.loading&&(!e.data||0===Object.keys(e.data).length)&&"cache-only"!==t.options.fetchPolicy)return t.refetch(),(0,n.Cl)((0,n.Cl)({},e),{loading:!0,networkStatus:h.pT.refetch});return e}(e,r,a),t.previousData,r,o),s(),function(e,t,r){if(!e.loading){var n=function(e){return(0,y.E)(e.errors)?new l.K4({graphQLErrors:e.errors}):e.error}(e);Promise.resolve().then(function(){n?r.onError(n):e.data&&t!==e.networkStatus&&e.networkStatus===h.pT.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&i.V1.warn(e)})}}(e,null===c||void 0===c?void 0:c.networkStatus,u)}function D(e,t,r,n,i){return e.current||T(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function V(e,t){var r;return(null===e||void 0===e?void 0:e.fetchPolicy)||(null===(r=null===t||void 0===t?void 0:t.watchQuery)||void 0===r?void 0:r.fetchPolicy)||"cache-first"}function R(e,t,r,i){var o=e.data,a=(e.partial,(0,n.Tt)(e,["data","partial"]));return(0,n.Cl)((0,n.Cl)({data:o},a),{client:i,observable:r,variables:r.variables,called:e!==x&&e!==M,previousData:t})}var x=(0,v.G)({loading:!0,data:void 0,error:void 0,networkStatus:h.pT.loading}),M=(0,v.G)({loading:!1,data:void 0,error:void 0,networkStatus:h.pT.ready})},782983(e,t,r){let n;r.d(t,{r:()=>u});
1var i=r(593904),o=r(554714),a=r(590244),s=!1,u=(n||(n=r.t(o,2))).useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||s||n===t()||(s=!0,!1!==globalThis.__DEV__&&i.V1.error(91));var u=o.useState({inst:{value:n,getSnapshot:t}}),l=u[0].inst,f=u[1];return a.JR?o.useLayoutEffect(function(){Object.assign(l,{value:n,getSnapshot:t}),c(l)&&f({inst:l})},[e,n,t]):Object.assign(l,{value:n,getSnapshot:t}),o.useEffect(function(){return c(l)&&f({inst:l}),e(function(){c(l)&&f({inst:l})})},[e]),n};function c(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}},443318(e,t,r){r.d(t,{D$:()=>h,KG:()=>n});var n,i,o=r(593904),a=r(96234),s=r(590167),u=r(323774),c=r(737878);function l(e){var t;switch(e){case n.Query:t="Query";break;case n.Mutation:t="Mutation";break;case n.Subscription:t="Subscription"}return t}function f(e){(0,c.S2)("parser",function(){!1!==globalThis.__DEV__&&o.V1.warn(93)}),i||(i=new a.A(s.v.parser||1e3));var t,r,u=i.get(e);if(u)return u;(0,o.V1)(!!e&&!!e.kind,94,e);for(var l=[],f=[],h=[],d=[],p=0,v=e.definitions;p<v.length;p++){var y=v[p];if("FragmentDefinition"!==y.kind){if("OperationDefinition"===y.kind)switch(y.operation){case"query":f.push(y);break;case"mutation":h.push(y);break;case"subscription":d.push(y)}}else l.push(y)}(0,o.V1)(!l.length||f.length||h.length||d.length,95),(0,o.V1)(f.length+h.length+d.length<=1,96,e,f.length,d.length,h.length),r=f.length?n.Query:n.Mutation,f.length||h.length||(r=n.Subscription);var m=f.length?f:h.length?h:d;(0,o.V1)(1===m.length,97,e,m.length);var b=m[0];t=b.variableDefinitions||[];var g={name:b.name&&"Name"===b.name.kind?b.name.value:"data",type:r,variables:t};return i.set(e,g),g}function h(e,t){var r=(0,c.lz)("parser",f,[e]),n=l(t),i=l(r.type);(0,o.V1)(r.type===t,98,n,n,i)}!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(n||(n={})),f.resetCache=function(){i=void 0},!1!==globalThis.__DEV__&&(0,u.D_)("parser",function(){return i?i.size:0})},96234(e,t,r){r.d(t,{A:()=>s,V:()=>u});var n=r(500694),i=r(655861),o=new WeakSet;function a(e){e.size<=(e.max||-1)||o.has(e)||(o.add(e),setTimeout(function(){e.clean(),o.delete(e)},100))}var s=function(e,t){var r=new i.l(e,t);return r.set=function(e,t){var r=i.l.prototype.set.call(this,e,t);return a(this),r},r},u=function(e,t){var r=new n.C(e,t);return r.set=function(e,t){var r=n.C.prototype.set.call(this,e,t);return a(this),r},r}},323774(e,t,r){r.d(t,{D_:()=>a,cM:()=>u,ep:()=>s,tQ:()=>c});var n=r(187150),i=r(590167),o={};function a(e,t){o[e]=t}var s=!1!==globalThis.__DEV__?function(){var e,t,r,a,s;if(!1===globalThis.__DEV__)throw new Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,i.v[t]||r]})),sizes:(0,n.Cl)({print:null===(e=o.print)||void 0===e?void 0:e.call(o),parser:null===(t=o.parser)||void 0===t?void 0:t.call(o),canonicalStringify:null===(r=o.canonicalStringify)||void 0===r?void 0:r.call(o),links:v(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:d(this.queryManager.documentTransform)}},null===(s=(a=this.cache).getMemoryInternals)||void 0===s?void 0:s.call(a))}}:void 0,u=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,n.Cl)((0,n.Cl)({},l.apply(this)),{addTypenameDocumentTransform:d(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:f(this.storeReader.executeSelectionSet),executeSubSelectedArray:f(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:f(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:f(null===e||void 0===e?void 0:e.findFragmentSpreads),lookup:f(null===e||void 0===e?void 0:e.lookup),transform:f(null===e||void 0===e?void 0:e.transform)}})}:void 0,c=!1!==globalThis.__DEV__?l:void 0;function l(){return{cache:{fragmentQueryDocuments:f(this.getFragmentDoc)}}}function f(e){return function(e){return!!e&&"dirtyKey"in e}(e)?e.size:void 0}function h(e){return null!=e}function d(e){return p(e).map(function(e){return{cache:e}})}function p(e){return e?(0,n.fX)((0,n.fX)([f(null===e||void 0===e?void 0:e.performWork)],p(null===e||void 0===e?void 0:e.left),
1!0),p(null===e||void 0===e?void 0:e.right),!0).filter(h):[]}function v(e){var t;return e?(0,n.fX)((0,n.fX)([null===(t=null===e||void 0===e?void 0:e.getMemoryInternals)||void 0===t?void 0:t.call(e)],v(null===e||void 0===e?void 0:e.left),!0),v(null===e||void 0===e?void 0:e.right),!0).filter(h):[]}},590167(e,t,r){r.d(t,{v:()=>a});var n=r(187150),i=r(593904),o=Symbol.for("apollo.cacheSize"),a=(0,n.Cl)({},i.Sf[o])},744627(e,t,r){r.d(t,{E:()=>i,c:()=>n});var n=Array.isArray;function i(e){return Array.isArray(e)&&e.length>0}},590244(e,t,r){r.d(t,{En:()=>a,JR:()=>f,Sw:()=>c,et:()=>o,ol:()=>s,uJ:()=>u});var n=r(593904),i="ReactNative"==(0,n.no)(function(){return navigator.product}),o="function"===typeof WeakMap&&!(i&&!r.g.HermesInternal),a="function"===typeof WeakSet,s="function"===typeof Symbol&&"function"===typeof Symbol.for,u=s&&Symbol.asyncIterator,c="function"===typeof(0,n.no)(function(){return window.document.createElement}),l=(0,n.no)(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,f=(c||i)&&!l},159218(e,t,r){r.d(t,{M:()=>u});var n=r(96234),i=r(590167),o=r(323774);function a(e){return a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a(e)}var s,u=Object.assign(function(e){return JSON.stringify(e,c)},{reset:function(){s=new n.V(i.v.canonicalStringify||1e3)}});function c(e,t){if(t&&"object"===a(t)){var r=Object.getPrototypeOf(t);if(r===Object.prototype||null===r){var n=Object.keys(t);if(n.every(l))return t;var i=JSON.stringify(n),o=s.get(i);if(!o){n.sort();var u=JSON.stringify(n);o=s.get(u)||n,s.set(i,o),s.set(u,o)}var c=Object.create(r);return o.forEach(function(e){c[e]=t[e]}),c}}return t}function l(e,t,r){return 0===t||r[t-1]<=e}!1!==globalThis.__DEV__&&(0,o.D_)("canonicalStringify",function(){return s.size}),u.reset()},747430(e,t,r){r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return o(e)}function o(e,t){switch(n.call(e)){case"[object Array]":if((t=t||new Map).has(e))return t.get(e);var r=e.slice(0);return t.set(e,r),r.forEach(function(e,n){r[n]=o(e,t)}),r;case"[object Object]":if((t=t||new Map).has(e))return t.get(e);var i=Object.create(Object.getPrototypeOf(e));return t.set(e,i),Object.keys(e).forEach(function(r){i[r]=o(e[r],t)}),i;default:return e}}},970456(e,t,r){function n(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}r.d(t,{o:()=>n})},432802(e,t,r){r.d(t,{M:()=>a,t:()=>o});var n=r(744627),i=r(652992);function o(e){var t=a(e);return(0,n.E)(t)}function a(e){var t=(0,n.E)(e.errors)?e.errors.slice(0):[];return(0,i.ST)(e)&&(0,n.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}},652992(e,t,r){r.d(t,{Nw:()=>u,ST:()=>a,YX:()=>s,bd:()=>c});var n=r(640093),i=r(744627),o=r(1979);function a(e){return"incremental"in e}function s(e){return a(e)||function(e){return"hasNext"in e&&"data"in e}(e)}function u(e){return(0,n.U)(e)&&"payload"in e}function c(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}},273593(e,t,r){r.d(t,{v:()=>i});var n=new Map;function i(e){var t=n.get(e)||1;return n.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}},203488(e,t,r){r.d(t,{G:()=>o});var n=r(640093);function i(e){var t=new Set([e]);return t.forEach(function(e){(0,n.U)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(r){(0,n.U)(e[r])&&t.add(e[r])})}),e}function o(e){return!1!==globalThis.__DEV__&&i(e),e}},1979(e,t,r){r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>c});var n=r(187150),i=r(640093),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 c,i=1;i<r;++i)t=n.merge(t,e[i]);return t}
1var u=function(e,t,r){return this.merge(e[r],t[r])},c=function(){function e(e){void 0===e&&(e=u),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 u=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));u!==s&&((e=r.shallowCopyForMerge(e))[i]=u)}}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}()},774111(e,t,r){r.d(t,{l:()=>o});var n=r(187150),i=r(970456);function o(e,t){return(0,i.o)(e,t,t.variables&&{variables:(0,i.o)((0,n.Cl)((0,n.Cl)({},e&&e.variables),t.variables))})}},640093(e,t,r){function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e){return null!==e&&"object"===n(e)}r.d(t,{U:()=>i})},842775(e,t,r){r.d(t,{p:()=>i});var n=r(273593);function i(e,t){void 0===t&&(t=0);var r=(0,n.v)("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}},737878(e,t,r){r.d(t,{S2:()=>d,cc:()=>h,lz:()=>f});var n,i=r(187150),o=r(250052),a=r(593904),s=Symbol.for("apollo.deprecations"),u=Symbol.for("apollo.deprecations.slot"),c=a.Sf,l=null!==(n=c[u])&&void 0!==n?n:c[u]=new o.DX;function f(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return l.withValue.apply(l,(0,i.fX)([Array.isArray(e)?e:[e]],t,!1))}function h(e,t,r,n){void 0===n&&(n="Please remove this option."),d(t,function(){t in e&&!1!==globalThis.__DEV__&&a.V1.warn(103,r,t,n)})}function d(e,t){(function(e){return c[s]||(l.getValue()||[]).includes(e)})(e)||t()}},355977(e,t,r){var n=r(5064);const i=(0,n.n)(function(){return globalThis})||(0,n.n)(function(){return window})||(0,n.n)(function(){return self})||(0,n.n)(function(){return r.g})||(0,n.n)(function(){return n.n.constructor("return this")()});r.d(t,["A",0,i])},593904(e,t,r){r.d(t,{Sf:()=>o.A,V1:()=>n.V1,no:()=>i.n,vA:()=>n.vA});var n=r(342084),i=r(5064),o=r(355977);globalThis.__DEV__},342084(e,t,r){r.d(t,{V1:()=>u,vA:()=>c});var n=r(816732),i=r(562400),o=r(355977),a=r(842775);function s(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"===typeof t){var i=t;(t=h(i))||(t=d(i,r),r=[])}e.apply(void 0,[t].concat(r))}}var u=Object.assign(function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];e||(0,n.V1)(e,h(t,r)||d(t,r))},{debug:s(n.V1.debug),log:s(n.V1.log),warn:s(n.V1.warn),error:s(n.V1.error)});function c(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new n.zU(h(e,t)||d(e,t))}var l=Symbol.for("ApolloErrorMessageHandler_"+i.r);function f(e){if("string"==typeof e)return e;try{return(0,a.p)(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function h(e,t){if(void 0===t&&(t=[]),e)return o.A[l]&&o.A[l](e,t.map(f))}function d(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:i.r,message:e,args:t.map(f)})))}},5064(e,t,r){function n(e){try{return e()}catch(e){}}r.d(t,{n:()=>n})},370862(e,t,r){r.d(t,{c:()=>f});var n=r(877545),i=r(590244),o=r(426949),a=r(593904),s=r(655861),u=r(250052),c=r(590167);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,u.LV)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var n=t.getCacheKey(e);if(n)return(0,a.V1)(Array.isArray(n),104),r.lookupArray(n)},max:c.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}()},118343(e,t,r){r.d(t,{MS:()=>a,d8:()=>s,f2:()=>u,s7:()=>c});var n=r(593904),i=r(599526),o=r(491069);function a(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach(function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments,i=e.name.value;(0,n.V1)(r&&1===r.length,106,i);var o=r[0];(0,n.V1)(o.name&&"if"===o.name.value,107,i);var a=o.value;(0,n.V1)(a&&("Variable"===a.kind||"BooleanValue"===a.kind),108,i),t.push({directive:e,ifArgument:o})}});return t}(r).every(function(e){var r=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,n.V1)(void 0!==o,105,r.name.value)):o=i.value.value,"skip"===r.name.value?!o:o})}function s(e,t,r){var n=new Set(e),i=n.size;return(0,o.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return o.sP}}),r?!n.size:n.size<i}function u(e){return e&&s(["client","export"],e,!0)}function c(e){var t,r,o=null===(t=e.directives)||void 0===t?void 0:t.find(function(e){return"unmask"===e.name.value});if(!o)return"mask";var a=null===(r=o.arguments)||void 0===r?void 0:r.find(function(e){return"mode"===e.name.value});return!1!==globalThis.__DEV__&&a&&(a.value.kind===i.b.VARIABLE?!1!==globalThis.__DEV__&&n.V1.warn(109):a.value.kind!==i.b.STRING?!1!==globalThis.__DEV__&&n.V1.warn(110):"migrate"!==a.value.value&&!1!==globalThis.__DEV__&&n.V1.warn(111,a.value.value)),a&&"value"in a.value&&"migrate"===a.value.value?"migrate":"unmask"}},34572(e,t,r){r.d(t,{HQ:()=>u,JG:()=>s,ct:()=>a,s6:()=>c});
1var n=r(187150),i=r(593904),o=r(491069);function a(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i.vA)(112,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),"undefined"===typeof r&&((0,i.V1)(1===o.length,113,o.length),r=o[0].name.value),(0,n.Cl)((0,n.Cl)({},e),{definitions:(0,n.fX)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions,!0)})}function s(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function u(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=e.name.value;if("function"===typeof t)return t(r);var n=t&&t[r];return(0,i.V1)(n,114,r),n||null;default:return null}}function c(e){var t=!0;return(0,o.YR)(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return o.sP}}),t}},426949(e,t,r){r.d(t,{AT:()=>c,E4:()=>l,Vn:()=>f,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>h,zK:()=>u});var n=r(593904),i=r(253751);function o(e){(0,n.V1)(e&&"Document"===e.kind,115);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,n.vA)(116,e.kind);return e});return(0,n.V1)(t.length<=1,117,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=a(e);return(0,n.V1)(t&&"query"===t.operation,118),t}function l(e){(0,n.V1)("Document"===e.kind,119),(0,n.V1)(e.definitions.length<=1,120);var t=e.definitions[0];return(0,n.V1)("FragmentDefinition"===t.kind,121),t}function f(e){var t;o(e);for(var r=0,i=e.definitions;r<i.length;r++){var a=i[r];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,n.vA)(122)}function h(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&(0,i.J)(t,e.variable.name,e.defaultValue)}),t}},674250(e,t,r){r.d(t,{y:()=>u});var n,i=r(416019),o=r(96234),a=r(590167),s=r(323774),u=Object.assign(function(e){var t=n.get(e);return t||(t=(0,i.y)(e),n.set(e,t)),t},{reset:function(){n=new o.A(a.v.print||2e3)}});u.reset(),!1!==globalThis.__DEV__&&(0,s.D_)("print",function(){return n?n.size:0})},253751(e,t,r){r.d(t,{A_:()=>c,D$:()=>b,Ii:()=>h,J:()=>f,Kc:()=>l,MB:()=>y,WU:()=>u,dt:()=>g,kd:()=>_,o5:()=>v,ue:()=>m});var n=r(593904),i=r(640093),o=r(34572),a=r(159218);function s(e){return s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s(e)}function u(e){return{__ref:String(e)}}function c(e){return Boolean(e&&"object"===s(e)&&"string"===typeof e.__ref)}function l(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function f(e,t,r,i){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map(function(e){return f(o,e.name,e.value,i)}),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(i||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map(function(e){var r={};return f(r,t,e,i),r[t.value]});else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw(0,n.vA)(123,t.value,r.kind);e[t.value]=null}}function h(e,t){var r=null;e.directives&&(r={}
1,e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return f(r[e.name.value],i,o,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return f(n,r,i,t)})),v(e.name.value,n,r)}var d=["connection","include","skip","client","rest","export","nonreactive"],p=a.M,v=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(p(i),")")}return r.connection.key}var o=e;if(t){var a=p(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===d.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@".concat(e,"(").concat(p(r[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=p;return p=e,t}});function y(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){var n=e.name,i=e.value;return f(r,n,i,t)}),r}return null}function m(e){return e.alias?e.alias.value:e.name.value}function b(e,t,r){for(var n,i=0,a=t.selections;i<a.length;i++){if(g(c=a[i])){if("__typename"===c.name.value)return e[m(c)]}else n?n.push(c):n=[c]}if("string"===typeof e.__typename)return e.__typename;if(n)for(var s=0,u=n;s<u.length;s++){var c=u[s],l=b(e,(0,o.HQ)(c,r).selectionSet,r);if("string"===typeof l)return l}}function g(e){return"Field"===e.kind}function _(e){return"InlineFragment"===e.kind}},302737(e,t,r){r.d(t,{XY:()=>m,er:()=>g,iz:()=>y,x3:()=>_,zc:()=>b});var n=r(187150),i=r(593904),o=r(599526),a=r(491069),s=r(426949),u=r(253751),c=r(34572),l=r(744627),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function h(e,t){return!e||e.selectionSet.selections.every(function(e){return e.kind===o.b.FRAGMENT_SPREAD&&h(t[e.name.value],t)})}function d(e){return h((0,s.Vu)(e)||(0,s.E4)(e),(0,c.JG)((0,s.zK)(e)))?null:e}function p(e){var t=new Map,r=new Map;return e.forEach(function(e){e&&(e.name?t.set(e.name,e):e.test&&r.set(e.test,e))}),function(e){var n=t.get(e.name.value);return!n&&r.size&&r.forEach(function(t,r){r(e)&&(n=t)}),n}}function v(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 y(e,t){(0,s.sw)(t);for(var r=v(""),u=v(""),c=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,l.c)(n)){if(n.kind===o.b.OPERATION_DEFINITION)return r(n.name&&n.name.value);if(n.kind===o.b.FRAGMENT_DEFINITION)return u(n.name.value)}return!1!==globalThis.__DEV__&&i.V1.error(124),null},f=0,h=t.definitions.length-1;h>=0;--h)t.definitions[h].kind===o.b.OPERATION_DEFINITION&&++f;var y=p(e),m=function(e){return(0,l.E)(e)&&e.map(y).some(function(e){return e&&e.remove})},b=new Map,g=!1,_={enter:function(e){if(m(e.directives))return g=!0,null}},w=(0,a.YR)(t,{Field:_,InlineFragment:_,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=c(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(m(e.directives))return g=!0,null;var o=c(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){b.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===b.get(JSON.stringify(n))?e:f>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(u(e.name.value).removed=!0,g=!0,null):void 0}},Directive:{leave:function(e){if(y(e))return g=!0,null}}});if(!g)return t;var S=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){S(u(t)).transitiveVars.forEach(function(t){e.transitiveVars.add(t)})})),e},E=new Set;w.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?S(r(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){E.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==f||u(e.name.value).removed||E.add(e.name.value)}
1),E.forEach(function(e){S(u(e)).fragmentSpreads.forEach(function(e){E.add(e)})});var C={enter:function(e){if(t=e.name.value,!E.has(t)||u(t).removed)return null;var t}};return d((0,a.YR)(w,{FragmentSpread:C,FragmentDefinition:C,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=S(r(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)})})}}}}))}var m=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)if(!i.some(function(e){return(0,u.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))})){var a=r;if(!((0,u.dt)(a)&&a.directives&&a.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 b(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 g(e){return(0,s.sw)(e),y([{test:function(e){return"client"===e.name.value},remove:!0}],e)}function _(e){return(0,s.sw)(e),(0,a.YR)(e,{FragmentSpread:function(e){var t;if(!(null===(t=e.directives)||void 0===t?void 0: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)})}})}},769993(e,t,r){r.d(t,{E:()=>u});var n=r(187150),i=r(403410),o=r(385041),a=r(438352);function s(e){return e&&"function"===typeof e.then}var u=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,o.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,o.w)(r.observers,"error",e))},complete:function(){var e=r,t=e.sub,n=e.sources;if(null!==t){var i=(void 0===n?[]:n).shift();i?s(i)?i.then(function(e){return r.sub=e.subscribe(r.handlers)},r.handlers.error):r.sub=i.subscribe(r.handlers):(t&&setTimeout(function(){return t.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),(0,o.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 i.c(t)]),s(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}(i.c);(0,a.r)(u)},910918(e,t,r){r.d(t,{x:()=>i});var n=r(403410);function i(e,t,r){return new n.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()}})}},385041(e,t,r){function n(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}r.d(t,{w:()=>n})},438352(e,t,r){r.d(t,{r:()=>o});var n=r(403410),i=r(590244);function o(e){function t(t){Object.defineProperty(e,t,{value:n.c})}return i.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}},276822(e,t,r){function n(e){return e.catch(function(){}),e}r.d(t,{X:()=>n})},562400(e,t,r){r.d(t,{r:()=>n});var n="3.14.1"}}]); 2//# sourceMappingURL=vendor-apollo-client.883170d8351843c4c6c2.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.