react-relay 0.0.0-main-05b773ae → 0.0.0-main-8fa540a4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-05b773ae
2
+ * Relay v0.0.0-main-8fa540a4
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/hooks.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-05b773ae
2
+ * Relay v0.0.0-main-8fa540a4
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-05b773ae
2
+ * Relay v0.0.0-main-8fa540a4
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
package/legacy.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Relay v0.0.0-main-05b773ae
2
+ * Relay v0.0.0-main-8fa540a4
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
@@ -1,9 +1,7 @@
1
1
  'use strict';
2
2
 
3
- var warning = require("fbjs/lib/warning");
4
3
  var implementation = null;
5
4
  function inject(impl) {
6
- process.env.NODE_ENV !== "production" ? warning(implementation === null, 'Relay HooksImplementation was injected twice.') : void 0;
7
5
  implementation = impl;
8
6
  }
9
7
  function get() {
@@ -3,7 +3,7 @@
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
4
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
5
5
  var _createForOfIteratorHelper2 = _interopRequireDefault(require("@babel/runtime/helpers/createForOfIteratorHelper"));
6
- var _require = require('../QueryResource'),
6
+ var _require = require('./QueryResource'),
7
7
  getQueryResourceForEnvironment = _require.getQueryResourceForEnvironment;
8
8
  var invariant = require('invariant');
9
9
  var _require2 = require('relay-runtime'),
@@ -118,7 +118,7 @@ function getFragmentState(environment, fragmentSelector) {
118
118
  };
119
119
  }
120
120
  }
121
- function readFragmentInternal_EXPERIMENTAL(environment, fragmentNode, fragmentRef, hookDisplayName, queryOptions, fragmentKey) {
121
+ function readFragmentInternal(environment, fragmentNode, fragmentRef, hookDisplayName, queryOptions, fragmentKey) {
122
122
  var _fragmentNode$metadat, _fragmentNode$metadat2;
123
123
  var fragmentSelector = getSelector(fragmentNode, fragmentRef);
124
124
  var isPlural = (fragmentNode === null || fragmentNode === void 0 ? void 0 : (_fragmentNode$metadat = fragmentNode.metadata) === null || _fragmentNode$metadat === void 0 ? void 0 : _fragmentNode$metadat.plural) === true;
@@ -179,4 +179,4 @@ function readFragmentInternal_EXPERIMENTAL(environment, fragmentNode, fragmentRe
179
179
  clientEdgeQueries: clientEdgeQueries
180
180
  };
181
181
  }
182
- module.exports = readFragmentInternal_EXPERIMENTAL;
182
+ module.exports = readFragmentInternal;
@@ -300,7 +300,7 @@ function getFragmentState(environment, fragmentSelector) {
300
300
  };
301
301
  }
302
302
  }
