PageSourceSearch

https://www.crictracker.com/_next/static/chunks/14594.647cbb455b8b44c4.js

js crictracker.com collected 2026-09-24 19:13:34 UTC 136,488 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[14594],{59448:(e,t,r)=>{r.d(t,{b:()=>s});var n=function(){return Object.create(null)},i=Array.prototype,o=i.forEach,a=i.slice,s=function(){function e(e,t){void 0===e&&(e=!0),void 0===t&&(t=n),this.weakness=e,this.makeData=t}return e.prototype.lookup=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return this.lookupArray(e)},e.prototype.lookupArray=function(e){var t=this;return o.call(e,function(e){return t=t.getChildTrie(e)}),t.data||(t.data=this.makeData(a.call(e)))},e.prototype.getChildTrie=function(t){var r=this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(t)?this.weak||(this.weak=new WeakMap):this.strong||(this.strong=new Map),n=r.get(t);return n||r.set(t,n=new e(this.weakness,this.makeData)),n},e}()},52609:(e,t,r)=>{r.d(t,{LV:()=>V,yN:()=>C});var n,i=r(59448),o=r(29082);function a(){}var s=function(){function e(e,t){void 0===e&&(e=1/0),void 0===t&&(t=a),this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}return e.prototype.has=function(e){return this.map.has(e)},e.prototype.get=function(e){var t=this.getNode(e);return t&&t.value},e.prototype.getNode=function(e){var t=this.map.get(e);if(t&&t!==this.newest){var r=t.older,n=t.newer;n&&(n.older=r),r&&(r.newer=n),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=n)}return t},e.prototype.set=function(e,t){var r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)},e.prototype.clean=function(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)},e.prototype.delete=function(e){var t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)},e}(),c=new o.DX,u=Object.prototype.hasOwnProperty,l=void 0===(n=Array.from)?function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t}:n;function f(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var h=[];function p(e,t){if(!e)throw Error(t||"assertion failure")}function d(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var v=function(){function e(t){this.fn=t,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++e.count}return e.prototype.peek=function(){if(1===this.value.length&&!b(this))return y(this),this.value[0]},e.prototype.recompute=function(e){var t;return p(!this.recomputing,"already recomputing"),y(this),b(this)&&(k(this),c.withValue(this,m,[this,e]),function(e,t){if("function"==typeof e.subscribe)try{f(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(this,e)&&(this.dirty=!1,b(this)||(t=this,g(t,w)))),d(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,g(this,_),f(this))},e.prototype.dispose=function(){var e=this;this.setDirty(),k(this),g(this,function(t,r){t.setDirty(),S(t,e)})},e.prototype.forget=function(){this.dispose()}
1,e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=h.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(l(this.deps).forEach(function(t){return t.delete(e)}),this.deps.clear(),h.push(this.deps),this.deps=null)},e.count=0,e}();function y(e){var t=c.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),b(e)?_(t,e):w(t,e),t}function m(e,t){e.recomputing=!0,e.value.length=0;try{e.value[0]=e.fn.apply(null,t)}catch(t){e.value[1]=t}e.recomputing=!1}function b(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}function g(e,t){var r=e.parents.size;if(r)for(var n=l(e.parents),i=0;i<r;++i)t(n[i],e)}function _(e,t){p(e.childValues.has(t)),p(b(t));var r=!b(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=h.pop()||new Set;e.dirtyChildren.add(t),r&&g(e,_)}function w(e,t){p(e.childValues.has(t)),p(!b(t));var r,n,i=e.childValues.get(t);0===i.length?e.childValues.set(t,t.value.slice(0)):(r=t.value,(n=i.length)>0&&n===r.length&&i[n-1]===r[n-1]||e.setDirty()),O(e,t),b(e)||g(e,w)}function O(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(h.length<100&&h.push(r),e.dirtyChildren=null))}function k(e){e.childValues.size>0&&e.childValues.forEach(function(t,r){S(e,r)}),e.forgetDeps(),p(null===e.dirtyChildren)}function S(e,t){t.parents.delete(e),e.childValues.delete(t),O(e,t)}var E={setDirty:!0,dispose:!0,forget:!0};function C(e){var t=new Map,r=e&&e.subscribe;function n(e){var n=c.getValue();if(n){var i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(f(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){var n=t.get(e);if(n){var i=r&&u.call(E,r)?r:"setDirty";l(n).forEach(function(e){return e[i]()}),t.delete(e),f(n)}},n}function D(){var e=new i.b("function"==typeof WeakMap);return function(){return e.lookupArray(arguments)}}D();var x=new Set;function V(e,t){void 0===t&&(t=Object.create(null));var r=new s(t.max||65536,function(e){return e.dispose()}),n=t.keyArgs,i=t.makeCacheKey||D(),o=function(){var o=i.apply(null,n?n.apply(null,arguments):arguments);if(void 0===o)return e.apply(null,arguments);var a=r.get(o);a||(r.set(o,a=new v(e)),a.subscribe=t.subscribe,a.forget=function(){return r.delete(o)});var s=a.recompute(Array.prototype.slice.call(arguments));return r.set(o,a),x.add(r),c.hasValue()||(x.forEach(function(e){return e.clean()}),x.clear()),s};function a(e){var t=r.get(e);t&&t.setDirty()}function u(e){var t=r.get(e);if(t)return t.peek()}function l(e){return r.delete(e)}return Object.defineProperty(o,"size",{get:function(){return r.map.size},configurable:!1,enumerable:!1}),o.dirtyKey=a,o.dirty=function(){a(i.apply(null,arguments))},o.peekKey=u,o.peek=function(){return u(i.apply(null,arguments))},o.forgetKey=l,o.forget=function(){return l(i.apply(null,arguments))},o.makeCacheKey=i,o.getKey=n?function(){return i.apply(null,n.apply(null,arguments))}:i,Object.freeze(o)}},70182:(e,t,r)=>{r.d(t,{D:()=>ey});var n=r(50728),i=r(3479),o=r(52609),a=r(48976),s=r(33688),c=function(){function e(){this.getFragmentDoc=(0,o.LV)(s.ct)}return e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.Cl)((0,n.Cl)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.Tt)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,o=e.fragmentName,a=(0,n.Tt)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),o=t(i);return null==o?i:(r.writeQuery((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),o=t(i);return null==o?i:(r.writeFragment((0,n.Cl)((0,n.Cl)({},e),{data:o})),o)}})},e}(),u=function(e){function t(r,n,i,o){var a,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var c=s.path.length-1;c>=0;--c)s.missing=((a={})[s.path[c]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.C6)(t,e),t}(Error),l=r(56875),f=r(68357),h=r(35543),p=r(93856),d=r(92700),v=r(31745),y=r(96495),m=r(10275),b=r(64628),g=r(63985),_=r(59448),w=r(16263),O=Object.prototype.hasOwnProperty;function k(e){return null==e}function S(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=k(n)?k(i)?void 0:{_id:i}:{id:n}),k(n)&&!k(i)&&(n=i),!k(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var E={dataIdFromObject:S,addTypename:!0,resultCaching:!0,canonizeResults:!1};function C(e){var t=e.canonizeResults;return void 0===t?E.canonizeResults:t}var D=/^[_a-z][_0-9a-z]*/i;function x(e){var t=e.match(D);return t?t[0]:e}function V(e){return(0,g.U)(e)&&!(0,l.A_)(e)&&!(0,w.c)(e)}function T(e,t){var r=(0,s.JG)((0,v.zK)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var q=Object.create(null),R=function(){return q},F=Object.create(null),I=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,b.G)((0,l.A_)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,l.A_)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,l.WU)(e);if((0,l.A_)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,l.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),O.call(this.data,e)){var r=this.data[e];if(r&&O.call(r,t))return r[t]}return"__typename"===t&&O.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof j?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),O.call(this.data,e))?this.data[e]:this instanceof j?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,l.A_)(e)&&(e=e.__ref),(0,l.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){__DEV__?(0,i.V1)("string"==typeof r,"store.merge expects a string ID"):(0,i.V1)("string"==typeof r,1);var s=new y.ZI(N).merge(o,a);if(this.data[r]=s,s!==o&&(delete this.refs[r],this.group.caching)){var c=Object.create(null);o||(c.__exists=1),Object.keys(a).forEach(function(e){if(!o||o[e]!==s[e]){c[e]=1;var t=x(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(c[t]=1),void 0!==s[e]||n instanceof j||delete s[e]}}),c.__typename&&!(o&&o.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete c.__typename,Object.keys(c).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,i=this.lookup(e);if(i){var o=Object.create(null),a=!1,s=!0,c={DELETE:q,INVALIDATE:F,isReference:l.A_,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,l.WU)(e)}:t,{store:r})}};if(Object.keys(i).forEach(function(u){var l=x(u),f=i[u];if(void 0!==f){var h="function"==typeof t?t:t[u]||t[l];if(h){var p=h===R?q:h((0,b.G)(f),(0,n.Cl)((0,n.Cl)({},c),{fieldName:l,storeFieldName:u,storage:r.getStorage(e,u)}));p===F?r.group.dirty(e,u):(p===q&&(p=void 0),p!==f&&(o[u]=p,a=!0,f=p))}void 0!==f&&(s=!1)}}),a)return this.merge(e,o),s&&(this instanceof j?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]=R,n):R)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(O.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof j&&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){O.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&&O.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 j?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){O.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 j;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!O.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,l.A_)(e)&&(t[e.__ref]=!0),(0,g.U)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,g.U)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),P=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 _.b(p.et)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=x(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function Q(e,t){A(e)&&e.group.depend(t,"__exists")}!function(e){var t=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,o=e.call(this,r,new P(void 0===n||n))||this;return o.stump=new M(o),o.storageTrie=new _.b(p.et),i&&o.replace(i),o}return(0,n.C6)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(e);e.Root=t}(I||(I={}));var j=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 O.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}(I),M=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new P(t.group.caching,t.group))||this}return(0,n.C6)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(j);function N(e,t,r){var n=e[r],i=t[r];return(0,a.L)(n,i)?n:i}function A(e){return!!(e instanceof I&&e.group.caching)}var L=r(99501);function z(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var U=function(){function e(e){var t=this;this.knownResults=new(p.et?WeakMap:Map),this.config=(0,d.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:C(e)}),this.canon=e.canon||new L.$,this.executeSelectionSet=(0,o.LV)(function(e){var r,i=e.context.canonizeResults,o=z(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:(Q(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize,keyArgs:z,makeCacheKey:function(e,t,r,n){if(A(r.store))return r.store.makeCacheKey(e,(0,l.A_)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,o.LV)(function(e){return Q(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(A(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new L.$},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,c=e.canonizeResults,f=void 0===c?this.config.canonizeResults:c,h=this.config.cache.policies;a=(0,n.Cl)((0,n.Cl)({},(0,v.wY)((0,v.AT)(i))),a);var p=(0,l.WU)(void 0===o?"ROOT_QUERY":o),d=this.executeSelectionSet({selectionSet:(0,v.Vn)(i).selectionSet,objectOrReference:p,enclosingRef:p,context:(0,n.Cl)({store:r,query:i,policies:h,variables:a,varString:(0,L.M)(a),canonizeResults:f},T(i,this.config.fragments))});if(d.missing&&(t=[new u(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(d.missing),d.missing,i,a)],!(void 0===s||s)))throw t[0];return{result:d.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(A(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,c=e.context;if((0,l.A_)(o)&&!c.policies.rootTypenamesById[o.__ref]&&!c.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var u=c.variables,p=c.policies,d=c.store.getFieldValue(o,"__typename"),v=[],g=new y.ZI;function _(e,r){var n;return e.missing&&(t=g.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof d&&!p.rootIdsByTypename[d]&&v.push({__typename:d});var O=new Set(n.selections);O.forEach(function(e){var n,y;if((0,m.MS)(e,u)){if((0,l.dt)(e)){var b=p.readField({fieldName:e.name.value,field:e,variables:c.variables,from:o},c),k=(0,l.ue)(e);void 0===b?f.XY.added(e)||(t=g.merge(t,((n={})[k]="Can't find field '".concat(e.name.value,"' on ").concat((0,l.A_)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),n))):(0,w.c)(b)?b=_(r.executeSubSelectedArray({field:e,array:b,enclosingRef:a,context:c}),k):e.selectionSet?null!=b&&(b=_(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,l.A_)(b)?b:a,context:c}),k)):c.canonizeResults&&(b=r.canon.pass(b)),void 0!==b&&v.push(((y={})[k]=b,y))}else{var S=(0,s.HQ)(e,c.lookupFragment);if(!S&&e.kind===h.b.FRAGMENT_SPREAD)throw __DEV__?new i.zU("No fragment named ".concat(e.name.value)):new i.zU(5);S&&p.fragmentMatches(S,d)&&S.selectionSet.selections.forEach(O.add,O)}}});var k={result:(0,y.IM)(v),missing:t},S=c.canonizeResults?this.canon.admit(k):(0,b.G)(k);return S.result&&this.knownResults.set(S.result,n),S},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,o=e.array,a=e.enclosingRef,s=e.context,c=new y.ZI;function u(e,r){var n;
1return e.missing&&(t=c.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,w.c)(e)?u(r.executeSubSelectedArray({field:n,array:e,enclosingRef:a,context:s}),t):n.selectionSet?u(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,l.A_)(e)?e:a,context:s}),t):(__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,g.U)(r)&&(__DEV__?(0,i.V1)(!(0,l.A_)(r),"Missing selection set for object of type ".concat((0,l.A_)(r)?e.get(r.__ref,"__typename"):r&&r.__typename," returned for query field ").concat(t.name.value)):(0,i.V1)(!(0,l.A_)(r),6),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),W=r(3082),B=r(39765),H=r(31561),Y=Object.create(null);function J(e){var t=JSON.stringify(e);return Y[t]||(Y[t]=Object.create(null))}function K(e){var t=J(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},o=r.keyObject=X(e,function(e){var o=Z(r.storeObject,e,n);return void 0===o&&t!==r.storeObject&&O.call(t,e[0])&&(o=Z(t,e,$)),__DEV__?(0,i.V1)(void 0!==o,"Missing field '".concat(e.join("."),"' while extracting keyFields from ").concat(JSON.stringify(t))):(0,i.V1)(void 0!==o,2),o});return"".concat(r.typename,":").concat(JSON.stringify(o))})}function G(e){var t=J(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,o=r.fieldName,a=JSON.stringify(X(e,function(e){var r=e[0],o=r.charAt(0);if("@"===o){if(n&&(0,w.E)(n.directives)){var a=r.slice(1),s=n.directives.find(function(e){return e.name.value===a}),c=s&&(0,l.MB)(s,i);return c&&Z(c,e.slice(1))}return}if("$"===o){var u=r.slice(1);if(i&&O.call(i,u)){var f=e.slice(0);return f[0]=u,Z(i,f)}return}if(t)return Z(t,e)}));return(t||"{}"!==a)&&(o+=":"+a),o})}function X(e,t){var r=new y.ZI;return(function e(t){var r=J(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,o){(0,w.c)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,w.c)(t[o+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,o=t(n);if(void 0!==o){for(var a=n.length-1;a>=0;--a)(i={})[n[a]]=o,o=i;e=r.merge(e,o)}return e},Object.create(null))}function $(e,t){return e[t]}function Z(e,t,r){return r=r||$,function e(t){return(0,g.U)(t)?(0,w.c)(t)?t.map(e):X(Object.keys(t).sort(),function(e){return Z(t,e)}):t}(t.reduce(function e(t,n){return(0,w.c)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}function ee(e){return void 0!==e.args?e.args:e.field?(0,l.MB)(e.field,e.variables):null}l.o5.setStringify(L.M);var et=function(){},er=function(e,t){return t.fieldName},en=function(e,t,r){return(0,r.mergeObjects)(e,t)},ei=function(e,t){return t},eo=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:S},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,o=this,a=t&&(t.typename||(null===(r=t.storeObject)||void 0===r?void 0:r.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=t&&t.storeObject||e,c=(0,n.Cl)((0,n.Cl)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=es(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),u=a&&this.getTypePolicy(a),l=u&&u.keyFn||this.config.dataIdFromObject;l;){var f=l(e,c);if((0,w.c)(f))l=K(f);else{i=f;break}}return i=i?String(i):void 0,c.keyObject?[i,c.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],o=i.queryType,a=i.mutationType,s=i.subscriptionType,c=(0,n.Tt)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",r),a&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),O.call(t.toBeAdded,r)?t.toBeAdded[r].push(c):t.toBeAdded[r]=[c]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?en:!1===t?ei:e.merge}a(n,t.merge),n.keyFn=!1===i?et:(0,w.c)(i)?K(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEac
1h(function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,c=i.read,u=i.merge;n.keyFn=!1===s?er:(0,w.c)(s)?G(s):"function"==typeof s?s:n.keyFn,"function"==typeof c&&(n.read=c),a(n,u)}n.read&&n.merge&&(n.keyFn=n.keyFn||er)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&(__DEV__?(0,i.V1)(!n||n===e,"Cannot change root ".concat(e," __typename more than once")):(0,i.V1)(!n||n===e,3),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(D);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!O.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(r,(0,n.Tt)(i,["fields"])),Object.assign(r.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var o=this;if(!e.typeCondition)return!0;if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),c=[s],u=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},f=!!(r&&this.fuzzySubtypes.size),h=!1,p=0;p<c.length;++p){var d=c[p];if(d.has(a))return s.has(a)||(h&&__DEV__&&i.V1.warn("Inferring subtype ".concat(t," of supertype ").concat(a)),s.add(a)),!0;d.forEach(u),f&&p===c.length-1&&function e(t,r,n){return!!(0,g.U)(r)&&((0,w.c)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,l.dt)(t)&&(0,m.MS)(t,n)){var i=(0,l.ue)(t);return O.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(f=!1,h=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&u(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),o=i&&i.keyFn;if(o&&r)for(var a={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=ee(e);o;){var c=o(s,a);if((0,w.c)(c))o=G(c);else{t=c||n;break}}return(void 0===t&&(t=e.field?(0,l.Ii)(e.field,e.variables):(0,l.o5)(n,ee(e))),!1===t)?n:n===x(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),o=x(i),a=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,o,!1),c=s&&s.read;if(c){var u=ea(this,r,e,t,t.store.getStorage((0,l.A_)(r)?r.__ref:r,i));return H.bl.withValue(this.cache,c,[a,u])}return a}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var o=r.field,a=r.typename,s=r.merge;return s===en?ec(n.store)(e,t):s===ei?t:(n.overwrite&&(e=void 0),s(e,t,ea(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:n.variables},n,i||Object.create(null))))},e}();function ea(e,t,r,n,i){var o=e.getStoreFieldName(r),a=x(o),s=r.variables||n.variables,c=n.store,u=c.toReference,f=c.canRead;return{args:ee(r),field:r.field||null,fieldName:a,storeFieldName:o,variables:s,isReference:l.A_,toReference:u,storage:i,cache:e.cache,canRead:f,readField:function(){return e.readField(es(arguments,t,s),n)},mergeObjects:ec(n.store)}}function es(e,t,r){var o,a,s,c=e[0],u=e[1],l=e.length;return"string"==typeof c?s={fieldName:c,from:l>1?u:t}:(s=(0,n.Cl)({},c),O.call(s,"from")||(s.from=t)),__DEV__&&void 0===s.from&&__DEV__&&i.V1.warn("Undefined 'from' passed to readField with arguments ".concat((o=Array.from(e),a=(0,B.v)("stringifyForDisplay"),JSON.stringify(o,function(e,t){return void 0===t?a:t}).split(JSON.stringify(a)).join("<undefined>")))),void 0===s.variables&&(s.variables=r),s}function ec(e){return function(t,r){if((0,w.c)(t)||(0,w.c)(r))throw __DEV__?new i.zU("Cannot automatically merge arrays"):new i.zU(4);if((0,g.U)(t)&&(0,g.U)(r)){var o=e.getFieldValue(t,"__typename"),a=e.getFieldValue(r,"__typename");if(o&&a&&o!==a)return r;if((0,l.A_)(t)&&V(r))return e.merge(t.__ref,r),t;if(V(t)&&(0,l.A_)(r))return e.merge(t,r.__ref),r;if(V(t)&&V(r))return(0,n.Cl)((0,n.Cl)({},t),r)}return r}}function eu(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 el=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,o=t.query,s=t.result,c=t.dataId,u=t.variables,f=t.overwrite,h=(0,v.Vu)(o),p=new y.ZI;u=(0,n.Cl)((0,n.Cl)({},(0,v.wY)(h)),u);var d=(0,n.Cl)((0,n.Cl)({store:e,written:Object.create(null),merge:function(e,t){return p.merge(e,t)}
1,variables:u,varString:(0,L.M)(u)},T(o,this.fragments)),{overwrite:!!f,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),m=this.processSelectionSet({result:s||Object.create(null),dataId:c,selectionSet:h.selectionSet,mergeTree:{map:new Map},context:d});if(!(0,l.A_)(m))throw __DEV__?new i.zU("Could not identify object ".concat(JSON.stringify(s))):new i.zU(7);return d.incomingById.forEach(function(t,n){var o=t.storeObject,s=t.mergeTree,c=t.fieldNodeSet,u=(0,l.WU)(n);if(s&&s.map.size){var f=r.applyMerges(s,u,o,d);if((0,l.A_)(f))return;o=f}if(__DEV__&&!d.overwrite){var h=Object.create(null);c.forEach(function(e){e.selectionSet&&(h[e.name.value]=!0)});var p=function(e){var t=s&&s.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(o).forEach(function(e){!0!==h[x(e)]||p(e)||function(e,t,r,n){var o=function(e){var t=n.getFieldValue(e,r);return"object"==typeof t&&t},s=o(e);if(s){var c=o(t);if(!(!c||(0,l.A_)(s)||(0,a.L)(s,c)||Object.keys(s).every(function(e){return void 0!==n.getFieldValue(c,e)}))){var u=n.getFieldValue(e,"__typename")||n.getFieldValue(t,"__typename"),f=x(r),h="".concat(u,".").concat(f);if(!ev.has(h)){ev.add(h);var p=[];(0,w.c)(s)||(0,w.c)(c)||[s,c].forEach(function(e){var t=n.getFieldValue(e,"__typename");"string"!=typeof t||p.includes(t)||p.push(t)}),__DEV__&&i.V1.warn("Cache data may be lost when replacing the ".concat(f," field of a ").concat(u," object.\n\nTo address this problem (which is not a bug in Apollo Client), ").concat(p.length?"either ensure all objects of type "+p.join(" and ")+" have an ID or a custom merge function, or ":"","define a custom merge function for the ").concat(h," field, so InMemoryCache can safely merge these objects:\n\n  existing: ").concat(JSON.stringify(s).slice(0,1e3),"\n  incoming: ").concat(JSON.stringify(c).slice(0,1e3),"\n\nFor more information about these options, please refer to the documentation:\n\n  * Ensuring entity objects have IDs: https://go.apollo.dev/c/generating-unique-identifiers\n  * Defining custom merge functions: https://go.apollo.dev/c/merging-non-normalized-objects\n"))}}}}(u,o,e,d.store)})}e.merge(n,o)}),e.retain(m.__ref),m},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,o=e.result,a=e.selectionSet,s=e.context,c=e.mergeTree,u=this.cache.policies,h=Object.create(null),p=r&&u.rootTypenamesById[r]||(0,l.D$)(o,a,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof p&&(h.__typename=p);var d=function(){var e=es(arguments,h,s.variables);if((0,l.A_)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=u.readField((0,n.Cl)((0,n.Cl)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return u.readField(e,s)},v=new Set;this.flattenFields(a,o,s,p).forEach(function(e,r){var n,a=o[(0,l.ue)(r)];if(v.add(r),void 0!==a){var s=u.getStoreFieldName({typename:p,fieldName:r.name.value,field:r,variables:e.variables}),y=eh(c,s),m=t.processFieldValue(a,r,r.selectionSet?eu(e,!1,!1):e,y),b=void 0;r.selectionSet&&((0,l.A_)(m)||V(m))&&(b=d("__typename",m));var g=u.getMergeFunction(p,r.name.value,b);g?y.info={field:r,typename:p,merge:g}:ed(c,s),h=e.merge(h,((n={})[s]=m,n))}else __DEV__&&!e.clientOnly&&!e.deferred&&!f.XY.added(r)&&!u.getReadFunction(p,r.name.value)&&__DEV__&&i.V1.error("Missing field '".concat((0,l.ue)(r),"' while writing result ").concat(JSON.stringify(o,null,2)).substring(0,1e3))});try{var y=u.identify(o,{typename:p,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:h,readField:d}),m=y[0],b=y[1];r=r||m,b&&(h=s.merge(h,b))}catch(e){if(!r)throw e}if("string"==typeof r){var g=(0,l.WU)(r),_=s.written[r]||(s.written[r]=[]);if(_.indexOf(a)>=0||(_.push(a),this.reader&&this.reader.isFresh(o,g,a,s)))return g;var w=s.incomingById.get(r);return w?(w.storeObject=s.merge(w.storeObject,h),w.mergeTree=function e(t,r){if(t===r||!r||ep(r))return t;if(!t||ep(t))return r;var i=t.info&&r.info?(0,n.Cl)((0,n.Cl)({},t.info),r.info):t.info||r.info,o=t.map.size&&r.map.size,a={info:i,map:o?new Map:t.map.size?t.map:r.map};if(o){var s=new Set(r.map.keys());t.map.forEach(function(t,n){a.map.set(n,e(t,r.map.get(n))),s.delete(n)}
1),s.forEach(function(n){a.map.set(n,e(r.map.get(n),t.map.get(n)))})}return a}(w.mergeTree,c),v.forEach(function(e){return w.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:h,mergeTree:ep(c)?void 0:c,fieldNodeSet:v}),g}return h},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,w.c)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,r,eh(n,o));return ed(n,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):__DEV__?(0,W.m)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,l.D$)(t,e,r.fragmentMap));var o=new Map,a=this.cache.policies,c=new _.b(!1);return function e(u,f){var p=c.lookup(u,f.clientOnly,f.deferred);p.visited||(p.visited=!0,u.selections.forEach(function(c){if((0,m.MS)(c,r.variables)){var u=f.clientOnly,p=f.deferred;if(!(u&&p)&&(0,w.E)(c.directives)&&c.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,l.MB)(e,r.variables);n&&!1===n.if||(p=!0)}}),(0,l.dt)(c)){var d=o.get(c);d&&(u=u&&d.clientOnly,p=p&&d.deferred),o.set(c,eu(r,u,p))}else{var v=(0,s.HQ)(c,r.lookupFragment);if(!v&&c.kind===h.b.FRAGMENT_SPREAD)throw __DEV__?new i.zU("No fragment named ".concat(c.name.value)):new i.zU(8);v&&a.fragmentMatches(v,n,t,r.variables)&&e(v.selectionSet,eu(r,u,p))}}}))}(e,r),o},e.prototype.applyMerges=function(e,t,r,o,a){var s=this;if(e.map.size&&!(0,l.A_)(r)){var c,u,f=!(0,w.c)(r)&&((0,l.A_)(t)||V(t))?t:void 0,h=r;f&&!a&&(a=[(0,l.A_)(f)?f.__ref:f]);var p=function(e,t){return(0,w.c)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=p(f,t),n=p(h,t);if(void 0!==n){a&&a.push(t);var c=s.applyMerges(e,r,n,o,a);c!==n&&(u=u||new Map).set(t,c),a&&(0,i.V1)(a.pop()===t)}}),u&&(r=(0,w.c)(h)?h.slice(0):(0,n.Cl)({},h),u.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,o,a&&(c=o.store).getStorage.apply(c,a)):r},e}(),ef=[];function eh(e,t){var r=e.map;return r.has(t)||r.set(t,ef.pop()||{map:new Map}),r.get(t)}function ep(e){return!e||!(e.info||e.map.size)}function ed(e,t){var r=e.map,n=r.get(t);n&&ep(n)&&(ef.push(n),r.delete(t))}var ev=new Set,ey=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.typenameDocumentCache=new Map,n.makeVar=H.UT,n.txCount=0,n.config=(r=t,(0,d.o)(E,r)),n.addTypename=!!n.config.addTypename,n.policies=new eo({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,n.C6)(t,e),t.prototype.init=function(){var e=this.data=new I.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new el(this,this.storeReader=new U({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:C(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,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(A(r)){var n=e.optimistic,i=e.id,o=e.variables;return r.makeCacheKey(e.query,e.callback,(0,L.M)({optimistic:n,id:i,variables:o}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof u)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(O.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.Cl)((0,n.Cl)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,H.MS)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,H.WR)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){L.M.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,l.A_)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){__DEV__&&i.V1.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(O.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(),L.M.reset(),e&&e.discardWatches?(this.watches.forEac
1h(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,H.WR)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,c=e.onWatchUpdated,u=function(e){var n=r.data,o=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=o}},l=new Set;return c&&!this.txCount&&this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,u):!1===a?u(this.data):u(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),c&&l.size?(this.broadcastWatches((0,n.Cl)((0,n.Cl)({},e),{onWatchUpdated:function(e,t){var r=c.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){if(this.addTypename){var t=this.typenameDocumentCache.get(e);return t||(t=(0,f.XY)(e),this.typenameDocumentCache.set(e,t),this.typenameDocumentCache.set(t,t)),t}return e},t.prototype.transformForLink=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,a.L)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(c)},99501:(e,t,r)=>{r.d(t,{$:()=>l,M:()=>f});var n,i,o=r(50728);r(3479);var a=r(59448),s=r(63985),c=r(93856),u=r(16263),l=function(){function e(){this.known=new(c.En?WeakSet:Set),this.pool=new a.b(c.et),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,s.U)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,s.U)(e)){var t=(0,s.U)(e)?(0,u.c)(e)?e.slice(0):(0,o.Cl)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,s.U)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return!i.array&&(this.known.add(i.array=n),__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],c=this.sortedKeys(e);a.push(c.json);var u=a.length;c.sorted.forEach(function(r){a.push(t.admit(e[r]))});var i=this.pool.lookupArray(a);if(!i.object){var l=i.object=Object.create(o);this.known.add(l),c.sorted.forEach(function(e,t){l[e]=a[u+t]}),__DEV__&&Object.freeze(l)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}(),f=Object.assign(function(e){if((0,s.U)(e)){void 0===n&&h();var t=n.admit(e),r=i.get(t);return void 0===r&&i.set(t,r=JSON.stringify(t)),r}return JSON.stringify(e)},{reset:h});function h(){n=new l,i=new(c.et?WeakMap:Map)}},31561:(e,t,r)=>{r.d(t,{MS:()=>c,UT:()=>u,WR:()=>s,bl:()=>i});var n=r(52609),i=new(r(29082)).DX,o=new WeakMap;function a(e){var t=o.get(e);return t||o.set(e,t={vars:new Set,dep:(0,n.yN)()}),t}function s(e){a(e).vars.forEach(function(t){return t.forgetCache(e)})}function c(e){a(e).vars.forEach(function(t){return t.attachCache(e)})}function u(e){var t=new Set,r=new Set,n=function(s){if(arguments.length>0){if(e!==s){e=s,t.forEach(function(e){a(e).dep.dirty(n),e.broadcastWatches&&e.broadcastWatches()});var c=Array.from(r);
1r.clear(),c.forEach(function(t){return t(e)})}}else{var u=i.getValue();u&&(o(u),a(u).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var o=n.attachCache=function(e){return t.add(e),a(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}},75735:(e,t,r)=>{r.d(t,{R:()=>Z});var n=r(50728),i=r(3479),o=r(13524),a=o.C.execute,s=r(72896),c=r(48976),u=r(23188),l=r(99501),f=r(93856),h=r(24726);function p(e,t,r){return new h.c(function(n){var i=n.next,o=n.error,a=n.complete,s=0,c=!1,u={then:function(e){return new Promise(function(t){return t(e())})}};function l(e,t){return e?function(t){++s;var r=function(){return e(t)};u=u.then(r,r).then(function(e){--s,i&&i.call(n,e),c&&f.complete()},function(e){throw--s,e}).catch(function(e){o&&o.call(n,e)})}:function(e){return t&&t.call(n,e)}}var f={next:l(t,i),error:l(r,o),complete:function(){c=!0,!s&&a&&a.call(n)}},h=e.subscribe(f);return function(){return h.unsubscribe()}})}var d=r(16263);function v(e){var t=y(e);return(0,d.E)(t)}function y(e){var t=(0,d.E)(e.errors)?e.errors.slice(0):[];return(0,u.ST)(e)&&(0,d.E)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}var m=r(31745),b=r(68357),g=r(10275),_=r(56875),w=r(63985),O=r(39765);function k(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}function S(e){function t(t){Object.defineProperty(e,t,{value:h.c})}return f.ol&&Symbol.species&&t(Symbol.species),t("@@species"),e}function E(e){return e&&"function"==typeof e.then}var C=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),k(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),k(r.observers,"error",e))},complete:function(){var e=r.sub,t=r.sources;if(null!==e){var n=(void 0===t?[]:t).shift();n?E(n)?n.then(function(e){return r.sub=e.subscribe(r.handlers)}):r.sub=n.subscribe(r.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),r.sub=null,r.latest&&"next"===r.latest[0]?r.resolve(r.latest[1]):r.resolve(),r.notify("complete"),k(r.observers,"complete"))}}},r.nextResultListeners=new Set,r.cancel=function(e){r.reject(e),r.sources=[],r.handlers.complete()},r.promise.catch(function(e){}),"function"==typeof t&&(t=[new h.c(t)]),E(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}(h.c);S(C);var D=r(56354),x=r(98894),V=r(3082),T=r(92700),q=Object.assign,R=Object.hasOwnProperty,F=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=P)}catch(e){}var r=!a.observers.size;a.observers.add(e);var n=a.last;return n&&n.error?e.error&&e.error(n.error):n&&n.result&&e.next&&e.next(n.result),r&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=r,a.isTornDown=!1;var s=r.defaultOptions.watchQuery,c=(void 0===s?{}:s).fetchPolicy,u=void 0===c?"cache-first":c,l=o.fetchPolicy,f=void 0===l?u:l,h=o.initialFetchPolicy,p=void 0===h?"standby"===f?u:f:h;a.options=(0,n.Cl)((0,n.Cl)({},o),{initialFetchPolicy:p,fetchPolicy:f}),a.queryId=i.queryId||r.generateQueryId();var d=(0,m.Vu)(a.query);return a.queryName=d&&d.name&&d.name.value,a}return(0,n.C6)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.queryManager.transform(this.options.query).document}
1,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 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.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),r=this.queryInfo.networkStatus||t&&t.networkStatus||x.p.ready,i=(0,n.Cl)((0,n.Cl)({},t),{loading:(0,x.b)(r),networkStatus:r}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if("network-only"===a||"no-cache"===a||"standby"===a||this.queryManager.transform(this.options.query).hasForcedResolvers);else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,c.L)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,s.complete&&i.networkStatus===x.p.loading&&("cache-first"===a||"cache-only"===a)&&(i.networkStatus=x.p.ready,i.loading=!1)):i.partial=!0,!__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||Q(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){return!this.last||!(0,c.L)(this.last.result,e)||t&&!(0,c.L)(this.last.variables,t)},t.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,c.L)(r.variables,this.variables)))return r[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,r={pollInterval:0},o=this.options.fetchPolicy;if("cache-and-network"===o?r.fetchPolicy=o:"no-cache"===o?r.fetchPolicy="no-cache":r.fetchPolicy="network-only",__DEV__&&e&&R.call(e,"variables")){var a=(0,m.AT)(this.query),s=a.variableDefinitions;(!s||!s.some(function(e){return"variables"===e.variable.name.value}))&&__DEV__&&i.V1.warn("Called refetch(".concat(JSON.stringify(e),") for query ").concat((null===(t=a.name)||void 0===t?void 0:t.value)||JSON.stringify(a),", which does not declare a $variables variable.\nDid you mean to call refetch(variables) instead of refetch({ variables })?"))}return e&&!(0,c.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,x.p.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.query}),e),{variables:(0,n.Cl)((0,n.Cl)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId(),o=this.queryInfo,a=o.networkStatus;o.networkStatus=x.p.fetchMore,r.notifyOnNetworkStatusChange&&this.observe();var s=new Set;return this.queryManager.fetchQuery(i,r,x.p.fetchMore).then(function(n){return t.queryManager.removeQuery(i),o.networkStatus===x.p.fetchMore&&(o.networkStatus=a),t.queryManager.cache.batch({update:function(i){var o=e.updateQuery;o?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:n.data,variables:r.variables})}):i.writeQuery({query:r.query,variables:r.variables,data:n.data})},onWatchUpdated:function(e){s.add(e.query)}}),n}).finally(function(){s.has(t.query)||I(t)})},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 n=e.updateQuery;n&&t.updateQuery(function(e,t){return n(e,{subscriptionData:r,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}__DEV__&&i.V1.error("Unhandled GraphQL subscription error",t)}});return this.subscriptions.add(r),function(){t.subscriptions.delete(r)&&r.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.setVariables=function(e){return(0,c.L)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},x.p.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,r=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});r&&(t.cache.writeQuery({query:this.options.query,data:r,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}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,r=this.options.pollInterval;if(!r){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==r){__DEV__?(0,i.V1)(r,"Attempted to start a polling query without a polling interval."):(0,i.V1)(r,13),(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&((0,x.b)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},x.p.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){return void 0===t&&(t=this.variables),this.last=(0,n.Cl)((0,n.Cl)({},this.last),{result:this.queryManager.assumeImmutableResults?e:(0,V.m)(e),variables:t}),(0,d.E)(e.errors)||delete this.last.error,this.last},t.prototype.reobserveAsConcast=function(e,t){var r=this;this.isTornDown=!1;var i=t===x.p.refetch||t===x.p.fetchMore||t===x.p.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,T.o)(this.options,e||{}),u=i?s:q(this.options,s);!i&&(this.updatePolling(),e&&e.variables&&!(0,c.L)(e.variables,o)&&"standby"!==u.fetchPolicy&&u.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=x.p.setVariables)));var l=u.variables&&(0,n.Cl)({},u.variables),f=this.fetch(u,t),h=f.concast,p=f.fromLink,d={next:function(e){r.reportResult(e,l)},error:function(e){r.reportError(e,l)}};return!i&&p&&(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=h,this.observer=d),h.addObserver(d),h},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var r=this.getLastError();(r||this.isDifferentFromLastResult(e,t))&&((r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),k(this.observers,"next",e))},t.prototype.reportError=function(e,t){var r=(0,n.Cl)((0,n.Cl)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:x.p.error,loading:!1});this.updateLastResult(r,t),k(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}(h.c);function I(e){var t=e.options,r=t.fetchPolicy,n=t.nextFetchPolicy;return"cache-and-network"===r||"network-only"===r?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return(this.nextFetchPolicy=n,"function"==typeof n)?n.apply(this,arguments):r}}):e.reobserve()}function P(e){__DEV__&&i.V1.error("Unhandled error",e.message,e.stack)}function Q(e){__DEV__&&e&&__DEV__&&i.V1.debug("Missing cache result fields: ".concat(JSON.stringify(e)),e)}S(F);var j=r(52280),M=r(35543);function N(e){return e.kind===M.b.FIELD||e.kind===M.b.FRAGMENT_SPREAD||e.kind===M.b.INLINE_FRAGMENT}var A=r(96495),L=r(33688),z=r(31561),U=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,A.D9)(t.resolvers,e)}):this.resolvers=(0,A.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){var t=e.document,r=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,n.sH)(this,void 0,void 0,function(){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,g.d8)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,b.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,t,r){return void 0===t&&(t={}),void 0===r&&(r={}),(0,n.sH)(this,void 0,void 0,function(){return(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,j.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 j.sP}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,b.zc)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,o,a){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,n.sH)(this,void 0,void 0,function(){var s,c,u,l,f,h,p,d,v,y;return(0,n.YH)(this,function(b){return s=(0,m.Vn)(e),c=(0,m.zK)(e),u=(0,L.JG)(c),l=this.collectSelectionsToResolve(s,u),h=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",p=this,d=p.c
1ache,v=p.client,y={fragmentMap:u,context:(0,n.Cl)((0,n.Cl)({},r),{cache:d,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:h,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,y).then(function(e){return{result:e,exportedVariables:y.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,r,o){return(0,n.sH)(this,void 0,void 0,function(){var a,s,c,u,l,f=this;return(0,n.YH)(this,function(h){return a=o.fragmentMap,s=o.context,c=o.variables,u=[r],l=function(e){return(0,n.sH)(f,void 0,void 0,function(){var l,f;return(0,n.YH)(this,function(n){return(t||o.selectionsToResolve.has(e))&&(0,g.MS)(e,c)?(0,_.dt)(e)?[2,this.resolveField(e,t,r,o).then(function(t){var r;void 0!==t&&u.push(((r={})[(0,_.ue)(e)]=t,r))})]:((0,_.kd)(e)?l=e:(l=a[e.name.value],__DEV__?(0,i.V1)(l,"No fragment named ".concat(e.name.value)):(0,i.V1)(l,11)),l&&l.typeCondition&&(f=l.typeCondition.name.value,o.fragmentMatcher(r,f,s)))?[2,this.resolveSelectionSet(l.selectionSet,t,r,o).then(function(e){u.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,A.IM)(u)})]})})},e.prototype.resolveField=function(e,t,r,i){return(0,n.sH)(this,void 0,void 0,function(){var o,a,s,c,u,l,f,h,p,d=this;return(0,n.YH)(this,function(n){return r?(o=i.variables,c=(a=e.name.value)!==(s=(0,_.ue)(e)),l=Promise.resolve(u=r[s]||r[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=r.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[c?a:s])&&(l=Promise.resolve(z.bl.withValue(this.cache,p,[r,(0,_.MB)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(r){if(void 0===r&&(r=u),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=r)})}),!e.selectionSet||null==r)return r;var n,o,a=null!==(o=null===(n=e.directives)||void 0===n?void 0:n.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(r)?d.resolveSubSelectedArray(e,t||a,r,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,t||a,r,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var r=function(e){return!Array.isArray(e)},n=this.selectionsToResolveCache;return function e(o){if(!n.has(o)){var a=new Set;n.set(o,a),(0,j.YR)(o,{Directive:function(e,t,n,i,o){"client"===e.name.value&&o.forEach(function(e){r(e)&&N(e)&&a.add(e)})},FragmentSpread:function(n,o,s,c,u){var l=t[n.name.value];__DEV__?(0,i.V1)(l,"No fragment named ".concat(n.name.value)):(0,i.V1)(l,12);var f=e(l);f.size>0&&(u.forEach(function(e){r(e)&&N(e)&&a.add(e)}),a.add(n),f.forEach(function(e){a.add(e)}))}})}return n.get(o)}(e)},e}(),W=new(f.et?WeakMap:Map);function B(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return W.set(e,(W.get(e)+1)%1e15),r.apply(this,arguments)})}function H(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var Y=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var r=this.cache=e.cache;W.has(r)||(W.set(r,0),B(r,"evict"),B(r,"modify"),B(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||x.p.loading;return this.variables&&this.networkStatus!==x.p.loading&&!(0,c.L)(this.variables,e.variables)&&(t=x.p.setVariables),(0,c.L)(e.variables,this.variables)||(this.lastDiff=void 0),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.reset=function(){H(this),this.dirty=!1},e.prototype.getDiff=function(e){void 0===e&&(e=this.variables);var t=this.getDiffOptions(e);if(this.lastDiff&&(0,c.L)(t,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables=e);var r=this.observableQuery;if(r&&"no-cache"===r.options.fetchPolicy)return{complete:!1};var n=this.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=this,r=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,c.L)(r&&r.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return t.notify()},0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():I(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1H(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,x.b)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach(function(e){return e.unsubscribe()});var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;if(!r||"no-cache"!==r.options.fetchPolicy){var i=(0,n.Cl)((0,n.Cl)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,c.L)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===W.get(this.cache)&&(0,c.L)(t,r.variables)&&(0,c.L)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r,n){var i=this,o=new A.ZI,a=(0,d.E)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,d.E)(e.incremental)){var s=(0,u.bd)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var c=this.getDiff();e.data=o.merge(c.result,e.data)}this.graphQLErrors=a,"no-cache"===r.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(r.variables)):0!==n&&(J(e,r.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,r.variables))o.writeQuery({query:t,data:e.data,variables:r.variables,overwrite:1===n}),i.lastWrite={result:e,variables:r.variables,dmCount:W.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(r.variables),s=o.diff(a);i.stopped||i.updateWatch(r.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=x.p.ready},e.prototype.markError=function(e){return this.networkStatus=x.p.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function J(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!v(e);return!n&&r&&e.data&&(n=!0),n}var K=Object.prototype.hasOwnProperty,G=function(){function e(e){var t=e.cache,r=e.link,n=e.defaultOptions,i=e.queryDeduplication,o=e.onBroadcast,a=e.ssrMode,s=e.clientAwareness,c=e.localState,u=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(f.et?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.defaultOptions=n||Object.create(null),this.queryDeduplication=void 0!==i&&i,this.clientAwareness=void 0===s?{}:s,this.localState=c||new U({cache:t}),this.ssrMode=void 0!==a&&a,this.assumeImmutableResults=!!u,(this.onBroadcast=o)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches(__DEV__?new i.zU("QueryManager stopped while query was in flight"):new i.zU(14))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,r,o=e.mutation,a=e.variables,s=e.optimisticResponse,c=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,f=e.awaitRefetchQueries,h=void 0!==f&&f,d=e.update,m=e.onQueryUpdated,b=e.fetchPolicy,g=void 0===b?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":b,_=e.errorPolicy,w=void 0===_?(null===(r=this.defaultOptions.mutate)||void 0===r?void 0:r.errorPolicy)||"none":_,O=e.keepRootFields,k=e.context;return(0,n.sH)(this,void 0,void 0,function(){var e,t,r,u,f,b;return(0,n.YH)(this,function(_){switch(_.label){case 0:if(__DEV__?(0,i.V1)(o,"mutation option is required. You must specify your GraphQL document in the mutation option."):(0,i.V1)(o,15),__DEV__?(0,i.V1)("network-only"===g||"no-cache"===g,"Mutations supp
1ort only 'network-only' or 'no-cache' fetchPolicy strings. The default `network-only` behavior automatically writes mutation results to the cache. Passing `no-cache` skips the cache write."):(0,i.V1)("network-only"===g||"no-cache"===g,16),e=this.generateMutationId(),r=(t=this.transform(o)).document,u=t.hasClientExports,o=this.cache.transformForLink(r),a=this.getVariables(o,a),!u)return[3,2];return[4,this.localState.addExportedVariables(o,a,k)];case 1:a=_.sent(),_.label=2;case 2:return f=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:e,document:o,variables:a,fetchPolicy:g,errorPolicy:w,context:k,updateQueries:c,update:d,keepRootFields:O}),this.broadcastQueries(),b=this,[2,new Promise(function(t,r){return p(b.getObservableFromLink(o,(0,n.Cl)((0,n.Cl)({},k),{optimisticResponse:s}),a,!1),function(t){if(v(t)&&"none"===w)throw new D.K4({graphQLErrors:y(t)});f&&(f.loading=!1,f.error=null);var r=(0,n.Cl)({},t);return"function"==typeof l&&(l=l(r)),"ignore"===w&&v(r)&&delete r.errors,b.markMutationResult({mutationId:e,result:r,document:o,variables:a,fetchPolicy:g,errorPolicy:w,context:k,update:d,updateQueries:c,awaitRefetchQueries:h,refetchQueries:l,removeOptimistic:s?e:void 0,onQueryUpdated:m,keepRootFields:O})}).subscribe({next:function(e){b.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){f&&(f.loading=!1,f.error=t),s&&b.cache.removeOptimistic(e),b.broadcastQueries(),r(t instanceof D.K4?t:new D.K4({networkError:t}))}})})]}})})},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&&J(i,e.errorPolicy)){if((0,u.ST)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,u.ST)(i)&&(0,d.E)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}),c=void 0;s.result&&(c=(0,u.bd)(s.result,i)),void 0!==c&&(i.data=c,o.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var l=e.updateQueries;l&&this.queries.forEach(function(e,n){var a=e.observableQuery,s=a&&a.queryName;if(s&&K.call(l,s)){var c=l[s],u=r.queries.get(n),f=u.document,h=u.variables,p=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),d=p.result;if(p.complete&&d){var v=c(d,{mutationResult:i,queryName:f&&(0,m.n4)(f)||void 0,queryVariables:h});v&&o.push({result:v,dataId:"ROOT_QUERY",query:f,variables:h})}}})}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,c=!(0,u.YX)(i)||(0,u.ST)(i)&&!i.hasNext;if(s){if(!a){var l=t.diff({id:"ROOT_MUTATION",query:r.transform(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,n.Cl)((0,n.Cl)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!c||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return f.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var r=this,o="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction(function(e){try{r.markMutationResult((0,n.Cl)((0,n.Cl)({},t),{result:{data:o}}),e)}catch(e){__DEV__&&i.V1.error(e)}},t.mutationId)},e.prototype.fetchQuery=function(e,t,r){return this.fetchQueryObservable(e,t,r).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){var t=this.transformCache;if(!t.has(e)){var r=this.cache.transformDocument(e),i=(0,b.hX)(r),o=this.localState.clientQuery(r),a=i&&this.localState.serverQuery(i),s={document:r,hasClientExports:(0,g.f2)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:o,serverQuery:a,defaultVars:(0,m.wY)((0,m.Vu)(r)),asQuery:(0,n.Cl)((0,n.Cl)({},r),{definitions:r.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,n.Cl)((0,n.Cl)({},e),{operation:"query"}):e})})},c=function(e){e&&!t.has(e)&&t.set(e,s)};c(e),c(r),c(o),c(a)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.Cl)((0,n.Cl)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=(0,n.Cl)((0,n.Cl)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new Y(this),r=new F({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:r.query,observableQuery:r,variables:r.variables}),r},e.prototype.query=function(e,t){var r=this;return void 0===t&&(t=this.generateQueryId()),__DEV__?(0,i.V1)(e.query,"query option is required. You must specify your GraphQL document in the query option."):(0,i.V1)(e.query,17),__DEV__?(0,i.V1)("Document"===e.query.kind,'You must wrap the query string in a "gql" tag.'):(0,i.V1)("Document"===e.query.kind,18),__DEV__?(0,i.V1)(!e.returnPartialData,"returnPartialData option only supported on watchQuery."):(0,i.V1)(!e.returnPartialData,19),__DEV__?(0,i.V1)(!e.pollInterval,"pollInterval option only supported on watchQuery."):(0,i.V1)(!e.pollInterval,20),this.fetchQuery(t,e).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}),this.cancelPendingFetches(__DEV__?new i.zU("Store reset while query was in flight (not completed in link chain)"):new i.zU(21)),this.queries.forEac
1h(function(e){e.observableQuery?e.networkStatus=x.p.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 Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?o.set(e,!1):(0,_.Kc)(e)?o.set(t.transform(e).document,!1):(0,w.U)(e)&&e.query&&a.add(e)}),this.queries.forEach(function(t,n){var i=t.observableQuery,a=t.document;if(i){if("all"===e){r.set(n,i);return}var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(r.set(n,i),s&&o.set(s,!0),a&&o.set(a,!0))}}),a.size&&a.forEach(function(e){var o=(0,O.v)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new F({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)}),__DEV__&&o.size&&o.forEach(function(e,t){!e&&__DEV__&&i.V1.warn("Unknown query ".concat("string"==typeof t?"named ":"").concat(JSON.stringify(t,null,2)," requested in refetchQueries options.include array"))}),r},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var o=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&r.push(n.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.fetchPolicy,i=e.errorPolicy,o=e.variables,a=e.context,s=void 0===a?{}:a;r=this.transform(r).document,o=this.getVariables(r,o);var c=function(e){return t.getObservableFromLink(r,s,e).map(function(o){"no-cache"!==n&&(J(o,i)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=v(o),s=(0,D.uR)(o);if(a||s){var c={};throw a&&(c.graphQLErrors=o.errors),s&&(c.protocolErrors=o.extensions[D.K$]),new D.K4(c)}return o})};if(this.transform(r).hasClientExports){var u=this.localState.addExportedVariables(r,o,s).then(c);return new h.c(function(e){var t=null;return u.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return c(o)},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){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,r,i){var o,s,c=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var u=this.transform(e).serverQuery;if(u){var f=this.inFlightLinkObservables,d=this.link,v={query:u,variables:r,operationName:(0,m.n4)(u)||void 0,context:this.prepareContext((0,n.Cl)((0,n.Cl)({},t),{forceFetch:!i}))};if(t=v.context,i){var y=f.get(u)||new Map;
1f.set(u,y);var b=(0,l.M)(r);if(!(s=y.get(b))){var g=new C([a(d,v)]);y.set(b,s=g),g.beforeNext(function(){y.delete(b)&&y.size<1&&f.delete(u)})}}else s=new C([a(d,v)])}else s=new C([h.c.of({data:{}})]),t=this.prepareContext(t);var _=this.transform(e).clientQuery;return _&&(s=p(s,function(e){return c.localState.runResolvers({document:_,remoteResult:e,context:t,variables:r})})),s},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(this.transform(e.document).document);return p(this.getObservableFromLink(i,r.context,r.variables),function(o){var a=y(o),s=a.length>0;if(n>=e.lastRequestId){if(s&&"none"===r.errorPolicy)throw e.markError(new D.K4({graphQLErrors:a}));e.markResult(o,i,r,t),e.markReady()}var c={data:o.data,loading:!1,networkStatus:x.p.ready};return s&&"ignore"!==r.errorPolicy&&(c.errors=a,c.networkStatus=x.p.error),c},function(t){var r=(0,D.Mn)(t)?t:new D.K4({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchQueryObservable=function(e,t,r){return this.fetchConcastWithInfo(e,t,r).concast},e.prototype.fetchConcastWithInfo=function(e,t,r){var n,i,o=this;void 0===r&&(r=x.p.loading);var a=this.transform(t.query).document,s=this.getVariables(a,t.variables),c=this.getQuery(e),u=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?u&&u.fetchPolicy||"cache-first":l,h=t.errorPolicy,p=void 0===h?u&&u.errorPolicy||"none":h,d=t.returnPartialData,v=t.notifyOnNetworkStatusChange,y=t.context,m=Object.assign({},t,{query:a,variables:s,fetchPolicy:f,errorPolicy:p,returnPartialData:void 0!==d&&d,notifyOnNetworkStatusChange:void 0!==v&&v,context:void 0===y?{}:y}),b=function(e){m.variables=e;var n=o.fetchQueryByPolicy(c,m,r);return"standby"!==m.fetchPolicy&&n.sources.length>0&&c.observableQuery&&c.observableQuery.applyNextFetchPolicy("after-fetch",t),n},g=function(){return o.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){g(),setTimeout(function(){return n.cancel(e)})}),this.transform(m.query).hasClientExports)n=new C(this.localState.addExportedVariables(m.query,m.variables,m.context).then(b).then(function(e){return e.sources})),i=!0;else{var _=b(m.variables);i=_.fromLink,n=new C(_.sources)}return n.promise.then(g,g),{concast:n,fromLink:i}},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,O.v)("refetchQueries"):void 0:a,c=e.onQueryUpdated,u=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){u.set(r,{oq:e,lastDiff:t.getQuery(r).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 Y&&e.watcher.observableQuery;if(n){if(c){u.delete(n.queryId);var i=c(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==c&&u.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),u.size&&u.forEach(function(e,r){var n,i=e.oq,o=e.lastDiff,a=e.diff;if(c){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}n=c(i,a,o)}c&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,p=t.context,d=t.notifyOnNetworkStatusChange,v=e.networkStatus;e.init({document:this.transform(o).document,variables:a,networkStatus:r});var y=function(){return e.getDiff(a)},m=function(t,r){void 0===r&&(r=e.networkStatus||x.p.loading);var s=t.result;!__DEV__||f||(0,c.L)(s,{})||Q(t.missing);var u=function(e){return h.c.of((0,n.Cl)({data:e,loading:(0,x.b)(r),networkStatus:r},t.complete?null:{partial:!0}))};return s&&i.transform(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:p,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===l&&r===x.p.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},b="no-cache"===s?0:r===x.p.refetch&&"merge"!==u?1:2,g=function(){return i.getResultsFromLink(e,b,{variables:a,context:p,fetchPolicy:s,errorPolicy:l})},_=d&&"number"==typeof v&&v!==r&&(0,x.b)(r);switch(s){default:case"cache-first":var w=y();if(w.complete)return{fromLink:!1,sources:[m(w,e.markReady())]};if(f||_)return{fromLink:!0,sources:[m(w),g()]};return{fromLink:!0,sources:[g()]};case"cache-and-network":var w=y();if(w.complete||f||_)return{fromLink:!0,sources:[m(w),g()]};return{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":if(_)return{fromLink:!0,sources:[m(y()),g()]};return{fromLink:!0,sources:[g()]};case"no-cache":if(_)return{fromLink:!0,sources:[m(e.getDiff()),g()]};return{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new Y(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)({},t),{clientAwareness:this.clientAwareness})},e}(),X=r(49811),$=!1,Z=function(){function e(e){var t=this;this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.credentials,a=e.headers,c=e.cache,u=e.ssrMode,l=void 0!==u&&u,f=e.ssrForceFetchDelay,h=void 0===f?0:f,p=e.connectToDevTools,d=void 0===p?"object"==typeof window&&!window.__APOLLO_CLIENT__&&__DEV__:p,v=e.queryDeduplication,y=void 0===v||v,m=e.defaultOptions,b=e.assumeImmutableResults,g=e.resolvers,_=e.typeDefs,w=e.fragmentMatcher,O=e.name,k=e.version,S=e.link;if(S||(S=r?new s.P({uri:r,credentials:n,headers:a}):o.C.empty()),!c)throw __DEV__?new i.zU("To initialize Apollo Client, you must specify a 'cache' property in the options object. \nFor more information, please visit: https://go.apollo.dev/c/docs"):new i.zU(9);
1if(this.link=S,this.cache=c,this.disableNetworkFetches=l||h>0,this.queryDeduplication=y,this.defaultOptions=m||Object.create(null),this.typeDefs=_,h&&setTimeout(function(){return t.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),d&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),!$&&d&&__DEV__&&($=!0,"undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__)){var E=window.navigator,C=E&&E.userAgent,D=void 0;"string"==typeof C&&(C.indexOf("Chrome/")>-1?D="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":C.indexOf("Firefox/")>-1&&(D="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),D&&__DEV__&&i.V1.log("Download the Apollo DevTools for a better development experience: "+D)}this.version="3.7.14",this.localState=new U({cache:c,client:this,resolvers:g,fragmentMatcher:w}),this.queryManager=new G({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,queryDeduplication:y,ssrMode:l,clientAwareness:{name:O,version:k},localState:this.localState,assumeImmutableResults:void 0!==b&&b,onBroadcast:d?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0})}return e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,X.l)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,X.l)(this.defaultOptions.query,e)),__DEV__?(0,i.V1)("cache-and-network"!==e.fetchPolicy,"The cache-and-network fetchPolicy does not work with client.query, because client.query can only return a single result. Please use client.watchQuery to receive multiple results from the cache and the network, or consider using a different fetchPolicy, such as cache-first or network-only."):(0,i.V1)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.Cl)((0,n.Cl)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,X.l)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return a(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var o=Promise.all(n);return o.queries=r,o.results=n,o.catch(function(e){__DEV__&&i.V1.debug("In client.refetchQueries, Promise.all promise rejected with error ".concat(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},e}()},13524:(e,t,r)=>{r.d(t,{C:()=>f});var n=r(50728),i=r(3479),o=r(24726),a=r(31745);
1function s(e,t){return t?t(e):o.c.of()}function c(e){return"function"==typeof e?new f(e):e}function u(e){return e.request.length<=1}var l=function(e){function t(t,r){var n=e.call(this,t)||this;return n.link=r,n}return(0,n.C6)(t,e),t}(Error),f=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return o.c.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(c).reduce(function(e,t){return e.concat(t)})},e.split=function(t,r,n){var i=c(r),a=c(n||new e(s));return new e(u(i)&&u(a)?function(e){return t(e)?i.request(e)||o.c.of():a.request(e)||o.c.of()}:function(e,r){return t(e)?i.request(e,r)||o.c.of():a.request(e,r)||o.c.of()})},e.execute=function(e,t){var r,s,c,u;return e.request((c=t.context,(s={variables:(r=function(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r<n.length;r++){var o=n[r];if(0>t.indexOf(o))throw __DEV__?new i.zU("illegal argument: ".concat(o)):new i.zU(27)}return e}(t)).variables||{},extensions:r.extensions||{},operationName:r.operationName,query:r.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.n4)(s.query)||void 0:""),u=(0,n.Cl)({},c),Object.defineProperty(s,"setContext",{enumerable:!1,value:function(e){u="function"==typeof e?(0,n.Cl)((0,n.Cl)({},u),e(u)):(0,n.Cl)((0,n.Cl)({},u),e)}}),Object.defineProperty(s,"getContext",{enumerable:!1,value:function(){return(0,n.Cl)({},u)}}),s))||o.c.of()},e.concat=function(t,r){var n=c(t);if(u(n))return __DEV__&&i.V1.warn(new l("You are calling concat on a terminating link, which will have no effect",n)),n;var a=c(r);return new e(u(a)?function(e){return n.request(e,function(e){return a.request(e)||o.c.of()})||o.c.of()}:function(e,t){return n.request(e,function(e){return a.request(e,t)||o.c.of()})||o.c.of()})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw __DEV__?new i.zU("request is not implemented"):new i.zU(22)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}()},72896:(e,t,r)=>{r.d(t,{P:()=>a});var n=r(50728),i=r(13524),o=r(83065),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)},83065:(e,t,r)=>{r.d(t,{$:()=>C});var n=r(50728),i=r(3479),o=r(52280),a=r(13524),s=r(10275),c=r(24726),u=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=__DEV__?new i.zU("Network request failed. ".concat(t," is not serializable: ").concat(e.message)):new i.zU(24);throw n.parseError=e,n}return r},l=r(93856);function f(e){var t={next:function(){return e.read()}};return l.uJ&&(t[Symbol.asyncIterator]=function(){return this}),t}var h=function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n},p=r(56354),d=r(23188),v=Object.prototype.hasOwnProperty;function y(e,t){e.status>=300&&h(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}function m(e,t){var r,n;"AbortError"!==e.name&&(e.result&&e.result.errors&&e.result.data&&(null===(r=t.next)||void 0===r||r.call(t,e.result)),null===(n=t.error)||void 0===n||n.call(t,e))}var b=function(e){if(!e&&"undefined"==typeof fetch)throw __DEV__?new i.zU("\n\"fetch\" has not been found globally and no fetcher has been configured. To fix this, install a fetch package (like https://www.npmjs.com/package/cross-fetch), instantiate the fetcher, and pass it into your HttpLink constructor. For example:\n\nimport fetch from 'cross-fetch';\nimport { ApolloClient, HttpLink } from '@apollo/client';\nconst client = new ApolloClient({\n  link: new HttpLink({ uri: '/graphql', fetch })\n});\n    "):new i.zU(23)},g=r(71410),_={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},w=function(e,t){return t(e)},O=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}};function k(e){return new c.c(function(t){t.error(e)})}var S=r(31745),E=(0,i.no)(function(){return fetch}),C=function(e){void 0===e&&(e={});var t=e.uri,r=void 0===t?"/graphql":t,C=e.fetch,D=e.print,x=void 0===D?w:D,V=e.includeExtensions,T=e.preserveHeaderCase,q=e.useGETForQueries,R=e.includeUnusedVariables,F=void 0!==R&&R,I=(0,n.Tt)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);__DEV__&&b(C||E);var P={http:{includeExtensions:V,preserveHeaderCase:T},options:I.fetchOptions,credentials:I.credentials,headers:I.headers};return new a.C(function(e){var t,a,b,w,D=(t=e,a=r,t.getContext().uri||("function"==typeof a?a(t):a||"/graphql")),V=e.getContext(),T={};if(V.clientAwareness){var R=V.clientAwareness,I=R.name,Q=R.version;I&&(T["apollographql-client-name"]=I),Q&&(T["apollographql-client-version"]=Q)}var j=(0,n.Cl)((0,n.Cl)({},T),V.headers),M=function(e,t){for(var r=[],i=2;i<arguments.length;i++)r[i-2]=arguments[i];var o={},a={};r.forEach(function(e){o=(0,n.Cl)((0,n.Cl)((0,n.Cl)({},o),e.options),{headers:(0,n.Cl)((0,n.Cl)({},o.headers),e.headers)}),e.credentials&&(o.credentials=e.credentials),a=(0,n.Cl)((0,n.Cl)({},a),e.http)}),o.headers&&(o.headers=function(e,t){if(!t){var r=Object.create(null);
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n=Object.create(null);Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i=Object.create(null);return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(o.headers,a.preserveHeaderCase));var s=e.operationName,c=e.extensions,u=e.variables,l=e.query,f={operationName:s,variables:u};return a.includeExtensions&&(f.extensions=c),a.includeQuery&&(f.query=t(l,g.y)),{options:o,body:f}}(e,x,_,P,{http:V.http,options:V.fetchOptions,credentials:V.credentials,headers:j}),N=M.options,A=M.body;if(A.variables&&!F){var L=new Set(Object.keys(A.variables));(0,o.YR)(e.query,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&L.delete(e.name.value)}}),L.size&&(A.variables=(0,n.Cl)({},A.variables),L.forEach(function(e){delete A.variables[e]}))}if(!N.signal){var z=O(),U=z.controller,W=z.signal;(w=U)&&(N.signal=W)}var B="OperationDefinition"===(b=(0,S.Vn)(e.query)).kind&&"subscription"===b.operation,H=(0,s.d8)(["defer"],e.query);if(q&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(N.method="GET"),H||B){N.headers=N.headers||{};var Y="multipart/mixed;";B&&H&&__DEV__&&i.V1.warn("Multipart-subscriptions do not support @defer"),B?Y+="boundary=graphql;subscriptionSpec=1.0,application/json":H&&(Y+="deferSpec=20220824,application/json"),N.headers.accept=Y}if("GET"===N.method){var J=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=u(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var o=void 0;try{o=u(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",o)}var a="",s=e,c=e.indexOf("#");-1!==c&&(a=e.substr(c),s=e.substr(0,c));var l=-1===s.indexOf("?")?"?":"&";return{newURI:s+l+r.join("&")+a}}(D,A),K=J.newURI,G=J.parseError;if(G)return k(G);D=K}else try{N.body=u(A,"Payload")}catch(e){return k(e)}return new c.c(function(t){return(C||(0,i.no)(function(){return fetch})||E)(D,N).then(function(r){e.setContext({response:r});var i,o=null===(i=r.headers)||void 0===i?void 0:i.get("content-type");return null!==o&&/^multipart\/mixed/i.test(o)?function(e,t){var r,i,o,a,s;return(0,n.sH)(this,void 0,void 0,function(){var c,u,h,v,b,g,_,w,O,k,S,E,C,D,x,V,T,q,R,F,I;return(0,n.YH)(this,function(P){switch(P.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");c=new TextDecoder("utf-8"),u=null===(r=e.headers)||void 0===r?void 0:r.get("content-type"),h="boundary=",v=(null==u?void 0:u.includes(h))?null==u?void 0:u.substring((null==u?void 0:u.indexOf(h))+h.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",b="--".concat(v),g="",_=function(e){var t,r,n,i,o,a,s=e;if(e.body&&(s=e.body),t=s,l.uJ&&t[Symbol.asyncIterator])return n=s[Symbol.asyncIterator](),(r={next:function(){return n.next()}})[Symbol.asyncIterator]=function(){return this},r;if(s.getReader)return f(s.getReader());if(s.stream)return f(s.stream().getReader());if(s.arrayBuffer)return i=s.arrayBuffer(),o=!1,a={next:function(){return o?Promise.resolve({value:void 0,done:!0}):(o=!0,new Promise(function(e,t){i.then(function(t){e({value:t,done:!1})}).catch(t)}))}},l.uJ&&(a[Symbol.asyncIterator]=function(){return this}),a;if(s.pipe)return function(e){var t=null,r=null,n=!1,i=[],o=[];function a(e){if(!r){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}i.push(e)}}function s(e){r=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){n=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",a),e.removeListener("error",s),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",a),e.on("error",s),e.on("end",c),e.on("finish",c),e.on("close",c);var u={next:function(){return new Promise(function(e,t){return r?t(r):i.length?e({value:i.shift(),done:!1}):n?e({value:void 0,done:!0}):void o.push([e,t])})}};return l.uJ&&(u[Symbol.asyncIterator]=function(){return this}),u}(s);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),w=!0,P.label=1;case 1:if(!w)return[3,3];return[4,_.next()];case 2:for(k=(O=P.sent()).value,S=O.done,E="string"==typeof k?k:c.decode(k),w=!S,g+=E,C=g.indexOf(b);C>-1;){if(D=void 0,D=(F=[g.slice(0,C),g.slice(C+b.length)])[0],g=F[1],D.trim()){if(x=D.indexOf("\r\n\r\n"),(V=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(D.slice(0,x))["content-type"])&&-1===V.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1T=D.slice(x);try{q=y(e,T.replace("\r\n","")),Object.keys(q).length>1||"data"in q||"incremental"in q||"errors"in q||"payload"in q?(0,d.Nw)(q)?(R={},"payload"in q&&(R=(0,n.Cl)({},q.payload)),"errors"in q&&(R=(0,n.Cl)((0,n.Cl)({},R),{extensions:(0,n.Cl)((0,n.Cl)({},"extensions"in R?R.extensions:null),((I={})[p.K$]=q.errors,I))})),null===(i=t.next)||void 0===i||i.call(t,R)):null===(o=t.next)||void 0===o||o.call(t,q):1===Object.keys(q).length&&"hasNext"in q&&!q.hasNext&&(null===(a=t.complete)||void 0===a||a.call(t))}catch(e){m(e,t)}}C=g.indexOf(b)}return[3,1];case 3:return null===(s=t.complete)||void 0===s||s.call(t),[2]}})})}(r,t):function(e,t,r){var n;(n=e).text().then(function(e){return y(n,e)}).then(function(e){return n.status>=300&&h(n,e,"Response not successful: Received status code ".concat(n.status)),Array.isArray(e)||v.call(e,"data")||v.call(e,"errors")||h(n,e,"Server response was missing for query '".concat(Array.isArray(t)?t.map(function(e){return e.operationName}):t.operationName,"'.")),e}).then(function(e){var t,n;null===(t=r.next)||void 0===t||t.call(r,e),null===(n=r.complete)||void 0===n||n.call(r)}
1).catch(function(e){return m(e,r)})}(r,e,t)}).catch(function(e){return m(e,t)}),function(){w&&w.abort()}})})}},3882:(e,t,r)=>{r.d(t,{ez:()=>p});var n,i=r(50728),o=r(3479),a=r(71410),s=r(13524),c=r(16263),u=r(92700),l=r(24726);function f(e){var t=Object.create(null);return(0,c.E)(e)&&e.forEach(function(e){return t[e.message]=e}),t}n||(n={});var h={disable:function(e){var t=e.graphQLErrors,r=e.operation,n=f(t);if(n.PersistedQueryNotSupported)return!0;if(n.PersistedQueryNotFound)return!1;var i=r.getContext().response;return!!i&&!!i.status&&(400===i.status||500===i.status)},useGETForHashedQueries:!1},p=function(e){var t=new WeakMap;__DEV__?(0,o.V1)(e&&("function"==typeof e.sha256||"function"==typeof e.generateHash),'Missing/invalid "sha256" or "generateHash" function. Please configure one using the "createPersistedQueryLink(options)" options parameter.'):(0,o.V1)(e&&("function"==typeof e.sha256||"function"==typeof e.generateHash),25);var r=(0,u.o)(h,e),n=r.sha256,p=r.generateHash,d=void 0===p?function(e){return Promise.resolve(n((0,a.y)(e)))}:p,v=r.disable,y=r.useGETForHashedQueries,m=!0,b=function(e){return new Promise(function(t){return t(d(e))})};return new s.C(function(e,r){__DEV__?(0,o.V1)(r,"PersistedQueryLink cannot be the last link in the chain."):(0,o.V1)(r,26);var n=e.query;return new l.c(function(o){var a,s,u=!1,l=!1,h=function(t,n){var i=t.response,o=t.networkError;if(!u&&(i&&i.errors||o)){u=!0;var h=[],d=i&&i.errors;(0,c.E)(d)&&h.push.apply(h,d);var y=void 0;if("string"!=typeof(null==o?void 0:o.result)&&(y=o&&o.result&&o.result.errors),(0,c.E)(y)&&h.push.apply(h,y),m=!v({response:i,networkError:o,operation:e,graphQLErrors:(0,c.E)(h)?h:void 0}),f(h).PersistedQueryNotFound||!m){a&&a.unsubscribe(),e.setContext({http:{includeQuery:!0,includeExtensions:m},fetchOptions:{method:"POST"}}),l&&e.setContext({fetchOptions:s}),a=r(e).subscribe(p);return}}n()},p={next:function(e){h({response:e},function(){return o.next(e)})},error:function(e){h({networkError:e},function(){return o.error(e)})},complete:o.complete.bind(o)};return e.setContext({http:{includeQuery:!m,includeExtensions:m}}),y&&m&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(e.setContext(function(e){var t=e.fetchOptions,r=void 0===t?{}:t;return s=r,{fetchOptions:(0,i.Cl)((0,i.Cl)({},r),{method:"GET"})}}),l=!0),m?(function(e){if(!e||"object"!=typeof e)return b(e);var r=t.get(e);return r||t.set(e,r=b(e)),r})(n).then(function(t){e.extensions.persistedQuery={version:1,sha256Hash:t},a=r(e).subscribe(p)}).catch(o.error.bind(o)):a=r(e).subscribe(p),function(){a&&a.unsubscribe()}})})}},3082:(e,t,r)=>{r.d(t,{m:()=>i});var n=Object.prototype.toString;function i(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var o=Object.create(Object.getPrototypeOf(t));return r.set(t,o),Object.keys(t).forEach(function(n){o[n]=e(t[n],r)}),o;default:return t}}(e)}},23188:(e,t,r)=>{r.d(t,{Nw:()=>c,ST:()=>a,YX:()=>s,bd:()=>u});var n=r(63985),i=r(16263),o=r(96495);function a(e){return"incremental"in e}function s(e){return a(e)||"hasNext"in e&&"data"in e}function c(e){return(0,n.U)(e)&&"payload"in e}function u(e,t){var r=e,n=new o.ZI;return a(t)&&(0,i.E)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}r=n.merge(r,t)}),r}},39765:(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))}},96495:(e,t,r)=>{r.d(t,{D9:()=>a,IM:()=>s,ZI:()=>u});var n=r(50728),i=r(63985),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new u,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var c=function(e,t,r){return this.merge(e[r],t[r])},u=function(){function e(e){void 0===e&&(e=c),this.reconciler=e,this.isObject=i.U,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var r=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.U)(t)&&(0,i.U)(e)?(Object.keys(t).forEach(function(i){if(o.c
1all(e,i)){var s=e[i];if(t[i]!==s){var c=r.reconciler.apply(r,(0,n.fX)([e,t,i],a,!1));c!==s&&((e=r.shallowCopyForMerge(e))[i]=c)}}else(e=r.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.U)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,n.Cl)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}()},10275:(e,t,r)=>{r.d(t,{MS:()=>o,d8:()=>a,f2:()=>s});var n=r(3479),i=r(52280);function o(e,t){var r,i=e.directives;return!i||!i.length||(r=[],i&&i.length&&i.forEach(function(e){var t;if(!("skip"!==(t=e.name.value)&&"include"!==t)){var i=e.arguments,o=e.name.value;__DEV__?(0,n.V1)(i&&1===i.length,"Incorrect number of arguments for the @".concat(o," directive.")):(0,n.V1)(i&&1===i.length,41);var a=i[0];__DEV__?(0,n.V1)(a.name&&"if"===a.name.value,"Invalid argument for the @".concat(o," directive.")):(0,n.V1)(a.name&&"if"===a.name.value,42);var s=a.value;__DEV__?(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),"Argument for the @".concat(o," directive must be a variable or a boolean value.")):(0,n.V1)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),43),r.push({directive:e,ifArgument:a})}}),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],__DEV__?(0,n.V1)(void 0!==o,"Invalid variable referenced in @".concat(r.name.value," directive.")):(0,n.V1)(void 0!==o,40)):o=i.value.value,"skip"===r.name.value?!o:o})}function a(e,t,r){var n=new Set(e),o=n.size;return(0,i.YR)(t,{Directive:function(e){if(n.delete(e.name.value)&&(!r||!n.size))return i.sP}}),r?!n.size:n.size<o}function s(e){return e&&a(["client","export"],e,!0)}},33688:(e,t,r)=>{r.d(t,{HQ:()=>s,JG:()=>a,ct:()=>o});var n=r(50728),i=r(3479);function o(e,t){var r=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw __DEV__?new i.zU("Found a ".concat(e.operation," operation").concat(e.name?" named '".concat(e.name.value,"'"):"",". ")+"No operations are allowed when using a fragment as a query. Only fragments are allowed."):new i.zU(44);"FragmentDefinition"===e.kind&&o.push(e)}),void 0===r&&(__DEV__?(0,i.V1)(1===o.length,"Found ".concat(o.length," fragments. `fragmentName` must be provided when there is not exactly 1 fragment.")):(0,i.V1)(1===o.length,45),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 a(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function s(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 __DEV__?(0,i.V1)(n,"No fragment named ".concat(r)):(0,i.V1)(n,46),n||null;default:return null}}},31745:(e,t,r)=>{r.d(t,{AT:()=>u,E4:()=>l,Vn:()=>f,Vu:()=>a,n4:()=>s,sw:()=>o,wY:()=>h,zK:()=>c});var n=r(3479),i=r(56875);function o(e){__DEV__?(0,n.V1)(e&&"Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.V1)(e&&"Document"===e.kind,47);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw __DEV__?new n.zU('Schema type definitions not allowed in queries. Found: "'.concat(e.kind,'"')):new n.zU(48);return e});return __DEV__?(0,n.V1)(t.length<=1,"Ambiguous GraphQL document: contains ".concat(t.length," operations")):(0,n.V1)(t.length<=1,49),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 c(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function u(e){var t=a(e);return __DEV__?(0,n.V1)(t&&"query"===t.operation,"Must contain a query definition."):(0,n.V1)(t&&"query"===t.operation,50),t}function l(e){__DEV__?(0,n.V1)("Document"===e.kind,'Expecting a parsed GraphQL document. Perhaps you need to wrap the query string in a "gql" tag? http://docs.apollostack.com/apollo-client/core.html#gql'):(0,n.V1)("Document"===e.kind,51),__DEV__?(0,n.V1)(e.definitions.length<=1,"Fragment must have exactly one definition."):(0,n.V1)(e.definitions.length<=1,52);var t=e.definitions[0];return __DEV__?(0,n.V1)("FragmentDefinition"===t.kind,"Must be a fragment definition."):(0,n.V1)("FragmentDefinition"===t.kind,53),t}function f(e){o(e);for(var t,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 __DEV__?new n.zU("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment."):new n.zU(54)}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}},56875:(e,t,r)=>{r.d(t,{A_:()=>s,D$:()=>function e(t,r,n){if("string"==typeof t.__typename)return t.__typename;for(var i=0,a=r.selections;i<a.length;i++){var s=a[i];if(m(s)){if("__typename"===s.name.value)return t[y(s)]}else{var c=e(t,(0,o.HQ)(s,n).selectionSet,n);if("string"==typeof c)return c}}},Ii:()=>l,J:()=>u,Kc:()=>c,MB:()=>v,WU:()=>a,dt:()=>m,kd:()=>b,o5:()=>h,ue:()=>y});var n=r(3479),i=r(63985),o=r(33688);function a(e){return{__ref:String(e)}}function s(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function c(e){return(0,i.U)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}
1function u(e,t,r,i){if("IntValue"===r.kind||"FloatValue"===r.kind)e[t.value]=Number(r.value);else if("BooleanValue"===r.kind||"StringValue"===r.kind)e[t.value]=r.value;else if("ObjectValue"===r.kind){var o={};r.fields.map(function(e){return u(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===r.kind){var a=(i||{})[r.name.value];e[t.value]=a}else if("ListValue"===r.kind)e[t.value]=r.values.map(function(e){var r={};return u(r,t,e,i),r[t.value]});else if("EnumValue"===r.kind)e[t.value]=r.value;else if("NullValue"===r.kind)e[t.value]=null;else throw __DEV__?new n.zU('The inline argument "'.concat(t.value,'" of kind "').concat(r.kind,'"')+"is not supported. Use variables instead of inline arguments to overcome this limitation."):new n.zU(55)}function l(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,o=n.value;return u(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 u(n,r,i,t)})),h(e.name.value,n,r)}var f=["connection","include","skip","client","rest","export"],h=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;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),")")}var o=e;if(t){var a=p(t);o+="(".concat(a,")")}return r&&Object.keys(r).forEach(function(e){-1===f.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}}),p=function(e){return JSON.stringify(e,d)};function d(e,t){return(0,i.U)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(e,r){return e[r]=t[r],e},{})),t}function v(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return u(r,e.name,e.value,t)}),r}return null}function y(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function b(e){return"InlineFragment"===e.kind}},68357:(e,t,r)=>{r.d(t,{XY:()=>d,er:()=>b,hX:()=>y,zc:()=>m});var n=r(50728),i=r(3479),o=r(35543),a=r(52280),s=r(31745),c=r(56875),u=r(33688),l=r(16263),f={kind:o.b.FIELD,name:{kind:o.b.NAME,value:"__typename"}};function h(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function p(e,t){for(var r,c,f,p=h(""),d=h(""),v=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,l.c)(r)){if(r.kind===o.b.OPERATION_DEFINITION)return p(r.name&&r.name.value);if(r.kind===o.b.FRAGMENT_DEFINITION)return d(r.name.value)}return __DEV__&&i.V1.error("Could not find operation or fragment"),null},y=0,m=t.definitions.length-1;m>=0;--m)t.definitions[m].kind===o.b.OPERATION_DEFINITION&&++y;var b=(r=new Set,c=[],e.forEach(function(e){e.name?r.add(e.name):e.test&&c.push(e.test)}),function(e){return r.has(e.name.value)||c.some(function(t){return t(e)})}),g=e.some(function(e){return e.remove}),_=function(e){return g&&e&&e.some(b)},w=new Map,O=!1,k={enter:function(e){if(_(e.directives))return O=!0,null}},S=(0,a.YR)(t,{Field:k,InlineFragment:k,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var o=v(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(_(e.directives))return O=!0,null;var o=v(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){w.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===w.get(JSON.stringify(n))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.b.FIELD&&"__typename"===e.name.value})?(d(e.name.value).removed=!0,O=!0,null):void 0}},Directive:{leave:function(e){if(b(e))return O=!0,null}}});if(!O)return t;var E=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){E(d(t)).transitiveVars.forEac
1h(function(t){e.transitiveVars.add(t)})})),e},C=new Set;S.definitions.forEach(function(e){e.kind===o.b.OPERATION_DEFINITION?E(p(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){C.add(e)}):e.kind!==o.b.FRAGMENT_DEFINITION||0!==y||d(e.name.value).removed||C.add(e.name.value)}),C.forEach(function(e){E(d(e)).fragmentSpreads.forEach(function(e){C.add(e)})});var D={enter:function(e){var t;if(t=e.name.value,!C.has(t)||d(t).removed)return null}};return f=(0,a.YR)(S,{FragmentSpread:D,FragmentDefinition:D,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=E(p(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,n.Cl)((0,n.Cl)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.b.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,s.Vu)(f)||(0,s.E4)(f),(0,u.JG)((0,s.zK)(f)))?f:null}var d=Object.assign(function(e){return(0,a.YR)(e,{SelectionSet:{enter:function(e,t,r){if(!r||r.kind!==o.b.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,c.dt)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,c.dt)(r)&&r.directives&&r.directives.some(function(e){return"export"===e.name.value})))return(0,n.Cl)((0,n.Cl)({},e),{selections:(0,n.fX)((0,n.fX)([],i,!0),[f],!1)})}}}})},{added:function(e){return e===f}}),v={test:function(e){var t="connection"===e.name.value;return t&&(!e.arguments||!e.arguments.some(function(e){return"key"===e.name.value}))&&__DEV__&&i.V1.warn("Removing an @connection directive even though it does not have a key. You may want to use the key parameter to specify a store key."),t}};function y(e){return p([v],(0,s.sw)(e))}function m(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 b(e){return(0,s.sw)(e),p([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},29082:(e,t,r)=>{r.d(t,{DX:()=>u});let n=null,i={},o=1;function a(e){try{return e()}catch(e){}}let s="@wry/context:Slot",c=a(()=>globalThis)||a(()=>global)||Object.create(null),u=c[s]||Array[s]||function(e){try{Object.defineProperty(c,s,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",o++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=n;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===i)break;return e!==n&&(n.slots[this.id]=t),!0}return n&&(n.slots[this.id]=i),!1}getValue(){if(this.hasValue())return n.slots[this.id]}withValue(e,t,r,i){let o={__proto__:null,[this.id]:e},a=n;n={parent:a,slots:o};try{return t.apply(i,r)}finally{n=a}}static bind(e){let t=n;return function(){let r=n;try{return n=t,e.apply(this,arguments)}finally{n=r}}}static noContext(e,t,r){if(!n)return e.apply(r,t);{let i=n;try{return n=null,e.apply(r,t)}finally{n=i}}}}),{bind:l,noContext:f}=u},58340:(e,t,r)=>{r.d(t,{sc:()=>o});let n=e=>{let t=new DataView(e),r="";for(let e=0;e<t.byteLength;e+=4)r+=t.getUint32(e).toString(16).padStart(8,"0");return r},i=e=>async(t,{outputFormat:r="hex"}={})=>{"string"==typeof t&&(t=new globalThis.TextEncoder().encode(t));let i=await globalThis.crypto.subtle.digest(e,t);return"hex"===r?n(i):i};i("SHA-1");let o=i("SHA-256");i("SHA-384"),i("SHA-512")},71410:(e,t,r)=>{r.d(t,{y:()=>o});var n=r(52280),i=r(54338);function o(e){return(0,n.YR)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return c(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=l("(",c(e.variableDefinitions,", "),")"),i=c(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?c([t,c([r,n]),i,o]," "):o},VariableDefinition:function(e){var t=e.variable,r=e.type,n=e.defaultValue,i=e.directives;return t+": "+r+l(" = ",n)+l(" ",c(i," "))},SelectionSet:function(e){return u(e.selections)},Field:function(e){var t=e.alias,r=e.name,n=e.arguments,i=e.directives,o=e.selectionSet,a=l("",t,": ")+r,s=a+l("(",c(n,", "),")");return s.length>80&&(s=a+l("(\n",f(c(n,"\n")),"\n)")),c([s,c(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value}
1,FragmentSpread:function(e){return"..."+e.name+l(" ",c(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return c(["...",l("on ",t),c(r," "),n]," ")},FragmentDefinition:function(e){var t=e.name,r=e.typeCondition,n=e.variableDefinitions,i=e.directives,o=e.selectionSet;return"fragment ".concat(t).concat(l("(",c(n,", "),")")," ")+"on ".concat(r," ").concat(l("",c(i," ")," "))+o},IntValue:function(e){return e.value},FloatValue:function(e){return e.value},StringValue:function(e,t){var r=e.value;return e.block?(0,i.yo)(r,"description"===t?"":"  "):JSON.stringify(r)},BooleanValue:function(e){return e.value?"true":"false"},NullValue:function(){return"null"},EnumValue:function(e){return e.value},ListValue:function(e){return"["+c(e.values,", ")+"]"},ObjectValue:function(e){return"{"+c(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",c(e.arguments,", "),")")},NamedType:function(e){return e.name},ListType:function(e){return"["+e.type+"]"},NonNullType:function(e){return e.type+"!"},SchemaDefinition:s(function(e){var t=e.directives,r=e.operationTypes;return c(["schema",c(t," "),u(r)]," ")}),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s(function(e){return c(["scalar",e.name,c(e.directives," ")]," ")}),ObjectTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["type",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")}),FieldDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(p(r)?l("(\n",f(c(r,"\n")),"\n)"):l("(",c(r,", "),")"))+": "+n+l(" ",c(i," "))}),InputValueDefinition:s(function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return c([t+": "+r,l("= ",n),c(i," ")]," ")}),InterfaceTypeDefinition:s(function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["interface",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")}),UnionTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.types;return c(["union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")}),EnumTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.values;return c(["enum",t,c(r," "),u(n)]," ")}),EnumValueDefinition:s(function(e){return c([e.name,c(e.directives," ")]," ")}),InputObjectTypeDefinition:s(function(e){var t=e.name,r=e.directives,n=e.fields;return c(["input",t,c(r," "),u(n)]," ")}),DirectiveDefinition:s(function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(p(r)?l("(\n",f(c(r,"\n")),"\n)"):l("(",c(r,", "),")"))+(n?" repeatable":"")+" on "+c(i," | ")}),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return c(["extend schema",c(t," "),u(r)]," ")},ScalarTypeExtension:function(e){return c(["extend scalar",e.name,c(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["extend type",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return c(["extend interface",t,l("implements ",c(r," & ")),c(n," "),u(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return c(["extend union",t,c(r," "),n&&0!==n.length?"= "+c(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return c(["extend enum",t,c(r," "),u(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return c(["extend input",t,c(r," "),u(n)]," ")}};function s(e){return function(t){return c([t.description,e(t)],"\n")}}function c(e){var t,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";return null!==(t=null==e?void 0:e.filter(function(e){return e}).join(r))&&void 0!==t?t:""}function u(e){return l("{\n",f(c(e,"\n")),"\n}")}function l(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return null!=t&&""!==t?e+t+r:""}function f(e){return l("  ",e.replace(/\n/g,"\n  "))}function h(e){return -1!==e.indexOf("\n")}function p(e){return null!=e&&e.some(h)}},52280:(e,t,r)=>{r.d(t,{YR:()=>s,sP:()=>a});var n=r(23870),i=r(12486),o={Name:[],Document:["definitions"],OperationDefinition:["name","variableDefinitions","directives","selectionSet"],VariableDefinition:["variable","type","defaultValue","directives"],Variable:["name"],SelectionSet:["selections"],Field:["alias","name","arguments","directives","selectionSet"],Argument:["name","value"],FragmentSpread:["name","directives"],InlineFragment:["typeCondition","directives","selectionSet"],FragmentDefinition:["name","variableDefinitions","typeCondition","directives","selectionSet"],IntValue:[],Float
1Value:[],StringValue:[],BooleanValue:[],NullValue:[],EnumValue:[],ListValue:["values"],ObjectValue:["fields"],ObjectField:["name","value"],Directive:["name","arguments"],NamedType:["name"],ListType:["type"],NonNullType:["type"],SchemaDefinition:["description","directives","operationTypes"],OperationTypeDefinition:["type"],ScalarTypeDefinition:["description","name","directives"],ObjectTypeDefinition:["description","name","interfaces","directives","fields"],FieldDefinition:["description","name","arguments","type","directives"],InputValueDefinition:["description","name","type","defaultValue","directives"],InterfaceTypeDefinition:["description","name","interfaces","directives","fields"],UnionTypeDefinition:["description","name","directives","types"],EnumTypeDefinition:["description","name","directives","values"],EnumValueDefinition:["description","name","directives"],InputObjectTypeDefinition:["description","name","directives","fields"],DirectiveDefinition:["description","name","arguments","locations"],SchemaExtension:["directives","operationTypes"],ScalarTypeExtension:["name","directives"],ObjectTypeExtension:["name","interfaces","directives","fields"],InterfaceTypeExtension:["name","interfaces","directives","fields"],UnionTypeExtension:["name","directives","types"],EnumTypeExtension:["name","directives","values"],InputObjectTypeExtension:["name","directives","fields"]},a=Object.freeze({});function s(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:o,s=void 0,c=Array.isArray(e),u=[e],l=-1,f=[],h=void 0,p=void 0,d=void 0,v=[],y=[],m=e;do{var b,g=++l===u.length,_=g&&0!==f.length;if(g){if(p=0===y.length?void 0:v[v.length-1],h=d,d=y.pop(),_){if(c)h=h.slice();else{for(var w={},O=0,k=Object.keys(h);O<k.length;O++){var S=k[O];w[S]=h[S]}h=w}for(var E=0,C=0;C<f.length;C++){var D=f[C][0],x=f[C][1];c&&(D-=E),c&&null===x?(h.splice(D,1),E++):h[D]=x}}l=s.index,u=s.keys,f=s.edits,c=s.inArray,s=s.prev}else{if(p=d?c?l:u[l]:void 0,null==(h=d?d[p]:m))continue;d&&v.push(p)}var V=void 0;if(!Array.isArray(h)){if(!(0,i.Ll)(h))throw Error("Invalid AST Node: ".concat((0,n.A)(h),"."));var T=function(e,t,r){var n=e[t];if(n){if(!r&&"function"==typeof n)return n;var i=r?n.leave:n.enter;if("function"==typeof i)return i}else{var o=r?e.leave:e.enter;if(o){if("function"==typeof o)return o;var a=o[t];if("function"==typeof a)return a}}}(t,h.kind,g);if(T){if((V=T.call(t,h,p,d,v,y))===a)break;if(!1===V){if(!g){v.pop();continue}}else if(void 0!==V&&(f.push([p,V]),!g)){if((0,i.Ll)(V))h=V;else{v.pop();continue}}}}void 0===V&&_&&f.push([p,h]),g?v.pop():(s={inArray:c,index:l,keys:u,edits:f,prev:s},u=(c=Array.isArray(h))?h:null!==(b=r[h.kind])&&void 0!==b?b:[],l=-1,f=[],d&&y.push(d),d=h)}while(void 0!==s);return 0!==f.length&&(m=f[f.length-1][1]),m}},24726:(e,t,r)=>{function n(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function i(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function o(e,t,r){return t&&i(e.prototype,t),r&&i(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}r.d(t,{c:()=>O});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},c=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var u=c("iterator"),l=c("observable"),f=c("species");function h(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function p(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:O}function d(e){d.log?d.log(e):setTimeout(function(){throw e})}function v(e){Promise.resolve().then(function(){try{e()}catch(e){d(e)}})}function y(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var r=h(t,"unsubscribe");r&&r.call(t)}}catch(e){d(e)}}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function b(e,t,r){e._state="running";var n=e._observer;try{var i=h(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(m(e),i)i.call(n,r);else throw r;break;case"complete":m(e),i&&i.call(n)}}catch(e){d(e)}"closed"===e._state?y(e):"running"===e._state&&(e._state="ready")}function g(e,t,r){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:r});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],v(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(b(e,t[r].type,t[r].value),"closed"!==e._state);++r);}}(e)});return}b(e,t,r)}}var _=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new w(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),y(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),w=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){g(this._subscription,"next",e)},t.error=function(e){g(this._subscription,"error",e)},t.complete=function(){g(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),O=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e){n(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),r()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),o.unsubscribe()}},error:n,complete:r})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(p(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this),n=arguments.length>1,i=!1,o=arguments[1],a=o;return new r(function(r){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||n)try{a=e(a,t)}catch(e){return r.error(e)}else a=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=p(this);return new i(function(t){var n,o=0;return function e(a){n=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===r.length?(n=void 0,t.complete()):e(i.from(r[o++]
1))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=p(this);return new r(function(n){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var o=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){n.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&n.complete()}return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var r="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=h(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof O&&o.constructor===r?o:new r(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=h(t,u)))return new r(function(e){v(function(){if(!e.closed){for(var r,o=function(e,t){var r="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e,t){if(e){if("string"==typeof e)return n(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return n(e,void 0)}}(e))){r&&(e=r);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(t));!(r=o()).done;){var a=r.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new r(function(e){v(function(){if(!e.closed){for(var r=0;r<t.length;++r)if(e.next(t[r]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){v(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(O,Symbol("extensions"),{value:{symbol:l,hostReportError:d},configurable:!0})}}]);
2//# sourceMappingURL=14594.647cbb455b8b44c4.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.