(()=>{var e={2634:(e,t,r)=>{"use strict";r.d(t,{ApolloCache:()=>j,Cache:()=>L,InMemoryCache:()=>xe,MissingFieldError:()=>Q,cacheSlot:()=>ce,defaultDataIdFromObject:()=>ye,makeVar:()=>he});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;tthis.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}(),y=new h;function m(e){var t=e.unsubscribe;"function"==typeof t&&(e.unsubscribe=void 0,t())}var b=[];function g(e,t){if(!e)throw new Error(t||"assertion failure")}function E(e){switch(e.length){case 0:throw new Error("unknown value");case 1:return e[0];case 2:throw e[1]}}var O=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&&!S(this))return this.value[0]},e.prototype.recompute=function(e){return g(!this.recomputing,"already recomputing"),function(e){var t=y.getValue();if(t)e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),S(e)?_(t,e):I(t,e)}(this),S(this)?function(e,t){x(e),y.withValue(e,T,[e,t]),function(e,t){if("function"==typeof e.subscribe)try{m(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(e,t)&&function(e){if(e.dirty=!1,S(e))return;k(e)}(e);return E(e.value)}(this,e):E(this.value)},e.prototype.setDirty=function(){this.dirty||(this.dirty=!0,this.value.length=0,w(this),x(this),m(this))},e.prototype.dispose=function(){var e=this;x(this),m(this),this.parents.forEach((function(t){t.setDirty(),N(t,e)}))},e.prototype.dependOn=function(e){e.add(this),this.deps||(this.deps=b.pop()||new Set),this.deps.add(e)},e.prototype.forgetDeps=function(){var e=this;this.deps&&(this.deps.forEach((function(t){return t.delete(e)})),this.deps.clear(),b.push(this.deps),this.deps=null)},e.count=0,e}();function T(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 S(e){return e.dirty||!(!e.dirtyChildren||!e.dirtyChildren.size)}function w(e){e.parents.forEach((function(t){return _(t,e)}))}function k(e){e.parents.forEach((function(t){return I(t,e)}))}function _(e,t){if(g(e.childValues.has(t)),g(S(t)),e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=b.pop()||new Set;e.dirtyChildren.add(t),w(e)}function I(e,t){g(e.childValues.has(t)),g(!S(t));var r,n,i,o=e.childValues.get(t);0===o.length?e.childValues.set(t,t.value.slice(0)):(r=o,n=t.value,(i=r.length)>0&&i===n.length&&r[i-1]===n[i-1]||e.setDirty()),R(e,t),S(e)||k(e)}function R(e,t){var r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(b.length<100&&b.push(r),e.dirtyChildren=null))}function x(e){e.childValues.size>0&&e.childValues.forEach((function(t,r){N(e,r)})),e.forgetDeps(),g(null===e.dirtyChildren)}function N(e,t){t.parents.delete(e),e.childValues.delete(t),R(e,t)}function D(e){var t=new Map,r=e&&e.subscribe;function n(e){var n=y.getValue();if(n){var i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(m(i),i.unsubscribe=r(e))}}return n.dirty=function(e){var r=t.get(e);r&&(r.forEach((function(e){return e.setDirty()})),t.delete(e),m(r))},n}var A=new s("function"==typeof WeakMap);function C(){for(var e=[],t=0;t0){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 ee?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){B.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 ee;)i=i.parent;n.forEach((function(e){return i.delete(e)}))}return n},e.prototype.findChildRefIds=function(e){if(!B.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=new Set([this.data[e]]),n=function(e){return null!==e&&"object"==typeof e};r.forEach((function(e){(0,M.isReference)(e)?t[e.__ref]=!0:n(e)&&Object.values(e).filter(n).forEach(r.add,r)}))}return this.refs[e]},e.prototype.makeCacheKey=function(){for(var e=[],t=0;t0;if(l&&!s)throw c.missing[0];return{result:c.result,missing:c.missing,complete:!l}},e.prototype.isFresh=function(e,t,r,n){if(re(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n);if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t=this,r=e.selectionSet,n=e.objectOrReference,i=e.context;if((0,M.isReference)(n)&&!i.policies.rootTypenamesById[n.__ref]&&!i.store.has(n.__ref))return{result:{},missing:[ne(new V.ej(4),i)]};var o=i.variables,a=i.policies,s=i.store,u=[],c={result:null},l=s.getFieldValue(n,"__typename");function p(){return c.missing||(c.missing=[])}function f(e){var t;return e.missing&&(t=p()).push.apply(t,e.missing),e.result}this.config.addTypename&&"string"==typeof l&&!a.rootIdsByTypename[l]&&u.push({__typename:l});var h=new Set(r.selections);return h.forEach((function(e){var r;if((0,M.shouldInclude)(e,o))if((0,M.isField)(e)){var s=a.readField({fieldName:e.name.value,field:e,variables:i.variables,from:n},i),c=(0,M.resultKeyNameFromField)(e);i.path.push(c);var d=i.clientOnly;i.clientOnly=d||!(!e.directives||!e.directives.some((function(e){return"client"===e.name.value}))),void 0===s?M.addTypenameToDocument.added(e)||p().push(ne(new V.ej(5),i)):Array.isArray(s)?s=f(t.executeSubSelectedArray({field:e,array:s,context:i})):e.selectionSet&&null!=s&&(s=f(t.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:s,context:i}))),void 0!==s&&u.push(((r={})[c]=s,r)),i.clientOnly=d,(0,V.kG)(i.path.pop()===c)}else{var v=(0,M.getFragmentFromSelection)(e,i.fragmentMap);v&&a.fragmentMatches(v,l)&&v.selectionSet.selections.forEach(h.add,h)}})),c.result=(0,M.mergeDeepArray)(u),this.knownResults.set(c.result,r),c},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,i=e.array,o=e.context;function a(e,r){return e.missing&&(t=t||[]).push.apply(t,e.missing),(0,V.kG)(o.path.pop()===r),e.result}return n.selectionSet&&(i=i.filter(o.store.canRead)),{result:i=i.map((function(e,t){return null===e?null:(o.path.push(t),Array.isArray(e)?a(r.executeSubSelectedArray({field:n,array:e,context:o}),t):n.selectionSet?a(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,context:o}),t):((0,V.kG)(o.path.pop()===t),e))})),missing:t}},e}();var oe=function(){function e(e,t){this.cache=e,this.reader=t}return e.prototype.writeToStore=function(e){var t=e.query,r=e.result,n=e.dataId,i=e.store,o=e.variables,a=(0,M.getOperationDefinition)(t),s=new M.DeepMerger;o=(0,q.pi)((0,q.pi)({},(0,M.getDefaultValues)(a)),o);var u=this.processSelectionSet({result:r||Object.create(null),dataId:n,selectionSet:a.selectionSet,mergeTree:{map:new Map},context:{store:i,written:Object.create(null),merge:function(e,t){return s.merge(e,t)},variables:o,varString:JSON.stringify(o),fragmentMap:(0,M.createFragmentMap)((0,M.getFragmentDefinitions)(t))}});if(!(0,M.isReference)(u))throw new V.ej(7);return i.retain(u.__ref),u},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,n=e.result,i=e.selectionSet,o=e.context,a=e.mergeTree,s=this.cache.policies,u=s.identify(n,i,o.fragmentMap),c=u[0],l=u[1];if("string"==typeof(r=r||c)){var p=o.written[r]||(o.written[r]=[]),f=(0,M.makeReference)(r);if(p.indexOf(i)>=0)return f;if(p.push(i),this.reader&&this.reader.isFresh(n,f,i,o))return f}var h=Object.create(null);l&&(h=o.merge(h,l));var d=r&&s.rootTypenamesById[r]||(0,M.getTypenameFromResult)(n,i,o.fragmentMap)||r&&o.store.get(r,"__typename");"string"==typeof d&&(h.__typename=d);var v=new Set(i.selections);if(v.forEach((function(e){var r;if((0,M.shouldInclude)(e,o.variables))if((0,M.isField)(e)){var i=(0,M.resultKeyNameFromField)(e),u=n[i];if(void 0!==u){var c=s.getStoreFieldName({typename:d,fieldName:e.name.value,field:e,variables:o.variables}),l=se(a,c),p=t.processFieldValue(u,e,o,l),f=e.selectionSet&&o.store.getFieldValue(p,"__typename")||void 0,y=s.getMergeFunction(d,e.name.value,f);y?l.info={field:e,typename:d,merge:y}:ue(a,c),h=o.merge(h,((r={})[c]=p,r))}else if(s.usingPossibleTypes&&!(0,M.hasDirectives)(["defer","client"],e))throw new V.ej(8)}else{var m=(0,M.getFragmentFromSelection)(e,o.fragmentMap);m&&s.fragmentMatches(m,d,n,o.variables)&&m.selectionSet.selections.forEach(v.add,v)}})),"string"==typeof r){var y=(0,M.makeReference)(r);return a.map.size&&(h=this.applyMerges(a,y,h,o)),o.store.merge(r,h),y}return h},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?Array.isArray(e)?e.map((function(e,o){var a=i.processFieldValue(e,t,r,se(n,o));return ue(n,o),a})):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):e},e.prototype.applyMerges=function(e,t,r,n,i){var o,a=this;if(e.map.size&&!(0,M.isReference)(r)){var s,u=Array.isArray(r)||!(0,M.isReference)(t)&&!z(t)?void 0:t,c=r;u&&!i&&(i=[(0,M.isReference)(u)?u.__ref:u]);var l=function(e,t){return Array.isArray(e)?"number"==typeof t?e[t]:void 0:n.store.getFieldValue(e,String(t))};e.map.forEach((function(e,t){i&&i.push(t);var r=l(u,t),o=l(c,t),p=a.applyMerges(e,r,o,n,i);p!==o&&(s=s||new Map).set(t,p),i&&(0,V.kG)(i.pop()===t)})),s&&(r=Array.isArray(c)?c.slice(0):(0,q.pi)({},c),s.forEach((function(e,t){r[t]=e})))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,n,i&&(o=n.store).getStorage.apply(o,i)):r},e}(),ae=[];function se(e,t){var r=e.map;return r.has(t)||r.set(t,ae.pop()||{map:new Map}),r.get(t)}function ue(e,t){var r=e.map,n=r.get(t);!n||n.info||n.map.size||(ae.push(n),r.delete(t))}new Set;var ce=new h;function le(e,t){if(e.size){var r=[];e.forEach((function(e){return r.push(e)})),e.clear(),r.forEach(t)}}var pe=new WeakMap;function fe(e){var t=pe.get(e);return t||pe.set(e,t={vars:new Set,dep:D()}),t}function he(e){var t=new Set,r=new Set,n=function(o){if(arguments.length>0)e!==o&&(e=o,t.forEach((function(e){fe(e).dep.dirty(n),de(e)})),le(r,(function(t){return t(e)})));else{var a=ce.getValue();a&&(i(a),fe(a).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),fe(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n}function de(e){e.broadcastWatches&&e.broadcastWatches()}function ve(e){return void 0!==e.args?e.args:e.field?(0,M.argumentsObjectFromField)(e.field,e.variables):null}var ye=function(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=void 0!==n?{id:n}:void 0!==i?{_id:i}:void 0),void 0===n&&(n=i),void 0!==n))return r+":"+("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))},me=function(){},be=function(e,t){return t.fieldName},ge=function(e,t,r){return(0,r.mergeObjects)(e,t)},Ee=function(e,t){return t},Oe=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,q.pi)({dataIdFromObject:ye},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,r){var n=t&&r?(0,M.getTypenameFromResult)(e,t,r):e.__typename;if(n===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var i,o={typename:n,selectionSet:t,fragmentMap:r},a=n&&this.getTypePolicy(n),s=a&&a.keyFn||this.config.dataIdFromObject;s;){var u=s(e,o);if(!Array.isArray(u)){i=u;break}s=ke(u)}return i=i&&String(i),o.keyObject?[i,o.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach((function(r){var n=e[r],i=n.queryType,o=n.mutationType,a=n.subscriptionType,s=(0,q._T)(n,["queryType","mutationType","subscriptionType"]);i&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),a&&t.setRootTypename("Subscription",r),B.call(t.toBeAdded,r)?t.toBeAdded[r].push(s):t.toBeAdded[r]=[s]}))},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?ge:!1===t?Ee:e.merge}a(n,t.merge),n.keyFn=!1===i?me:Array.isArray(i)?ke(i):"function"==typeof i?i:n.keyFn,o&&Object.keys(o).forEach((function(t){var n=r.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?be:Array.isArray(s)?we(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),a(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||be)}))},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,V.kG)(!n||n===e,1),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(G);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))}))}))},e.prototype.getTypePolicy=function(e){var t=this;if(!B.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var n=this.supertypeMap.get(e);n&&n.size&&n.forEach((function(e){var n=t.getTypePolicy(e),i=n.fields,o=(0,q._T)(n,["fields"]);Object.assign(r,o),Object.assign(r.fields,i)}))}var i=this.toBeAdded[e];return i&&i.length&&this.updateTypePolicy(e,M.compact.apply(void 0,i.splice(0))),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 i=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var a=this.getSupertypeSet(t,!0),s=[a],u=function(e){var t=i.getSupertypeSet(e,!1);t&&t.size&&s.indexOf(t)<0&&s.push(t)},c=!(!r||!this.fuzzySubtypes.size),l=0;l{},5765:(e,t,r)=>{"use strict";r.d(t,{f:()=>S,J:()=>T});var n=r(655),i=r(1467),o=r(1707),a=r(496),s=r(6593),u=r(2152),c=r(1498),l=r(6282),p=r(5942),f=r(7304),h=r(2634),d=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;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.mergeDeep)(t.resolvers,e)})):this.resolvers=(0,a.mergeDeep)(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.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(e){return t?[2,this.resolveDocument(t,r.data,i,o,this.fragmentMatcher,s).then((function(e){return(0,n.pi)((0,n.pi)({},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,a.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,a.removeClientSetsFromDocument)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,n.pi)((0,n.pi)({},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.mG)(this,void 0,void 0,(function(){return(0,n.Jh)(this,(function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(r),t).then((function(e){return(0,n.pi)((0,n.pi)({},t),e.exportedVariables)}))]:[2,(0,n.pi)({},t)]}))}))},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,f.Vn)(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 f.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,a.buildQueryFromSelectionSet)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,r,i,o,s){return void 0===r&&(r={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===s&&(s=!1),(0,n.mG)(this,void 0,void 0,(function(){var u,c,l,p,f,h,d,v,y;return(0,n.Jh)(this,(function(m){return u=(0,a.getMainDefinition)(e),c=(0,a.getFragmentDefinitions)(e),l=(0,a.createFragmentMap)(c),p=u.operation,f=p?p.charAt(0).toUpperCase()+p.slice(1):"Query",d=(h=this).cache,v=h.client,y={fragmentMap:l,context:(0,n.pi)((0,n.pi)({},r),{cache:d,client:v}),variables:i,fragmentMatcher:o,defaultOperationType:f,exportedVariables:{},onlyRunForcedResolvers:s},[2,this.resolveSelectionSet(u.selectionSet,t,y).then((function(e){return{result:e,exportedVariables:y.exportedVariables}}))]}))}))},e.prototype.resolveSelectionSet=function(e,t,r){return(0,n.mG)(this,void 0,void 0,(function(){var o,s,u,c,l,p=this;return(0,n.Jh)(this,(function(f){return o=r.fragmentMap,s=r.context,u=r.variables,c=[t],l=function(e){return(0,n.mG)(p,void 0,void 0,(function(){var l,p;return(0,n.Jh)(this,(function(n){return(0,a.shouldInclude)(e,u)?(0,a.isField)(e)?[2,this.resolveField(e,t,r).then((function(t){var r;void 0!==t&&c.push(((r={})[(0,a.resultKeyNameFromField)(e)]=t,r))}))]:((0,a.isInlineFragment)(e)?l=e:(l=o[e.name.value],(0,i.kG)(l,11)),l&&l.typeCondition&&(p=l.typeCondition.name.value,r.fragmentMatcher(t,p,s))?[2,this.resolveSelectionSet(l.selectionSet,t,r).then((function(e){c.push(e)}))]:[2]):[2]}))}))},[2,Promise.all(e.selections.map(l)).then((function(){return(0,a.mergeDeepArray)(c)}))]}))}))},e.prototype.resolveField=function(e,t,r){return(0,n.mG)(this,void 0,void 0,(function(){var i,o,s,u,c,l,p,f,d,v=this;return(0,n.Jh)(this,(function(n){return i=r.variables,o=e.name.value,s=(0,a.resultKeyNameFromField)(e),u=o!==s,c=t[s]||t[o],l=Promise.resolve(c),r.onlyRunForcedResolvers&&!this.shouldForceResolvers(e)||(p=t.__typename||r.defaultOperationType,(f=this.resolvers&&this.resolvers[p])&&(d=f[u?o:s])&&(l=Promise.resolve(h.cacheSlot.withValue(this.cache,d,[t,(0,a.argumentsObjectFromField)(e,i),r.context,{field:e,fragmentMap:r.fragmentMap}])))),[2,l.then((function(t){return void 0===t&&(t=c),e.directives&&e.directives.forEach((function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach((function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(r.exportedVariables[e.value.value]=t)}))})),e.selectionSet?null==t?t:Array.isArray(t)?v.resolveSubSelectedArray(e,t,r):e.selectionSet?v.resolveSelectionSet(e.selectionSet,t,r):void 0:t}))]}))}))},e.prototype.resolveSubSelectedArray=function(e,t,r){var n=this;return Promise.all(t.map((function(t){return null===t?null:Array.isArray(t)?n.resolveSubSelectedArray(e,t,r):e.selectionSet?n.resolveSelectionSet(e.selectionSet,t,r):void 0})))},e}(),v=new(a.canUseWeakMap?WeakMap:Map);function y(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return v.set(e,(v.get(e)+1)%1e15),r.apply(this,arguments)})}function m(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var b=function(){function e(e){this.cache=e,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.diff=null,this.observableQuery=null,v.has(e)||(v.set(e,0),y(e,"evict"),y(e,"modify"),y(e,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||p.I.loading;return this.variables&&this.networkStatus!==p.I.loading&&!(0,u.D)(this.variables,e.variables)&&(t=p.I.setVariables),(0,u.D)(e.variables,this.variables)||(this.diff=null),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(){m(this),this.diff=null,this.dirty=!1},e.prototype.getDiff=function(e){return void 0===e&&(e=this.variables),this.diff&&(0,u.D)(e,this.variables)?this.diff:(this.updateWatch(this.variables=e),this.diff=this.cache.diff({query:this.document,variables:e,returnPartialData:!0,optimistic:!0}))},e.prototype.setDiff=function(e){var t=this,r=this.diff;this.diff=e,this.dirty||(e&&e.result)===(r&&r.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():e.reobserve()})):delete this.oqListener)},e.prototype.notify=function(){var e=this;m(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,p.O)(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.cancel(),delete this.cancel,this.subscriptions.forEach((function(e){return e.unsubscribe()}));var e=this.observableQuery;e&&e.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var r=this.observableQuery;r&&"no-cache"===r.options.fetchPolicy||this.lastWatch&&this.lastWatch.query===this.document&&(0,u.D)(e,this.lastWatch.variables)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch={query:this.document,variables:e,optimistic:!0,callback:function(e){return t.setDiff(e)}}))},e.prototype.shouldWrite=function(e,t){var r=this.lastWrite;return!(r&&r.dmCount===v.get(this.cache)&&(0,u.D)(t,r.variables)&&(0,u.D)(e.data,r.result.data))},e.prototype.markResult=function(e,t,r){var n=this;this.graphQLErrors=(0,a.isNonEmptyArray)(e.errors)?e.errors:[],this.reset(),"no-cache"===t.fetchPolicy?this.diff={result:e.data,complete:!0}:!this.stopped&&r&&(g(e,t.errorPolicy)?this.cache.performTransaction((function(r){if(n.shouldWrite(e,t.variables))r.writeQuery({query:n.document,data:e.data,variables:t.variables}),n.lastWrite={result:e,variables:t.variables,dmCount:v.get(n.cache)};else if(n.diff&&n.diff.complete)return void(e.data=n.diff.result);var i=r.diff({query:n.document,variables:t.variables,returnPartialData:!0,optimistic:!0});n.stopped||n.updateWatch(t.variables),n.diff=i,i.complete&&(e.data=i.result)})):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=p.I.ready},e.prototype.markError=function(e){return this.networkStatus=p.I.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function g(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!(0,a.graphQLResultHasError)(e);return!n&&r&&e.data&&(n=!0),n}var E=Object.prototype.hasOwnProperty,O=function(){function e(e){var t=e.cache,r=e.link,n=e.queryDeduplication,i=void 0!==n&&n,o=e.onBroadcast,s=e.ssrMode,u=void 0!==s&&s,c=e.clientAwareness,l=void 0===c?{}:c,p=e.localState,f=e.assumeImmutableResults;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(a.canUseWeakMap?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map,this.cache=t,this.link=r,this.queryDeduplication=i,this.clientAwareness=l,this.localState=p||new d({cache:t}),this.ssrMode=u,this.assumeImmutableResults=!!f,(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(new i.ej(12))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach((function(t){return t(e)})),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t=e.mutation,r=e.variables,o=e.optimisticResponse,s=e.updateQueries,u=e.refetchQueries,l=void 0===u?[]:u,p=e.awaitRefetchQueries,f=void 0!==p&&p,h=e.update,d=e.errorPolicy,v=void 0===d?"none":d,y=e.fetchPolicy,m=e.context,b=void 0===m?{}:m;return(0,n.mG)(this,void 0,void 0,(function(){var e,u,p;return(0,n.Jh)(this,(function(d){switch(d.label){case 0:return(0,i.kG)(t,13),(0,i.kG)(!y||"no-cache"===y,14),e=this.generateMutationId(),t=this.transform(t).document,r=this.getVariables(t,r),this.transform(t).hasClientExports?[4,this.localState.addExportedVariables(t,r,b)]:[3,2];case 1:r=d.sent(),d.label=2;case 2:return u=this.mutationStore&&(this.mutationStore[e]={mutation:t,variables:r,loading:!0,error:null}),o&&this.markMutationOptimistic(o,{mutationId:e,document:t,variables:r,errorPolicy:v,updateQueries:s,update:h}),this.broadcastQueries(),p=this,[2,new Promise((function(i,d){var m,g;p.getObservableFromLink(t,(0,n.pi)((0,n.pi)({},b),{optimisticResponse:o}),r,!1).subscribe({next:function(n){if((0,a.graphQLResultHasError)(n)&&"none"===v)g=new c.c({graphQLErrors:n.errors});else{if(u&&(u.loading=!1,u.error=null),"no-cache"!==y)try{p.markMutationResult({mutationId:e,result:n,document:t,variables:r,errorPolicy:v,updateQueries:s,update:h})}catch(e){return void(g=new c.c({networkError:e}))}m=n}},error:function(t){u&&(u.loading=!1,u.error=t),o&&p.cache.removeOptimistic(e),p.broadcastQueries(),d(new c.c({networkError:t}))},complete:function(){if(g&&u&&(u.loading=!1,u.error=g),o&&p.cache.removeOptimistic(e),p.broadcastQueries(),g)d(g);else{"function"==typeof l&&(l=l(m));var t=[];(0,a.isNonEmptyArray)(l)&&l.forEach((function(e){if("string"==typeof e)p.queries.forEach((function(r){var n=r.observableQuery;n&&n.hasObservers()&&n.queryName===e&&t.push(n.refetch())}));else{var r={query:e.query,variables:e.variables,fetchPolicy:"network-only"};e.context&&(r.context=e.context),t.push(p.query(r))}})),Promise.all(f?t:[]).then((function(){"ignore"===v&&m&&(0,a.graphQLResultHasError)(m)&&delete m.errors,i(m)}),d)}}})}))]}}))}))},e.prototype.markMutationResult=function(e,t){var r=this;if(void 0===t&&(t=this.cache),g(e.result,e.errorPolicy)){var n=[{result:e.result.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}],i=e.updateQueries;i&&this.queries.forEach((function(o,s){var u=o.observableQuery,c=u&&u.queryName;if(c&&E.call(i,c)){var l=i[c],p=r.queries.get(s),f=p.document,h=p.variables,d=t.diff({query:f,variables:h,returnPartialData:!0,optimistic:!1}),v=d.result;if(d.complete&&v){var y=l(v,{mutationResult:e.result,queryName:f&&(0,a.getOperationName)(f)||void 0,queryVariables:h});y&&n.push({result:y,dataId:"ROOT_QUERY",query:f,variables:h})}}})),t.performTransaction((function(t){n.forEach((function(e){return t.write(e)}));var r=e.update;r&&r(t,e.result)}),null)}},e.prototype.markMutationOptimistic=function(e,t){var r=this,i="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction((function(e){try{r.markMutationResult((0,n.pi)((0,n.pi)({},t),{result:{data:i}}),e)}catch(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),n=(0,a.removeConnectionDirectiveFromDocument)(this.cache.transformForLink(r)),i=this.localState.clientQuery(r),o=n&&this.localState.serverQuery(n),s={document:r,hasClientExports:(0,a.hasClientExports)(r),hasForcedResolvers:this.localState.shouldForceResolvers(r),clientQuery:i,serverQuery:o,defaultVars:(0,a.getDefaultValues)((0,a.getOperationDefinition)(r))},u=function(e){e&&!t.has(e)&&t.set(e,s)};u(e),u(r),u(i),u(o)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,n.pi)((0,n.pi)({},this.transform(e).defaultVars),t)},e.prototype.watchQuery=function(e){void 0===(e=(0,n.pi)((0,n.pi)({},e),{variables:this.getVariables(e.query,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var t=new b(this.cache),r=new l.u({queryManager:this,queryInfo:t,options:e});return this.queries.set(r.queryId,t),t.init({document:e.query,observableQuery:r,variables:e.variables}),r},e.prototype.query=function(e){var t=this;(0,i.kG)(e.query,15),(0,i.kG)("Document"===e.query.kind,16),(0,i.kG)(!e.returnPartialData,17),(0,i.kG)(!e.pollInterval,18);var r=this.generateQueryId();return this.fetchQuery(r,e).finally((function(){return t.stopQuery(r)}))},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(){return this.cancelPendingFetches(new i.ej(19)),this.queries.forEach((function(e){e.observableQuery?e.networkStatus=p.I.loading:e.stop()})),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset()},e.prototype.resetStore=function(){var e=this;return this.clearStore().then((function(){return e.reFetchObservableQueries()}))},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.queries.forEach((function(n,i){var o=n.observableQuery;if(o&&o.hasObservers()){var a=o.options.fetchPolicy;o.resetLastResults(),"cache-only"===a||!e&&"standby"===a||r.push(o.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,s=e.context,u=void 0===s?{}:s;r=this.transform(r).document,o=this.getVariables(r,o);var l=function(e){return t.getObservableFromLink(r,u,e,!1).map((function(o){if("no-cache"!==n&&(g(o,i)&&t.cache.write({query:r,result:o.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries()),(0,a.graphQLResultHasError)(o))throw new c.c({graphQLErrors:o.errors});return o}))};if(this.transform(r).hasClientExports){var p=this.localState.addExportedVariables(r,o,u).then(l);return new a.Observable((function(e){var t=null;return p.then((function(r){return t=r.subscribe(e)}),e.error),function(){return t&&t.unsubscribe()}}))}return l(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.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 s,u,c=this;void 0===i&&(i=null!==(s=null==t?void 0:t.queryDeduplication)&&void 0!==s?s:this.queryDeduplication);var l=this.transform(e).serverQuery;if(l){var p=this.inFlightLinkObservables,f=this.link,h={query:l,variables:r,operationName:(0,a.getOperationName)(l)||void 0,context:this.prepareContext((0,n.pi)((0,n.pi)({},t),{forceFetch:!i}))};if(t=h.context,i){var d=p.get(l)||new Map;p.set(l,d);var v=JSON.stringify(r);if(!(u=d.get(v))){var y=new a.Concast([(0,o.execute)(f,h)]);d.set(v,u=y),y.cleanup((function(){d.delete(v)&&d.size<1&&p.delete(l)}))}}else u=new a.Concast([(0,o.execute)(f,h)])}else u=new a.Concast([a.Observable.of({data:{}})]),t=this.prepareContext(t);var m=this.transform(e).clientQuery;return m&&(u=(0,a.asyncMap)(u,(function(e){return c.localState.runResolvers({document:m,remoteResult:e,context:t,variables:r})}))),u},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId;return(0,a.asyncMap)(this.getObservableFromLink(e.document,r.context,r.variables),(function(i){var o=(0,a.isNonEmptyArray)(i.errors);if(n>=e.lastRequestId){if(o&&"none"===r.errorPolicy)throw e.markError(new c.c({graphQLErrors:i.errors}));e.markResult(i,r,t),e.markReady()}var s={data:i.data,loading:!1,networkStatus:e.networkStatus||p.I.ready};return o&&"ignore"!==r.errorPolicy&&(s.errors=i.errors),s}),(function(t){var r=(0,c.M)(t)?t:new c.c({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r}))},e.prototype.fetchQueryObservable=function(e,t,r){var n=this;void 0===r&&(r=p.I.loading);var i=this.transform(t.query).document,o=this.getVariables(i,t.variables),s=this.getQuery(e),u=s.networkStatus,c=t.fetchPolicy,l=void 0===c?"cache-first":c,f=t.errorPolicy,h=void 0===f?"none":f,d=t.returnPartialData,v=void 0!==d&&d,y=t.notifyOnNetworkStatusChange,m=void 0!==y&&y,b=t.context,g=void 0===b?{}:b;("cache-first"===l||"cache-and-network"===l||"network-only"===l||"no-cache"===l)&&m&&"number"==typeof u&&u!==r&&(0,p.O)(r)&&("cache-first"!==l&&(l="cache-and-network"),v=!0);var E=Object.assign({},t,{query:i,variables:o,fetchPolicy:l,errorPolicy:h,returnPartialData:v,notifyOnNetworkStatusChange:m,context:g}),O=function(e){return E.variables=e,n.fetchQueryByPolicy(s,E,r)};this.fetchCancelFns.set(e,(function(e){Promise.resolve().then((function(){return T.cancel(e)}))}));var T=new a.Concast(this.transform(E.query).hasClientExports?this.localState.addExportedVariables(E.query,E.variables,E.context).then(O):O(E.variables));return T.cleanup((function(){n.fetchCancelFns.delete(e);var r=t.nextFetchPolicy;r&&(t.nextFetchPolicy=void 0,t.fetchPolicy="function"==typeof r?r.call(t,t.fetchPolicy||"cache-first"):r)})),T},e.prototype.fetchQueryByPolicy=function(e,t,r){var i=this,o=t.query,s=t.variables,u=t.fetchPolicy,c=t.errorPolicy,l=t.returnPartialData,f=t.context;e.init({document:o,variables:s,lastRequestId:this.generateRequestId(),networkStatus:r});var h=function(){return e.getDiff(s)},d=function(t,r){void 0===r&&(r=e.networkStatus||p.I.loading);var u=t.result;var c=function(e){return a.Observable.of((0,n.pi)({data:e,loading:(0,p.O)(r),networkStatus:r},t.complete?null:{partial:!0}))};return i.transform(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:u},context:f,variables:s,onlyRunForcedResolvers:!0}).then((function(e){return c(e.data)})):c(u)},v=function(t){return i.getResultsFromLink(e,t,{variables:s,context:f,fetchPolicy:u,errorPolicy:c})};switch(u){default:case"cache-first":return(y=h()).complete?[d(y,e.markReady())]:l?[d(y),v(!0)]:[v(!0)];case"cache-and-network":var y;return(y=h()).complete||l?[d(y),v(!0)]:[v(!0)];case"cache-only":return[d(h(),e.markReady())];case"network-only":return[v(!0)];case"no-cache":return[v(!1)];case"standby":return[]}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new b(this.cache)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,n.pi)((0,n.pi)({},t),{clientAwareness:this.clientAwareness})},e}();function T(e,t){return(0,a.compact)(e,t,t.variables&&{variables:(0,n.pi)((0,n.pi)({},e.variables),t.variables)})}var S=function(){function e(e){var t=this;this.defaultOptions={},this.resetStoreCallbacks=[],this.clearStoreCallbacks=[];var r=e.uri,n=e.credentials,a=e.headers,u=e.cache,c=e.ssrMode,l=void 0!==c&&c,p=e.ssrForceFetchDelay,f=void 0===p?0:p,h=e.connectToDevTools,v=void 0===h?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1:h,y=e.queryDeduplication,m=void 0===y||y,b=e.defaultOptions,g=e.assumeImmutableResults,E=void 0!==g&&g,T=e.resolvers,S=e.typeDefs,w=e.fragmentMatcher,k=e.name,_=e.version,I=e.link;if(I||(I=r?new s.uG({uri:r,credentials:n,headers:a}):o.ApolloLink.empty()),!u)throw new i.ej(9);this.link=I,this.cache=u,this.disableNetworkFetches=l||f>0,this.queryDeduplication=m,this.defaultOptions=b||{},this.typeDefs=S,f&&setTimeout((function(){return t.disableNetworkFetches=!1}),f),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),v&&"object"==typeof window&&(window.__APOLLO_CLIENT__=this),this.version="3.3.13",this.localState=new d({cache:u,client:this,resolvers:T,fragmentMatcher:w}),this.queryManager=new O({cache:this.cache,link:this.link,queryDeduplication:m,ssrMode:l,clientAwareness:{name:k,version:_},localState:this.localState,assumeImmutableResults:E,onBroadcast:v?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=T(this.defaultOptions.watchQuery,e)),!this.disableNetworkFetches||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=T(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,10),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.pi)((0,n.pi)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=T(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){this.cache.writeQuery(e),this.queryManager.broadcastQueries()},e.prototype.writeFragment=function(e){this.cache.writeFragment(e),this.queryManager.broadcastQueries()},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,o.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then((function(){return e.queryManager.clearStore()})).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()})).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.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}()},6282:(e,t,r)=>{"use strict";r.d(t,{u:()=>c});var n=r(655),i=r(1467),o=r(2152),a=r(5942),s=r(496),u=function(){function e(e,t,r,n){this.observer=e,this.options=t,this.fetch=r,this.shouldFetch=n}return e.prototype.reobserve=function(e,t){e?this.updateOptions(e):this.updatePolling();var r=this.fetch(this.options,t);return this.concast&&this.concast.removeObserver(this.observer,!0),r.addObserver(this.observer),(this.concast=r).promise},e.prototype.updateOptions=function(e){return Object.assign(this.options,(0,s.compact)(e)),this.updatePolling(),this},e.prototype.stop=function(){this.concast&&(this.concast.removeObserver(this.observer),delete this.concast),this.pollingInfo&&(clearTimeout(this.pollingInfo.timeout),this.options.pollInterval=0,this.updatePolling())},e.prototype.updatePolling=function(){var e=this,t=this.pollingInfo,r=this.options.pollInterval;if(r){if((!t||t.interval!==r)&&((0,i.kG)(r,20),!1!==this.shouldFetch)){(t||(this.pollingInfo={})).interval=r;var n=function(){e.pollingInfo&&(e.shouldFetch&&e.shouldFetch()?e.reobserve({fetchPolicy:"network-only",nextFetchPolicy:e.options.fetchPolicy||"cache-first"},a.I.poll).then(o,o):o())},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(n,t.interval))};o()}}else t&&(clearTimeout(t.timeout),delete this.pollingInfo)},e}(),c=function(e){function t(t){var r=t.queryManager,i=t.queryInfo,o=t.options,u=e.call(this,(function(e){return u.onSubscribe(e)}))||this;u.observers=new Set,u.subscriptions=new Set,u.observer={next:function(e){(u.lastError||u.isDifferentFromLastResult(e))&&(u.updateLastResult(e),(0,s.iterateObserversSafely)(u.observers,"next",e))},error:function(e){u.updateLastResult((0,n.pi)((0,n.pi)({},u.lastResult),{error:e,errors:e.graphQLErrors,networkStatus:a.I.error,loading:!1})),(0,s.iterateObserversSafely)(u.observers,"error",u.lastError=e)}},u.isTornDown=!1,u.options=o,u.queryId=r.generateQueryId();var c=(0,s.getOperationDefinition)(o.query);return u.queryName=c&&c.name&&c.name.value,u.queryManager=r,u.queryInfo=i,u}return(0,n.ZT)(t,e),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.lastResult,r=this.queryInfo.networkStatus||t&&t.networkStatus||a.I.ready,i=(0,n.pi)((0,n.pi)({},t),{loading:(0,a.O)(r),networkStatus:r});if(this.isTornDown)return i;var o=this.options.fetchPolicy,s=void 0===o?"cache-first":o;if("no-cache"===s||"network-only"===s)delete i.partial;else if(!i.data||!this.queryManager.transform(this.options.query).hasForcedResolvers){var u=this.queryInfo.getDiff();i.data=u.complete||this.options.returnPartialData?u.result:void 0,u.complete?(i.networkStatus!==a.I.loading||"cache-first"!==s&&"cache-only"!==s||(i.networkStatus=a.I.ready,i.loading=!1),delete i.partial):i.partial=!0}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e){return!(0,o.D)(this.lastResultSnapshot,e)},t.prototype.getLastResult=function(){return this.lastResult},t.prototype.getLastError=function(){return this.lastError},t.prototype.resetLastResults=function(){delete this.lastResult,delete this.lastResultSnapshot,delete this.lastError,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t={pollInterval:0},r=this.options.fetchPolicy;return"no-cache"!==r&&"cache-and-network"!==r&&(t.fetchPolicy="network-only",t.nextFetchPolicy=r||"cache-first"),e&&!(0,o.D)(this.options.variables,e)&&(t.variables=this.options.variables=(0,n.pi)((0,n.pi)({},this.options.variables),e)),this.newReobserver(!1).reobserve(t,a.I.refetch)},t.prototype.fetchMore=function(e){var t=this,r=(0,n.pi)((0,n.pi)({},e.query?e:(0,n.pi)((0,n.pi)((0,n.pi)({},this.options),e),{variables:(0,n.pi)((0,n.pi)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"}),i=this.queryManager.generateQueryId();return r.notifyOnNetworkStatusChange&&(this.queryInfo.networkStatus=a.I.fetchMore,this.observe()),this.queryManager.fetchQuery(i,r,a.I.fetchMore).then((function(n){var i=n.data,o=e.updateQuery;return o?t.updateQuery((function(e){return o(e,{fetchMoreResult:i,variables:r.variables})})):t.queryManager.cache.writeQuery({query:r.query,variables:r.variables,data:i}),n})).finally((function(){t.queryManager.stopQuery(i),t.reobserve()}))},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){var i=t.variables;return n(e,{subscriptionData:r,variables:i})}))},error:function(t){e.onError&&e.onError(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){if((0,o.D)(this.variables,e))return this.observers.size?this.result():Promise.resolve();if(this.options.variables=e,!this.observers.size)return Promise.resolve();var t=this.options.fetchPolicy,r=void 0===t?"cache-first":t,n={fetchPolicy:r,variables:e};return"cache-first"!==r&&"no-cache"!==r&&"network-only"!==r&&(n.fetchPolicy="cache-and-network",n.nextFetchPolicy=r),this.reobserve(n,a.I.setVariables)},t.prototype.updateQuery=function(e){var t,r=this.queryManager,n=e(r.cache.diff({query:this.options.query,variables:this.variables,previousResult:null===(t=this.lastResult)||void 0===t?void 0:t.data,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(r.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),r.broadcastQueries())},t.prototype.startPolling=function(e){this.getReobserver().updateOptions({pollInterval:e})},t.prototype.stopPolling=function(){this.reobserver&&this.reobserver.updateOptions({pollInterval:0})},t.prototype.updateLastResult=function(e){var t=this.lastResult;return this.lastResult=e,this.lastResultSnapshot=this.queryManager.assumeImmutableResults?e:(0,s.cloneDeep)(e),(0,s.isNonEmptyArray)(e.errors)||delete this.lastError,t},t.prototype.onSubscribe=function(e){var t=this;if(e===this.observer)return function(){};try{var r=e._subscription._observer;r&&!r.error&&(r.error=l)}catch(e){}var n=!this.observers.size;return this.observers.add(e),this.lastError?e.error&&e.error(this.lastError):this.lastResult&&e.next&&e.next(this.lastResult),n&&this.reobserve().catch((function(e){})),function(){t.observers.delete(e)&&!t.observers.size&&t.tearDownQuery()}},t.prototype.getReobserver=function(){return this.reobserver||(this.reobserver=this.newReobserver(!0))},t.prototype.newReobserver=function(e){var t=this,r=this.queryManager,i=this.queryId;return r.setObservableQuery(this),new u(this.observer,e?this.options:(0,n.pi)({},this.options),(function(e,n){return r.setObservableQuery(t),r.fetchQueryObservable(i,e,n)}),!r.ssrMode&&function(){return!(0,a.O)(t.queryInfo.networkStatus)})},t.prototype.reobserve=function(e,t){return this.isTornDown=!1,this.getReobserver().reobserve(e,t)},t.prototype.observe=function(){this.observer.next(this.getCurrentResult(!1))},t.prototype.hasObservers=function(){return this.observers.size>0},t.prototype.tearDownQuery=function(){this.isTornDown||(this.reobserver&&(this.reobserver.stop(),delete this.reobserver),this.subscriptions.forEach((function(e){return e.unsubscribe()})),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},t}(s.Observable);function l(e){}(0,s.fixObservableSubclass)(c)},1439:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloCache:()=>c.ApolloCache,ApolloClient:()=>n.f,ApolloError:()=>u.c,Cache:()=>c.Cache,HttpLink:()=>f.uG,InMemoryCache:()=>c.InMemoryCache,MissingFieldError:()=>c.MissingFieldError,NetworkStatus:()=>o.I,Observable:()=>d.Observable,ObservableQuery:()=>i.u,checkFetcher:()=>f.U2,createHttpLink:()=>f.LQ,createSignalIfSupported:()=>f.$g,defaultDataIdFromObject:()=>c.defaultDataIdFromObject,disableExperimentalFragmentVariables:()=>E,disableFragmentWarnings:()=>b,enableExperimentalFragmentVariables:()=>g,fallbackHttpConfig:()=>f.SC,fromError:()=>h.Qc,fromPromise:()=>h.p4,gql:()=>y.ZP,isApolloError:()=>u.M,isReference:()=>d.isReference,makeReference:()=>d.makeReference,makeVar:()=>c.makeVar,mergeOptions:()=>n.J,parseAndCheckHttpResponse:()=>f.dO,resetCaches:()=>m,rewriteURIForGET:()=>f.Hg,selectHttpOptionsAndBody:()=>f.E4,selectURI:()=>f.rg,serializeFetchParameter:()=>f.gE,setLogVerbosity:()=>v.U6,throwServerError:()=>h.PW,toPromise:()=>h.Vi});var n=r(5765),i=r(6282),o=r(5942),a=r(2191),s={};for(const e in a)["default","ApolloClient","mergeOptions","ObservableQuery","NetworkStatus","isApolloError","ApolloError","Cache","ApolloCache","InMemoryCache","MissingFieldError","defaultDataIdFromObject","makeVar","fromError","toPromise","fromPromise","throwServerError","Observable","isReference","makeReference","setLogVerbosity","resetCaches","disableFragmentWarnings","enableExperimentalFragmentVariables","disableExperimentalFragmentVariables","gql"].indexOf(e)<0&&(s[e]=()=>a[e]);r.d(t,s);var u=r(1498),c=r(2634),l=r(5367);s={};for(const e in l)["default","ApolloClient","mergeOptions","ObservableQuery","NetworkStatus","isApolloError","ApolloError","Cache","ApolloCache","InMemoryCache","MissingFieldError","defaultDataIdFromObject","makeVar","fromError","toPromise","fromPromise","throwServerError","Observable","isReference","makeReference","setLogVerbosity","resetCaches","disableFragmentWarnings","enableExperimentalFragmentVariables","disableExperimentalFragmentVariables","gql"].indexOf(e)<0&&(s[e]=()=>l[e]);r.d(t,s);var p=r(1707);s={};for(const e in p)["default","ApolloClient","mergeOptions","ObservableQuery","NetworkStatus","isApolloError","ApolloError","Cache","ApolloCache","InMemoryCache","MissingFieldError","defaultDataIdFromObject","makeVar","fromError","toPromise","fromPromise","throwServerError","Observable","isReference","makeReference","setLogVerbosity","resetCaches","disableFragmentWarnings","enableExperimentalFragmentVariables","disableExperimentalFragmentVariables","gql"].indexOf(e)<0&&(s[e]=()=>p[e]);r.d(t,s);var f=r(6593),h=r(4913),d=r(496),v=r(1467),y=r(9289);(0,v.U6)("log");var m=y.ZP.resetCaches,b=y.ZP.disableFragmentWarnings,g=y.ZP.enableExperimentalFragmentVariables,E=y.ZP.disableExperimentalFragmentVariables},5942:(e,t,r)=>{"use strict";var n;function i(e){return!!e&&e<7}r.d(t,{I:()=>n,O:()=>i}),function(e){e[e.loading=1]="loading",e[e.setVariables=2]="setVariables",e[e.fetchMore=3]="fetchMore",e[e.refetch=4]="refetch",e[e.poll=6]="poll",e[e.ready=7]="ready",e[e.error=8]="error"}(n||(n={}))},2191:()=>{},1498:(e,t,r)=>{"use strict";r.d(t,{M:()=>o,c:()=>a});var n=r(655),i=r(496);function o(e){return e.hasOwnProperty("graphQLErrors")}var a=function(e){function t(r){var n,o,a=r.graphQLErrors,s=r.networkError,u=r.errorMessage,c=r.extraInfo,l=e.call(this,u)||this;return l.graphQLErrors=a||[],l.networkError=s||null,l.message=u||(n=l,o="",(0,i.isNonEmptyArray)(n.graphQLErrors)&&n.graphQLErrors.forEach((function(e){var t=e?e.message:"Error message not found.";o+=t+"\n"})),n.networkError&&(o+=n.networkError.message+"\n"),o=o.replace(/\n$/,"")),l.extraInfo=c,l.__proto__=t.prototype,l}return(0,n.ZT)(t,e),t}(Error)},6829:(e,t,r)=>{"use strict";r.r(t);var n=r(1439),i={};for(const e in n)"default"!==e&&(i[e]=()=>n[e]);r.d(t,i);var o=r(3341);i={};for(const e in o)["default","ApolloClient","mergeOptions","ObservableQuery","NetworkStatus","isApolloError","ApolloError","Cache","ApolloCache","InMemoryCache","MissingFieldError","defaultDataIdFromObject","makeVar","fromError","toPromise","fromPromise","throwServerError","Observable","isReference","makeReference","setLogVerbosity","resetCaches","disableFragmentWarnings","enableExperimentalFragmentVariables","disableExperimentalFragmentVariables","gql","HttpLink","checkFetcher","createHttpLink","createSignalIfSupported","fallbackHttpConfig","parseAndCheckHttpResponse","rewriteURIForGET","selectHttpOptionsAndBody","selectURI","serializeFetchParameter"].indexOf(e)<0&&(i[e]=()=>o[e]);r.d(t,i)},7222:(e,t,r)=>{"use strict";r.d(t,{i:()=>l});var n=r(655),i=r(1467),o=r(496),a=r(4913);function s(e,t){return t?t(e):o.Observable.of()}function u(e){return"function"==typeof e?new l(e):e}function c(e){return e.request.length<=1}!function(e){function t(t,r){var n=e.call(this,t)||this;return n.link=r,n}(0,n.ZT)(t,e)}(Error);var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e((function(){return o.Observable.of()}))},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce((function(e,t){return e.concat(t)}))},e.split=function(t,r,n){var i=u(r),a=u(n||new e(s));return c(i)&&c(a)?new e((function(e){return t(e)?i.request(e)||o.Observable.of():a.request(e)||o.Observable.of()})):new e((function(e,r){return t(e)?i.request(e,r)||o.Observable.of():a.request(e,r)||o.Observable.of()}))},e.execute=function(e,t){return e.request((0,a.zi)(t.context,(0,a.DQ)((0,a.Ak)(t))))||o.Observable.of()},e.concat=function(t,r){var n=u(t);if(c(n))return n;var i=u(r);return c(i)?new e((function(e){return n.request(e,(function(e){return i.request(e)||o.Observable.of()}))||o.Observable.of()})):new e((function(e,t){return n.request(e,(function(e){return i.request(e,t)||o.Observable.of()}))||o.Observable.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 new i.ej(21)},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}()},4957:(e,t,r)=>{"use strict";r.d(t,{z:()=>n});var n=r(7222).i.concat},7325:(e,t,r)=>{"use strict";r.d(t,{c:()=>n});var n=r(7222).i.empty},2550:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});var n=r(7222).i.execute},4674:(e,t,r)=>{"use strict";r.d(t,{D:()=>n});var n=r(7222).i.from},1707:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloLink:()=>u.i,concat:()=>a.z,empty:()=>n.c,execute:()=>s.h,from:()=>i.D,split:()=>o.V});var n=r(7325),i=r(4674),o=r(4738),a=r(4957),s=r(2550),u=r(7222),c=r(9875),l={};for(const e in c)["default","empty","from","split","concat","execute","ApolloLink"].indexOf(e)<0&&(l[e]=()=>c[e]);r.d(t,l)},4738:(e,t,r)=>{"use strict";r.d(t,{V:()=>n});var n=r(7222).i.split},9875:()=>{},6593:(e,t,r)=>{"use strict";r.d(t,{uG:()=>E,U2:()=>f,LQ:()=>g,$g:()=>h,SC:()=>l,dO:()=>o,Hg:()=>b,E4:()=>p,rg:()=>d,gE:()=>s});var n=r(4913),i=Object.prototype.hasOwnProperty;function o(e){return function(t){return t.text().then((function(e){try{return JSON.parse(e)}catch(n){var r=n;throw r.name="ServerParseError",r.response=t,r.statusCode=t.status,r.bodyText=e,r}})).then((function(r){return t.status>=300&&(0,n.PW)(t,r,"Response not successful: Received status code "+t.status),Array.isArray(r)||i.call(r,"data")||i.call(r,"errors")||(0,n.PW)(t,r,"Server response was missing for query '"+(Array.isArray(e)?e.map((function(e){return e.operationName})):e.operationName)+"'."),r}))}}var a=r(1467),s=function(e,t){var r;try{r=JSON.stringify(e)}catch(e){var n=new a.ej(23);throw n.parseError=e,n}return r},u=r(655),c=r(9011),l={http:{includeQuery:!0,includeExtensions:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},p=function(e,t){for(var r=[],n=2;n{"use strict";r.d(t,{zi:()=>p,Qc:()=>i,p4:()=>s,PW:()=>u,Vi:()=>a,DQ:()=>f,Ak:()=>c});var n=r(496);function i(e){return new n.Observable((function(t){t.error(e)}))}var o=r(1467);function a(e){var t=!1;return new Promise((function(r,n){e.subscribe({next:function(e){t||(t=!0,r(e))},error:n})}))}function s(e){return new n.Observable((function(t){e.then((function(e){t.next(e),t.complete()})).catch(t.error.bind(t))}))}var u=function(e,t,r){var n=new Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n};function c(e){for(var t=["query","operationName","variables","extensions","context"],r=0,n=Object.keys(e);r{"use strict";r.d(t,{ZP:()=>g});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r{"use strict";r.d(t,{ab:()=>s,eT:()=>u,KZ:()=>a,ZV:()=>a});var n=r(7294),i=r(1467),o=new(r(496).canUseWeakMap?WeakMap:Map);function a(){var e=o.get(n.createContext);return e||((e=n.createContext({})).displayName="ApolloContext",o.set(n.createContext,e)),e}var s=function(e){var t=a();return n.createElement(t.Consumer,null,(function(t){return(0,i.kG)(t&&t.client,27),e.children(t.client)}))},u=function(e){var t=e.client,r=e.children,o=a();return n.createElement(o.Consumer,null,(function(e){return void 0===e&&(e={}),t&&e.client!==t&&(e=Object.assign({},e,{client:t})),(0,i.kG)(e.client,28),n.createElement(o.Provider,{value:e},r)}))}},6715:(e,t,r)=>{"use strict";r.d(t,{xJ:()=>a,td:()=>m,Db:()=>b,aM:()=>g,lY:()=>O,mU:()=>E});var n=r(7294),i=r(1467),o=r(7869);function a(){var e=n.useContext((0,o.KZ)()).client;return(0,i.kG)(e,33),e}var s=r(655),u=r(2152),c=r(4901),l=function(){function e(e,t){this.isMounted=!1,this.previousOptions={},this.context={},this.options={},this.options=e||{},this.context=t||{}}return e.prototype.getOptions=function(){return this.options},e.prototype.setOptions=function(e,t){void 0===t&&(t=!1),t&&!(0,u.D)(this.options,e)&&(this.previousOptions=this.options),this.options=e},e.prototype.unmount=function(){this.isMounted=!1},e.prototype.refreshClient=function(){var e=this.options&&this.options.client||this.context&&this.context.client;(0,i.kG)(!!e,29);var t=!1;return e!==this.client&&(t=!0,this.client=e,this.cleanup()),{client:this.client,isNew:t}},e.prototype.verifyDocumentType=function(e,t){var r=(0,c.E2)(e);(0,c.mw)(t),(0,c.mw)(r.type);(0,i.kG)(r.type===t,30)},e}(),p=function(e){function t(t){var r=t.options,n=t.context,i=t.setResult,o=e.call(this,r,n)||this;return o.currentObservable={},o.setResult=i,o.initialize(r),o}return(0,s.ZT)(t,e),t.prototype.execute=function(e){if(!0===this.getOptions().skip)return this.cleanup(),{loading:!1,error:void 0,data:void 0,variables:this.getOptions().variables};var t=e;this.refreshClient().isNew&&(t=this.getLoadingResult());var r=this.getOptions().shouldResubscribe;return"function"==typeof r&&(r=!!r(this.getOptions())),!1!==r&&this.previousOptions&&Object.keys(this.previousOptions).length>0&&(this.previousOptions.subscription!==this.getOptions().subscription||!(0,u.D)(this.previousOptions.variables,this.getOptions().variables)||this.previousOptions.skip!==this.getOptions().skip)&&(this.cleanup(),t=this.getLoadingResult()),this.initialize(this.getOptions()),this.startSubscription(),this.previousOptions=this.getOptions(),(0,s.pi)((0,s.pi)({},t),{variables:this.getOptions().variables})},t.prototype.afterExecute=function(){this.isMounted=!0},t.prototype.cleanup=function(){this.endSubscription(),delete this.currentObservable.query},t.prototype.initialize=function(e){this.currentObservable.query||!0===this.getOptions().skip||(this.currentObservable.query=this.refreshClient().client.subscribe({query:e.subscription,variables:e.variables,fetchPolicy:e.fetchPolicy,context:e.context}))},t.prototype.startSubscription=function(){this.currentObservable.subscription||(this.currentObservable.subscription=this.currentObservable.query.subscribe({next:this.updateCurrentData.bind(this),error:this.updateError.bind(this),complete:this.completeSubscription.bind(this)}))},t.prototype.getLoadingResult=function(){return{loading:!0,error:void 0,data:void 0}},t.prototype.updateResult=function(e){this.isMounted&&this.setResult(e)},t.prototype.updateCurrentData=function(e){var t=this.getOptions().onSubscriptionData;this.updateResult({data:e.data,loading:!1,error:void 0}),t&&t({client:this.refreshClient().client,subscriptionData:e})},t.prototype.updateError=function(e){this.updateResult({error:e,loading:!1})},t.prototype.completeSubscription=function(){var e=this.getOptions().onSubscriptionComplete;e&&e(),this.endSubscription()},t.prototype.endSubscription=function(){this.currentObservable.subscription&&(this.currentObservable.subscription.unsubscribe(),delete this.currentObservable.subscription)},t}(l),f=r(1498),h=r(1439),d=function(e){function t(t){var r=t.options,n=t.context,i=t.result,o=t.setResult,a=e.call(this,r,n)||this;return a.runMutation=function(e){void 0===e&&(e={}),a.onMutationStart();var t=a.generateNewMutationId();return a.mutate(e).then((function(e){return a.onMutationCompleted(e,t),e})).catch((function(e){if(a.onMutationError(e,t),!a.getOptions().onError)throw e}))},a.verifyDocumentType(r.mutation,c.n_.Mutation),a.result=i,a.setResult=o,a.mostRecentMutationId=0,a}return(0,s.ZT)(t,e),t.prototype.execute=function(e){return this.isMounted=!0,this.verifyDocumentType(this.getOptions().mutation,c.n_.Mutation),[this.runMutation,(0,s.pi)((0,s.pi)({},e),{client:this.refreshClient().client})]},t.prototype.afterExecute=function(){return this.isMounted=!0,this.unmount.bind(this)},t.prototype.cleanup=function(){},t.prototype.mutate=function(e){return this.refreshClient().client.mutate((0,h.mergeOptions)(this.getOptions(),e))},t.prototype.onMutationStart=function(){this.result.loading||this.getOptions().ignoreResults||this.updateResult({loading:!0,error:void 0,data:void 0,called:!0})},t.prototype.onMutationCompleted=function(e,t){var r=this.getOptions(),n=r.onCompleted,i=r.ignoreResults,o=e.data,a=e.errors,s=a&&a.length>0?new f.c({graphQLErrors:a}):void 0;this.isMostRecentMutation(t)&&!i&&this.updateResult({called:!0,loading:!1,data:o,error:s}),n&&n(o)},t.prototype.onMutationError=function(e,t){var r=this.getOptions().onError;this.isMostRecentMutation(t)&&this.updateResult({loading:!1,error:e,data:void 0,called:!0}),r&&r(e)},t.prototype.generateNewMutationId=function(){return++this.mostRecentMutationId},t.prototype.isMostRecentMutation=function(e){return this.mostRecentMutationId===e},t.prototype.updateResult=function(e){!this.isMounted||this.previousResult&&(0,u.D)(this.previousResult,e)||(this.setResult(e),this.previousResult=e)},t}(l),v=function(e){function t(t){var r=t.options,n=t.context,i=t.onNewData,o=e.call(this,r,n)||this;return o.runLazy=!1,o.previous=Object.create(null),o.runLazyQuery=function(e){o.cleanup(),o.runLazy=!0,o.lazyOptions=e,o.onNewData()},o.getQueryResult=function(){var e=o.observableQueryFields(),t=o.getOptions();if(t.skip)e=(0,s.pi)((0,s.pi)({},e),{data:void 0,error:void 0,loading:!1,networkStatus:h.NetworkStatus.ready,called:!0});else if(o.currentObservable){var r=o.currentObservable.getCurrentResult(),n=r.data,i=r.loading,a=r.partial,u=r.networkStatus,c=r.errors,l=r.error;if(c&&c.length>0&&(l=new f.c({graphQLErrors:c})),e=(0,s.pi)((0,s.pi)({},e),{data:n,loading:i,networkStatus:u,error:l,called:!0}),i);else if(l)Object.assign(e,{data:(o.currentObservable.getLastResult()||{}).data});else{var p=o.currentObservable.options.fetchPolicy;if(t.partialRefetch&&a&&(!n||0===Object.keys(n).length)&&"cache-only"!==p)return Object.assign(e,{loading:!0,networkStatus:h.NetworkStatus.loading}),e.refetch(),e}}e.client=o.client,o.setOptions(t,!0);var d=o.previous.result;return o.previous.loading=d&&d.loading||!1,e.previousData=d&&(d.data||d.previousData),o.previous.result=e,o.currentObservable&&o.currentObservable.resetQueryStoreErrors(),e},o.obsRefetch=function(e){var t;return null===(t=o.currentObservable)||void 0===t?void 0:t.refetch(e)},o.obsFetchMore=function(e){return o.currentObservable.fetchMore(e)},o.obsUpdateQuery=function(e){return o.currentObservable.updateQuery(e)},o.obsStartPolling=function(e){var t;null===(t=o.currentObservable)||void 0===t||t.startPolling(e)},o.obsStopPolling=function(){var e;null===(e=o.currentObservable)||void 0===e||e.stopPolling()},o.obsSubscribeToMore=function(e){return o.currentObservable.subscribeToMore(e)},o.onNewData=i,o}return(0,s.ZT)(t,e),t.prototype.execute=function(){this.refreshClient();var e=this.getOptions(),t=e.skip,r=e.query;return(t||r!==this.previous.query)&&(this.removeQuerySubscription(),this.removeObservable(!t),this.previous.query=r),this.updateObservableQuery(),this.isMounted&&this.startQuerySubscription(),this.getExecuteSsrResult()||this.getExecuteResult()},t.prototype.executeLazy=function(){return this.runLazy?[this.runLazyQuery,this.execute()]:[this.runLazyQuery,{loading:!1,networkStatus:h.NetworkStatus.ready,called:!1,data:void 0}]},t.prototype.fetchData=function(){var e=this,t=this.getOptions();return!t.skip&&!1!==t.ssr&&new Promise((function(t){return e.startQuerySubscription(t)}))},t.prototype.afterExecute=function(e){var t=(void 0===e?{}:e).lazy,r=void 0!==t&&t;return this.isMounted=!0,r&&!this.runLazy||this.handleErrorOrCompleted(),this.previousOptions=this.getOptions(),this.unmount.bind(this)},t.prototype.cleanup=function(){this.removeQuerySubscription(),this.removeObservable(!0),delete this.previous.result},t.prototype.getOptions=function(){var t=e.prototype.getOptions.call(this);return this.lazyOptions&&(t.variables=(0,s.pi)((0,s.pi)({},t.variables),this.lazyOptions.variables),t.context=(0,s.pi)((0,s.pi)({},t.context),this.lazyOptions.context)),this.runLazy&&delete t.skip,t},t.prototype.ssrInitiated=function(){return this.context&&this.context.renderPromises},t.prototype.getExecuteResult=function(){var e=this.getQueryResult();return this.startQuerySubscription(),e},t.prototype.getExecuteSsrResult=function(){var e,t=this.getOptions(),r=t.ssr,n=t.skip,i=!1===r,o=this.refreshClient().client.disableNetworkFetches,a=(0,s.pi)({loading:!0,networkStatus:h.NetworkStatus.loading,called:!0,data:void 0,stale:!1,client:this.client},this.observableQueryFields());return i&&(this.ssrInitiated()||o)?(this.previous.result=a,a):(this.ssrInitiated()&&(e=n?this.getQueryResult():this.context.renderPromises.addQueryPromise(this,this.getQueryResult)||a),e)},t.prototype.prepareObservableQueryOptions=function(){var e=this.getOptions();this.verifyDocumentType(e.query,c.n_.Query);var t=e.displayName||"Query";return!this.ssrInitiated()||"network-only"!==e.fetchPolicy&&"cache-and-network"!==e.fetchPolicy||(e.fetchPolicy="cache-first"),(0,s.pi)((0,s.pi)({},e),{displayName:t,context:e.context})},t.prototype.initializeObservableQuery=function(){if(this.ssrInitiated()&&(this.currentObservable=this.context.renderPromises.getSSRObservable(this.getOptions())),!this.currentObservable){var e=this.prepareObservableQueryOptions();this.previous.observableQueryOptions=(0,s.pi)((0,s.pi)({},e),{children:null}),this.currentObservable=this.refreshClient().client.watchQuery((0,s.pi)({},e)),this.ssrInitiated()&&this.context.renderPromises.registerSSRObservable(this.currentObservable,e)}},t.prototype.updateObservableQuery=function(){if(this.currentObservable){if(!this.getOptions().skip){var e=(0,s.pi)((0,s.pi)({},this.prepareObservableQueryOptions()),{children:null});(0,u.D)(e,this.previous.observableQueryOptions)||(this.previous.observableQueryOptions=e,this.currentObservable.setOptions(e).catch((function(){})))}}else this.initializeObservableQuery()},t.prototype.startQuerySubscription=function(e){var t=this;void 0===e&&(e=this.onNewData),this.currentSubscription||this.getOptions().skip||(this.currentSubscription=this.currentObservable.subscribe({next:function(r){var n=r.loading,i=r.networkStatus,o=r.data,a=t.previous.result;a&&a.loading===n&&a.networkStatus===i&&(0,u.D)(a.data,o)||e()},error:function(r){if(t.resubscribeToQuery(),!r.hasOwnProperty("graphQLErrors"))throw r;var n=t.previous.result;(n&&n.loading||!(0,u.D)(r,t.previous.error))&&(t.previous.error=r,e())}}))},t.prototype.resubscribeToQuery=function(){this.removeQuerySubscription();var e=this.currentObservable;if(e){var t=e.getLastError(),r=e.getLastResult();e.resetLastResults(),this.startQuerySubscription(),Object.assign(e,{lastError:t,lastResult:r})}},t.prototype.handleErrorOrCompleted=function(){if(this.currentObservable&&this.previous.result){var e=this.previous.result,t=e.data,r=e.loading,n=e.error;if(!r){var i=this.getOptions(),o=i.query,a=i.variables,s=i.onCompleted,c=i.onError,l=i.skip;if(this.previousOptions&&!this.previous.loading&&(0,u.D)(this.previousOptions.query,o)&&(0,u.D)(this.previousOptions.variables,a))return;!s||n||l?c&&n&&c(n):s(t)}}},t.prototype.removeQuerySubscription=function(){this.currentSubscription&&(this.currentSubscription.unsubscribe(),delete this.currentSubscription)},t.prototype.removeObservable=function(e){this.currentObservable&&(this.currentObservable.tearDownQuery(),e&&delete this.currentObservable)},t.prototype.observableQueryFields=function(){var e;return{variables:null===(e=this.currentObservable)||void 0===e?void 0:e.variables,refetch:this.obsRefetch,fetchMore:this.obsFetchMore,updateQuery:this.obsUpdateQuery,startPolling:this.obsStartPolling,stopPolling:this.obsStopPolling,subscribeToMore:this.obsSubscribeToMore}},t}(l);function y(e,t,r){void 0===r&&(r=!1);var i=(0,n.useContext)((0,o.KZ)()),a=(0,n.useReducer)((function(e){return e+1}),0),c=a[0],l=a[1],p=t?(0,s.pi)((0,s.pi)({},t),{query:e}):{query:e},f=(0,n.useRef)(),h=f.current||(f.current=new v({options:p,context:i,onNewData:function(){h.ssrInitiated()?l():Promise.resolve().then((function(){return f.current&&l()}))}}));h.setOptions(p),h.context=i;var d,y,m,b={options:(0,s.pi)((0,s.pi)({},p),{onError:void 0,onCompleted:void 0}),context:i,tick:c},g=(d=function(){return r?h.executeLazy():h.execute()},y=b,(m=(0,n.useRef)()).current&&(0,u.D)(y,m.current.key)||(m.current={key:y,value:d()}),m.current.value),E=r?g[1]:g;return(0,n.useEffect)((function(){return function(){return h.cleanup()}}),[]),(0,n.useEffect)((function(){return h.afterExecute({lazy:r})}),[E.loading,E.networkStatus,E.error,E.data]),g}function m(e,t){return y(e,t,!0)}function b(e,t){var r=(0,n.useContext)((0,o.KZ)()),i=(0,n.useState)({called:!1,loading:!1}),a=i[0],u=i[1],c=t?(0,s.pi)((0,s.pi)({},t),{mutation:e}):{mutation:e},l=(0,n.useRef)();var p=(l.current||(l.current=new d({options:c,context:r,result:a,setResult:u})),l.current);return p.setOptions(c),p.context=r,(0,n.useEffect)((function(){return p.afterExecute()})),p.execute(a)}function g(e,t){return y(e,t,!1)}function E(e,t){var r=(0,n.useContext)((0,o.KZ)()),i=t?(0,s.pi)((0,s.pi)({},t),{subscription:e}):{subscription:e},a=(0,n.useState)({loading:!i.skip,error:void 0,data:void 0}),u=a[0],c=a[1],l=(0,n.useRef)();var f=(l.current||(l.current=new p({options:i,context:r,setResult:c})),l.current);return f.setOptions(i,!0),f.context=r,(0,n.useEffect)((function(){return f.afterExecute()})),(0,n.useEffect)((function(){return f.cleanup.bind(f)}),[]),f.execute(u)}function O(e){var t=e(),r=(0,n.useState)(t)[1];return(0,n.useEffect)((function(){return e.onNextChange(r)}),[t]),(0,n.useEffect)((function(){r(e())}),[]),t}},3341:(e,t,r)=>{"use strict";r.r(t),r.d(t,{ApolloConsumer:()=>n.ab,ApolloProvider:()=>n.eT,DocumentType:()=>o.n_,getApolloContext:()=>n.KZ,operationName:()=>o.mw,parser:()=>o.E2,resetApolloContext:()=>n.ZV,useApolloClient:()=>i.xJ,useLazyQuery:()=>i.td,useMutation:()=>i.Db,useQuery:()=>i.aM,useReactiveVar:()=>i.lY,useSubscription:()=>i.mU});var n=r(7869),i=r(6715),o=r(4901),a=r(5923),s={};for(const e in a)["default","ApolloProvider","ApolloConsumer","getApolloContext","resetApolloContext","DocumentType","operationName","parser","useApolloClient","useLazyQuery","useMutation","useQuery","useReactiveVar","useSubscription"].indexOf(e)<0&&(s[e]=()=>a[e]);r.d(t,s)},4901:(e,t,r)=>{"use strict";r.d(t,{E2:()=>s,mw:()=>a,n_:()=>n});var n,i=r(1467);!function(e){e[e.Query=0]="Query",e[e.Mutation=1]="Mutation",e[e.Subscription=2]="Subscription"}(n||(n={}));var o=new Map;function a(e){var t;switch(e){case n.Query:t="Query";break;case n.Mutation:t="Mutation";break;case n.Subscription:t="Subscription"}return t}function s(e){var t,r,a=o.get(e);if(a)return a;(0,i.kG)(!!e&&!!e.kind,34);var s=e.definitions.filter((function(e){return"FragmentDefinition"===e.kind})),u=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"query"===e.operation})),c=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})),l=e.definitions.filter((function(e){return"OperationDefinition"===e.kind&&"subscription"===e.operation}));(0,i.kG)(!s.length||u.length||c.length||l.length,35),(0,i.kG)(u.length+c.length+l.length<=1,36),r=u.length?n.Query:n.Mutation,u.length||c.length||(r=n.Subscription);var p=u.length?u:c.length?c:l;(0,i.kG)(1===p.length,37);var f=p[0];t=f.variableDefinitions||[];var h={name:f.name&&"Name"===f.name.kind?f.name.value:"data",type:r,variables:t};return o.set(e,h),h}},5923:()=>{},496:(e,t,r)=>{"use strict";r.d(t,{Concast:()=>ue,DeepMerger:()=>Y,Observable:()=>H(),addTypenameToDocument:()=>j,argumentsObjectFromField:()=>E,asyncMap:()=>oe,buildQueryFromSelectionSet:()=>U,canUseWeakMap:()=>pe,cloneDeep:()=>te,compact:()=>fe,createFragmentMap:()=>l,fixObservableSubclass:()=>ae,getDefaultValues:()=>D,getFragmentDefinitions:()=>R,getFragmentFromSelection:()=>p,getFragmentQueryDocument:()=>c,getMainDefinition:()=>N,getOperationDefinition:()=>_,getOperationName:()=>I,getQueryDefinition:()=>x,getStoreKeyName:()=>g,getTypenameFromResult:()=>T,graphQLResultHasError:()=>le,hasClientExports:()=>s,hasDirectives:()=>a,isField:()=>S,isInlineFragment:()=>w,isNonEmptyArray:()=>ce,isReference:()=>v,iterateObserversSafely:()=>ie,makeReference:()=>d,maybeDeepFreeze:()=>ne,mergeDeep:()=>W,mergeDeepArray:()=>K,removeClientSetsFromDocument:()=>B,removeConnectionDirectiveFromDocument:()=>q,resultKeyNameFromField:()=>O,shouldInclude:()=>o,storeKeyNameFromField:()=>m});var n=r(7304),i=r(1467);function o(e,t){var r=e.directives;return!r||!r.length||function(e){var t=[];e&&e.length&&e.forEach((function(e){if(function(e){var t=e.name.value;return"skip"===t||"include"===t}(e)){var r=e.arguments;e.name.value;(0,i.kG)(r&&1===r.length,39);var n=r[0];(0,i.kG)(n.name&&"if"===n.name.value,40);var o=n.value;(0,i.kG)(o&&("Variable"===o.kind||"BooleanValue"===o.kind),41),t.push({directive:e,ifArgument:n})}}));return t}(r).every((function(e){var r=e.directive,n=e.ifArgument,o=!1;return"Variable"===n.value.kind?(o=t&&t[n.value.name.value],(0,i.kG)(void 0!==o,38)):o=n.value.value,"skip"===r.name.value?!o:o}))}function a(e,t){return function(e){var t=[];return(0,n.Vn)(e,{Directive:function(e){t.push(e.name.value)}}),t}(t).some((function(t){return e.indexOf(t)>-1}))}function s(e){return e&&a(["client"],e)&&a(["export"],e)}var u=r(655);function c(e,t){var r=t,n=[];return e.definitions.forEach((function(e){if("OperationDefinition"===e.kind)throw new i.ej(42);"FragmentDefinition"===e.kind&&n.push(e)})),void 0===r&&((0,i.kG)(1===n.length,43),r=n[0].name.value),(0,u.pi)((0,u.pi)({},e),{definitions:(0,u.pr)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:r}}]}}],e.definitions)})}function l(e){void 0===e&&(e=[]);var t={};return e.forEach((function(e){t[e.name.value]=e})),t}function p(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var r=t&&t[e.name.value];return(0,i.kG)(r,44),r;default:return null}}var f=r(5035),h=r.n(f);function d(e){return{__ref:String(e)}}function v(e){return Boolean(e&&"object"==typeof e&&"string"==typeof e.__ref)}function y(e,t,r,n){if(function(e){return"IntValue"===e.kind}(r)||function(e){return"FloatValue"===e.kind}(r))e[t.value]=Number(r.value);else if(function(e){return"BooleanValue"===e.kind}(r)||function(e){return"StringValue"===e.kind}(r))e[t.value]=r.value;else if(function(e){return"ObjectValue"===e.kind}(r)){var o={};r.fields.map((function(e){return y(o,e.name,e.value,n)})),e[t.value]=o}else if(function(e){return"Variable"===e.kind}(r)){var a=(n||{})[r.name.value];e[t.value]=a}else if(function(e){return"ListValue"===e.kind}(r))e[t.value]=r.values.map((function(e){var r={};return y(r,t,e,n),r[t.value]}));else if(function(e){return"EnumValue"===e.kind}(r))e[t.value]=r.value;else{if(!function(e){return"NullValue"===e.kind}(r))throw new i.ej(53);e[t.value]=null}}function m(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 y(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 y(n,r,i,t)}))),g(e.name.value,n,r)}var b=["connection","include","skip","client","rest","export"];function g(e,t,r){if(t&&r&&r.connection&&r.connection.key){if(r.connection.filter&&r.connection.filter.length>0){var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach((function(e){i[e]=t[e]})),r.connection.key+"("+JSON.stringify(i)+")"}return r.connection.key}var o=e;if(t){var a=h()(t);o+="("+a+")"}return r&&Object.keys(r).forEach((function(e){-1===b.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?o+="@"+e+"("+JSON.stringify(r[e])+")":o+="@"+e)})),o}function E(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach((function(e){var n=e.name,i=e.value;return y(r,n,i,t)})),r}return null}function O(e){return e.alias?e.alias.value:e.name.value}function T(e,t,r){if("string"==typeof e.__typename)return e.__typename;for(var n=0,i=t.selections;n1)for(var n=new Y,i=1;i0}function le(e){return e.errors&&e.errors.length>0||!1}ae(ue);var pe="function"==typeof WeakMap&&!("object"==typeof navigator&&"ReactNative"===navigator.product);function fe(){for(var e=[],t=0;t{"use strict";r.d(t,{D:()=>u});var n=Object.prototype,i=n.toString,o=n.hasOwnProperty,a=Function.prototype.toString,s=new Map;function u(e,t){try{return c(e,t)}finally{s.clear()}}function c(e,t){if(e===t)return!0;var r,n,s,u=i.call(e);if(u!==i.call(t))return!1;switch(u){case"[object Array]":if(e.length!==t.length)return!1;case"[object Object]":if(h(e,t))return!0;var p=l(e),d=l(t),v=p.length;if(v!==d.length)return!1;for(var y=0;y=0&&r.indexOf(n,s)===s))}return!1}function l(e){return Object.keys(e).filter(p,e)}function p(e){return void 0!==this[e]}var f="{ [native code] }";function h(e,t){var r=s.get(e);if(r){if(r.has(t))return!0}else s.set(e,r=new Set);return r.add(t),!1}},5035:e=>{"use strict";e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var r,n="boolean"==typeof t.cycles&&t.cycles,i=t.cmp&&(r=t.cmp,function(e){return function(t,n){var i={key:t,value:e[t]},o={key:n,value:e[n]};return r(i,o)}}),o=[];return function e(t){if(t&&t.toJSON&&"function"==typeof t.toJSON&&(t=t.toJSON()),void 0!==t){if("number"==typeof t)return isFinite(t)?""+t:"null";if("object"!=typeof t)return JSON.stringify(t);var r,a;if(Array.isArray(t)){for(a="[",r=0;r{var n=r(4275).parse;function i(e){return e.replace(/[\s,]+/g," ").trim()}var o={},a={};var s=!0;function u(e,t){var r=Object.prototype.toString.call(e);if("[object Array]"===r)return e.map((function(e){return u(e,t)}));if("[object Object]"!==r)throw new Error("Unexpected input.");t&&e.loc&&delete e.loc,e.loc&&(delete e.loc.startToken,delete e.loc.endToken);var n,i,o,a=Object.keys(e);for(n in a)a.hasOwnProperty(n)&&(i=e[a[n]],"[object Object]"!==(o=Object.prototype.toString.call(i))&&"[object Array]"!==o||(e[a[n]]=u(i,!0)));return e}var c=!1;function l(e){var t=i(e);if(o[t])return o[t];var r=n(e,{experimentalFragmentVariables:c});if(!r||"Document"!==r.kind)throw new Error("Not a valid GraphQL document.");return r=u(r=function(e){for(var t,r={},n=[],o=0;o{"use strict";var t=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,n=Object.prototype.propertyIsEnumerable;function i(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},r=0;r<10;r++)t["_"+String.fromCharCode(r)]=r;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var n={};return"abcdefghijklmnopqrst".split("").forEach((function(e){n[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},n)).join("")}catch(e){return!1}}()?Object.assign:function(e,o){for(var a,s,u=i(e),c=1;c{"use strict";var n=r(7418),i=60103,o=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var a=60109,s=60110,u=60112;t.Suspense=60113;var c=60115,l=60116;if("function"==typeof Symbol&&Symbol.for){var p=Symbol.for;i=p("react.element"),o=p("react.portal"),t.Fragment=p("react.fragment"),t.StrictMode=p("react.strict_mode"),t.Profiler=p("react.profiler"),a=p("react.provider"),s=p("react.context"),u=p("react.forward_ref"),t.Suspense=p("react.suspense"),c=p("react.memo"),l=p("react.lazy")}var f="function"==typeof Symbol&&Symbol.iterator;function h(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r{"use strict";e.exports=r(2408)},7121:(e,t,r)=>{"use strict";e=r.hmd(e);!function(e){var t,r=e.Symbol;if("function"==typeof r)if(r.observable)t=r.observable;else{t=r.for("https://github.com/benlesh/symbol-observable");try{r.observable=t}catch(e){}}else t="@@observable"}("undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==r.g?r.g:e)},1467:(e,t,r)=>{"use strict";r.d(t,{ej:()=>s,kG:()=>u,U6:()=>f});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},n(e,t)};Object.create;Object.create;var i="Invariant Violation",o=Object.setPrototypeOf,a=void 0===o?function(e,t){return e.__proto__=t,e}:o,s=function(e){function t(r){void 0===r&&(r=i);var n=e.call(this,"number"==typeof r?i+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return n.framesToPop=1,n.name=i,a(n,t.prototype),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}(t,e),t}(Error);function u(e,t){if(!e)throw new s(t)}var c=["log","warn","error","silent"],l=c.indexOf("log");function p(e){return function(){if(c.indexOf(e)>=l)return console[e].apply(console,arguments)}}function f(e){var t=c[l];return l=Math.max(0,c.indexOf(e)),t}!function(e){e.log=p("log"),e.warn=p("warn"),e.error=p("error")}(u||(u={}));"object"==typeof process&&"object"==typeof process.env&&process},9431:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=n(r(3256));class o extends i.default{constructor(){super(...arguments),this.connections=new Map,this.addConnection=(e,t)=>{function r(e){return t(e.detail)}return this.addEventListener(e,r),this.connections.set(e,r),()=>this.removeConnection(e)},this.removeConnection=e=>{const t=this.connections.get(e);t&&(this.removeEventListener(e,t),this.connections.delete(e))},this.createEvent=e=>new CustomEvent(e,{detail:{}}),this.broadcast=e=>{let t=this.createEvent(e.message);if(null==e?void 0:e.to){let r,n,i=e.to;t.detail.to=i,i.includes(":")&&([i,...n]=e.to.split(":"),r=n.join(":")),this.connections.has(i)&&(t=this.createEvent(i),t.detail.to=r)}t.detail.message=e.message,t.detail.payload=e.payload,this.dispatchEvent(t)},this.listen=(e,t)=>{function r(e){return t(e.detail)}return this.addEventListener(e,r),()=>{this.removeEventListener(e,r)}},this.send=e=>{this.broadcast(e)},this.forward=(e,t)=>this.listen(e,(e=>{this.broadcast(Object.assign(Object.assign({},e),{to:t}))}))}}t.default=o},9039:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.postMessageToEmbed=t.EXPLORER_SUBSCRIPTION_TERMINATION=t.EMBEDDABLE_EXPLORER_URL=t.DEV_TOOLS_AUTHENTICATE_WITH_GRAPHREF=t.SCHEMA_RESPONSE=t.SCHEMA_ERROR=t.SET_OPERATION=t.EXPLORER_SUBSCRIPTION_RESPONSE=t.EXPLORER_SUBSCRIPTION_REQUEST=t.EXPLORER_RESPONSE=t.EXPLORER_REQUEST=t.EXPLORER_LISTENING_FOR_STATE=t.EXPLORER_LISTENING_FOR_SCHEMA=void 0,t.EXPLORER_LISTENING_FOR_SCHEMA="ExplorerListeningForSchema",t.EXPLORER_LISTENING_FOR_STATE="ExplorerListeningForState",t.EXPLORER_REQUEST="ExplorerRequest",t.EXPLORER_RESPONSE="ExplorerResponse",t.EXPLORER_SUBSCRIPTION_REQUEST="ExplorerSubscriptionRequest",t.EXPLORER_SUBSCRIPTION_RESPONSE="ExplorerSubscriptionResponse",t.SET_OPERATION="SetOperation",t.SCHEMA_ERROR="SchemaError",t.SCHEMA_RESPONSE="SchemaResponse",t.DEV_TOOLS_AUTHENTICATE_WITH_GRAPHREF="DevTools_AuthenticateWithGraphRef",t.EMBEDDABLE_EXPLORER_URL="https://explorer.embed.apollographql.com",t.EXPLORER_SUBSCRIPTION_TERMINATION="ExplorerSubscriptionTermination";t.postMessageToEmbed=({embeddedExplorerIFrame:e,message:r})=>{var n;null===(n=e.contentWindow)||void 0===n||n.postMessage(r,t.EMBEDDABLE_EXPLORER_URL)}},3256:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default=class{constructor(){this.listeners=new Map}addEventListener(e,t){this.listeners.has(e)||this.listeners.set(e,new Set);this.listeners.get(e).add(t)}removeEventListener(e,t){if(this.listeners.has(e)){this.listeners.get(e).delete(t)}}dispatchEvent(e){if(this.listeners.has(null==e?void 0:e.type)){this.listeners.get(e.type).forEach((t=>t(e)))}}}},9392:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RELOAD_TAB_COMPLETE=t.RELOADING_TAB=t.EXPLORER_RESPONSE=t.EXPLORER_REQUEST=t.PANEL_CLOSED=t.PANEL_OPEN=t.UPDATE=t.REQUEST_DATA=t.ACTION_HOOK_FIRED=t.CREATE_DEVTOOLS_PANEL=t.APOLLO_CLIENT_FOUND=t.FIND_APOLLO_CLIENT=t.DEVTOOLS_INITIALIZED=t.REQUEST_TAB_ID=t.CLIENT_FOUND=void 0,t.CLIENT_FOUND="client-found",t.REQUEST_TAB_ID="request-tab-id",t.DEVTOOLS_INITIALIZED="devtools-initialized",t.FIND_APOLLO_CLIENT="find-apollo-client",t.APOLLO_CLIENT_FOUND="apollo-client-found",t.CREATE_DEVTOOLS_PANEL="create-devtools-panel",t.ACTION_HOOK_FIRED="action-hook-fired",t.REQUEST_DATA="request-data",t.UPDATE="update",t.PANEL_OPEN="panel-open",t.PANEL_CLOSED="panel-closed",t.EXPLORER_REQUEST="explorer-request",t.EXPLORER_RESPONSE="explorer-response",t.RELOADING_TAB="reloading-tab",t.RELOAD_TAB_COMPLETE="reload-tab-complete"},807:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.getMainDefinition=t.getMutations=t.getQueries=void 0,t.getQueries=function(e){let t=[];return e&&(t=[...e.values()].map((({document:e,variables:t,diff:r})=>{var n;return{document:e,source:null===(n=null==e?void 0:e.loc)||void 0===n?void 0:n.source,variables:t,cachedData:null==r?void 0:r.result}}))),t},t.getMutations=function(e){const t=Object.keys(e);return 0===t.length?[]:t.map((t=>{var r;const{mutation:n,variables:i}=e[t];return{document:n,variables:i,source:null===(r=null==n?void 0:n.loc)||void 0===r?void 0:r.source}}))},t.getMainDefinition=function(e){let t;for(let r of e.definitions){if("OperationDefinition"===r.kind){const e=r.operation;if("query"===e||"mutation"===e||"subscription"===e)return r}"FragmentDefinition"!==r.kind||t||(t=r)}if(t)return t;throw new Error("Expected a parsed GraphQL query with a query, mutation, subscription, or a fragment.")}},7934:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});const i=r(6829),o=n(r(4119)),a=n(r(9329)),s=r(3672),u=n(r(9431)),c=r(807),l=r(9392),p=r(9039);!function(){const e={ApolloClient:void 0,version:s.version,getQueries:()=>[],getMutations:()=>[],getCache:()=>{}};Object.defineProperty(window,"__APOLLO_DEVTOOLS_GLOBAL_HOOK__",{get:()=>e,configurable:!0});const t=new u.default;function r(e,r){t.send({to:"tab",message:e,payload:r})}function n(){r(l.ACTION_HOOK_FIRED)}function f(e){r(l.EXPLORER_RESPONSE,e)}function h(t){r(t,JSON.stringify({queries:e.getQueries(),mutations:e.getMutations(),cache:e.getCache()}))}function d(){let t,i=0;function o(){i++>10&&clearInterval(t),window.__APOLLO_CLIENT__&&(e.ApolloClient=window.__APOLLO_CLIENT__,e.ApolloClient.__actionHookForDevTools(n),e.getQueries=()=>(0,c.getQueries)(e.ApolloClient.queryManager.queries),e.getMutations=()=>{var t,r;return(0,c.getMutations)((null===(t=e.ApolloClient.queryManager.mutationStore)||void 0===t?void 0:t.getStore)?null===(r=e.ApolloClient.queryManager.mutationStore)||void 0===r?void 0:r.getStore():e.ApolloClient.queryManager.mutationStore)},e.getCache=()=>{var t;return null===(t=e.ApolloClient)||void 0===t?void 0:t.cache.extract(!0)},clearInterval(t),r(l.CLIENT_FOUND),h(l.CREATE_DEVTOOLS_PANEL))}t=setInterval(o,1e3),o()}t.addConnection("tab",(e=>{window.postMessage(e,"*")})),window.addEventListener("message",(({data:e})=>{t.broadcast(e)})),window.onbeforeunload=()=>{r(l.RELOADING_TAB)},window.addEventListener("load",(()=>{r(l.RELOAD_TAB_COMPLETE,{ApolloClient:!!e.ApolloClient})})),t.listen(l.DEVTOOLS_INITIALIZED,(()=>{e.ApolloClient?h(l.CREATE_DEVTOOLS_PANEL):d()})),t.listen(l.REQUEST_DATA,(()=>h(l.UPDATE))),t.listen(l.EXPLORER_REQUEST,(({payload:r})=>{const{operation:n,operationName:s,fetchPolicy:u,variables:l}=JSON.parse(r),h=(0,o.default)(n),d=JSON.parse(JSON.stringify(h)),v=d.definitions.reduce(((e,t)=>{var r;return("OperationDefinition"===t.kind&&(null===(r=t.name)||void 0===r?void 0:r.value)===s||"OperationDefinition"!==t.kind)&&e.push(t),e}),[]);d.definitions=v;const y=(0,c.getMainDefinition)(d),m="OperationDefinition"===y.kind&&"mutation"===y.operation?new a.default((t=>{var r;null===(r=e.ApolloClient)||void 0===r||r.mutate({mutation:d,variables:l}).then((e=>{t.next(e)}))})):null===(b=e.ApolloClient)||void 0===b?void 0:b.watchQuery({query:d,variables:l,fetchPolicy:u});var b;const g=null==m?void 0:m.subscribe((e=>{f({operationName:s,response:e})}),(e=>{var t;f({operationName:s,response:{errors:e.graphQLErrors.length?e.graphQLErrors:e.networkError&&"result"in e.networkError?null===(t=e.networkError)||void 0===t?void 0:t.result.errors:[],error:e,data:null,loading:!1,networkStatus:i.NetworkStatus.error}})}));"OperationDefinition"===y.kind&&"subscription"===y.operation&&t.listen(p.EXPLORER_SUBSCRIPTION_TERMINATION,(()=>{null==g||g.unsubscribe()}))})),d()}()},655:(e,t,r)=>{"use strict";r.d(t,{Jh:()=>u,ZT:()=>i,_T:()=>a,mG:()=>s,pi:()=>o,pr:()=>c});var n=function(e,t){return n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)t.hasOwnProperty(r)&&(e[r]=t[r])},n(e,t)};function i(e,t){function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0&&i[i.length-1])||6!==o[0]&&2!==o[0])){a=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]{e.exports=r(516).Observable},516:(e,t)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function n(e,t){for(var r=0;r1,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(new TypeError("Cannot reduce an empty sequence"));r.next(a),r.complete()}})}))}},{key:"concat",value:function(){for(var e=this,t=arguments.length,r=new Array(t),n=0;n=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()}}))}},{key:c,value:function(){return this}}],[{key:"from",value:function(t){var r="function"==typeof this?this:e;if(null==t)throw new TypeError(t+" is not an object");var n=p(t,c);if(n){var i=n.call(t);if(Object(i)!==i)throw new TypeError(i+" is not an object");return h(i)&&i.constructor===r?i:new r((function(e){return i.subscribe(e)}))}if(a("iterator")&&(n=p(t,u)))return new r((function(e){v((function(){if(!e.closed){var r=!0,i=!1,o=void 0;try{for(var a,s=n.call(t)[Symbol.iterator]();!(r=(a=s.next()).done);r=!0){var u=a.value;if(e.next(u),e.closed)return}}catch(e){i=!0,o=e}finally{try{r||null==s.return||s.return()}finally{if(i)throw o}}e.complete()}}))}));if(Array.isArray(t))return new r((function(e){v((function(){if(!e.closed){for(var r=0;r{"use strict";r.d(t,{_:()=>g});var n=r(8495),i=r(9763);function o(e,t){for(var r,n=/\r\n|[\n\r]/g,i=1,o=t+1;(r=n.exec(e.body))&&r.index120){for(var d=Math.floor(l/80),v=l%80,y=[],m=0;m{"use strict";r.d(t,{h:()=>i});var n=r(6375);function i(e,t,r){return new n._("Syntax Error: ".concat(r),void 0,e,[t])}},9215:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(9551),i=r(5695);function o(e){var t=e.prototype.toJSON;"function"==typeof t||(0,n.Z)(0),e.prototype.inspect=t,i.Z&&(e.prototype[i.Z]=t)}},7826:(e,t,r)=>{"use strict";function n(e,t){if(!Boolean(e))throw new Error(t)}r.d(t,{Z:()=>n})},5821:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(5695);function i(e){return i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i(e)}function o(e){return a(e,[])}function a(e,t){switch(i(e)){case"string":return JSON.stringify(e);case"function":return e.name?"[function ".concat(e.name,"]"):"[function]";case"object":return null===e?"null":function(e,t){if(-1!==t.indexOf(e))return"[Circular]";var r=[].concat(t,[e]),i=function(e){var t=e[String(n.Z)];if("function"==typeof t)return t;if("function"==typeof e.inspect)return e.inspect}(e);if(void 0!==i){var o=i.call(e);if(o!==e)return"string"==typeof o?o:a(o,r)}else if(Array.isArray(e))return function(e,t){if(0===e.length)return"[]";if(t.length>2)return"[Array]";for(var r=Math.min(10,e.length),n=e.length-r,i=[],o=0;o1&&i.push("... ".concat(n," more items"));return"["+i.join(", ")+"]"}(e,r);return function(e,t){var r=Object.keys(e);if(0===r.length)return"{}";if(t.length>2)return"["+function(e){var t=Object.prototype.toString.call(e).replace(/^\[object /,"").replace(/]$/,"");if("Object"===t&&"function"==typeof e.constructor){var r=e.constructor.name;if("string"==typeof r&&""!==r)return r}return t}(e)+"]";var n=r.map((function(r){return r+": "+a(e[r],t)}));return"{ "+n.join(", ")+" }"}(e,r)}(e,t);default:return String(e)}}},8306:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n=function(e,t){return e instanceof t}},9551:(e,t,r)=>{"use strict";function n(e,t){if(!Boolean(e))throw new Error(null!=t?t:"Unexpected invariant triggered.")}r.d(t,{Z:()=>n})},8495:(e,t,r)=>{"use strict";function n(e){return n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},n(e)}function i(e){return"object"==n(e)&&null!==e}r.d(t,{Z:()=>i})},5695:(e,t,r)=>{"use strict";r.d(t,{Z:()=>n});const n="function"==typeof Symbol&&"function"==typeof Symbol.for?Symbol.for("nodejs.util.inspect.custom"):void 0},2380:(e,t,r)=>{"use strict";r.d(t,{UG:()=>a,WU:()=>o,Ye:()=>i});var n=r(9215),i=function(){function e(e,t,r){this.start=e.start,this.end=t.end,this.startToken=e,this.endToken=t,this.source=r}return e.prototype.toJSON=function(){return{start:this.start,end:this.end}},e}();(0,n.Z)(i);var o=function(){function e(e,t,r,n,i,o,a){this.kind=e,this.start=t,this.end=r,this.line=n,this.column=i,this.value=a,this.prev=o,this.next=null}return e.prototype.toJSON=function(){return{kind:this.kind,value:this.value,line:this.line,column:this.column}},e}();function a(e){return null!=e&&"string"==typeof e.kind}(0,n.Z)(o)},7392:(e,t,r)=>{"use strict";function n(e){var t=e.split(/\r\n|[\n\r]/g),r=function(e){for(var t,r=!0,n=!0,i=0,o=null,a=0;ao&&i(t[a-1]);)--a;return t.slice(o,a).join("\n")}function i(e){for(var t=0;t1&&void 0!==arguments[1]?arguments[1]:"",r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=-1===e.indexOf("\n"),i=" "===e[0]||"\t"===e[0],o='"'===e[e.length-1],a="\\"===e[e.length-1],s=!n||o||a||r,u="";return!s||n&&i||(u+="\n"+t),u+=t?e.replace(/\n/g,"\n"+t):e,s&&(u+="\n"),'"""'+u.replace(/"""/g,'\\"""')+'"""'}r.d(t,{LZ:()=>o,W7:()=>n})},9878:(e,t,r)=>{"use strict";r.d(t,{B:()=>n});var n=Object.freeze({QUERY:"QUERY",MUTATION:"MUTATION",SUBSCRIPTION:"SUBSCRIPTION",FIELD:"FIELD",FRAGMENT_DEFINITION:"FRAGMENT_DEFINITION",FRAGMENT_SPREAD:"FRAGMENT_SPREAD",INLINE_FRAGMENT:"INLINE_FRAGMENT",VARIABLE_DEFINITION:"VARIABLE_DEFINITION",SCHEMA:"SCHEMA",SCALAR:"SCALAR",OBJECT:"OBJECT",FIELD_DEFINITION:"FIELD_DEFINITION",ARGUMENT_DEFINITION:"ARGUMENT_DEFINITION",INTERFACE:"INTERFACE",UNION:"UNION",ENUM:"ENUM",ENUM_VALUE:"ENUM_VALUE",INPUT_OBJECT:"INPUT_OBJECT",INPUT_FIELD_DEFINITION:"INPUT_FIELD_DEFINITION"})},7359:(e,t,r)=>{"use strict";r.d(t,{h:()=>n});var n=Object.freeze({NAME:"Name",DOCUMENT:"Document",OPERATION_DEFINITION:"OperationDefinition",VARIABLE_DEFINITION:"VariableDefinition",SELECTION_SET:"SelectionSet",FIELD:"Field",ARGUMENT:"Argument",FRAGMENT_SPREAD:"FragmentSpread",INLINE_FRAGMENT:"InlineFragment",FRAGMENT_DEFINITION:"FragmentDefinition",VARIABLE:"Variable",INT:"IntValue",FLOAT:"FloatValue",STRING:"StringValue",BOOLEAN:"BooleanValue",NULL:"NullValue",ENUM:"EnumValue",LIST:"ListValue",OBJECT:"ObjectValue",OBJECT_FIELD:"ObjectField",DIRECTIVE:"Directive",NAMED_TYPE:"NamedType",LIST_TYPE:"ListType",NON_NULL_TYPE:"NonNullType",SCHEMA_DEFINITION:"SchemaDefinition",OPERATION_TYPE_DEFINITION:"OperationTypeDefinition",SCALAR_TYPE_DEFINITION:"ScalarTypeDefinition",OBJECT_TYPE_DEFINITION:"ObjectTypeDefinition",FIELD_DEFINITION:"FieldDefinition",INPUT_VALUE_DEFINITION:"InputValueDefinition",INTERFACE_TYPE_DEFINITION:"InterfaceTypeDefinition",UNION_TYPE_DEFINITION:"UnionTypeDefinition",ENUM_TYPE_DEFINITION:"EnumTypeDefinition",ENUM_VALUE_DEFINITION:"EnumValueDefinition",INPUT_OBJECT_TYPE_DEFINITION:"InputObjectTypeDefinition",DIRECTIVE_DEFINITION:"DirectiveDefinition",SCHEMA_EXTENSION:"SchemaExtension",SCALAR_TYPE_EXTENSION:"ScalarTypeExtension",OBJECT_TYPE_EXTENSION:"ObjectTypeExtension",INTERFACE_TYPE_EXTENSION:"InterfaceTypeExtension",UNION_TYPE_EXTENSION:"UnionTypeExtension",ENUM_TYPE_EXTENSION:"EnumTypeExtension",INPUT_OBJECT_TYPE_EXTENSION:"InputObjectTypeExtension"})},2105:(e,t,r)=>{"use strict";r.d(t,{h:()=>s,u:()=>u});var n=r(5219),i=r(2380),o=r(4635),a=r(7392),s=function(){function e(e){var t=new i.WU(o.T.SOF,0,0,0,0,null);this.source=e,this.lastToken=t,this.token=t,this.line=1,this.lineStart=0}var t=e.prototype;return t.advance=function(){return this.lastToken=this.token,this.token=this.lookahead()},t.lookahead=function(){var e=this.token;if(e.kind!==o.T.EOF)do{var t;e=null!==(t=e.next)&&void 0!==t?t:e.next=l(this,e)}while(e.kind===o.T.COMMENT);return e},e}();function u(e){return e===o.T.BANG||e===o.T.DOLLAR||e===o.T.AMP||e===o.T.PAREN_L||e===o.T.PAREN_R||e===o.T.SPREAD||e===o.T.COLON||e===o.T.EQUALS||e===o.T.AT||e===o.T.BRACKET_L||e===o.T.BRACKET_R||e===o.T.BRACE_L||e===o.T.PIPE||e===o.T.BRACE_R}function c(e){return isNaN(e)?o.T.EOF:e<127?JSON.stringify(String.fromCharCode(e)):'"\\u'.concat(("00"+e.toString(16).toUpperCase()).slice(-4),'"')}function l(e,t){for(var r=e.source,a=r.body,s=a.length,u=t.end;u31||9===s));return new i.WU(o.T.COMMENT,t,c,r,n,a,u.slice(t+1,c))}function h(e,t,r,a,s,u){var l=e.body,p=r,f=t,h=!1;if(45===p&&(p=l.charCodeAt(++f)),48===p){if((p=l.charCodeAt(++f))>=48&&p<=57)throw(0,n.h)(e,f,"Invalid number, unexpected digit after 0: ".concat(c(p),"."))}else f=d(e,f,p),p=l.charCodeAt(f);if(46===p&&(h=!0,p=l.charCodeAt(++f),f=d(e,f,p),p=l.charCodeAt(f)),69!==p&&101!==p||(h=!0,43!==(p=l.charCodeAt(++f))&&45!==p||(p=l.charCodeAt(++f)),f=d(e,f,p),p=l.charCodeAt(f)),46===p||function(e){return 95===e||e>=65&&e<=90||e>=97&&e<=122}(p))throw(0,n.h)(e,f,"Invalid number, expected digit but got: ".concat(c(p),"."));return new i.WU(h?o.T.FLOAT:o.T.INT,t,f,a,s,u,l.slice(t,f))}function d(e,t,r){var i=e.body,o=t,a=r;if(a>=48&&a<=57){do{a=i.charCodeAt(++o)}while(a>=48&&a<=57);return o}throw(0,n.h)(e,o,"Invalid number, expected digit but got: ".concat(c(a),"."))}function v(e,t,r,a,s){for(var u,l,p,f,h=e.body,d=t+1,v=d,y=0,b="";d=48&&e<=57?e-48:e>=65&&e<=70?e-55:e>=97&&e<=102?e-87:-1}function b(e,t,r,n,a){for(var s=e.body,u=s.length,c=t+1,l=0;c!==u&&!isNaN(l=s.charCodeAt(c))&&(95===l||l>=48&&l<=57||l>=65&&l<=90||l>=97&&l<=122);)++c;return new i.WU(o.T.NAME,t,c,r,n,a,s.slice(t,c))}},4275:(e,t,r)=>{"use strict";r.r(t),r.d(t,{Parser:()=>h,parse:()=>l,parseType:()=>f,parseValue:()=>p});var n=r(5219),i=r(7359),o=r(2380),a=r(4635),s=r(7926),u=r(9878),c=r(2105);function l(e,t){return new h(e,t).parseDocument()}function p(e,t){var r=new h(e,t);r.expectToken(a.T.SOF);var n=r.parseValueLiteral(!1);return r.expectToken(a.T.EOF),n}function f(e,t){var r=new h(e,t);r.expectToken(a.T.SOF);var n=r.parseTypeReference();return r.expectToken(a.T.EOF),n}var h=function(){function e(e,t){var r=(0,s.T)(e)?e:new s.H(e);this._lexer=new c.h(r),this._options=t}var t=e.prototype;return t.parseName=function(){var e=this.expectToken(a.T.NAME);return{kind:i.h.NAME,value:e.value,loc:this.loc(e)}},t.parseDocument=function(){var e=this._lexer.token;return{kind:i.h.DOCUMENT,definitions:this.many(a.T.SOF,this.parseDefinition,a.T.EOF),loc:this.loc(e)}},t.parseDefinition=function(){if(this.peek(a.T.NAME))switch(this._lexer.token.value){case"query":case"mutation":case"subscription":return this.parseOperationDefinition();case"fragment":return this.parseFragmentDefinition();case"schema":case"scalar":case"type":case"interface":case"union":case"enum":case"input":case"directive":return this.parseTypeSystemDefinition();case"extend":return this.parseTypeSystemExtension()}else{if(this.peek(a.T.BRACE_L))return this.parseOperationDefinition();if(this.peekDescription())return this.parseTypeSystemDefinition()}throw this.unexpected()},t.parseOperationDefinition=function(){var e=this._lexer.token;if(this.peek(a.T.BRACE_L))return{kind:i.h.OPERATION_DEFINITION,operation:"query",name:void 0,variableDefinitions:[],directives:[],selectionSet:this.parseSelectionSet(),loc:this.loc(e)};var t,r=this.parseOperationType();return this.peek(a.T.NAME)&&(t=this.parseName()),{kind:i.h.OPERATION_DEFINITION,operation:r,name:t,variableDefinitions:this.parseVariableDefinitions(),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseOperationType=function(){var e=this.expectToken(a.T.NAME);switch(e.value){case"query":return"query";case"mutation":return"mutation";case"subscription":return"subscription"}throw this.unexpected(e)},t.parseVariableDefinitions=function(){return this.optionalMany(a.T.PAREN_L,this.parseVariableDefinition,a.T.PAREN_R)},t.parseVariableDefinition=function(){var e=this._lexer.token;return{kind:i.h.VARIABLE_DEFINITION,variable:this.parseVariable(),type:(this.expectToken(a.T.COLON),this.parseTypeReference()),defaultValue:this.expectOptionalToken(a.T.EQUALS)?this.parseValueLiteral(!0):void 0,directives:this.parseDirectives(!0),loc:this.loc(e)}},t.parseVariable=function(){var e=this._lexer.token;return this.expectToken(a.T.DOLLAR),{kind:i.h.VARIABLE,name:this.parseName(),loc:this.loc(e)}},t.parseSelectionSet=function(){var e=this._lexer.token;return{kind:i.h.SELECTION_SET,selections:this.many(a.T.BRACE_L,this.parseSelection,a.T.BRACE_R),loc:this.loc(e)}},t.parseSelection=function(){return this.peek(a.T.SPREAD)?this.parseFragment():this.parseField()},t.parseField=function(){var e,t,r=this._lexer.token,n=this.parseName();return this.expectOptionalToken(a.T.COLON)?(e=n,t=this.parseName()):t=n,{kind:i.h.FIELD,alias:e,name:t,arguments:this.parseArguments(!1),directives:this.parseDirectives(!1),selectionSet:this.peek(a.T.BRACE_L)?this.parseSelectionSet():void 0,loc:this.loc(r)}},t.parseArguments=function(e){var t=e?this.parseConstArgument:this.parseArgument;return this.optionalMany(a.T.PAREN_L,t,a.T.PAREN_R)},t.parseArgument=function(){var e=this._lexer.token,t=this.parseName();return this.expectToken(a.T.COLON),{kind:i.h.ARGUMENT,name:t,value:this.parseValueLiteral(!1),loc:this.loc(e)}},t.parseConstArgument=function(){var e=this._lexer.token;return{kind:i.h.ARGUMENT,name:this.parseName(),value:(this.expectToken(a.T.COLON),this.parseValueLiteral(!0)),loc:this.loc(e)}},t.parseFragment=function(){var e=this._lexer.token;this.expectToken(a.T.SPREAD);var t=this.expectOptionalKeyword("on");return!t&&this.peek(a.T.NAME)?{kind:i.h.FRAGMENT_SPREAD,name:this.parseFragmentName(),directives:this.parseDirectives(!1),loc:this.loc(e)}:{kind:i.h.INLINE_FRAGMENT,typeCondition:t?this.parseNamedType():void 0,directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(e)}},t.parseFragmentDefinition=function(){var e,t=this._lexer.token;return this.expectKeyword("fragment"),!0===(null===(e=this._options)||void 0===e?void 0:e.experimentalFragmentVariables)?{kind:i.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),variableDefinitions:this.parseVariableDefinitions(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}:{kind:i.h.FRAGMENT_DEFINITION,name:this.parseFragmentName(),typeCondition:(this.expectKeyword("on"),this.parseNamedType()),directives:this.parseDirectives(!1),selectionSet:this.parseSelectionSet(),loc:this.loc(t)}},t.parseFragmentName=function(){if("on"===this._lexer.token.value)throw this.unexpected();return this.parseName()},t.parseValueLiteral=function(e){var t=this._lexer.token;switch(t.kind){case a.T.BRACKET_L:return this.parseList(e);case a.T.BRACE_L:return this.parseObject(e);case a.T.INT:return this._lexer.advance(),{kind:i.h.INT,value:t.value,loc:this.loc(t)};case a.T.FLOAT:return this._lexer.advance(),{kind:i.h.FLOAT,value:t.value,loc:this.loc(t)};case a.T.STRING:case a.T.BLOCK_STRING:return this.parseStringLiteral();case a.T.NAME:switch(this._lexer.advance(),t.value){case"true":return{kind:i.h.BOOLEAN,value:!0,loc:this.loc(t)};case"false":return{kind:i.h.BOOLEAN,value:!1,loc:this.loc(t)};case"null":return{kind:i.h.NULL,loc:this.loc(t)};default:return{kind:i.h.ENUM,value:t.value,loc:this.loc(t)}}case a.T.DOLLAR:if(!e)return this.parseVariable()}throw this.unexpected()},t.parseStringLiteral=function(){var e=this._lexer.token;return this._lexer.advance(),{kind:i.h.STRING,value:e.value,block:e.kind===a.T.BLOCK_STRING,loc:this.loc(e)}},t.parseList=function(e){var t=this,r=this._lexer.token;return{kind:i.h.LIST,values:this.any(a.T.BRACKET_L,(function(){return t.parseValueLiteral(e)}),a.T.BRACKET_R),loc:this.loc(r)}},t.parseObject=function(e){var t=this,r=this._lexer.token;return{kind:i.h.OBJECT,fields:this.any(a.T.BRACE_L,(function(){return t.parseObjectField(e)}),a.T.BRACE_R),loc:this.loc(r)}},t.parseObjectField=function(e){var t=this._lexer.token,r=this.parseName();return this.expectToken(a.T.COLON),{kind:i.h.OBJECT_FIELD,name:r,value:this.parseValueLiteral(e),loc:this.loc(t)}},t.parseDirectives=function(e){for(var t=[];this.peek(a.T.AT);)t.push(this.parseDirective(e));return t},t.parseDirective=function(e){var t=this._lexer.token;return this.expectToken(a.T.AT),{kind:i.h.DIRECTIVE,name:this.parseName(),arguments:this.parseArguments(e),loc:this.loc(t)}},t.parseTypeReference=function(){var e,t=this._lexer.token;return this.expectOptionalToken(a.T.BRACKET_L)?(e=this.parseTypeReference(),this.expectToken(a.T.BRACKET_R),e={kind:i.h.LIST_TYPE,type:e,loc:this.loc(t)}):e=this.parseNamedType(),this.expectOptionalToken(a.T.BANG)?{kind:i.h.NON_NULL_TYPE,type:e,loc:this.loc(t)}:e},t.parseNamedType=function(){var e=this._lexer.token;return{kind:i.h.NAMED_TYPE,name:this.parseName(),loc:this.loc(e)}},t.parseTypeSystemDefinition=function(){var e=this.peekDescription()?this._lexer.lookahead():this._lexer.token;if(e.kind===a.T.NAME)switch(e.value){case"schema":return this.parseSchemaDefinition();case"scalar":return this.parseScalarTypeDefinition();case"type":return this.parseObjectTypeDefinition();case"interface":return this.parseInterfaceTypeDefinition();case"union":return this.parseUnionTypeDefinition();case"enum":return this.parseEnumTypeDefinition();case"input":return this.parseInputObjectTypeDefinition();case"directive":return this.parseDirectiveDefinition()}throw this.unexpected(e)},t.peekDescription=function(){return this.peek(a.T.STRING)||this.peek(a.T.BLOCK_STRING)},t.parseDescription=function(){if(this.peekDescription())return this.parseStringLiteral()},t.parseSchemaDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("schema");var r=this.parseDirectives(!0),n=this.many(a.T.BRACE_L,this.parseOperationTypeDefinition,a.T.BRACE_R);return{kind:i.h.SCHEMA_DEFINITION,description:t,directives:r,operationTypes:n,loc:this.loc(e)}},t.parseOperationTypeDefinition=function(){var e=this._lexer.token,t=this.parseOperationType();this.expectToken(a.T.COLON);var r=this.parseNamedType();return{kind:i.h.OPERATION_TYPE_DEFINITION,operation:t,type:r,loc:this.loc(e)}},t.parseScalarTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("scalar");var r=this.parseName(),n=this.parseDirectives(!0);return{kind:i.h.SCALAR_TYPE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("type");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:i.h.OBJECT_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:a,loc:this.loc(e)}},t.parseImplementsInterfaces=function(){var e;if(!this.expectOptionalKeyword("implements"))return[];if(!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLImplementsInterfaces)){var t=[];this.expectOptionalToken(a.T.AMP);do{t.push(this.parseNamedType())}while(this.expectOptionalToken(a.T.AMP)||this.peek(a.T.NAME));return t}return this.delimitedMany(a.T.AMP,this.parseNamedType)},t.parseFieldsDefinition=function(){var e;return!0===(null===(e=this._options)||void 0===e?void 0:e.allowLegacySDLEmptyFields)&&this.peek(a.T.BRACE_L)&&this._lexer.lookahead().kind===a.T.BRACE_R?(this._lexer.advance(),this._lexer.advance(),[]):this.optionalMany(a.T.BRACE_L,this.parseFieldDefinition,a.T.BRACE_R)},t.parseFieldDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseArgumentDefs();this.expectToken(a.T.COLON);var o=this.parseTypeReference(),s=this.parseDirectives(!0);return{kind:i.h.FIELD_DEFINITION,description:t,name:r,arguments:n,type:o,directives:s,loc:this.loc(e)}},t.parseArgumentDefs=function(){return this.optionalMany(a.T.PAREN_L,this.parseInputValueDef,a.T.PAREN_R)},t.parseInputValueDef=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName();this.expectToken(a.T.COLON);var n,o=this.parseTypeReference();this.expectOptionalToken(a.T.EQUALS)&&(n=this.parseValueLiteral(!0));var s=this.parseDirectives(!0);return{kind:i.h.INPUT_VALUE_DEFINITION,description:t,name:r,type:o,defaultValue:n,directives:s,loc:this.loc(e)}},t.parseInterfaceTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("interface");var r=this.parseName(),n=this.parseImplementsInterfaces(),o=this.parseDirectives(!0),a=this.parseFieldsDefinition();return{kind:i.h.INTERFACE_TYPE_DEFINITION,description:t,name:r,interfaces:n,directives:o,fields:a,loc:this.loc(e)}},t.parseUnionTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("union");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseUnionMemberTypes();return{kind:i.h.UNION_TYPE_DEFINITION,description:t,name:r,directives:n,types:o,loc:this.loc(e)}},t.parseUnionMemberTypes=function(){return this.expectOptionalToken(a.T.EQUALS)?this.delimitedMany(a.T.PIPE,this.parseNamedType):[]},t.parseEnumTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("enum");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseEnumValuesDefinition();return{kind:i.h.ENUM_TYPE_DEFINITION,description:t,name:r,directives:n,values:o,loc:this.loc(e)}},t.parseEnumValuesDefinition=function(){return this.optionalMany(a.T.BRACE_L,this.parseEnumValueDefinition,a.T.BRACE_R)},t.parseEnumValueDefinition=function(){var e=this._lexer.token,t=this.parseDescription(),r=this.parseName(),n=this.parseDirectives(!0);return{kind:i.h.ENUM_VALUE_DEFINITION,description:t,name:r,directives:n,loc:this.loc(e)}},t.parseInputObjectTypeDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("input");var r=this.parseName(),n=this.parseDirectives(!0),o=this.parseInputFieldsDefinition();return{kind:i.h.INPUT_OBJECT_TYPE_DEFINITION,description:t,name:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInputFieldsDefinition=function(){return this.optionalMany(a.T.BRACE_L,this.parseInputValueDef,a.T.BRACE_R)},t.parseTypeSystemExtension=function(){var e=this._lexer.lookahead();if(e.kind===a.T.NAME)switch(e.value){case"schema":return this.parseSchemaExtension();case"scalar":return this.parseScalarTypeExtension();case"type":return this.parseObjectTypeExtension();case"interface":return this.parseInterfaceTypeExtension();case"union":return this.parseUnionTypeExtension();case"enum":return this.parseEnumTypeExtension();case"input":return this.parseInputObjectTypeExtension()}throw this.unexpected(e)},t.parseSchemaExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("schema");var t=this.parseDirectives(!0),r=this.optionalMany(a.T.BRACE_L,this.parseOperationTypeDefinition,a.T.BRACE_R);if(0===t.length&&0===r.length)throw this.unexpected();return{kind:i.h.SCHEMA_EXTENSION,directives:t,operationTypes:r,loc:this.loc(e)}},t.parseScalarTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("scalar");var t=this.parseName(),r=this.parseDirectives(!0);if(0===r.length)throw this.unexpected();return{kind:i.h.SCALAR_TYPE_EXTENSION,name:t,directives:r,loc:this.loc(e)}},t.parseObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("type");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:i.h.OBJECT_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseInterfaceTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("interface");var t=this.parseName(),r=this.parseImplementsInterfaces(),n=this.parseDirectives(!0),o=this.parseFieldsDefinition();if(0===r.length&&0===n.length&&0===o.length)throw this.unexpected();return{kind:i.h.INTERFACE_TYPE_EXTENSION,name:t,interfaces:r,directives:n,fields:o,loc:this.loc(e)}},t.parseUnionTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("union");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseUnionMemberTypes();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:i.h.UNION_TYPE_EXTENSION,name:t,directives:r,types:n,loc:this.loc(e)}},t.parseEnumTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("enum");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseEnumValuesDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:i.h.ENUM_TYPE_EXTENSION,name:t,directives:r,values:n,loc:this.loc(e)}},t.parseInputObjectTypeExtension=function(){var e=this._lexer.token;this.expectKeyword("extend"),this.expectKeyword("input");var t=this.parseName(),r=this.parseDirectives(!0),n=this.parseInputFieldsDefinition();if(0===r.length&&0===n.length)throw this.unexpected();return{kind:i.h.INPUT_OBJECT_TYPE_EXTENSION,name:t,directives:r,fields:n,loc:this.loc(e)}},t.parseDirectiveDefinition=function(){var e=this._lexer.token,t=this.parseDescription();this.expectKeyword("directive"),this.expectToken(a.T.AT);var r=this.parseName(),n=this.parseArgumentDefs(),o=this.expectOptionalKeyword("repeatable");this.expectKeyword("on");var s=this.parseDirectiveLocations();return{kind:i.h.DIRECTIVE_DEFINITION,description:t,name:r,arguments:n,repeatable:o,locations:s,loc:this.loc(e)}},t.parseDirectiveLocations=function(){return this.delimitedMany(a.T.PIPE,this.parseDirectiveLocation)},t.parseDirectiveLocation=function(){var e=this._lexer.token,t=this.parseName();if(void 0!==u.B[t.value])return t;throw this.unexpected(e)},t.loc=function(e){var t;if(!0!==(null===(t=this._options)||void 0===t?void 0:t.noLocation))return new o.Ye(e,this._lexer.lastToken,this._lexer.source)},t.peek=function(e){return this._lexer.token.kind===e},t.expectToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t;throw(0,n.h)(this._lexer.source,t.start,"Expected ".concat(v(e),", found ").concat(d(t),"."))},t.expectOptionalToken=function(e){var t=this._lexer.token;if(t.kind===e)return this._lexer.advance(),t},t.expectKeyword=function(e){var t=this._lexer.token;if(t.kind!==a.T.NAME||t.value!==e)throw(0,n.h)(this._lexer.source,t.start,'Expected "'.concat(e,'", found ').concat(d(t),"."));this._lexer.advance()},t.expectOptionalKeyword=function(e){var t=this._lexer.token;return t.kind===a.T.NAME&&t.value===e&&(this._lexer.advance(),!0)},t.unexpected=function(e){var t=null!=e?e:this._lexer.token;return(0,n.h)(this._lexer.source,t.start,"Unexpected ".concat(d(t),"."))},t.any=function(e,t,r){this.expectToken(e);for(var n=[];!this.expectOptionalToken(r);)n.push(t.call(this));return n},t.optionalMany=function(e,t,r){if(this.expectOptionalToken(e)){var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n}return[]},t.many=function(e,t,r){this.expectToken(e);var n=[];do{n.push(t.call(this))}while(!this.expectOptionalToken(r));return n},t.delimitedMany=function(e,t){this.expectOptionalToken(e);var r=[];do{r.push(t.call(this))}while(this.expectOptionalToken(e));return r},e}();function d(e){var t=e.value;return v(e.kind)+(null!=t?' "'.concat(t,'"'):"")}function v(e){return(0,c.u)(e)?'"'.concat(e,'"'):e}},9011:(e,t,r)=>{"use strict";r.d(t,{print:()=>o});var n=r(7304),i=r(7392);function o(e){return(0,n.Vn)(e,{leave:a})}var a={Name:function(e){return e.value},Variable:function(e){return"$"+e.name},Document:function(e){return u(e.definitions,"\n\n")+"\n"},OperationDefinition:function(e){var t=e.operation,r=e.name,n=l("(",u(e.variableDefinitions,", "),")"),i=u(e.directives," "),o=e.selectionSet;return r||i||n||"query"!==t?u([t,u([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(" ",u(i," "))},SelectionSet:function(e){return c(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("(",u(n,", "),")");return s.length>80&&(s=a+l("(\n",p(u(n,"\n")),"\n)")),u([s,u(i," "),o]," ")},Argument:function(e){return e.name+": "+e.value},FragmentSpread:function(e){return"..."+e.name+l(" ",u(e.directives," "))},InlineFragment:function(e){var t=e.typeCondition,r=e.directives,n=e.selectionSet;return u(["...",l("on ",t),u(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("(",u(n,", "),")")," ")+"on ".concat(r," ").concat(l("",u(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.LZ)(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"["+u(e.values,", ")+"]"},ObjectValue:function(e){return"{"+u(e.fields,", ")+"}"},ObjectField:function(e){return e.name+": "+e.value},Directive:function(e){return"@"+e.name+l("(",u(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 u(["schema",u(t," "),c(r)]," ")})),OperationTypeDefinition:function(e){return e.operation+": "+e.type},ScalarTypeDefinition:s((function(e){return u(["scalar",e.name,u(e.directives," ")]," ")})),ObjectTypeDefinition:s((function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["type",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")})),FieldDefinition:s((function(e){var t=e.name,r=e.arguments,n=e.type,i=e.directives;return t+(h(r)?l("(\n",p(u(r,"\n")),"\n)"):l("(",u(r,", "),")"))+": "+n+l(" ",u(i," "))})),InputValueDefinition:s((function(e){var t=e.name,r=e.type,n=e.defaultValue,i=e.directives;return u([t+": "+r,l("= ",n),u(i," ")]," ")})),InterfaceTypeDefinition:s((function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["interface",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")})),UnionTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.types;return u(["union",t,u(r," "),n&&0!==n.length?"= "+u(n," | "):""]," ")})),EnumTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.values;return u(["enum",t,u(r," "),c(n)]," ")})),EnumValueDefinition:s((function(e){return u([e.name,u(e.directives," ")]," ")})),InputObjectTypeDefinition:s((function(e){var t=e.name,r=e.directives,n=e.fields;return u(["input",t,u(r," "),c(n)]," ")})),DirectiveDefinition:s((function(e){var t=e.name,r=e.arguments,n=e.repeatable,i=e.locations;return"directive @"+t+(h(r)?l("(\n",p(u(r,"\n")),"\n)"):l("(",u(r,", "),")"))+(n?" repeatable":"")+" on "+u(i," | ")})),SchemaExtension:function(e){var t=e.directives,r=e.operationTypes;return u(["extend schema",u(t," "),c(r)]," ")},ScalarTypeExtension:function(e){return u(["extend scalar",e.name,u(e.directives," ")]," ")},ObjectTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["extend type",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")},InterfaceTypeExtension:function(e){var t=e.name,r=e.interfaces,n=e.directives,i=e.fields;return u(["extend interface",t,l("implements ",u(r," & ")),u(n," "),c(i)]," ")},UnionTypeExtension:function(e){var t=e.name,r=e.directives,n=e.types;return u(["extend union",t,u(r," "),n&&0!==n.length?"= "+u(n," | "):""]," ")},EnumTypeExtension:function(e){var t=e.name,r=e.directives,n=e.values;return u(["extend enum",t,u(r," "),c(n)]," ")},InputObjectTypeExtension:function(e){var t=e.name,r=e.directives,n=e.fields;return u(["extend input",t,u(r," "),c(n)]," ")}};function s(e){return function(t){return u([t.description,e(t)],"\n")}}function u(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 c(e){return l("{\n",p(u(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 p(e){return l(" ",e.replace(/\n/g,"\n "))}function f(e){return-1!==e.indexOf("\n")}function h(e){return null!=e&&e.some(f)}},7926:(e,t,r)=>{"use strict";r.d(t,{H:()=>u,T:()=>c});var n=r(9763),i=r(5821),o=r(7826),a=r(8306);function s(e,t){for(var r=0;r1&&void 0!==arguments[1]?arguments[1]:"GraphQL request",r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{line:1,column:1};"string"==typeof e||(0,o.Z)(0,"Body must be a string. Received: ".concat((0,i.Z)(e),".")),this.body=e,this.name=t,this.locationOffset=r,this.locationOffset.line>0||(0,o.Z)(0,"line in locationOffset is 1-indexed and must be positive."),this.locationOffset.column>0||(0,o.Z)(0,"column in locationOffset is 1-indexed and must be positive.")}var t,r,a;return t=e,(r=[{key:n.YF,get:function(){return"Source"}}])&&s(t.prototype,r),a&&s(t,a),e}();function c(e){return(0,a.Z)(e,u)}},4635:(e,t,r)=>{"use strict";r.d(t,{T:()=>n});var n=Object.freeze({SOF:"",EOF:"",BANG:"!",DOLLAR:"$",AMP:"&",PAREN_L:"(",PAREN_R:")",SPREAD:"...",COLON:":",EQUALS:"=",AT:"@",BRACKET_L:"[",BRACKET_R:"]",BRACE_L:"{",PIPE:"|",BRACE_R:"}",NAME:"Name",INT:"Int",FLOAT:"Float",STRING:"String",BLOCK_STRING:"BlockString",COMMENT:"Comment"})},7304:(e,t,r)=>{"use strict";r.d(t,{$_:()=>a,Vn:()=>s});var n=r(5821),i=r(2380),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:[],FloatValue:[],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),l=[e],p=-1,f=[],h=void 0,d=void 0,v=void 0,y=[],m=[],b=e;do{var g=++p===l.length,E=g&&0!==f.length;if(g){if(d=0===m.length?void 0:y[y.length-1],h=v,v=m.pop(),E){if(c)h=h.slice();else{for(var O={},T=0,S=Object.keys(h);T{"use strict";r.d(t,{YF:()=>n});"function"==typeof Symbol&&null!=Symbol.iterator&&Symbol.iterator,"function"==typeof Symbol&&null!=Symbol.asyncIterator&&Symbol.asyncIterator;var n="function"==typeof Symbol&&null!=Symbol.toStringTag?Symbol.toStringTag:"@@toStringTag"},3672:e=>{"use strict";e.exports=JSON.parse('{"version":"4.1.1","author":"Apollo","name":"Apollo Client Devtools","description":"GraphQL debugging tools for Apollo Client.","icons":{"64":"images/logo64.png","128":"images/logo128.png","400":"images/logo400.png"},"page_action":{},"devtools_page":"devtools.html","background":{"scripts":["background.js"],"persistent":false},"web_accessible_resources":["panel.html","devtools.html","hook.js"],"content_scripts":[{"matches":[""],"js":["tab.js"],"run_at":"document_start"}],"manifest_version":2}')}},t={};function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={id:n,loaded:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.loaded=!0,o.exports}r.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.hmd=e=>((e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:()=>{throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};r(7934)})();