303
- function useFragmentInternal_EXPERIMENTAL(fragmentNode, fragmentRef, hookDisplayName, queryOptions) {
303
+ function useFragmentInternal(fragmentNode, fragmentRef, hookDisplayName, queryOptions) {
304
304
  var _fragmentNode$metadat, _fragmentNode$metadat2;
305
305
  var fragmentSelector = useMemo(function () {
306
306
  return getSelector(fragmentNode, fragmentRef);
@@ -486,4 +486,4 @@ function useFragmentInternal_EXPERIMENTAL(fragmentNode, fragmentRef, hookDisplay
486
486
  }
487
487
  return data;
488
488
  }
489
- module.exports = useFragmentInternal_EXPERIMENTAL;
489
+ module.exports = useFragmentInternal;
@@ -2,10 +2,10 @@
2
2
 
3
3
  var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefault")["default"];
4
4
  var _objectSpread2 = _interopRequireDefault(require("@babel/runtime/helpers/objectSpread2"));
5
- var readFragmentInternal = require('./experimental/readFragmentInternal_EXPERIMENTAL');
6
5
  var ProfilerContext = require('./ProfilerContext');
7
6
  var _require = require('./QueryResource'),
8
7
  getQueryResourceForEnvironment = _require.getQueryResourceForEnvironment;
8
+ var readFragmentInternal = require('./readFragmentInternal');
9
9
  var useFragmentInternal = require('./useFragmentInternal');
10
10
  var useIsMountedRef = require('./useIsMountedRef');
11
11
  var useQueryLoader = require('./useQueryLoader');
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "react-relay",
3
3
  "description": "A framework for building GraphQL-driven React applications.",
4
- "version": "0.0.0-main-05b773ae",
4
+ "version": "0.0.0-main-8fa540a4",
5
5
  "keywords": [
6
6
  "graphql",
7
7
  "relay",
@@ -20,7 +20,7 @@
20
20
  "fbjs": "^3.0.2",
21
21
  "invariant": "^2.2.4",
22
22
  "nullthrows": "^1.1.1",
23
- "relay-runtime": "0.0.0-main-05b773ae"
23
+ "relay-runtime": "0.0.0-main-8fa540a4"
24
24
  },
25
25
  "peerDependencies": {
26
26
  "react": "^16.9.0 || ^17 || ^18"
@@ -1,4 +1,4 @@
1
1
  /**
2
- * Relay v0.0.0-main-05b773ae
2
+ * Relay v0.0.0-main-8fa540a4
3
3
  */
4
- !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/warning"),require("invariant"),require("react"),require("relay-runtime")):"function"==typeof define&&define.amd?define(["@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/interopRequireDefault","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","fbjs/lib/warning","invariant","react","relay-runtime"],r):"object"==typeof exports?exports.ReactRelayHooks=r(require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/warning"),require("invariant"),require("react"),require("relay-runtime")):e.ReactRelayHooks=r(e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/interopRequireDefault"],e["@babel/runtime/helpers/objectSpread2"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["fbjs/lib/warning"],e.invariant,e.react,e["relay-runtime"])}(self,((e,r,n,t,a,i,o,l,u,s)=>(()=>{"use strict";var c={888:(e,r,n)=>{var t=n(156),a=n(658).__internal.createRelayContext;e.exports=a(t)},651:(e,r,n)=>{var t=n(158),a=n(828),i=n(428).loadQuery,o=n(187),l=n(696),u=n(529),s=n(242),c=n(899),f=n(115),d=n(951),p=n(617),v=n(876),h=n(874),m=n(750),y=n(50),g=n(746),b=n(658);e.exports={ConnectionHandler:b.ConnectionHandler,applyOptimisticMutation:b.applyOptimisticMutation,commitLocalUpdate:b.commitLocalUpdate,commitMutation:b.commitMutation,graphql:b.graphql,readInlineData:b.readInlineData,requestSubscription:b.requestSubscription,EntryPointContainer:t,RelayEnvironmentProvider:l,ProfilerContext:o,fetchQuery:b.fetchQuery,loadQuery:i,loadEntryPoint:a,useFragment:s,useLazyLoadQuery:c,useEntryPointLoader:u,useQueryLoader:v,useMutation:f,usePaginationFragment:d,usePreloadedQuery:p,useRefetchableFragment:h,useRelayEnvironment:m,useSubscribeToInvalidationState:y,useSubscription:g}},158:(e,r,n)=>{var t=n(187),a=n(750),i=n(156),o=n(156),l=o.useContext,u=o.useEffect,s=n(446);e.exports=function(e){var r=e.entryPointReference,n=e.props;s(!1===r.isDisposed,"<EntryPointContainer>: Expected entryPointReference to not be disposed yet. This is because disposing the entrypoint marks it for future garbage collection, and as such may no longer be present in the Relay store. In the future, this will become a hard error.");var o=r.getComponent,c=r.queries,f=r.entryPoints,d=r.extraProps,p=r.rootModuleID,v=o(),h=l(t),m=a();return u((function(){m.__log({name:"entrypoint.root.consume",profilerContext:h,rootModuleID:p})}),[m,h,p]),i.createElement(v,{entryPoints:f,extraProps:d,props:n,queries:c})}},914:(e,r,n)=>{var t=n(446),a=null;e.exports={inject:function(e){t(null===a,"Relay HooksImplementation was injected twice."),a=e},get:function(){return a}}},93:(e,r,n)=>{var t=n(56),a=function(){function e(e){this._capacity=e,this._capacity>0||t(!1,"LRUCache: Unable to create instance of cache with zero or negative capacity."),this._map=new Map}var r=e.prototype;return r.set=function(e,r){if(this._map.delete(e),this._map.set(e,r),this._map.size>this._capacity){var n=this._map.keys().next();n.done||this._map.delete(n.value)}},r.get=function(e){var r=this._map.get(e);return null!=r&&(this._map.delete(e),this._map.set(e,r)),r},r.has=function(e){return this._map.has(e)},r.delete=function(e){this._map.delete(e)},r.size=function(){return this._map.size},r.capacity=function(){return this._capacity-this._map.size},r.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new a(e)}}},187:(e,r,n)=>{var t=n(156).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=t},269:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(311)),o=n(93),l=n(637),u=n(56),s=n(658).isPromise,c=n(446),f="store-or-network",d="store-and-network",p="function"==typeof WeakMap;function v(e){return void 0!==e.request.node.params.metadata.live}function h(e,r,n,t,a){var i=null!=n?n:v(r)?d:f,o=null!=t?t:e.UNSTABLE_getDefaultRenderPolicy(),l="".concat(i,"-").concat(o,"-").concat(r.request.identifier);return null!=a?"".concat(l,"-").concat(a):l}function m(e,r){var n={__id:e.fragment.dataID,__fragments:(0,i.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:r,fragmentNode:e.request.node.fragment,fragmentRef:n,operation:e}}var y=2e5;function g(e,r,n,t,a,i){var o=v(r),u=t,s=a,c=new l((function(e){var n=e.retain(r);return{dispose:function(){o&&null!=s&&s.unsubscribe(),n.dispose(),i(f)}}})),f={cacheIdentifier:e,id:y++,processedPayloadsCount:0,operationAvailability:n,getValue:function(){return u},setValue:function(e){u=e},setNetworkSubscription:function(e){o&&null!=s&&s.unsubscribe(),s=e},temporaryRetain:function(e){return c.temporaryRetain(e)},permanentRetain:function(e){return c.permanentRetain(e)},releaseTemporaryRetain:function(){c.releaseTemporaryRetain()}};return f}var b=function(){function e(e){var r=this;(0,i.default)(this,"_clearCacheEntry",(function(e){r._cache.delete(e.cacheIdentifier)})),this._environment=e,this._cache=o.create(1e3)}var r=e.prototype;return r.prepare=function(e,r,n,t,a,i,o){var l=h(this._environment,e,n,t,i);return this.prepareWithIdentifier(l,e,r,n,t,a,o)},r.prepareWithIdentifier=function(e,r,n,t,i,o,l){var u=this._environment,c=null!=t?t:v(r)?d:f,p=null!=i?i:u.UNSTABLE_getDefaultRenderPolicy(),h=this._cache.get(e),m=null,y=null!=h;null==h&&(h=this._fetchAndSaveQuery(e,r,n,c,p,l,(0,a.default)((0,a.default)({},o),{},{unsubscribe:function(e){null!=m&&m.dispose();var r=null==o?void 0:o.unsubscribe;r&&r(e)}}))),m=h.temporaryRetain(u);var g=h.getValue();if(s(g))throw u.__log({name:"suspense.query",fetchPolicy:c,isPromiseCached:y,operation:r,queryAvailability:h.operationAvailability,renderPolicy:p}),g;if(g instanceof Error)throw g;return g},r.retain=function(e,r){var n=this._environment,t=e.cacheIdentifier,a=e.operation,i=this._getOrCreateCacheEntry(t,a,null,e,null),o=i.permanentRetain(n);return n.__log({name:"queryresource.retain",profilerContext:r,resourceID:i.id}),{dispose:function(){o.dispose()}}},r.releaseTemporaryRetain=function(e){var r=this._cache.get(e.cacheIdentifier);null!=r&&r.releaseTemporaryRetain()},r.TESTS_ONLY__getCacheEntry=function(e,r,n,t){var a=h(this._environment,e,r,n,t);return this._cache.get(a)},r._getOrCreateCacheEntry=function(e,r,n,t,a){var i=this._cache.get(e);return null==i&&(i=g(e,r,n,t,a,this._clearCacheEntry),this._cache.set(e,i)),i},r._fetchAndSaveQuery=function(e,r,n,t,i,o,l){var s,f,d=this,p=this._environment,h=p.check(r),y=h.status,b="available"===y,R=b||"partial"===i&&"stale"!==y,_=function(){};switch(t){case"store-only":s=!1,f=!0;break;case"store-or-network":s=!b,f=R;break;case"store-and-network":s=!0,f=R;break;default:s=!0,f=!1}if(f){var E=m(r,e),P=g(e,r,h,E,null,this._clearCacheEntry);this._cache.set(e,P)}if(s){var k,x=m(r,e);n.subscribe({start:function(n){k=n;var t=d._cache.get(e);t&&t.setNetworkSubscription(k);var i=null==l?void 0:l.start;i&&i((0,a.default)((0,a.default)({},n),{},{unsubscribe:function(){v(r)&&n.unsubscribe()}}))},next:function(){var n=d._getOrCreateCacheEntry(e,r,h,x,k);n.processedPayloadsCount+=1,n.setValue(x),_();var t=null==l?void 0:l.next;null!=t&&t(p.lookup(r.fragment))},error:function(n){var t=d._getOrCreateCacheEntry(e,r,h,n,k);0===t.processedPayloadsCount?t.setValue(n):c(!1,"QueryResource: An incremental payload for query `%s` returned an error: `%s`.",r.fragment.node.name,String(n.message)),_(),k=null,t.setNetworkSubscription(null);var a=null==l?void 0:l.error;a&&a(n)},complete:function(){_(),k=null;var r=d._cache.get(e);r&&r.setNetworkSubscription(null);var n=null==l?void 0:l.complete;n&&n()},unsubscribe:null==l?void 0:l.unsubscribe});var C=this._cache.get(e);if(!C){var w=new Promise((function(e){_=e}));w.displayName="Relay("+r.fragment.node.name+")",C=g(e,r,h,w,k,this._clearCacheEntry),this._cache.set(e,C)}}else{var S=null==l?void 0:l.complete;S&&S()}var F=this._cache.get(e);return null==F&&u(!1,"Relay: Expected to have cached a result when attempting to fetch query.If you're seeing this, this is likely a bug in Relay."),p.__log({name:"queryresource.fetch",resourceID:F.id,operation:r,profilerContext:o,fetchPolicy:t,renderPolicy:i,queryAvailability:h,shouldFetch:s}),F},e}();function R(e){return new b(e)}var _=p?new WeakMap:new Map;e.exports={createQueryResource:R,getQueryResourceForEnvironment:function(e){var r=_.get(e);if(r)return r;var n=R(e);return _.set(e,n),n},getQueryCacheIdentifier:h}},696:(e,r,n)=>{var t=n(888),a=n(156),i=a.useMemo;e.exports=function(e){var r=e.children,n=e.environment,o=e.getEnvironmentForActor,l=i((function(){return{environment:n,getEnvironmentForActor:o}}),[n,o]);return a.createElement(t.Provider,{value:l},r)}},637:(e,r,n)=>{var t=(0,n(275).default)(n(311)),a=n(446),i=function(){function e(e){var r=this;(0,t.default)(this,"_retainCount",0),(0,t.default)(this,"_retainDisposable",null),(0,t.default)(this,"_releaseTemporaryRetain",null),this._retain=function(n){return r._retainCount++,1===r._retainCount&&(r._retainDisposable=e(n)),{dispose:function(){r._retainCount=Math.max(0,r._retainCount-1),0===r._retainCount&&(null!=r._retainDisposable?(r._retainDisposable.dispose(),r._retainDisposable=null):a(!1,"Relay: Expected disposable to release query to be defined.If you're seeing this, this is likely a bug in Relay."))}}}}var r=e.prototype;return r.temporaryRetain=function(e){var r,n=this;if(e.isServer())return{dispose:function(){}};var t=this._retain(e),a=null,i=function(){clearTimeout(a),a=null,n._releaseTemporaryRetain=null,t.dispose()};return a=setTimeout(i,3e5),null===(r=this._releaseTemporaryRetain)||void 0===r||r.call(this),this._releaseTemporaryRetain=i,{dispose:function(){var e;null===(e=n._releaseTemporaryRetain)||void 0===e||e.call(n)}}},r.permanentRetain=function(e){var r=this._retain(e);return this.releaseTemporaryRetain(),r},r.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},r.getRetainCount=function(){return this._retainCount},e}();e.exports=i},719:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(765)),o=n(269).getQueryResourceForEnvironment,l=n(56),u=n(658),s=u.__internal.fetchQuery,c=u.RelayFeatureFlags,f=u.createOperationDescriptor,d=u.getPendingOperationsForFragment,p=u.getSelector,v=u.getVariablesFromFragment,h=u.handlePotentialSnapshotErrors,m=n(446);function y(e,r,n,t,i){var l=v(r,n),u=(0,a.default)((0,a.default)({},l),{},{id:t.clientEdgeDestinationID}),c=f(t.request,u,null==i?void 0:i.networkCacheConfig);return o(e).prepare(c,s(e,c),null==i?void 0:i.fetchPolicy)}e.exports=function(e,r,n,t,a,o){var u,s,f=p(r,n),v=!0===(null==r||null===(u=r.metadata)||void 0===u?void 0:u.plural);v?null==n||Array.isArray(n)||l(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",null!=o?" for key `".concat(o,"`"):"",r.name,typeof n,r.name):Array.isArray(n)&&l(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",null!=o?" for key `".concat(o,"`"):"",r.name,typeof n,r.name),null==n||v&&Array.isArray(n)&&0===n.length||null!=f||l(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",r.name,r.name,t,r.name,null==o?"a fragment reference":"the `".concat(o,"`"),t);var g,b=function(e,r){return null==r?{kind:"bailout"}:"PluralReaderSelector"===r.kind?0===r.selectors.length?{kind:"bailout"}:{kind:"plural",snapshots:r.selectors.map((function(r){return e.lookup(r)})),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(r),epoch:e.getStore().getEpoch()}}(e,f),R=null;if(!0===(null===(s=r.metadata)||void 0===s?void 0:s.hasClientEdges)){var _=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingClientEdges)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingClientEdges){var l;t=null!==(l=t)&&void 0!==l?l:[];var u,s=(0,i.default)(o.missingClientEdges);try{for(s.s();!(u=s.n()).done;){var c=u.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(b);if(null!=_&&_.length){R=[];var E,P=(0,i.default)(_);try{for(P.s();!(E=P.n()).done;){var k=E.value;R.push(y(e,r,n,k,a))}}catch(e){P.e(e)}finally{P.f()}}}if(function(e){return"bailout"!==e.kind&&("singular"===e.kind?e.snapshot.isMissingData:e.snapshots.some((function(e){return e.isMissingData})))}(b)){null==f&&l(!1,"refinement, see invariants above");var x="PluralReaderSelector"===f.kind?f.selectors[0].owner:f.owner,C=d(e,r,x);if(C)throw C.promise;!function(e,r){if("singular"===r.kind)h(e,r.snapshot.missingRequiredFields,r.snapshot.relayResolverErrors,r.snapshot.errorResponseFields);else if("plural"===r.kind){var n,t=(0,i.default)(r.snapshots);try{for(t.s();!(n=t.n()).done;){var a=n.value;h(e,a.missingRequiredFields,a.relayResolverErrors,a.errorResponseFields)}}catch(e){t.e(e)}finally{t.f()}}}(e,b)}return g="bailout"===b.kind?v?[]:null:"singular"===b.kind?b.snapshot.data:b.snapshots.map((function(e){return e.data})),c.LOG_MISSING_RECORDS_IN_PROD,null!=n&&(void 0===g||Array.isArray(g)&&g.length>0&&g.every((function(e){return void 0===e})))&&m(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",r.name,t,t),{data:g,clientEdgeQueries:R}}},828:(e,r,n)=>{var t=n(428).loadQuery;e.exports=function e(r,n,a){var i=null;null==n.root.getModuleIfRequired()&&(i=n.root.load());var o=n.getPreloadProps(a),l=o.queries,u=o.entryPoints,s=o.extraProps,c={},f={};null!=l&&Object.keys(l).forEach((function(e){var n=l[e],a=n.environmentProviderOptions,i=n.options,o=n.parameters,u=n.variables,s=r.getEnvironment(a);c[e]=t(s,o,u,{fetchPolicy:null==i?void 0:i.fetchPolicy,networkCacheConfig:null==i?void 0:i.networkCacheConfig,__nameForWarning:"loadEntryPoint"},a)})),null!=u&&Object.keys(u).forEach((function(n){var t=u[n];if(null!=t){var a=t.entryPoint,i=t.entryPointParams;f[n]=e(r,a,i)}}));var d=!1;return{dispose:function(){d||(null!=c&&Object.values(c).forEach((function(e){(0,e.dispose)()})),null!=f&&Object.values(f).forEach((function(e){(0,e.dispose)()})),d=!0)},entryPoints:f,extraProps:null!=s?s:null,getComponent:function(){var e,r=n.root.getModuleIfRequired();if(null==r)throw i=null!==(e=i)&&void 0!==e?e:n.root.load();return null!=r.default?r.default:r},get isDisposed(){return d},queries:c,rootModuleID:n.root.getModuleId()}}},428:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(56),i=n(156),o=n(658),l=o.__internal.fetchQueryDeduped,u=o.Observable,s=o.PreloadableQueryRegistry,c=o.RelayFeatureFlags,f=o.ReplaySubject,d=o.createOperationDescriptor,p=o.getRequest,v=o.getRequestIdentifier,h=n(446),m=null,y=100001;e.exports={loadQuery:function(e,r,n,o,g){var b,R,_,E,P=null===(b=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===b||null===(R=b.ReactCurrentDispatcher)||void 0===R?void 0:R.current;h(null==m||P!==m,"Relay: `%s` should not be called inside a React render function.",null!==(_=null==o?void 0:o.__nameForWarning)&&void 0!==_?_:"loadQuery"),y++;var k,x,C,w,S,F,q=null!==(E=null==o?void 0:o.fetchPolicy)&&void 0!==E?E:"store-or-network",I=(0,t.default)((0,t.default)({},null==o?void 0:o.networkCacheConfig),{},{force:!0}),D=!1,N=function(r,n){return D=!0,e.executeWithSource({operation:r,source:n})},Q=new f,A=u.create((function(e){return Q.subscribe(e)})),T=null,O=!1,L=function(r){var t;O=!0;var a=new f;if(!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING){var i="raw-network-request-"+v(r,n);t=l(e,i,(function(){return e.getNetwork().execute(r,n,I)}))}else t=e.getNetwork().execute(r,n,I);var o=t.subscribe({error:function(e){T=e,a.error(e)},next:function(e){a.next(e)},complete:function(){a.complete()}}).unsubscribe;return x=o,u.create((function(e){var r=a.subscribe(e);return function(){r.unsubscribe(),x()}}))},M=function(r,n){!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(O=!0);var t=l(e,r.request.identifier,n).subscribe({error:function(e){Q.error(e)},next:function(e){Q.next(e)},complete:function(){Q.complete()}});C=t.unsubscribe},U=function(r){var t=d(r,n,I);k=e.retain(t),"store-only"!==q&&("store-or-network"!==q||"available"!==e.check(t).status)&&M(t,(function(){var e=L(r.params);return N(t,e)}))};if("PreloadableConcreteRequest"===r.kind){null===(F=(w=r.params).id)&&a(!1,"Relay: `loadQuery` requires that preloadable query `%s` has a persisted query id",w.name);var j=s.get(F);if(null!=j)U(j);else{var V="store-only"===q?null:L(w),W=s.onLoad(F,(function(r){S();var t=d(r,n,I);k=e.retain(t),null!=V&&M(t,(function(){return N(t,V)}))}));S=W.dispose}}else{var B=p(r);F=null!=(w=B.params).cacheID?w.cacheID:w.id,U(B)}var H=!1,K=!1,G=!1,Y=function(){K||(k&&k.dispose(),K=!0)},z=function(){G||(D?C&&C():x&&x(),S&&S(),G=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:g,dispose:function(){H||(Y(),z(),H=!0)},releaseQuery:Y,cancelNetworkRequest:z,fetchKey:y,id:F,get isDisposed(){return H||K},get networkError(){return T},name:w.name,networkCacheConfig:I,fetchPolicy:q,source:O?A:void 0,variables:n}},useTrackLoadQueryInRender:function(){var e,r;null===m&&(m=null===(e=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e||null===(r=e.ReactCurrentDispatcher)||void 0===r?void 0:r.current)}}},529:(e,r,n)=>{var t=(0,n(275).default)(n(765)),a=n(828),i=n(428).useTrackLoadQueryInRender,o=n(743),l=n(156),u=l.useCallback,s=l.useEffect,c=l.useRef,f=l.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,r,n){var l,p,v,h;i();var m=null!==(l=null==n||null===(p=n.TEST_ONLY__initialEntryPointData)||void 0===p?void 0:p.entryPointReference)&&void 0!==l?l:d,y=null!==(v=null==n||null===(h=n.TEST_ONLY__initialEntryPointData)||void 0===h?void 0:h.entryPointParams)&&void 0!==v?v:null,g=o(),b=c(new Set([m])),R=f(m),_=R[0],E=R[1],P=f(y),k=P[0],x=P[1],C=u((function(){if(g.current){var e={kind:"NullEntryPointReference"};b.current.add(e),E(e)}}),[E,g]),w=u((function(n){if(g.current){var t=a(e,r,n);b.current.add(t),E(t),x(n)}}),[e,r,E,g]),S=c(!1);return s((function(){return function(){S.current=!0}}),[]),s((function(){if(!0===S.current)return S.current=!1,void("NullEntryPointReference"!==_.kind&&null!=k&&w(k));var e=b.current;if(g.current){var r,n=(0,t.default)(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===_)break;e.delete(a),"NullEntryPointReference"!==a.kind&&a.dispose()}}catch(e){n.e(e)}finally{n.f()}}}),[_,k,w,g]),s((function(){return function(){var e,r=(0,t.default)(b.current);try{for(r.s();!(e=r.n()).done;){var n=e.value;"NullEntryPointReference"!==n.kind&&n.dispose()}}catch(e){r.e(e)}finally{r.f()}}}),[]),["NullEntryPointReference"===_.kind?null:_,w,C]}},863:(e,r,n)=>{var t=n(813),a=n(156),i=a.useCallback,o=a.useEffect;e.exports=function(){var e=t(null),r=t(!1),n=i((function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),r.current=!1}),[]),a=i((function(n){e.current=n,r.current=!0}),[]),l=i((function(){e.current=null,r.current=!1}),[]);return o((function(){return n}),[n]),{isFetchingRef:r,startFetch:a,disposeFetch:n,completeFetch:l}}},242:(e,r,n)=>{var t=n(914),a=n(428).useTrackLoadQueryInRender,i=n(337),o=n(224),l=n(156).useDebugValue,u=n(658).getFragment;e.exports=function(e,r){var n=t.get();return n?n.useFragment(e,r):function(e,r){a();var n=u(e);o(n,"first argument of useFragment()");var t=i(n,r,"useFragment()");return l({fragment:n.name,data:t}),t}(e,r)}},337:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(765)),o=t(n(642)),l=n(269).getQueryResourceForEnvironment,u=n(750),s=n(56),c=n(156),f=c.useDebugValue,d=c.useEffect,p=c.useMemo,v=c.useRef,h=c.useState,m=n(658),y=m.__internal,g=y.fetchQuery,b=y.getPromiseForActiveRequest,R=m.RelayFeatureFlags,_=m.areEqualSelectors,E=m.createOperationDescriptor,P=m.getPendingOperationsForFragment,k=m.getSelector,x=m.getVariablesFromFragment,C=m.handlePotentialSnapshotErrors,w=m.recycleNodesInto,S=n(446);function F(e,r){if("bailout"===r.kind)return null;var n=e.getStore().getEpoch();if(n===r.epoch)return null;if("singular"===r.kind){var t=e.lookup(r.snapshot.selector),a=w(r.snapshot.data,t.data),i={data:a,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors,errorResponseFields:t.errorResponseFields};return[a!==r.snapshot.data,{kind:"singular",snapshot:i,epoch:n}]}for(var o=!1,l=[],u=0;u<r.snapshots.length;u++){var c=r.snapshots[u],f=e.lookup(c.selector),d=w(c.data,f.data),p={data:d,isMissingData:f.isMissingData,missingClientEdges:f.missingClientEdges,missingLiveResolverFields:f.missingLiveResolverFields,seenRecords:f.seenRecords,selector:f.selector,missingRequiredFields:f.missingRequiredFields,relayResolverErrors:f.relayResolverErrors,errorResponseFields:f.errorResponseFields};d!==c.data&&(o=!0),l.push(p)}return l.length!==r.snapshots.length&&s(!1,"Expected same number of snapshots"),[o,{kind:"plural",snapshots:l,epoch:n}]}function q(e,r,n,t,i){var o=x(r,n),u=(0,a.default)((0,a.default)({},o),{},{id:t.clientEdgeDestinationID}),s=E(t.request,u,null==i?void 0:i.networkCacheConfig);return[l(e).prepare(s,g(e,s),null==i?void 0:i.fetchPolicy),b(e,s.request)]}function I(e,r){return null==r?{kind:"bailout"}:"PluralReaderSelector"===r.kind?{kind:"plural",snapshots:r.selectors.map((function(r){return e.lookup(r)})),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(r),epoch:e.getStore().getEpoch()}}e.exports=function(e,r,n,t){var a,c,m=p((function(){return k(e,r)}),[e,r]),y=!0===(null==e||null===(a=e.metadata)||void 0===a?void 0:a.plural);y?null==r||Array.isArray(r)||s(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,typeof r,e.name):Array.isArray(r)&&s(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",e.name,typeof r,e.name),null==r||y&&Array.isArray(r)&&0===r.length||null!=m||s(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",e.name,e.name,n,e.name,n);var g=u(),b=h((function(){return I(g,m)})),E=b[0],x=b[1],w=E,D=h(w),N=D[0],Q=D[1],A=N,T=h(m),O=T[0],L=T[1],M=h(g),U=M[0],j=M[1];if(!_(m,O)||g!==U){L(m),j(g);var V=I(g,m);x(V),Q(V),w=V,A=V}var W=v(!1);if(d((function(){W.current=m}),[m]),!0===(null===(c=e.metadata)||void 0===c?void 0:c.hasClientEdges)){var B=p((function(){var n,a=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingClientEdges)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingClientEdges){var l;t=null!==(l=t)&&void 0!==l?l:[];var u,s=(0,i.default)(o.missingClientEdges);try{for(s.s();!(u=s.n()).done;){var c=u.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(w),o=[];if(null!=a&&a.length){n=[];var l,u=(0,i.default)(a);try{for(u.s();!(l=u.n()).done;){var s=l.value,c=q(g,e,r,s,t),f=c[0],d=c[1];n.push(f),null!=d&&o.push(d)}}catch(e){u.e(e)}finally{u.f()}}return[n,o]}),[w,g,e,r,t]),H=B[0],K=B[1];if(K.length)throw Promise.all(K);d((function(){var e=l(g);if(null!=H&&H.length){var r,n=[],t=(0,i.default)(H);try{for(t.s();!(r=t.n()).done;){var a=r.value;n.push(e.retain(a))}}catch(e){t.e(e)}finally{t.f()}return function(){var e,r=(0,i.default)(n);try{for(r.s();!(e=r.n()).done;)e.value.dispose()}catch(e){r.e(e)}finally{r.f()}}}}),[g,H])}if(function(e){return"bailout"!==e.kind&&("singular"===e.kind?e.snapshot.isMissingData:e.snapshots.some((function(e){return e.isMissingData})))}(w)){var G=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingLiveResolverFields)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingLiveResolverFields){var l;t=null!==(l=t)&&void 0!==l?l:[];var u,s=(0,i.default)(o.missingLiveResolverFields);try{for(s.s();!(u=s.n()).done;){var c=u.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(w);if(null!=G&&G.length>0)throw Promise.all(G.map((function(e){var r=e.liveStateID;return g.getStore().getLiveResolverPromise(r)})));if(R.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||g!==U||!W.current||!_(W.current,m)){null==m&&s(!1,"refinement, see invariants above");var Y="PluralReaderSelector"===m.kind?m.selectors[0].owner:m.owner,z=P(g,e,Y);if(z)throw z.promise}}!function(e,r){if("singular"===r.kind)C(e,r.snapshot.missingRequiredFields,r.snapshot.relayResolverErrors,r.snapshot.errorResponseFields);else if("plural"===r.kind){var n,t=(0,i.default)(r.snapshots);try{for(t.s();!(n=t.n()).done;){var a=n.value;C(e,a.missingRequiredFields,a.relayResolverErrors,a.errorResponseFields)}}catch(e){t.e(e)}finally{t.f()}}}(g,w);var X,J=v(!1);if(d((function(){var e=A,r=F(g,A);if(null!==r){var n=r[0],t=r[1];n&&x(t),e=t}return function(e,r,n,t){if("bailout"===r.kind)return function(){};if("singular"===r.kind){var a=e.subscribe(r.snapshot,(function(r){n((function(n){if("singular"!==n.kind||n.snapshot.selector!==r.selector){var a=F(e,n);if(null!=a){var i=a[0],o=a[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:i}),t.current=i,i?o:n}return n}return t.current=!0,{kind:"singular",snapshot:r,epoch:e.getStore().getEpoch()}}))}));return function(){a.dispose()}}var l=r.snapshots.map((function(r,a){return e.subscribe(r,(function(r){n((function(n){var i;if("plural"!==n.kind||(null===(i=n.snapshots[a])||void 0===i?void 0:i.selector)!==r.selector){var l=F(e,n);if(null!=l){var u=l[0],s=l[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:u}),t.current=t.current||u,u?s:n}return n}var c=(0,o.default)(n.snapshots);return c[a]=r,t.current=!0,{kind:"plural",snapshots:c,epoch:e.getStore().getEpoch()}}))}))}));return function(){var e,r=(0,i.default)(l);try{for(r.s();!(e=r.n()).done;)e.value.dispose()}catch(e){r.e(e)}finally{r.f()}}}(g,e,x,J)}),[g,A]),J.current){var Z=F(g,w);if(null!=Z){var $=Z[0],ee=Z[1];$&&(x(ee),w=ee)}J.current=!1}if(y){var re=null==r;X=p((function(){return"bailout"===w.kind?re?null:[]:("plural"!==w.kind&&s(!1,"Expected state to be plural because fragment is plural"),w.snapshots.map((function(e){return e.data})))}),[w,re])}else"bailout"===w.kind?X=null:("singular"!==w.kind&&s(!1,"Expected state to be singular because fragment is singular"),X=w.snapshot.data);return R.LOG_MISSING_RECORDS_IN_PROD,null!=r&&(void 0===X||Array.isArray(X)&&X.length>0&&X.every((function(e){return void 0===e})))&&S(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",e.name,n,n),f({fragment:e.name,data:X}),X}},743:(e,r,n)=>{var t=n(156),a=t.useEffect,i=t.useRef;e.exports=function(){var e=i(!0);return a((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},233:(e,r,n)=>{var t=n(750),a=n(56),i=n(156),o=n(658),l=o.__internal.getObservableForActiveRequest,u=o.getSelector,s=i.useEffect,c=i.useState,f=i.useMemo;e.exports=function(e,r){var n=t(),i=f((function(){var t=u(e,r);return null==t?null:("SingularReaderSelector"!==t.kind&&a(!1,"useIsOperationNodeActive: Plural fragments are not supported."),l(n,t.owner))}),[n,e,r]),o=c(null!=i),d=o[0],p=o[1];return s((function(){var e;if(p(null!=i),null!=i){var r=function(){p(!1)};e=i.subscribe({complete:r,error:r})}return function(){e&&e.unsubscribe()}}),[i]),d}},899:(e,r,n)=>{var t=n(428).useTrackLoadQueryInRender,a=n(734),i=n(61),o=n(750),l=n(658).__internal.fetchQuery;e.exports=function(e,r,n){t();var u=o(),s=i(e,r,n&&n.networkCacheConfig?n.networkCacheConfig:{force:!0});return a({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==n?void 0:n.fetchKey,fetchObservable:l(u,s),fetchPolicy:null==n?void 0:n.fetchPolicy,query:s,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy})}},734:(e,r,n)=>{var t=n(914),a=n(187),i=n(269),o=i.getQueryCacheIdentifier,l=i.getQueryResourceForEnvironment,u=n(863),s=n(337),c=n(750),f=n(156),d=f.useContext,p=f.useEffect,v=f.useState,h=f.useRef;e.exports=function(e){var r=e.query,n=e.componentDisplayName,i=e.fetchObservable,f=e.fetchPolicy,m=e.fetchKey,y=e.renderPolicy,g=c(),b=d(a),R=l(g),_=v(0),E=_[0],P=_[1],k=u(),x=k.startFetch,C=k.completeFetch,w="".concat(E,"-").concat(null!=m?m:""),S=o(g,r,f,y,w),F=b.wrapPrepareQueryResource((function(){return R.prepareWithIdentifier(S,r,i,f,y,{start:x,complete:C,error:C},b)})),q=h(!1);return p((function(){return function(){q.current=!0}}),[]),p((function(){if(!0===q.current)return q.current=!1,void P((function(e){return e+1}));var e=R.retain(F,b);return function(){e.dispose()}}),[g,S]),p((function(){R.releaseTemporaryRetain(F)})),function(e,r,n){var a=t.get();return a&&a.useFragmentNode?a.useFragmentNode(e,r,n).data:s(e,r,n)}(F.fragmentNode,F.fragmentRef,n)}},601:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(863),i=n(743),o=n(233),l=n(750),u=n(56),s=n(156),c=s.useCallback,f=s.useEffect,d=s.useState,p=n(658),v=p.__internal.fetchQuery,h=p.ConnectionInterface,m=p.createOperationDescriptor,y=p.getPaginationVariables,g=p.getRefetchMetadata,b=p.getSelector,R=p.getValueAtPath,_=n(446);e.exports=function(e){var r=e.direction,n=e.fragmentNode,s=e.fragmentRef,p=e.fragmentIdentifier,E=e.fragmentData,P=e.connectionPathInFragmentData,k=e.paginationRequest,x=e.paginationMetadata,C=e.componentDisplayName,w=e.observer,S=e.onReset,F=l(),q=a(),I=q.isFetchingRef,D=q.startFetch,N=q.disposeFetch,Q=q.completeFetch,A=g(n,C).identifierInfo,T=null!=(null==A?void 0:A.identifierField)&&null!=E&&"object"==typeof E?E[A.identifierField]:null,O=i(),L=d(F),M=L[0],U=L[1],j=d(p),V=j[0],W=j[1],B=o(n,s);(F!==M||p!==V)&&(N(),S(),U(F),W(p));var H=function(e,r,n,t){var a,i,o=h.get(),l=o.EDGES,s=o.PAGE_INFO,c=o.HAS_NEXT_PAGE,f=o.HAS_PREV_PAGE,d=o.END_CURSOR,p=o.START_CURSOR,v=R(n,t);if(null==v)return{cursor:null,hasMore:!1};"object"!=typeof v&&u(!1,"Relay: Expected connection in fragment `%s` to have been `null`, or a plain object with %s and %s properties. Instead got `%s`.",r.name,l,s,v);var m=v[l],y=v[s];if(null==m||null==y)return{cursor:null,hasMore:!1};Array.isArray(m)||u(!1,"Relay: Expected connection in fragment `%s` to have a plural `%s` field. Instead got `%s`.",r.name,l,m),"object"!=typeof y&&u(!1,"Relay: Expected connection in fragment `%s` to have a `%s` field. Instead got `%s`.",r.name,s,y);var g="forward"===e?null!==(a=y[d])&&void 0!==a?a:null:null!==(i=y[p])&&void 0!==i?i:null;return null!==g&&"string"!=typeof g&&u(!1,"Relay: Expected page info for connection in fragment `%s` to have a valid `%s`. Instead got `%s`.",r.name,p,g),{cursor:g,hasMore:"forward"===e?null!=g&&!0===y[c]:null!=g&&!0===y[f]}}(r,n,E,P),K=H.cursor,G=H.hasMore;return f((function(){return function(){N()}}),[N]),[c((function(e,a){var i=null==a?void 0:a.onComplete;if(!0!==O.current)return _(!1,"Relay: Unexpected fetch on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",n.name,C),{dispose:function(){}};var o=b(n,s);if(!0===I.current||null==E||B)return null==o&&_(!1,"Relay: Unexpected fetch while using a null fragment ref for fragment `%s` in `%s`. When fetching more items, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before paginating.",n.name,C,C),i&&i(null),{dispose:function(){}};(null==o||"PluralReaderSelector"===o.kind)&&u(!1,"Relay: Expected to be able to find a non-plural fragment owner for fragment `%s` when using `%s`. If you're seeing this, this is likely a bug in Relay.",n.name,C);var l=o.owner.variables,c=o.variables,f=null==a?void 0:a.UNSTABLE_extraVariables,d=(0,t.default)((0,t.default)({},l),c),p=y(r,e,K,d,(0,t.default)({},f),x);null!=A&&("string"!=typeof T&&_(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",A.identifierField,T),p[A.identifierQueryVariableName]=T);var h=m(k,p,{force:!0});return v(F,h).subscribe((0,t.default)((0,t.default)({},w),{},{start:function(e){D(e),w.start&&w.start(e)},complete:function(){Q(),w.complete&&w.complete(),i&&i(null)},error:function(e){Q(),w.error&&w.error(e),i&&i(e)}})),{dispose:N}}),[F,T,r,K,D,N,Q,I,B,E,n.name,s,C]),G,N]}},61:(e,r,n)=>{var t=n(925),a=n(156),i=n(658),o=i.createOperationDescriptor,l=i.getRequest,u=a.useMemo;e.exports=function(e,r,n){var a=t(r),i=t(n||{});return u((function(){return o(l(e),a,i)}),[e,a,i])}},925:(e,r,n)=>{var t=n(125),a=n(156).useState;e.exports=function(e){var r=a(e),n=r[0],i=r[1];return t(e,n)?n:(i(e),e)}},115:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(743),i=n(750),o=n(156),l=n(658).commitMutation,u=o.useState,s=o.useEffect,c=o.useRef,f=o.useCallback;e.exports=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=i(),o=a(),d=c(n),p=c(e),v=c(new Set),h=u(!1),m=h[0],y=h[1],g=f((function(r){d.current===n&&p.current===e&&(v.current.delete(r),o.current&&y(v.current.size>0))}),[n,o,e]);return s((function(){d.current===n&&p.current===e||(v.current=new Set,o.current&&y(!1),d.current=n,p.current=e)}),[n,o,e]),[f((function(a){o.current&&y(!0);var i=r(n,(0,t.default)((0,t.default)({},a),{},{mutation:e,onCompleted:function(e,r){var n;g(i),null===(n=a.onCompleted)||void 0===n||n.call(a,e,r)},onError:function(e){var r;g(i),null===(r=a.onError)||void 0===r||r.call(a,e)},onUnsubscribe:function(){var e;g(i),null===(e=a.onUnsubscribe)||void 0===e||e.call(a)},onNext:function(){var e;null===(e=a.onNext)||void 0===e||e.call(a)}}));return v.current.add(i),i}),[g,r,n,o,e]),m]}},951:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(914),i=n(601),o=n(915),l=n(750),u=n(224),s=n(156),c=s.useCallback,f=s.useDebugValue,d=s.useState,p=n(658),v=p.getFragment,h=p.getFragmentIdentifier,m=p.getPaginationMetadata;function y(e){var r=l(),n=d(!1),a=n[0],o=n[1],u=function(e){var n,t=null===(n=r.getScheduler())||void 0===n?void 0:n.schedule;t?t((function(){o(e)})):o(e)},s={start:function(){return u(!0)},complete:function(){return u(!1)},error:function(){return u(!1)}},c=i((0,t.default)((0,t.default)({},e),{},{observer:s,onReset:function(){return u(!1)}}));return[c[0],c[1],a,c[2]]}e.exports=function(e,r){var n=a.get();return n?n.usePaginationFragment(e,r):function(e,r){var n=v(e);u(n,"first argument of usePaginationFragment()");var a="usePaginationFragment()",i=m(n,a),l=i.connectionPathInFragmentData,s=i.paginationRequest,d=i.paginationMetadata,p=o(n,r,a),g=p.fragmentData,b=p.fragmentRef,R=p.refetch,_=h(n,b),E=y({componentDisplayName:a,connectionPathInFragmentData:l,direction:"backward",fragmentData:g,fragmentIdentifier:_,fragmentNode:n,fragmentRef:b,paginationMetadata:d,paginationRequest:s}),P=E[0],k=E[1],x=E[2],C=E[3],w=y({componentDisplayName:a,connectionPathInFragmentData:l,direction:"forward",fragmentData:g,fragmentIdentifier:_,fragmentNode:n,fragmentRef:b,paginationMetadata:d,paginationRequest:s}),S=w[0],F=w[1],q=w[2],I=w[3],D=c((function(e,r){return I(),C(),R(e,(0,t.default)((0,t.default)({},r),{},{__environment:void 0}))}),[I,C,R]);return f({fragment:n.name,data:g,hasNext:F,isLoadingNext:q,hasPrevious:k,isLoadingPrevious:x}),{data:g,loadNext:S,loadPrevious:P,hasNext:F,hasPrevious:k,isLoadingNext:q,isLoadingPrevious:x,refetch:D}}(e,r)}},617:(e,r,n)=>{var t=n(428).useTrackLoadQueryInRender,a=n(734),i=n(61),o=n(750),l=n(56),u=n(156).useDebugValue,s=n(658).__internal,c=s.fetchQueryDeduped,f=s.fetchQuery,d=n(446);e.exports=function(e,r,n){t();var s,p=o(),v=r.fetchKey,h=r.fetchPolicy,m=r.source,y=r.variables,g=r.networkCacheConfig,b=i(e,y,g);if("PreloadedQuery_DEPRECATED"===r.kind)b.request.node.params.name!==r.name&&l(!1,"usePreloadedQuery(): Expected data to be prefetched for query `%s`, got prefetch results for query `%s`.",b.request.node.params.name,r.name),s={componentDisplayName:"usePreloadedQuery()",fetchKey:v,fetchObservable:c(p,b.request.identifier,(function(){return p===r.environment&&null!=m?p.executeWithSource({operation:b,source:m}):p.execute({operation:b})})),fetchPolicy:h,query:b,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy};else{d(!1===r.isDisposed,"usePreloadedQuery(): Expected preloadedQuery to not be disposed yet. This is because disposing the query marks it for future garbage collection, and as such query results may no longer be present in the Relay store. In the future, this will become a hard error.");var R,_=f(p,b);null!=m&&p===r.environment?R=m.ifEmpty(_):p!==r.environment?(d(!1,"usePreloadedQuery(): usePreloadedQuery was passed a preloaded query that was created with a different environment than the one that is currently in context. In the future, this will become a hard error."),R=_):R=_,s={componentDisplayName:"usePreloadedQuery()",fetchObservable:R,fetchKey:v,fetchPolicy:h,query:b,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy}}var E=a(s);return u({query:r.name,variables:r.variables,data:E,fetchKey:v,fetchPolicy:h,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy}),E}},876:(e,r,n)=>{var t=(0,n(275).default)(n(765)),a=n(428),i=a.loadQuery,o=a.useTrackLoadQueryInRender,l=n(743),u=n(750),s=n(156),c=s.useCallback,f=s.useEffect,d=s.useRef,p=s.useState,v=n(658).getRequest,h={kind:"NullQueryReference"};function m(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==v(e).params.metadata.live}e.exports=function(e,r){var n=null!=r?r:h,a=u();o();var s=l(),v=d(new Set([n])),y=p((function(){return n})),g=y[0],b=y[1],R=p((function(){return n})),_=R[0],E=R[1];n!==_&&(v.current.add(n),E(n),b(n));var P=c((function(){s.current&&(v.current.add(h),b(h))}),[s]),k=c((function(r,n){var t=null!=n&&n.hasOwnProperty("__environment")?{fetchPolicy:n.fetchPolicy,networkCacheConfig:n.networkCacheConfig,__nameForWarning:n.__nameForWarning}:n;if(s.current){var o,l=i(null!==(o=null==n?void 0:n.__environment)&&void 0!==o?o:a,e,r,t);v.current.add(l),b(l)}}),[a,e,b,s]),x=d(!1);return f((function(){return function(){x.current=!0}}),[]),f((function(){if(!0===x.current)return x.current=!1,void("NullQueryReference"!==g.kind&&k(g.variables,{fetchPolicy:g.fetchPolicy,networkCacheConfig:g.networkCacheConfig}));var r=v.current;if(s.current){var n,a=(0,t.default)(r);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===g)break;r.delete(i),"NullQueryReference"!==i.kind&&(m(e)?i.dispose&&i.dispose():i.releaseQuery&&i.releaseQuery())}}catch(e){a.e(e)}finally{a.f()}}}),[g,s,k,e]),f((function(){return function(){var r,n=(0,t.default)(v.current);try{for(n.s();!(r=n.n()).done;){var a=r.value;"NullQueryReference"!==a.kind&&(m(e)?a.dispose&&a.dispose():a.releaseQuery&&a.releaseQuery())}}catch(e){n.e(e)}finally{n.f()}}}),[e]),["NullQueryReference"===g.kind?null:g,k,P]}},874:(e,r,n)=>{var t=n(914),a=n(915),i=n(224),o=n(156).useDebugValue,l=n(658).getFragment;e.exports=function(e,r){var n=t.get();return n?n.useRefetchableFragment(e,r):function(e,r){var n=l(e);i(n,"first argument of useRefetchableFragment()");var t=a(n,r,"useRefetchableFragment()"),u=t.fragmentData,s=t.refetch;return o({fragment:n.name,data:u}),[u,s]}(e,r)}},915:(e,r,n)=>{var t,a=(0,n(275).default)(n(175)),i=n(719),o=n(187),l=n(269).getQueryResourceForEnvironment,u=n(337),s=n(743),c=n(876),f=n(750),d=n(56),p=n(156),v=p.useCallback,h=p.useContext,m=p.useReducer,y=n(658),g=y.__internal.fetchQuery,b=y.createOperationDescriptor,R=y.getFragmentIdentifier,_=y.getRefetchMetadata,E=y.getSelector,P=y.getValueAtPath,k=n(446);function x(e,r){switch(r.type){case"refetch":var n;return(0,a.default)((0,a.default)({},e),{},{fetchPolicy:r.fetchPolicy,mirroredEnvironment:null!==(n=r.refetchEnvironment)&&void 0!==n?n:e.mirroredEnvironment,onComplete:r.onComplete,refetchEnvironment:r.refetchEnvironment,refetchQuery:r.refetchQuery,renderPolicy:r.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:r.environment,mirroredFragmentIdentifier:r.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw r.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}t={getInitialIDAndType:function(e,r,t,a){var i=n(658).Record,o=null==e?void 0:e[null!=t?t:"id"];if(1!==r.length||"node"!==r[0]||null==o)return null;var l=a.getStore().getSource().get(o),u=null==l?null:i.getType(l);return null==u?null:{id:o,typename:u}},checkSameTypeAfterRefetch:function(e,r,t,a){var i=n(658).Record;if(e){var o=r.getStore().getSource().get(e.id),l=o&&i.getType(o);l!==e.typename&&k(!1,"Relay: Call to `refetch` returned data with a different __typename: was `%s`, now `%s`, on `%s` in `%s`. Please make sure the server correctly implementsunique id requirement.",e.typename,l,t.name,a)}},checkSameIDAfterRefetch:function(e,r,t,a){if(null!=e){var i=r[n(658).ID_KEY];null!=i&&i!==e.id&&k(!1,"Relay: Call to `refetch` returned a different id, expected `%s`, got `%s`, on `%s` in `%s`. Please make sure the server correctly implements unique id requirement.",i,e.id,t.name,a)}}},e.exports=function(e,r,n){var p=f(),y=_(e,n),C=y.refetchableRequest,w=y.fragmentRefPathInResponse,S=y.identifierInfo,F=R(e,r),q=m(x,{fetchPolicy:void 0,mirroredEnvironment:p,mirroredFragmentIdentifier:F,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),I=q[0],D=q[1],N=I.fetchPolicy,Q=I.mirroredEnvironment,A=I.mirroredFragmentIdentifier,T=I.onComplete,O=I.refetchEnvironment,L=I.refetchQuery,M=I.renderPolicy,U=null!=O?O:p,j=l(U),V=h(o),W=U!==Q||F!==A,B=c(C),H=B[0],K=B[1],G=B[2],Y=r;if(W)D({type:"reset",environment:U,fragmentIdentifier:F}),G();else if(null!=L&&null!=H){var z;z=t.getInitialIDAndType(L.request.variables,w,null==S?void 0:S.identifierQueryVariableName,U);var X=function(e){T&&T(null!=e?e:null)},J=null!=H.source?H.source:g(U,L),Z=V.wrapPrepareQueryResource((function(){return j.prepare(L,J,N,M,{error:X,complete:function(){t.checkSameTypeAfterRefetch(z,U,e,n),X()}},H.fetchKey,V)})),$=i(U,Z.fragmentNode,Z.fragmentRef,n).data;null==$&&d(!1,"Relay: Expected to be able to read refetch query response. If you're seeing this, this is likely a bug in Relay."),Y=P($,w),t.checkSameIDAfterRefetch(z,Y,e,n)}var ee=u(e,Y,n),re=function(e,r,n,t,i,o,l,u,c,f,d){var p=s(),h=null!=(null==u?void 0:u.identifierField)&&null!=t&&"object"==typeof t?t[u.identifierField]:null;return v((function(t,i){if(!0!==p.current)return k(!1,"Relay: Unexpected call to `refetch` on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",o.name,e),{dispose:function(){}};null==f&&k(!1,"Relay: Unexpected call to `refetch` while using a null fragment ref for fragment `%s` in `%s`. When calling `refetch`, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before calling `refetch`, or make sure you pass all required variables to `refetch`.",o.name,e,e);var l,s,v=null==i?void 0:i.__environment,m=null==i?void 0:i.fetchPolicy,y=null==i?void 0:i.UNSTABLE_renderPolicy,g=null==i?void 0:i.onComplete,R=E(o,f);if(null==R)l={},s={};else if("PluralReaderSelector"===R.kind){var _,P,x,C;l=null!==(_=null===(P=R.selectors[0])||void 0===P?void 0:P.owner.variables)&&void 0!==_?_:{},s=null!==(x=null===(C=R.selectors[0])||void 0===C?void 0:C.variables)&&void 0!==x?x:{}}else l=R.owner.variables,s=R.variables;var w=(0,a.default)((0,a.default)((0,a.default)({},l),s),t);null==u||t.hasOwnProperty(u.identifierQueryVariableName)||("string"!=typeof h&&k(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",u.identifierField,h),w[u.identifierQueryVariableName]=h);var S=b(d,w,{force:!0});return c(S.request.variables,{fetchPolicy:m,__environment:v,__nameForWarning:"refetch"}),r({type:"refetch",fetchPolicy:m,onComplete:g,refetchEnvironment:v,refetchQuery:S,renderPolicy:y}),{dispose:n}}),[i,r,n,h,c])}(n,D,G,ee,F,e,0,S,K,r,C);return{fragmentData:ee,fragmentRef:Y,refetch:re}}},750:(e,r,n)=>{var t=n(888),a=n(56),i=n(156).useContext;e.exports=function(){var e=i(t);return null==e&&a(!1,"useRelayEnvironment: Expected to have found a Relay environment provided by a `RelayEnvironmentProvider` component. This usually means that useRelayEnvironment was used in a component that is not a descendant of a `RelayEnvironmentProvider`. Please make sure a `RelayEnvironmentProvider` has been rendered somewhere as a parent or ancestor of your component."),e.environment}},224:(e,r,n)=>{var t=n(813),a=n(446);e.exports=function(e,r){var n=t(e.name);a(n.current===e.name,"Relay: The %s has to remain the same over the lifetime of a component. Changing it is not supported and will result in unexpected behavior.",r)}},50:(e,r,n)=>{var t=n(750),a=n(156),i=a.useEffect,o=a.useRef;e.exports=function(e,r){var n=t(),a=o(null),l=Array.from(e).sort().join("");return i((function(){var t=n.getStore(),i=t.lookupInvalidationState(e),o=t.subscribeToInvalidationState(i,r);return a.current=o,function(){return o.dispose()}}),[l,r,n]),{dispose:function(){null!=a.current&&a.current.dispose()}}}},746:(e,r,n)=>{var t=n(750),a=n(156).useEffect,i=n(658).requestSubscription;e.exports=function(e,r){var n=null!=r?r:i,o=t();a((function(){return n(o,e).dispose}),[o,e,n])}},813:(e,r,n)=>{var t=n(156).useMemo;e.exports=function(e){return t((function(){return{current:e}}),[])}},765:r=>{r.exports=e},311:e=>{e.exports=r},275:e=>{e.exports=n},175:e=>{e.exports=t},642:e=>{e.exports=a},125:e=>{e.exports=i},446:e=>{e.exports=o},56:e=>{e.exports=l},156:e=>{e.exports=u},658:e=>{e.exports=s}},f={};return function e(r){var n=f[r];if(void 0!==n)return n.exports;var t=f[r]={exports:{}};return c[r](t,t.exports,e),t.exports}(651)})()));
4
+ !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/warning"),require("invariant"),require("react"),require("relay-runtime")):"function"==typeof define&&define.amd?define(["@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/interopRequireDefault","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","fbjs/lib/warning","invariant","react","relay-runtime"],r):"object"==typeof exports?exports.ReactRelayHooks=r(require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/warning"),require("invariant"),require("react"),require("relay-runtime")):e.ReactRelayHooks=r(e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/interopRequireDefault"],e["@babel/runtime/helpers/objectSpread2"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["fbjs/lib/warning"],e.invariant,e.react,e["relay-runtime"])}(self,((e,r,n,t,a,i,o,l,u,s)=>(()=>{"use strict";var c={888:(e,r,n)=>{var t=n(156),a=n(658).__internal.createRelayContext;e.exports=a(t)},651:(e,r,n)=>{var t=n(158),a=n(828),i=n(428).loadQuery,o=n(187),l=n(696),u=n(529),s=n(242),c=n(899),f=n(115),d=n(951),p=n(617),v=n(876),h=n(874),m=n(750),y=n(50),g=n(746),b=n(658);e.exports={ConnectionHandler:b.ConnectionHandler,applyOptimisticMutation:b.applyOptimisticMutation,commitLocalUpdate:b.commitLocalUpdate,commitMutation:b.commitMutation,graphql:b.graphql,readInlineData:b.readInlineData,requestSubscription:b.requestSubscription,EntryPointContainer:t,RelayEnvironmentProvider:l,ProfilerContext:o,fetchQuery:b.fetchQuery,loadQuery:i,loadEntryPoint:a,useFragment:s,useLazyLoadQuery:c,useEntryPointLoader:u,useQueryLoader:v,useMutation:f,usePaginationFragment:d,usePreloadedQuery:p,useRefetchableFragment:h,useRelayEnvironment:m,useSubscribeToInvalidationState:y,useSubscription:g}},158:(e,r,n)=>{var t=n(187),a=n(750),i=n(156),o=n(156),l=o.useContext,u=o.useEffect,s=n(446);e.exports=function(e){var r=e.entryPointReference,n=e.props;s(!1===r.isDisposed,"<EntryPointContainer>: Expected entryPointReference to not be disposed yet. This is because disposing the entrypoint marks it for future garbage collection, and as such may no longer be present in the Relay store. In the future, this will become a hard error.");var o=r.getComponent,c=r.queries,f=r.entryPoints,d=r.extraProps,p=r.rootModuleID,v=o(),h=l(t),m=a();return u((function(){m.__log({name:"entrypoint.root.consume",profilerContext:h,rootModuleID:p})}),[m,h,p]),i.createElement(v,{entryPoints:f,extraProps:d,props:n,queries:c})}},914:e=>{var r=null;e.exports={inject:function(e){r=e},get:function(){return r}}},93:(e,r,n)=>{var t=n(56),a=function(){function e(e){this._capacity=e,this._capacity>0||t(!1,"LRUCache: Unable to create instance of cache with zero or negative capacity."),this._map=new Map}var r=e.prototype;return r.set=function(e,r){if(this._map.delete(e),this._map.set(e,r),this._map.size>this._capacity){var n=this._map.keys().next();n.done||this._map.delete(n.value)}},r.get=function(e){var r=this._map.get(e);return null!=r&&(this._map.delete(e),this._map.set(e,r)),r},r.has=function(e){return this._map.has(e)},r.delete=function(e){this._map.delete(e)},r.size=function(){return this._map.size},r.capacity=function(){return this._capacity-this._map.size},r.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new a(e)}}},187:(e,r,n)=>{var t=n(156).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=t},269:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(311)),o=n(93),l=n(637),u=n(56),s=n(658).isPromise,c=n(446),f="store-or-network",d="store-and-network",p="function"==typeof WeakMap;function v(e){return void 0!==e.request.node.params.metadata.live}function h(e,r,n,t,a){var i=null!=n?n:v(r)?d:f,o=null!=t?t:e.UNSTABLE_getDefaultRenderPolicy(),l="".concat(i,"-").concat(o,"-").concat(r.request.identifier);return null!=a?"".concat(l,"-").concat(a):l}function m(e,r){var n={__id:e.fragment.dataID,__fragments:(0,i.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:r,fragmentNode:e.request.node.fragment,fragmentRef:n,operation:e}}var y=2e5;function g(e,r,n,t,a,i){var o=v(r),u=t,s=a,c=new l((function(e){var n=e.retain(r);return{dispose:function(){o&&null!=s&&s.unsubscribe(),n.dispose(),i(f)}}})),f={cacheIdentifier:e,id:y++,processedPayloadsCount:0,operationAvailability:n,getValue:function(){return u},setValue:function(e){u=e},setNetworkSubscription:function(e){o&&null!=s&&s.unsubscribe(),s=e},temporaryRetain:function(e){return c.temporaryRetain(e)},permanentRetain:function(e){return c.permanentRetain(e)},releaseTemporaryRetain:function(){c.releaseTemporaryRetain()}};return f}var b=function(){function e(e){var r=this;(0,i.default)(this,"_clearCacheEntry",(function(e){r._cache.delete(e.cacheIdentifier)})),this._environment=e,this._cache=o.create(1e3)}var r=e.prototype;return r.prepare=function(e,r,n,t,a,i,o){var l=h(this._environment,e,n,t,i);return this.prepareWithIdentifier(l,e,r,n,t,a,o)},r.prepareWithIdentifier=function(e,r,n,t,i,o,l){var u=this._environment,c=null!=t?t:v(r)?d:f,p=null!=i?i:u.UNSTABLE_getDefaultRenderPolicy(),h=this._cache.get(e),m=null,y=null!=h;null==h&&(h=this._fetchAndSaveQuery(e,r,n,c,p,l,(0,a.default)((0,a.default)({},o),{},{unsubscribe:function(e){null!=m&&m.dispose();var r=null==o?void 0:o.unsubscribe;r&&r(e)}}))),m=h.temporaryRetain(u);var g=h.getValue();if(s(g))throw u.__log({name:"suspense.query",fetchPolicy:c,isPromiseCached:y,operation:r,queryAvailability:h.operationAvailability,renderPolicy:p}),g;if(g instanceof Error)throw g;return g},r.retain=function(e,r){var n=this._environment,t=e.cacheIdentifier,a=e.operation,i=this._getOrCreateCacheEntry(t,a,null,e,null),o=i.permanentRetain(n);return n.__log({name:"queryresource.retain",profilerContext:r,resourceID:i.id}),{dispose:function(){o.dispose()}}},r.releaseTemporaryRetain=function(e){var r=this._cache.get(e.cacheIdentifier);null!=r&&r.releaseTemporaryRetain()},r.TESTS_ONLY__getCacheEntry=function(e,r,n,t){var a=h(this._environment,e,r,n,t);return this._cache.get(a)},r._getOrCreateCacheEntry=function(e,r,n,t,a){var i=this._cache.get(e);return null==i&&(i=g(e,r,n,t,a,this._clearCacheEntry),this._cache.set(e,i)),i},r._fetchAndSaveQuery=function(e,r,n,t,i,o,l){var s,f,d=this,p=this._environment,h=p.check(r),y=h.status,b="available"===y,R=b||"partial"===i&&"stale"!==y,_=function(){};switch(t){case"store-only":s=!1,f=!0;break;case"store-or-network":s=!b,f=R;break;case"store-and-network":s=!0,f=R;break;default:s=!0,f=!1}if(f){var E=m(r,e),P=g(e,r,h,E,null,this._clearCacheEntry);this._cache.set(e,P)}if(s){var k,x=m(r,e);n.subscribe({start:function(n){k=n;var t=d._cache.get(e);t&&t.setNetworkSubscription(k);var i=null==l?void 0:l.start;i&&i((0,a.default)((0,a.default)({},n),{},{unsubscribe:function(){v(r)&&n.unsubscribe()}}))},next:function(){var n=d._getOrCreateCacheEntry(e,r,h,x,k);n.processedPayloadsCount+=1,n.setValue(x),_();var t=null==l?void 0:l.next;null!=t&&t(p.lookup(r.fragment))},error:function(n){var t=d._getOrCreateCacheEntry(e,r,h,n,k);0===t.processedPayloadsCount?t.setValue(n):c(!1,"QueryResource: An incremental payload for query `%s` returned an error: `%s`.",r.fragment.node.name,String(n.message)),_(),k=null,t.setNetworkSubscription(null);var a=null==l?void 0:l.error;a&&a(n)},complete:function(){_(),k=null;var r=d._cache.get(e);r&&r.setNetworkSubscription(null);var n=null==l?void 0:l.complete;n&&n()},unsubscribe:null==l?void 0:l.unsubscribe});var C=this._cache.get(e);if(!C){var w=new Promise((function(e){_=e}));w.displayName="Relay("+r.fragment.node.name+")",C=g(e,r,h,w,k,this._clearCacheEntry),this._cache.set(e,C)}}else{var S=null==l?void 0:l.complete;S&&S()}var F=this._cache.get(e);return null==F&&u(!1,"Relay: Expected to have cached a result when attempting to fetch query.If you're seeing this, this is likely a bug in Relay."),p.__log({name:"queryresource.fetch",resourceID:F.id,operation:r,profilerContext:o,fetchPolicy:t,renderPolicy:i,queryAvailability:h,shouldFetch:s}),F},e}();function R(e){return new b(e)}var _=p?new WeakMap:new Map;e.exports={createQueryResource:R,getQueryResourceForEnvironment:function(e){var r=_.get(e);if(r)return r;var n=R(e);return _.set(e,n),n},getQueryCacheIdentifier:h}},696:(e,r,n)=>{var t=n(888),a=n(156),i=a.useMemo;e.exports=function(e){var r=e.children,n=e.environment,o=e.getEnvironmentForActor,l=i((function(){return{environment:n,getEnvironmentForActor:o}}),[n,o]);return a.createElement(t.Provider,{value:l},r)}},637:(e,r,n)=>{var t=(0,n(275).default)(n(311)),a=n(446),i=function(){function e(e){var r=this;(0,t.default)(this,"_retainCount",0),(0,t.default)(this,"_retainDisposable",null),(0,t.default)(this,"_releaseTemporaryRetain",null),this._retain=function(n){return r._retainCount++,1===r._retainCount&&(r._retainDisposable=e(n)),{dispose:function(){r._retainCount=Math.max(0,r._retainCount-1),0===r._retainCount&&(null!=r._retainDisposable?(r._retainDisposable.dispose(),r._retainDisposable=null):a(!1,"Relay: Expected disposable to release query to be defined.If you're seeing this, this is likely a bug in Relay."))}}}}var r=e.prototype;return r.temporaryRetain=function(e){var r,n=this;if(e.isServer())return{dispose:function(){}};var t=this._retain(e),a=null,i=function(){clearTimeout(a),a=null,n._releaseTemporaryRetain=null,t.dispose()};return a=setTimeout(i,3e5),null===(r=this._releaseTemporaryRetain)||void 0===r||r.call(this),this._releaseTemporaryRetain=i,{dispose:function(){var e;null===(e=n._releaseTemporaryRetain)||void 0===e||e.call(n)}}},r.permanentRetain=function(e){var r=this._retain(e);return this.releaseTemporaryRetain(),r},r.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},r.getRetainCount=function(){return this._retainCount},e}();e.exports=i},828:(e,r,n)=>{var t=n(428).loadQuery;e.exports=function e(r,n,a){var i=null;null==n.root.getModuleIfRequired()&&(i=n.root.load());var o=n.getPreloadProps(a),l=o.queries,u=o.entryPoints,s=o.extraProps,c={},f={};null!=l&&Object.keys(l).forEach((function(e){var n=l[e],a=n.environmentProviderOptions,i=n.options,o=n.parameters,u=n.variables,s=r.getEnvironment(a);c[e]=t(s,o,u,{fetchPolicy:null==i?void 0:i.fetchPolicy,networkCacheConfig:null==i?void 0:i.networkCacheConfig,__nameForWarning:"loadEntryPoint"},a)})),null!=u&&Object.keys(u).forEach((function(n){var t=u[n];if(null!=t){var a=t.entryPoint,i=t.entryPointParams;f[n]=e(r,a,i)}}));var d=!1;return{dispose:function(){d||(null!=c&&Object.values(c).forEach((function(e){(0,e.dispose)()})),null!=f&&Object.values(f).forEach((function(e){(0,e.dispose)()})),d=!0)},entryPoints:f,extraProps:null!=s?s:null,getComponent:function(){var e,r=n.root.getModuleIfRequired();if(null==r)throw i=null!==(e=i)&&void 0!==e?e:n.root.load();return null!=r.default?r.default:r},get isDisposed(){return d},queries:c,rootModuleID:n.root.getModuleId()}}},428:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(56),i=n(156),o=n(658),l=o.__internal.fetchQueryDeduped,u=o.Observable,s=o.PreloadableQueryRegistry,c=o.RelayFeatureFlags,f=o.ReplaySubject,d=o.createOperationDescriptor,p=o.getRequest,v=o.getRequestIdentifier,h=n(446),m=null,y=100001;e.exports={loadQuery:function(e,r,n,o,g){var b,R,_,E,P=null===(b=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===b||null===(R=b.ReactCurrentDispatcher)||void 0===R?void 0:R.current;h(null==m||P!==m,"Relay: `%s` should not be called inside a React render function.",null!==(_=null==o?void 0:o.__nameForWarning)&&void 0!==_?_:"loadQuery"),y++;var k,x,C,w,S,F,q=null!==(E=null==o?void 0:o.fetchPolicy)&&void 0!==E?E:"store-or-network",I=(0,t.default)((0,t.default)({},null==o?void 0:o.networkCacheConfig),{},{force:!0}),D=!1,N=function(r,n){return D=!0,e.executeWithSource({operation:r,source:n})},Q=new f,A=u.create((function(e){return Q.subscribe(e)})),T=null,O=!1,L=function(r){var t;O=!0;var a=new f;if(!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING){var i="raw-network-request-"+v(r,n);t=l(e,i,(function(){return e.getNetwork().execute(r,n,I)}))}else t=e.getNetwork().execute(r,n,I);var o=t.subscribe({error:function(e){T=e,a.error(e)},next:function(e){a.next(e)},complete:function(){a.complete()}}).unsubscribe;return x=o,u.create((function(e){var r=a.subscribe(e);return function(){r.unsubscribe(),x()}}))},M=function(r,n){!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(O=!0);var t=l(e,r.request.identifier,n).subscribe({error:function(e){Q.error(e)},next:function(e){Q.next(e)},complete:function(){Q.complete()}});C=t.unsubscribe},U=function(r){var t=d(r,n,I);k=e.retain(t),"store-only"!==q&&("store-or-network"!==q||"available"!==e.check(t).status)&&M(t,(function(){var e=L(r.params);return N(t,e)}))};if("PreloadableConcreteRequest"===r.kind){null===(F=(w=r.params).id)&&a(!1,"Relay: `loadQuery` requires that preloadable query `%s` has a persisted query id",w.name);var j=s.get(F);if(null!=j)U(j);else{var V="store-only"===q?null:L(w),W=s.onLoad(F,(function(r){S();var t=d(r,n,I);k=e.retain(t),null!=V&&M(t,(function(){return N(t,V)}))}));S=W.dispose}}else{var B=p(r);F=null!=(w=B.params).cacheID?w.cacheID:w.id,U(B)}var K=!1,G=!1,H=!1,Y=function(){G||(k&&k.dispose(),G=!0)},z=function(){H||(D?C&&C():x&&x(),S&&S(),H=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:g,dispose:function(){K||(Y(),z(),K=!0)},releaseQuery:Y,cancelNetworkRequest:z,fetchKey:y,id:F,get isDisposed(){return K||G},get networkError(){return T},name:w.name,networkCacheConfig:I,fetchPolicy:q,source:O?A:void 0,variables:n}},useTrackLoadQueryInRender:function(){var e,r;null===m&&(m=null===(e=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e||null===(r=e.ReactCurrentDispatcher)||void 0===r?void 0:r.current)}}},74:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(765)),o=n(269).getQueryResourceForEnvironment,l=n(56),u=n(658),s=u.__internal.fetchQuery,c=u.RelayFeatureFlags,f=u.createOperationDescriptor,d=u.getPendingOperationsForFragment,p=u.getSelector,v=u.getVariablesFromFragment,h=u.handlePotentialSnapshotErrors,m=n(446);function y(e,r,n,t,i){var l=v(r,n),u=(0,a.default)((0,a.default)({},l),{},{id:t.clientEdgeDestinationID}),c=f(t.request,u,null==i?void 0:i.networkCacheConfig);return o(e).prepare(c,s(e,c),null==i?void 0:i.fetchPolicy)}e.exports=function(e,r,n,t,a,o){var u,s,f=p(r,n),v=!0===(null==r||null===(u=r.metadata)||void 0===u?void 0:u.plural);v?null==n||Array.isArray(n)||l(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",null!=o?" for key `".concat(o,"`"):"",r.name,typeof n,r.name):Array.isArray(n)&&l(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",null!=o?" for key `".concat(o,"`"):"",r.name,typeof n,r.name),null==n||v&&Array.isArray(n)&&0===n.length||null!=f||l(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",r.name,r.name,t,r.name,null==o?"a fragment reference":"the `".concat(o,"`"),t);var g,b=function(e,r){return null==r?{kind:"bailout"}:"PluralReaderSelector"===r.kind?0===r.selectors.length?{kind:"bailout"}:{kind:"plural",snapshots:r.selectors.map((function(r){return e.lookup(r)})),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(r),epoch:e.getStore().getEpoch()}}(e,f),R=null;if(!0===(null===(s=r.metadata)||void 0===s?void 0:s.hasClientEdges)){var _=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingClientEdges)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingClientEdges){var l;t=null!==(l=t)&&void 0!==l?l:[];var u,s=(0,i.default)(o.missingClientEdges);try{for(s.s();!(u=s.n()).done;){var c=u.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(b);if(null!=_&&_.length){R=[];var E,P=(0,i.default)(_);try{for(P.s();!(E=P.n()).done;){var k=E.value;R.push(y(e,r,n,k,a))}}catch(e){P.e(e)}finally{P.f()}}}if(function(e){return"bailout"!==e.kind&&("singular"===e.kind?e.snapshot.isMissingData:e.snapshots.some((function(e){return e.isMissingData})))}(b)){null==f&&l(!1,"refinement, see invariants above");var x="PluralReaderSelector"===f.kind?f.selectors[0].owner:f.owner,C=d(e,r,x);if(C)throw C.promise;!function(e,r){if("singular"===r.kind)h(e,r.snapshot.missingRequiredFields,r.snapshot.relayResolverErrors,r.snapshot.errorResponseFields);else if("plural"===r.kind){var n,t=(0,i.default)(r.snapshots);try{for(t.s();!(n=t.n()).done;){var a=n.value;h(e,a.missingRequiredFields,a.relayResolverErrors,a.errorResponseFields)}}catch(e){t.e(e)}finally{t.f()}}}(e,b)}return g="bailout"===b.kind?v?[]:null:"singular"===b.kind?b.snapshot.data:b.snapshots.map((function(e){return e.data})),c.LOG_MISSING_RECORDS_IN_PROD,null!=n&&(void 0===g||Array.isArray(g)&&g.length>0&&g.every((function(e){return void 0===e})))&&m(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",r.name,t,t),{data:g,clientEdgeQueries:R}}},529:(e,r,n)=>{var t=(0,n(275).default)(n(765)),a=n(828),i=n(428).useTrackLoadQueryInRender,o=n(743),l=n(156),u=l.useCallback,s=l.useEffect,c=l.useRef,f=l.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,r,n){var l,p,v,h;i();var m=null!==(l=null==n||null===(p=n.TEST_ONLY__initialEntryPointData)||void 0===p?void 0:p.entryPointReference)&&void 0!==l?l:d,y=null!==(v=null==n||null===(h=n.TEST_ONLY__initialEntryPointData)||void 0===h?void 0:h.entryPointParams)&&void 0!==v?v:null,g=o(),b=c(new Set([m])),R=f(m),_=R[0],E=R[1],P=f(y),k=P[0],x=P[1],C=u((function(){if(g.current){var e={kind:"NullEntryPointReference"};b.current.add(e),E(e)}}),[E,g]),w=u((function(n){if(g.current){var t=a(e,r,n);b.current.add(t),E(t),x(n)}}),[e,r,E,g]),S=c(!1);return s((function(){return function(){S.current=!0}}),[]),s((function(){if(!0===S.current)return S.current=!1,void("NullEntryPointReference"!==_.kind&&null!=k&&w(k));var e=b.current;if(g.current){var r,n=(0,t.default)(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===_)break;e.delete(a),"NullEntryPointReference"!==a.kind&&a.dispose()}}catch(e){n.e(e)}finally{n.f()}}}),[_,k,w,g]),s((function(){return function(){var e,r=(0,t.default)(b.current);try{for(r.s();!(e=r.n()).done;){var n=e.value;"NullEntryPointReference"!==n.kind&&n.dispose()}}catch(e){r.e(e)}finally{r.f()}}}),[]),["NullEntryPointReference"===_.kind?null:_,w,C]}},863:(e,r,n)=>{var t=n(813),a=n(156),i=a.useCallback,o=a.useEffect;e.exports=function(){var e=t(null),r=t(!1),n=i((function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),r.current=!1}),[]),a=i((function(n){e.current=n,r.current=!0}),[]),l=i((function(){e.current=null,r.current=!1}),[]);return o((function(){return n}),[n]),{isFetchingRef:r,startFetch:a,disposeFetch:n,completeFetch:l}}},242:(e,r,n)=>{var t=n(914),a=n(428).useTrackLoadQueryInRender,i=n(337),o=n(224),l=n(156).useDebugValue,u=n(658).getFragment;e.exports=function(e,r){var n=t.get();return n?n.useFragment(e,r):function(e,r){a();var n=u(e);o(n,"first argument of useFragment()");var t=i(n,r,"useFragment()");return l({fragment:n.name,data:t}),t}(e,r)}},337:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(765)),o=t(n(642)),l=n(269).getQueryResourceForEnvironment,u=n(750),s=n(56),c=n(156),f=c.useDebugValue,d=c.useEffect,p=c.useMemo,v=c.useRef,h=c.useState,m=n(658),y=m.__internal,g=y.fetchQuery,b=y.getPromiseForActiveRequest,R=m.RelayFeatureFlags,_=m.areEqualSelectors,E=m.createOperationDescriptor,P=m.getPendingOperationsForFragment,k=m.getSelector,x=m.getVariablesFromFragment,C=m.handlePotentialSnapshotErrors,w=m.recycleNodesInto,S=n(446);function F(e,r){if("bailout"===r.kind)return null;var n=e.getStore().getEpoch();if(n===r.epoch)return null;if("singular"===r.kind){var t=e.lookup(r.snapshot.selector),a=w(r.snapshot.data,t.data),i={data:a,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors,errorResponseFields:t.errorResponseFields};return[a!==r.snapshot.data,{kind:"singular",snapshot:i,epoch:n}]}for(var o=!1,l=[],u=0;u<r.snapshots.length;u++){var c=r.snapshots[u],f=e.lookup(c.selector),d=w(c.data,f.data),p={data:d,isMissingData:f.isMissingData,missingClientEdges:f.missingClientEdges,missingLiveResolverFields:f.missingLiveResolverFields,seenRecords:f.seenRecords,selector:f.selector,missingRequiredFields:f.missingRequiredFields,relayResolverErrors:f.relayResolverErrors,errorResponseFields:f.errorResponseFields};d!==c.data&&(o=!0),l.push(p)}return l.length!==r.snapshots.length&&s(!1,"Expected same number of snapshots"),[o,{kind:"plural",snapshots:l,epoch:n}]}function q(e,r,n,t,i){var o=x(r,n),u=(0,a.default)((0,a.default)({},o),{},{id:t.clientEdgeDestinationID}),s=E(t.request,u,null==i?void 0:i.networkCacheConfig);return[l(e).prepare(s,g(e,s),null==i?void 0:i.fetchPolicy),b(e,s.request)]}function I(e,r){return null==r?{kind:"bailout"}:"PluralReaderSelector"===r.kind?{kind:"plural",snapshots:r.selectors.map((function(r){return e.lookup(r)})),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(r),epoch:e.getStore().getEpoch()}}e.exports=function(e,r,n,t){var a,c,m=p((function(){return k(e,r)}),[e,r]),y=!0===(null==e||null===(a=e.metadata)||void 0===a?void 0:a.plural);y?null==r||Array.isArray(r)||s(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,typeof r,e.name):Array.isArray(r)&&s(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",e.name,typeof r,e.name),null==r||y&&Array.isArray(r)&&0===r.length||null!=m||s(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",e.name,e.name,n,e.name,n);var g=u(),b=h((function(){return I(g,m)})),E=b[0],x=b[1],w=E,D=h(w),N=D[0],Q=D[1],A=N,T=h(m),O=T[0],L=T[1],M=h(g),U=M[0],j=M[1];if(!_(m,O)||g!==U){L(m),j(g);var V=I(g,m);x(V),Q(V),w=V,A=V}var W=v(!1);if(d((function(){W.current=m}),[m]),!0===(null===(c=e.metadata)||void 0===c?void 0:c.hasClientEdges)){var B=p((function(){var n,a=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingClientEdges)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingClientEdges){var l;t=null!==(l=t)&&void 0!==l?l:[];var u,s=(0,i.default)(o.missingClientEdges);try{for(s.s();!(u=s.n()).done;){var c=u.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(w),o=[];if(null!=a&&a.length){n=[];var l,u=(0,i.default)(a);try{for(u.s();!(l=u.n()).done;){var s=l.value,c=q(g,e,r,s,t),f=c[0],d=c[1];n.push(f),null!=d&&o.push(d)}}catch(e){u.e(e)}finally{u.f()}}return[n,o]}),[w,g,e,r,t]),K=B[0],G=B[1];if(G.length)throw Promise.all(G);d((function(){var e=l(g);if(null!=K&&K.length){var r,n=[],t=(0,i.default)(K);try{for(t.s();!(r=t.n()).done;){var a=r.value;n.push(e.retain(a))}}catch(e){t.e(e)}finally{t.f()}return function(){var e,r=(0,i.default)(n);try{for(r.s();!(e=r.n()).done;)e.value.dispose()}catch(e){r.e(e)}finally{r.f()}}}}),[g,K])}if(function(e){return"bailout"!==e.kind&&("singular"===e.kind?e.snapshot.isMissingData:e.snapshots.some((function(e){return e.isMissingData})))}(w)){var H=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingLiveResolverFields)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingLiveResolverFields){var l;t=null!==(l=t)&&void 0!==l?l:[];var u,s=(0,i.default)(o.missingLiveResolverFields);try{for(s.s();!(u=s.n()).done;){var c=u.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(w);if(null!=H&&H.length>0)throw Promise.all(H.map((function(e){var r=e.liveStateID;return g.getStore().getLiveResolverPromise(r)})));if(R.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||g!==U||!W.current||!_(W.current,m)){null==m&&s(!1,"refinement, see invariants above");var Y="PluralReaderSelector"===m.kind?m.selectors[0].owner:m.owner,z=P(g,e,Y);if(z)throw z.promise}}!function(e,r){if("singular"===r.kind)C(e,r.snapshot.missingRequiredFields,r.snapshot.relayResolverErrors,r.snapshot.errorResponseFields);else if("plural"===r.kind){var n,t=(0,i.default)(r.snapshots);try{for(t.s();!(n=t.n()).done;){var a=n.value;C(e,a.missingRequiredFields,a.relayResolverErrors,a.errorResponseFields)}}catch(e){t.e(e)}finally{t.f()}}}(g,w);var X,J=v(!1);if(d((function(){var e=A,r=F(g,A);if(null!==r){var n=r[0],t=r[1];n&&x(t),e=t}return function(e,r,n,t){if("bailout"===r.kind)return function(){};if("singular"===r.kind){var a=e.subscribe(r.snapshot,(function(r){n((function(n){if("singular"!==n.kind||n.snapshot.selector!==r.selector){var a=F(e,n);if(null!=a){var i=a[0],o=a[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:i}),t.current=i,i?o:n}return n}return t.current=!0,{kind:"singular",snapshot:r,epoch:e.getStore().getEpoch()}}))}));return function(){a.dispose()}}var l=r.snapshots.map((function(r,a){return e.subscribe(r,(function(r){n((function(n){var i;if("plural"!==n.kind||(null===(i=n.snapshots[a])||void 0===i?void 0:i.selector)!==r.selector){var l=F(e,n);if(null!=l){var u=l[0],s=l[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:u}),t.current=t.current||u,u?s:n}return n}var c=(0,o.default)(n.snapshots);return c[a]=r,t.current=!0,{kind:"plural",snapshots:c,epoch:e.getStore().getEpoch()}}))}))}));return function(){var e,r=(0,i.default)(l);try{for(r.s();!(e=r.n()).done;)e.value.dispose()}catch(e){r.e(e)}finally{r.f()}}}(g,e,x,J)}),[g,A]),J.current){var Z=F(g,w);if(null!=Z){var $=Z[0],ee=Z[1];$&&(x(ee),w=ee)}J.current=!1}if(y){var re=null==r;X=p((function(){return"bailout"===w.kind?re?null:[]:("plural"!==w.kind&&s(!1,"Expected state to be plural because fragment is plural"),w.snapshots.map((function(e){return e.data})))}),[w,re])}else"bailout"===w.kind?X=null:("singular"!==w.kind&&s(!1,"Expected state to be singular because fragment is singular"),X=w.snapshot.data);return R.LOG_MISSING_RECORDS_IN_PROD,null!=r&&(void 0===X||Array.isArray(X)&&X.length>0&&X.every((function(e){return void 0===e})))&&S(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",e.name,n,n),f({fragment:e.name,data:X}),X}},743:(e,r,n)=>{var t=n(156),a=t.useEffect,i=t.useRef;e.exports=function(){var e=i(!0);return a((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},233:(e,r,n)=>{var t=n(750),a=n(56),i=n(156),o=n(658),l=o.__internal.getObservableForActiveRequest,u=o.getSelector,s=i.useEffect,c=i.useState,f=i.useMemo;e.exports=function(e,r){var n=t(),i=f((function(){var t=u(e,r);return null==t?null:("SingularReaderSelector"!==t.kind&&a(!1,"useIsOperationNodeActive: Plural fragments are not supported."),l(n,t.owner))}),[n,e,r]),o=c(null!=i),d=o[0],p=o[1];return s((function(){var e;if(p(null!=i),null!=i){var r=function(){p(!1)};e=i.subscribe({complete:r,error:r})}return function(){e&&e.unsubscribe()}}),[i]),d}},899:(e,r,n)=>{var t=n(428).useTrackLoadQueryInRender,a=n(734),i=n(61),o=n(750),l=n(658).__internal.fetchQuery;e.exports=function(e,r,n){t();var u=o(),s=i(e,r,n&&n.networkCacheConfig?n.networkCacheConfig:{force:!0});return a({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==n?void 0:n.fetchKey,fetchObservable:l(u,s),fetchPolicy:null==n?void 0:n.fetchPolicy,query:s,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy})}},734:(e,r,n)=>{var t=n(914),a=n(187),i=n(269),o=i.getQueryCacheIdentifier,l=i.getQueryResourceForEnvironment,u=n(863),s=n(337),c=n(750),f=n(156),d=f.useContext,p=f.useEffect,v=f.useState,h=f.useRef;e.exports=function(e){var r=e.query,n=e.componentDisplayName,i=e.fetchObservable,f=e.fetchPolicy,m=e.fetchKey,y=e.renderPolicy,g=c(),b=d(a),R=l(g),_=v(0),E=_[0],P=_[1],k=u(),x=k.startFetch,C=k.completeFetch,w="".concat(E,"-").concat(null!=m?m:""),S=o(g,r,f,y,w),F=b.wrapPrepareQueryResource((function(){return R.prepareWithIdentifier(S,r,i,f,y,{start:x,complete:C,error:C},b)})),q=h(!1);return p((function(){return function(){q.current=!0}}),[]),p((function(){if(!0===q.current)return q.current=!1,void P((function(e){return e+1}));var e=R.retain(F,b);return function(){e.dispose()}}),[g,S]),p((function(){R.releaseTemporaryRetain(F)})),function(e,r,n){var a=t.get();return a&&a.useFragmentNode?a.useFragmentNode(e,r,n).data:s(e,r,n)}(F.fragmentNode,F.fragmentRef,n)}},601:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(863),i=n(743),o=n(233),l=n(750),u=n(56),s=n(156),c=s.useCallback,f=s.useEffect,d=s.useState,p=n(658),v=p.__internal.fetchQuery,h=p.ConnectionInterface,m=p.createOperationDescriptor,y=p.getPaginationVariables,g=p.getRefetchMetadata,b=p.getSelector,R=p.getValueAtPath,_=n(446);e.exports=function(e){var r=e.direction,n=e.fragmentNode,s=e.fragmentRef,p=e.fragmentIdentifier,E=e.fragmentData,P=e.connectionPathInFragmentData,k=e.paginationRequest,x=e.paginationMetadata,C=e.componentDisplayName,w=e.observer,S=e.onReset,F=l(),q=a(),I=q.isFetchingRef,D=q.startFetch,N=q.disposeFetch,Q=q.completeFetch,A=g(n,C).identifierInfo,T=null!=(null==A?void 0:A.identifierField)&&null!=E&&"object"==typeof E?E[A.identifierField]:null,O=i(),L=d(F),M=L[0],U=L[1],j=d(p),V=j[0],W=j[1],B=o(n,s);(F!==M||p!==V)&&(N(),S(),U(F),W(p));var K=function(e,r,n,t){var a,i,o=h.get(),l=o.EDGES,s=o.PAGE_INFO,c=o.HAS_NEXT_PAGE,f=o.HAS_PREV_PAGE,d=o.END_CURSOR,p=o.START_CURSOR,v=R(n,t);if(null==v)return{cursor:null,hasMore:!1};"object"!=typeof v&&u(!1,"Relay: Expected connection in fragment `%s` to have been `null`, or a plain object with %s and %s properties. Instead got `%s`.",r.name,l,s,v);var m=v[l],y=v[s];if(null==m||null==y)return{cursor:null,hasMore:!1};Array.isArray(m)||u(!1,"Relay: Expected connection in fragment `%s` to have a plural `%s` field. Instead got `%s`.",r.name,l,m),"object"!=typeof y&&u(!1,"Relay: Expected connection in fragment `%s` to have a `%s` field. Instead got `%s`.",r.name,s,y);var g="forward"===e?null!==(a=y[d])&&void 0!==a?a:null:null!==(i=y[p])&&void 0!==i?i:null;return null!==g&&"string"!=typeof g&&u(!1,"Relay: Expected page info for connection in fragment `%s` to have a valid `%s`. Instead got `%s`.",r.name,p,g),{cursor:g,hasMore:"forward"===e?null!=g&&!0===y[c]:null!=g&&!0===y[f]}}(r,n,E,P),G=K.cursor,H=K.hasMore;return f((function(){return function(){N()}}),[N]),[c((function(e,a){var i=null==a?void 0:a.onComplete;if(!0!==O.current)return _(!1,"Relay: Unexpected fetch on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",n.name,C),{dispose:function(){}};var o=b(n,s);if(!0===I.current||null==E||B)return null==o&&_(!1,"Relay: Unexpected fetch while using a null fragment ref for fragment `%s` in `%s`. When fetching more items, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before paginating.",n.name,C,C),i&&i(null),{dispose:function(){}};(null==o||"PluralReaderSelector"===o.kind)&&u(!1,"Relay: Expected to be able to find a non-plural fragment owner for fragment `%s` when using `%s`. If you're seeing this, this is likely a bug in Relay.",n.name,C);var l=o.owner.variables,c=o.variables,f=null==a?void 0:a.UNSTABLE_extraVariables,d=(0,t.default)((0,t.default)({},l),c),p=y(r,e,G,d,(0,t.default)({},f),x);null!=A&&("string"!=typeof T&&_(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",A.identifierField,T),p[A.identifierQueryVariableName]=T);var h=m(k,p,{force:!0});return v(F,h).subscribe((0,t.default)((0,t.default)({},w),{},{start:function(e){D(e),w.start&&w.start(e)},complete:function(){Q(),w.complete&&w.complete(),i&&i(null)},error:function(e){Q(),w.error&&w.error(e),i&&i(e)}})),{dispose:N}}),[F,T,r,G,D,N,Q,I,B,E,n.name,s,C]),H,N]}},61:(e,r,n)=>{var t=n(925),a=n(156),i=n(658),o=i.createOperationDescriptor,l=i.getRequest,u=a.useMemo;e.exports=function(e,r,n){var a=t(r),i=t(n||{});return u((function(){return o(l(e),a,i)}),[e,a,i])}},925:(e,r,n)=>{var t=n(125),a=n(156).useState;e.exports=function(e){var r=a(e),n=r[0],i=r[1];return t(e,n)?n:(i(e),e)}},115:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(743),i=n(750),o=n(156),l=n(658).commitMutation,u=o.useState,s=o.useEffect,c=o.useRef,f=o.useCallback;e.exports=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l,n=i(),o=a(),d=c(n),p=c(e),v=c(new Set),h=u(!1),m=h[0],y=h[1],g=f((function(r){d.current===n&&p.current===e&&(v.current.delete(r),o.current&&y(v.current.size>0))}),[n,o,e]);return s((function(){d.current===n&&p.current===e||(v.current=new Set,o.current&&y(!1),d.current=n,p.current=e)}),[n,o,e]),[f((function(a){o.current&&y(!0);var i=r(n,(0,t.default)((0,t.default)({},a),{},{mutation:e,onCompleted:function(e,r){var n;g(i),null===(n=a.onCompleted)||void 0===n||n.call(a,e,r)},onError:function(e){var r;g(i),null===(r=a.onError)||void 0===r||r.call(a,e)},onUnsubscribe:function(){var e;g(i),null===(e=a.onUnsubscribe)||void 0===e||e.call(a)},onNext:function(){var e;null===(e=a.onNext)||void 0===e||e.call(a)}}));return v.current.add(i),i}),[g,r,n,o,e]),m]}},951:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(914),i=n(601),o=n(915),l=n(750),u=n(224),s=n(156),c=s.useCallback,f=s.useDebugValue,d=s.useState,p=n(658),v=p.getFragment,h=p.getFragmentIdentifier,m=p.getPaginationMetadata;function y(e){var r=l(),n=d(!1),a=n[0],o=n[1],u=function(e){var n,t=null===(n=r.getScheduler())||void 0===n?void 0:n.schedule;t?t((function(){o(e)})):o(e)},s={start:function(){return u(!0)},complete:function(){return u(!1)},error:function(){return u(!1)}},c=i((0,t.default)((0,t.default)({},e),{},{observer:s,onReset:function(){return u(!1)}}));return[c[0],c[1],a,c[2]]}e.exports=function(e,r){var n=a.get();return n?n.usePaginationFragment(e,r):function(e,r){var n=v(e);u(n,"first argument of usePaginationFragment()");var a="usePaginationFragment()",i=m(n,a),l=i.connectionPathInFragmentData,s=i.paginationRequest,d=i.paginationMetadata,p=o(n,r,a),g=p.fragmentData,b=p.fragmentRef,R=p.refetch,_=h(n,b),E=y({componentDisplayName:a,connectionPathInFragmentData:l,direction:"backward",fragmentData:g,fragmentIdentifier:_,fragmentNode:n,fragmentRef:b,paginationMetadata:d,paginationRequest:s}),P=E[0],k=E[1],x=E[2],C=E[3],w=y({componentDisplayName:a,connectionPathInFragmentData:l,direction:"forward",fragmentData:g,fragmentIdentifier:_,fragmentNode:n,fragmentRef:b,paginationMetadata:d,paginationRequest:s}),S=w[0],F=w[1],q=w[2],I=w[3],D=c((function(e,r){return I(),C(),R(e,(0,t.default)((0,t.default)({},r),{},{__environment:void 0}))}),[I,C,R]);return f({fragment:n.name,data:g,hasNext:F,isLoadingNext:q,hasPrevious:k,isLoadingPrevious:x}),{data:g,loadNext:S,loadPrevious:P,hasNext:F,hasPrevious:k,isLoadingNext:q,isLoadingPrevious:x,refetch:D}}(e,r)}},617:(e,r,n)=>{var t=n(428).useTrackLoadQueryInRender,a=n(734),i=n(61),o=n(750),l=n(56),u=n(156).useDebugValue,s=n(658).__internal,c=s.fetchQueryDeduped,f=s.fetchQuery,d=n(446);e.exports=function(e,r,n){t();var s,p=o(),v=r.fetchKey,h=r.fetchPolicy,m=r.source,y=r.variables,g=r.networkCacheConfig,b=i(e,y,g);if("PreloadedQuery_DEPRECATED"===r.kind)b.request.node.params.name!==r.name&&l(!1,"usePreloadedQuery(): Expected data to be prefetched for query `%s`, got prefetch results for query `%s`.",b.request.node.params.name,r.name),s={componentDisplayName:"usePreloadedQuery()",fetchKey:v,fetchObservable:c(p,b.request.identifier,(function(){return p===r.environment&&null!=m?p.executeWithSource({operation:b,source:m}):p.execute({operation:b})})),fetchPolicy:h,query:b,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy};else{d(!1===r.isDisposed,"usePreloadedQuery(): Expected preloadedQuery to not be disposed yet. This is because disposing the query marks it for future garbage collection, and as such query results may no longer be present in the Relay store. In the future, this will become a hard error.");var R,_=f(p,b);null!=m&&p===r.environment?R=m.ifEmpty(_):p!==r.environment?(d(!1,"usePreloadedQuery(): usePreloadedQuery was passed a preloaded query that was created with a different environment than the one that is currently in context. In the future, this will become a hard error."),R=_):R=_,s={componentDisplayName:"usePreloadedQuery()",fetchObservable:R,fetchKey:v,fetchPolicy:h,query:b,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy}}var E=a(s);return u({query:r.name,variables:r.variables,data:E,fetchKey:v,fetchPolicy:h,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy}),E}},876:(e,r,n)=>{var t=(0,n(275).default)(n(765)),a=n(428),i=a.loadQuery,o=a.useTrackLoadQueryInRender,l=n(743),u=n(750),s=n(156),c=s.useCallback,f=s.useEffect,d=s.useRef,p=s.useState,v=n(658).getRequest,h={kind:"NullQueryReference"};function m(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==v(e).params.metadata.live}e.exports=function(e,r){var n=null!=r?r:h,a=u();o();var s=l(),v=d(new Set([n])),y=p((function(){return n})),g=y[0],b=y[1],R=p((function(){return n})),_=R[0],E=R[1];n!==_&&(v.current.add(n),E(n),b(n));var P=c((function(){s.current&&(v.current.add(h),b(h))}),[s]),k=c((function(r,n){var t=null!=n&&n.hasOwnProperty("__environment")?{fetchPolicy:n.fetchPolicy,networkCacheConfig:n.networkCacheConfig,__nameForWarning:n.__nameForWarning}:n;if(s.current){var o,l=i(null!==(o=null==n?void 0:n.__environment)&&void 0!==o?o:a,e,r,t);v.current.add(l),b(l)}}),[a,e,b,s]),x=d(!1);return f((function(){return function(){x.current=!0}}),[]),f((function(){if(!0===x.current)return x.current=!1,void("NullQueryReference"!==g.kind&&k(g.variables,{fetchPolicy:g.fetchPolicy,networkCacheConfig:g.networkCacheConfig}));var r=v.current;if(s.current){var n,a=(0,t.default)(r);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===g)break;r.delete(i),"NullQueryReference"!==i.kind&&(m(e)?i.dispose&&i.dispose():i.releaseQuery&&i.releaseQuery())}}catch(e){a.e(e)}finally{a.f()}}}),[g,s,k,e]),f((function(){return function(){var r,n=(0,t.default)(v.current);try{for(n.s();!(r=n.n()).done;){var a=r.value;"NullQueryReference"!==a.kind&&(m(e)?a.dispose&&a.dispose():a.releaseQuery&&a.releaseQuery())}}catch(e){n.e(e)}finally{n.f()}}}),[e]),["NullQueryReference"===g.kind?null:g,k,P]}},874:(e,r,n)=>{var t=n(914),a=n(915),i=n(224),o=n(156).useDebugValue,l=n(658).getFragment;e.exports=function(e,r){var n=t.get();return n?n.useRefetchableFragment(e,r):function(e,r){var n=l(e);i(n,"first argument of useRefetchableFragment()");var t=a(n,r,"useRefetchableFragment()"),u=t.fragmentData,s=t.refetch;return o({fragment:n.name,data:u}),[u,s]}(e,r)}},915:(e,r,n)=>{var t,a=(0,n(275).default)(n(175)),i=n(187),o=n(269).getQueryResourceForEnvironment,l=n(74),u=n(337),s=n(743),c=n(876),f=n(750),d=n(56),p=n(156),v=p.useCallback,h=p.useContext,m=p.useReducer,y=n(658),g=y.__internal.fetchQuery,b=y.createOperationDescriptor,R=y.getFragmentIdentifier,_=y.getRefetchMetadata,E=y.getSelector,P=y.getValueAtPath,k=n(446);function x(e,r){switch(r.type){case"refetch":var n;return(0,a.default)((0,a.default)({},e),{},{fetchPolicy:r.fetchPolicy,mirroredEnvironment:null!==(n=r.refetchEnvironment)&&void 0!==n?n:e.mirroredEnvironment,onComplete:r.onComplete,refetchEnvironment:r.refetchEnvironment,refetchQuery:r.refetchQuery,renderPolicy:r.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:r.environment,mirroredFragmentIdentifier:r.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw r.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}t={getInitialIDAndType:function(e,r,t,a){var i=n(658).Record,o=null==e?void 0:e[null!=t?t:"id"];if(1!==r.length||"node"!==r[0]||null==o)return null;var l=a.getStore().getSource().get(o),u=null==l?null:i.getType(l);return null==u?null:{id:o,typename:u}},checkSameTypeAfterRefetch:function(e,r,t,a){var i=n(658).Record;if(e){var o=r.getStore().getSource().get(e.id),l=o&&i.getType(o);l!==e.typename&&k(!1,"Relay: Call to `refetch` returned data with a different __typename: was `%s`, now `%s`, on `%s` in `%s`. Please make sure the server correctly implementsunique id requirement.",e.typename,l,t.name,a)}},checkSameIDAfterRefetch:function(e,r,t,a){if(null!=e){var i=r[n(658).ID_KEY];null!=i&&i!==e.id&&k(!1,"Relay: Call to `refetch` returned a different id, expected `%s`, got `%s`, on `%s` in `%s`. Please make sure the server correctly implements unique id requirement.",i,e.id,t.name,a)}}},e.exports=function(e,r,n){var p=f(),y=_(e,n),C=y.refetchableRequest,w=y.fragmentRefPathInResponse,S=y.identifierInfo,F=R(e,r),q=m(x,{fetchPolicy:void 0,mirroredEnvironment:p,mirroredFragmentIdentifier:F,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),I=q[0],D=q[1],N=I.fetchPolicy,Q=I.mirroredEnvironment,A=I.mirroredFragmentIdentifier,T=I.onComplete,O=I.refetchEnvironment,L=I.refetchQuery,M=I.renderPolicy,U=null!=O?O:p,j=o(U),V=h(i),W=U!==Q||F!==A,B=c(C),K=B[0],G=B[1],H=B[2],Y=r;if(W)D({type:"reset",environment:U,fragmentIdentifier:F}),H();else if(null!=L&&null!=K){var z;z=t.getInitialIDAndType(L.request.variables,w,null==S?void 0:S.identifierQueryVariableName,U);var X=function(e){T&&T(null!=e?e:null)},J=null!=K.source?K.source:g(U,L),Z=V.wrapPrepareQueryResource((function(){return j.prepare(L,J,N,M,{error:X,complete:function(){t.checkSameTypeAfterRefetch(z,U,e,n),X()}},K.fetchKey,V)})),$=l(U,Z.fragmentNode,Z.fragmentRef,n).data;null==$&&d(!1,"Relay: Expected to be able to read refetch query response. If you're seeing this, this is likely a bug in Relay."),Y=P($,w),t.checkSameIDAfterRefetch(z,Y,e,n)}var ee=u(e,Y,n),re=function(e,r,n,t,i,o,l,u,c,f,d){var p=s(),h=null!=(null==u?void 0:u.identifierField)&&null!=t&&"object"==typeof t?t[u.identifierField]:null;return v((function(t,i){if(!0!==p.current)return k(!1,"Relay: Unexpected call to `refetch` on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",o.name,e),{dispose:function(){}};null==f&&k(!1,"Relay: Unexpected call to `refetch` while using a null fragment ref for fragment `%s` in `%s`. When calling `refetch`, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before calling `refetch`, or make sure you pass all required variables to `refetch`.",o.name,e,e);var l,s,v=null==i?void 0:i.__environment,m=null==i?void 0:i.fetchPolicy,y=null==i?void 0:i.UNSTABLE_renderPolicy,g=null==i?void 0:i.onComplete,R=E(o,f);if(null==R)l={},s={};else if("PluralReaderSelector"===R.kind){var _,P,x,C;l=null!==(_=null===(P=R.selectors[0])||void 0===P?void 0:P.owner.variables)&&void 0!==_?_:{},s=null!==(x=null===(C=R.selectors[0])||void 0===C?void 0:C.variables)&&void 0!==x?x:{}}else l=R.owner.variables,s=R.variables;var w=(0,a.default)((0,a.default)((0,a.default)({},l),s),t);null==u||t.hasOwnProperty(u.identifierQueryVariableName)||("string"!=typeof h&&k(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",u.identifierField,h),w[u.identifierQueryVariableName]=h);var S=b(d,w,{force:!0});return c(S.request.variables,{fetchPolicy:m,__environment:v,__nameForWarning:"refetch"}),r({type:"refetch",fetchPolicy:m,onComplete:g,refetchEnvironment:v,refetchQuery:S,renderPolicy:y}),{dispose:n}}),[i,r,n,h,c])}(n,D,H,ee,F,e,0,S,G,r,C);return{fragmentData:ee,fragmentRef:Y,refetch:re}}},750:(e,r,n)=>{var t=n(888),a=n(56),i=n(156).useContext;e.exports=function(){var e=i(t);return null==e&&a(!1,"useRelayEnvironment: Expected to have found a Relay environment provided by a `RelayEnvironmentProvider` component. This usually means that useRelayEnvironment was used in a component that is not a descendant of a `RelayEnvironmentProvider`. Please make sure a `RelayEnvironmentProvider` has been rendered somewhere as a parent or ancestor of your component."),e.environment}},224:(e,r,n)=>{var t=n(813),a=n(446);e.exports=function(e,r){var n=t(e.name);a(n.current===e.name,"Relay: The %s has to remain the same over the lifetime of a component. Changing it is not supported and will result in unexpected behavior.",r)}},50:(e,r,n)=>{var t=n(750),a=n(156),i=a.useEffect,o=a.useRef;e.exports=function(e,r){var n=t(),a=o(null),l=Array.from(e).sort().join("");return i((function(){var t=n.getStore(),i=t.lookupInvalidationState(e),o=t.subscribeToInvalidationState(i,r);return a.current=o,function(){return o.dispose()}}),[l,r,n]),{dispose:function(){null!=a.current&&a.current.dispose()}}}},746:(e,r,n)=>{var t=n(750),a=n(156).useEffect,i=n(658).requestSubscription;e.exports=function(e,r){var n=null!=r?r:i,o=t();a((function(){return n(o,e).dispose}),[o,e,n])}},813:(e,r,n)=>{var t=n(156).useMemo;e.exports=function(e){return t((function(){return{current:e}}),[])}},765:r=>{r.exports=e},311:e=>{e.exports=r},275:e=>{e.exports=n},175:e=>{e.exports=t},642:e=>{e.exports=a},125:e=>{e.exports=i},446:e=>{e.exports=o},56:e=>{e.exports=l},156:e=>{e.exports=u},658:e=>{e.exports=s}},f={};return function e(r){var n=f[r];if(void 0!==n)return n.exports;var t=f[r]={exports:{}};return c[r](t,t.exports,e),t.exports}(651)})()));
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Relay v0.0.0-main-05b773ae
2
+ * Relay v0.0.0-main-8fa540a4
3
3
  *
4
4
  * Copyright (c) Meta Platforms, Inc. and affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/warning"),require("invariant"),require("react"),require("relay-runtime")):"function"==typeof define&&define.amd?define(["@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/interopRequireDefault","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","fbjs/lib/warning","invariant","react","relay-runtime"],r):"object"==typeof exports?exports.ReactRelayHooks=r(require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/warning"),require("invariant"),require("react"),require("relay-runtime")):e.ReactRelayHooks=r(e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/interopRequireDefault"],e["@babel/runtime/helpers/objectSpread2"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["fbjs/lib/warning"],e.invariant,e.react,e["relay-runtime"])}(self,((e,r,n,t,a,i,o,u,l,s)=>(()=>{"use strict";var c={888:(e,r,n)=>{var t=n(156),a=n(658).__internal.createRelayContext;e.exports=a(t)},651:(e,r,n)=>{var t=n(158),a=n(828),i=n(428).loadQuery,o=n(187),u=n(696),l=n(529),s=n(242),c=n(899),f=n(115),d=n(951),v=n(617),p=n(876),h=n(874),m=n(750),y=n(50),g=n(746),b=n(658);e.exports={ConnectionHandler:b.ConnectionHandler,applyOptimisticMutation:b.applyOptimisticMutation,commitLocalUpdate:b.commitLocalUpdate,commitMutation:b.commitMutation,graphql:b.graphql,readInlineData:b.readInlineData,requestSubscription:b.requestSubscription,EntryPointContainer:t,RelayEnvironmentProvider:u,ProfilerContext:o,fetchQuery:b.fetchQuery,loadQuery:i,loadEntryPoint:a,useFragment:s,useLazyLoadQuery:c,useEntryPointLoader:l,useQueryLoader:p,useMutation:f,usePaginationFragment:d,usePreloadedQuery:v,useRefetchableFragment:h,useRelayEnvironment:m,useSubscribeToInvalidationState:y,useSubscription:g}},158:(e,r,n)=>{var t=n(187),a=n(750),i=n(156),o=n(156),u=o.useContext,l=o.useEffect;n(446),e.exports=function(e){var r=e.entryPointReference,n=e.props,o=r.getComponent,s=r.queries,c=r.entryPoints,f=r.extraProps,d=r.rootModuleID,v=o(),p=u(t),h=a();return l((function(){h.__log({name:"entrypoint.root.consume",profilerContext:p,rootModuleID:d})}),[h,p,d]),i.createElement(v,{entryPoints:c,extraProps:f,props:n,queries:s})}},914:(e,r,n)=>{n(446);var t=null;e.exports={inject:function(e){t=e},get:function(){return t}}},93:(e,r,n)=>{var t=n(56),a=function(){function e(e){this._capacity=e,this._capacity>0||t(!1),this._map=new Map}var r=e.prototype;return r.set=function(e,r){if(this._map.delete(e),this._map.set(e,r),this._map.size>this._capacity){var n=this._map.keys().next();n.done||this._map.delete(n.value)}},r.get=function(e){var r=this._map.get(e);return null!=r&&(this._map.delete(e),this._map.set(e,r)),r},r.has=function(e){return this._map.has(e)},r.delete=function(e){this._map.delete(e)},r.size=function(){return this._map.size},r.capacity=function(){return this._capacity-this._map.size},r.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new a(e)}}},187:(e,r,n)=>{var t=n(156).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=t},269:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(311)),o=n(93),u=n(637),l=n(56),s=n(658).isPromise,c=(n(446),"store-or-network"),f="store-and-network",d="function"==typeof WeakMap;function v(e){return void 0!==e.request.node.params.metadata.live}function p(e,r,n,t,a){var i=null!=n?n:v(r)?f:c,o=null!=t?t:e.UNSTABLE_getDefaultRenderPolicy(),u="".concat(i,"-").concat(o,"-").concat(r.request.identifier);return null!=a?"".concat(u,"-").concat(a):u}function h(e,r){var n={__id:e.fragment.dataID,__fragments:(0,i.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:r,fragmentNode:e.request.node.fragment,fragmentRef:n,operation:e}}var m=2e5;function y(e,r,n,t,a,i){var o=v(r),l=t,s=a,c=new u((function(e){var n=e.retain(r);return{dispose:function(){o&&null!=s&&s.unsubscribe(),n.dispose(),i(f)}}})),f={cacheIdentifier:e,id:m++,processedPayloadsCount:0,operationAvailability:n,getValue:function(){return l},setValue:function(e){l=e},setNetworkSubscription:function(e){o&&null!=s&&s.unsubscribe(),s=e},temporaryRetain:function(e){return c.temporaryRetain(e)},permanentRetain:function(e){return c.permanentRetain(e)},releaseTemporaryRetain:function(){c.releaseTemporaryRetain()}};return f}var g=function(){function e(e){var r=this;(0,i.default)(this,"_clearCacheEntry",(function(e){r._cache.delete(e.cacheIdentifier)})),this._environment=e,this._cache=o.create(1e3)}var r=e.prototype;return r.prepare=function(e,r,n,t,a,i,o){var u=p(this._environment,e,n,t,i);return this.prepareWithIdentifier(u,e,r,n,t,a,o)},r.prepareWithIdentifier=function(e,r,n,t,i,o,u){var l=this._environment,d=null!=t?t:v(r)?f:c,p=null!=i?i:l.UNSTABLE_getDefaultRenderPolicy(),h=this._cache.get(e),m=null,y=null!=h;null==h&&(h=this._fetchAndSaveQuery(e,r,n,d,p,u,(0,a.default)((0,a.default)({},o),{},{unsubscribe:function(e){null!=m&&m.dispose();var r=null==o?void 0:o.unsubscribe;r&&r(e)}}))),m=h.temporaryRetain(l);var g=h.getValue();if(s(g))throw l.__log({name:"suspense.query",fetchPolicy:d,isPromiseCached:y,operation:r,queryAvailability:h.operationAvailability,renderPolicy:p}),g;if(g instanceof Error)throw g;return g},r.retain=function(e,r){var n=this._environment,t=e.cacheIdentifier,a=e.operation,i=this._getOrCreateCacheEntry(t,a,null,e,null),o=i.permanentRetain(n);return n.__log({name:"queryresource.retain",profilerContext:r,resourceID:i.id}),{dispose:function(){o.dispose()}}},r.releaseTemporaryRetain=function(e){var r=this._cache.get(e.cacheIdentifier);null!=r&&r.releaseTemporaryRetain()},r.TESTS_ONLY__getCacheEntry=function(e,r,n,t){var a=p(this._environment,e,r,n,t);return this._cache.get(a)},r._getOrCreateCacheEntry=function(e,r,n,t,a){var i=this._cache.get(e);return null==i&&(i=y(e,r,n,t,a,this._clearCacheEntry),this._cache.set(e,i)),i},r._fetchAndSaveQuery=function(e,r,n,t,i,o,u){var s,c,f=this,d=this._environment,p=d.check(r),m=p.status,g="available"===m,b=g||"partial"===i&&"stale"!==m,R=function(){};switch(t){case"store-only":s=!1,c=!0;break;case"store-or-network":s=!g,c=b;break;case"store-and-network":s=!0,c=b;break;default:s=!0,c=!1}if(c){var _=h(r,e),E=y(e,r,p,_,null,this._clearCacheEntry);this._cache.set(e,E)}if(s){var P,k=h(r,e);n.subscribe({start:function(n){P=n;var t=f._cache.get(e);t&&t.setNetworkSubscription(P);var i=null==u?void 0:u.start;i&&i((0,a.default)((0,a.default)({},n),{},{unsubscribe:function(){v(r)&&n.unsubscribe()}}))},next:function(){var n=f._getOrCreateCacheEntry(e,r,p,k,P);n.processedPayloadsCount+=1,n.setValue(k),R();var t=null==u?void 0:u.next;null!=t&&t(d.lookup(r.fragment))},error:function(n){var t=f._getOrCreateCacheEntry(e,r,p,n,P);0===t.processedPayloadsCount&&t.setValue(n),R(),P=null,t.setNetworkSubscription(null);var a=null==u?void 0:u.error;a&&a(n)},complete:function(){R(),P=null;var r=f._cache.get(e);r&&r.setNetworkSubscription(null);var n=null==u?void 0:u.complete;n&&n()},unsubscribe:null==u?void 0:u.unsubscribe});var C=this._cache.get(e);if(!C){var F=new Promise((function(e){R=e}));F.displayName="Relay("+r.fragment.node.name+")",C=y(e,r,p,F,P,this._clearCacheEntry),this._cache.set(e,C)}}else{var S=null==u?void 0:u.complete;S&&S()}var D=this._cache.get(e);return null==D&&l(!1),d.__log({name:"queryresource.fetch",resourceID:D.id,operation:r,profilerContext:o,fetchPolicy:t,renderPolicy:i,queryAvailability:p,shouldFetch:s}),D},e}();function b(e){return new g(e)}var R=d?new WeakMap:new Map;e.exports={createQueryResource:b,getQueryResourceForEnvironment:function(e){var r=R.get(e);if(r)return r;var n=b(e);return R.set(e,n),n},getQueryCacheIdentifier:p}},696:(e,r,n)=>{var t=n(888),a=n(156),i=a.useMemo;e.exports=function(e){var r=e.children,n=e.environment,o=e.getEnvironmentForActor,u=i((function(){return{environment:n,getEnvironmentForActor:o}}),[n,o]);return a.createElement(t.Provider,{value:u},r)}},637:(e,r,n)=>{var t=(0,n(275).default)(n(311)),a=(n(446),function(){function e(e){var r=this;(0,t.default)(this,"_retainCount",0),(0,t.default)(this,"_retainDisposable",null),(0,t.default)(this,"_releaseTemporaryRetain",null),this._retain=function(n){return r._retainCount++,1===r._retainCount&&(r._retainDisposable=e(n)),{dispose:function(){r._retainCount=Math.max(0,r._retainCount-1),0===r._retainCount&&null!=r._retainDisposable&&(r._retainDisposable.dispose(),r._retainDisposable=null)}}}}var r=e.prototype;return r.temporaryRetain=function(e){var r,n=this;if(e.isServer())return{dispose:function(){}};var t=this._retain(e),a=null,i=function(){clearTimeout(a),a=null,n._releaseTemporaryRetain=null,t.dispose()};return a=setTimeout(i,3e5),null===(r=this._releaseTemporaryRetain)||void 0===r||r.call(this),this._releaseTemporaryRetain=i,{dispose:function(){var e;null===(e=n._releaseTemporaryRetain)||void 0===e||e.call(n)}}},r.permanentRetain=function(e){var r=this._retain(e);return this.releaseTemporaryRetain(),r},r.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},r.getRetainCount=function(){return this._retainCount},e}());e.exports=a},719:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(765)),o=n(269).getQueryResourceForEnvironment,u=n(56),l=n(658),s=l.__internal.fetchQuery,c=l.RelayFeatureFlags,f=l.createOperationDescriptor,d=l.getPendingOperationsForFragment,v=l.getSelector,p=l.getVariablesFromFragment,h=l.handlePotentialSnapshotErrors;function m(e,r,n,t,i){var u=p(r,n),l=(0,a.default)((0,a.default)({},u),{},{id:t.clientEdgeDestinationID}),c=f(t.request,l,null==i?void 0:i.networkCacheConfig);return o(e).prepare(c,s(e,c),null==i?void 0:i.fetchPolicy)}n(446),e.exports=function(e,r,n,t,a,o){var l,s,f=v(r,n),p=!0===(null==r||null===(l=r.metadata)||void 0===l?void 0:l.plural);p?null==n||Array.isArray(n)||u(!1):Array.isArray(n)&&u(!1),null==n||p&&Array.isArray(n)&&0===n.length||null!=f||u(!1);var y,g=function(e,r){return null==r?{kind:"bailout"}:"PluralReaderSelector"===r.kind?0===r.selectors.length?{kind:"bailout"}:{kind:"plural",snapshots:r.selectors.map((function(r){return e.lookup(r)})),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(r),epoch:e.getStore().getEpoch()}}(e,f),b=null;if(!0===(null===(s=r.metadata)||void 0===s?void 0:s.hasClientEdges)){var R=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingClientEdges)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingClientEdges){var u;t=null!==(u=t)&&void 0!==u?u:[];var l,s=(0,i.default)(o.missingClientEdges);try{for(s.s();!(l=s.n()).done;){var c=l.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(g);if(null!=R&&R.length){b=[];var _,E=(0,i.default)(R);try{for(E.s();!(_=E.n()).done;){var P=_.value;b.push(m(e,r,n,P,a))}}catch(e){E.e(e)}finally{E.f()}}}if(function(e){return"bailout"!==e.kind&&("singular"===e.kind?e.snapshot.isMissingData:e.snapshots.some((function(e){return e.isMissingData})))}(g)){null==f&&u(!1);var k="PluralReaderSelector"===f.kind?f.selectors[0].owner:f.owner,C=d(e,r,k);if(C)throw C.promise;!function(e,r){if("singular"===r.kind)h(e,r.snapshot.missingRequiredFields,r.snapshot.relayResolverErrors,r.snapshot.errorResponseFields);else if("plural"===r.kind){var n,t=(0,i.default)(r.snapshots);try{for(t.s();!(n=t.n()).done;){var a=n.value;h(e,a.missingRequiredFields,a.relayResolverErrors,a.errorResponseFields)}}catch(e){t.e(e)}finally{t.f()}}}(e,g)}return y="bailout"===g.kind?p?[]:null:"singular"===g.kind?g.snapshot.data:g.snapshots.map((function(e){return e.data})),c.LOG_MISSING_RECORDS_IN_PROD&&null!=n&&(void 0===y||Array.isArray(y)&&y.length>0&&y.every((function(e){return void 0===e}))),{data:y,clientEdgeQueries:b}}},828:(e,r,n)=>{var t=n(428).loadQuery;e.exports=function e(r,n,a){var i=null;null==n.root.getModuleIfRequired()&&(i=n.root.load());var o=n.getPreloadProps(a),u=o.queries,l=o.entryPoints,s=o.extraProps,c={},f={};null!=u&&Object.keys(u).forEach((function(e){var n=u[e],a=n.environmentProviderOptions,i=n.options,o=n.parameters,l=n.variables,s=r.getEnvironment(a);c[e]=t(s,o,l,{fetchPolicy:null==i?void 0:i.fetchPolicy,networkCacheConfig:null==i?void 0:i.networkCacheConfig,__nameForWarning:"loadEntryPoint"},a)})),null!=l&&Object.keys(l).forEach((function(n){var t=l[n];if(null!=t){var a=t.entryPoint,i=t.entryPointParams;f[n]=e(r,a,i)}}));var d=!1;return{dispose:function(){d||(null!=c&&Object.values(c).forEach((function(e){(0,e.dispose)()})),null!=f&&Object.values(f).forEach((function(e){(0,e.dispose)()})),d=!0)},entryPoints:f,extraProps:null!=s?s:null,getComponent:function(){var e,r=n.root.getModuleIfRequired();if(null==r)throw i=null!==(e=i)&&void 0!==e?e:n.root.load();return null!=r.default?r.default:r},get isDisposed(){return d},queries:c,rootModuleID:n.root.getModuleId()}}},428:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(56),i=n(156),o=n(658),u=o.__internal.fetchQueryDeduped,l=o.Observable,s=o.PreloadableQueryRegistry,c=o.RelayFeatureFlags,f=o.ReplaySubject,d=o.createOperationDescriptor,v=o.getRequest,p=o.getRequestIdentifier,h=(n(446),null),m=100001;e.exports={loadQuery:function(e,r,n,o,h){var y,g,b;null===(y=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===y||null===(g=y.ReactCurrentDispatcher)||void 0===g||g.current,m++;var R,_,E,P,k,C,F=null!==(b=null==o?void 0:o.fetchPolicy)&&void 0!==b?b:"store-or-network",S=(0,t.default)((0,t.default)({},null==o?void 0:o.networkCacheConfig),{},{force:!0}),D=!1,x=function(r,n){return D=!0,e.executeWithSource({operation:r,source:n})},q=new f,w=l.create((function(e){return q.subscribe(e)})),I=null,N=!1,Q=function(r){var t;N=!0;var a=new f;if(!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING){var i="raw-network-request-"+p(r,n);t=u(e,i,(function(){return e.getNetwork().execute(r,n,S)}))}else t=e.getNetwork().execute(r,n,S);var o=t.subscribe({error:function(e){I=e,a.error(e)},next:function(e){a.next(e)},complete:function(){a.complete()}}).unsubscribe;return _=o,l.create((function(e){var r=a.subscribe(e);return function(){r.unsubscribe(),_()}}))},A=function(r,n){!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(N=!0);var t=u(e,r.request.identifier,n).subscribe({error:function(e){q.error(e)},next:function(e){q.next(e)},complete:function(){q.complete()}});E=t.unsubscribe},O=function(r){var t=d(r,n,S);R=e.retain(t),"store-only"!==F&&("store-or-network"!==F||"available"!==e.check(t).status)&&A(t,(function(){var e=Q(r.params);return x(t,e)}))};if("PreloadableConcreteRequest"===r.kind){null===(C=(P=r.params).id)&&a(!1);var T=s.get(C);if(null!=T)O(T);else{var L="store-only"===F?null:Q(P),M=s.onLoad(C,(function(r){k();var t=d(r,n,S);R=e.retain(t),null!=L&&A(t,(function(){return x(t,L)}))}));k=M.dispose}}else{var U=v(r);C=null!=(P=U.params).cacheID?P.cacheID:P.id,O(U)}var j=!1,V=!1,W=!1,B=function(){V||(R&&R.dispose(),V=!0)},G=function(){W||(D?E&&E():_&&_(),k&&k(),W=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:h,dispose:function(){j||(B(),G(),j=!0)},releaseQuery:B,cancelNetworkRequest:G,fetchKey:m,id:C,get isDisposed(){return j||V},get networkError(){return I},name:P.name,networkCacheConfig:S,fetchPolicy:F,source:N?w:void 0,variables:n}},useTrackLoadQueryInRender:function(){var e,r;null===h&&(h=null===(e=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e||null===(r=e.ReactCurrentDispatcher)||void 0===r?void 0:r.current)}}},529:(e,r,n)=>{var t=(0,n(275).default)(n(765)),a=n(828),i=n(428).useTrackLoadQueryInRender,o=n(743),u=n(156),l=u.useCallback,s=u.useEffect,c=u.useRef,f=u.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,r,n){var u,v,p,h;i();var m=null!==(u=null==n||null===(v=n.TEST_ONLY__initialEntryPointData)||void 0===v?void 0:v.entryPointReference)&&void 0!==u?u:d,y=null!==(p=null==n||null===(h=n.TEST_ONLY__initialEntryPointData)||void 0===h?void 0:h.entryPointParams)&&void 0!==p?p:null,g=o(),b=c(new Set([m])),R=f(m),_=R[0],E=R[1],P=f(y),k=P[0],C=P[1],F=l((function(){if(g.current){var e={kind:"NullEntryPointReference"};b.current.add(e),E(e)}}),[E,g]),S=l((function(n){if(g.current){var t=a(e,r,n);b.current.add(t),E(t),C(n)}}),[e,r,E,g]),D=c(!1);return s((function(){return function(){D.current=!0}}),[]),s((function(){if(!0===D.current)return D.current=!1,void("NullEntryPointReference"!==_.kind&&null!=k&&S(k));var e=b.current;if(g.current){var r,n=(0,t.default)(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===_)break;e.delete(a),"NullEntryPointReference"!==a.kind&&a.dispose()}}catch(e){n.e(e)}finally{n.f()}}}),[_,k,S,g]),s((function(){return function(){var e,r=(0,t.default)(b.current);try{for(r.s();!(e=r.n()).done;){var n=e.value;"NullEntryPointReference"!==n.kind&&n.dispose()}}catch(e){r.e(e)}finally{r.f()}}}),[]),["NullEntryPointReference"===_.kind?null:_,S,F]}},863:(e,r,n)=>{var t=n(813),a=n(156),i=a.useCallback,o=a.useEffect;e.exports=function(){var e=t(null),r=t(!1),n=i((function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),r.current=!1}),[]),a=i((function(n){e.current=n,r.current=!0}),[]),u=i((function(){e.current=null,r.current=!1}),[]);return o((function(){return n}),[n]),{isFetchingRef:r,startFetch:a,disposeFetch:n,completeFetch:u}}},242:(e,r,n)=>{var t=n(914),a=n(428).useTrackLoadQueryInRender,i=n(337),o=n(224),u=(n(156).useDebugValue,n(658).getFragment);e.exports=function(e,r){var n=t.get();return n?n.useFragment(e,r):function(e,r){a();var n=u(e);return o(n,"first argument of useFragment()"),i(n,r,"useFragment()")}(e,r)}},337:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(765)),o=t(n(642)),u=n(269).getQueryResourceForEnvironment,l=n(750),s=n(56),c=n(156),f=(c.useDebugValue,c.useEffect),d=c.useMemo,v=c.useRef,p=c.useState,h=n(658),m=h.__internal,y=m.fetchQuery,g=m.getPromiseForActiveRequest,b=h.RelayFeatureFlags,R=h.areEqualSelectors,_=h.createOperationDescriptor,E=h.getPendingOperationsForFragment,P=h.getSelector,k=h.getVariablesFromFragment,C=h.handlePotentialSnapshotErrors,F=h.recycleNodesInto;function S(e,r){if("bailout"===r.kind)return null;var n=e.getStore().getEpoch();if(n===r.epoch)return null;if("singular"===r.kind){var t=e.lookup(r.snapshot.selector),a=F(r.snapshot.data,t.data),i={data:a,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors,errorResponseFields:t.errorResponseFields};return[a!==r.snapshot.data,{kind:"singular",snapshot:i,epoch:n}]}for(var o=!1,u=[],l=0;l<r.snapshots.length;l++){var c=r.snapshots[l],f=e.lookup(c.selector),d=F(c.data,f.data),v={data:d,isMissingData:f.isMissingData,missingClientEdges:f.missingClientEdges,missingLiveResolverFields:f.missingLiveResolverFields,seenRecords:f.seenRecords,selector:f.selector,missingRequiredFields:f.missingRequiredFields,relayResolverErrors:f.relayResolverErrors,errorResponseFields:f.errorResponseFields};d!==c.data&&(o=!0),u.push(v)}return u.length!==r.snapshots.length&&s(!1),[o,{kind:"plural",snapshots:u,epoch:n}]}function D(e,r,n,t,i){var o=k(r,n),l=(0,a.default)((0,a.default)({},o),{},{id:t.clientEdgeDestinationID}),s=_(t.request,l,null==i?void 0:i.networkCacheConfig);return[u(e).prepare(s,y(e,s),null==i?void 0:i.fetchPolicy),g(e,s.request)]}function x(e,r){return null==r?{kind:"bailout"}:"PluralReaderSelector"===r.kind?{kind:"plural",snapshots:r.selectors.map((function(r){return e.lookup(r)})),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(r),epoch:e.getStore().getEpoch()}}n(446),e.exports=function(e,r,n,t){var a,c,h=d((function(){return P(e,r)}),[e,r]),m=!0===(null==e||null===(a=e.metadata)||void 0===a?void 0:a.plural);m?null==r||Array.isArray(r)||s(!1):Array.isArray(r)&&s(!1),null==r||m&&Array.isArray(r)&&0===r.length||null!=h||s(!1);var y=l(),g=p((function(){return x(y,h)})),_=g[0],k=g[1],F=_,q=p(F),w=q[0],I=q[1],N=w,Q=p(h),A=Q[0],O=Q[1],T=p(y),L=T[0],M=T[1];if(!R(h,A)||y!==L){O(h),M(y);var U=x(y,h);k(U),I(U),F=U,N=U}var j=v(!1);if(f((function(){j.current=h}),[h]),!0===(null===(c=e.metadata)||void 0===c?void 0:c.hasClientEdges)){var V=d((function(){var n,a=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingClientEdges)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingClientEdges){var u;t=null!==(u=t)&&void 0!==u?u:[];var l,s=(0,i.default)(o.missingClientEdges);try{for(s.s();!(l=s.n()).done;){var c=l.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(F),o=[];if(null!=a&&a.length){n=[];var u,l=(0,i.default)(a);try{for(l.s();!(u=l.n()).done;){var s=u.value,c=D(y,e,r,s,t),f=c[0],d=c[1];n.push(f),null!=d&&o.push(d)}}catch(e){l.e(e)}finally{l.f()}}return[n,o]}),[F,y,e,r,t]),W=V[0],B=V[1];if(B.length)throw Promise.all(B);f((function(){var e=u(y);if(null!=W&&W.length){var r,n=[],t=(0,i.default)(W);try{for(t.s();!(r=t.n()).done;){var a=r.value;n.push(e.retain(a))}}catch(e){t.e(e)}finally{t.f()}return function(){var e,r=(0,i.default)(n);try{for(r.s();!(e=r.n()).done;)e.value.dispose()}catch(e){r.e(e)}finally{r.f()}}}}),[y,W])}if(function(e){return"bailout"!==e.kind&&("singular"===e.kind?e.snapshot.isMissingData:e.snapshots.some((function(e){return e.isMissingData})))}(F)){var G=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingLiveResolverFields)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingLiveResolverFields){var u;t=null!==(u=t)&&void 0!==u?u:[];var l,s=(0,i.default)(o.missingLiveResolverFields);try{for(s.s();!(l=s.n()).done;){var c=l.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(F);if(null!=G&&G.length>0)throw Promise.all(G.map((function(e){var r=e.liveStateID;return y.getStore().getLiveResolverPromise(r)})));if(b.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||y!==L||!j.current||!R(j.current,h)){null==h&&s(!1);var H="PluralReaderSelector"===h.kind?h.selectors[0].owner:h.owner,K=E(y,e,H);if(K)throw K.promise}}!function(e,r){if("singular"===r.kind)C(e,r.snapshot.missingRequiredFields,r.snapshot.relayResolverErrors,r.snapshot.errorResponseFields);else if("plural"===r.kind){var n,t=(0,i.default)(r.snapshots);try{for(t.s();!(n=t.n()).done;){var a=n.value;C(e,a.missingRequiredFields,a.relayResolverErrors,a.errorResponseFields)}}catch(e){t.e(e)}finally{t.f()}}}(y,F);var Y,z=v(!1);if(f((function(){var e=N,r=S(y,N);if(null!==r){var n=r[0],t=r[1];n&&k(t),e=t}return function(e,r,n,t){if("bailout"===r.kind)return function(){};if("singular"===r.kind){var a=e.subscribe(r.snapshot,(function(r){n((function(n){if("singular"!==n.kind||n.snapshot.selector!==r.selector){var a=S(e,n);if(null!=a){var i=a[0],o=a[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:i}),t.current=i,i?o:n}return n}return t.current=!0,{kind:"singular",snapshot:r,epoch:e.getStore().getEpoch()}}))}));return function(){a.dispose()}}var u=r.snapshots.map((function(r,a){return e.subscribe(r,(function(r){n((function(n){var i;if("plural"!==n.kind||(null===(i=n.snapshots[a])||void 0===i?void 0:i.selector)!==r.selector){var u=S(e,n);if(null!=u){var l=u[0],s=u[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:l}),t.current=t.current||l,l?s:n}return n}var c=(0,o.default)(n.snapshots);return c[a]=r,t.current=!0,{kind:"plural",snapshots:c,epoch:e.getStore().getEpoch()}}))}))}));return function(){var e,r=(0,i.default)(u);try{for(r.s();!(e=r.n()).done;)e.value.dispose()}catch(e){r.e(e)}finally{r.f()}}}(y,e,k,z)}),[y,N]),z.current){var X=S(y,F);if(null!=X){var J=X[0],Z=X[1];J&&(k(Z),F=Z)}z.current=!1}if(m){var $=null==r;Y=d((function(){return"bailout"===F.kind?$?null:[]:("plural"!==F.kind&&s(!1),F.snapshots.map((function(e){return e.data})))}),[F,$])}else"bailout"===F.kind?Y=null:("singular"!==F.kind&&s(!1),Y=F.snapshot.data);return b.LOG_MISSING_RECORDS_IN_PROD&&null!=r&&(void 0===Y||Array.isArray(Y)&&Y.length>0&&Y.every((function(e){return void 0===e}))),Y}},743:(e,r,n)=>{var t=n(156),a=t.useEffect,i=t.useRef;e.exports=function(){var e=i(!0);return a((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},233:(e,r,n)=>{var t=n(750),a=n(56),i=n(156),o=n(658),u=o.__internal.getObservableForActiveRequest,l=o.getSelector,s=i.useEffect,c=i.useState,f=i.useMemo;e.exports=function(e,r){var n=t(),i=f((function(){var t=l(e,r);return null==t?null:("SingularReaderSelector"!==t.kind&&a(!1),u(n,t.owner))}),[n,e,r]),o=c(null!=i),d=o[0],v=o[1];return s((function(){var e;if(v(null!=i),null!=i){var r=function(){v(!1)};e=i.subscribe({complete:r,error:r})}return function(){e&&e.unsubscribe()}}),[i]),d}},899:(e,r,n)=>{var t=n(428).useTrackLoadQueryInRender,a=n(734),i=n(61),o=n(750),u=n(658).__internal.fetchQuery;e.exports=function(e,r,n){t();var l=o(),s=i(e,r,n&&n.networkCacheConfig?n.networkCacheConfig:{force:!0});return a({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==n?void 0:n.fetchKey,fetchObservable:u(l,s),fetchPolicy:null==n?void 0:n.fetchPolicy,query:s,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy})}},734:(e,r,n)=>{var t=n(914),a=n(187),i=n(269),o=i.getQueryCacheIdentifier,u=i.getQueryResourceForEnvironment,l=n(863),s=n(337),c=n(750),f=n(156),d=f.useContext,v=f.useEffect,p=f.useState,h=f.useRef;e.exports=function(e){var r=e.query,n=e.componentDisplayName,i=e.fetchObservable,f=e.fetchPolicy,m=e.fetchKey,y=e.renderPolicy,g=c(),b=d(a),R=u(g),_=p(0),E=_[0],P=_[1],k=l(),C=k.startFetch,F=k.completeFetch,S="".concat(E,"-").concat(null!=m?m:""),D=o(g,r,f,y,S),x=b.wrapPrepareQueryResource((function(){return R.prepareWithIdentifier(D,r,i,f,y,{start:C,complete:F,error:F},b)})),q=h(!1);return v((function(){return function(){q.current=!0}}),[]),v((function(){if(!0===q.current)return q.current=!1,void P((function(e){return e+1}));var e=R.retain(x,b);return function(){e.dispose()}}),[g,D]),v((function(){R.releaseTemporaryRetain(x)})),function(e,r,n){var a=t.get();return a&&a.useFragmentNode?a.useFragmentNode(e,r,n).data:s(e,r,n)}(x.fragmentNode,x.fragmentRef,n)}},601:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(863),i=n(743),o=n(233),u=n(750),l=n(56),s=n(156),c=s.useCallback,f=s.useEffect,d=s.useState,v=n(658),p=v.__internal.fetchQuery,h=v.ConnectionInterface,m=v.createOperationDescriptor,y=v.getPaginationVariables,g=v.getRefetchMetadata,b=v.getSelector,R=v.getValueAtPath;n(446),e.exports=function(e){var r=e.direction,n=e.fragmentNode,s=e.fragmentRef,v=e.fragmentIdentifier,_=e.fragmentData,E=e.connectionPathInFragmentData,P=e.paginationRequest,k=e.paginationMetadata,C=e.componentDisplayName,F=e.observer,S=e.onReset,D=u(),x=a(),q=x.isFetchingRef,w=x.startFetch,I=x.disposeFetch,N=x.completeFetch,Q=g(n,C).identifierInfo,A=null!=(null==Q?void 0:Q.identifierField)&&null!=_&&"object"==typeof _?_[Q.identifierField]:null,O=i(),T=d(D),L=T[0],M=T[1],U=d(v),j=U[0],V=U[1],W=o(n,s);(D!==L||v!==j)&&(I(),S(),M(D),V(v));var B=function(e,r,n,t){var a,i,o=h.get(),u=o.EDGES,s=o.PAGE_INFO,c=o.HAS_NEXT_PAGE,f=o.HAS_PREV_PAGE,d=o.END_CURSOR,v=o.START_CURSOR,p=R(n,t);if(null==p)return{cursor:null,hasMore:!1};"object"!=typeof p&&l(!1);var m=p[u],y=p[s];if(null==m||null==y)return{cursor:null,hasMore:!1};Array.isArray(m)||l(!1),"object"!=typeof y&&l(!1);var g="forward"===e?null!==(a=y[d])&&void 0!==a?a:null:null!==(i=y[v])&&void 0!==i?i:null;return null!==g&&"string"!=typeof g&&l(!1),{cursor:g,hasMore:"forward"===e?null!=g&&!0===y[c]:null!=g&&!0===y[f]}}(r,0,_,E),G=B.cursor,H=B.hasMore;return f((function(){return function(){I()}}),[I]),[c((function(e,a){var i=null==a?void 0:a.onComplete;if(!0!==O.current)return{dispose:function(){}};var o=b(n,s);if(!0===q.current||null==_||W)return i&&i(null),{dispose:function(){}};(null==o||"PluralReaderSelector"===o.kind)&&l(!1);var u=o.owner.variables,c=o.variables,f=null==a?void 0:a.UNSTABLE_extraVariables,d=(0,t.default)((0,t.default)({},u),c),v=y(r,e,G,d,(0,t.default)({},f),k);null!=Q&&(v[Q.identifierQueryVariableName]=A);var h=m(P,v,{force:!0});return p(D,h).subscribe((0,t.default)((0,t.default)({},F),{},{start:function(e){w(e),F.start&&F.start(e)},complete:function(){N(),F.complete&&F.complete(),i&&i(null)},error:function(e){N(),F.error&&F.error(e),i&&i(e)}})),{dispose:I}}),[D,A,r,G,w,I,N,q,W,_,n.name,s,C]),H,I]}},61:(e,r,n)=>{var t=n(925),a=n(156),i=n(658),o=i.createOperationDescriptor,u=i.getRequest,l=a.useMemo;e.exports=function(e,r,n){var a=t(r),i=t(n||{});return l((function(){return o(u(e),a,i)}),[e,a,i])}},925:(e,r,n)=>{var t=n(125),a=n(156).useState;e.exports=function(e){var r=a(e),n=r[0],i=r[1];return t(e,n)?n:(i(e),e)}},115:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(743),i=n(750),o=n(156),u=n(658).commitMutation,l=o.useState,s=o.useEffect,c=o.useRef,f=o.useCallback;e.exports=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,n=i(),o=a(),d=c(n),v=c(e),p=c(new Set),h=l(!1),m=h[0],y=h[1],g=f((function(r){d.current===n&&v.current===e&&(p.current.delete(r),o.current&&y(p.current.size>0))}),[n,o,e]);return s((function(){d.current===n&&v.current===e||(p.current=new Set,o.current&&y(!1),d.current=n,v.current=e)}),[n,o,e]),[f((function(a){o.current&&y(!0);var i=r(n,(0,t.default)((0,t.default)({},a),{},{mutation:e,onCompleted:function(e,r){var n;g(i),null===(n=a.onCompleted)||void 0===n||n.call(a,e,r)},onError:function(e){var r;g(i),null===(r=a.onError)||void 0===r||r.call(a,e)},onUnsubscribe:function(){var e;g(i),null===(e=a.onUnsubscribe)||void 0===e||e.call(a)},onNext:function(){var e;null===(e=a.onNext)||void 0===e||e.call(a)}}));return p.current.add(i),i}),[g,r,n,o,e]),m]}},951:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(914),i=n(601),o=n(915),u=n(750),l=n(224),s=n(156),c=s.useCallback,f=(s.useDebugValue,s.useState),d=n(658),v=d.getFragment,p=d.getFragmentIdentifier,h=d.getPaginationMetadata;function m(e){var r=u(),n=f(!1),a=n[0],o=n[1],l=function(e){var n,t=null===(n=r.getScheduler())||void 0===n?void 0:n.schedule;t?t((function(){o(e)})):o(e)},s={start:function(){return l(!0)},complete:function(){return l(!1)},error:function(){return l(!1)}},c=i((0,t.default)((0,t.default)({},e),{},{observer:s,onReset:function(){return l(!1)}}));return[c[0],c[1],a,c[2]]}e.exports=function(e,r){var n=a.get();return n?n.usePaginationFragment(e,r):function(e,r){var n=v(e);l(n,"first argument of usePaginationFragment()");var a="usePaginationFragment()",i=h(n,a),u=i.connectionPathInFragmentData,s=i.paginationRequest,f=i.paginationMetadata,d=o(n,r,a),y=d.fragmentData,g=d.fragmentRef,b=d.refetch,R=p(n,g),_=m({componentDisplayName:a,connectionPathInFragmentData:u,direction:"backward",fragmentData:y,fragmentIdentifier:R,fragmentNode:n,fragmentRef:g,paginationMetadata:f,paginationRequest:s}),E=_[0],P=_[1],k=_[2],C=_[3],F=m({componentDisplayName:a,connectionPathInFragmentData:u,direction:"forward",fragmentData:y,fragmentIdentifier:R,fragmentNode:n,fragmentRef:g,paginationMetadata:f,paginationRequest:s}),S=F[0],D=F[1],x=F[2],q=F[3];return{data:y,loadNext:S,loadPrevious:E,hasNext:D,hasPrevious:P,isLoadingNext:x,isLoadingPrevious:k,refetch:c((function(e,r){return q(),C(),b(e,(0,t.default)((0,t.default)({},r),{},{__environment:void 0}))}),[q,C,b])}}(e,r)}},617:(e,r,n)=>{var t=n(428).useTrackLoadQueryInRender,a=n(734),i=n(61),o=n(750),u=n(56),l=(n(156).useDebugValue,n(658).__internal),s=l.fetchQueryDeduped,c=l.fetchQuery;n(446),e.exports=function(e,r,n){t();var l,f=o(),d=r.fetchKey,v=r.fetchPolicy,p=r.source,h=r.variables,m=r.networkCacheConfig,y=i(e,h,m);if("PreloadedQuery_DEPRECATED"===r.kind)y.request.node.params.name!==r.name&&u(!1),l={componentDisplayName:"usePreloadedQuery()",fetchKey:d,fetchObservable:s(f,y.request.identifier,(function(){return f===r.environment&&null!=p?f.executeWithSource({operation:y,source:p}):f.execute({operation:y})})),fetchPolicy:v,query:y,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy};else{var g=c(f,y);l={componentDisplayName:"usePreloadedQuery()",fetchObservable:null!=p&&f===r.environment?p.ifEmpty(g):(r.environment,g),fetchKey:d,fetchPolicy:v,query:y,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy}}return a(l)}},876:(e,r,n)=>{var t=(0,n(275).default)(n(765)),a=n(428),i=a.loadQuery,o=a.useTrackLoadQueryInRender,u=n(743),l=n(750),s=n(156),c=s.useCallback,f=s.useEffect,d=s.useRef,v=s.useState,p=n(658).getRequest,h={kind:"NullQueryReference"};function m(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==p(e).params.metadata.live}e.exports=function(e,r){var n=null!=r?r:h,a=l();o();var s=u(),p=d(new Set([n])),y=v((function(){return n})),g=y[0],b=y[1],R=v((function(){return n})),_=R[0],E=R[1];n!==_&&(p.current.add(n),E(n),b(n));var P=c((function(){s.current&&(p.current.add(h),b(h))}),[s]),k=c((function(r,n){var t=null!=n&&n.hasOwnProperty("__environment")?{fetchPolicy:n.fetchPolicy,networkCacheConfig:n.networkCacheConfig,__nameForWarning:n.__nameForWarning}:n;if(s.current){var o,u=i(null!==(o=null==n?void 0:n.__environment)&&void 0!==o?o:a,e,r,t);p.current.add(u),b(u)}}),[a,e,b,s]),C=d(!1);return f((function(){return function(){C.current=!0}}),[]),f((function(){if(!0===C.current)return C.current=!1,void("NullQueryReference"!==g.kind&&k(g.variables,{fetchPolicy:g.fetchPolicy,networkCacheConfig:g.networkCacheConfig}));var r=p.current;if(s.current){var n,a=(0,t.default)(r);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===g)break;r.delete(i),"NullQueryReference"!==i.kind&&(m(e)?i.dispose&&i.dispose():i.releaseQuery&&i.releaseQuery())}}catch(e){a.e(e)}finally{a.f()}}}),[g,s,k,e]),f((function(){return function(){var r,n=(0,t.default)(p.current);try{for(n.s();!(r=n.n()).done;){var a=r.value;"NullQueryReference"!==a.kind&&(m(e)?a.dispose&&a.dispose():a.releaseQuery&&a.releaseQuery())}}catch(e){n.e(e)}finally{n.f()}}}),[e]),["NullQueryReference"===g.kind?null:g,k,P]}},874:(e,r,n)=>{var t=n(914),a=n(915),i=n(224),o=(n(156).useDebugValue,n(658).getFragment);e.exports=function(e,r){var n=t.get();return n?n.useRefetchableFragment(e,r):function(e,r){var n=o(e);i(n,"first argument of useRefetchableFragment()");var t=a(n,r,"useRefetchableFragment()");return[t.fragmentData,t.refetch]}(e,r)}},915:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(719),i=n(187),o=n(269).getQueryResourceForEnvironment,u=n(337),l=n(743),s=n(876),c=n(750),f=n(56),d=n(156),v=d.useCallback,p=d.useContext,h=d.useReducer,m=n(658),y=m.__internal.fetchQuery,g=m.createOperationDescriptor,b=m.getFragmentIdentifier,R=m.getRefetchMetadata,_=m.getSelector,E=m.getValueAtPath;function P(e,r){switch(r.type){case"refetch":var n;return(0,t.default)((0,t.default)({},e),{},{fetchPolicy:r.fetchPolicy,mirroredEnvironment:null!==(n=r.refetchEnvironment)&&void 0!==n?n:e.mirroredEnvironment,onComplete:r.onComplete,refetchEnvironment:r.refetchEnvironment,refetchQuery:r.refetchQuery,renderPolicy:r.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:r.environment,mirroredFragmentIdentifier:r.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw r.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}n(446),e.exports=function(e,r,n){var d=c(),m=R(e,n),k=m.refetchableRequest,C=m.fragmentRefPathInResponse,F=m.identifierInfo,S=b(e,r),D=h(P,{fetchPolicy:void 0,mirroredEnvironment:d,mirroredFragmentIdentifier:S,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),x=D[0],q=D[1],w=x.fetchPolicy,I=x.mirroredEnvironment,N=x.mirroredFragmentIdentifier,Q=x.onComplete,A=x.refetchEnvironment,O=x.refetchQuery,T=x.renderPolicy,L=null!=A?A:d,M=o(L),U=p(i),j=L!==I||S!==N,V=s(k),W=V[0],B=V[1],G=V[2],H=r;if(j)q({type:"reset",environment:L,fragmentIdentifier:S}),G();else if(null!=O&&null!=W){var K=function(e){Q&&Q(null!=e?e:null)},Y=null!=W.source?W.source:y(L,O),z=U.wrapPrepareQueryResource((function(){return M.prepare(O,Y,w,T,{error:K,complete:function(){K()}},W.fetchKey,U)})),X=a(L,z.fragmentNode,z.fragmentRef,n).data;null==X&&f(!1),H=E(X,C)}var J=u(e,H,n),Z=function(e,r,n,a,i,o,u,s,c,f,d){var p=l(),h=null!=(null==s?void 0:s.identifierField)&&null!=a&&"object"==typeof a?a[s.identifierField]:null;return v((function(e,a){if(!0!==p.current)return{dispose:function(){}};var i,u,l=null==a?void 0:a.__environment,v=null==a?void 0:a.fetchPolicy,m=null==a?void 0:a.UNSTABLE_renderPolicy,y=null==a?void 0:a.onComplete,b=_(o,f);if(null==b)i={},u={};else if("PluralReaderSelector"===b.kind){var R,E,P,k;i=null!==(R=null===(E=b.selectors[0])||void 0===E?void 0:E.owner.variables)&&void 0!==R?R:{},u=null!==(P=null===(k=b.selectors[0])||void 0===k?void 0:k.variables)&&void 0!==P?P:{}}else i=b.owner.variables,u=b.variables;var C=(0,t.default)((0,t.default)((0,t.default)({},i),u),e);null==s||e.hasOwnProperty(s.identifierQueryVariableName)||(C[s.identifierQueryVariableName]=h);var F=g(d,C,{force:!0});return c(F.request.variables,{fetchPolicy:v,__environment:l,__nameForWarning:"refetch"}),r({type:"refetch",fetchPolicy:v,onComplete:y,refetchEnvironment:l,refetchQuery:F,renderPolicy:m}),{dispose:n}}),[i,r,n,h,c])}(0,q,G,J,S,e,0,F,B,r,k);return{fragmentData:J,fragmentRef:H,refetch:Z}}},750:(e,r,n)=>{var t=n(888),a=n(56),i=n(156).useContext;e.exports=function(){var e=i(t);return null==e&&a(!1),e.environment}},224:(e,r,n)=>{n(813),n(446),e.exports=function(e,r){}},50:(e,r,n)=>{var t=n(750),a=n(156),i=a.useEffect,o=a.useRef;e.exports=function(e,r){var n=t(),a=o(null),u=Array.from(e).sort().join("");return i((function(){var t=n.getStore(),i=t.lookupInvalidationState(e),o=t.subscribeToInvalidationState(i,r);return a.current=o,function(){return o.dispose()}}),[u,r,n]),{dispose:function(){null!=a.current&&a.current.dispose()}}}},746:(e,r,n)=>{var t=n(750),a=n(156).useEffect,i=n(658).requestSubscription;e.exports=function(e,r){var n=null!=r?r:i,o=t();a((function(){return n(o,e).dispose}),[o,e,n])}},813:(e,r,n)=>{var t=n(156).useMemo;e.exports=function(e){return t((function(){return{current:e}}),[])}},765:r=>{r.exports=e},311:e=>{e.exports=r},275:e=>{e.exports=n},175:e=>{e.exports=t},642:e=>{e.exports=a},125:e=>{e.exports=i},446:e=>{e.exports=o},56:e=>{e.exports=u},156:e=>{e.exports=l},658:e=>{e.exports=s}},f={};return function e(r){var n=f[r];if(void 0!==n)return n.exports;var t=f[r]={exports:{}};return c[r](t,t.exports,e),t.exports}(651)})()));
9
+ !function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/warning"),require("invariant"),require("react"),require("relay-runtime")):"function"==typeof define&&define.amd?define(["@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/interopRequireDefault","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","fbjs/lib/warning","invariant","react","relay-runtime"],r):"object"==typeof exports?exports.ReactRelayHooks=r(require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/warning"),require("invariant"),require("react"),require("relay-runtime")):e.ReactRelayHooks=r(e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/interopRequireDefault"],e["@babel/runtime/helpers/objectSpread2"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["fbjs/lib/warning"],e.invariant,e.react,e["relay-runtime"])}(self,((e,r,n,t,a,i,o,u,l,s)=>(()=>{"use strict";var c={888:(e,r,n)=>{var t=n(156),a=n(658).__internal.createRelayContext;e.exports=a(t)},651:(e,r,n)=>{var t=n(158),a=n(828),i=n(428).loadQuery,o=n(187),u=n(696),l=n(529),s=n(242),c=n(899),f=n(115),d=n(951),v=n(617),p=n(876),h=n(874),m=n(750),y=n(50),g=n(746),b=n(658);e.exports={ConnectionHandler:b.ConnectionHandler,applyOptimisticMutation:b.applyOptimisticMutation,commitLocalUpdate:b.commitLocalUpdate,commitMutation:b.commitMutation,graphql:b.graphql,readInlineData:b.readInlineData,requestSubscription:b.requestSubscription,EntryPointContainer:t,RelayEnvironmentProvider:u,ProfilerContext:o,fetchQuery:b.fetchQuery,loadQuery:i,loadEntryPoint:a,useFragment:s,useLazyLoadQuery:c,useEntryPointLoader:l,useQueryLoader:p,useMutation:f,usePaginationFragment:d,usePreloadedQuery:v,useRefetchableFragment:h,useRelayEnvironment:m,useSubscribeToInvalidationState:y,useSubscription:g}},158:(e,r,n)=>{var t=n(187),a=n(750),i=n(156),o=n(156),u=o.useContext,l=o.useEffect;n(446),e.exports=function(e){var r=e.entryPointReference,n=e.props,o=r.getComponent,s=r.queries,c=r.entryPoints,f=r.extraProps,d=r.rootModuleID,v=o(),p=u(t),h=a();return l((function(){h.__log({name:"entrypoint.root.consume",profilerContext:p,rootModuleID:d})}),[h,p,d]),i.createElement(v,{entryPoints:c,extraProps:f,props:n,queries:s})}},914:e=>{var r=null;e.exports={inject:function(e){r=e},get:function(){return r}}},93:(e,r,n)=>{var t=n(56),a=function(){function e(e){this._capacity=e,this._capacity>0||t(!1),this._map=new Map}var r=e.prototype;return r.set=function(e,r){if(this._map.delete(e),this._map.set(e,r),this._map.size>this._capacity){var n=this._map.keys().next();n.done||this._map.delete(n.value)}},r.get=function(e){var r=this._map.get(e);return null!=r&&(this._map.delete(e),this._map.set(e,r)),r},r.has=function(e){return this._map.has(e)},r.delete=function(e){this._map.delete(e)},r.size=function(){return this._map.size},r.capacity=function(){return this._capacity-this._map.size},r.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new a(e)}}},187:(e,r,n)=>{var t=n(156).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=t},269:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(311)),o=n(93),u=n(637),l=n(56),s=n(658).isPromise,c=(n(446),"store-or-network"),f="store-and-network",d="function"==typeof WeakMap;function v(e){return void 0!==e.request.node.params.metadata.live}function p(e,r,n,t,a){var i=null!=n?n:v(r)?f:c,o=null!=t?t:e.UNSTABLE_getDefaultRenderPolicy(),u="".concat(i,"-").concat(o,"-").concat(r.request.identifier);return null!=a?"".concat(u,"-").concat(a):u}function h(e,r){var n={__id:e.fragment.dataID,__fragments:(0,i.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:r,fragmentNode:e.request.node.fragment,fragmentRef:n,operation:e}}var m=2e5;function y(e,r,n,t,a,i){var o=v(r),l=t,s=a,c=new u((function(e){var n=e.retain(r);return{dispose:function(){o&&null!=s&&s.unsubscribe(),n.dispose(),i(f)}}})),f={cacheIdentifier:e,id:m++,processedPayloadsCount:0,operationAvailability:n,getValue:function(){return l},setValue:function(e){l=e},setNetworkSubscription:function(e){o&&null!=s&&s.unsubscribe(),s=e},temporaryRetain:function(e){return c.temporaryRetain(e)},permanentRetain:function(e){return c.permanentRetain(e)},releaseTemporaryRetain:function(){c.releaseTemporaryRetain()}};return f}var g=function(){function e(e){var r=this;(0,i.default)(this,"_clearCacheEntry",(function(e){r._cache.delete(e.cacheIdentifier)})),this._environment=e,this._cache=o.create(1e3)}var r=e.prototype;return r.prepare=function(e,r,n,t,a,i,o){var u=p(this._environment,e,n,t,i);return this.prepareWithIdentifier(u,e,r,n,t,a,o)},r.prepareWithIdentifier=function(e,r,n,t,i,o,u){var l=this._environment,d=null!=t?t:v(r)?f:c,p=null!=i?i:l.UNSTABLE_getDefaultRenderPolicy(),h=this._cache.get(e),m=null,y=null!=h;null==h&&(h=this._fetchAndSaveQuery(e,r,n,d,p,u,(0,a.default)((0,a.default)({},o),{},{unsubscribe:function(e){null!=m&&m.dispose();var r=null==o?void 0:o.unsubscribe;r&&r(e)}}))),m=h.temporaryRetain(l);var g=h.getValue();if(s(g))throw l.__log({name:"suspense.query",fetchPolicy:d,isPromiseCached:y,operation:r,queryAvailability:h.operationAvailability,renderPolicy:p}),g;if(g instanceof Error)throw g;return g},r.retain=function(e,r){var n=this._environment,t=e.cacheIdentifier,a=e.operation,i=this._getOrCreateCacheEntry(t,a,null,e,null),o=i.permanentRetain(n);return n.__log({name:"queryresource.retain",profilerContext:r,resourceID:i.id}),{dispose:function(){o.dispose()}}},r.releaseTemporaryRetain=function(e){var r=this._cache.get(e.cacheIdentifier);null!=r&&r.releaseTemporaryRetain()},r.TESTS_ONLY__getCacheEntry=function(e,r,n,t){var a=p(this._environment,e,r,n,t);return this._cache.get(a)},r._getOrCreateCacheEntry=function(e,r,n,t,a){var i=this._cache.get(e);return null==i&&(i=y(e,r,n,t,a,this._clearCacheEntry),this._cache.set(e,i)),i},r._fetchAndSaveQuery=function(e,r,n,t,i,o,u){var s,c,f=this,d=this._environment,p=d.check(r),m=p.status,g="available"===m,b=g||"partial"===i&&"stale"!==m,R=function(){};switch(t){case"store-only":s=!1,c=!0;break;case"store-or-network":s=!g,c=b;break;case"store-and-network":s=!0,c=b;break;default:s=!0,c=!1}if(c){var _=h(r,e),E=y(e,r,p,_,null,this._clearCacheEntry);this._cache.set(e,E)}if(s){var P,k=h(r,e);n.subscribe({start:function(n){P=n;var t=f._cache.get(e);t&&t.setNetworkSubscription(P);var i=null==u?void 0:u.start;i&&i((0,a.default)((0,a.default)({},n),{},{unsubscribe:function(){v(r)&&n.unsubscribe()}}))},next:function(){var n=f._getOrCreateCacheEntry(e,r,p,k,P);n.processedPayloadsCount+=1,n.setValue(k),R();var t=null==u?void 0:u.next;null!=t&&t(d.lookup(r.fragment))},error:function(n){var t=f._getOrCreateCacheEntry(e,r,p,n,P);0===t.processedPayloadsCount&&t.setValue(n),R(),P=null,t.setNetworkSubscription(null);var a=null==u?void 0:u.error;a&&a(n)},complete:function(){R(),P=null;var r=f._cache.get(e);r&&r.setNetworkSubscription(null);var n=null==u?void 0:u.complete;n&&n()},unsubscribe:null==u?void 0:u.unsubscribe});var C=this._cache.get(e);if(!C){var F=new Promise((function(e){R=e}));F.displayName="Relay("+r.fragment.node.name+")",C=y(e,r,p,F,P,this._clearCacheEntry),this._cache.set(e,C)}}else{var S=null==u?void 0:u.complete;S&&S()}var D=this._cache.get(e);return null==D&&l(!1),d.__log({name:"queryresource.fetch",resourceID:D.id,operation:r,profilerContext:o,fetchPolicy:t,renderPolicy:i,queryAvailability:p,shouldFetch:s}),D},e}();function b(e){return new g(e)}var R=d?new WeakMap:new Map;e.exports={createQueryResource:b,getQueryResourceForEnvironment:function(e){var r=R.get(e);if(r)return r;var n=b(e);return R.set(e,n),n},getQueryCacheIdentifier:p}},696:(e,r,n)=>{var t=n(888),a=n(156),i=a.useMemo;e.exports=function(e){var r=e.children,n=e.environment,o=e.getEnvironmentForActor,u=i((function(){return{environment:n,getEnvironmentForActor:o}}),[n,o]);return a.createElement(t.Provider,{value:u},r)}},637:(e,r,n)=>{var t=(0,n(275).default)(n(311)),a=(n(446),function(){function e(e){var r=this;(0,t.default)(this,"_retainCount",0),(0,t.default)(this,"_retainDisposable",null),(0,t.default)(this,"_releaseTemporaryRetain",null),this._retain=function(n){return r._retainCount++,1===r._retainCount&&(r._retainDisposable=e(n)),{dispose:function(){r._retainCount=Math.max(0,r._retainCount-1),0===r._retainCount&&null!=r._retainDisposable&&(r._retainDisposable.dispose(),r._retainDisposable=null)}}}}var r=e.prototype;return r.temporaryRetain=function(e){var r,n=this;if(e.isServer())return{dispose:function(){}};var t=this._retain(e),a=null,i=function(){clearTimeout(a),a=null,n._releaseTemporaryRetain=null,t.dispose()};return a=setTimeout(i,3e5),null===(r=this._releaseTemporaryRetain)||void 0===r||r.call(this),this._releaseTemporaryRetain=i,{dispose:function(){var e;null===(e=n._releaseTemporaryRetain)||void 0===e||e.call(n)}}},r.permanentRetain=function(e){var r=this._retain(e);return this.releaseTemporaryRetain(),r},r.releaseTemporaryRetain=function(){var e;null===(e=this._releaseTemporaryRetain)||void 0===e||e.call(this),this._releaseTemporaryRetain=null},r.getRetainCount=function(){return this._retainCount},e}());e.exports=a},828:(e,r,n)=>{var t=n(428).loadQuery;e.exports=function e(r,n,a){var i=null;null==n.root.getModuleIfRequired()&&(i=n.root.load());var o=n.getPreloadProps(a),u=o.queries,l=o.entryPoints,s=o.extraProps,c={},f={};null!=u&&Object.keys(u).forEach((function(e){var n=u[e],a=n.environmentProviderOptions,i=n.options,o=n.parameters,l=n.variables,s=r.getEnvironment(a);c[e]=t(s,o,l,{fetchPolicy:null==i?void 0:i.fetchPolicy,networkCacheConfig:null==i?void 0:i.networkCacheConfig,__nameForWarning:"loadEntryPoint"},a)})),null!=l&&Object.keys(l).forEach((function(n){var t=l[n];if(null!=t){var a=t.entryPoint,i=t.entryPointParams;f[n]=e(r,a,i)}}));var d=!1;return{dispose:function(){d||(null!=c&&Object.values(c).forEach((function(e){(0,e.dispose)()})),null!=f&&Object.values(f).forEach((function(e){(0,e.dispose)()})),d=!0)},entryPoints:f,extraProps:null!=s?s:null,getComponent:function(){var e,r=n.root.getModuleIfRequired();if(null==r)throw i=null!==(e=i)&&void 0!==e?e:n.root.load();return null!=r.default?r.default:r},get isDisposed(){return d},queries:c,rootModuleID:n.root.getModuleId()}}},428:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(56),i=n(156),o=n(658),u=o.__internal.fetchQueryDeduped,l=o.Observable,s=o.PreloadableQueryRegistry,c=o.RelayFeatureFlags,f=o.ReplaySubject,d=o.createOperationDescriptor,v=o.getRequest,p=o.getRequestIdentifier,h=(n(446),null),m=100001;e.exports={loadQuery:function(e,r,n,o,h){var y,g,b;null===(y=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===y||null===(g=y.ReactCurrentDispatcher)||void 0===g||g.current,m++;var R,_,E,P,k,C,F=null!==(b=null==o?void 0:o.fetchPolicy)&&void 0!==b?b:"store-or-network",S=(0,t.default)((0,t.default)({},null==o?void 0:o.networkCacheConfig),{},{force:!0}),D=!1,x=function(r,n){return D=!0,e.executeWithSource({operation:r,source:n})},q=new f,w=l.create((function(e){return q.subscribe(e)})),I=null,N=!1,Q=function(r){var t;N=!0;var a=new f;if(!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING){var i="raw-network-request-"+p(r,n);t=u(e,i,(function(){return e.getNetwork().execute(r,n,S)}))}else t=e.getNetwork().execute(r,n,S);var o=t.subscribe({error:function(e){I=e,a.error(e)},next:function(e){a.next(e)},complete:function(){a.complete()}}).unsubscribe;return _=o,l.create((function(e){var r=a.subscribe(e);return function(){r.unsubscribe(),_()}}))},A=function(r,n){!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(N=!0);var t=u(e,r.request.identifier,n).subscribe({error:function(e){q.error(e)},next:function(e){q.next(e)},complete:function(){q.complete()}});E=t.unsubscribe},O=function(r){var t=d(r,n,S);R=e.retain(t),"store-only"!==F&&("store-or-network"!==F||"available"!==e.check(t).status)&&A(t,(function(){var e=Q(r.params);return x(t,e)}))};if("PreloadableConcreteRequest"===r.kind){null===(C=(P=r.params).id)&&a(!1);var T=s.get(C);if(null!=T)O(T);else{var L="store-only"===F?null:Q(P),M=s.onLoad(C,(function(r){k();var t=d(r,n,S);R=e.retain(t),null!=L&&A(t,(function(){return x(t,L)}))}));k=M.dispose}}else{var U=v(r);C=null!=(P=U.params).cacheID?P.cacheID:P.id,O(U)}var j=!1,V=!1,W=!1,B=function(){V||(R&&R.dispose(),V=!0)},G=function(){W||(D?E&&E():_&&_(),k&&k(),W=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:h,dispose:function(){j||(B(),G(),j=!0)},releaseQuery:B,cancelNetworkRequest:G,fetchKey:m,id:C,get isDisposed(){return j||V},get networkError(){return I},name:P.name,networkCacheConfig:S,fetchPolicy:F,source:N?w:void 0,variables:n}},useTrackLoadQueryInRender:function(){var e,r;null===h&&(h=null===(e=i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e||null===(r=e.ReactCurrentDispatcher)||void 0===r?void 0:r.current)}}},74:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(765)),o=n(269).getQueryResourceForEnvironment,u=n(56),l=n(658),s=l.__internal.fetchQuery,c=l.RelayFeatureFlags,f=l.createOperationDescriptor,d=l.getPendingOperationsForFragment,v=l.getSelector,p=l.getVariablesFromFragment,h=l.handlePotentialSnapshotErrors;function m(e,r,n,t,i){var u=p(r,n),l=(0,a.default)((0,a.default)({},u),{},{id:t.clientEdgeDestinationID}),c=f(t.request,l,null==i?void 0:i.networkCacheConfig);return o(e).prepare(c,s(e,c),null==i?void 0:i.fetchPolicy)}n(446),e.exports=function(e,r,n,t,a,o){var l,s,f=v(r,n),p=!0===(null==r||null===(l=r.metadata)||void 0===l?void 0:l.plural);p?null==n||Array.isArray(n)||u(!1):Array.isArray(n)&&u(!1),null==n||p&&Array.isArray(n)&&0===n.length||null!=f||u(!1);var y,g=function(e,r){return null==r?{kind:"bailout"}:"PluralReaderSelector"===r.kind?0===r.selectors.length?{kind:"bailout"}:{kind:"plural",snapshots:r.selectors.map((function(r){return e.lookup(r)})),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(r),epoch:e.getStore().getEpoch()}}(e,f),b=null;if(!0===(null===(s=r.metadata)||void 0===s?void 0:s.hasClientEdges)){var R=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingClientEdges)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingClientEdges){var u;t=null!==(u=t)&&void 0!==u?u:[];var l,s=(0,i.default)(o.missingClientEdges);try{for(s.s();!(l=s.n()).done;){var c=l.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(g);if(null!=R&&R.length){b=[];var _,E=(0,i.default)(R);try{for(E.s();!(_=E.n()).done;){var P=_.value;b.push(m(e,r,n,P,a))}}catch(e){E.e(e)}finally{E.f()}}}if(function(e){return"bailout"!==e.kind&&("singular"===e.kind?e.snapshot.isMissingData:e.snapshots.some((function(e){return e.isMissingData})))}(g)){null==f&&u(!1);var k="PluralReaderSelector"===f.kind?f.selectors[0].owner:f.owner,C=d(e,r,k);if(C)throw C.promise;!function(e,r){if("singular"===r.kind)h(e,r.snapshot.missingRequiredFields,r.snapshot.relayResolverErrors,r.snapshot.errorResponseFields);else if("plural"===r.kind){var n,t=(0,i.default)(r.snapshots);try{for(t.s();!(n=t.n()).done;){var a=n.value;h(e,a.missingRequiredFields,a.relayResolverErrors,a.errorResponseFields)}}catch(e){t.e(e)}finally{t.f()}}}(e,g)}return y="bailout"===g.kind?p?[]:null:"singular"===g.kind?g.snapshot.data:g.snapshots.map((function(e){return e.data})),c.LOG_MISSING_RECORDS_IN_PROD&&null!=n&&(void 0===y||Array.isArray(y)&&y.length>0&&y.every((function(e){return void 0===e}))),{data:y,clientEdgeQueries:b}}},529:(e,r,n)=>{var t=(0,n(275).default)(n(765)),a=n(828),i=n(428).useTrackLoadQueryInRender,o=n(743),u=n(156),l=u.useCallback,s=u.useEffect,c=u.useRef,f=u.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,r,n){var u,v,p,h;i();var m=null!==(u=null==n||null===(v=n.TEST_ONLY__initialEntryPointData)||void 0===v?void 0:v.entryPointReference)&&void 0!==u?u:d,y=null!==(p=null==n||null===(h=n.TEST_ONLY__initialEntryPointData)||void 0===h?void 0:h.entryPointParams)&&void 0!==p?p:null,g=o(),b=c(new Set([m])),R=f(m),_=R[0],E=R[1],P=f(y),k=P[0],C=P[1],F=l((function(){if(g.current){var e={kind:"NullEntryPointReference"};b.current.add(e),E(e)}}),[E,g]),S=l((function(n){if(g.current){var t=a(e,r,n);b.current.add(t),E(t),C(n)}}),[e,r,E,g]),D=c(!1);return s((function(){return function(){D.current=!0}}),[]),s((function(){if(!0===D.current)return D.current=!1,void("NullEntryPointReference"!==_.kind&&null!=k&&S(k));var e=b.current;if(g.current){var r,n=(0,t.default)(e);try{for(n.s();!(r=n.n()).done;){var a=r.value;if(a===_)break;e.delete(a),"NullEntryPointReference"!==a.kind&&a.dispose()}}catch(e){n.e(e)}finally{n.f()}}}),[_,k,S,g]),s((function(){return function(){var e,r=(0,t.default)(b.current);try{for(r.s();!(e=r.n()).done;){var n=e.value;"NullEntryPointReference"!==n.kind&&n.dispose()}}catch(e){r.e(e)}finally{r.f()}}}),[]),["NullEntryPointReference"===_.kind?null:_,S,F]}},863:(e,r,n)=>{var t=n(813),a=n(156),i=a.useCallback,o=a.useEffect;e.exports=function(){var e=t(null),r=t(!1),n=i((function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),r.current=!1}),[]),a=i((function(n){e.current=n,r.current=!0}),[]),u=i((function(){e.current=null,r.current=!1}),[]);return o((function(){return n}),[n]),{isFetchingRef:r,startFetch:a,disposeFetch:n,completeFetch:u}}},242:(e,r,n)=>{var t=n(914),a=n(428).useTrackLoadQueryInRender,i=n(337),o=n(224),u=(n(156).useDebugValue,n(658).getFragment);e.exports=function(e,r){var n=t.get();return n?n.useFragment(e,r):function(e,r){a();var n=u(e);return o(n,"first argument of useFragment()"),i(n,r,"useFragment()")}(e,r)}},337:(e,r,n)=>{var t=n(275).default,a=t(n(175)),i=t(n(765)),o=t(n(642)),u=n(269).getQueryResourceForEnvironment,l=n(750),s=n(56),c=n(156),f=(c.useDebugValue,c.useEffect),d=c.useMemo,v=c.useRef,p=c.useState,h=n(658),m=h.__internal,y=m.fetchQuery,g=m.getPromiseForActiveRequest,b=h.RelayFeatureFlags,R=h.areEqualSelectors,_=h.createOperationDescriptor,E=h.getPendingOperationsForFragment,P=h.getSelector,k=h.getVariablesFromFragment,C=h.handlePotentialSnapshotErrors,F=h.recycleNodesInto;function S(e,r){if("bailout"===r.kind)return null;var n=e.getStore().getEpoch();if(n===r.epoch)return null;if("singular"===r.kind){var t=e.lookup(r.snapshot.selector),a=F(r.snapshot.data,t.data),i={data:a,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors,errorResponseFields:t.errorResponseFields};return[a!==r.snapshot.data,{kind:"singular",snapshot:i,epoch:n}]}for(var o=!1,u=[],l=0;l<r.snapshots.length;l++){var c=r.snapshots[l],f=e.lookup(c.selector),d=F(c.data,f.data),v={data:d,isMissingData:f.isMissingData,missingClientEdges:f.missingClientEdges,missingLiveResolverFields:f.missingLiveResolverFields,seenRecords:f.seenRecords,selector:f.selector,missingRequiredFields:f.missingRequiredFields,relayResolverErrors:f.relayResolverErrors,errorResponseFields:f.errorResponseFields};d!==c.data&&(o=!0),u.push(v)}return u.length!==r.snapshots.length&&s(!1),[o,{kind:"plural",snapshots:u,epoch:n}]}function D(e,r,n,t,i){var o=k(r,n),l=(0,a.default)((0,a.default)({},o),{},{id:t.clientEdgeDestinationID}),s=_(t.request,l,null==i?void 0:i.networkCacheConfig);return[u(e).prepare(s,y(e,s),null==i?void 0:i.fetchPolicy),g(e,s.request)]}function x(e,r){return null==r?{kind:"bailout"}:"PluralReaderSelector"===r.kind?{kind:"plural",snapshots:r.selectors.map((function(r){return e.lookup(r)})),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(r),epoch:e.getStore().getEpoch()}}n(446),e.exports=function(e,r,n,t){var a,c,h=d((function(){return P(e,r)}),[e,r]),m=!0===(null==e||null===(a=e.metadata)||void 0===a?void 0:a.plural);m?null==r||Array.isArray(r)||s(!1):Array.isArray(r)&&s(!1),null==r||m&&Array.isArray(r)&&0===r.length||null!=h||s(!1);var y=l(),g=p((function(){return x(y,h)})),_=g[0],k=g[1],F=_,q=p(F),w=q[0],I=q[1],N=w,Q=p(h),A=Q[0],O=Q[1],T=p(y),L=T[0],M=T[1];if(!R(h,A)||y!==L){O(h),M(y);var U=x(y,h);k(U),I(U),F=U,N=U}var j=v(!1);if(f((function(){j.current=h}),[h]),!0===(null===(c=e.metadata)||void 0===c?void 0:c.hasClientEdges)){var V=d((function(){var n,a=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingClientEdges)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingClientEdges){var u;t=null!==(u=t)&&void 0!==u?u:[];var l,s=(0,i.default)(o.missingClientEdges);try{for(s.s();!(l=s.n()).done;){var c=l.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(F),o=[];if(null!=a&&a.length){n=[];var u,l=(0,i.default)(a);try{for(l.s();!(u=l.n()).done;){var s=u.value,c=D(y,e,r,s,t),f=c[0],d=c[1];n.push(f),null!=d&&o.push(d)}}catch(e){l.e(e)}finally{l.f()}}return[n,o]}),[F,y,e,r,t]),W=V[0],B=V[1];if(B.length)throw Promise.all(B);f((function(){var e=u(y);if(null!=W&&W.length){var r,n=[],t=(0,i.default)(W);try{for(t.s();!(r=t.n()).done;){var a=r.value;n.push(e.retain(a))}}catch(e){t.e(e)}finally{t.f()}return function(){var e,r=(0,i.default)(n);try{for(r.s();!(e=r.n()).done;)e.value.dispose()}catch(e){r.e(e)}finally{r.f()}}}}),[y,W])}if(function(e){return"bailout"!==e.kind&&("singular"===e.kind?e.snapshot.isMissingData:e.snapshots.some((function(e){return e.isMissingData})))}(F)){var G=function(e){if("bailout"===e.kind)return null;var r;if("singular"===e.kind)return null!==(r=e.snapshot.missingLiveResolverFields)&&void 0!==r?r:null;var n,t=null,a=(0,i.default)(e.snapshots);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(o.missingLiveResolverFields){var u;t=null!==(u=t)&&void 0!==u?u:[];var l,s=(0,i.default)(o.missingLiveResolverFields);try{for(s.s();!(l=s.n()).done;){var c=l.value;t.push(c)}}catch(e){s.e(e)}finally{s.f()}}}}catch(e){a.e(e)}finally{a.f()}return t}(F);if(null!=G&&G.length>0)throw Promise.all(G.map((function(e){var r=e.liveStateID;return y.getStore().getLiveResolverPromise(r)})));if(b.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||y!==L||!j.current||!R(j.current,h)){null==h&&s(!1);var H="PluralReaderSelector"===h.kind?h.selectors[0].owner:h.owner,K=E(y,e,H);if(K)throw K.promise}}!function(e,r){if("singular"===r.kind)C(e,r.snapshot.missingRequiredFields,r.snapshot.relayResolverErrors,r.snapshot.errorResponseFields);else if("plural"===r.kind){var n,t=(0,i.default)(r.snapshots);try{for(t.s();!(n=t.n()).done;){var a=n.value;C(e,a.missingRequiredFields,a.relayResolverErrors,a.errorResponseFields)}}catch(e){t.e(e)}finally{t.f()}}}(y,F);var Y,z=v(!1);if(f((function(){var e=N,r=S(y,N);if(null!==r){var n=r[0],t=r[1];n&&k(t),e=t}return function(e,r,n,t){if("bailout"===r.kind)return function(){};if("singular"===r.kind){var a=e.subscribe(r.snapshot,(function(r){n((function(n){if("singular"!==n.kind||n.snapshot.selector!==r.selector){var a=S(e,n);if(null!=a){var i=a[0],o=a[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:i}),t.current=i,i?o:n}return n}return t.current=!0,{kind:"singular",snapshot:r,epoch:e.getStore().getEpoch()}}))}));return function(){a.dispose()}}var u=r.snapshots.map((function(r,a){return e.subscribe(r,(function(r){n((function(n){var i;if("plural"!==n.kind||(null===(i=n.snapshots[a])||void 0===i?void 0:i.selector)!==r.selector){var u=S(e,n);if(null!=u){var l=u[0],s=u[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:l}),t.current=t.current||l,l?s:n}return n}var c=(0,o.default)(n.snapshots);return c[a]=r,t.current=!0,{kind:"plural",snapshots:c,epoch:e.getStore().getEpoch()}}))}))}));return function(){var e,r=(0,i.default)(u);try{for(r.s();!(e=r.n()).done;)e.value.dispose()}catch(e){r.e(e)}finally{r.f()}}}(y,e,k,z)}),[y,N]),z.current){var X=S(y,F);if(null!=X){var J=X[0],Z=X[1];J&&(k(Z),F=Z)}z.current=!1}if(m){var $=null==r;Y=d((function(){return"bailout"===F.kind?$?null:[]:("plural"!==F.kind&&s(!1),F.snapshots.map((function(e){return e.data})))}),[F,$])}else"bailout"===F.kind?Y=null:("singular"!==F.kind&&s(!1),Y=F.snapshot.data);return b.LOG_MISSING_RECORDS_IN_PROD&&null!=r&&(void 0===Y||Array.isArray(Y)&&Y.length>0&&Y.every((function(e){return void 0===e}))),Y}},743:(e,r,n)=>{var t=n(156),a=t.useEffect,i=t.useRef;e.exports=function(){var e=i(!0);return a((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},233:(e,r,n)=>{var t=n(750),a=n(56),i=n(156),o=n(658),u=o.__internal.getObservableForActiveRequest,l=o.getSelector,s=i.useEffect,c=i.useState,f=i.useMemo;e.exports=function(e,r){var n=t(),i=f((function(){var t=l(e,r);return null==t?null:("SingularReaderSelector"!==t.kind&&a(!1),u(n,t.owner))}),[n,e,r]),o=c(null!=i),d=o[0],v=o[1];return s((function(){var e;if(v(null!=i),null!=i){var r=function(){v(!1)};e=i.subscribe({complete:r,error:r})}return function(){e&&e.unsubscribe()}}),[i]),d}},899:(e,r,n)=>{var t=n(428).useTrackLoadQueryInRender,a=n(734),i=n(61),o=n(750),u=n(658).__internal.fetchQuery;e.exports=function(e,r,n){t();var l=o(),s=i(e,r,n&&n.networkCacheConfig?n.networkCacheConfig:{force:!0});return a({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==n?void 0:n.fetchKey,fetchObservable:u(l,s),fetchPolicy:null==n?void 0:n.fetchPolicy,query:s,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy})}},734:(e,r,n)=>{var t=n(914),a=n(187),i=n(269),o=i.getQueryCacheIdentifier,u=i.getQueryResourceForEnvironment,l=n(863),s=n(337),c=n(750),f=n(156),d=f.useContext,v=f.useEffect,p=f.useState,h=f.useRef;e.exports=function(e){var r=e.query,n=e.componentDisplayName,i=e.fetchObservable,f=e.fetchPolicy,m=e.fetchKey,y=e.renderPolicy,g=c(),b=d(a),R=u(g),_=p(0),E=_[0],P=_[1],k=l(),C=k.startFetch,F=k.completeFetch,S="".concat(E,"-").concat(null!=m?m:""),D=o(g,r,f,y,S),x=b.wrapPrepareQueryResource((function(){return R.prepareWithIdentifier(D,r,i,f,y,{start:C,complete:F,error:F},b)})),q=h(!1);return v((function(){return function(){q.current=!0}}),[]),v((function(){if(!0===q.current)return q.current=!1,void P((function(e){return e+1}));var e=R.retain(x,b);return function(){e.dispose()}}),[g,D]),v((function(){R.releaseTemporaryRetain(x)})),function(e,r,n){var a=t.get();return a&&a.useFragmentNode?a.useFragmentNode(e,r,n).data:s(e,r,n)}(x.fragmentNode,x.fragmentRef,n)}},601:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(863),i=n(743),o=n(233),u=n(750),l=n(56),s=n(156),c=s.useCallback,f=s.useEffect,d=s.useState,v=n(658),p=v.__internal.fetchQuery,h=v.ConnectionInterface,m=v.createOperationDescriptor,y=v.getPaginationVariables,g=v.getRefetchMetadata,b=v.getSelector,R=v.getValueAtPath;n(446),e.exports=function(e){var r=e.direction,n=e.fragmentNode,s=e.fragmentRef,v=e.fragmentIdentifier,_=e.fragmentData,E=e.connectionPathInFragmentData,P=e.paginationRequest,k=e.paginationMetadata,C=e.componentDisplayName,F=e.observer,S=e.onReset,D=u(),x=a(),q=x.isFetchingRef,w=x.startFetch,I=x.disposeFetch,N=x.completeFetch,Q=g(n,C).identifierInfo,A=null!=(null==Q?void 0:Q.identifierField)&&null!=_&&"object"==typeof _?_[Q.identifierField]:null,O=i(),T=d(D),L=T[0],M=T[1],U=d(v),j=U[0],V=U[1],W=o(n,s);(D!==L||v!==j)&&(I(),S(),M(D),V(v));var B=function(e,r,n,t){var a,i,o=h.get(),u=o.EDGES,s=o.PAGE_INFO,c=o.HAS_NEXT_PAGE,f=o.HAS_PREV_PAGE,d=o.END_CURSOR,v=o.START_CURSOR,p=R(n,t);if(null==p)return{cursor:null,hasMore:!1};"object"!=typeof p&&l(!1);var m=p[u],y=p[s];if(null==m||null==y)return{cursor:null,hasMore:!1};Array.isArray(m)||l(!1),"object"!=typeof y&&l(!1);var g="forward"===e?null!==(a=y[d])&&void 0!==a?a:null:null!==(i=y[v])&&void 0!==i?i:null;return null!==g&&"string"!=typeof g&&l(!1),{cursor:g,hasMore:"forward"===e?null!=g&&!0===y[c]:null!=g&&!0===y[f]}}(r,0,_,E),G=B.cursor,H=B.hasMore;return f((function(){return function(){I()}}),[I]),[c((function(e,a){var i=null==a?void 0:a.onComplete;if(!0!==O.current)return{dispose:function(){}};var o=b(n,s);if(!0===q.current||null==_||W)return i&&i(null),{dispose:function(){}};(null==o||"PluralReaderSelector"===o.kind)&&l(!1);var u=o.owner.variables,c=o.variables,f=null==a?void 0:a.UNSTABLE_extraVariables,d=(0,t.default)((0,t.default)({},u),c),v=y(r,e,G,d,(0,t.default)({},f),k);null!=Q&&(v[Q.identifierQueryVariableName]=A);var h=m(P,v,{force:!0});return p(D,h).subscribe((0,t.default)((0,t.default)({},F),{},{start:function(e){w(e),F.start&&F.start(e)},complete:function(){N(),F.complete&&F.complete(),i&&i(null)},error:function(e){N(),F.error&&F.error(e),i&&i(e)}})),{dispose:I}}),[D,A,r,G,w,I,N,q,W,_,n.name,s,C]),H,I]}},61:(e,r,n)=>{var t=n(925),a=n(156),i=n(658),o=i.createOperationDescriptor,u=i.getRequest,l=a.useMemo;e.exports=function(e,r,n){var a=t(r),i=t(n||{});return l((function(){return o(u(e),a,i)}),[e,a,i])}},925:(e,r,n)=>{var t=n(125),a=n(156).useState;e.exports=function(e){var r=a(e),n=r[0],i=r[1];return t(e,n)?n:(i(e),e)}},115:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(743),i=n(750),o=n(156),u=n(658).commitMutation,l=o.useState,s=o.useEffect,c=o.useRef,f=o.useCallback;e.exports=function(e){var r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:u,n=i(),o=a(),d=c(n),v=c(e),p=c(new Set),h=l(!1),m=h[0],y=h[1],g=f((function(r){d.current===n&&v.current===e&&(p.current.delete(r),o.current&&y(p.current.size>0))}),[n,o,e]);return s((function(){d.current===n&&v.current===e||(p.current=new Set,o.current&&y(!1),d.current=n,v.current=e)}),[n,o,e]),[f((function(a){o.current&&y(!0);var i=r(n,(0,t.default)((0,t.default)({},a),{},{mutation:e,onCompleted:function(e,r){var n;g(i),null===(n=a.onCompleted)||void 0===n||n.call(a,e,r)},onError:function(e){var r;g(i),null===(r=a.onError)||void 0===r||r.call(a,e)},onUnsubscribe:function(){var e;g(i),null===(e=a.onUnsubscribe)||void 0===e||e.call(a)},onNext:function(){var e;null===(e=a.onNext)||void 0===e||e.call(a)}}));return p.current.add(i),i}),[g,r,n,o,e]),m]}},951:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(914),i=n(601),o=n(915),u=n(750),l=n(224),s=n(156),c=s.useCallback,f=(s.useDebugValue,s.useState),d=n(658),v=d.getFragment,p=d.getFragmentIdentifier,h=d.getPaginationMetadata;function m(e){var r=u(),n=f(!1),a=n[0],o=n[1],l=function(e){var n,t=null===(n=r.getScheduler())||void 0===n?void 0:n.schedule;t?t((function(){o(e)})):o(e)},s={start:function(){return l(!0)},complete:function(){return l(!1)},error:function(){return l(!1)}},c=i((0,t.default)((0,t.default)({},e),{},{observer:s,onReset:function(){return l(!1)}}));return[c[0],c[1],a,c[2]]}e.exports=function(e,r){var n=a.get();return n?n.usePaginationFragment(e,r):function(e,r){var n=v(e);l(n,"first argument of usePaginationFragment()");var a="usePaginationFragment()",i=h(n,a),u=i.connectionPathInFragmentData,s=i.paginationRequest,f=i.paginationMetadata,d=o(n,r,a),y=d.fragmentData,g=d.fragmentRef,b=d.refetch,R=p(n,g),_=m({componentDisplayName:a,connectionPathInFragmentData:u,direction:"backward",fragmentData:y,fragmentIdentifier:R,fragmentNode:n,fragmentRef:g,paginationMetadata:f,paginationRequest:s}),E=_[0],P=_[1],k=_[2],C=_[3],F=m({componentDisplayName:a,connectionPathInFragmentData:u,direction:"forward",fragmentData:y,fragmentIdentifier:R,fragmentNode:n,fragmentRef:g,paginationMetadata:f,paginationRequest:s}),S=F[0],D=F[1],x=F[2],q=F[3];return{data:y,loadNext:S,loadPrevious:E,hasNext:D,hasPrevious:P,isLoadingNext:x,isLoadingPrevious:k,refetch:c((function(e,r){return q(),C(),b(e,(0,t.default)((0,t.default)({},r),{},{__environment:void 0}))}),[q,C,b])}}(e,r)}},617:(e,r,n)=>{var t=n(428).useTrackLoadQueryInRender,a=n(734),i=n(61),o=n(750),u=n(56),l=(n(156).useDebugValue,n(658).__internal),s=l.fetchQueryDeduped,c=l.fetchQuery;n(446),e.exports=function(e,r,n){t();var l,f=o(),d=r.fetchKey,v=r.fetchPolicy,p=r.source,h=r.variables,m=r.networkCacheConfig,y=i(e,h,m);if("PreloadedQuery_DEPRECATED"===r.kind)y.request.node.params.name!==r.name&&u(!1),l={componentDisplayName:"usePreloadedQuery()",fetchKey:d,fetchObservable:s(f,y.request.identifier,(function(){return f===r.environment&&null!=p?f.executeWithSource({operation:y,source:p}):f.execute({operation:y})})),fetchPolicy:v,query:y,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy};else{var g=c(f,y);l={componentDisplayName:"usePreloadedQuery()",fetchObservable:null!=p&&f===r.environment?p.ifEmpty(g):(r.environment,g),fetchKey:d,fetchPolicy:v,query:y,renderPolicy:null==n?void 0:n.UNSTABLE_renderPolicy}}return a(l)}},876:(e,r,n)=>{var t=(0,n(275).default)(n(765)),a=n(428),i=a.loadQuery,o=a.useTrackLoadQueryInRender,u=n(743),l=n(750),s=n(156),c=s.useCallback,f=s.useEffect,d=s.useRef,v=s.useState,p=n(658).getRequest,h={kind:"NullQueryReference"};function m(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==p(e).params.metadata.live}e.exports=function(e,r){var n=null!=r?r:h,a=l();o();var s=u(),p=d(new Set([n])),y=v((function(){return n})),g=y[0],b=y[1],R=v((function(){return n})),_=R[0],E=R[1];n!==_&&(p.current.add(n),E(n),b(n));var P=c((function(){s.current&&(p.current.add(h),b(h))}),[s]),k=c((function(r,n){var t=null!=n&&n.hasOwnProperty("__environment")?{fetchPolicy:n.fetchPolicy,networkCacheConfig:n.networkCacheConfig,__nameForWarning:n.__nameForWarning}:n;if(s.current){var o,u=i(null!==(o=null==n?void 0:n.__environment)&&void 0!==o?o:a,e,r,t);p.current.add(u),b(u)}}),[a,e,b,s]),C=d(!1);return f((function(){return function(){C.current=!0}}),[]),f((function(){if(!0===C.current)return C.current=!1,void("NullQueryReference"!==g.kind&&k(g.variables,{fetchPolicy:g.fetchPolicy,networkCacheConfig:g.networkCacheConfig}));var r=p.current;if(s.current){var n,a=(0,t.default)(r);try{for(a.s();!(n=a.n()).done;){var i=n.value;if(i===g)break;r.delete(i),"NullQueryReference"!==i.kind&&(m(e)?i.dispose&&i.dispose():i.releaseQuery&&i.releaseQuery())}}catch(e){a.e(e)}finally{a.f()}}}),[g,s,k,e]),f((function(){return function(){var r,n=(0,t.default)(p.current);try{for(n.s();!(r=n.n()).done;){var a=r.value;"NullQueryReference"!==a.kind&&(m(e)?a.dispose&&a.dispose():a.releaseQuery&&a.releaseQuery())}}catch(e){n.e(e)}finally{n.f()}}}),[e]),["NullQueryReference"===g.kind?null:g,k,P]}},874:(e,r,n)=>{var t=n(914),a=n(915),i=n(224),o=(n(156).useDebugValue,n(658).getFragment);e.exports=function(e,r){var n=t.get();return n?n.useRefetchableFragment(e,r):function(e,r){var n=o(e);i(n,"first argument of useRefetchableFragment()");var t=a(n,r,"useRefetchableFragment()");return[t.fragmentData,t.refetch]}(e,r)}},915:(e,r,n)=>{var t=(0,n(275).default)(n(175)),a=n(187),i=n(269).getQueryResourceForEnvironment,o=n(74),u=n(337),l=n(743),s=n(876),c=n(750),f=n(56),d=n(156),v=d.useCallback,p=d.useContext,h=d.useReducer,m=n(658),y=m.__internal.fetchQuery,g=m.createOperationDescriptor,b=m.getFragmentIdentifier,R=m.getRefetchMetadata,_=m.getSelector,E=m.getValueAtPath;function P(e,r){switch(r.type){case"refetch":var n;return(0,t.default)((0,t.default)({},e),{},{fetchPolicy:r.fetchPolicy,mirroredEnvironment:null!==(n=r.refetchEnvironment)&&void 0!==n?n:e.mirroredEnvironment,onComplete:r.onComplete,refetchEnvironment:r.refetchEnvironment,refetchQuery:r.refetchQuery,renderPolicy:r.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:r.environment,mirroredFragmentIdentifier:r.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw r.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}n(446),e.exports=function(e,r,n){var d=c(),m=R(e,n),k=m.refetchableRequest,C=m.fragmentRefPathInResponse,F=m.identifierInfo,S=b(e,r),D=h(P,{fetchPolicy:void 0,mirroredEnvironment:d,mirroredFragmentIdentifier:S,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),x=D[0],q=D[1],w=x.fetchPolicy,I=x.mirroredEnvironment,N=x.mirroredFragmentIdentifier,Q=x.onComplete,A=x.refetchEnvironment,O=x.refetchQuery,T=x.renderPolicy,L=null!=A?A:d,M=i(L),U=p(a),j=L!==I||S!==N,V=s(k),W=V[0],B=V[1],G=V[2],H=r;if(j)q({type:"reset",environment:L,fragmentIdentifier:S}),G();else if(null!=O&&null!=W){var K=function(e){Q&&Q(null!=e?e:null)},Y=null!=W.source?W.source:y(L,O),z=U.wrapPrepareQueryResource((function(){return M.prepare(O,Y,w,T,{error:K,complete:function(){K()}},W.fetchKey,U)})),X=o(L,z.fragmentNode,z.fragmentRef,n).data;null==X&&f(!1),H=E(X,C)}var J=u(e,H,n),Z=function(e,r,n,a,i,o,u,s,c,f,d){var p=l(),h=null!=(null==s?void 0:s.identifierField)&&null!=a&&"object"==typeof a?a[s.identifierField]:null;return v((function(e,a){if(!0!==p.current)return{dispose:function(){}};var i,u,l=null==a?void 0:a.__environment,v=null==a?void 0:a.fetchPolicy,m=null==a?void 0:a.UNSTABLE_renderPolicy,y=null==a?void 0:a.onComplete,b=_(o,f);if(null==b)i={},u={};else if("PluralReaderSelector"===b.kind){var R,E,P,k;i=null!==(R=null===(E=b.selectors[0])||void 0===E?void 0:E.owner.variables)&&void 0!==R?R:{},u=null!==(P=null===(k=b.selectors[0])||void 0===k?void 0:k.variables)&&void 0!==P?P:{}}else i=b.owner.variables,u=b.variables;var C=(0,t.default)((0,t.default)((0,t.default)({},i),u),e);null==s||e.hasOwnProperty(s.identifierQueryVariableName)||(C[s.identifierQueryVariableName]=h);var F=g(d,C,{force:!0});return c(F.request.variables,{fetchPolicy:v,__environment:l,__nameForWarning:"refetch"}),r({type:"refetch",fetchPolicy:v,onComplete:y,refetchEnvironment:l,refetchQuery:F,renderPolicy:m}),{dispose:n}}),[i,r,n,h,c])}(0,q,G,J,S,e,0,F,B,r,k);return{fragmentData:J,fragmentRef:H,refetch:Z}}},750:(e,r,n)=>{var t=n(888),a=n(56),i=n(156).useContext;e.exports=function(){var e=i(t);return null==e&&a(!1),e.environment}},224:(e,r,n)=>{n(813),n(446),e.exports=function(e,r){}},50:(e,r,n)=>{var t=n(750),a=n(156),i=a.useEffect,o=a.useRef;e.exports=function(e,r){var n=t(),a=o(null),u=Array.from(e).sort().join("");return i((function(){var t=n.getStore(),i=t.lookupInvalidationState(e),o=t.subscribeToInvalidationState(i,r);return a.current=o,function(){return o.dispose()}}),[u,r,n]),{dispose:function(){null!=a.current&&a.current.dispose()}}}},746:(e,r,n)=>{var t=n(750),a=n(156).useEffect,i=n(658).requestSubscription;e.exports=function(e,r){var n=null!=r?r:i,o=t();a((function(){return n(o,e).dispose}),[o,e,n])}},813:(e,r,n)=>{var t=n(156).useMemo;e.exports=function(e){return t((function(){return{current:e}}),[])}},765:r=>{r.exports=e},311:e=>{e.exports=r},275:e=>{e.exports=n},175:e=>{e.exports=t},642:e=>{e.exports=a},125:e=>{e.exports=i},446:e=>{e.exports=o},56:e=>{e.exports=u},156:e=>{e.exports=l},658:e=>{e.exports=s}},f={};return function e(r){var n=f[r];if(void 0!==n)return n.exports;var t=f[r]={exports:{}};return c[r](t,t.exports,e),t.exports}(651)})()));