react-relay 0.0.0-main-2f563f49 → 0.0.0-main-c20f3146

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Relay v0.0.0-main-2f563f49
2
+ * Relay v0.0.0-main-c20f3146
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its 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,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("relay-runtime"),require("@babel/runtime/helpers/interopRequireDefault"),require("invariant"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/extends"),require("react-relay/ReactRelayContext"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["react","relay-runtime","@babel/runtime/helpers/interopRequireDefault","invariant","@babel/runtime/helpers/objectSpread2","fbjs/lib/warning","@babel/runtime/helpers/defineProperty","fbjs/lib/areEqual","@babel/runtime/helpers/assertThisInitialized","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/objectWithoutPropertiesLoose","@babel/runtime/helpers/extends","react-relay/ReactRelayContext","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/toConsumableArray"],t):"object"==typeof exports?exports.ReactRelay=t(require("react"),require("relay-runtime"),require("@babel/runtime/helpers/interopRequireDefault"),require("invariant"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/extends"),require("react-relay/ReactRelayContext"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/toConsumableArray")):e.ReactRelay=t(e.react,e["relay-runtime"],e["@babel/runtime/helpers/interopRequireDefault"],e.invariant,e["@babel/runtime/helpers/objectSpread2"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/defineProperty"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/assertThisInitialized"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@babel/runtime/helpers/extends"],e["react-relay/ReactRelayContext"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,n,o,a,i,s,u,c,l,f,d,p,h){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=36)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";var n=r(3),o=r(0).useContext,a=r(25);e.exports=function(){var e=o(a);return null==e&&n(!1),e.environment}},function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(3),a=r(0),i=r(1),s=i.Observable,u=i.PreloadableQueryRegistry,c=i.RelayFeatureFlags,l=i.ReplaySubject,f=i.__internal.fetchQueryDeduped,d=i.createOperationDescriptor,p=i.getRequest,h=i.getRequestIdentifier,v=(r(6),null),m=100001;e.exports={loadQuery:function(e,t,r,i,v){var y,_,b;null===(y=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===y||null===(_=y.ReactCurrentDispatcher)||void 0===_||_.current,m++;var g,R,C,P,S,E,x=null!==(b=null==i?void 0:i.fetchPolicy)&&void 0!==b?b:"store-or-network",F=(0,n.default)((0,n.default)({},null==i?void 0:i.networkCacheConfig),{},{force:!0}),q=!1,D=function(t,r){return q=!0,e.executeWithSource({operation:t,source:r})},I=new l,O=s.create((function(e){return I.subscribe(e)})),k=null,N=!1,A=function(t){var n;N=!0;var o=new l;if(!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING){var a="raw-network-request-"+h(t,r);n=f(e,a,(function(){return e.getNetwork().execute(t,r,F)}))}else{n=e.getNetwork().execute(t,r,F)}var i=n.subscribe({error:function(e){k=e,o.error(e)},next:function(e){o.next(e)},complete:function(){o.complete()}}).unsubscribe;return R=i,s.create((function(e){var t=o.subscribe(e);return function(){t.unsubscribe(),R()}}))},w=function(t,r){!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(N=!0);var n=f(e,t.request.identifier,r).subscribe({error:function(e){I.error(e)},next:function(e){I.next(e)},complete:function(){I.complete()}});C=n.unsubscribe},Q=function(t){var n=d(t,r,F);(g=e.retain(n),"store-only"!==x)&&(("store-or-network"!==x||"available"!==e.check(n).status)&&w(n,(function(){var e=A(t.params);return D(n,e)})))};if("PreloadableConcreteRequest"===t.kind){null===(E=(P=t.params).id)&&o(!1);var M=u.get(E);if(null!=M)Q(M);else{var U="store-only"===x?null:A(P),T=u.onLoad(E,(function(t){S();var n=d(t,r,F);g=e.retain(n),null!=U&&w(n,(function(){return D(n,U)}))}));S=T.dispose}}else{var L=p(t);E=null!=(P=L.params).cacheID?P.cacheID:P.id,Q(L)}var j=!1,V=!1,W=!1,H=function(){V||(g&&g.dispose(),V=!0)},K=function(){W||(q?C&&C():R&&R(),S&&S(),W=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:v,dispose:function(){j||(H(),K(),j=!0)},releaseQuery:H,cancelNetworkRequest:K,fetchKey:m,id:E,get isDisposed(){return j||V},get networkError(){return k},name:P.name,networkCacheConfig:F,fetchPolicy:x,source:N?O:void 0,variables:r}},useTrackLoadQueryInRender:function(){var e,t;null===v&&(v=null===(e=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e||null===(t=e.ReactCurrentDispatcher)||void 0===t?void 0:t.current)}}},function(e,t,r){"use strict";var n=r(0),o=r(1).__internal.createRelayContext;e.exports=o(n)},function(e,t){e.exports=i},function(e,t){e.exports=s},function(e,t,r){"use strict";var n=r(0),o=n.useEffect,a=n.useRef;e.exports=function(){var e=a(!0);return o((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},function(e,t){e.exports=u},function(e,t){e.exports=c},function(e,t,r){"use strict";function n(e){return e.displayName||e.name||"Component"}e.exports={getComponentName:n,getContainerName:function(e){return"Relay("+n(e)+")"}}},function(e,t){e.exports=l},function(e,t,r){"use strict";var n=r(2)(r(17)),o=r(38),a=r(14),i=a.getComponentName,s=a.getContainerName,u=r(8),c=r(18),l=r(39),f=r(3),d=r(0),p=r(1).getFragment;e.exports=function(e,t,r){var a=s(e);o(i(e),t);var h={};for(var v in t)h[v]=p(t[v]);var m=r(e,h);function y(e,t){var r,o=l(u);null==o&&f(!1);var a=l(c);return d.createElement(m,(0,n.default)({},e,{__relayContext:o,__rootIsQueryRenderer:null!==(r=null==a?void 0:a.rootIsQueryRenderer)&&void 0!==r&&r,componentRef:e.componentRef||t}))}return m.displayName=a,y.displayName=a,d.forwardRef(y)}},function(e,t){e.exports=f},function(e,t,r){"use strict";var n=r(0);e.exports=n.createContext({rootIsQueryRenderer:!1})},function(e,t,r){"use strict";var n=r(40),o=r(3);function a(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&n(e.environment)}e.exports={assertRelayContext:function(e){return a(e)||o(!1),e},isRelayContext:a}},function(e,t,r){"use strict";var n=r(2)(r(9)),o=r(3),a=r(1),i=a.__internal.fetchQuery,s=a.createOperationDescriptor,u=a.isRelayModernEnvironment,c=function(){function e(e){(0,n.default)(this,"_selectionReferences",[]),(0,n.default)(this,"_callOnDataChangeWhenSet",!1),null!=e&&(this._cacheSelectionReference=e.cacheSelectionReference,this._selectionReferences=e.selectionReferences)}var t=e.prototype;return t.getSelectionReferences=function(){return{cacheSelectionReference:this._cacheSelectionReference,selectionReferences:this._selectionReferences}},t.lookupInStore=function(e,t,r){return"store-and-network"!==r&&"store-or-network"!==r||"available"!==e.check(t).status?null:(this._retainCachedOperation(e,t),e.lookup(t.fragment))},t.execute=function(e){var t=this,r=e.environment,n=e.operation,o=e.preservePreviousReferences,a=void 0!==o&&o,s=r.retain(n),c=function(){t._selectionReferences=t._selectionReferences.concat(s)},l=function(){a||t.disposeSelectionReferences(),t._selectionReferences=t._selectionReferences.concat(s)},f=function(){t._selectionReferences=t._selectionReferences.concat(s)};return u(r)?i(r,n).do({error:c,complete:l,unsubscribe:f}):r.execute({operation:n}).do({error:c,complete:l,unsubscribe:f})},t.setOnDataChange=function(e){this._fetchOptions||o(!1),"function"==typeof e&&(this._fetchOptions.onDataChangeCallbacks=this._fetchOptions.onDataChangeCallbacks||[],this._fetchOptions.onDataChangeCallbacks.push(e),this._callOnDataChangeWhenSet&&(null!=this._error?e({error:this._error}):null!=this._snapshot&&e({snapshot:this._snapshot})))},t.fetch=function(e,t){var r,n=this,o=e.environment,a=e.operation,i=e.onDataChange,u=!1;this.disposeRequest();var c=this._fetchOptions&&this._fetchOptions.onDataChangeCallbacks;this._fetchOptions={environment:o,onDataChangeCallbacks:c||[],operation:a},i&&-1===this._fetchOptions.onDataChangeCallbacks.indexOf(i)&&this._fetchOptions.onDataChangeCallbacks.push(i);var l=t?s(a.request.node,a.request.variables,t):a,f=this.execute({environment:o,operation:l}).finally((function(){n._pendingRequest=null})).subscribe({next:function(){n._callOnDataChangeWhenSet=!0,n._error=null,n._onQueryDataAvailable({notifyFirstResult:u})},error:function(e){n._callOnDataChangeWhenSet=!0,n._error=e,n._snapshot=null;var t=n._fetchOptions&&n._fetchOptions.onDataChangeCallbacks;u?t&&t.forEach((function(t){t({error:e})})):r=e}});if(this._pendingRequest={dispose:function(){f.unsubscribe()}},u=!0,r)throw r;return this._snapshot},t.retry=function(e){return this._fetchOptions||o(!1),this.fetch({environment:this._fetchOptions.environment,operation:this._fetchOptions.operation,onDataChange:null},e)},t.dispose=function(){this.disposeRequest(),this.disposeSelectionReferences()},t.disposeRequest=function(){this._error=null,this._snapshot=null,this._pendingRequest&&this._pendingRequest.dispose(),this._rootSubscription&&(this._rootSubscription.dispose(),this._rootSubscription=null)},t._retainCachedOperation=function(e,t){this._disposeCacheSelectionReference(),this._cacheSelectionReference=e.retain(t)},t._disposeCacheSelectionReference=function(){this._cacheSelectionReference&&this._cacheSelectionReference.dispose(),this._cacheSelectionReference=null},t.disposeSelectionReferences=function(){this._disposeCacheSelectionReference(),this._selectionReferences.forEach((function(e){return e.dispose()})),this._selectionReferences=[]},t._onQueryDataAvailable=function(e){var t=this,r=e.notifyFirstResult;this._fetchOptions||o(!1);var n=this._fetchOptions,a=n.environment,i=n.onDataChangeCallbacks,s=n.operation;if(!this._snapshot&&(this._snapshot=a.lookup(s.fragment),this._rootSubscription=a.subscribe(this._snapshot,(function(e){if(null!=t._fetchOptions){var r=t._fetchOptions.onDataChangeCallbacks;Array.isArray(r)&&r.forEach((function(t){return t({snapshot:e})}))}})),this._snapshot&&r&&Array.isArray(i))){var u=this._snapshot;i.forEach((function(e){return e({snapshot:u})}))}},e}();e.exports=c},function(e,t,r){"use strict";var n=r(0).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=n},function(e,t,r){"use strict";var n=r(28).getFragmentResourceForEnvironment,o=r(4),a=r(0),i=a.useEffect,s=a.useRef,u=a.useState,c=r(1).getFragmentIdentifier;r(6);e.exports=function(e,t,r){var a=o(),l=n(a),f=s(!1),d=u(0)[1],p=c(e,t),h=l.readWithIdentifier(e,t,p,r),v=s(!0);function m(){!1!==f.current&&!1!==v.current&&d((function(e){return e+1}))}return i((function(){f.current=!0;var e=l.subscribe(h,m);return function(){f.current=!1,e.dispose()}}),[a,p]),{data:h.data,disableStoreUpdates:function(){v.current=!1},enableStoreUpdates:function(){v.current=!0,l.checkMissedUpdates(h)[0]&&m()}}}},function(e,t,r){"use strict";r(0).useRef,r(6);e.exports=function(e,t){}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(1).getSelector;e.exports=function(e,t){var r={};return Object.keys(e).forEach((function(a){var i,s,u,c=e[a],l=t[a],f=o(c,l),d=null!=f&&"PluralReaderSelector"===f.kind?null!==(i=null===(s=f.selectors[0])||void 0===s?void 0:s.owner.variables)&&void 0!==i?i:{}:null!==(u=null==f?void 0:f.owner.variables)&&void 0!==u?u:{};r=(0,n.default)((0,n.default)({},r),d)})),r}},function(e,t){e.exports=d},function(e,t,r){"use strict";var n=r(7).loadQuery;e.exports=function e(t,r,o){var a=null;null==r.root.getModuleIfRequired()&&(a=r.root.load());var i=r.getPreloadProps(o),s=i.queries,u=i.entryPoints,c=i.extraProps,l={},f={};null!=s&&Object.keys(s).forEach((function(e){var r=s[e],o=r.environmentProviderOptions,a=r.options,i=r.parameters,u=r.variables,c=t.getEnvironment(o);l[e]=n(c,i,u,{fetchPolicy:null==a?void 0:a.fetchPolicy,networkCacheConfig:null==a?void 0:a.networkCacheConfig,__nameForWarning:"loadEntryPoint"},o)})),null!=u&&Object.keys(u).forEach((function(r){var n=u[r];if(null!=n){var o=n.entryPoint,a=n.entryPointParams;f[r]=e(t,o,a)}}));var d=!1;return{dispose:function(){d||(null!=l&&Object.values(l).forEach((function(e){(0,e.dispose)()})),null!=f&&Object.values(f).forEach((function(e){(0,e.dispose)()})),d=!0)},entryPoints:f,extraProps:null!=c?c:null,getComponent:function(){var e,t=r.root.getModuleIfRequired();if(null==t)throw a=null!==(e=a)&&void 0!==e?e:r.root.load();return t},get isDisposed(){return d},queries:l,rootModuleID:r.root.getModuleId()}}},function(e,t){e.exports=p},function(e,t,r){"use strict";var n=r(2),o=n(r(5)),a=n(r(49)),i=r(29),s=r(3),u=r(1),c=u.getFragmentIdentifier,l=u.getPendingOperationsForFragment,f=u.getSelector,d=u.isPromise,p=u.recycleNodesInto,h=u.reportMissingRequiredFields,v="function"==typeof WeakMap,m=Object.freeze([]);function y(e){return Array.isArray(e)?e.some((function(e){return e.isMissingData})):e.isMissingData}function _(e,t,r){return Array.isArray(t)?{cacheKey:e,snapshot:t,data:t.map((function(e){return e.data})),isMissingData:y(t),storeEpoch:r}:{cacheKey:e,snapshot:t,data:t.data,isMissingData:y(t),storeEpoch:r}}var b=function(){function e(e){this._environment=e,this._cache=i.create(1e6)}var t=e.prototype;return t.read=function(e,t,r,n){return this.readWithIdentifier(e,t,c(e,t),r,n)},t.readWithIdentifier=function(e,t,r,n,o){var a,i=this._environment;if(null==t)return{cacheKey:r,data:null,isMissingData:!1,snapshot:null,storeEpoch:0};var u=i.getStore().getEpoch();if(!0===(null==e||null===(a=e.metadata)||void 0===a?void 0:a.plural)&&(Array.isArray(t)||s(!1),0===t.length))return{cacheKey:r,data:m,isMissingData:!1,snapshot:m,storeEpoch:u};var c=this._cache.get(r);if(null!=c){if("pending"===c.kind&&d(c.promise))throw i.__log({name:"suspense.fragment",data:c.result.data,fragment:e,isRelayHooks:!0,isMissingData:c.result.isMissingData,isPromiseCached:!0,pendingOperations:c.pendingOperations}),c.promise;if("done"===c.kind&&c.result.snapshot)return this._reportMissingRequiredFieldsInSnapshot(c.result.snapshot),c.result}var l=f(e,t);null==l&&s(!1);var p="PluralReaderSelector"===l.kind?l.selectors.map((function(e){return i.lookup(e)})):i.lookup(l),h=_(r,p,u);if(!h.isMissingData)return this._reportMissingRequiredFieldsInSnapshot(p),this._cache.set(r,{kind:"done",result:h}),h;var v="PluralReaderSelector"===l.kind?l.selectors[0].owner:l.owner,y=this._getAndSavePromiseForFragmentRequestInFlight(r,e,v,h);if(null!=y&&d(y.promise))throw i.__log({name:"suspense.fragment",data:h.data,fragment:e,isRelayHooks:!0,isPromiseCached:!1,isMissingData:h.isMissingData,pendingOperations:y.pendingOperations}),y.promise;return this._reportMissingRequiredFieldsInSnapshot(p),_(r,p,u)},t._reportMissingRequiredFieldsInSnapshot=function(e){var t=this;Array.isArray(e)?e.forEach((function(e){null!=e.missingRequiredFields&&h(t._environment,e.missingRequiredFields)})):null!=e.missingRequiredFields&&h(this._environment,e.missingRequiredFields)},t.readSpec=function(e,t,r){var n={};for(var o in e)n[o]=this.read(e[o],t[o],r,o);return n},t.subscribe=function(e,t){var r=this,n=this._environment,o=e.cacheKey,a=e.snapshot;if(!a)return{dispose:function(){}};var i=this.checkMissedUpdates(e),u=i[0],c=i[1];u&&t();var l=[];return Array.isArray(a)?(Array.isArray(c)||s(!1),c.forEach((function(e,a){l.push(n.subscribe(e,(function(e){var i=n.getStore().getEpoch();r._updatePluralSnapshot(o,c,e,a,i),t()})))}))):((null==c||Array.isArray(c))&&s(!1),l.push(n.subscribe(c,(function(e){var a=n.getStore().getEpoch();r._cache.set(o,{kind:"done",result:_(o,e,a)}),t()})))),{dispose:function(){l.map((function(e){return e.dispose()})),r._cache.delete(o)}}},t.subscribeSpec=function(e,t){var r=this,n=Object.keys(e).map((function(n){return r.subscribe(e[n],t)}));return{dispose:function(){n.forEach((function(e){e.dispose()}))}}},t.checkMissedUpdates=function(e){var t=this._environment,r=e.snapshot;if(!r)return[!1,null];var n;if(n=t.getStore().getEpoch(),e.storeEpoch===n)return[!1,e.snapshot];var a=e.cacheKey;if(Array.isArray(r)){var i=!1,s=[];return r.forEach((function(e,r){var n=t.lookup(e.selector),a=e.data,u=n.data,c=p(a,u);c!==a&&(n=(0,o.default)((0,o.default)({},n),{},{data:c}),i=!0),s[r]=n})),i&&this._cache.set(a,{kind:"done",result:_(a,s,n)}),[i,s]}var u=t.lookup(r.selector),c=r.data,l=u.data,f=p(c,l),d={data:f,isMissingData:u.isMissingData,seenRecords:u.seenRecords,selector:u.selector,missingRequiredFields:u.missingRequiredFields};return f!==c&&this._cache.set(a,{kind:"done",result:_(a,d,n)}),[f!==c,d]},t.checkMissedUpdatesSpec=function(e){var t=this;return Object.keys(e).some((function(r){return t.checkMissedUpdates(e[r])[0]}))},t._getAndSavePromiseForFragmentRequestInFlight=function(e,t,r,n){var o=this,a=l(this._environment,t,r);if(null==a)return null;var i=a.promise,s=a.pendingOperations,u=i.then((function(){o._cache.delete(e)})).catch((function(t){o._cache.delete(e)}));return u.displayName=i.displayName,this._cache.set(e,{kind:"pending",pendingOperations:s,promise:u,result:n}),{promise:u,pendingOperations:s}},t._updatePluralSnapshot=function(e,t,r,n,o){var i,s=this._cache.get(e);if(d(s))g(r.selector.node.name);else{var u=null==s||null===(i=s.result)||void 0===i?void 0:i.snapshot;if(!u||Array.isArray(u)){var c=u?(0,a.default)(u):(0,a.default)(t);c[n]=r,this._cache.set(e,{kind:"done",result:_(e,c,o)})}else g(r.selector.node.name)}},e}();function g(e){s(!1)}function R(e){return new b(e)}var C=v?new WeakMap:new Map;e.exports={createFragmentResource:R,getFragmentResourceForEnvironment:function(e){var t=C.get(e);if(t)return t;var r=R(e);return C.set(e,r),r}}},function(e,t,r){"use strict";var n=r(3),o=function(){function e(e){this._capacity=e,this._capacity>0||n(!1),this._map=new Map}var t=e.prototype;return t.set=function(e,t){if(this._map.delete(e),this._map.set(e,t),this._map.size>this._capacity){var r=this._map.keys().next();r.done||this._map.delete(r.value)}},t.get=function(e){var t=this._map.get(e);return null!=t&&(this._map.delete(e),this._map.set(e,t)),t},t.has=function(e){return this._map.has(e)},t.delete=function(e){this._map.delete(e)},t.size=function(){return this._map.size},t.capacity=function(){return this._capacity-this._map.size},t.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new o(e)}}},function(e,t,r){"use strict";var n=r(21),o=r(31),a=o.getQueryCacheIdentifier,i=o.getQueryResourceForEnvironment,s=r(32),u=r(22),c=r(4),l=r(0),f=l.useContext,d=l.useEffect,p=l.useState,h=l.useRef;e.exports=function(e){var t=e.query,r=e.componentDisplayName,o=e.fetchObservable,l=e.fetchPolicy,v=e.fetchKey,m=e.renderPolicy,y=c(),_=f(n),b=i(y),g=p(0),R=g[0],C=g[1],P=s(),S=P.startFetch,E=P.completeFetch,x="".concat(R,"-").concat(null!=v?v:""),F=a(y,t,l,m,x),q=_.wrapPrepareQueryResource((function(){return b.prepareWithIdentifier(F,t,o,l,m,{start:S,complete:E,error:E},_)})),D=h(!1);d((function(){return function(){D.current=!0}}),[]),d((function(){if(!0===D.current)return D.current=!1,void C((function(e){return e+1}));var e=b.retain(q,_);return function(){e.dispose()}}),[y,F]),d((function(){b.releaseTemporaryRetain(q)}));var I=q.fragmentNode,O=q.fragmentRef;return u(I,O,r).data}},function(e,t,r){"use strict";var n=r(2),o=n(r(5)),a=n(r(9)),i=r(29),s=r(3),u=r(1).isPromise,c=(r(6),"function"==typeof WeakMap);function l(e){return void 0!==e.request.node.params.metadata.live}function f(e,t,r,n,o){var a=null!=r?r:"store-or-network",i=null!=n?n:e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(a,"-").concat(i,"-").concat(t.request.identifier);return null!=o?"".concat(s,"-").concat(o):s}function d(e,t){var r={__id:e.fragment.dataID,__fragments:(0,a.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:t,fragmentNode:e.request.node.fragment,fragmentRef:r,operation:e}}var p=2e5;function h(e,t,r,n,o,a){var i=l(t),u=n,c=0,f=null,d=null,h=o,v=function(e){return 1===++c&&(f=e.retain(t)),{dispose:function(){0===(c=Math.max(0,c-1))&&(null==f&&s(!1),f.dispose(),f=null),a(m)}}},m={cacheIdentifier:e,id:p++,processedPayloadsCount:0,operationAvailability:r,getValue:function(){return u},setValue:function(e){u=e},getRetainCount:function(){return c},getNetworkSubscription:function(){return h},setNetworkSubscription:function(e){i&&null!=h&&h.unsubscribe(),h=e},temporaryRetain:function(e){if(e.isServer())return{dispose:function(){}};var t=v(e),r=null,n=function(){clearTimeout(r),r=null,d=null,t.dispose(),i&&c<=0&&null!=h&&h.unsubscribe()};return r=setTimeout(n,3e5),null!=d&&d(),d=n,{dispose:function(){d&&d()}}},permanentRetain:function(e){var t=v(e);return null!=d&&(d(),d=null),{dispose:function(){t.dispose(),i&&c<=0&&null!=h&&h.unsubscribe()}}},releaseTemporaryRetain:function(){null!=d&&(d(),d=null)}};return m}var v=function(){function e(e){var t=this;(0,a.default)(this,"_clearCacheEntry",(function(e){e.getRetainCount()<=0&&t._cache.delete(e.cacheIdentifier)})),this._environment=e,this._cache=i.create(1e3)}var t=e.prototype;return t.prepare=function(e,t,r,n,o,a,i){var s=f(this._environment,e,r,n,a);return this.prepareWithIdentifier(s,e,t,r,n,o,i)},t.prepareWithIdentifier=function(e,t,r,n,a,i,s){var c=this._environment,l=null!=n?n:"store-or-network",f=null!=a?a:c.UNSTABLE_getDefaultRenderPolicy(),d=this._cache.get(e),p=null,h=null!=d;null==d&&(d=this._fetchAndSaveQuery(e,t,r,l,f,s,(0,o.default)((0,o.default)({},i),{},{unsubscribe:function(e){null!=p&&p.dispose();var t=null==i?void 0:i.unsubscribe;t&&t(e)}}))),p=d.temporaryRetain(c);var v=d.getValue();if(u(v))throw c.__log({name:"suspense.query",fetchPolicy:l,isPromiseCached:h,operation:t,queryAvailability:d.operationAvailability,renderPolicy:f}),v;if(v instanceof Error)throw v;return v},t.retain=function(e,t){var r=this._environment,n=e.cacheIdentifier,o=e.operation,a=this._getOrCreateCacheEntry(n,o,null,e,null),i=a.permanentRetain(r);return r.__log({name:"queryresource.retain",profilerContext:t,resourceID:a.id}),{dispose:function(){i.dispose()}}},t.releaseTemporaryRetain=function(e){var t=this._cache.get(e.cacheIdentifier);null!=t&&t.releaseTemporaryRetain()},t.TESTS_ONLY__getCacheEntry=function(e,t,r,n){var o=f(this._environment,e,t,r,n);return this._cache.get(o)},t._getOrCreateCacheEntry=function(e,t,r,n,o){var a=this._cache.get(e);return null==a&&(a=h(e,t,r,n,o,this._clearCacheEntry),this._cache.set(e,a)),a},t._fetchAndSaveQuery=function(e,t,r,n,a,i,u){var c,f,p=this,v=this._environment,m=v.check(t),y=m.status,_="available"===y,b=_||"partial"===a&&"stale"!==y,g=function(){};switch(n){case"store-only":c=!1,f=!0;break;case"store-or-network":c=!_,f=b;break;case"store-and-network":c=!0,f=b;break;case"network-only":default:c=!0,f=!1}if(f){var R=d(t,e),C=h(e,t,m,R,null,this._clearCacheEntry);this._cache.set(e,C)}if(c){var P,S=d(t,e);r.subscribe({start:function(r){P=r;var n=p._cache.get(e);n&&n.setNetworkSubscription(P);var a=null==u?void 0:u.start;a&&a((0,o.default)((0,o.default)({},r),{},{unsubscribe:function(){l(t)&&r.unsubscribe()}}))},next:function(){var r=p._getOrCreateCacheEntry(e,t,m,S,P);r.processedPayloadsCount+=1,r.setValue(S),g();var n=null==u?void 0:u.next;null!=n&&n(v.lookup(t.fragment))},error:function(r){var n=p._getOrCreateCacheEntry(e,t,m,r,P);0===n.processedPayloadsCount&&n.setValue(r),g(),P=null,n.setNetworkSubscription(null);var o=null==u?void 0:u.error;o&&o(r)},complete:function(){g(),P=null;var t=p._cache.get(e);t&&t.setNetworkSubscription(null);var r=null==u?void 0:u.complete;r&&r()},unsubscribe:null==u?void 0:u.unsubscribe});var E=this._cache.get(e);if(!E){var x=new Promise((function(e){g=e}));x.displayName="Relay("+t.fragment.node.name+")",E=h(e,t,m,x,P,this._clearCacheEntry),this._cache.set(e,E)}}else{var F=null==u?void 0:u.complete;F&&F()}var q=this._cache.get(e);return null==q&&s(!1),v.__log({name:"queryresource.fetch",resourceID:q.id,operation:t,profilerContext:i,fetchPolicy:n,renderPolicy:a,queryAvailability:m,shouldFetch:c}),q},e}();function m(e){return new v(e)}var y=c?new WeakMap:new Map;e.exports={createQueryResource:m,getQueryResourceForEnvironment:function(e){var t=y.get(e);if(t)return t;var r=m(e);return y.set(e,r),r},getQueryCacheIdentifier:f}},function(e,t,r){"use strict";var n=r(0),o=n.useCallback,a=n.useEffect,i=n.useRef;e.exports=function(){var e=i(null),t=i(!1),r=o((function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),t.current=!1}),[]),n=o((function(r){e.current=r,t.current=!0}),[]),s=o((function(){e.current=null,t.current=!1}),[]);return a((function(){return r}),[r]),{isFetchingRef:t,startFetch:n,disposeFetch:r,completeFetch:s}}},function(e,t,r){"use strict";var n=r(51),o=r(0),a=r(1),i=a.createOperationDescriptor,s=a.getRequest,u=o.useMemo;e.exports=function(e,t,r){var o=n(t)[0],a=n(r||{})[0];return u((function(){return i(s(e),o,a)}),[e,o,a])}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(28).getFragmentResourceForEnvironment,a=r(21),i=r(31).getQueryResourceForEnvironment,s=r(22),u=r(11),c=r(35),l=r(4),f=r(3),d=r(0),p=d.useCallback,h=d.useContext,v=d.useReducer,m=r(1),y=m.__internal.fetchQuery,_=m.createOperationDescriptor,b=m.getFragmentIdentifier,g=m.getRefetchMetadata,R=m.getSelector,C=m.getValueAtPath;r(6);function P(e,t){switch(t.type){case"refetch":var r;return(0,n.default)((0,n.default)({},e),{},{fetchPolicy:t.fetchPolicy,mirroredEnvironment:null!==(r=t.refetchEnvironment)&&void 0!==r?r:e.mirroredEnvironment,onComplete:t.onComplete,refetchEnvironment:t.refetchEnvironment,refetchQuery:t.refetchQuery,renderPolicy:t.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:t.environment,mirroredFragmentIdentifier:t.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw t.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}e.exports=function(e,t,r){var d=l(),m=g(e,r),S=m.refetchableRequest,E=m.fragmentRefPathInResponse,x=m.identifierField,F=b(e,t),q=v(P,{fetchPolicy:void 0,mirroredEnvironment:d,mirroredFragmentIdentifier:F,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),D=q[0],I=q[1],O=D.fetchPolicy,k=D.mirroredEnvironment,N=D.mirroredFragmentIdentifier,A=D.onComplete,w=D.refetchEnvironment,Q=D.refetchQuery,M=D.renderPolicy,U=null!=w?w:d,T=i(U),L=o(U),j=h(a),V=U!==k||F!==N,W=c(S),H=W[0],K=W[1],B=W[2],G=t;if(V)I({type:"reset",environment:U,fragmentIdentifier:F}),B();else if(null!=Q&&null!=H){0;var z=function(e){A&&A(null!=e?e:null)},Y=null!=H.source?H.source:y(U,Q),X=j.wrapPrepareQueryResource((function(){return T.prepare(Q,Y,O,M,{error:z,complete:function(){z()}},H.fetchKey,j)})),J=L.read(X.fragmentNode,X.fragmentRef,r).data;null==J&&f(!1),G=C(J,E)}var Z=s(e,G,r),$=Z.data,ee=Z.disableStoreUpdates,te=Z.enableStoreUpdates;return{fragmentData:$,fragmentRef:G,refetch:function(e,t,r,o,a,i,s,c,l,f,d){var h=u(),v=null!=c&&null!=o&&"object"==typeof o?o[c]:null;return p((function(e,o){if(!0!==h.current)return{dispose:function(){}};var a,s,u=null==o?void 0:o.__environment,p=null==o?void 0:o.fetchPolicy,m=null==o?void 0:o.UNSTABLE_renderPolicy,y=null==o?void 0:o.onComplete,b=R(i,f);if(null==b)a={},s={};else if("PluralReaderSelector"===b.kind){var g,C,P,S;a=null!==(g=null===(C=b.selectors[0])||void 0===C?void 0:C.owner.variables)&&void 0!==g?g:{},s=null!==(P=null===(S=b.selectors[0])||void 0===S?void 0:S.variables)&&void 0!==P?P:{}}else a=b.owner.variables,s=b.variables;var E=(0,n.default)((0,n.default)((0,n.default)({},a),s),e);null==c||e.hasOwnProperty("id")||(E.id=v);var x=_(d,E,{force:!0});return l(x.request.variables,{fetchPolicy:p,__environment:u,__nameForWarning:"refetch"}),t({type:"refetch",fetchPolicy:p,onComplete:y,refetchEnvironment:u,refetchQuery:x,renderPolicy:m}),{dispose:r}}),[a,t,r,v])}(0,I,B,$,F,e,0,x,K,t,S),disableStoreUpdates:ee,enableStoreUpdates:te}}},function(e,t,r){"use strict";var n=r(2)(r(27)),o=r(7),a=o.loadQuery,i=o.useTrackLoadQueryInRender,s=r(11),u=r(4),c=r(0),l=c.useCallback,f=c.useEffect,d=c.useRef,p=c.useState,h=r(1).getRequest,v={kind:"NullQueryReference"};function m(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==h(e).params.metadata.live}e.exports=function(e,t){var r=null!=t?t:v,o=u();i();var c=s(),h=d(new Set([r])),y=p((function(){return r})),_=y[0],b=y[1],g=p((function(){return r})),R=g[0],C=g[1];r!==R&&(h.current.add(r),C(r),b(r));var P=l((function(){c.current&&(h.current.add(v),b(v))}),[c]),S=l((function(t,r){var n=null!=r&&r.hasOwnProperty("__environment")?{fetchPolicy:r.fetchPolicy,networkCacheConfig:r.networkCacheConfig,__nameForWarning:r.__nameForWarning}:r;if(c.current){var i,s=a(null!==(i=null==r?void 0:r.__environment)&&void 0!==i?i:o,e,t,n);h.current.add(s),b(s)}}),[o,e,b,c]),E=d(!1);return f((function(){return function(){E.current=!0}}),[]),f((function(){if(!0===E.current)return E.current=!1,void("NullQueryReference"!==_.kind&&S(_.variables,{fetchPolicy:_.fetchPolicy,networkCacheConfig:_.networkCacheConfig}));var t=h.current;if(c.current){var r,o=(0,n.default)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a===_)break;t.delete(a),"NullQueryReference"!==a.kind&&(m(e)?a.dispose&&a.dispose():a.releaseQuery&&a.releaseQuery())}}catch(e){o.e(e)}finally{o.f()}}}),[_,c,S,e]),f((function(){return function(){var t,r=(0,n.default)(h.current);try{for(r.s();!(t=r.n()).done;){var o=t.value;"NullQueryReference"!==o.kind&&(m(e)?o.dispose&&o.dispose():o.releaseQuery&&o.releaseQuery())}}catch(e){r.e(e)}finally{r.f()}}}),[e]),["NullQueryReference"===_.kind?null:_,S,P]}},function(e,t,r){"use strict";var n=r(8),o=r(37),a=r(41),i=r(42),s=r(43),u=r(44),c=r(45),l=r(26),f=r(7).loadQuery,d=r(46),p=r(47),h=r(48),v=r(50),m=r(52),y=r(53),_=r(56),b=r(35),g=r(57),R=r(4),C=r(58),P=r(59),S=r(1);e.exports={ConnectionHandler:S.ConnectionHandler,QueryRenderer:s,LocalQueryRenderer:a,MutationTypes:S.MutationTypes,RangeOperations:S.RangeOperations,ReactRelayContext:n,applyOptimisticMutation:S.applyOptimisticMutation,commitLocalUpdate:S.commitLocalUpdate,commitMutation:S.commitMutation,createFragmentContainer:o.createContainer,createPaginationContainer:i.createContainer,createRefetchContainer:u.createContainer,fetchQuery_DEPRECATED:S.fetchQuery_DEPRECATED,graphql:S.graphql,readInlineData:S.readInlineData,requestSubscription:S.requestSubscription,EntryPointContainer:c,RelayEnvironmentProvider:d,fetchQuery:S.fetchQuery,loadQuery:f,loadEntryPoint:l,useFragment:h,useLazyLoadQuery:v,useEntryPointLoader:p,useQueryLoader:b,useMutation:m,usePaginationFragment:y,usePreloadedQuery:_,useRefetchableFragment:g,useRelayEnvironment:R,useSubscribeToInvalidationState:C,useSubscription:P}},function(e,t,r){"use strict";var n=r(2),o=n(r(5)),a=n(r(15)),i=n(r(12)),s=n(r(13)),u=n(r(9)),c=r(16),l=r(14).getContainerName,f=r(19).assertRelayContext,d=r(10),p=r(0),h=r(1),v=h.createFragmentSpecResolver,m=h.getDataIDsFromObject,y=h.isScalarAndEqual;function _(e,t){var r,n,c=l(e);return n=r=function(r){function n(e){var n,o;o=r.call(this,e)||this,(0,u.default)((0,i.default)(o),"_handleFragmentDataUpdate",(function(){var e=o.state.resolver;o.setState((function(t){return e===t.resolver?{data:t.resolver.resolve(),relayProp:b(t.relayProp.environment)}:null}))}));var a=f(e.__relayContext),s=null!==(n=e.__rootIsQueryRenderer)&&void 0!==n&&n,l=v(a,c,t,e,s);return o.state={data:l.resolve(),prevProps:e,prevPropsContext:a,relayProp:b(a.environment),resolver:l},o}(0,s.default)(n,r),n.getDerivedStateFromProps=function(e,r){var n,o=r.prevProps,a=f(e.__relayContext),i=null!==(n=e.__rootIsQueryRenderer)&&void 0!==n&&n,s=m(t,o),u=m(t,e),l=r.resolver;if(r.prevPropsContext.environment!==a.environment||!d(s,u))return{data:(l=v(a,c,t,e,i)).resolve(),prevPropsContext:a,prevProps:e,relayProp:b(a.environment),resolver:l};l.setProps(e);var p=l.resolve();return p!==r.data?{data:p,prevProps:e,prevPropsContext:a,relayProp:b(a.environment)}:null};var l=n.prototype;return l.componentDidMount=function(){this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},l.componentDidUpdate=function(e,t){this.state.resolver!==t.resolver?(t.resolver.dispose(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},l.componentWillUnmount=function(){this.state.resolver.dispose()},l.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(r.prevPropsContext.environment!==this.state.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!y(e[a],this.props[a]))return!0}return!1},l._rerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver.resolve();t!==r&&this.setState({data:r})},l._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver,n=r.resolve();r.setCallback(this.props,this._handleFragmentDataUpdate),t!==n&&this.setState({data:n})},l.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,["componentRef","__relayContext","__rootIsQueryRenderer"]));return p.createElement(e,(0,o.default)((0,o.default)((0,o.default)({},n),this.state.data),{},{ref:r,relay:this.state.relayProp}))},n}(p.Component),(0,u.default)(r,"displayName",c),n}function b(e){return{environment:e}}e.exports={createContainer:function(e,t){return c(e,t,_)}}},function(e,t,r){"use strict";var n=r(3);e.exports=function(e,t){for(var r in t&&"object"==typeof t||n(!1),t)if(t.hasOwnProperty(r)){var o=t[r];(!o||"object"!=typeof o&&"function"!=typeof o)&&n(!1)}}},function(e,t,r){"use strict";var n=r(0).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,o=n.ReactCurrentDispatcher,a=n.ReactCurrentOwner;e.exports=function(e){return(null!=o?o.current:a.currentDispatcher).readContext(e)}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.check&&"function"==typeof e.lookup&&"function"==typeof e.retain&&"function"==typeof e.execute&&"function"==typeof e.subscribe}},function(e,t,r){"use strict";var n=r(8),o=r(18),a=r(10),i=r(0),s=r(1),u=s.createOperationDescriptor,c=(s.deepFreeze,s.getRequest),l=i.useLayoutEffect,f=i.useState,d=i.useRef,p=i.useMemo,h={rootIsQueryRenderer:!0};e.exports=function(e){var t,r,s=e.environment,v=e.query,m=e.variables,y=e.render,_=(t=m,r=i.useRef(t),a(r.current,t)||(r.current=t),r.current),b=p((function(){var e=c(v);return u(e,_)}),[v,_]),g=p((function(){return{environment:s}}),[s]),R=d(null),C=f(null)[1],P=d(null),S=p((function(){s.check(b);var e=s.lookup(b.fragment);R.current=e.data;var t=s.retain(b),r=s.subscribe(e,(function(e){R.current=e.data,C(R.current)})),n=!1;return P.current&&P.current(),P.current=function(){n||(n=!0,P.current=null,t.dispose(),r.dispose())},e}),[s,b]);return l((function(){var e=P.current;return function(){e&&e()}}),[S]),i.createElement(n.Provider,{value:g},i.createElement(o.Provider,{value:h},y({props:R.current})))}},function(e,t,r){"use strict";var n=r(2),o=n(r(17)),a=n(r(15)),i=n(r(12)),s=n(r(13)),u=n(r(9)),c=n(r(5)),l=r(16),f=r(24),d=r(14),p=d.getComponentName,h=d.getContainerName,v=r(8),m=r(20),y=r(19).assertRelayContext,_=r(10),b=r(3),g=r(0),R=r(1),C=R.ConnectionInterface,P=R.Observable,S=R.RelayFeatureFlags,E=R.createFragmentSpecResolver,x=R.createOperationDescriptor,F=R.getDataIDsFromObject,q=R.getRequest,D=R.getVariablesFromObject,I=R.isScalarAndEqual;r(6);function O(e){return"function"==typeof e?{error:e,complete:e,unsubscribe:function(t){"function"==typeof e&&e()}}:e||{}}function k(e,t,r){p(e);var n,l,d=h(e),R=function(e){var t=null,r=!1;for(var n in e){var o=e[n],a=o.metadata&&o.metadata.connection;void 0!==o.metadata&&(r=!0),a&&(1!==a.length&&b(!1),t&&b(!1),t=(0,c.default)((0,c.default)({},a[0]),{},{fragmentName:n}))}return r&&null===t&&b(!1),t||{}}(t),k=r.getConnectionFromProps||function(e){var t=e.path;return t||b(!1),function(r){for(var n=r[e.fragmentName],o=0;o<t.length;o++){if(!n||"object"!=typeof n)return null;n=n[t[o]]}return n}}(R),N=r.direction||R.direction;N||b(!1);var A=r.getFragmentVariables||function(e){var t=e.count;return t||b(!1),function(e,r){return(0,c.default)((0,c.default)({},e),{},(0,u.default)({},t,r))}}(R);return l=n=function(n){function l(e){var r,o;o=n.call(this,e)||this,(0,u.default)((0,i.default)(o),"_handleFragmentDataUpdate",(function(){o.setState({data:o._resolver.resolve()})})),(0,u.default)((0,i.default)(o),"_hasMore",(function(){var e=o._getConnectionData();return!!(e&&e.hasMore&&e.cursor)})),(0,u.default)((0,i.default)(o),"_isLoading",(function(){return!!o._refetchSubscription})),(0,u.default)((0,i.default)(o),"_refetchConnection",(function(e,t,r){if(!o._canFetchPage("refetchConnection"))return{dispose:function(){}};o._refetchVariables=r;var n={count:e,cursor:null,totalCount:e};return{dispose:o._fetchPage(n,O(t),{force:!0}).unsubscribe}})),(0,u.default)((0,i.default)(o),"_loadMore",(function(e,t,r){if(!o._canFetchPage("loadMore"))return{dispose:function(){}};var n=O(t),a=o._getConnectionData();if(!a)return P.create((function(e){return e.complete()})).subscribe(n),null;var i=a.edgeCount+e;if(r&&r.force)return o._refetchConnection(i,t);var s=C.get(),u=(s.END_CURSOR,s.START_CURSOR,{count:e,cursor:a.cursor,totalCount:i});return{dispose:o._fetchPage(u,n,r).unsubscribe}}));var a=y(e.__relayContext),s=null!==(r=e.__rootIsQueryRenderer)&&void 0!==r&&r;return o._isARequestInFlight=!1,o._refetchSubscription=null,o._refetchVariables=null,!0===S.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?o._resolver=E(a,d,t,e,s):o._resolver=E(a,d,t,e,s,o._handleFragmentDataUpdate),o.state={data:o._resolver.resolve(),prevContext:a,contextForChildren:a,relayProp:o._buildRelayProp(a),resolverGeneration:0},o._isUnmounted=!1,o._hasFetched=!1,o}(0,s.default)(l,n);var p=l.prototype;return p.componentDidMount=function(){this._isUnmounted=!1,!0===S.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},p.componentDidUpdate=function(e,t){!0===S.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&(t.resolverGeneration!==this.state.resolverGeneration?this._subscribeToNewResolverAndRerenderIfStoreHasChanged():this._rerenderIfStoreHasChanged())},p.UNSAFE_componentWillReceiveProps=function(e){var r,n=this,o=y(e.__relayContext),a=null!==(r=e.__rootIsQueryRenderer)&&void 0!==r&&r,i=F(t,this.props),s=F(t,e),u=f(t,this.props),c=f(t,e);o.environment===this.state.prevContext.environment&&_(u,c)&&_(i,s)?this._hasFetched||this._resolver.setProps(e):(this._cleanup(),!0===S.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?this._resolver=E(o,d,t,e,a):this._resolver=E(o,d,t,e,a,this._handleFragmentDataUpdate),this.setState((function(e){return{prevContext:o,contextForChildren:o,relayProp:n._buildRelayProp(o),resolverGeneration:e.resolverGeneration+1}})));var l=this._resolver.resolve();l!==this.state.data&&this.setState({data:l})},p.componentWillUnmount=function(){this._isUnmounted=!0,this._cleanup()},p.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data||r.relayProp!==this.state.relayProp||r.resolverGeneration!==this.state.resolverGeneration)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(r.prevContext.environment!==this.state.prevContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!I(e[a],this.props[a]))return!0}return!1},p._buildRelayProp=function(e){return{hasMore:this._hasMore,isLoading:this._isLoading,loadMore:this._loadMore,refetchConnection:this._refetchConnection,environment:e.environment}},p._rerenderIfStoreHasChanged=function(){var e=this.state.data,t=this._resolver.resolve();e!==t&&this.setState({data:t})},p._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state.data,t=this._resolver.resolve();this._resolver.setCallback(this.props,this._handleFragmentDataUpdate),e!==t&&this.setState({data:t})},p._getConnectionData=function(){var e=this.props,t=(e.componentRef,(0,a.default)(e,["componentRef"])),r=(0,c.default)((0,c.default)({},t),this.state.data),n=k(r);if(null==n)return null;var o=C.get(),i=o.EDGES,s=o.PAGE_INFO,u=o.HAS_NEXT_PAGE,l=o.HAS_PREV_PAGE,f=o.END_CURSOR,d=o.START_CURSOR;"object"!=typeof n&&b(!1);var p=n[i],h=n[s];if(null==p||null==h)return null;Array.isArray(p)||b(!1),"object"!=typeof h&&b(!1);var v="forward"===N?h[u]:h[l],m="forward"===N?h[f]:h[d];return"boolean"!=typeof v||0!==p.length&&void 0===m?null:{cursor:m,edgeCount:p.length,hasMore:v}},p._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new m),this._queryFetcher},p._canFetchPage=function(e){return!this._isUnmounted},p._fetchPage=function(e,n,o){var i,s=this,u=y(this.props.__relayContext).environment,l=this.props,d=(l.componentRef,l.__relayContext,l.__rootIsQueryRenderer,(0,a.default)(l,["componentRef","__relayContext","__rootIsQueryRenderer"])),p=(0,c.default)((0,c.default)({},d),this.state.data),h=f(t,d);i=D(t,d),i=(0,c.default)((0,c.default)((0,c.default)({},h),i),this._refetchVariables);var v=r.getVariables(p,{count:e.count,cursor:e.cursor},i);("object"!=typeof v||null===v)&&b(!1),v=(0,c.default)((0,c.default)({},v),this._refetchVariables),i=(0,c.default)((0,c.default)({},v),i);var m=o?{force:!!o.force}:void 0;null!=m&&null!=(null==o?void 0:o.metadata)&&(m.metadata=null==o?void 0:o.metadata);var g=q(r.query),R=x(g,v,m),C=null;this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._hasFetched=!0;var S=function(){s._refetchSubscription===C&&(s._refetchSubscription=null,s._isARequestInFlight=!1)};return this._isARequestInFlight=!0,C=this._getQueryFetcher().execute({environment:u,operation:R,preservePreviousReferences:!0}).mergeMap((function(t){return P.create((function(t){!function(t,r){var n=s._resolver.resolve();s._resolver.setVariables(A(i,e.totalCount),R.request.node);var o=s._resolver.resolve();_(n,o)?r():s.setState({data:o,contextForChildren:{environment:s.props.__relayContext.environment}},r)}(0,(function(){t.next(),t.complete()}))}))})).do({error:S,complete:S,unsubscribe:S}).subscribe(n||{}),this._refetchSubscription=this._isARequestInFlight?C:null,C},p._cleanup=function(){this._resolver.dispose(),this._refetchVariables=null,this._hasFetched=!1,this._refetchSubscription&&(this._refetchSubscription.unsubscribe(),this._refetchSubscription=null,this._isARequestInFlight=!1),this._queryFetcher&&this._queryFetcher.dispose()},p.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,["componentRef","__relayContext","__rootIsQueryRenderer"]));return g.createElement(v.Provider,{value:this.state.contextForChildren},g.createElement(e,(0,o.default)({},n,this.state.data,{ref:r,relay:this.state.relayProp})))},l}(g.Component),(0,u.default)(n,"displayName",d),l}e.exports={createContainer:function(e,t,r){return l(e,t,(function(e,t){return k(e,t,r)}))}}},function(e,t,r){"use strict";var n=r(2),o=n(r(5)),a=n(r(12)),i=n(r(13)),s=n(r(9)),u=r(8),c=r(20),l=r(18),f=r(10),d=r(0),p=r(1),h=p.RelayFeatureFlags,v=p.createOperationDescriptor,m=(p.deepFreeze,p.getRequest),y={},_={rootIsQueryRenderer:!0},b=function(e){function t(t){var r;r=e.call(this,t)||this,(0,s.default)((0,a.default)(r),"_handleDataChange",(function(e){var t=null==e.error?null:e.error,n=null==e.snapshot?null:e.snapshot;r.setState((function(e){var r=e.requestCacheKey;return r&&delete y[r],n===e.snapshot&&t===e.error?null:{renderProps:g(t,n,e.queryFetcher,e.retryCallbacks),snapshot:n,requestCacheKey:null}}))}));var n,i,u={handleDataChange:null,handleRetryAfterError:null};if(t.query){var l=t.query;i=R(m(l).params,t.variables),n=y[i]?y[i].queryFetcher:new c}else n=new c;return r._maybeHiddenOrFastRefresh=!1,r.state=(0,o.default)({prevPropsEnvironment:t.environment,prevPropsVariables:t.variables,prevQuery:t.query,queryFetcher:n,retryCallbacks:u},P(t,n,u,i)),r}(0,i.default)(t,e),t.getDerivedStateFromProps=function(e,t){return t.prevQuery===e.query&&t.prevPropsEnvironment===e.environment&&f(t.prevPropsVariables,e.variables)?null:C(e,t)};var r=t.prototype;return r.componentDidMount=function(){var e=this;if(!0===h.ENABLE_QUERY_RENDERER_OFFSCREEN_SUPPORT&&!0===this._maybeHiddenOrFastRefresh)return this._maybeHiddenOrFastRefresh=!1,void this.setState((function(t){return C(e.props,t)}));var t=this.state,r=t.retryCallbacks,n=t.queryFetcher,o=t.requestCacheKey;o&&delete y[o],r.handleDataChange=this._handleDataChange,r.handleRetryAfterError=function(t){return e.setState((function(e){var t=e.requestCacheKey;return t&&delete y[t],{renderProps:{error:null,props:null,retry:null},requestCacheKey:null}}))},this.props.query&&n.setOnDataChange(this._handleDataChange)},r.componentDidUpdate=function(e,t){var r=this.state,n=r.queryFetcher,o=r.requestCacheKey;o&&(delete y[o],delete this.state.requestCacheKey),this.props.query&&n!==t.queryFetcher&&n.setOnDataChange(this._handleDataChange)},r.componentWillUnmount=function(){this.state.queryFetcher.dispose(),this._maybeHiddenOrFastRefresh=!0},r.shouldComponentUpdate=function(e,t){return e.render!==this.props.render||t.renderProps!==this.state.renderProps},r.render=function(){var e=this.state,t=e.renderProps,r=e.relayContext;return d.createElement(u.Provider,{value:r},d.createElement(l.Provider,{value:_},this.props.render(t)))},t}(d.Component);function g(e,t,r,n){return{error:e||null,props:t?t.data:null,retry:function(t){var o=r.retry(t);o&&"function"==typeof n.handleDataChange?n.handleDataChange({snapshot:o}):e&&"function"==typeof n.handleRetryAfterError&&n.handleRetryAfterError(e)}}}function R(e,t){return JSON.stringify({id:e.cacheID?e.cacheID:e.id,variables:t})}function C(e,t){var r,n=e.query,a=t.queryFetcher.getSelectionReferences();if(t.queryFetcher.disposeRequest(),n){var i=R(m(n).params,e.variables);r=y[i]?y[i].queryFetcher:new c(a)}else r=new c(a);return(0,o.default)({prevQuery:e.query,prevPropsEnvironment:e.environment,prevPropsVariables:e.variables,queryFetcher:r},P(e,r,t.retryCallbacks))}function P(e,t,r,n){var o=e.environment,a=e.query,i=e.variables,s=e.cacheConfig,u=o;if(!a)return t.dispose(),{error:null,relayContext:{environment:u},renderProps:{error:null,props:{},retry:null},requestCacheKey:null};var c=m(a),l=v(c,i,s),f={environment:u};if("string"==typeof n&&y[n]){var d=y[n].snapshot;return d?{error:null,relayContext:f,renderProps:g(null,d,t,r),snapshot:d,requestCacheKey:n}:{error:null,relayContext:f,renderProps:{error:null,props:null,retry:null},snapshot:null,requestCacheKey:n}}try{var p=t.lookupInStore(u,l,e.fetchPolicy),h=t.fetch({environment:u,onDataChange:null,operation:l})||p;return n=n||R(c.params,e.variables),y[n]={queryFetcher:t,snapshot:h},h?{error:null,relayContext:f,renderProps:g(null,h,t,r),snapshot:h,requestCacheKey:n}:{error:null,relayContext:f,renderProps:{error:null,props:null,retry:null},snapshot:null,requestCacheKey:n}}catch(e){return{error:e,relayContext:f,renderProps:g(e,null,t,r),snapshot:null,requestCacheKey:n}}}e.exports=b},function(e,t,r){"use strict";var n=r(2),o=n(r(17)),a=n(r(15)),i=n(r(5)),s=n(r(12)),u=n(r(13)),c=n(r(9)),l=r(16),f=r(24),d=r(14).getContainerName,p=r(8),h=r(20),v=r(19).assertRelayContext,m=r(10),y=r(0),_=r(1),b=_.Observable,g=_.createFragmentSpecResolver,R=_.createOperationDescriptor,C=_.getDataIDsFromObject,P=_.getRequest,S=_.getVariablesFromObject,E=_.isScalarAndEqual;r(6);function x(e,t){return{environment:e,refetch:t}}e.exports={createContainer:function(e,t,r){return l(e,t,(function(e,t){return function(e,t,r){var n,l,_=d(e);return l=n=function(n){function l(e){var o,a;a=n.call(this,e)||this,(0,c.default)((0,s.default)(a),"_handleFragmentDataUpdate",(function(){var e=a.state.resolver;a.setState((function(t){return e===t.resolver?{data:t.resolver.resolve()}:null}))})),(0,c.default)((0,s.default)(a),"_refetch",(function(e,n,o,s){if(a._isUnmounted)return{dispose:function(){}};var u=v(a.props.__relayContext).environment,c=f(t,a.props),l="function"==typeof e?e(a._getFragmentVariables()):e;l=(0,i.default)((0,i.default)({},c),l);var d=n?(0,i.default)((0,i.default)({},l),n):l,p=s?{force:!!s.force}:void 0;null!=p&&null!=(null==s?void 0:s.metadata)&&(p.metadata=null==s?void 0:s.metadata);var h,m="function"==typeof o?{next:o,error:o}:o||{},y=P(r),_=R(y,l,p);return a.state.localVariables=l,a._refetchSubscription&&a._refetchSubscription.unsubscribe(),null!=a._getQueryFetcher().lookupInStore(u,_,null==s?void 0:s.fetchPolicy)?(a.state.resolver.setVariables(d,_.request.node),a.setState((function(e){return{data:e.resolver.resolve(),contextForChildren:{environment:a.props.__relayContext.environment}}}),(function(){m.next&&m.next(),m.complete&&m.complete()})),{dispose:function(){}}):(a._getQueryFetcher().execute({environment:u,operation:_,preservePreviousReferences:!0}).mergeMap((function(e){return a.state.resolver.setVariables(d,_.request.node),b.create((function(e){return a.setState((function(e){return{data:e.resolver.resolve(),contextForChildren:{environment:a.props.__relayContext.environment}}}),(function(){e.next(),e.complete()}))}))})).finally((function(){a._refetchSubscription===h&&(a._refetchSubscription=null)})).subscribe((0,i.default)((0,i.default)({},m),{},{start:function(e){a._refetchSubscription=h=e,m.start&&m.start(e)}})),{dispose:function(){h&&h.unsubscribe()}})}));var u=v(e.__relayContext),l=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o;a._refetchSubscription=null;var d=g(u,_,t,e,l);return a.state={data:d.resolve(),localVariables:null,prevProps:e,prevPropsContext:u,contextForChildren:u,relayProp:x(u.environment,a._refetch),resolver:d},a._isUnmounted=!1,a}(0,u.default)(l,n);var d=l.prototype;return d.componentDidMount=function(){this._isUnmounted=!1,this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},d.componentDidUpdate=function(e,t){this.state.resolver!==t.resolver?(t.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},l.getDerivedStateFromProps=function(e,r){var n,o=r.prevProps,a=v(e.__relayContext),i=null!==(n=e.__rootIsQueryRenderer)&&void 0!==n&&n,s=C(t,o),u=C(t,e),c=f(t,o),l=f(t,e),d=r.resolver;if(r.prevPropsContext.environment!==a.environment||!m(c,l)||!m(s,u))return{data:(d=g(a,_,t,e,i)).resolve(),localVariables:null,prevProps:e,prevPropsContext:a,contextForChildren:a,relayProp:x(a.environment,r.relayProp.refetch),resolver:d};r.localVariables||d.setProps(e);var p=d.resolve();return p!==r.data?{data:p,prevProps:e}:null},d.componentWillUnmount=function(){this._isUnmounted=!0,this.state.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe()},d.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data||r.relayProp!==this.state.relayProp)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(this.state.prevPropsContext.environment!==r.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!E(e[a],this.props[a]))return!0}return!1},d._rerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver.resolve();t!==r&&this.setState({data:r})},d._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver,n=r.resolve();r.setCallback(this.props,this._handleFragmentDataUpdate),t!==n&&this.setState({data:n})},d._getFragmentVariables=function(){return S(t,this.props)},d._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new h),this._queryFetcher},d.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,["componentRef","__relayContext","__rootIsQueryRenderer"])),i=this.state,s=i.relayProp,u=i.contextForChildren;return y.createElement(p.Provider,{value:u},y.createElement(e,(0,o.default)({},n,this.state.data,{ref:r,relay:s})))},l}(y.Component),(0,c.default)(n,"displayName",_),l}(e,t,r)}))}}},function(e,t,r){"use strict";var n=r(21),o=r(4),a=r(0),i=r(0),s=i.useContext,u=i.useEffect;r(6);e.exports=function(e){var t=e.entryPointReference,r=e.props,i=t.getComponent,c=t.queries,l=t.entryPoints,f=t.extraProps,d=t.rootModuleID,p=i(),h=s(n),v=o();return u((function(){v.__log({name:"entrypoint.root.consume",profilerContext:h,rootModuleID:d})}),[v,h,d]),a.createElement(p,{entryPoints:l,extraProps:f,props:r,queries:c})}},function(e,t,r){"use strict";var n=r(0),o=r(25),a=n.useMemo;e.exports=function(e){var t=e.children,r=e.environment,i=e.getEnvironmentForActor,s=a((function(){return{environment:r,getEnvironmentForActor:i}}),[r,i]);return n.createElement(o.Provider,{value:s},t)}},function(e,t,r){"use strict";var n=r(2)(r(27)),o=r(26),a=r(7).useTrackLoadQueryInRender,i=r(11),s=r(0),u=s.useCallback,c=s.useEffect,l=s.useRef,f=s.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,t,r){var s,p,h,v;a();var m=null!==(s=null==r||null===(p=r.TEST_ONLY__initialEntryPointData)||void 0===p?void 0:p.entryPointReference)&&void 0!==s?s:d,y=null!==(h=null==r||null===(v=r.TEST_ONLY__initialEntryPointData)||void 0===v?void 0:v.entryPointParams)&&void 0!==h?h:null,_=i(),b=l(new Set([m])),g=f(m),R=g[0],C=g[1],P=f(y),S=P[0],E=P[1],x=u((function(){if(_.current){var e={kind:"NullEntryPointReference"};b.current.add(e),C(e)}}),[C,_]),F=u((function(r){if(_.current){var n=o(e,t,r);b.current.add(n),C(n),E(r)}}),[e,t,C,_]),q=l(!1);return c((function(){return function(){q.current=!0}}),[]),c((function(){if(!0===q.current)return q.current=!1,void("NullEntryPointReference"!==R.kind&&null!=S&&F(S));var e=b.current;if(_.current){var t,r=(0,n.default)(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o===R)break;e.delete(o),"NullEntryPointReference"!==o.kind&&o.dispose()}}catch(e){r.e(e)}finally{r.f()}}}),[R,S,F,_]),c((function(){return function(){var e,t=(0,n.default)(b.current);try{for(t.s();!(e=t.n()).done;){var r=e.value;"NullEntryPointReference"!==r.kind&&r.dispose()}}catch(e){t.e(e)}finally{t.f()}}}),[]),["NullEntryPointReference"===R.kind?null:R,F,x]}},function(e,t,r){"use strict";var n=r(7).useTrackLoadQueryInRender,o=r(22),a=r(23),i=(r(0).useDebugValue,r(1).getFragment);e.exports=function(e,t){n();var r=i(e);return a(r,"first argument of useFragment()"),o(r,t,"useFragment()").data}},function(e,t){e.exports=h},function(e,t,r){"use strict";var n=r(7).useTrackLoadQueryInRender,o=r(30),a=r(33),i=r(4),s=r(1).__internal.fetchQuery;e.exports=function(e,t,r){n();var u=i(),c=a(e,t,r&&r.networkCacheConfig?r.networkCacheConfig:{force:!0});return o({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==r?void 0:r.fetchKey,fetchObservable:s(u,c),fetchPolicy:null==r?void 0:r.fetchPolicy,query:c,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy})}},function(e,t,r){"use strict";var n=r(10),o=r(0),a=o.useMemo,i=o.useRef,s=o.useState;e.exports=function(e){var t,r,o=i(0),u=s(e),c=u[0],l=u[1];return n(e,c)||(o.current=(null!==(r=o.current)&&void 0!==r?r:0)+1,l(e)),[a((function(){return e}),[o.current]),null!==(t=o.current)&&void 0!==t?t:0]}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(11),a=r(4),i=r(0),s=r(1).commitMutation,u=i.useState,c=i.useEffect,l=i.useRef,f=i.useCallback;e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=a(),i=o(),d=l(r),p=l(e),h=l(new Set),v=u(!1),m=v[0],y=v[1],_=f((function(t){d.current===r&&p.current===e&&(h.current.delete(t),i.current&&y(h.current.size>0))}),[r,i,e]);c((function(){d.current===r&&p.current===e||(h.current=new Set,i.current&&y(!1),d.current=r,p.current=e)}),[r,i,e]);var b=f((function(o){var a=t(r,(0,n.default)((0,n.default)({},o),{},{mutation:e,onCompleted:function(e,t){_(a),o.onCompleted&&o.onCompleted(e,t)},onError:function(e){_(a),o.onError&&o.onError(e)},onUnsubscribe:function(){_(a),o.onUnsubscribe&&o.onUnsubscribe()}}));return h.current.add(a),i.current&&y(!0),a}),[_,t,r,i,e]);return[b,m]}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(54),a=r(34),i=r(23),s=r(0),u=s.useCallback,c=(s.useDebugValue,s.useState),l=r(1),f=l.getFragment,d=l.getFragmentIdentifier,p=l.getPaginationMetadata;function h(e){var t=c(!1),r=t[0],a=t[1],i={start:function(){return a(!0)},complete:function(){return a(!1)},error:function(){return a(!1)}},s=o((0,n.default)((0,n.default)({},e),{},{observer:i,onReset:function(){return a(!1)}}));return[s[0],s[1],r,s[2]]}e.exports=function(e,t){var r=f(e);i(r,"first argument of usePaginationFragment()");var o=p(r,"usePaginationFragment()"),s=o.connectionPathInFragmentData,c=o.paginationRequest,l=o.paginationMetadata,v=o.identifierField,m=a(r,t,"usePaginationFragment()"),y=m.fragmentData,_=m.fragmentRef,b=m.refetch,g=d(r,_),R=h({componentDisplayName:"usePaginationFragment()",connectionPathInFragmentData:s,direction:"backward",fragmentData:y,fragmentIdentifier:g,fragmentNode:r,fragmentRef:_,identifierField:v,paginationMetadata:l,paginationRequest:c}),C=R[0],P=R[1],S=R[2],E=R[3],x=h({componentDisplayName:"usePaginationFragment()",connectionPathInFragmentData:s,direction:"forward",fragmentData:y,fragmentIdentifier:g,fragmentNode:r,fragmentRef:_,identifierField:v,paginationMetadata:l,paginationRequest:c}),F=x[0],q=x[1],D=x[2],I=x[3];return{data:y,loadNext:F,loadPrevious:C,hasNext:q,hasPrevious:P,isLoadingNext:D,isLoadingPrevious:S,refetch:u((function(e,t){return I(),E(),b(e,(0,n.default)((0,n.default)({},t),{},{__environment:void 0}))}),[I,E,b])}}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(32),a=r(11),i=r(55),s=r(4),u=r(3),c=r(0),l=c.useCallback,f=c.useEffect,d=c.useState,p=r(1),h=p.ConnectionInterface,v=p.__internal.fetchQuery,m=p.createOperationDescriptor,y=p.getPaginationVariables,_=p.getSelector,b=p.getValueAtPath;r(6);e.exports=function(e){var t=e.direction,r=e.fragmentNode,c=e.fragmentRef,p=e.fragmentIdentifier,g=e.fragmentData,R=e.connectionPathInFragmentData,C=e.paginationRequest,P=e.paginationMetadata,S=e.componentDisplayName,E=e.observer,x=e.onReset,F=e.identifierField,q=s(),D=o(),I=D.isFetchingRef,O=D.startFetch,k=D.disposeFetch,N=D.completeFetch,A=null!=F&&null!=g&&"object"==typeof g?g[F]:null,w=a(),Q=d(q),M=Q[0],U=Q[1],T=d(p),L=T[0],j=T[1],V=i(r,c);(q!==M||p!==L)&&(k(),x(),U(q),j(p));var W=function(e,t,r,n){var o,a,i=h.get(),s=i.EDGES,c=i.PAGE_INFO,l=i.HAS_NEXT_PAGE,f=i.HAS_PREV_PAGE,d=i.END_CURSOR,p=i.START_CURSOR,v=b(r,n);if(null==v)return{cursor:null,hasMore:!1};"object"!=typeof v&&u(!1);var m=v[s],y=v[c];if(null==m||null==y)return{cursor:null,hasMore:!1};Array.isArray(m)||u(!1),"object"!=typeof y&&u(!1);var _,g="forward"===e?null!==(o=y[d])&&void 0!==o?o:null:null!==(a=y[p])&&void 0!==a?a:null;null!==g&&"string"!=typeof g&&u(!1),_="forward"===e?null!=g&&!0===y[l]:null!=g&&!0===y[f];return{cursor:g,hasMore:_}}(t,0,g,R),H=W.cursor,K=W.hasMore;return f((function(){return function(){k()}}),[k]),[l((function(e,o){var a=null==o?void 0:o.onComplete;if(!0!==w.current)return{dispose:function(){}};var i=_(r,c);if(!0===I.current||null==g||V)return a&&a(null),{dispose:function(){}};(null==i||"PluralReaderSelector"===i.kind)&&u(!1);var s=i.owner.variables,l=i.variables,f=null==o?void 0:o.UNSTABLE_extraVariables,d=(0,n.default)((0,n.default)({},s),l),p=y(t,e,H,d,(0,n.default)({},f),P);null!=F&&(p.id=A);var h=m(C,p,{force:!0});return v(q,h).subscribe((0,n.default)((0,n.default)({},E),{},{start:function(e){O(e),E.start&&E.start(e)},complete:function(){N(),E.complete&&E.complete(),a&&a(null)},error:function(e){N(),E.error&&E.error(e),a&&a(e)}})),{dispose:k}}),[q,A,t,H,O,k,N,I,V,g,r.name,c,S]),K,k]}},function(e,t,r){"use strict";var n=r(4),o=r(3),a=r(0),i=r(1),s=i.__internal.getObservableForActiveRequest,u=i.getSelector,c=a.useEffect,l=a.useState,f=a.useMemo;e.exports=function(e,t){var r=n(),a=f((function(){var n=u(e,t);return null==n?null:("SingularReaderSelector"!==n.kind&&o(!1),s(r,n.owner))}),[r,e,t]),i=l(null!=a),d=i[0],p=i[1];return c((function(){var e;if(p(null!=a),null!=a){var t=function(){p(!1)};e=a.subscribe({complete:t,error:t})}return function(){e&&e.unsubscribe()}}),[a]),d}},function(e,t,r){"use strict";var n=r(7).useTrackLoadQueryInRender,o=r(30),a=r(33),i=r(4),s=r(3),u=(r(0).useDebugValue,r(1).__internal),c=u.fetchQueryDeduped,l=u.fetchQuery;r(6);e.exports=function(e,t,r){n();var u,f=i(),d=t.fetchKey,p=t.fetchPolicy,h=t.source,v=t.variables,m=t.networkCacheConfig,y=a(e,v,m);if("PreloadedQuery_DEPRECATED"===t.kind)y.request.node.params.name!==t.name&&s(!1),u={componentDisplayName:"usePreloadedQuery()",fetchKey:d,fetchObservable:c(f,y.request.identifier,(function(){return f===t.environment&&null!=h?f.executeWithSource({operation:y,source:h}):f.execute({operation:y})})),fetchPolicy:p,query:y,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy};else{var _=l(f,y);u={componentDisplayName:"usePreloadedQuery()",fetchObservable:null!=h&&f===t.environment?h.ifEmpty(_):(t.environment,_),fetchKey:d,fetchPolicy:p,query:y,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy}}return o(u)}},function(e,t,r){"use strict";var n=r(34),o=r(23),a=(r(0).useDebugValue,r(1).getFragment);e.exports=function(e,t){var r=a(e);o(r,"first argument of useRefetchableFragment()");var i=n(r,t,"useRefetchableFragment()");return[i.fragmentData,i.refetch]}},function(e,t,r){"use strict";var n=r(4),o=r(0),a=o.useEffect,i=o.useRef;e.exports=function(e,t){var r=n(),o=i(null),s=Array.from(e).sort().join("");return a((function(){var n=r.getStore(),a=n.lookupInvalidationState(e),i=n.subscribeToInvalidationState(a,t);return o.current=i,function(){return i.dispose()}}),[s,t,r]),{dispose:function(){null!=o.current&&o.current.dispose()}}}},function(e,t,r){"use strict";var n=r(4),o=r(0).useEffect,a=r(1).requestSubscription;e.exports=function(e,t){var r=null!=t?t:a,i=n();o((function(){return r(i,e).dispose}),[i,e,r])}}])}));
9
+ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("react"),require("relay-runtime"),require("@babel/runtime/helpers/interopRequireDefault"),require("invariant"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/extends"),require("react-relay/ReactRelayContext"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["react","relay-runtime","@babel/runtime/helpers/interopRequireDefault","invariant","@babel/runtime/helpers/objectSpread2","fbjs/lib/warning","@babel/runtime/helpers/defineProperty","fbjs/lib/areEqual","@babel/runtime/helpers/assertThisInitialized","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/objectWithoutPropertiesLoose","@babel/runtime/helpers/extends","react-relay/ReactRelayContext","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/toConsumableArray"],t):"object"==typeof exports?exports.ReactRelay=t(require("react"),require("relay-runtime"),require("@babel/runtime/helpers/interopRequireDefault"),require("invariant"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/assertThisInitialized"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/extends"),require("react-relay/ReactRelayContext"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/toConsumableArray")):e.ReactRelay=t(e.react,e["relay-runtime"],e["@babel/runtime/helpers/interopRequireDefault"],e.invariant,e["@babel/runtime/helpers/objectSpread2"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/defineProperty"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/assertThisInitialized"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@babel/runtime/helpers/extends"],e["react-relay/ReactRelayContext"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,n,o,a,i,s,u,c,l,f,d,p,h){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var o=t[n]={i:n,l:!1,exports:{}};return e[n].call(o.exports,o,o.exports,r),o.l=!0,o.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)r.d(n,o,function(t){return e[t]}.bind(null,o));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=36)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";var n=r(3),o=r(0).useContext,a=r(25);e.exports=function(){var e=o(a);return null==e&&n(!1),e.environment}},function(e,t){e.exports=o},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(3),a=r(0),i=r(1),s=i.Observable,u=i.PreloadableQueryRegistry,c=i.RelayFeatureFlags,l=i.ReplaySubject,f=i.__internal.fetchQueryDeduped,d=i.createOperationDescriptor,p=i.getRequest,h=i.getRequestIdentifier,v=(r(6),null),m=100001;e.exports={loadQuery:function(e,t,r,i,v){var y,_,b;null===(y=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===y||null===(_=y.ReactCurrentDispatcher)||void 0===_||_.current,m++;var g,R,C,P,S,E,x=null!==(b=null==i?void 0:i.fetchPolicy)&&void 0!==b?b:"store-or-network",F=(0,n.default)((0,n.default)({},null==i?void 0:i.networkCacheConfig),{},{force:!0}),q=!1,D=function(t,r){return q=!0,e.executeWithSource({operation:t,source:r})},I=new l,O=s.create((function(e){return I.subscribe(e)})),k=null,N=!1,A=function(t){var n;N=!0;var o=new l;if(!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING){var a="raw-network-request-"+h(t,r);n=f(e,a,(function(){return e.getNetwork().execute(t,r,F)}))}else{n=e.getNetwork().execute(t,r,F)}var i=n.subscribe({error:function(e){k=e,o.error(e)},next:function(e){o.next(e)},complete:function(){o.complete()}}).unsubscribe;return R=i,s.create((function(e){var t=o.subscribe(e);return function(){t.unsubscribe(),R()}}))},w=function(t,r){!0===c.ENABLE_LOAD_QUERY_REQUEST_DEDUPING&&(N=!0);var n=f(e,t.request.identifier,r).subscribe({error:function(e){I.error(e)},next:function(e){I.next(e)},complete:function(){I.complete()}});C=n.unsubscribe},Q=function(t){var n=d(t,r,F);(g=e.retain(n),"store-only"!==x)&&(("store-or-network"!==x||"available"!==e.check(n).status)&&w(n,(function(){var e=A(t.params);return D(n,e)})))};if("PreloadableConcreteRequest"===t.kind){null===(E=(P=t.params).id)&&o(!1);var M=u.get(E);if(null!=M)Q(M);else{var U="store-only"===x?null:A(P),T=u.onLoad(E,(function(t){S();var n=d(t,r,F);g=e.retain(n),null!=U&&w(n,(function(){return D(n,U)}))}));S=T.dispose}}else{var L=p(t);E=null!=(P=L.params).cacheID?P.cacheID:P.id,Q(L)}var j=!1,V=!1,W=!1,H=function(){V||(g&&g.dispose(),V=!0)},K=function(){W||(q?C&&C():R&&R(),S&&S(),W=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:v,dispose:function(){j||(H(),K(),j=!0)},releaseQuery:H,cancelNetworkRequest:K,fetchKey:m,id:E,get isDisposed(){return j||V},get networkError(){return k},name:P.name,networkCacheConfig:F,fetchPolicy:x,source:N?O:void 0,variables:r}},useTrackLoadQueryInRender:function(){var e,t;null===v&&(v=null===(e=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)||void 0===e||null===(t=e.ReactCurrentDispatcher)||void 0===t?void 0:t.current)}}},function(e,t,r){"use strict";var n=r(0),o=r(1).__internal.createRelayContext;e.exports=o(n)},function(e,t){e.exports=i},function(e,t){e.exports=s},function(e,t,r){"use strict";var n=r(0),o=n.useEffect,a=n.useRef;e.exports=function(){var e=a(!0);return o((function(){return e.current=!0,function(){e.current=!1}}),[]),e}},function(e,t){e.exports=u},function(e,t){e.exports=c},function(e,t,r){"use strict";function n(e){return e.displayName||e.name||"Component"}e.exports={getComponentName:n,getContainerName:function(e){return"Relay("+n(e)+")"}}},function(e,t){e.exports=l},function(e,t,r){"use strict";var n=r(2)(r(17)),o=r(38),a=r(14),i=a.getComponentName,s=a.getContainerName,u=r(8),c=r(18),l=r(39),f=r(3),d=r(0),p=r(1).getFragment;e.exports=function(e,t,r){var a=s(e);o(i(e),t);var h={};for(var v in t)h[v]=p(t[v]);var m=r(e,h);function y(e,t){var r,o=l(u);null==o&&f(!1);var a=l(c);return d.createElement(m,(0,n.default)({},e,{__relayContext:o,__rootIsQueryRenderer:null!==(r=null==a?void 0:a.rootIsQueryRenderer)&&void 0!==r&&r,componentRef:e.componentRef||t}))}return m.displayName=a,y.displayName=a,d.forwardRef(y)}},function(e,t){e.exports=f},function(e,t,r){"use strict";var n=r(0);e.exports=n.createContext({rootIsQueryRenderer:!1})},function(e,t,r){"use strict";var n=r(40),o=r(3);function a(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&n(e.environment)}e.exports={assertRelayContext:function(e){return a(e)||o(!1),e},isRelayContext:a}},function(e,t,r){"use strict";var n=r(2)(r(9)),o=r(3),a=r(1),i=a.__internal.fetchQuery,s=a.createOperationDescriptor,u=a.isRelayModernEnvironment,c=function(){function e(e){(0,n.default)(this,"_selectionReferences",[]),(0,n.default)(this,"_callOnDataChangeWhenSet",!1),null!=e&&(this._cacheSelectionReference=e.cacheSelectionReference,this._selectionReferences=e.selectionReferences)}var t=e.prototype;return t.getSelectionReferences=function(){return{cacheSelectionReference:this._cacheSelectionReference,selectionReferences:this._selectionReferences}},t.lookupInStore=function(e,t,r){return"store-and-network"!==r&&"store-or-network"!==r||"available"!==e.check(t).status?null:(this._retainCachedOperation(e,t),e.lookup(t.fragment))},t.execute=function(e){var t=this,r=e.environment,n=e.operation,o=e.preservePreviousReferences,a=void 0!==o&&o,s=r.retain(n),c=function(){t._selectionReferences=t._selectionReferences.concat(s)},l=function(){a||t.disposeSelectionReferences(),t._selectionReferences=t._selectionReferences.concat(s)},f=function(){t._selectionReferences=t._selectionReferences.concat(s)};return u(r)?i(r,n).do({error:c,complete:l,unsubscribe:f}):r.execute({operation:n}).do({error:c,complete:l,unsubscribe:f})},t.setOnDataChange=function(e){this._fetchOptions||o(!1),"function"==typeof e&&(this._fetchOptions.onDataChangeCallbacks=this._fetchOptions.onDataChangeCallbacks||[],this._fetchOptions.onDataChangeCallbacks.push(e),this._callOnDataChangeWhenSet&&(null!=this._error?e({error:this._error}):null!=this._snapshot&&e({snapshot:this._snapshot})))},t.fetch=function(e,t){var r,n=this,o=e.environment,a=e.operation,i=e.onDataChange,u=!1;this.disposeRequest();var c=this._fetchOptions&&this._fetchOptions.onDataChangeCallbacks;this._fetchOptions={environment:o,onDataChangeCallbacks:c||[],operation:a},i&&-1===this._fetchOptions.onDataChangeCallbacks.indexOf(i)&&this._fetchOptions.onDataChangeCallbacks.push(i);var l=t?s(a.request.node,a.request.variables,t):a,f=this.execute({environment:o,operation:l}).finally((function(){n._pendingRequest=null})).subscribe({next:function(){n._callOnDataChangeWhenSet=!0,n._error=null,n._onQueryDataAvailable({notifyFirstResult:u})},error:function(e){n._callOnDataChangeWhenSet=!0,n._error=e,n._snapshot=null;var t=n._fetchOptions&&n._fetchOptions.onDataChangeCallbacks;u?t&&t.forEach((function(t){t({error:e})})):r=e}});if(this._pendingRequest={dispose:function(){f.unsubscribe()}},u=!0,r)throw r;return this._snapshot},t.retry=function(e){return this._fetchOptions||o(!1),this.fetch({environment:this._fetchOptions.environment,operation:this._fetchOptions.operation,onDataChange:null},e)},t.dispose=function(){this.disposeRequest(),this.disposeSelectionReferences()},t.disposeRequest=function(){this._error=null,this._snapshot=null,this._pendingRequest&&this._pendingRequest.dispose(),this._rootSubscription&&(this._rootSubscription.dispose(),this._rootSubscription=null)},t._retainCachedOperation=function(e,t){this._disposeCacheSelectionReference(),this._cacheSelectionReference=e.retain(t)},t._disposeCacheSelectionReference=function(){this._cacheSelectionReference&&this._cacheSelectionReference.dispose(),this._cacheSelectionReference=null},t.disposeSelectionReferences=function(){this._disposeCacheSelectionReference(),this._selectionReferences.forEach((function(e){return e.dispose()})),this._selectionReferences=[]},t._onQueryDataAvailable=function(e){var t=this,r=e.notifyFirstResult;this._fetchOptions||o(!1);var n=this._fetchOptions,a=n.environment,i=n.onDataChangeCallbacks,s=n.operation;if(!this._snapshot&&(this._snapshot=a.lookup(s.fragment),this._rootSubscription=a.subscribe(this._snapshot,(function(e){if(null!=t._fetchOptions){var r=t._fetchOptions.onDataChangeCallbacks;Array.isArray(r)&&r.forEach((function(t){return t({snapshot:e})}))}})),this._snapshot&&r&&Array.isArray(i))){var u=this._snapshot;i.forEach((function(e){return e({snapshot:u})}))}},e}();e.exports=c},function(e,t,r){"use strict";var n=r(0).createContext({wrapPrepareQueryResource:function(e){return e()}});e.exports=n},function(e,t,r){"use strict";var n=r(28).getFragmentResourceForEnvironment,o=r(4),a=r(0),i=a.useEffect,s=a.useRef,u=a.useState,c=r(1).getFragmentIdentifier;r(6);e.exports=function(e,t,r){var a=o(),l=n(a),f=s(!1),d=u(0)[1],p=c(e,t),h=l.readWithIdentifier(e,t,p,r),v=s(!0);function m(){!1!==f.current&&!1!==v.current&&d((function(e){return e+1}))}return i((function(){f.current=!0;var e=l.subscribe(h,m);return function(){f.current=!1,e.dispose()}}),[a,p]),{data:h.data,disableStoreUpdates:function(){v.current=!1},enableStoreUpdates:function(){v.current=!0,l.checkMissedUpdates(h)[0]&&m()}}}},function(e,t,r){"use strict";r(0).useRef,r(6);e.exports=function(e,t){}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(1).getSelector;e.exports=function(e,t){var r={};return Object.keys(e).forEach((function(a){var i,s,u,c=e[a],l=t[a],f=o(c,l),d=null!=f&&"PluralReaderSelector"===f.kind?null!==(i=null===(s=f.selectors[0])||void 0===s?void 0:s.owner.variables)&&void 0!==i?i:{}:null!==(u=null==f?void 0:f.owner.variables)&&void 0!==u?u:{};r=(0,n.default)((0,n.default)({},r),d)})),r}},function(e,t){e.exports=d},function(e,t,r){"use strict";var n=r(7).loadQuery;e.exports=function e(t,r,o){var a=null;null==r.root.getModuleIfRequired()&&(a=r.root.load());var i=r.getPreloadProps(o),s=i.queries,u=i.entryPoints,c=i.extraProps,l={},f={};null!=s&&Object.keys(s).forEach((function(e){var r=s[e],o=r.environmentProviderOptions,a=r.options,i=r.parameters,u=r.variables,c=t.getEnvironment(o);l[e]=n(c,i,u,{fetchPolicy:null==a?void 0:a.fetchPolicy,networkCacheConfig:null==a?void 0:a.networkCacheConfig,__nameForWarning:"loadEntryPoint"},o)})),null!=u&&Object.keys(u).forEach((function(r){var n=u[r];if(null!=n){var o=n.entryPoint,a=n.entryPointParams;f[r]=e(t,o,a)}}));var d=!1;return{dispose:function(){d||(null!=l&&Object.values(l).forEach((function(e){(0,e.dispose)()})),null!=f&&Object.values(f).forEach((function(e){(0,e.dispose)()})),d=!0)},entryPoints:f,extraProps:null!=c?c:null,getComponent:function(){var e,t=r.root.getModuleIfRequired();if(null==t)throw a=null!==(e=a)&&void 0!==e?e:r.root.load();return t},get isDisposed(){return d},queries:l,rootModuleID:r.root.getModuleId()}}},function(e,t){e.exports=p},function(e,t,r){"use strict";var n=r(2),o=n(r(5)),a=n(r(49)),i=r(29),s=r(3),u=r(1),c=u.getFragmentIdentifier,l=u.getPendingOperationsForFragment,f=u.getSelector,d=u.isPromise,p=u.recycleNodesInto,h=u.reportMissingRequiredFields,v="function"==typeof WeakMap,m=Object.freeze([]);function y(e){return Array.isArray(e)?e.some((function(e){return e.isMissingData})):e.isMissingData}function _(e,t,r){return Array.isArray(t)?{cacheKey:e,snapshot:t,data:t.map((function(e){return e.data})),isMissingData:y(t),storeEpoch:r}:{cacheKey:e,snapshot:t,data:t.data,isMissingData:y(t),storeEpoch:r}}var b=function(){function e(e){this._environment=e,this._cache=i.create(1e6)}var t=e.prototype;return t.read=function(e,t,r,n){return this.readWithIdentifier(e,t,c(e,t),r,n)},t.readWithIdentifier=function(e,t,r,n,o){var a,i=this._environment;if(null==t)return{cacheKey:r,data:null,isMissingData:!1,snapshot:null,storeEpoch:0};var u=i.getStore().getEpoch();if(!0===(null==e||null===(a=e.metadata)||void 0===a?void 0:a.plural)&&(Array.isArray(t)||s(!1),0===t.length))return{cacheKey:r,data:m,isMissingData:!1,snapshot:m,storeEpoch:u};var c=this._cache.get(r);if(null!=c){if("pending"===c.kind&&d(c.promise))throw i.__log({name:"suspense.fragment",data:c.result.data,fragment:e,isRelayHooks:!0,isMissingData:c.result.isMissingData,isPromiseCached:!0,pendingOperations:c.pendingOperations}),c.promise;if("done"===c.kind&&c.result.snapshot)return this._reportMissingRequiredFieldsInSnapshot(c.result.snapshot),c.result}var l=f(e,t);null==l&&s(!1);var p="PluralReaderSelector"===l.kind?l.selectors.map((function(e){return i.lookup(e)})):i.lookup(l),h=_(r,p,u);if(!h.isMissingData)return this._reportMissingRequiredFieldsInSnapshot(p),this._cache.set(r,{kind:"done",result:h}),h;var v="PluralReaderSelector"===l.kind?l.selectors[0].owner:l.owner,y=this._getAndSavePromiseForFragmentRequestInFlight(r,e,v,h);if(null!=y&&d(y.promise))throw i.__log({name:"suspense.fragment",data:h.data,fragment:e,isRelayHooks:!0,isPromiseCached:!1,isMissingData:h.isMissingData,pendingOperations:y.pendingOperations}),y.promise;return this._reportMissingRequiredFieldsInSnapshot(p),_(r,p,u)},t._reportMissingRequiredFieldsInSnapshot=function(e){var t=this;Array.isArray(e)?e.forEach((function(e){null!=e.missingRequiredFields&&h(t._environment,e.missingRequiredFields)})):null!=e.missingRequiredFields&&h(this._environment,e.missingRequiredFields)},t.readSpec=function(e,t,r){var n={};for(var o in e)n[o]=this.read(e[o],t[o],r,o);return n},t.subscribe=function(e,t){var r=this,n=this._environment,o=e.cacheKey,a=e.snapshot;if(!a)return{dispose:function(){}};var i=this.checkMissedUpdates(e),u=i[0],c=i[1];u&&t();var l=[];return Array.isArray(a)?(Array.isArray(c)||s(!1),c.forEach((function(e,a){l.push(n.subscribe(e,(function(e){var i=n.getStore().getEpoch();r._updatePluralSnapshot(o,c,e,a,i),t()})))}))):((null==c||Array.isArray(c))&&s(!1),l.push(n.subscribe(c,(function(e){var a=n.getStore().getEpoch();r._cache.set(o,{kind:"done",result:_(o,e,a)}),t()})))),{dispose:function(){l.map((function(e){return e.dispose()})),r._cache.delete(o)}}},t.subscribeSpec=function(e,t){var r=this,n=Object.keys(e).map((function(n){return r.subscribe(e[n],t)}));return{dispose:function(){n.forEach((function(e){e.dispose()}))}}},t.checkMissedUpdates=function(e){var t=this._environment,r=e.snapshot;if(!r)return[!1,null];var n;if(n=t.getStore().getEpoch(),e.storeEpoch===n)return[!1,e.snapshot];var a=e.cacheKey;if(Array.isArray(r)){var i=!1,s=[];return r.forEach((function(e,r){var n=t.lookup(e.selector),a=e.data,u=n.data,c=p(a,u);c!==a&&(n=(0,o.default)((0,o.default)({},n),{},{data:c}),i=!0),s[r]=n})),i&&this._cache.set(a,{kind:"done",result:_(a,s,n)}),[i,s]}var u=t.lookup(r.selector),c=r.data,l=u.data,f=p(c,l),d={data:f,isMissingData:u.isMissingData,seenRecords:u.seenRecords,selector:u.selector,missingRequiredFields:u.missingRequiredFields};return f!==c&&this._cache.set(a,{kind:"done",result:_(a,d,n)}),[f!==c,d]},t.checkMissedUpdatesSpec=function(e){var t=this;return Object.keys(e).some((function(r){return t.checkMissedUpdates(e[r])[0]}))},t._getAndSavePromiseForFragmentRequestInFlight=function(e,t,r,n){var o=this,a=l(this._environment,t,r);if(null==a)return null;var i=a.promise,s=a.pendingOperations,u=i.then((function(){o._cache.delete(e)})).catch((function(t){o._cache.delete(e)}));return u.displayName=i.displayName,this._cache.set(e,{kind:"pending",pendingOperations:s,promise:u,result:n}),{promise:u,pendingOperations:s}},t._updatePluralSnapshot=function(e,t,r,n,o){var i,s=this._cache.get(e);if(d(s))g(r.selector.node.name);else{var u=null==s||null===(i=s.result)||void 0===i?void 0:i.snapshot;if(!u||Array.isArray(u)){var c=u?(0,a.default)(u):(0,a.default)(t);c[n]=r,this._cache.set(e,{kind:"done",result:_(e,c,o)})}else g(r.selector.node.name)}},e}();function g(e){s(!1)}function R(e){return new b(e)}var C=v?new WeakMap:new Map;e.exports={createFragmentResource:R,getFragmentResourceForEnvironment:function(e){var t=C.get(e);if(t)return t;var r=R(e);return C.set(e,r),r}}},function(e,t,r){"use strict";var n=r(3),o=function(){function e(e){this._capacity=e,this._capacity>0||n(!1),this._map=new Map}var t=e.prototype;return t.set=function(e,t){if(this._map.delete(e),this._map.set(e,t),this._map.size>this._capacity){var r=this._map.keys().next();r.done||this._map.delete(r.value)}},t.get=function(e){var t=this._map.get(e);return null!=t&&(this._map.delete(e),this._map.set(e,t)),t},t.has=function(e){return this._map.has(e)},t.delete=function(e){this._map.delete(e)},t.size=function(){return this._map.size},t.capacity=function(){return this._capacity-this._map.size},t.clear=function(){this._map.clear()},e}();e.exports={create:function(e){return new o(e)}}},function(e,t,r){"use strict";var n=r(21),o=r(31),a=o.getQueryCacheIdentifier,i=o.getQueryResourceForEnvironment,s=r(32),u=r(22),c=r(4),l=r(0),f=l.useContext,d=l.useEffect,p=l.useState,h=l.useRef;e.exports=function(e){var t=e.query,r=e.componentDisplayName,o=e.fetchObservable,l=e.fetchPolicy,v=e.fetchKey,m=e.renderPolicy,y=c(),_=f(n),b=i(y),g=p(0),R=g[0],C=g[1],P=s(),S=P.startFetch,E=P.completeFetch,x="".concat(R,"-").concat(null!=v?v:""),F=a(y,t,l,m,x),q=_.wrapPrepareQueryResource((function(){return b.prepareWithIdentifier(F,t,o,l,m,{start:S,complete:E,error:E},_)})),D=h(!1);d((function(){return function(){D.current=!0}}),[]),d((function(){if(!0===D.current)return D.current=!1,void C((function(e){return e+1}));var e=b.retain(q,_);return function(){e.dispose()}}),[y,F]),d((function(){b.releaseTemporaryRetain(q)}));var I=q.fragmentNode,O=q.fragmentRef;return u(I,O,r).data}},function(e,t,r){"use strict";var n=r(2),o=n(r(5)),a=n(r(9)),i=r(29),s=r(3),u=r(1).isPromise,c=(r(6),"function"==typeof WeakMap);function l(e){return void 0!==e.request.node.params.metadata.live}function f(e,t,r,n,o){var a=null!=r?r:"store-or-network",i=null!=n?n:e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(a,"-").concat(i,"-").concat(t.request.identifier);return null!=o?"".concat(s,"-").concat(o):s}function d(e,t){var r={__id:e.fragment.dataID,__fragments:(0,a.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:t,fragmentNode:e.request.node.fragment,fragmentRef:r,operation:e}}var p=2e5;function h(e,t,r,n,o,a){var i=l(t),u=n,c=0,f=null,d=null,h=o,v=function(e){return 1===++c&&(f=e.retain(t)),{dispose:function(){0===(c=Math.max(0,c-1))&&(null==f&&s(!1),f.dispose(),f=null),a(m)}}},m={cacheIdentifier:e,id:p++,processedPayloadsCount:0,operationAvailability:r,getValue:function(){return u},setValue:function(e){u=e},getRetainCount:function(){return c},getNetworkSubscription:function(){return h},setNetworkSubscription:function(e){i&&null!=h&&h.unsubscribe(),h=e},temporaryRetain:function(e){if(e.isServer())return{dispose:function(){}};var t=v(e),r=null,n=function(){clearTimeout(r),r=null,d=null,t.dispose(),i&&c<=0&&null!=h&&h.unsubscribe()};return r=setTimeout(n,3e5),null!=d&&d(),d=n,{dispose:function(){d&&d()}}},permanentRetain:function(e){var t=v(e);return null!=d&&(d(),d=null),{dispose:function(){t.dispose(),i&&c<=0&&null!=h&&h.unsubscribe()}}},releaseTemporaryRetain:function(){null!=d&&(d(),d=null)}};return m}var v=function(){function e(e){var t=this;(0,a.default)(this,"_clearCacheEntry",(function(e){e.getRetainCount()<=0&&t._cache.delete(e.cacheIdentifier)})),this._environment=e,this._cache=i.create(1e3)}var t=e.prototype;return t.prepare=function(e,t,r,n,o,a,i){var s=f(this._environment,e,r,n,a);return this.prepareWithIdentifier(s,e,t,r,n,o,i)},t.prepareWithIdentifier=function(e,t,r,n,a,i,s){var c=this._environment,l=null!=n?n:"store-or-network",f=null!=a?a:c.UNSTABLE_getDefaultRenderPolicy(),d=this._cache.get(e),p=null,h=null!=d;null==d&&(d=this._fetchAndSaveQuery(e,t,r,l,f,s,(0,o.default)((0,o.default)({},i),{},{unsubscribe:function(e){null!=p&&p.dispose();var t=null==i?void 0:i.unsubscribe;t&&t(e)}}))),p=d.temporaryRetain(c);var v=d.getValue();if(u(v))throw c.__log({name:"suspense.query",fetchPolicy:l,isPromiseCached:h,operation:t,queryAvailability:d.operationAvailability,renderPolicy:f}),v;if(v instanceof Error)throw v;return v},t.retain=function(e,t){var r=this._environment,n=e.cacheIdentifier,o=e.operation,a=this._getOrCreateCacheEntry(n,o,null,e,null),i=a.permanentRetain(r);return r.__log({name:"queryresource.retain",profilerContext:t,resourceID:a.id}),{dispose:function(){i.dispose()}}},t.releaseTemporaryRetain=function(e){var t=this._cache.get(e.cacheIdentifier);null!=t&&t.releaseTemporaryRetain()},t.TESTS_ONLY__getCacheEntry=function(e,t,r,n){var o=f(this._environment,e,t,r,n);return this._cache.get(o)},t._getOrCreateCacheEntry=function(e,t,r,n,o){var a=this._cache.get(e);return null==a&&(a=h(e,t,r,n,o,this._clearCacheEntry),this._cache.set(e,a)),a},t._fetchAndSaveQuery=function(e,t,r,n,a,i,u){var c,f,p=this,v=this._environment,m=v.check(t),y=m.status,_="available"===y,b=_||"partial"===a&&"stale"!==y,g=function(){};switch(n){case"store-only":c=!1,f=!0;break;case"store-or-network":c=!_,f=b;break;case"store-and-network":c=!0,f=b;break;case"network-only":default:c=!0,f=!1}if(f){var R=d(t,e),C=h(e,t,m,R,null,this._clearCacheEntry);this._cache.set(e,C)}if(c){var P,S=d(t,e);r.subscribe({start:function(r){P=r;var n=p._cache.get(e);n&&n.setNetworkSubscription(P);var a=null==u?void 0:u.start;a&&a((0,o.default)((0,o.default)({},r),{},{unsubscribe:function(){l(t)&&r.unsubscribe()}}))},next:function(){var r=p._getOrCreateCacheEntry(e,t,m,S,P);r.processedPayloadsCount+=1,r.setValue(S),g();var n=null==u?void 0:u.next;null!=n&&n(v.lookup(t.fragment))},error:function(r){var n=p._getOrCreateCacheEntry(e,t,m,r,P);0===n.processedPayloadsCount&&n.setValue(r),g(),P=null,n.setNetworkSubscription(null);var o=null==u?void 0:u.error;o&&o(r)},complete:function(){g(),P=null;var t=p._cache.get(e);t&&t.setNetworkSubscription(null);var r=null==u?void 0:u.complete;r&&r()},unsubscribe:null==u?void 0:u.unsubscribe});var E=this._cache.get(e);if(!E){var x=new Promise((function(e){g=e}));x.displayName="Relay("+t.fragment.node.name+")",E=h(e,t,m,x,P,this._clearCacheEntry),this._cache.set(e,E)}}else{var F=null==u?void 0:u.complete;F&&F()}var q=this._cache.get(e);return null==q&&s(!1),v.__log({name:"queryresource.fetch",resourceID:q.id,operation:t,profilerContext:i,fetchPolicy:n,renderPolicy:a,queryAvailability:m,shouldFetch:c}),q},e}();function m(e){return new v(e)}var y=c?new WeakMap:new Map;e.exports={createQueryResource:m,getQueryResourceForEnvironment:function(e){var t=y.get(e);if(t)return t;var r=m(e);return y.set(e,r),r},getQueryCacheIdentifier:f}},function(e,t,r){"use strict";var n=r(0),o=n.useCallback,a=n.useEffect,i=n.useRef;e.exports=function(){var e=i(null),t=i(!1),r=o((function(){null!=e.current&&(e.current.unsubscribe(),e.current=null),t.current=!1}),[]),n=o((function(r){e.current=r,t.current=!0}),[]),s=o((function(){e.current=null,t.current=!1}),[]);return a((function(){return r}),[r]),{isFetchingRef:t,startFetch:n,disposeFetch:r,completeFetch:s}}},function(e,t,r){"use strict";var n=r(51),o=r(0),a=r(1),i=a.createOperationDescriptor,s=a.getRequest,u=o.useMemo;e.exports=function(e,t,r){var o=n(t)[0],a=n(r||{})[0];return u((function(){return i(s(e),o,a)}),[e,o,a])}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(28).getFragmentResourceForEnvironment,a=r(21),i=r(31).getQueryResourceForEnvironment,s=r(22),u=r(11),c=r(35),l=r(4),f=r(3),d=r(0),p=d.useCallback,h=d.useContext,v=d.useReducer,m=r(1),y=m.__internal.fetchQuery,_=m.createOperationDescriptor,b=m.getFragmentIdentifier,g=m.getRefetchMetadata,R=m.getSelector,C=m.getValueAtPath;r(6);function P(e,t){switch(t.type){case"refetch":var r;return(0,n.default)((0,n.default)({},e),{},{fetchPolicy:t.fetchPolicy,mirroredEnvironment:null!==(r=t.refetchEnvironment)&&void 0!==r?r:e.mirroredEnvironment,onComplete:t.onComplete,refetchEnvironment:t.refetchEnvironment,refetchQuery:t.refetchQuery,renderPolicy:t.renderPolicy});case"reset":return{fetchPolicy:void 0,mirroredEnvironment:t.environment,mirroredFragmentIdentifier:t.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw t.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}e.exports=function(e,t,r){var d=l(),m=g(e,r),S=m.refetchableRequest,E=m.fragmentRefPathInResponse,x=m.identifierField,F=b(e,t),q=v(P,{fetchPolicy:void 0,mirroredEnvironment:d,mirroredFragmentIdentifier:F,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),D=q[0],I=q[1],O=D.fetchPolicy,k=D.mirroredEnvironment,N=D.mirroredFragmentIdentifier,A=D.onComplete,w=D.refetchEnvironment,Q=D.refetchQuery,M=D.renderPolicy,U=null!=w?w:d,T=i(U),L=o(U),j=h(a),V=U!==k||F!==N,W=c(S),H=W[0],K=W[1],B=W[2],G=t;if(V)I({type:"reset",environment:U,fragmentIdentifier:F}),B();else if(null!=Q&&null!=H){0;var z=function(e){A&&A(null!=e?e:null)},Y=null!=H.source?H.source:y(U,Q),X=j.wrapPrepareQueryResource((function(){return T.prepare(Q,Y,O,M,{error:z,complete:function(){z()}},H.fetchKey,j)})),J=L.read(X.fragmentNode,X.fragmentRef,r).data;null==J&&f(!1),G=C(J,E)}var Z=s(e,G,r),$=Z.data,ee=Z.disableStoreUpdates,te=Z.enableStoreUpdates;return{fragmentData:$,fragmentRef:G,refetch:function(e,t,r,o,a,i,s,c,l,f,d){var h=u(),v=null!=c&&null!=o&&"object"==typeof o?o[c]:null;return p((function(e,o){if(!0!==h.current)return{dispose:function(){}};var a,s,u=null==o?void 0:o.__environment,p=null==o?void 0:o.fetchPolicy,m=null==o?void 0:o.UNSTABLE_renderPolicy,y=null==o?void 0:o.onComplete,b=R(i,f);if(null==b)a={},s={};else if("PluralReaderSelector"===b.kind){var g,C,P,S;a=null!==(g=null===(C=b.selectors[0])||void 0===C?void 0:C.owner.variables)&&void 0!==g?g:{},s=null!==(P=null===(S=b.selectors[0])||void 0===S?void 0:S.variables)&&void 0!==P?P:{}}else a=b.owner.variables,s=b.variables;var E=(0,n.default)((0,n.default)((0,n.default)({},a),s),e);null==c||e.hasOwnProperty("id")||(E.id=v);var x=_(d,E,{force:!0});return l(x.request.variables,{fetchPolicy:p,__environment:u,__nameForWarning:"refetch"}),t({type:"refetch",fetchPolicy:p,onComplete:y,refetchEnvironment:u,refetchQuery:x,renderPolicy:m}),{dispose:r}}),[a,t,r,v,l])}(0,I,B,$,F,e,0,x,K,t,S),disableStoreUpdates:ee,enableStoreUpdates:te}}},function(e,t,r){"use strict";var n=r(2)(r(27)),o=r(7),a=o.loadQuery,i=o.useTrackLoadQueryInRender,s=r(11),u=r(4),c=r(0),l=c.useCallback,f=c.useEffect,d=c.useRef,p=c.useState,h=r(1).getRequest,v={kind:"NullQueryReference"};function m(e){return"PreloadableConcreteRequest"===e.kind?void 0!==e.params.metadata.live:void 0!==h(e).params.metadata.live}e.exports=function(e,t){var r=null!=t?t:v,o=u();i();var c=s(),h=d(new Set([r])),y=p((function(){return r})),_=y[0],b=y[1],g=p((function(){return r})),R=g[0],C=g[1];r!==R&&(h.current.add(r),C(r),b(r));var P=l((function(){c.current&&(h.current.add(v),b(v))}),[c]),S=l((function(t,r){var n=null!=r&&r.hasOwnProperty("__environment")?{fetchPolicy:r.fetchPolicy,networkCacheConfig:r.networkCacheConfig,__nameForWarning:r.__nameForWarning}:r;if(c.current){var i,s=a(null!==(i=null==r?void 0:r.__environment)&&void 0!==i?i:o,e,t,n);h.current.add(s),b(s)}}),[o,e,b,c]),E=d(!1);return f((function(){return function(){E.current=!0}}),[]),f((function(){if(!0===E.current)return E.current=!1,void("NullQueryReference"!==_.kind&&S(_.variables,{fetchPolicy:_.fetchPolicy,networkCacheConfig:_.networkCacheConfig}));var t=h.current;if(c.current){var r,o=(0,n.default)(t);try{for(o.s();!(r=o.n()).done;){var a=r.value;if(a===_)break;t.delete(a),"NullQueryReference"!==a.kind&&(m(e)?a.dispose&&a.dispose():a.releaseQuery&&a.releaseQuery())}}catch(e){o.e(e)}finally{o.f()}}}),[_,c,S,e]),f((function(){return function(){var t,r=(0,n.default)(h.current);try{for(r.s();!(t=r.n()).done;){var o=t.value;"NullQueryReference"!==o.kind&&(m(e)?o.dispose&&o.dispose():o.releaseQuery&&o.releaseQuery())}}catch(e){r.e(e)}finally{r.f()}}}),[e]),["NullQueryReference"===_.kind?null:_,S,P]}},function(e,t,r){"use strict";var n=r(8),o=r(37),a=r(41),i=r(42),s=r(43),u=r(44),c=r(45),l=r(26),f=r(7).loadQuery,d=r(46),p=r(47),h=r(48),v=r(50),m=r(52),y=r(53),_=r(56),b=r(35),g=r(57),R=r(4),C=r(58),P=r(59),S=r(1);e.exports={ConnectionHandler:S.ConnectionHandler,QueryRenderer:s,LocalQueryRenderer:a,MutationTypes:S.MutationTypes,RangeOperations:S.RangeOperations,ReactRelayContext:n,applyOptimisticMutation:S.applyOptimisticMutation,commitLocalUpdate:S.commitLocalUpdate,commitMutation:S.commitMutation,createFragmentContainer:o.createContainer,createPaginationContainer:i.createContainer,createRefetchContainer:u.createContainer,fetchQuery_DEPRECATED:S.fetchQuery_DEPRECATED,graphql:S.graphql,readInlineData:S.readInlineData,requestSubscription:S.requestSubscription,EntryPointContainer:c,RelayEnvironmentProvider:d,fetchQuery:S.fetchQuery,loadQuery:f,loadEntryPoint:l,useFragment:h,useLazyLoadQuery:v,useEntryPointLoader:p,useQueryLoader:b,useMutation:m,usePaginationFragment:y,usePreloadedQuery:_,useRefetchableFragment:g,useRelayEnvironment:R,useSubscribeToInvalidationState:C,useSubscription:P}},function(e,t,r){"use strict";var n=r(2),o=n(r(5)),a=n(r(15)),i=n(r(12)),s=n(r(13)),u=n(r(9)),c=r(16),l=r(14).getContainerName,f=r(19).assertRelayContext,d=r(10),p=r(0),h=r(1),v=h.createFragmentSpecResolver,m=h.getDataIDsFromObject,y=h.isScalarAndEqual;function _(e,t){var r,n,c=l(e);return n=r=function(r){function n(e){var n,o;o=r.call(this,e)||this,(0,u.default)((0,i.default)(o),"_handleFragmentDataUpdate",(function(){var e=o.state.resolver;o.setState((function(t){return e===t.resolver?{data:t.resolver.resolve(),relayProp:b(t.relayProp.environment)}:null}))}));var a=f(e.__relayContext),s=null!==(n=e.__rootIsQueryRenderer)&&void 0!==n&&n,l=v(a,c,t,e,s);return o.state={data:l.resolve(),prevProps:e,prevPropsContext:a,relayProp:b(a.environment),resolver:l},o}(0,s.default)(n,r),n.getDerivedStateFromProps=function(e,r){var n,o=r.prevProps,a=f(e.__relayContext),i=null!==(n=e.__rootIsQueryRenderer)&&void 0!==n&&n,s=m(t,o),u=m(t,e),l=r.resolver;if(r.prevPropsContext.environment!==a.environment||!d(s,u))return{data:(l=v(a,c,t,e,i)).resolve(),prevPropsContext:a,prevProps:e,relayProp:b(a.environment),resolver:l};l.setProps(e);var p=l.resolve();return p!==r.data?{data:p,prevProps:e,prevPropsContext:a,relayProp:b(a.environment)}:null};var l=n.prototype;return l.componentDidMount=function(){this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},l.componentDidUpdate=function(e,t){this.state.resolver!==t.resolver?(t.resolver.dispose(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},l.componentWillUnmount=function(){this.state.resolver.dispose()},l.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(r.prevPropsContext.environment!==this.state.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!y(e[a],this.props[a]))return!0}return!1},l._rerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver.resolve();t!==r&&this.setState({data:r})},l._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver,n=r.resolve();r.setCallback(this.props,this._handleFragmentDataUpdate),t!==n&&this.setState({data:n})},l.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,["componentRef","__relayContext","__rootIsQueryRenderer"]));return p.createElement(e,(0,o.default)((0,o.default)((0,o.default)({},n),this.state.data),{},{ref:r,relay:this.state.relayProp}))},n}(p.Component),(0,u.default)(r,"displayName",c),n}function b(e){return{environment:e}}e.exports={createContainer:function(e,t){return c(e,t,_)}}},function(e,t,r){"use strict";var n=r(3);e.exports=function(e,t){for(var r in t&&"object"==typeof t||n(!1),t)if(t.hasOwnProperty(r)){var o=t[r];(!o||"object"!=typeof o&&"function"!=typeof o)&&n(!1)}}},function(e,t,r){"use strict";var n=r(0).__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,o=n.ReactCurrentDispatcher,a=n.ReactCurrentOwner;e.exports=function(e){return(null!=o?o.current:a.currentDispatcher).readContext(e)}},function(e,t,r){"use strict";e.exports=function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.check&&"function"==typeof e.lookup&&"function"==typeof e.retain&&"function"==typeof e.execute&&"function"==typeof e.subscribe}},function(e,t,r){"use strict";var n=r(8),o=r(18),a=r(10),i=r(0),s=r(1),u=s.createOperationDescriptor,c=(s.deepFreeze,s.getRequest),l=i.useLayoutEffect,f=i.useState,d=i.useRef,p=i.useMemo,h={rootIsQueryRenderer:!0};e.exports=function(e){var t,r,s=e.environment,v=e.query,m=e.variables,y=e.render,_=(t=m,r=i.useRef(t),a(r.current,t)||(r.current=t),r.current),b=p((function(){var e=c(v);return u(e,_)}),[v,_]),g=p((function(){return{environment:s}}),[s]),R=d(null),C=f(null)[1],P=d(null),S=p((function(){s.check(b);var e=s.lookup(b.fragment);R.current=e.data;var t=s.retain(b),r=s.subscribe(e,(function(e){R.current=e.data,C(R.current)})),n=!1;return P.current&&P.current(),P.current=function(){n||(n=!0,P.current=null,t.dispose(),r.dispose())},e}),[s,b]);return l((function(){var e=P.current;return function(){e&&e()}}),[S]),i.createElement(n.Provider,{value:g},i.createElement(o.Provider,{value:h},y({props:R.current})))}},function(e,t,r){"use strict";var n=r(2),o=n(r(17)),a=n(r(15)),i=n(r(12)),s=n(r(13)),u=n(r(9)),c=n(r(5)),l=r(16),f=r(24),d=r(14),p=d.getComponentName,h=d.getContainerName,v=r(8),m=r(20),y=r(19).assertRelayContext,_=r(10),b=r(3),g=r(0),R=r(1),C=R.ConnectionInterface,P=R.Observable,S=R.RelayFeatureFlags,E=R.createFragmentSpecResolver,x=R.createOperationDescriptor,F=R.getDataIDsFromObject,q=R.getRequest,D=R.getVariablesFromObject,I=R.isScalarAndEqual;r(6);function O(e){return"function"==typeof e?{error:e,complete:e,unsubscribe:function(t){"function"==typeof e&&e()}}:e||{}}function k(e,t,r){p(e);var n,l,d=h(e),R=function(e){var t=null,r=!1;for(var n in e){var o=e[n],a=o.metadata&&o.metadata.connection;void 0!==o.metadata&&(r=!0),a&&(1!==a.length&&b(!1),t&&b(!1),t=(0,c.default)((0,c.default)({},a[0]),{},{fragmentName:n}))}return r&&null===t&&b(!1),t||{}}(t),k=r.getConnectionFromProps||function(e){var t=e.path;return t||b(!1),function(r){for(var n=r[e.fragmentName],o=0;o<t.length;o++){if(!n||"object"!=typeof n)return null;n=n[t[o]]}return n}}(R),N=r.direction||R.direction;N||b(!1);var A=r.getFragmentVariables||function(e){var t=e.count;return t||b(!1),function(e,r){return(0,c.default)((0,c.default)({},e),{},(0,u.default)({},t,r))}}(R);return l=n=function(n){function l(e){var r,o;o=n.call(this,e)||this,(0,u.default)((0,i.default)(o),"_handleFragmentDataUpdate",(function(){o.setState({data:o._resolver.resolve()})})),(0,u.default)((0,i.default)(o),"_hasMore",(function(){var e=o._getConnectionData();return!!(e&&e.hasMore&&e.cursor)})),(0,u.default)((0,i.default)(o),"_isLoading",(function(){return!!o._refetchSubscription})),(0,u.default)((0,i.default)(o),"_refetchConnection",(function(e,t,r){if(!o._canFetchPage("refetchConnection"))return{dispose:function(){}};o._refetchVariables=r;var n={count:e,cursor:null,totalCount:e};return{dispose:o._fetchPage(n,O(t),{force:!0}).unsubscribe}})),(0,u.default)((0,i.default)(o),"_loadMore",(function(e,t,r){if(!o._canFetchPage("loadMore"))return{dispose:function(){}};var n=O(t),a=o._getConnectionData();if(!a)return P.create((function(e){return e.complete()})).subscribe(n),null;var i=a.edgeCount+e;if(r&&r.force)return o._refetchConnection(i,t);var s=C.get(),u=(s.END_CURSOR,s.START_CURSOR,{count:e,cursor:a.cursor,totalCount:i});return{dispose:o._fetchPage(u,n,r).unsubscribe}}));var a=y(e.__relayContext),s=null!==(r=e.__rootIsQueryRenderer)&&void 0!==r&&r;return o._isARequestInFlight=!1,o._refetchSubscription=null,o._refetchVariables=null,!0===S.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?o._resolver=E(a,d,t,e,s):o._resolver=E(a,d,t,e,s,o._handleFragmentDataUpdate),o.state={data:o._resolver.resolve(),prevContext:a,contextForChildren:a,relayProp:o._buildRelayProp(a),resolverGeneration:0},o._isUnmounted=!1,o._hasFetched=!1,o}(0,s.default)(l,n);var p=l.prototype;return p.componentDidMount=function(){this._isUnmounted=!1,!0===S.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},p.componentDidUpdate=function(e,t){!0===S.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&(t.resolverGeneration!==this.state.resolverGeneration?this._subscribeToNewResolverAndRerenderIfStoreHasChanged():this._rerenderIfStoreHasChanged())},p.UNSAFE_componentWillReceiveProps=function(e){var r,n=this,o=y(e.__relayContext),a=null!==(r=e.__rootIsQueryRenderer)&&void 0!==r&&r,i=F(t,this.props),s=F(t,e),u=f(t,this.props),c=f(t,e);o.environment===this.state.prevContext.environment&&_(u,c)&&_(i,s)?this._hasFetched||this._resolver.setProps(e):(this._cleanup(),!0===S.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?this._resolver=E(o,d,t,e,a):this._resolver=E(o,d,t,e,a,this._handleFragmentDataUpdate),this.setState((function(e){return{prevContext:o,contextForChildren:o,relayProp:n._buildRelayProp(o),resolverGeneration:e.resolverGeneration+1}})));var l=this._resolver.resolve();l!==this.state.data&&this.setState({data:l})},p.componentWillUnmount=function(){this._isUnmounted=!0,this._cleanup()},p.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data||r.relayProp!==this.state.relayProp||r.resolverGeneration!==this.state.resolverGeneration)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(r.prevContext.environment!==this.state.prevContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!I(e[a],this.props[a]))return!0}return!1},p._buildRelayProp=function(e){return{hasMore:this._hasMore,isLoading:this._isLoading,loadMore:this._loadMore,refetchConnection:this._refetchConnection,environment:e.environment}},p._rerenderIfStoreHasChanged=function(){var e=this.state.data,t=this._resolver.resolve();e!==t&&this.setState({data:t})},p._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state.data,t=this._resolver.resolve();this._resolver.setCallback(this.props,this._handleFragmentDataUpdate),e!==t&&this.setState({data:t})},p._getConnectionData=function(){var e=this.props,t=(e.componentRef,(0,a.default)(e,["componentRef"])),r=(0,c.default)((0,c.default)({},t),this.state.data),n=k(r);if(null==n)return null;var o=C.get(),i=o.EDGES,s=o.PAGE_INFO,u=o.HAS_NEXT_PAGE,l=o.HAS_PREV_PAGE,f=o.END_CURSOR,d=o.START_CURSOR;"object"!=typeof n&&b(!1);var p=n[i],h=n[s];if(null==p||null==h)return null;Array.isArray(p)||b(!1),"object"!=typeof h&&b(!1);var v="forward"===N?h[u]:h[l],m="forward"===N?h[f]:h[d];return"boolean"!=typeof v||0!==p.length&&void 0===m?null:{cursor:m,edgeCount:p.length,hasMore:v}},p._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new m),this._queryFetcher},p._canFetchPage=function(e){return!this._isUnmounted},p._fetchPage=function(e,n,o){var i,s=this,u=y(this.props.__relayContext).environment,l=this.props,d=(l.componentRef,l.__relayContext,l.__rootIsQueryRenderer,(0,a.default)(l,["componentRef","__relayContext","__rootIsQueryRenderer"])),p=(0,c.default)((0,c.default)({},d),this.state.data),h=f(t,d);i=D(t,d),i=(0,c.default)((0,c.default)((0,c.default)({},h),i),this._refetchVariables);var v=r.getVariables(p,{count:e.count,cursor:e.cursor},i);("object"!=typeof v||null===v)&&b(!1),v=(0,c.default)((0,c.default)({},v),this._refetchVariables),i=(0,c.default)((0,c.default)({},v),i);var m=o?{force:!!o.force}:void 0;null!=m&&null!=(null==o?void 0:o.metadata)&&(m.metadata=null==o?void 0:o.metadata);var g=q(r.query),R=x(g,v,m),C=null;this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._hasFetched=!0;var S=function(){s._refetchSubscription===C&&(s._refetchSubscription=null,s._isARequestInFlight=!1)};return this._isARequestInFlight=!0,C=this._getQueryFetcher().execute({environment:u,operation:R,preservePreviousReferences:!0}).mergeMap((function(t){return P.create((function(t){!function(t,r){var n=s._resolver.resolve();s._resolver.setVariables(A(i,e.totalCount),R.request.node);var o=s._resolver.resolve();_(n,o)?r():s.setState({data:o,contextForChildren:{environment:s.props.__relayContext.environment}},r)}(0,(function(){t.next(),t.complete()}))}))})).do({error:S,complete:S,unsubscribe:S}).subscribe(n||{}),this._refetchSubscription=this._isARequestInFlight?C:null,C},p._cleanup=function(){this._resolver.dispose(),this._refetchVariables=null,this._hasFetched=!1,this._refetchSubscription&&(this._refetchSubscription.unsubscribe(),this._refetchSubscription=null,this._isARequestInFlight=!1),this._queryFetcher&&this._queryFetcher.dispose()},p.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,["componentRef","__relayContext","__rootIsQueryRenderer"]));return g.createElement(v.Provider,{value:this.state.contextForChildren},g.createElement(e,(0,o.default)({},n,this.state.data,{ref:r,relay:this.state.relayProp})))},l}(g.Component),(0,u.default)(n,"displayName",d),l}e.exports={createContainer:function(e,t,r){return l(e,t,(function(e,t){return k(e,t,r)}))}}},function(e,t,r){"use strict";var n=r(2),o=n(r(5)),a=n(r(12)),i=n(r(13)),s=n(r(9)),u=r(8),c=r(20),l=r(18),f=r(10),d=r(0),p=r(1),h=p.RelayFeatureFlags,v=p.createOperationDescriptor,m=(p.deepFreeze,p.getRequest),y={},_={rootIsQueryRenderer:!0},b=function(e){function t(t){var r;r=e.call(this,t)||this,(0,s.default)((0,a.default)(r),"_handleDataChange",(function(e){var t=null==e.error?null:e.error,n=null==e.snapshot?null:e.snapshot;r.setState((function(e){var r=e.requestCacheKey;return r&&delete y[r],n===e.snapshot&&t===e.error?null:{renderProps:g(t,n,e.queryFetcher,e.retryCallbacks),snapshot:n,requestCacheKey:null}}))}));var n,i,u={handleDataChange:null,handleRetryAfterError:null};if(t.query){var l=t.query;i=R(m(l).params,t.variables),n=y[i]?y[i].queryFetcher:new c}else n=new c;return r._maybeHiddenOrFastRefresh=!1,r.state=(0,o.default)({prevPropsEnvironment:t.environment,prevPropsVariables:t.variables,prevQuery:t.query,queryFetcher:n,retryCallbacks:u},P(t,n,u,i)),r}(0,i.default)(t,e),t.getDerivedStateFromProps=function(e,t){return t.prevQuery===e.query&&t.prevPropsEnvironment===e.environment&&f(t.prevPropsVariables,e.variables)?null:C(e,t)};var r=t.prototype;return r.componentDidMount=function(){var e=this;if(!0===h.ENABLE_QUERY_RENDERER_OFFSCREEN_SUPPORT&&!0===this._maybeHiddenOrFastRefresh)return this._maybeHiddenOrFastRefresh=!1,void this.setState((function(t){return C(e.props,t)}));var t=this.state,r=t.retryCallbacks,n=t.queryFetcher,o=t.requestCacheKey;o&&delete y[o],r.handleDataChange=this._handleDataChange,r.handleRetryAfterError=function(t){return e.setState((function(e){var t=e.requestCacheKey;return t&&delete y[t],{renderProps:{error:null,props:null,retry:null},requestCacheKey:null}}))},this.props.query&&n.setOnDataChange(this._handleDataChange)},r.componentDidUpdate=function(e,t){var r=this.state,n=r.queryFetcher,o=r.requestCacheKey;o&&(delete y[o],delete this.state.requestCacheKey),this.props.query&&n!==t.queryFetcher&&n.setOnDataChange(this._handleDataChange)},r.componentWillUnmount=function(){this.state.queryFetcher.dispose(),this._maybeHiddenOrFastRefresh=!0},r.shouldComponentUpdate=function(e,t){return e.render!==this.props.render||t.renderProps!==this.state.renderProps},r.render=function(){var e=this.state,t=e.renderProps,r=e.relayContext;return d.createElement(u.Provider,{value:r},d.createElement(l.Provider,{value:_},this.props.render(t)))},t}(d.Component);function g(e,t,r,n){return{error:e||null,props:t?t.data:null,retry:function(t){var o=r.retry(t);o&&"function"==typeof n.handleDataChange?n.handleDataChange({snapshot:o}):e&&"function"==typeof n.handleRetryAfterError&&n.handleRetryAfterError(e)}}}function R(e,t){return JSON.stringify({id:e.cacheID?e.cacheID:e.id,variables:t})}function C(e,t){var r,n=e.query,a=t.queryFetcher.getSelectionReferences();if(t.queryFetcher.disposeRequest(),n){var i=R(m(n).params,e.variables);r=y[i]?y[i].queryFetcher:new c(a)}else r=new c(a);return(0,o.default)({prevQuery:e.query,prevPropsEnvironment:e.environment,prevPropsVariables:e.variables,queryFetcher:r},P(e,r,t.retryCallbacks))}function P(e,t,r,n){var o=e.environment,a=e.query,i=e.variables,s=e.cacheConfig,u=o;if(!a)return t.dispose(),{error:null,relayContext:{environment:u},renderProps:{error:null,props:{},retry:null},requestCacheKey:null};var c=m(a),l=v(c,i,s),f={environment:u};if("string"==typeof n&&y[n]){var d=y[n].snapshot;return d?{error:null,relayContext:f,renderProps:g(null,d,t,r),snapshot:d,requestCacheKey:n}:{error:null,relayContext:f,renderProps:{error:null,props:null,retry:null},snapshot:null,requestCacheKey:n}}try{var p=t.lookupInStore(u,l,e.fetchPolicy),h=t.fetch({environment:u,onDataChange:null,operation:l})||p;return n=n||R(c.params,e.variables),y[n]={queryFetcher:t,snapshot:h},h?{error:null,relayContext:f,renderProps:g(null,h,t,r),snapshot:h,requestCacheKey:n}:{error:null,relayContext:f,renderProps:{error:null,props:null,retry:null},snapshot:null,requestCacheKey:n}}catch(e){return{error:e,relayContext:f,renderProps:g(e,null,t,r),snapshot:null,requestCacheKey:n}}}e.exports=b},function(e,t,r){"use strict";var n=r(2),o=n(r(17)),a=n(r(15)),i=n(r(5)),s=n(r(12)),u=n(r(13)),c=n(r(9)),l=r(16),f=r(24),d=r(14).getContainerName,p=r(8),h=r(20),v=r(19).assertRelayContext,m=r(10),y=r(0),_=r(1),b=_.Observable,g=_.createFragmentSpecResolver,R=_.createOperationDescriptor,C=_.getDataIDsFromObject,P=_.getRequest,S=_.getVariablesFromObject,E=_.isScalarAndEqual;r(6);function x(e,t){return{environment:e,refetch:t}}e.exports={createContainer:function(e,t,r){return l(e,t,(function(e,t){return function(e,t,r){var n,l,_=d(e);return l=n=function(n){function l(e){var o,a;a=n.call(this,e)||this,(0,c.default)((0,s.default)(a),"_handleFragmentDataUpdate",(function(){var e=a.state.resolver;a.setState((function(t){return e===t.resolver?{data:t.resolver.resolve()}:null}))})),(0,c.default)((0,s.default)(a),"_refetch",(function(e,n,o,s){if(a._isUnmounted)return{dispose:function(){}};var u=v(a.props.__relayContext).environment,c=f(t,a.props),l="function"==typeof e?e(a._getFragmentVariables()):e;l=(0,i.default)((0,i.default)({},c),l);var d=n?(0,i.default)((0,i.default)({},l),n):l,p=s?{force:!!s.force}:void 0;null!=p&&null!=(null==s?void 0:s.metadata)&&(p.metadata=null==s?void 0:s.metadata);var h,m="function"==typeof o?{next:o,error:o}:o||{},y=P(r),_=R(y,l,p);return a.state.localVariables=l,a._refetchSubscription&&a._refetchSubscription.unsubscribe(),null!=a._getQueryFetcher().lookupInStore(u,_,null==s?void 0:s.fetchPolicy)?(a.state.resolver.setVariables(d,_.request.node),a.setState((function(e){return{data:e.resolver.resolve(),contextForChildren:{environment:a.props.__relayContext.environment}}}),(function(){m.next&&m.next(),m.complete&&m.complete()})),{dispose:function(){}}):(a._getQueryFetcher().execute({environment:u,operation:_,preservePreviousReferences:!0}).mergeMap((function(e){return a.state.resolver.setVariables(d,_.request.node),b.create((function(e){return a.setState((function(e){return{data:e.resolver.resolve(),contextForChildren:{environment:a.props.__relayContext.environment}}}),(function(){e.next(),e.complete()}))}))})).finally((function(){a._refetchSubscription===h&&(a._refetchSubscription=null)})).subscribe((0,i.default)((0,i.default)({},m),{},{start:function(e){a._refetchSubscription=h=e,m.start&&m.start(e)}})),{dispose:function(){h&&h.unsubscribe()}})}));var u=v(e.__relayContext),l=null!==(o=e.__rootIsQueryRenderer)&&void 0!==o&&o;a._refetchSubscription=null;var d=g(u,_,t,e,l);return a.state={data:d.resolve(),localVariables:null,prevProps:e,prevPropsContext:u,contextForChildren:u,relayProp:x(u.environment,a._refetch),resolver:d},a._isUnmounted=!1,a}(0,u.default)(l,n);var d=l.prototype;return d.componentDidMount=function(){this._isUnmounted=!1,this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},d.componentDidUpdate=function(e,t){this.state.resolver!==t.resolver?(t.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},l.getDerivedStateFromProps=function(e,r){var n,o=r.prevProps,a=v(e.__relayContext),i=null!==(n=e.__rootIsQueryRenderer)&&void 0!==n&&n,s=C(t,o),u=C(t,e),c=f(t,o),l=f(t,e),d=r.resolver;if(r.prevPropsContext.environment!==a.environment||!m(c,l)||!m(s,u))return{data:(d=g(a,_,t,e,i)).resolve(),localVariables:null,prevProps:e,prevPropsContext:a,contextForChildren:a,relayProp:x(a.environment,r.relayProp.refetch),resolver:d};r.localVariables||d.setProps(e);var p=d.resolve();return p!==r.data?{data:p,prevProps:e}:null},d.componentWillUnmount=function(){this._isUnmounted=!0,this.state.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe()},d.shouldComponentUpdate=function(e,r){if(r.data!==this.state.data||r.relayProp!==this.state.relayProp)return!0;for(var n=Object.keys(e),o=0;o<n.length;o++){var a=n[o];if("__relayContext"===a){if(this.state.prevPropsContext.environment!==r.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(a)&&!E(e[a],this.props[a]))return!0}return!1},d._rerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver.resolve();t!==r&&this.setState({data:r})},d._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var e=this.state,t=e.data,r=e.resolver,n=r.resolve();r.setCallback(this.props,this._handleFragmentDataUpdate),t!==n&&this.setState({data:n})},d._getFragmentVariables=function(){return S(t,this.props)},d._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new h),this._queryFetcher},d.render=function(){var t=this.props,r=t.componentRef,n=(t.__relayContext,t.__rootIsQueryRenderer,(0,a.default)(t,["componentRef","__relayContext","__rootIsQueryRenderer"])),i=this.state,s=i.relayProp,u=i.contextForChildren;return y.createElement(p.Provider,{value:u},y.createElement(e,(0,o.default)({},n,this.state.data,{ref:r,relay:s})))},l}(y.Component),(0,c.default)(n,"displayName",_),l}(e,t,r)}))}}},function(e,t,r){"use strict";var n=r(21),o=r(4),a=r(0),i=r(0),s=i.useContext,u=i.useEffect;r(6);e.exports=function(e){var t=e.entryPointReference,r=e.props,i=t.getComponent,c=t.queries,l=t.entryPoints,f=t.extraProps,d=t.rootModuleID,p=i(),h=s(n),v=o();return u((function(){v.__log({name:"entrypoint.root.consume",profilerContext:h,rootModuleID:d})}),[v,h,d]),a.createElement(p,{entryPoints:l,extraProps:f,props:r,queries:c})}},function(e,t,r){"use strict";var n=r(0),o=r(25),a=n.useMemo;e.exports=function(e){var t=e.children,r=e.environment,i=e.getEnvironmentForActor,s=a((function(){return{environment:r,getEnvironmentForActor:i}}),[r,i]);return n.createElement(o.Provider,{value:s},t)}},function(e,t,r){"use strict";var n=r(2)(r(27)),o=r(26),a=r(7).useTrackLoadQueryInRender,i=r(11),s=r(0),u=s.useCallback,c=s.useEffect,l=s.useRef,f=s.useState,d={kind:"NullEntryPointReference"};e.exports=function(e,t,r){var s,p,h,v;a();var m=null!==(s=null==r||null===(p=r.TEST_ONLY__initialEntryPointData)||void 0===p?void 0:p.entryPointReference)&&void 0!==s?s:d,y=null!==(h=null==r||null===(v=r.TEST_ONLY__initialEntryPointData)||void 0===v?void 0:v.entryPointParams)&&void 0!==h?h:null,_=i(),b=l(new Set([m])),g=f(m),R=g[0],C=g[1],P=f(y),S=P[0],E=P[1],x=u((function(){if(_.current){var e={kind:"NullEntryPointReference"};b.current.add(e),C(e)}}),[C,_]),F=u((function(r){if(_.current){var n=o(e,t,r);b.current.add(n),C(n),E(r)}}),[e,t,C,_]),q=l(!1);return c((function(){return function(){q.current=!0}}),[]),c((function(){if(!0===q.current)return q.current=!1,void("NullEntryPointReference"!==R.kind&&null!=S&&F(S));var e=b.current;if(_.current){var t,r=(0,n.default)(e);try{for(r.s();!(t=r.n()).done;){var o=t.value;if(o===R)break;e.delete(o),"NullEntryPointReference"!==o.kind&&o.dispose()}}catch(e){r.e(e)}finally{r.f()}}}),[R,S,F,_]),c((function(){return function(){var e,t=(0,n.default)(b.current);try{for(t.s();!(e=t.n()).done;){var r=e.value;"NullEntryPointReference"!==r.kind&&r.dispose()}}catch(e){t.e(e)}finally{t.f()}}}),[]),["NullEntryPointReference"===R.kind?null:R,F,x]}},function(e,t,r){"use strict";var n=r(7).useTrackLoadQueryInRender,o=r(22),a=r(23),i=(r(0).useDebugValue,r(1).getFragment);e.exports=function(e,t){n();var r=i(e);return a(r,"first argument of useFragment()"),o(r,t,"useFragment()").data}},function(e,t){e.exports=h},function(e,t,r){"use strict";var n=r(7).useTrackLoadQueryInRender,o=r(30),a=r(33),i=r(4),s=r(1).__internal.fetchQuery;e.exports=function(e,t,r){n();var u=i(),c=a(e,t,r&&r.networkCacheConfig?r.networkCacheConfig:{force:!0});return o({componentDisplayName:"useLazyLoadQuery()",fetchKey:null==r?void 0:r.fetchKey,fetchObservable:s(u,c),fetchPolicy:null==r?void 0:r.fetchPolicy,query:c,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy})}},function(e,t,r){"use strict";var n=r(10),o=r(0),a=o.useMemo,i=o.useRef,s=o.useState;e.exports=function(e){var t,r,o=i(0),u=s(e),c=u[0],l=u[1];return n(e,c)||(o.current=(null!==(r=o.current)&&void 0!==r?r:0)+1,l(e)),[a((function(){return e}),[o.current]),null!==(t=o.current)&&void 0!==t?t:0]}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(11),a=r(4),i=r(0),s=r(1).commitMutation,u=i.useState,c=i.useEffect,l=i.useRef,f=i.useCallback;e.exports=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s,r=a(),i=o(),d=l(r),p=l(e),h=l(new Set),v=u(!1),m=v[0],y=v[1],_=f((function(t){d.current===r&&p.current===e&&(h.current.delete(t),i.current&&y(h.current.size>0))}),[r,i,e]);c((function(){d.current===r&&p.current===e||(h.current=new Set,i.current&&y(!1),d.current=r,p.current=e)}),[r,i,e]);var b=f((function(o){var a=t(r,(0,n.default)((0,n.default)({},o),{},{mutation:e,onCompleted:function(e,t){_(a),o.onCompleted&&o.onCompleted(e,t)},onError:function(e){_(a),o.onError&&o.onError(e)},onUnsubscribe:function(){_(a),o.onUnsubscribe&&o.onUnsubscribe()}}));return h.current.add(a),i.current&&y(!0),a}),[_,t,r,i,e]);return[b,m]}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(54),a=r(34),i=r(23),s=r(0),u=s.useCallback,c=(s.useDebugValue,s.useState),l=r(1),f=l.getFragment,d=l.getFragmentIdentifier,p=l.getPaginationMetadata;function h(e){var t=c(!1),r=t[0],a=t[1],i={start:function(){return a(!0)},complete:function(){return a(!1)},error:function(){return a(!1)}},s=o((0,n.default)((0,n.default)({},e),{},{observer:i,onReset:function(){return a(!1)}}));return[s[0],s[1],r,s[2]]}e.exports=function(e,t){var r=f(e);i(r,"first argument of usePaginationFragment()");var o=p(r,"usePaginationFragment()"),s=o.connectionPathInFragmentData,c=o.paginationRequest,l=o.paginationMetadata,v=o.identifierField,m=a(r,t,"usePaginationFragment()"),y=m.fragmentData,_=m.fragmentRef,b=m.refetch,g=d(r,_),R=h({componentDisplayName:"usePaginationFragment()",connectionPathInFragmentData:s,direction:"backward",fragmentData:y,fragmentIdentifier:g,fragmentNode:r,fragmentRef:_,identifierField:v,paginationMetadata:l,paginationRequest:c}),C=R[0],P=R[1],S=R[2],E=R[3],x=h({componentDisplayName:"usePaginationFragment()",connectionPathInFragmentData:s,direction:"forward",fragmentData:y,fragmentIdentifier:g,fragmentNode:r,fragmentRef:_,identifierField:v,paginationMetadata:l,paginationRequest:c}),F=x[0],q=x[1],D=x[2],I=x[3];return{data:y,loadNext:F,loadPrevious:C,hasNext:q,hasPrevious:P,isLoadingNext:D,isLoadingPrevious:S,refetch:u((function(e,t){return I(),E(),b(e,(0,n.default)((0,n.default)({},t),{},{__environment:void 0}))}),[I,E,b])}}},function(e,t,r){"use strict";var n=r(2)(r(5)),o=r(32),a=r(11),i=r(55),s=r(4),u=r(3),c=r(0),l=c.useCallback,f=c.useEffect,d=c.useState,p=r(1),h=p.ConnectionInterface,v=p.__internal.fetchQuery,m=p.createOperationDescriptor,y=p.getPaginationVariables,_=p.getSelector,b=p.getValueAtPath;r(6);e.exports=function(e){var t=e.direction,r=e.fragmentNode,c=e.fragmentRef,p=e.fragmentIdentifier,g=e.fragmentData,R=e.connectionPathInFragmentData,C=e.paginationRequest,P=e.paginationMetadata,S=e.componentDisplayName,E=e.observer,x=e.onReset,F=e.identifierField,q=s(),D=o(),I=D.isFetchingRef,O=D.startFetch,k=D.disposeFetch,N=D.completeFetch,A=null!=F&&null!=g&&"object"==typeof g?g[F]:null,w=a(),Q=d(q),M=Q[0],U=Q[1],T=d(p),L=T[0],j=T[1],V=i(r,c);(q!==M||p!==L)&&(k(),x(),U(q),j(p));var W=function(e,t,r,n){var o,a,i=h.get(),s=i.EDGES,c=i.PAGE_INFO,l=i.HAS_NEXT_PAGE,f=i.HAS_PREV_PAGE,d=i.END_CURSOR,p=i.START_CURSOR,v=b(r,n);if(null==v)return{cursor:null,hasMore:!1};"object"!=typeof v&&u(!1);var m=v[s],y=v[c];if(null==m||null==y)return{cursor:null,hasMore:!1};Array.isArray(m)||u(!1),"object"!=typeof y&&u(!1);var _,g="forward"===e?null!==(o=y[d])&&void 0!==o?o:null:null!==(a=y[p])&&void 0!==a?a:null;null!==g&&"string"!=typeof g&&u(!1),_="forward"===e?null!=g&&!0===y[l]:null!=g&&!0===y[f];return{cursor:g,hasMore:_}}(t,0,g,R),H=W.cursor,K=W.hasMore;return f((function(){return function(){k()}}),[k]),[l((function(e,o){var a=null==o?void 0:o.onComplete;if(!0!==w.current)return{dispose:function(){}};var i=_(r,c);if(!0===I.current||null==g||V)return a&&a(null),{dispose:function(){}};(null==i||"PluralReaderSelector"===i.kind)&&u(!1);var s=i.owner.variables,l=i.variables,f=null==o?void 0:o.UNSTABLE_extraVariables,d=(0,n.default)((0,n.default)({},s),l),p=y(t,e,H,d,(0,n.default)({},f),P);null!=F&&(p.id=A);var h=m(C,p,{force:!0});return v(q,h).subscribe((0,n.default)((0,n.default)({},E),{},{start:function(e){O(e),E.start&&E.start(e)},complete:function(){N(),E.complete&&E.complete(),a&&a(null)},error:function(e){N(),E.error&&E.error(e),a&&a(e)}})),{dispose:k}}),[q,A,t,H,O,k,N,I,V,g,r.name,c,S]),K,k]}},function(e,t,r){"use strict";var n=r(4),o=r(3),a=r(0),i=r(1),s=i.__internal.getObservableForActiveRequest,u=i.getSelector,c=a.useEffect,l=a.useState,f=a.useMemo;e.exports=function(e,t){var r=n(),a=f((function(){var n=u(e,t);return null==n?null:("SingularReaderSelector"!==n.kind&&o(!1),s(r,n.owner))}),[r,e,t]),i=l(null!=a),d=i[0],p=i[1];return c((function(){var e;if(p(null!=a),null!=a){var t=function(){p(!1)};e=a.subscribe({complete:t,error:t})}return function(){e&&e.unsubscribe()}}),[a]),d}},function(e,t,r){"use strict";var n=r(7).useTrackLoadQueryInRender,o=r(30),a=r(33),i=r(4),s=r(3),u=(r(0).useDebugValue,r(1).__internal),c=u.fetchQueryDeduped,l=u.fetchQuery;r(6);e.exports=function(e,t,r){n();var u,f=i(),d=t.fetchKey,p=t.fetchPolicy,h=t.source,v=t.variables,m=t.networkCacheConfig,y=a(e,v,m);if("PreloadedQuery_DEPRECATED"===t.kind)y.request.node.params.name!==t.name&&s(!1),u={componentDisplayName:"usePreloadedQuery()",fetchKey:d,fetchObservable:c(f,y.request.identifier,(function(){return f===t.environment&&null!=h?f.executeWithSource({operation:y,source:h}):f.execute({operation:y})})),fetchPolicy:p,query:y,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy};else{var _=l(f,y);u={componentDisplayName:"usePreloadedQuery()",fetchObservable:null!=h&&f===t.environment?h.ifEmpty(_):(t.environment,_),fetchKey:d,fetchPolicy:p,query:y,renderPolicy:null==r?void 0:r.UNSTABLE_renderPolicy}}return o(u)}},function(e,t,r){"use strict";var n=r(34),o=r(23),a=(r(0).useDebugValue,r(1).getFragment);e.exports=function(e,t){var r=a(e);o(r,"first argument of useRefetchableFragment()");var i=n(r,t,"useRefetchableFragment()");return[i.fragmentData,i.refetch]}},function(e,t,r){"use strict";var n=r(4),o=r(0),a=o.useEffect,i=o.useRef;e.exports=function(e,t){var r=n(),o=i(null),s=Array.from(e).sort().join("");return a((function(){var n=r.getStore(),a=n.lookupInvalidationState(e),i=n.subscribeToInvalidationState(a,t);return o.current=i,function(){return i.dispose()}}),[s,t,r]),{dispose:function(){null!=o.current&&o.current.dispose()}}}},function(e,t,r){"use strict";var n=r(4),o=r(0).useEffect,a=r(1).requestSubscription;e.exports=function(e,t){var r=null!=t?t:a,i=n();o((function(){return r(i,e).dispose}),[i,e,r])}}])}));
@@ -498,7 +498,7 @@ function useRefetchFunction<TQuery: OperationType>(
498
498
  // - fragmentNode and parentFragmentRef are also captured by including
499
499
  // fragmentIdentifier
500
500
  // eslint-disable-next-line react-hooks/exhaustive-deps
501
- [fragmentIdentifier, dispatch, disposeQuery, identifierValue],
501
+ [fragmentIdentifier, dispatch, disposeQuery, identifierValue, loadQuery],
502
502
  );
503
503
  }
504
504