relay-runtime 0.0.0-main-2ac70262 → 0.0.0-main-07c8dfdf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/experimental.js +1 -1
- package/experimental.js.flow +0 -8
- package/index.js +1 -1
- package/lib/experimental.js +4 -13
- package/package.json +1 -1
- package/relay-runtime-experimental.js +2 -2
- package/relay-runtime-experimental.min.js +2 -2
- package/relay-runtime.js +1 -1
- package/relay-runtime.min.js +1 -1
package/experimental.js
CHANGED
package/experimental.js.flow
CHANGED
|
@@ -11,11 +11,6 @@
|
|
|
11
11
|
|
|
12
12
|
'use strict';
|
|
13
13
|
|
|
14
|
-
const LiveResolverStore = require('./store/experimental-live-resolvers/LiveResolverStore');
|
|
15
|
-
const {
|
|
16
|
-
isSuspenseSentinel,
|
|
17
|
-
suspenseSentinel,
|
|
18
|
-
} = require('./store/experimental-live-resolvers/LiveResolverSuspenseSentinel');
|
|
19
14
|
const resolverDataInjector = require('./store/experimental-live-resolvers/resolverDataInjector');
|
|
20
15
|
const {
|
|
21
16
|
weakObjectWrapper,
|
|
@@ -24,9 +19,6 @@ const {
|
|
|
24
19
|
|
|
25
20
|
module.exports = {
|
|
26
21
|
resolverDataInjector,
|
|
27
|
-
isSuspenseSentinel,
|
|
28
|
-
LiveResolverStore,
|
|
29
22
|
weakObjectWrapper,
|
|
30
23
|
weakObjectWrapperLive,
|
|
31
|
-
suspenseSentinel,
|
|
32
24
|
};
|
package/index.js
CHANGED
package/lib/experimental.js
CHANGED
|
@@ -10,23 +10,14 @@
|
|
|
10
10
|
*/
|
|
11
11
|
'use strict';
|
|
12
12
|
|
|
13
|
-
var LiveResolverStore = require('./store/experimental-live-resolvers/LiveResolverStore');
|
|
14
|
-
|
|
15
|
-
var _require = require('./store/experimental-live-resolvers/LiveResolverSuspenseSentinel'),
|
|
16
|
-
isSuspenseSentinel = _require.isSuspenseSentinel,
|
|
17
|
-
suspenseSentinel = _require.suspenseSentinel;
|
|
18
|
-
|
|
19
13
|
var resolverDataInjector = require('./store/experimental-live-resolvers/resolverDataInjector');
|
|
20
14
|
|
|
21
|
-
var
|
|
22
|
-
weakObjectWrapper =
|
|
23
|
-
weakObjectWrapperLive =
|
|
15
|
+
var _require = require('./store/experimental-live-resolvers/weakObjectWrapper'),
|
|
16
|
+
weakObjectWrapper = _require.weakObjectWrapper,
|
|
17
|
+
weakObjectWrapperLive = _require.weakObjectWrapperLive;
|
|
24
18
|
|
|
25
19
|
module.exports = {
|
|
26
20
|
resolverDataInjector: resolverDataInjector,
|
|
27
|
-
isSuspenseSentinel: isSuspenseSentinel,
|
|
28
|
-
LiveResolverStore: LiveResolverStore,
|
|
29
21
|
weakObjectWrapper: weakObjectWrapper,
|
|
30
|
-
weakObjectWrapperLive: weakObjectWrapperLive
|
|
31
|
-
suspenseSentinel: suspenseSentinel
|
|
22
|
+
weakObjectWrapperLive: weakObjectWrapperLive
|
|
32
23
|
};
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Relay v0.0.0-main-
|
|
2
|
+
* Relay v0.0.0-main-07c8dfdf
|
|
3
3
|
*/
|
|
4
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("fbjs/lib/warning"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["invariant","@babel/runtime/helpers/interopRequireDefault","@babel/runtime/helpers/createForOfIteratorHelper","fbjs/lib/warning","fbjs/lib/areEqual","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toConsumableArray"],t):"object"==typeof exports?exports.ReactRelayExperimental=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("fbjs/lib/warning"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray")):e.ReactRelayExperimental=t(e.invariant,e["@babel/runtime/helpers/interopRequireDefault"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["fbjs/lib/warning"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/objectSpread2"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,a,n,i,s,o){return function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,a){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:a})},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 a=Object.create(null);if(r.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(a,n,function(t){return e[t]}.bind(null,n));return a},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=31)}([function(t,r){t.exports=e},function(e,t,r){"use strict";var a=(0,r(2).default)(r(18)),n=r(37),i=r(3),s=r(39),o=r(0),l=i.VARIABLE,u=i.LITERAL,c=i.OBJECT_VALUE,d=i.LIST_VALUE;function _(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||o(!1,"getVariableValue(): Undefined variable `%s`.",e),s(t[e])}(e.variableName,t);if(e.kind===u)return e.value;if(e.kind===c){var r={};return e.fields.forEach((function(e){r[e.name]=_(e,t)})),r}if(e.kind===d){var a=[];return e.items.forEach((function(e){null!=e&&a.push(_(e,t))})),a}}function h(e,t){var r={};return e.forEach((function(e){r[e.name]=_(e,t)})),r}function f(e,t){if(!t)return e;var r=[];for(var a in t)if(t.hasOwnProperty(a)){var n,i=t[a];if(null!=i)r.push(a+":"+(null!==(n=JSON.stringify(i))&&void 0!==n?n:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var v={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"__isWithinUnmatchedTypeRefinement",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_SNAPSHOT_KEY:"__resolverSnapshot",RELAY_RESOLVER_ERROR_KEY:"__resolverError",RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:"__resolverOutputTypeRecordIDs",formatStorageKey:f,getArgumentValue:_,getArgumentValues:h,getHandleStorageKey:function(e,t){var r=e.dynamicKey,i=e.handle,s=e.key,o=e.name,l=e.args,u=e.filters,c=n(i,s,o),d=null;return l&&u&&0!==l.length&&0!==u.length&&(d=l.filter((function(e){return u.indexOf(e.name)>-1}))),r&&(d=null!=d?[r].concat((0,a.default)(d)):[r]),null===d?c:f(c,h(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var t,r;return null==e.args?null===(r=e.fragment)||void 0===r?void 0:r.args:null==(null===(t=e.fragment)||void 0===t?void 0:t.args)?e.args:e.args.concat(e.fragment.args)}return void 0===e.args?void 0:e.args}(e),a=e.name;return r&&0!==r.length?f(a,h(r,t)):a},getStableStorageKey:function(e,t){return f(e,s(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=v},function(e,r){e.exports=t},function(e,t,r){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FLIGHT_FIELD:"FlightField",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},function(e,t,r){"use strict";var a=(0,r(2).default)(r(12)),n=r(17),i=r(6).isClientID,s=r(1),o=s.ACTOR_IDENTIFIER_KEY,l=s.ID_KEY,u=s.INVALIDATED_AT_KEY,c=s.REF_KEY,d=s.REFS_KEY,_=s.ROOT_ID,h=s.TYPENAME_KEY,f=r(9),v=r(0),g=r(8);function p(e){return e[l]}function E(e){return e[h]}e.exports={clone:function(e){return(0,a.default)({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==l&&r!==h&&(t[r]=e[r])},create:function(e,t){var r={};return r[l]=e,r[h]=t,r},freeze:function(e){n(e)},getDataID:p,getInvalidationEpoch:function(e){if(null==e)return null;var t=e[u];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];if(null==r)return r;var a=r;return"object"==typeof a&&a&&"string"==typeof a[c]||v(!1,"RelayModernRecord.getLinkedRecordID(): Expected `%s.%s` to be a linked ID, was `%s`.%s",e[l],t,JSON.stringify(a),"object"==typeof a&&void 0!==a[d]?" It appears to be a plural linked record: did you mean to call getLinkedRecords() instead of getLinkedRecord()?":""),a[c]},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[d])||v(!1,"RelayModernRecord.getLinkedRecordIDs(): Expected `%s.%s` to contain an array of linked IDs, got `%s`.%s",e[l],t,JSON.stringify(r),"object"==typeof r&&void 0!==r[c]?" It appears to be a singular linked record: did you mean to call getLinkedRecord() instead of getLinkedRecords()?":""),r[d])},getType:E,getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(c)||r.hasOwnProperty(d))&&v(!1,"RelayModernRecord.getValue(): Expected a scalar (non-link) value for `%s.%s` but found %s.",e[l],t,r.hasOwnProperty(c)?"a linked record":"plural linked records"),r},merge:function(e,t){var r,n,s=p(e),o=p(t);g(s===o,"RelayModernRecord: Invalid record merge, expected both versions of the record to have the same id, got `%s` and `%s`.",s,o);var l=null!==(r=E(e))&&void 0!==r?r:null,u=null!==(n=E(t))&&void 0!==n?n:null;return g(i(o)&&o!==_||l===u,"RelayModernRecord: Invalid record merge, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",s,h,l,u),(0,a.default)((0,a.default)({},e),t)},setValue:function(e,t,r){var a=p(e);if(t===l)g(a===r,"RelayModernRecord: Invalid field update, expected both versions of the record to have the same id, got `%s` and `%s`.",a,r);else if(t===h){var n,s=null!==(n=E(e))&&void 0!==n?n:null,o=null!=r?r:null;g(i(p(e))&&p(e)!==_||s===o,"RelayModernRecord: Invalid field update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",a,h,s,o)}e[t]=r},setLinkedRecordID:function(e,t,r){var a={};a[c]=r,e[t]=a},setLinkedRecordIDs:function(e,t,r){var a={};a[d]=r,e[t]=a},update:function(e,t){var r,n,s=p(e),o=p(t);g(s===o,"RelayModernRecord: Invalid record update, expected both versions of the record to have the same id, got `%s` and `%s`.",s,o);var l=null!==(r=E(e))&&void 0!==r?r:null,u=null!==(n=E(t))&&void 0!==n?n:null;g(i(o)&&o!==_||l===u,"RelayModernRecord: Invalid record update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",s,h,l,u);for(var c=null,d=Object.keys(t),v=0;v<d.length;v++){var R=d[v];!c&&f(e[R],t[R])||((c=null!==c?c:(0,a.default)({},e))[R]=t[R])}return null!==c?c:e},getActorLinkedRecordID:function(e,t){var r=e[t];return null==r?r:(("object"!=typeof r||"string"!=typeof r[c]||null==r[o])&&v(!1,"RelayModernRecord.getActorLinkedRecordID(): Expected `%s.%s` to be an actor specific linked ID, was `%s`.",e[l],t,JSON.stringify(r)),[r[o],r[c]])},setActorLinkedRecordID:function(e,t,r,a){var n={};n[c]=a,n[o]=r,e[t]=n}}},function(e,t){e.exports=r},function(e,t,r){"use strict";var a=r(7),n=r(36).intern;var i=0;e.exports={generateClientID:function(e,t,r){var i=(a.STRING_INTERN_LEVEL<=0?e:n(e,a.MAX_DATA_ID_LENGTH))+":"+t;return null!=r&&(i+=":"+r),0!==i.indexOf("client:")&&(i="client:"+i),i},generateClientObjectClientID:function(e,t,r){var a="".concat("client:").concat(e,":").concat(t);return null!=r&&(a+=":"+r),a},generateUniqueClientID:function(){return"".concat("client:","local:").concat(i++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t,r){"use strict";e.exports={ENABLE_CLIENT_EDGES:!1,ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!0,ENABLE_REACT_FLIGHT_COMPONENT_FIELD:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_LOAD_QUERY_REQUEST_DEDUPING:!0,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,MAX_DATA_ID_LENGTH:null,STRING_INTERN_LEVEL:0,USE_REACT_CACHE:!1,USE_REACT_CACHE_LEGACY_TIMEOUTS:!0,ENABLE_QUERY_RENDERER_SET_STATE_PREVENTION:!1}},function(e,t){e.exports=a},function(e,t){e.exports=n},function(e,t,r){"use strict";var a=(0,r(2).default)(r(12)),n=r(1).getArgumentValues,i=r(0);e.exports={getLocalVariables:function(e,t,r){if(null==t)return e;var i=(0,a.default)({},e),s=r?n(r,e):{};return t.forEach((function(e){var t,r=null!==(t=s[e.name])&&void 0!==t?t:e.defaultValue;i[e.name]=r})),i},getFragmentVariables:function(e,t,r){return null==e.argumentDefinitions?r:(e.argumentDefinitions.forEach((function(s){if(!r.hasOwnProperty(s.name))switch(n=n||(0,a.default)({},r),s.kind){case"LocalArgument":n[s.name]=s.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(s.name)){n[s.name]=void 0;break}n[s.name]=t[s.name];break;default:i(!1,"RelayConcreteVariables: Unexpected node kind `%s` in fragment `%s`.",s.kind,e.name)}})),n||r);var n},getOperationVariables:function(e,t,r){var a={};return e.argumentDefinitions.forEach((function(e){var t=e.defaultValue;null!=r[e.name]&&(t=r[e.name]),a[e.name]=t})),null!=t&&Object.keys(t).forEach((function(e){a[e]=t[e].get()})),a}}},function(e,t,r){"use strict";var a=r(4).getType,n=r(0);e.exports={REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY:"executableDefinitions",REACT_FLIGHT_TREE_STORAGE_KEY:"tree",REACT_FLIGHT_TYPE_NAME:"ReactFlightComponent",getReactFlightClientResponse:function(e){return"ReactFlightComponent"!==a(e)&&n(!1,"getReactFlightClientResponse(): Expected a ReactFlightComponentRecord, got %s.",e),e.tree},refineToReactFlightPayloadData:function(e){return null!=e&&"object"==typeof e&&"string"==typeof e.status&&(Array.isArray(e.tree)||null===e.tree)&&Array.isArray(e.queries)&&Array.isArray(e.fragments)&&Array.isArray(e.errors)?e:null}}},function(e,t){e.exports=i},function(e,t,r){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},function(e,t,r){"use strict";var a=r(10).getFragmentVariables,n=r(1),i=n.CLIENT_EDGE_TRAVERSAL_PATH,s=n.FRAGMENT_OWNER_KEY,o=n.FRAGMENTS_KEY,l=n.ID_KEY,u=n.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,c=r(9),d=r(0),_=r(8);function h(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[l],n=t[o],c=t[s],h=!0===t[u],f=t[i];if("string"==typeof r&&"object"==typeof n&&null!==n&&"object"==typeof n[e.name]&&null!==n[e.name]&&"object"==typeof c&&null!==c&&(null==f||Array.isArray(f))){var v=c,g=f,p=n[e.name];return I(e,r,a(e,v.variables,p),v,h,g)}var E=JSON.stringify(t);return E.length>499&&(E=E.substr(0,498)+"…"),_(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`.",e.name,E,e.name),null}function f(e,t){var r=null;return t.forEach((function(t,a){var n=null!=t?h(e,t):null;null!=n&&(r=r||[]).push(n)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function v(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),f(e,t)):(Array.isArray(t)&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),h(e,t))}function g(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),function(e,t){var r=null;return t.forEach((function(t){var a=null!=t?p(e,t):null;null!=a&&(r=r||[]).push(a)})),r}(e,t)):(Array.isArray(t)&&d(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),p(e,t))}function p(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[l];return"string"==typeof r?r:(_(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`, or `null` is passed as the fragment reference for `%s` if it's conditonally included and the condition isn't met.",e.name,JSON.stringify(t),e.name,e.name),null)}function E(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),m(e,t)):(Array.isArray(t)&&d(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),R(e,t)||{})}function R(e,t){var r=h(e,t);return r?r.variables:null}function m(e,t){var r={};return t.forEach((function(t,a){if(null!=t){var n=R(e,t);null!=n&&Object.assign(r,n)}})),r}function y(e,t){return e.owner===t.owner&&e.dataID===t.dataID&&e.node===t.node&&c(e.variables,t.variables)}function I(e,t,r,a){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],i=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:n,clientEdgeTraversalPath:null!=i?i:null,node:e,variables:r,owner:a}}e.exports={areEqualSelectors:function(e,t){return e===t||(null==e?null==t:null==t?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===t.kind?y(e,t):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===t.kind&&(e.selectors.length===t.selectors.length&&e.selectors.every((function(e,r){return y(e,t.selectors[r])}))))},createReaderSelector:I,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:g,getDataIDsFromObject:function(e,t){var r={};for(var a in e)if(e.hasOwnProperty(a)){var n=e[a],i=t[a];r[a]=g(n,i)}return r},getSingularSelector:h,getPluralSelector:f,getSelector:v,getSelectorsFromObject:function(e,t){var r={};for(var a in e)if(e.hasOwnProperty(a)){var n=e[a],i=t[a];r[a]=v(n,i)}return r},getVariablesFromSingularFragment:R,getVariablesFromPluralFragment:m,getVariablesFromFragment:E,getVariablesFromObject:function(e,t){var r={};for(var a in e)if(e.hasOwnProperty(a)){var n=E(e[a],t[a]);Object.assign(r,n)}return r}}},function(e,t,r){"use strict";e.exports={generateTypeID:function(e){return"client:__type:"+e},isTypeID:function(e){return 0===e.indexOf("client:__type:")},TYPE_SCHEMA_TYPE:"__TypeSchema"}},function(e,t){e.exports=s},function(e,t,r){"use strict";e.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(r){var a=t[r];a&&"object"==typeof a&&!Object.isFrozen(a)&&e(a)})),t}},function(e,t){e.exports=o},function(e,t,r){"use strict";var a=r(3),n=r(0),i=r(8);function s(e){var t=e;return"function"==typeof t?(t=t(),i(!1,"RelayGraphQLTag: node `%s` unexpectedly wrapped in a function.","Fragment"===t.kind?t.name:t.operation.name)):t.default&&(t=t.default),t}function o(e){var t=s(e);return"object"==typeof t&&null!==t&&t.kind===a.FRAGMENT}function l(e){var t=s(e);return"object"==typeof t&&null!==t&&t.kind===a.REQUEST}function u(e){var t=s(e);return"object"==typeof t&&null!==t&&t.kind===a.UPDATABLE_QUERY}function c(e){var t=s(e);return"object"==typeof t&&null!==t&&t.kind===a.INLINE_DATA_FRAGMENT}function d(e){var t=s(e);return o(t)||n(!1,"GraphQLTag: Expected a fragment, got `%s`.",JSON.stringify(t)),t}e.exports={getFragment:d,getNode:s,getPaginationFragment:function(e){var t,r=d(e),a=null===(t=r.metadata)||void 0===t?void 0:t.refetch,n=null==a?void 0:a.connection;return null===a||"object"!=typeof a||null===n||"object"!=typeof n?null:r},getRefetchableFragment:function(e){var t,r=d(e),a=null===(t=r.metadata)||void 0===t?void 0:t.refetch;return null===a||"object"!=typeof a?null:r},getRequest:function(e){var t=s(e);return l(t)||n(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)),t},getUpdatableQuery:function(e){var t=s(e);return u(t)||n(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)),t},getInlineDataFragment:function(e){var t=s(e);return c(t)||n(!1,"GraphQLTag: Expected an inline data fragment, got `%s`.",JSON.stringify(t)),t},graphql:function(e){n(!1,"graphql: Unexpected invocation at runtime. Either the Babel transform was not set up, or it failed to identify this call site. Make sure it is being used verbatim as `graphql`. Note also that there cannot be a space between graphql and the backtick that follows.")},isFragment:o,isRequest:l,isUpdatableQuery:u,isInlineDataFragment:c}},function(e,t,r){"use strict";var a=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});e.exports={isSuspenseSentinel:function(e){return e===a},suspenseSentinel:function(){return a}}},function(e,t,r){"use strict";var a="undefined"!=typeof WeakSet,n="undefined"!=typeof WeakMap;e.exports=function e(t,r){if(t===r||"object"!=typeof t||t instanceof Set||t instanceof Map||a&&t instanceof WeakSet||n&&t instanceof WeakMap||!t||"object"!=typeof r||r instanceof Set||r instanceof Map||a&&r instanceof WeakSet||n&&r instanceof WeakMap||!r)return r;var i=!1,s=Array.isArray(t)?t:null,o=Array.isArray(r)?r:null;if(s&&o)i=o.reduce((function(t,r,a){var n=e(s[a],r);return n!==o[a]&&(Object.isFrozen(o)||(o[a]=n)),t&&n===s[a]}),!0)&&s.length===o.length;else if(!s&&!o){var l=t,u=r,c=Object.keys(l),d=Object.keys(u);i=d.reduce((function(t,r){var a=e(l[r],u[r]);return a!==u[r]&&(Object.isFrozen(u)||(u[r]=a)),t&&a===l[r]}),!0)&&c.length===d.length}return i?t:r}},function(e,t,r){"use strict";var a=r(0);e.exports={assertInternalActorIdentifier:function(e){"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"!==e&&a(!1,'Expected to use only internal version of the `actorIdentifier`. "%s" was provided.',e)},getActorIdentifier:function(e){return e},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"}},function(e,t,r){"use strict";var a=(0,r(2).default)(r(5)),n=r(1).getArgumentValues,i=r(3),s=i.ACTOR_CHANGE,o=i.ALIASED_FRAGMENT_SPREAD,l=i.ALIASED_INLINE_FRAGMENT_SPREAD,u=i.CLIENT_EDGE_TO_CLIENT_OBJECT,c=i.CLIENT_EDGE_TO_SERVER_OBJECT,d=i.CLIENT_EXTENSION,_=i.CONDITION,h=i.DEFER,f=i.FLIGHT_FIELD,v=i.FRAGMENT_SPREAD,g=i.INLINE_DATA_FRAGMENT_SPREAD,p=i.INLINE_FRAGMENT,E=i.LINKED_FIELD,R=i.MODULE_IMPORT,m=i.RELAY_LIVE_RESOLVER,y=i.RELAY_RESOLVER,I=i.REQUIRED_FIELD,b=i.SCALAR_FIELD,S=i.STREAM,D=["id","__id","__typename","js"];function T(e,t,r,i,O,F){var C,M,P=(0,a.default)(i);try{var x=function(){var i=M.value;switch(i.kind){case E:i.plural?Object.defineProperty(e,null!==(V=i.alias)&&void 0!==V?V:i.name,{get:N(i,r,t,O,F),set:L(i,r,t,O)}):Object.defineProperty(e,null!==(w=i.alias)&&void 0!==w?w:i.name,{get:k(i,r,t,O,F),set:A(i,r,t,O)});break;case b:var P=null!==(C=i.alias)&&void 0!==C?C:i.name;Object.defineProperty(e,P,{get:function(){var e,s=n(null!==(e=i.args)&&void 0!==e?e:[],r),o=t.getValue(i.name,s);return null==o&&(o=function(e,t,r,n,i){var s,o=(0,a.default)(i);try{for(o.s();!(s=o.n()).done;){var l=s.value;if("scalar"===l.kind){var u=l.handle(e,r,t,n);if(void 0!==u)return u}}}catch(e){o.e(e)}finally{o.f()}}(i,s,t,O,F)),o},set:D.includes(i.name)?void 0:function(e){var a,s=n(null!==(a=i.args)&&void 0!==a?a:[],r);t.setValue__UNSAFE(e,i.name,s)}});break;case p:t.getType()===i.type&&T(e,t,r,i.selections,O,F);break;case d:T(e,t,r,i.selections,O,F);break;case v:break;case _:case s:case o:case g:case l:case u:case c:case h:case f:case R:case m:case I:case S:case y:throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.");default:throw i.kind,new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(P.s();!(M=P.n()).done;){var V,w;x()}}catch(e){P.e(e)}finally{P.f()}}function L(e,t,r,a){return function(i){var s,o=n(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==i)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var l=i.map((function(e){if(null==e)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var t=e.__id;if(null==t)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var r=a.get(t);if(null==r)throw new Error("Did not find item with data id ".concat(t," in the store."));return r}));r.setLinkedRecords(l,e.name,o)}}function A(e,t,r,a){return function(i){var s,o=n(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==i)r.setValue(i,e.name,o);else{var l=i.__id;if(null==l)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var u=a.get(l);if(null==u)throw new Error("Did not find item with data id ".concat(l," in the store."));r.setLinkedRecord(u,e.name,o)}}}function N(e,t,r,i,s){return function(){var o,l=n(null!==(o=e.args)&&void 0!==o?o:[],t),u=r.getLinkedRecords(e.name,l);return void 0===u&&(u=function(e,t,r,n,i){var s,o=(0,a.default)(i);try{for(o.s();!(s=o.n()).done;){var l=s.value;if("pluralLinked"===l.kind){var u=l.handle(e,r,t,n);if(null!=u)return u.map((function(e){if(null!=e)return n.get(e)}))}}}catch(e){o.e(e)}finally{o.f()}}(e,l,r,i,s)),null!=u?u.map((function(r){if(null!=r){var a={};return T(a,r,t,e.selections,i,s),Object.freeze(a),a}return r})):u}}function k(e,t,r,i,s){return function(){var o,l=n(null!==(o=e.args)&&void 0!==o?o:[],t),u=r.getLinkedRecord(e.name,l);if(void 0===u&&(u=function(e,t,r,n,i){var s,o=(0,a.default)(i);try{for(o.s();!(s=o.n()).done;){var l=s.value;if("linked"===l.kind){var u=l.handle(e,r,t,n);if(null!=u)return n.get(u)}}}catch(e){o.e(e)}finally{o.f()}}(e,l,r,i,s)),null!=u){var c={};return T(c,u,t,e.selections,i,s),Object.freeze(c),c}return u}}e.exports={createUpdatableProxy:function(e,t,r,a,n){var i={};return T(i,e,t,r,a,n),Object.freeze(i),i}}},function(e,t,r){"use strict";var a=r(3),n=a.REQUEST,i=a.SPLIT_OPERATION;e.exports=function(e){switch(e.kind){case n:return e.operation;case i:default:return e}}},function(e,t,r){"use strict";var a=r(3).LINKED_FIELD,n=r(1).getHandleStorageKey,i=r(9),s=r(0);e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===a&&t.name===e.name&&t.alias===e.alias&&i(t.args,e.args)}));o&&o.kind===a||s(!1,"cloneRelayHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=n(e,r);return{kind:"LinkedField",alias:o.alias,name:l,storageKey:l,args:null,concreteType:o.concreteType,plural:o.plural,selections:o.selections}}},function(e,t,r){"use strict";var a=(0,r(2).default)(r(5)),n=r(13),i=n.EXISTENT,s=n.NONEXISTENT,o=n.UNKNOWN,l=function(){function e(e){var t=this;this._records=new Map,null!=e&&Object.keys(e).forEach((function(r){t._records.set(r,e[r])}))}e.create=function(t){return new e(t)};var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(e){this._records.set(e,null)},t.get=function(e){return this._records.get(e)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?s:i:o},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e,t={},r=(0,a.default)(this._records);try{for(r.s();!(e=r.n()).done;){var n=e.value,i=n[0],s=n[1];t[i]=s}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=l},function(e,t,r){"use strict";var a=r(2).default,n=a(r(5)),i=a(r(16)),s=a(r(18)),o=r(3),l=o.ACTOR_CHANGE,u=o.ALIASED_FRAGMENT_SPREAD,c=o.ALIASED_INLINE_FRAGMENT_SPREAD,d=o.CLIENT_EDGE_TO_CLIENT_OBJECT,_=o.CLIENT_EDGE_TO_SERVER_OBJECT,h=o.CLIENT_EXTENSION,f=o.CONDITION,v=o.DEFER,g=o.FLIGHT_FIELD,p=o.FRAGMENT_SPREAD,E=o.INLINE_DATA_FRAGMENT_SPREAD,R=o.INLINE_FRAGMENT,m=o.LINKED_FIELD,y=o.MODULE_IMPORT,I=o.RELAY_LIVE_RESOLVER,b=o.RELAY_RESOLVER,S=o.REQUIRED_FIELD,D=o.SCALAR_FIELD,T=o.STREAM,L=r(7),A=r(20).isSuspenseSentinel,N=r(10),k=r(4),O=r(11).getReactFlightClientResponse,F=r(1),C=F.CLIENT_EDGE_TRAVERSAL_PATH,M=F.FRAGMENT_OWNER_KEY,P=F.FRAGMENT_PROP_NAME_KEY,x=F.FRAGMENTS_KEY,V=F.ID_KEY,w=F.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,U=F.MODULE_COMPONENT_KEY,j=F.ROOT_ID,G=F.getArgumentValues,Y=F.getModuleComponentKey,K=F.getStorageKey,H=r(48).NoopResolverCache,z=r(28),q=z.RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL,B=z.withResolverContext,W=r(15).generateTypeID,J=r(0);function Q(e,t,r){return new X(e,t,null!=r?r:new H).read()}var X=function(){function e(e,t,r){var a;this._clientEdgeTraversalPath=L.ENABLE_CLIENT_EDGES&&null!==(a=t.clientEdgeTraversalPath)&&void 0!==a&&a.length?(0,s.default)(t.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._owner=t.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=t,this._variables=t.variables,this._resolverCache=r,this._resolverErrors=[],this._fragmentName=t.node.name,this._updatedDataIDs=new Set}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,a=e.isWithinUnmatchedTypeRefinement,n=t.abstractKey,i=this._recordSource.get(r),s=!a;s&&null==n&&null!=i&&(k.getType(i)!==t.type&&r!==j&&(s=!1));if(s&&null!=n&&null!=i){var o=this._implementsInterface(i,n);!1===o?s=!1:null==o&&(this._isMissingData=!0)}this._isWithinUnmatchedTypeRefinement=!s;var l=this._traverse(t,r,null);return this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:l,isMissingData:this._isMissingData&&s,missingClientEdges:L.ENABLE_CLIENT_EDGES&&this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields,relayResolverErrors:this._resolverErrors}},t._markDataAsMissing=function(){if(this._isMissingData=!0,L.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},t._traverse=function(e,t,r){var a=this._recordSource.get(t);if(this._seenRecords.add(t),null==a)return void 0===a&&this._markDataAsMissing(),a;var n=r||{};return this._traverseSelections(e.selections,a,n)?n:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||J(!1,"RelayReader(): Undefined variable `%s`.",e),this._variables[e]},t._maybeReportUnexpectedNull=function(e,t,r){var a;if("THROW"!==(null===(a=this._missingRequiredFields)||void 0===a?void 0:a.action)){var n=this._fragmentName;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:n}});case"LOG":return void(null==this._missingRequiredFields?this._missingRequiredFields={action:t,fields:[{path:e,owner:n}]}:this._missingRequiredFields={action:t,fields:[].concat((0,s.default)(this._missingRequiredFields.fields),[{path:e,owner:n}])})}}},t._traverseSelections=function(e,t,r){for(var a=0;a<e.length;a++){var n=e[a];switch(n.kind){case S:if(null==this._readRequiredField(n,t,r)){var i=n.action;return"NONE"!==i&&this._maybeReportUnexpectedNull(n.path,i,t),!1}break;case D:this._readScalar(n,t,r);break;case m:n.plural?this._readPluralLink(n,t,r):this._readLink(n,t,r);break;case f:if(Boolean(this._getVariableValue(n.condition))===n.passingValue)if(!this._traverseSelections(n.selections,t,r))return!1;break;case R:if(!1===this._readInlineFragment(n,t,r))return!1;break;case I:case b:if(!L.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(n,t,r);break;case p:this._createFragmentPointer(n,t,r);break;case u:r[n.name]=this._createAliasedFragmentSpread(n,t);break;case c:var s=this._readInlineFragment(n.fragment,t,{});!1===s&&(s=null),r[n.name]=s;break;case y:this._readModuleImport(n,t,r);break;case E:this._createInlineDataOrResolverFragmentPointer(n,t,r);break;case v:case h:var o=this._isMissingData,A=this._missingClientEdges.length;L.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.push(null);var N=this._traverseSelections(n.selections,t,r);if(this._isMissingData=o||this._missingClientEdges.length>A||this._missingLiveResolverFields.length>0,L.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.pop(),!N)return!1;break;case T:if(!this._traverseSelections(n.selections,t,r))return!1;break;case g:if(!L.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._readFlightField(n,t,r);break;case l:this._readActorChange(n,t,r);break;case d:case _:if(!L.ENABLE_CLIENT_EDGES)throw new Error("Client edges are not yet supported.");this._readClientEdge(n,t,r);break;default:J(!1,"RelayReader(): Unexpected ast kind `%s`.",n.kind)}}return!0},t._readRequiredField=function(e,t,r){switch(e.field.kind){case D:return this._readScalar(e.field,t,r);case m:return e.field.plural?this._readPluralLink(e.field,t,r):this._readLink(e.field,t,r);case b:case I:if(!L.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,t,r);case d:case _:if(!L.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readClientEdge(e.field,t,r);default:e.field.kind,J(!1,"RelayReader(): Unexpected ast kind `%s`.",e.kind)}},t._readResolverField=function(e,t,r){var a,s,o=this,l=e.fragment,u=k.getDataID(t),c=function(e){return null!=s?{data:s.data,isMissingData:s.isMissingData}:{data:(s=Q(o._recordSource,e,o._resolverCache)).data,isMissingData:s.isMissingData}},d=this._resolverCache.readFromCacheOrEvaluate(u,e,this._variables,(function(){if(null!=l){var t={__id:u,__fragmentOwner:o._owner,__fragments:(0,i.default)({},l.name,l.args?G(l.args,o._variables):{})};return B({getDataForResolverFragment:c},(function(){var r=Z(e,o._variables,t,o._fragmentName),a=r[0],n=r[1];return{resolverResult:a,snapshot:s,error:n}}))}var r=Z(e,o._variables,null,o._fragmentName);return{resolverResult:r[0],snapshot:void 0,error:r[1]}}),c),_=d[0],h=d[1],f=d[2],v=d[3],g=d[4],p=d[5];if(null!=v){if(null!=v.missingRequiredFields&&this._addMissingRequiredFields(v.missingRequiredFields),null!=v.missingClientEdges){var E,R=(0,n.default)(v.missingClientEdges);try{for(R.s();!(E=R.n()).done;){var m=E.value;this._missingClientEdges.push(m)}}catch(e){R.e(e)}finally{R.f()}}if(null!=v.missingLiveResolverFields){this._isMissingData=this._isMissingData||v.missingLiveResolverFields.length>0;var y,I=(0,n.default)(v.missingLiveResolverFields);try{for(I.s();!(y=I.n()).done;){var b=y.value;this._missingLiveResolverFields.push(b)}}catch(e){I.e(e)}finally{I.f()}}var S,D=(0,n.default)(v.relayResolverErrors);try{for(D.s();!(S=D.n()).done;){var T=S.value;this._resolverErrors.push(T)}}catch(e){D.e(e)}finally{D.f()}this._isMissingData=this._isMissingData||v.isMissingData}if(f&&this._resolverErrors.push(f),null!=h&&this._seenRecords.add(h),null!=g&&(this._isMissingData=!0,this._missingLiveResolverFields.push({path:"".concat(this._fragmentName,".").concat(e.path),liveStateID:g})),null!=p){var L,A=(0,n.default)(p);try{for(A.s();!(L=A.n()).done;){var N=L.value;this._updatedDataIDs.add(N)}}catch(e){A.e(e)}finally{A.f()}}return r[null!==(a=e.alias)&&void 0!==a?a:e.name]=_,_},t._readClientEdge=function(e,t,r){var a,n=this,i=e.backingField;"ClientExtension"===i.kind&&J(!1,"Client extension client edges are not yet implemented.");var s=null!==(a=i.alias)&&void 0!==a?a:i.name,o={};this._traverseSelections([i],t,o);var l=o[s];if(null==l||A(l))r[s]=l;else{if(e.linkedField.plural?Array.isArray(l)||J(!1,"Expected plural Client Edge Relay Resolver to return an array of IDs."):"string"!=typeof l&&J(!1,"Expected a Client Edge Relay Resolver to return an ID of type `string`."),e.kind===d?(null==i.normalizationInfo&&(l=e.linkedField.plural?l.map((function(t){return n._resolverCache.ensureClientRecord(t,e.concreteType)})):this._resolverCache.ensureClientRecord(l,e.concreteType)),this._clientEdgeTraversalPath.push(null)):(e.linkedField.plural&&J(!1,"Unexpected Client Edge to plural server type. This should be prevented by the compiler."),this._clientEdgeTraversalPath.push({readerClientEdge:e,clientEdgeDestinationID:l})),e.linkedField.plural)r[s]=this._readLinkedIds(e.linkedField,l,t,r);else{var u=r[s];null!=u&&"object"!=typeof u&&J(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",s,k.getDataID(t),u),r[s]=this._traverse(e.linkedField,l,u)}this._clientEdgeTraversalPath.pop()}},t._readFlightField=function(e,t,r){var a,n=null!==(a=e.alias)&&void 0!==a?a:e.name,i=K(e,this._variables),s=k.getLinkedRecordID(t,i);if(null==s)return r[n]=s,void 0===s&&this._markDataAsMissing(),s;var o=this._recordSource.get(s);if(this._seenRecords.add(s),null==o)return r[n]=o,void 0===o&&this._markDataAsMissing(),o;var l=O(o);return r[n]=l,l},t._readScalar=function(e,t,r){var a,n=null!==(a=e.alias)&&void 0!==a?a:e.name,i=K(e,this._variables),s=k.getValue(t,i);return void 0===s&&this._markDataAsMissing(),r[n]=s,s},t._readLink=function(e,t,r){var a,n=null!==(a=e.alias)&&void 0!==a?a:e.name,i=K(e,this._variables),s=k.getLinkedRecordID(t,i);if(null==s)return r[n]=s,void 0===s&&this._markDataAsMissing(),s;var o=r[n];null!=o&&"object"!=typeof o&&J(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",n,k.getDataID(t),o);var l=this._traverse(e,s,o);return r[n]=l,l},t._readActorChange=function(e,t,r){var a,n=null!==(a=e.alias)&&void 0!==a?a:e.name,i=K(e,this._variables),s=k.getActorLinkedRecordID(t,i);if(null==s)return r[n]=s,void 0===s&&this._markDataAsMissing(),r[n];var o=s[0],l=s[1],u={};return this._createFragmentPointer(e.fragmentSpread,{__id:l},u),r[n]={__fragmentRef:u,__viewer:o},r[n]},t._readPluralLink=function(e,t,r){var a=K(e,this._variables),n=k.getLinkedRecordIDs(t,a);return this._readLinkedIds(e,n,t,r)},t._readLinkedIds=function(e,t,r,a){var n,i=this,s=null!==(n=e.alias)&&void 0!==n?n:e.name;if(null==t)return a[s]=t,void 0===t&&this._markDataAsMissing(),t;var o=a[s];null==o||Array.isArray(o)||J(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an array, got `%s`.",s,k.getDataID(r),o);var l=o||[];return t.forEach((function(t,a){if(null==t)return void 0===t&&i._markDataAsMissing(),void(l[a]=t);var n=l[a];null!=n&&"object"!=typeof n&&J(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",s,k.getDataID(r),n),l[a]=i._traverse(e,t,n)})),a[s]=l,l},t._readModuleImport=function(e,t,r){var a=Y(e.documentName),n=k.getValue(t,a);null!=n?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},t,r),r[P]=e.fragmentPropName,r[U]=n):void 0===n&&this._markDataAsMissing()},t._createAliasedFragmentSpread=function(e,t){var r=e.abstractKey;if(null==r){var a=k.getType(t);if(null==a||a!==e.type)return null}else{var n=this._implementsInterface(t,r);if(!1===n)return null;if(null==n)return void this._markDataAsMissing()}var i={};return this._createFragmentPointer(e.fragment,t,i),i},t._readInlineFragment=function(e,t,r){var a=e.abstractKey;if(null==a){var n=k.getType(t);if(null==n||n!==e.type)return null;if(!this._traverseSelections(e.selections,t,r))return!1}else{var i=this._implementsInterface(t,a),s=this._isMissingData,o=this._isWithinUnmatchedTypeRefinement;if(this._isWithinUnmatchedTypeRefinement=o||!1===i,this._traverseSelections(e.selections,t,r),this._isWithinUnmatchedTypeRefinement=o,!1===i)return void(this._isMissingData=s);if(null==i)return this._markDataAsMissing(),null}return r},t._createFragmentPointer=function(e,t,r){var a=r[x];null==a&&(a=r[x]={}),("object"!=typeof a||null==a)&&J(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",a),null==r[V]&&(r[V]=k.getDataID(t)),a[e.name]=e.args?G(e.args,this._variables):{},r[M]=this._owner,r[w]=this._isWithinUnmatchedTypeRefinement,L.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(r[C]=(0,s.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(e,t,r){var a=r[x];null==a&&(a=r[x]={}),("object"!=typeof a||null==a)&&J(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",a),null==r[V]&&(r[V]=k.getDataID(t));var n={},i=this._fragmentName;this._fragmentName=e.name;var s=this._variables,o=e.args?G(e.args,this._variables):{};this._variables=N.getFragmentVariables(e,this._owner.variables,o),this._traverseSelections(e.selections,t,n),this._variables=s,this._fragmentName=i,a[e.name]=n},t._addMissingRequiredFields=function(e){null!=this._missingRequiredFields?"THROW"!==this._missingRequiredFields.action&&("THROW"!==e.action?this._missingRequiredFields={action:"LOG",fields:[].concat((0,s.default)(this._missingRequiredFields.fields),(0,s.default)(e.fields))}:this._missingRequiredFields=e):this._missingRequiredFields=e},t._implementsInterface=function(e,t){var r=k.getType(e),a=this._recordSource.get(W(r));return null!=a?k.getValue(a,t):null},e}();function Z(e,t,r,a){var n="function"==typeof e.resolverModule?e.resolverModule:e.resolverModule.default,i=null,s=null;try{var o=[];null!=e.fragment&&o.push(r);var l=e.args?G(e.args,t):void 0;o.push(l),i=n.apply(null,o)}catch(t){var u;if(t===q)i=void 0;else s={field:{path:null!==(u=e.path)&&void 0!==u?u:"[UNKNOWN]",owner:a},error:t}}return[i,s]}e.exports={read:Q}},function(e,t,r){"use strict";var a=r(19).getFragment,n=r(14).getSelector,i=r(0),s=[];var o={};e.exports={readFragment:function(e,t){if(!s.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var r=s[s.length-1],l=a(e),u=n(l,t);null==u&&i(!1,"Expected a selector for the fragment of the resolver ".concat(l.name,", but got null.")),"SingularReaderSelector"!==u.kind&&i(!1,"Expected a singular reader selector for the fragment of the resolver ".concat(l.name,", but it was plural."));var c=r.getDataForResolverFragment(u,t),d=c.data;if(c.isMissingData)throw o;return d},withResolverContext:function(e,t){s.push(e);try{return t()}finally{s.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:o}},function(e,t,r){"use strict";var a=r(0),n=r(1).RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,i=r(4);e.exports=function(e){var t=i.getValue(e,n);return null==t?null:(t instanceof Set||a(!1,"getOutputTypeRecordIDs: Expected the `%s` field on record `%s` to be of type Set. Instead, it is a %s.",n,typeof t),new Set(t))}},function(e,t,r){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&"function"==typeof e.read&&"function"==typeof e.subscribe}},function(e,t,r){"use strict";var a=r(32),n=r(20),i=n.isSuspenseSentinel,s=n.suspenseSentinel,o=r(55),l=r(56),u=l.weakObjectWrapper,c=l.weakObjectWrapperLive;e.exports={resolverDataInjector:o,isSuspenseSentinel:i,LiveResolverStore:a,weakObjectWrapper:u,weakObjectWrapperLive:c,suspenseSentinel:s}},function(e,t,r){"use strict";var a=r(2).default,n=a(r(5)),i=a(r(16)),s=r(22),o=s.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,l=s.assertInternalActorIdentifier,u=r(17),c=r(33),d=r(34),_=r(45),h=r(4),f=r(47),v=r(27),g=r(49),p=r(11),E=r(50),R=r(1),m=r(1),y=m.ROOT_ID,I=m.ROOT_TYPE,b=r(52),S=b.LiveResolverCache,D=b.getUpdatedDataIDs,T=r(0),L=function(){function e(e,t){var r,a,n,s,o,l,u,d=this;(0,i.default)(this,"_gcStep",(function(){d._gcRun&&(d._gcRun.next().done?d._gcRun=null:d._gcScheduler(d._gcStep))}));for(var f=e.getRecordIDs(),v=0;v<f.length;v++){var g=e.get(f[v]);g&&h.freeze(g)}this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:10,this._gcRun=null,this._gcScheduler=null!==(a=null==t?void 0:t.gcScheduler)&&void 0!==a?a:c,this._getDataID=null!==(n=null==t?void 0:t.getDataID)&&void 0!==n?n:_,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(s=null==t?void 0:t.log)&&void 0!==s?s:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(o=null==t?void 0:t.operationLoader)&&void 0!==o?o:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new S((function(){return d._getMutableRecordSource()}),this),this._storeSubscriptions=new E(null==t?void 0:t.log,this._resolverCache),this._updatedRecordIDs=new Set,this._treatMissingFieldsAsNull=null!==(l=null==t?void 0:t.treatMissingFieldsAsNull)&&void 0!==l&&l,this._actorIdentifier=null==t?void 0:t.actorIdentifier,this._reactFlightPayloadDeserializer=null==t?void 0:t.reactFlightPayloadDeserializer,this._reactFlightServerErrorHandler=null==t?void 0:t.reactFlightServerErrorHandler,this._shouldProcessClientComponents=null!==(u=null==t?void 0:t.shouldProcessClientComponents)&&void 0!==u&&u,function(e){if(!e.has(y)){var t=h.create(y,I);e.set(y,t)}}(this._recordSource)}var t=e.prototype;return t.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t.getLiveResolverPromise=function(e){return this._resolverCache.getLiveResolverPromise(e)},t.batchLiveStateUpdates=function(e){this._resolverCache.batchLiveStateUpdates(e)},t.check=function(e,t){var r,a,n,i,s=e.root,u=this._getMutableRecordSource(),c=this._globalInvalidationEpoch,_=this._roots.get(e.request.identifier),h=null!=_?_.epoch:null;if(null!=c&&(null==h||h<=c))return{status:"stale"};var f=null!==(r=null==t?void 0:t.handlers)&&void 0!==r?r:[],v=null!==(a=null==t?void 0:t.getSourceForActor)&&void 0!==a?a:function(e){return l(e),u},g=null!==(n=null==t?void 0:t.getTargetForActor)&&void 0!==n?n:function(e){return l(e),u};return function(e,t,r,a){var n=e.mostRecentlyInvalidatedAt,i=e.status;if("number"==typeof n&&(null==t||n>t))return{status:"stale"};if("missing"===i)return{status:"missing"};if(null!=r&&null!=a){if(r<=Date.now()-a)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(d.check(v,g,null!==(i=null==t?void 0:t.defaultActorIdentifier)&&void 0!==i?i:o,s,f,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),h,null==_?void 0:_.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,r=e.request.identifier,a=!1,n=this._roots.get(r);return null!=n?(0===n.refCount&&(this._releaseBuffer=this._releaseBuffer.filter((function(e){return e!==r}))),n.refCount+=1):this._roots.set(r,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!a){a=!0;var e=t._roots.get(r);if(null!=e&&(e.refCount--,0===e.refCount)){var n=t._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=n&&e.fetchTime<=Date.now()-n)t._roots.delete(r),t.scheduleGC();else if(t._releaseBuffer.push(r),t._releaseBuffer.length>t._gcReleaseBufferSize){var i=t._releaseBuffer.shift();t._roots.delete(i),t.scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource(),r=v.read(t,e,this._resolverCache);return u(r),r},t.notify=function(e,t){var r=this,a=this.__log;null!=a&&a({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch),this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var n=this.getSource(),i=[];if(this._storeSubscriptions.updateSubscriptions(n,this._updatedRecordIDs,i,e),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),null!=a&&a({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var s=e.request.identifier,o=this._roots.get(s);if(null!=o)o.epoch=this._currentWriteEpoch,o.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var l={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(s),this._roots.set(s,l)}}return i},t.publish=function(e,t){var r=this._getMutableRecordSource();!function(e,t,r,a,n,i){a&&a.forEach((function(a){var n,s=e.get(a),o=t.get(a);null!==o&&((n=null!=s?h.clone(s):null!=o?h.clone(o):null)&&(h.setValue(n,R.INVALIDATED_AT_KEY,r),i.add(a),e.set(a,n)))}));for(var s=t.getRecordIDs(),o=0;o<s.length;o++){var l=s[o],u=t.get(l),c=e.get(l);if(u&&h.freeze(u),u&&c){var d=h.getType(c)===p.REACT_FLIGHT_TYPE_NAME?u:h.update(c,u);d!==c&&(h.freeze(d),n.add(l),e.set(l,d))}else null===u?(e.delete(l),null!==c&&n.add(l)):u&&(e.set(l,u),n.add(l))}}(r,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var a=this.__log;null!=a&&a({name:"store.publish",source:e,optimistic:r===this._optimisticSource})},t.subscribe=function(e,t){return this._storeSubscriptions.subscribe(e,t)},t.holdGC=function(){var e=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;return{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return"LiveResolverStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(e){var t=this,r=new Map;return e.forEach((function(e){var a,n=t.getSource().get(e);r.set(e,null!==(a=h.getInvalidationEpoch(n))&&void 0!==a?a:null)})),r.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:r}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,r=e.invalidations;if(t.get("global")!==r.get("global"))return!0;var a,i=(0,n.default)(e.dataIDs);try{for(i.s();!(a=i.n()).done;){var s=a.value;if(t.get(s)!==r.get(s))return!0}}catch(e){i.e(e)}finally{i.f()}return!1},t.subscribeToInvalidationState=function(e,t){var r=this,a={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(a),{dispose:function(){r._invalidationSubscriptions.delete(a)}}},t._updateInvalidationSubscription=function(e,t){var r=this,a=e.callback,n=e.invalidationState.dataIDs;(t||n.some((function(e){return r._invalidatedRecordIDs.has(e)})))&&a()},t.snapshot=function(){null!=this._optimisticSource&&T(!1,"LiveResolverStore: Unexpected call to snapshot() while a previous snapshot exists.");var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=f.create(this.getSource())},t.restore=function(){var e=this._optimisticSource;e||T(!1,"LiveResolverStore: Unexpected call to restore(), expected a snapshot to exist (make sure to call snapshot()).");var t=this.__log;null!=t&&t({name:"store.restore"});var r=f.getOptimisticRecordIDs(e);this._resolverCache.unsubscribeFromLiveResolverRecords(r),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions(),this._resolverCache.invalidateResolverRecords(r)},t.scheduleGC=function(){this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},t._collect=function*(){e:for(;;){var e,t=this._currentWriteEpoch,r=new Set,a=(0,n.default)(this._roots.values());try{for(a.s();!(e=a.n()).done;){var i=e.value.operation.root;if(g.mark(this._recordSource,i,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(e){a.e(e)}finally{a.f()}var s=this.__log;if(null!=s&&s({name:"store.gc",references:r}),0===r.size)this._recordSource.clear();else for(var o=this._recordSource.getRecordIDs(),l=0;l<o.length;l++){var u=o[l];r.has(u)||this._recordSource.remove(u)}return}},t.__getNormalizationOptions=function(e){return{path:e,getDataID:this._getDataID,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,reactFlightPayloadDeserializer:this._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,shouldProcessClientComponents:this._shouldProcessClientComponents,actorIdentifier:this._actorIdentifier}},t.__notifyUpdatedSubscribers=function(e){var t=D(e),r=this._updatedRecordIDs;this._updatedRecordIDs=t,this.notify(),this._updatedRecordIDs=r},e}();e.exports=L},function(e,t,r){"use strict";var a=Promise.resolve();function n(e){setTimeout((function(){throw e}),0)}e.exports=function(e){a.then(e).catch(n)}},function(e,t,r){"use strict";var a=(0,r(2).default)(r(5)),n=r(35),i=r(40),s=r(24),o=r(3),l=r(7),u=r(6).isClientID,c=r(25),d=r(44),_=r(10).getLocalVariables,h=r(4),f=r(13),v=f.EXISTENT,g=f.UNKNOWN,p=r(11),E=r(1),R=r(15),m=R.generateTypeID,y=R.TYPE_SCHEMA_TYPE,I=r(0),b=o.ACTOR_CHANGE,S=o.CONDITION,D=o.CLIENT_COMPONENT,T=o.CLIENT_EXTENSION,L=o.DEFER,A=o.FLIGHT_FIELD,N=o.FRAGMENT_SPREAD,k=o.INLINE_FRAGMENT,O=o.LINKED_FIELD,F=o.LINKED_HANDLE,C=o.MODULE_IMPORT,M=o.RELAY_RESOLVER,P=o.SCALAR_FIELD,x=o.SCALAR_HANDLE,V=o.STREAM,w=o.TYPE_DISCRIMINATOR,U=E.ROOT_ID,j=E.getModuleOperationKey,G=E.getStorageKey,Y=E.getArgumentValues;var K=function(){function e(e,t,r,a,n,i,s,o){this._getSourceForActor=e,this._getTargetForActor=t,this._getDataID=s,this._source=e(r),this._mutatorRecordSourceProxyCache=new Map;var l=this._getMutatorAndRecordProxyForActor(r),u=l[0],c=l[1];this._mostRecentlyInvalidatedAt=null,this._handlers=n,this._mutator=u,this._operationLoader=null!=i?i:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=a,this._shouldProcessClientComponents=o}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(e){var t=this._mutatorRecordSourceProxyCache.get(e);if(null==t){var r=this._getTargetForActor(e),a=new n(this._getSourceForActor(e),r);t=[a,new i(a,this._getDataID,void 0,this._handlers)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return this._assignClientAbstractTypes(e),this._traverse(e,t),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||I(!1,"RelayAsyncLoader(): Undefined variable `%s`.",e),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!u(t)){var r,n=null!=e.args?Y(e.args,this._variables):{},i=(0,a.default)(this._handlers);try{for(i.s();!(r=i.n()).done;){var s=r.value;if("scalar"===s.kind){var o=s.handle(e,this._recordSourceProxy.get(t),n,this._recordSourceProxy);if(void 0!==o)return o}}}catch(e){i.e(e)}finally{i.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,n=null!=e.args?Y(e.args,this._variables):{},i=(0,a.default)(this._handlers);try{for(i.s();!(r=i.n()).done;){var s=r.value;if("linked"===s.kind){var o=s.handle(e,this._recordSourceProxy.get(t),n,this._recordSourceProxy);if(void 0!==o&&(null===o||this._mutator.getStatus(o)===v))return o}}}catch(e){i.e(e)}finally{i.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,n=this,i=null!=e.args?Y(e.args,this._variables):{},s=(0,a.default)(this._handlers);try{for(s.s();!(r=s.n()).done;){var o=r.value;if("pluralLinked"===o.kind){var l=o.handle(e,this._recordSourceProxy.get(t),i,this._recordSourceProxy);if(null!=l){if(l.every((function(e){return null!=e&&n._mutator.getStatus(e)===v})))return l}else if(null===l)return null}}}catch(e){s.e(e)}finally{s.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===g&&this._handleMissing(),r===v){var a=this._source.get(t),n=h.getInvalidationEpoch(a);null!=n&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,n):n),this._traverseSelections(e.selections,t)}},t._traverseSelections=function(e,t){var r=this;e.forEach((function(a){switch(a.kind){case P:r._checkScalar(a,t);break;case O:a.plural?r._checkPluralLink(a,t):r._checkLink(a,t);break;case b:r._checkActorChange(a.linkedField,t);break;case S:Boolean(r._getVariableValue(a.condition))===a.passingValue&&r._traverseSelections(a.selections,t);break;case k:var n=a.abstractKey;if(null==n){r._mutator.getType(t)===a.type&&r._traverseSelections(a.selections,t)}else{var i=r._mutator.getType(t);null==i&&I(!1,"DataChecker: Expected record `%s` to have a known type",t);var s=m(i),o=r._mutator.getValue(s,n);!0===o?r._traverseSelections(a.selections,t):null==o&&r._handleMissing()}break;case F:var u=c(a,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case x:var h=d(a,e,r._variables);r._checkScalar(h,t);break;case C:r._checkModuleImport(a,t);break;case L:case V:r._traverseSelections(a.selections,t);break;case N:var f=r._variables;r._variables=_(r._variables,a.fragment.argumentDefinitions,a.args),r._traverseSelections(a.fragment.selections,t),r._variables=f;break;case T:var v=r._recordWasMissing;r._traverseSelections(a.selections,t),r._recordWasMissing=v;break;case w:var g=a.abstractKey,p=r._mutator.getType(t);null==p&&I(!1,"DataChecker: Expected record `%s` to have a known type",t);var E=m(p);null==r._mutator.getValue(E,g)&&r._handleMissing();break;case A:if(!l.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._checkFlightField(a,t);break;case D:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(a.fragment.selections,t);break;case M:a.fragment&&r._traverseSelections([a.fragment],t);break;default:I(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",a.kind)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&I(!1,"DataChecker: Expected an operationLoader to be configured when using `@module`.");var a=j(e.documentName),n=this._mutator.getValue(t,a);if(null!=n){var i=r.get(n);if(null!=i){var o=s(i),l=this._variables;this._variables=_(this._variables,o.argumentDefinitions,e.args),this._traverse(o,t),this._variables=l}else this._handleMissing()}else void 0===n&&this._handleMissing()},t._checkScalar=function(e,t){var r=G(e,this._variables),a=this._mutator.getValue(t,r);void 0===a&&void 0!==(a=this._handleMissingScalarField(e,t))&&this._mutator.setValue(t,r,a)},t._checkLink=function(e,t){var r=G(e,this._variables),a=this._mutator.getLinkedRecordID(t,r);void 0===a&&(null!=(a=this._handleMissingLinkField(e,t))?this._mutator.setLinkedRecordID(t,r,a):null===a&&this._mutator.setValue(t,r,null)),null!=a&&this._traverse(e,a)},t._checkPluralLink=function(e,t){var r=this,a=G(e,this._variables),n=this._mutator.getLinkedRecordIDs(t,a);void 0===n&&(null!=(n=this._handleMissingPluralLinkField(e,t))?this._mutator.setLinkedRecordIDs(t,a,n):null===n&&this._mutator.setValue(t,a,null)),n&&n.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._checkActorChange=function(e,t){var r=G(e,this._variables),a=this._source.get(t),n=null!=a?h.getActorLinkedRecordID(a,r):a;if(null==n)void 0===n&&this._handleMissing();else{var i=n[0],s=n[1],o=this._source,l=this._mutator,u=this._recordSourceProxy,c=this._getMutatorAndRecordProxyForActor(i),d=c[0],_=c[1];this._source=this._getSourceForActor(i),this._mutator=d,this._recordSourceProxy=_,this._assignClientAbstractTypes(e),this._traverse(e,s),this._source=o,this._mutator=l,this._recordSourceProxy=u}},t._checkFlightField=function(e,t){var r=G(e,this._variables),n=this._mutator.getLinkedRecordID(t,r);if(null==n)return void 0===n?void this._handleMissing():void 0;var i=this._mutator.getValue(n,p.REACT_FLIGHT_TREE_STORAGE_KEY),o=this._mutator.getValue(n,p.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(null!=i&&Array.isArray(o)){var l=this._operationLoader;null===l&&I(!1,"DataChecker: Expected an operationLoader to be configured when using React Flight.");var u,c=this._variables,d=(0,a.default)(o);try{for(d.s();!(u=d.n()).done;){var _=u.value;this._variables=_.variables;var h=l.get(_.module);if(null!=h){var f=s(h);this._traverseSelections(f.selections,U)}else this._handleMissing()}}catch(e){d.e(e)}finally{d.f()}this._variables=c}else this._handleMissing()},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var r=0,n=Object.keys(t);r<n.length;r++){var i,s=n[r],o=(0,a.default)(t[s]);try{for(o.s();!(i=o.n()).done;){var l=i.value,u=m(l);null==this._source.get(u)&&this._mutator.create(u,y),null==this._mutator.getValue(u,s)&&this._mutator.setValue(u,s,!0)}}catch(e){o.e(e)}finally{o.f()}}},e}();e.exports={check:function(e,t,r,a,n,i,s,o){var l=a.dataID,u=a.node,c=a.variables;return new K(e,t,r,c,n,i,s,o).check(u,l)}}},function(e,t,r){"use strict";var a=r(4),n=r(13).EXISTENT,i=r(0),s=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),r=this._sink.get(e);if(void 0===r){if(null==t)return t;var n=a.clone(t);return a.freeze(n),n}if(null===r)return null;if(null!=t){var i=a.update(t,r);return i!==t&&a.freeze(i),i}var s=a.clone(r);return a.freeze(s),s},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||i(!1,"RelayRecordSourceMutator: Cannot modify non-existent record `%s`.",e),t=a.create(e,a.getType(r)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var r=this._sink.get(e),n=this._base.get(e);r||n||i(!1,"RelayRecordSourceMutator#copyFields(): Cannot copy fields from non-existent record `%s`.",e);var s=this._getSinkRecord(t);n&&a.copyFields(n,s),r&&a.copyFields(r,s)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);a.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===n||this._sink.getStatus(e)===n)&&i(!1,"RelayRecordSourceMutator#create(): Cannot create a record with id `%s`, this record already exists.",e);var r=a.create(e,t);this._sink.set(e,r)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var r=this.__sources[t].get(e);if(r)return a.getType(r);if(null===r)return null}},t.getValue=function(e,t){for(var r=0;r<this.__sources.length;r++){var n=this.__sources[r].get(e);if(n){var i=a.getValue(n,t);if(void 0!==i)return i}else if(null===n)return null}},t.setValue=function(e,t,r){var n=this._getSinkRecord(e);a.setValue(n,t,r)},t.getLinkedRecordID=function(e,t){for(var r=0;r<this.__sources.length;r++){var n=this.__sources[r].get(e);if(n){var i=a.getLinkedRecordID(n,t);if(void 0!==i)return i}else if(null===n)return null}},t.setLinkedRecordID=function(e,t,r){var n=this._getSinkRecord(e);a.setLinkedRecordID(n,t,r)},t.getLinkedRecordIDs=function(e,t){for(var r=0;r<this.__sources.length;r++){var n=this.__sources[r].get(e);if(n){var i=a.getLinkedRecordIDs(n,t);if(void 0!==i)return i}else if(null===n)return null}},t.setLinkedRecordIDs=function(e,t,r){var n=this._getSinkRecord(e);a.setLinkedRecordIDs(n,t,r)},e}();e.exports=s},function(e,t,r){"use strict";var a=new Map,n=1,i=function(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}();e.exports={intern:function(e,t){if(null==t||e.length<t)return function(e){return"\t"===e[0]&&i.has(e[1])||"\v"===e[0]?"\v"+e:e}(e);var r=a.get(e);return null!=r||(r="\t"+n++,a.set(e,r)),r}}},function(e,t,r){"use strict";var a=r(38).DEFAULT_HANDLE_KEY,n=r(0);e.exports=function(e,t,r){return t&&t!==a?"__".concat(t,"_").concat(e):(null==r&&n(!1,"getRelayHandleKey: Expected either `fieldName` or `key` in `handle` to be provided"),"__".concat(r,"_").concat(e))}},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";e.exports=function e(t){if(!t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(e);for(var r=Object.keys(t).sort(),a={},n=0;n<r.length;n++)a[r[n]]=e(t[r[n]]);return a}},function(e,t,r){"use strict";var a=r(4),n=r(13),i=n.EXISTENT,s=n.NONEXISTENT,o=r(1),l=o.ROOT_ID,u=o.ROOT_TYPE,c=r(41).readUpdatableFragment_EXPERIMENTAL,d=r(42).readUpdatableQuery_EXPERIMENTAL,_=r(43),h=r(0),f=function(){function e(e,t,r,a){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=a}var t=e.prototype;return t.publishSource=function(e,t){var r=this;e.getRecordIDs().forEach((function(t){var n=e.getStatus(t);if(n===i){var o=e.get(t);o&&(r.__mutator.getStatus(t)!==i&&r.create(t,a.getType(o)),r.__mutator.copyFieldsFromRecord(o,t))}else n===s&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||h(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),t.update(r,e)}))},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var r=this.get(e);return r||h(!1,"RelayRecordSourceProxy#create(): Expected the created record to exist."),r},t.delete=function(e){e===l&&h(!1,"RelayRecordSourceProxy#delete(): Cannot delete the root record."),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);this._proxies[e]=t===i?new _(this,this.__mutator,e):t===s?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(l);return e||(e=this.create(l,u)),e&&e.getType()===u||h(!1,"RelayRecordSourceProxy#getRoot(): Expected the source to contain a root record, %s.",null==e?"no root record found":"found a root record of type `".concat(e.getType(),"`")),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery_EXPERIMENTAL=function(e,t){return d(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment_EXPERIMENTAL=function(e,t){return c(e,t,this,this._missingFieldHandlers)},e}();e.exports=f},function(e,t,r){"use strict";var a=r(19).getFragment,n=r(14).getVariablesFromFragment,i=r(1).ID_KEY,s=r(23).createUpdatableProxy,o=r(0);e.exports={readUpdatableFragment_EXPERIMENTAL:function(e,t,r,l){var u=a(e),c=n(u,t),d=t[i],_=r.get(d);return null==_&&o(!1,"No record with ".concat(d," was found. This likely indicates a problem with Relay.")),{updatableData:s(_,c,u.selections,r,l)}}}},function(e,t,r){"use strict";var a=r(19).getUpdatableQuery,n=r(23).createUpdatableProxy;e.exports={readUpdatableQuery_EXPERIMENTAL:function(e,t,r,i){var s=a(e);return{updatableData:n(r.getRoot(),t,s.fragment.selections,r,i)}}}},function(e,t,r){"use strict";var a=r(6).generateClientID,n=r(1).getStableStorageKey,i=r(0),s=function(){function e(e,t,r){this._dataID=r,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return null==e&&i(!1,"RelayRecordProxy: Cannot get the type of deleted record `%s`.",this._dataID),e},t.getValue=function(e,t){var r=n(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){return o(e)||i(!1,"RelayRecordProxy#setValue(): Expected a scalar or array of scalars, got `%s`.",JSON.stringify(e)),this.setValue__UNSAFE(e,t,r)},t.setValue__UNSAFE=function(e,t,r){var a=n(t,r);return this._mutator.setValue(this._dataID,a,e),this},t.getLinkedRecord=function(e,t){var r=n(e,t),a=this._mutator.getLinkedRecordID(this._dataID,r);return null!=a?this._source.get(a):a},t.setLinkedRecord=function(t,r,a){t instanceof e||i(!1,"RelayRecordProxy#setLinkedRecord(): Expected a record, got `%s`.",t);var s=n(r,a),o=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,s,o),this},t.getOrCreateLinkedRecord=function(e,t,r){var i=this.getLinkedRecord(e,r);if(!i){var s,o=n(e,r),l=a(this.getDataID(),o);i=null!==(s=this._source.get(l))&&void 0!==s?s:this._source.create(l,t),this.setLinkedRecord(i,e,r)}return i},t.getLinkedRecords=function(e,t){var r=this,a=n(e,t),i=this._mutator.getLinkedRecordIDs(this._dataID,a);return null==i?i:i.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||i(!1,"RelayRecordProxy#setLinkedRecords(): Expected records to be an array, got `%s`.",e);var a=n(t,r),s=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,a,s),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function o(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(o)}e.exports=s},function(e,t,r){"use strict";var a=r(3).SCALAR_FIELD,n=r(1).getHandleStorageKey,i=r(9),s=r(0);e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===a&&t.name===e.name&&t.alias===e.alias&&i(t.args,e.args)}));o&&o.kind===a||s(!1,"cloneRelayScalarHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=n(e,r);return{kind:"ScalarField",alias:o.alias,name:l,storageKey:l,args:null}}},function(e,t,r){"use strict";var a=r(46),n=a.VIEWER_ID,i=a.VIEWER_TYPE;e.exports=function(e,t){return t===i&&null==e.id?n:e.id}},function(e,t,r){"use strict";var a=(0,r(6).generateClientID)(r(1).ROOT_ID,"viewer");e.exports={VIEWER_ID:a,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";var a=(0,r(2).default)(r(12)),n=r(26),i=r(0),s=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),o=function(){function e(e){this._base=e,this._sink=n.create()}var t=e.prototype;return t.has=function(e){return this._sink.has(e)?this._sink.get(e)!==s:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===s?void 0:t}return this._base.get(e)},t.getStatus=function(e){var t=this.get(e);return void 0===t?"UNKNOWN":null===t?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=n.create(),this._sink.clear()},t.delete=function(e){this._sink.delete(e)},t.remove=function(e){this._sink.set(e,s)},t.set=function(e,t){this._sink.set(e,t)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var e=this,t=(0,a.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach((function(r){var a=e.get(r);void 0===a?delete t[r]:t[r]=a})),t},t.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();e.exports={create:function(e){return new o(e)},getOptimisticRecordIDs:function(e){return e instanceof o||i(!1,"getOptimisticRecordIDs: Instance of RelayOptimisticRecordSource is expected"),e.getOptimisticRecordIDs()}}},function(e,t,r){"use strict";var a=(0,r(2).default)(r(5)),n=r(21),i=r(3).RELAY_LIVE_RESOLVER,s=r(6).generateClientID,o=r(4),l=r(1),u=l.RELAY_RESOLVER_ERROR_KEY,c=l.RELAY_RESOLVER_INVALIDATION_KEY,d=l.RELAY_RESOLVER_SNAPSHOT_KEY,_=l.RELAY_RESOLVER_VALUE_KEY,h=l.getStorageKey,f=r(0),v=r(8),g=new Set,p=function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,a,n){t.kind===i&&f(!1,"This store does not support Live Resolvers");var s=a(),o=s.resolverResult,l=s.snapshot;return[o,void 0,s.error,l,void 0,void 0]},t.invalidateDataIDs=function(e){},t.ensureClientRecord=function(e,t){f(!1,"Client Edges to Client Objects are not supported in this version of Relay Store")},t.notifyUpdatedSubscribers=function(e){},e}();function E(e,t,r){var a=e.get(t);a||(a=new Set,e.set(t,a)),a.add(r)}var R=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,i){var l=this._getRecordSource(),c=l.get(e);null==c&&f(!1,"We expect record to exist in the store.");var v=h(t,r),g=o.getLinkedRecordID(c,v),p=null==g?null:l.get(g);if(null==p||this._isInvalid(p,i)){var R;g=null!==(R=g)&&void 0!==R?R:s(e,v),p=o.create(g,"__RELAY_RESOLVER__");var m=n();o.setValue(p,_,m.resolverResult),o.setValue(p,d,m.snapshot),o.setValue(p,u,m.error),l.set(g,p);var y=l.get(e);null==y&&f(!1,"Expected the parent record to still be in the record source.");var I=o.clone(y);if(o.setLinkedRecordID(I,v,g),l.set(e,I),null!=t.fragment){var b,S=h(t.fragment,r),D=s(e,S);E(this._resolverIDToRecordIDs,D,g),E(this._recordIDToResolverIDs,e,D);var T=null===(b=m.snapshot)||void 0===b?void 0:b.seenRecords;if(null!=T){var L,A=(0,a.default)(T);try{for(A.s();!(L=A.n()).done;){var N=L.value;E(this._recordIDToResolverIDs,N,D)}}catch(e){A.e(e)}finally{A.f()}}}}var k=p[_],O=p[d];return[k,g,p[u],O,void 0,void 0]},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),r=new Set,n=Array.from(e);n.length;){var i=n.pop();e.add(i);var s,o=(0,a.default)(null!==(l=this._recordIDToResolverIDs.get(i))&&void 0!==l?l:g);try{for(o.s();!(s=o.n()).done;){var l,u=s.value;if(!r.has(u)){var c,d=(0,a.default)(null!==(_=this._resolverIDToRecordIDs.get(u))&&void 0!==_?_:g);try{for(d.s();!(c=d.n()).done;){var _,h=c.value;this._markInvalidatedResolverRecord(h,t,e),r.has(h)||n.push(h)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){o.e(e)}finally{o.f()}}},t._markInvalidatedResolverRecord=function(e,t,r){var a=t.get(e);if(a){var n=o.clone(a);o.setValue(n,c,!0),t.set(e,n)}else v(!1,"Expected a resolver record with ID %s, but it was missing.",e)},t._isInvalid=function(e,t){if(!o.getValue(e,c))return!1;var r=o.getValue(e,d),a=null==r?void 0:r.data,i=null==r?void 0:r.selector;if(null==a||null==i)return v(!1,"Expected previous inputs and reader selector on resolver record with ID %s, but they were missing.",o.getDataID(e)),!0;var s=t(i).data;return n(a,s)!==a},t.ensureClientRecord=function(e,t){f(!1,"Client Edges to Client Objects are not supported in this version of Relay Store")},t.notifyUpdatedSubscribers=function(e){f(!1,"Processing @outputType records is not supported in this version of Relay Store")},e}();e.exports={NoopResolverCache:p,RecordResolverCache:R}},function(e,t,r){"use strict";var a=(0,r(2).default)(r(5)),n=r(24),i=r(3),s=r(7),o=r(25),l=r(10).getLocalVariables,u=r(4),c=r(11),d=r(1),_=r(15).generateTypeID,h=r(0),f=r(29),v=i.ACTOR_CHANGE,g=i.CONDITION,p=i.CLIENT_COMPONENT,E=i.CLIENT_EXTENSION,R=i.DEFER,m=i.FLIGHT_FIELD,y=i.FRAGMENT_SPREAD,I=i.INLINE_FRAGMENT,b=i.LINKED_FIELD,S=i.MODULE_IMPORT,D=i.LINKED_HANDLE,T=i.SCALAR_FIELD,L=i.SCALAR_HANDLE,A=i.STREAM,N=i.TYPE_DISCRIMINATOR,k=i.RELAY_RESOLVER,O=d.ROOT_ID,F=d.getStorageKey,C=d.getModuleOperationKey;var M=function(){function e(e,t,r,a,n){this._operationLoader=null!=a?a:null,this._operationName=null,this._recordSource=e,this._references=r,this._variables=t,this._shouldProcessClientComponents=n}var t=e.prototype;return t.mark=function(e,t){"Operation"!==e.kind&&"SplitOperation"!==e.kind||(this._operationName=e.name),this._traverse(e,t)},t._traverse=function(e,t){this._references.add(t);var r=this._recordSource.get(t);null!=r&&this._traverseSelections(e.selections,r)},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||h(!1,"RelayReferenceMarker(): Undefined variable `%s`.",e),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(a){switch(a.kind){case v:r._traverseLink(a.linkedField,t);break;case b:a.plural?r._traversePluralLink(a,t):r._traverseLink(a,t);break;case g:Boolean(r._getVariableValue(a.condition))===a.passingValue&&r._traverseSelections(a.selections,t);break;case I:if(null==a.abstractKey){var n=u.getType(t);(null!=n&&n===a.type||n===d.ROOT_TYPE)&&r._traverseSelections(a.selections,t)}else{var i=u.getType(t),c=_(i);r._references.add(c),r._traverseSelections(a.selections,t)}break;case y:var f=r._variables;r._variables=l(r._variables,a.fragment.argumentDefinitions,a.args),r._traverseSelections(a.fragment.selections,t),r._variables=f;break;case D:var O=o(a,e,r._variables);O.plural?r._traversePluralLink(O,t):r._traverseLink(O,t);break;case R:case A:r._traverseSelections(a.selections,t);break;case T:case L:break;case N:var F=u.getType(t),C=_(F);r._references.add(C);break;case S:r._traverseModuleImport(a,t);break;case E:r._traverseSelections(a.selections,t);break;case m:if(!s.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._traverseFlightField(a,t);break;case p:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(a.fragment.selections,t);break;case k:r._traverseResolverField(a,t);break;default:h(!1,"RelayReferenceMarker: Unknown AST node `%s`.",a)}}))},t._traverseResolverField=function(e,t){var r=F(e,this._variables),n=u.getLinkedRecordID(t,r);if(null!=n){this._references.add(n);var i=this._recordSource.get(n);if(null!=i){var s=f(i);if(null!=s){var o,l=(0,a.default)(s);try{for(l.s();!(o=l.n()).done;){var c=o.value;this._references.add(c)}}catch(e){l.e(e)}finally{l.f()}}}}var d=e.fragment;null!=d&&this._traverseSelections([d],t)},t._traverseModuleImport=function(e,t){var r,a=this._operationLoader;null===a&&h(!1,"RelayReferenceMarker: Expected an operationLoader to be configured when using `@module`. Could not load fragment `%s` in operation `%s`.",e.fragmentName,null!==(r=this._operationName)&&void 0!==r?r:"(unknown)");var i=C(e.documentName),s=u.getValue(t,i);if(null!=s){var o=a.get(s);if(null!=o){var c=n(o),d=this._variables;this._variables=l(this._variables,c.argumentDefinitions,e.args),this._traverseSelections(c.selections,t),this._variables=d}}},t._traverseLink=function(e,t){var r=F(e,this._variables),a=u.getLinkedRecordID(t,r);null!=a&&this._traverse(e,a)},t._traversePluralLink=function(e,t){var r=this,a=F(e,this._variables),n=u.getLinkedRecordIDs(t,a);null!=n&&n.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._traverseFlightField=function(e,t){var r=F(e,this._variables),i=u.getLinkedRecordID(t,r);if(null!=i){this._references.add(i);var s=this._recordSource.get(i);if(null!=s){var o=u.getValue(s,c.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(Array.isArray(o)){var l=this._operationLoader;null===l&&h(!1,"DataChecker: Expected an operationLoader to be configured when using React Flight");var d,_=this._variables,f=(0,a.default)(o);try{for(f.s();!(d=f.n()).done;){var v=d.value;this._variables=v.variables;var g=v.module,p=l.get(g);if(null!=p){var E=n(p);this._traverse(E,O)}}}catch(e){f.e(e)}finally{f.f()}this._variables=_}}}},e}();e.exports={mark:function(e,t,r,a,n){var i=t.dataID,s=t.node,o=t.variables;new M(e,o,r,a,n).mark(s,i)}}},function(e,t,r){"use strict";var a=r(17),n=r(21),i=r(7),s=r(51),o=r(27),l=function(){function e(e,t){this._subscriptions=new Set,this.__log=e,this._resolverCache=t}var t=e.prototype;return t.subscribe=function(e,t){var r=this,a={backup:null,callback:t,snapshot:e,stale:!1};return this._subscriptions.add(a),{dispose:function(){r._subscriptions.delete(a)}}},t.snapshotSubscriptions=function(e){var t=this;this._subscriptions.forEach((function(r){if(r.stale){var a=r.snapshot,i=o.read(e,a.selector,t._resolverCache),s=n(a.data,i.data);i.data=s,r.backup=i}else r.backup=r.snapshot}))},t.restoreSubscriptions=function(){this._subscriptions.forEach((function(e){var t=e.backup;e.backup=null,t?(t.data!==e.snapshot.data&&(e.stale=!0),e.snapshot={data:e.snapshot.data,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors}):e.stale=!0}))},t.updateSubscriptions=function(e,t,r,a){var n=this,i=0!==t.size;this._subscriptions.forEach((function(s){var o=n._updateSubscription(e,s,t,i,a);null!=o&&r.push(o)}))},t._updateSubscription=function(e,t,r,l,u){var c=t.backup,d=t.callback,_=t.snapshot,h=t.stale,f=l&&s(_.seenRecords,r);if(h||f){var v=f||!c?o.read(e,_.selector,this._resolverCache):c;return v={data:n(_.data,v.data),isMissingData:v.isMissingData,missingClientEdges:v.missingClientEdges,missingLiveResolverFields:v.missingLiveResolverFields,seenRecords:v.seenRecords,selector:v.selector,missingRequiredFields:v.missingRequiredFields,relayResolverErrors:v.relayResolverErrors},a(v),t.snapshot=v,t.stale=!1,v.data!==_.data?(this.__log&&i.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:u,snapshot:_,nextSnapshot:v}),d(v),_.selector.owner):void 0}},e}();e.exports=l},function(e,t,r){"use strict";var a=Symbol.iterator;e.exports=function(e,t){for(var r=e[a](),n=r.next();!n.done;){var i=n.value;if(t.has(i))return!0;n=r.next()}return!1}},function(e,t,r){"use strict";var a=(0,r(2).default)(r(5)),n=r(21),i=r(3).RELAY_LIVE_RESOLVER,s=r(6),o=s.generateClientID,l=s.generateClientObjectClientID,u=r(4),c=r(26),d=r(1),_=d.RELAY_RESOLVER_ERROR_KEY,h=d.RELAY_RESOLVER_INVALIDATION_KEY,f=d.RELAY_RESOLVER_SNAPSHOT_KEY,v=d.RELAY_RESOLVER_VALUE_KEY,g=d.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,p=d.getStorageKey,E=r(20).isSuspenseSentinel,R=r(0),m=r(8),y=r(14).createNormalizationSelector,I=r(53).normalize,b=r(29),S=r(30);function D(e,t,r){var a=e.get(t);a||(a=new Set,e.set(t,a)),a.add(r)}var T=function(){function e(e,t){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e,this._store=t,this._handlingBatch=!1,this._liveResolverBatchRecordSource=null}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,s){var l,c=this._getRecordSource(),d=N(c,e),h=p(t,r),v=u.getLinkedRecordID(d,h),g=null==v?null:c.get(v);if(null==g||this._isInvalid(g,s)){var m;null!=g&&this._maybeUnsubscribeFromLiveState(g),v=null!==(m=v)&&void 0!==m?m:o(e,h),g=u.create(v,"__RELAY_RESOLVER__");var y=n();if(t.kind===i)if(null!=y.resolverResult){S(y.resolverResult)||R(!1,'Expected the @live Relay Resolver backing the field "%s" to return a value that implements LiveState. Did you mean to remove the @live annotation on this resolver?',t.path);var I=y.resolverResult;l=this._setLiveStateValue(g,v,I,t,r)}else{var b;null!=y.error||(null===(b=y.snapshot)||void 0===b?void 0:b.isMissingData)||R(!1,'Expected the @live Relay Resolver backing the field "%s" to return a value that implements LiveState interface. The result for this field is `%s`, we also did not detect any errors, or missing data during resolver execution. Did you mean to remove the @live annotation on this resolver, or was there unexpected early return in the function?',t.path,String(y.resolverResult))}else S(y.resolverResult)&&R(!1,'Unexpected LiveState value returned from the non-@live Relay Resolver backing the field "%s". Did you intend to add @live to this resolver?',t.path),l=this._setResolverValue(g,y.resolverResult,t,r);u.setValue(g,f,y.snapshot),u.setValue(g,_,y.error),c.set(v,g);var T=N(c,e),L=u.clone(T);if(u.setLinkedRecordID(L,h,v),c.set(e,L),null!=t.fragment){var A,k=p(t.fragment,r),O=o(e,k);D(this._resolverIDToRecordIDs,O,v),D(this._recordIDToResolverIDs,e,O);var F=null===(A=y.snapshot)||void 0===A?void 0:A.seenRecords;if(null!=F){var C,M=(0,a.default)(F);try{for(M.s();!(C=M.n()).done;){var P=C.value;D(this._recordIDToResolverIDs,P,O)}}catch(e){M.e(e)}finally{M.f()}}}}else if(t.kind===i&&u.getValue(g,"__resolverLiveStateDirty")){var x;v=null!==(x=v)&&void 0!==x?x:o(e,h),g=u.clone(g);var V=u.getValue(g,"__resolverLiveStateValue");S(V)||R(!1,"Unexpected LiveState value returned from Relay Resolver internal field `RELAY_RESOLVER_LIVE_STATE_VALUE`. It is likely a bug in Relay, or a corrupt state of the relay store state Field Path `%s`. Record `%s`.",t.path,JSON.stringify(g)),l=this._setResolverValue(g,V.read(),t,r),u.setValue(g,"__resolverLiveStateDirty",!1),c.set(v,g)}var w,U=this._getResolverValue(g),j=g[f],G=g[_],Y=null;E(U)&&(Y=null!==(w=v)&&void 0!==w?w:o(e,h));return[U,v,G,j,Y,l]},t.getLiveResolverPromise=function(e){var t=this._getRecordSource().get(e);null==t&&R(!1,"Expected to find record for live resolver.");var r=u.getValue(t,"__resolverLiveStateValue");return new Promise((function(e){var t=r.subscribe((function(){t(),e()}))}))},t._maybeUnsubscribeFromLiveState=function(e){var t=u.getValue(e,"__resolverLiveStateSubscription");null!=t&&t()},t._setLiveStateValue=function(e,t,r,a,n){var i=this._makeLiveStateHandler(t),s=r.subscribe(i);u.setValue(e,"__resolverLiveStateValue",r);var o=this._setResolverValue(e,r.read(),a,n);return u.setValue(e,"__resolverLiveStateDirty",!1),u.setValue(e,"__resolverLiveStateSubscription",s),o},t._makeLiveStateHandler=function(e){var t=this;return function(){var r=t._getRecordSource().get(e);if(r)if("__resolverLiveStateValue"in r){var a=u.clone(r);u.setValue(a,"__resolverLiveStateDirty",!0),t._setLiveResolverUpdate(e,a)}else m(!1,"Unexpected callback for a incomplete live resolver record (__id: `%s`). The record has missing live state value. This is a no-op and indicates a memory leak, and possible bug in Relay Live Resolvers. Possible cause: The original record was GC-ed, or was created with the optimistic record source. Record details: `%s`.",e,JSON.stringify(r))}},t._setLiveResolverUpdate=function(e,t){if(this._handlingBatch)null==this._liveResolverBatchRecordSource&&(this._liveResolverBatchRecordSource=c.create()),this._liveResolverBatchRecordSource.set(e,t);else{var r=c.create();r.set(e,t),this._store.publish(r),this._store.notify()}},t.batchLiveStateUpdates=function(e){this._handlingBatch&&R(!1,"Unexpected nested call to batchLiveStateUpdates."),this._handlingBatch=!0;try{e()}finally{null!=this._liveResolverBatchRecordSource&&(this._store.publish(this._liveResolverBatchRecordSource),this._store.notify()),this._liveResolverBatchRecordSource=null,this._handlingBatch=!1}},t._setResolverValue=function(e,t,r,n){var i=r.normalizationInfo,s=null;if(null!=t&&null!=i){var o,d=b(e),_=new Set,h=this._getRecordSource();if(i.plural){Array.isArray(t)||R(!1,"_setResolverValue: Expected array value for plural @outputType resolver."),o=[];for(var f=c.create(),p=0;p<t.length;p++){var E=t[p];if(null!=E){"object"!=typeof E&&R(!1,"_setResolverValue: Expected object value as the payload for the @outputType resolver.");var m,y=l(i.concreteType,u.getDataID(e),p),I=L(y,E,n,i,this._store.__getNormalizationOptions([r.path,String(p)])),S=(0,a.default)(I.getRecordIDs());try{for(S.s();!(m=S.n()).done;){var D=m.value;f.set(D,N(I,D)),_.add(D)}}catch(e){S.e(e)}finally{S.f()}o.push(y)}}s=A(h,f,d)}else{"object"!=typeof t&&R(!1,"_setResolverValue: Expected object value as the payload for the @outputType resolver.");var T,k=l(i.concreteType,u.getDataID(e)),O=L(k,t,n,i,this._store.__getNormalizationOptions([r.path])),F=(0,a.default)(O.getRecordIDs());try{for(F.s();!(T=F.n()).done;){var C=T.value;_.add(C)}}catch(e){F.e(e)}finally{F.f()}o=k,s=A(h,O,d)}u.setValue(e,g,_),u.setValue(e,v,o)}else u.setValue(e,v,t);return s},t.notifyUpdatedSubscribers=function(e){this._store.__notifyUpdatedSubscribers(e)},t._getResolverValue=function(e){return u.getValue(e,v)},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),r=new Set,n=Array.from(e);n.length;){var i=n.pop();e.add(i);var s=this._recordIDToResolverIDs.get(i);if(null!=s){var o,l=(0,a.default)(s);try{for(l.s();!(o=l.n()).done;){var u=o.value;if(!r.has(u)){var c=this._resolverIDToRecordIDs.get(u);if(null==c)continue;var d,_=(0,a.default)(c);try{for(_.s();!(d=_.n()).done;){var h=d.value;this._markInvalidatedResolverRecord(h,t),r.has(h)||n.push(h)}}catch(e){_.e(e)}finally{_.f()}}}}catch(e){l.e(e)}finally{l.f()}}}},t._markInvalidatedResolverRecord=function(e,t){var r=t.get(e);if(r){var a=u.clone(r);u.setValue(a,h,!0),t.set(e,a)}else m(!1,"Expected a resolver record with ID %s, but it was missing.",e)},t._isInvalid=function(e,t){if(!u.getValue(e,h))return!1;var r=u.getValue(e,f),a=null==r?void 0:r.data,i=null==r?void 0:r.selector;if(null==a||null==i)return m(!1,"Expected previous inputs and reader selector on resolver record with ID %s, but they were missing.",u.getDataID(e)),!0;var s=t(i).data;return n(a,s)!==a},t.ensureClientRecord=function(e,t){var r=l(t,e),a=this._getRecordSource();if(!a.has(r)){var n=u.create(r,t);u.setValue(n,"id",e),a.set(r,n)}return r},t.unsubscribeFromLiveResolverRecords=function(e){if(0!==e.size){var t,r=(0,a.default)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,i=this._getRecordSource().get(n);null!=i&&"__RELAY_RESOLVER__"===u.getType(i)&&this._maybeUnsubscribeFromLiveState(i)}}catch(e){r.e(e)}finally{r.f()}}},t.invalidateResolverRecords=function(e){if(0!==e.size){var t,r=(0,a.default)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,i=this._getRecordSource().get(n);null!=i&&"__RELAY_RESOLVER__"===u.getType(i)&&this._getRecordSource().delete(n)}}catch(e){r.e(e)}finally{r.f()}}},e}();function L(e,t,r,a,n){var i=c.create();i.set(e,u.create(e,a.concreteType));var s=y(a.normalizationNode,e,r);return I(i,s,t,n).source}function A(e,t,r){var n=new Set;if(null!=r){var i,s=(0,a.default)(r);try{for(s.s();!(i=s.n()).done;){var o=i.value;t.has(o)||(n.add(o),e.remove(o))}}catch(e){s.e(e)}finally{s.f()}}var l,c=(0,a.default)(t.getRecordIDs());try{for(c.s();!(l=c.n()).done;){var d=l.value,_=N(t,d);if(e.has(d)){var h=N(e,d);u.update(h,_)!==h&&(n.add(d),e.set(d,_))}else e.set(d,_)}}catch(e){c.e(e)}finally{c.f()}return n}function N(e,t){var r=e.get(t);return null==r&&R(!1,"Expected a record with ID `%s` to exist in the record source.",t),r}e.exports={LiveResolverCache:T,getUpdatedDataIDs:function(e){return e}}},function(e,t,r){"use strict";var a=r(2).default,n=a(r(5)),i=a(r(18)),s=r(54),o=s.ACTOR_IDENTIFIER_FIELD_NAME,l=s.getActorIdentifierFromPayload,u=r(3),c=u.ACTOR_CHANGE,d=u.CLIENT_COMPONENT,_=u.CLIENT_EXTENSION,h=u.CONDITION,f=u.DEFER,v=u.FLIGHT_FIELD,g=u.FRAGMENT_SPREAD,p=u.INLINE_FRAGMENT,E=u.LINKED_FIELD,R=u.LINKED_HANDLE,m=u.MODULE_IMPORT,y=u.RELAY_RESOLVER,I=u.SCALAR_FIELD,b=u.SCALAR_HANDLE,S=u.STREAM,D=u.TYPE_DISCRIMINATOR,T=r(7),L=r(6),A=L.generateClientID,N=L.isClientID,k=r(10).getLocalVariables,O=r(4),F=r(14).createNormalizationSelector,C=r(11),M=C.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY,P=C.REACT_FLIGHT_TREE_STORAGE_KEY,x=C.REACT_FLIGHT_TYPE_NAME,V=C.refineToReactFlightPayloadData,w=r(1),U=w.ROOT_ID,j=w.ROOT_TYPE,G=w.TYPENAME_KEY,Y=w.getArgumentValues,K=w.getHandleStorageKey,H=w.getModuleComponentKey,z=w.getModuleOperationKey,q=w.getStorageKey,B=r(15),W=B.TYPE_SCHEMA_TYPE,J=B.generateTypeID,Q=r(9),X=r(0),Z=r(8);var $=function(){function e(e,t,r){this._actorIdentifier=r.actorIdentifier,this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=r.path?(0,i.default)(r.path):[],this._recordSource=e,this._variables=t,this._reactFlightPayloadDeserializer=r.reactFlightPayloadDeserializer,this._reactFlightServerErrorHandler=r.reactFlightServerErrorHandler,this._shouldProcessClientComponents=r.shouldProcessClientComponents}var t=e.prototype;return t.normalizeResponse=function(e,t,r){var a=this._recordSource.get(t);return a||X(!1,"RelayResponseNormalizer(): Expected root record `%s` to exist.",t),this._assignClientAbstractTypes(e),this._traverseSelections(e,a,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var r=0,a=Object.keys(t);r<a.length;r++){var i,s=a[r],o=(0,n.default)(t[s]);try{for(o.s();!(i=o.n()).done;){var l=i.value,u=J(l),c=this._recordSource.get(u);null==c&&(c=O.create(u,W),this._recordSource.set(u,c)),O.setValue(c,s,!0)}}catch(e){o.e(e)}finally{o.f()}}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||X(!1,"RelayResponseNormalizer(): Undefined variable `%s`.",e),this._variables[e]},t._getRecordType=function(e){var t=e[G];return null==t&&X(!1,"RelayResponseNormalizer(): Expected a typename for record `%s`.",JSON.stringify(e,null,2)),t},t._traverseSelections=function(e,t,r){for(var a=0;a<e.selections.length;a++){var n=e.selections[a];switch(n.kind){case I:case E:this._normalizeField(e,n,t,r);break;case h:Boolean(this._getVariableValue(n.condition))===n.passingValue&&this._traverseSelections(n,t,r);break;case g:var i=this._variables;this._variables=k(this._variables,n.fragment.argumentDefinitions,n.args),this._traverseSelections(n.fragment,t,r),this._variables=i;break;case p:var s=n.abstractKey;if(null==s){O.getType(t)===n.type&&this._traverseSelections(n,t,r)}else{var o=r.hasOwnProperty(s),l=O.getType(t),u=J(l),L=this._recordSource.get(u);null==L&&(L=O.create(u,W),this._recordSource.set(u,L)),O.setValue(L,s,o),o&&this._traverseSelections(n,t,r)}break;case D:var A=n.abstractKey,N=r.hasOwnProperty(A),F=O.getType(t),C=J(F),M=this._recordSource.get(C);null==M&&(M=O.create(C,W),this._recordSource.set(C,M)),O.setValue(M,A,N);break;case R:case b:var P=n.args?Y(n.args,this._variables):{},x=q(n,this._variables),V=K(n,this._variables);this._handleFieldPayloads.push({args:P,dataID:O.getDataID(t),fieldKey:x,handle:n.handle,handleKey:V,handleArgs:n.handleArgs?Y(n.handleArgs,this._variables):{}});break;case m:this._normalizeModuleImport(e,n,t,r);break;case f:this._normalizeDefer(n,t,r);break;case S:this._normalizeStream(n,t,r);break;case _:var w=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(n,t,r),this._isClientExtension=w;break;case d:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(n.fragment,t,r);break;case v:if(!T.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._normalizeFlightField(e,n,t,r);break;case c:this._normalizeActorChange(e,n,t,r);break;case y:null!=n.fragment&&this._traverseSelections(n.fragment,t,r);break;default:X(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s`.",n.kind)}}},t._normalizeDefer=function(e,t,r){var a=null===e.if||this._getVariableValue(e.if);Z("boolean"==typeof a,"RelayResponseNormalizer: Expected value for @defer `if` argument to be a boolean, got `%s`.",a),!1===a?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,i.default)(this._path),selector:F(e,O.getDataID(t),this._variables),typeName:O.getType(t),actorIdentifier:this._actorIdentifier})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r);var a=null===e.if||this._getVariableValue(e.if);Z("boolean"==typeof a,"RelayResponseNormalizer: Expected value for @stream `if` argument to be a boolean, got `%s`.",a),!0===a&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,i.default)(this._path),parentID:O.getDataID(t),node:e,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(e,t,r,a){"object"==typeof a&&a||X(!1,"RelayResponseNormalizer: Expected data for @module to be an object.");var n=O.getType(r),s=H(t.documentName),o=t.componentModuleProvider||a[s];O.setValue(r,s,null!=o?o:null);var l=z(t.documentName),u=t.operationModuleProvider||a[l];O.setValue(r,l,null!=u?u:null),null!=u&&this._followupPayloads.push({kind:"ModuleImportPayload",args:t.args,data:a,dataID:O.getDataID(r),operationReference:u,path:(0,i.default)(this._path),typeName:n,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeField=function(e,t,r,a){"object"==typeof a&&a||X(!1,"writeField(): Expected data for field `%s` to be an object.",t.name);var n=t.alias||t.name,i=q(t,this._variables),s=a[n];if(null==s){if(void 0===s){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void Z(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",n,i)}return t.kind===I&&this._validateConflictingFieldsWithIdenticalId(r,i,null),void O.setValue(r,i,null)}t.kind===I?(this._validateConflictingFieldsWithIdenticalId(r,i,s),O.setValue(r,i,s)):t.kind===E?(this._path.push(n),t.plural?this._normalizePluralLink(t,r,i,s):this._normalizeLink(t,r,i,s),this._path.pop()):X(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s` during normalization.",t.kind)},t._normalizeActorChange=function(e,t,r,a){var n,s=t.linkedField;"object"==typeof a&&a||X(!1,"_normalizeActorChange(): Expected data for field `%s` to be an object.",s.name);var u=s.alias||s.name,c=q(s,this._variables),d=a[u];if(null!=d){var _=l(d);if(null==_)return Z(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s`. Check that you are parsing with the same query that was used to fetch the payload. Payload is `%s`.",o,JSON.stringify(d,null,2)),void O.setValue(r,c,null);var h=null!==(n=s.concreteType)&&void 0!==n?n:this._getRecordType(d),f=this._getDataId(d,h)||O.getLinkedRecordID(r,c)||A(O.getDataID(r),c);"string"!=typeof f&&X(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",c),O.setActorLinkedRecordID(r,c,_,f),this._followupPayloads.push({kind:"ActorPayload",data:d,dataID:f,path:[].concat((0,i.default)(this._path),[u]),typeName:h,variables:this._variables,node:s,actorIdentifier:_})}else{if(void 0===d){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void Z(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",u,c)}O.setValue(r,c,null)}},t._normalizeFlightField=function(e,t,r,a){var i=t.alias||t.name,s=q(t,this._variables),o=a[i];if(null!=o){var l=V(o),u=this._reactFlightPayloadDeserializer;null==l&&X(!1,"RelayResponseNormalizer: Expected React Flight payload data to be an object with `status`, tree`, `queries` and `errors` properties, got `%s`.",o),"function"!=typeof u&&X(!1,"RelayResponseNormalizer: Expected reactFlightPayloadDeserializer to be a function, got `%s`.",u),l.errors.length>0&&("function"==typeof this._reactFlightServerErrorHandler?this._reactFlightServerErrorHandler(l.status,l.errors):Z(!1,"RelayResponseNormalizer: Received server errors for field `%s`.\n\n%s\n%s",i,l.errors[0].message,l.errors[0].stack));var c=A(O.getDataID(r),q(t,this._variables)),d=this._recordSource.get(c);if(null==d&&(d=O.create(c,x),this._recordSource.set(c,d)),null==l.tree)return Z(!1,"RelayResponseNormalizer: Expected `tree` not to be null. This typically indicates that a fatal server error prevented any Server Component rows from being written."),O.setValue(d,P,null),O.setValue(d,M,[]),void O.setLinkedRecordID(r,s,c);var _=u(l.tree);O.setValue(d,P,_);var h,f=[],v=(0,n.default)(l.queries);try{for(v.s();!(h=v.n()).done;){var g=h.value;null!=g.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:g.response.data,dataID:U,operationReference:g.module,path:[],typeName:j,variables:g.variables,actorIdentifier:this._actorIdentifier}),f.push({module:g.module,variables:g.variables})}}catch(e){v.e(e)}finally{v.f()}var p,E=(0,n.default)(l.fragments);try{for(E.s();!(p=E.n()).done;){var R=p.value;null!=R.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:R.response.data,dataID:R.__id,operationReference:R.module,path:[],typeName:R.__typename,variables:R.variables,actorIdentifier:this._actorIdentifier}),f.push({module:R.module,variables:R.variables})}}catch(e){E.e(e)}finally{E.f()}O.setValue(d,M,f),O.setLinkedRecordID(r,s,c)}else{if(void 0===o){if(this._isUnmatchedAbstractType)return;this._treatMissingFieldsAsNull||X(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",i,s)}O.setValue(r,s,null)}},t._normalizeLink=function(e,t,r,a){var n;"object"==typeof a&&a||X(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an object.",r);var i=this._getDataId(a,null!==(n=e.concreteType)&&void 0!==n?n:this._getRecordType(a))||O.getLinkedRecordID(t,r)||A(O.getDataID(t),r);"string"!=typeof i&&X(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",r),this._validateConflictingLinkedFieldsWithIdenticalId(t,O.getLinkedRecordID(t,r),i,r),O.setLinkedRecordID(t,r,i);var s=this._recordSource.get(i);if(s)this._validateRecordType(s,e,a);else{var o=e.concreteType||this._getRecordType(a);s=O.create(i,o),this._recordSource.set(i,s)}this._traverseSelections(e,s,a)},t._normalizePluralLink=function(e,t,r,a){var n=this;Array.isArray(a)||X(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an array of objects.",r);var i=O.getLinkedRecordIDs(t,r),s=[];a.forEach((function(a,o){var l;if(null!=a){n._path.push(String(o)),"object"!=typeof a&&X(!1,"RelayResponseNormalizer: Expected elements for field `%s` to be objects.",r);var u=n._getDataId(a,null!==(l=e.concreteType)&&void 0!==l?l:n._getRecordType(a))||i&&i[o]||A(O.getDataID(t),r,o);"string"!=typeof u&&X(!1,"RelayResponseNormalizer: Expected id of elements of field `%s` to be strings.",r),s.push(u);var c=n._recordSource.get(u);if(c)n._validateRecordType(c,e,a);else{var d=e.concreteType||n._getRecordType(a);c=O.create(u,d),n._recordSource.set(u,c)}i&&n._validateConflictingLinkedFieldsWithIdenticalId(t,i[o],u,r),n._traverseSelections(e,c,a),n._path.pop()}else s.push(a)})),O.setLinkedRecordIDs(t,r,s)},t._validateRecordType=function(e,t,r){var a,n=null!==(a=t.concreteType)&&void 0!==a?a:this._getRecordType(r),i=O.getDataID(e);Z(N(i)&&i!==U||O.getType(e)===n,"RelayResponseNormalizer: Invalid record `%s`. Expected %s to be consistent, but the record was assigned conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",i,G,O.getType(e),n)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){var a=O.getDataID(e),n=O.getValue(e,t);Z(t===G||void 0===n||Q(n,r),"RelayResponseNormalizer: Invalid record. The record contains two instances of the same id: `%s` with conflicting field, %s and its values: %s and %s. If two fields are different but share the same id, one field will overwrite the other.",a,t,n,r)},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,a){Z(void 0===t||t===r,"RelayResponseNormalizer: Invalid record. The record contains references to the conflicting field, %s and its id values: %s and %s. We need to make sure that the record the field points to remains consistent or one field will overwrite the other.",a,t,r)},e}();e.exports={normalize:function(e,t,r,a){var n=t.dataID,i=t.node,s=t.variables;return new $(e,s,a).normalizeResponse(i,n,r)}}},function(e,t,r){"use strict";var a=r(22).getActorIdentifier;e.exports={ACTOR_IDENTIFIER_FIELD_NAME:"actor_key",getActorIdentifierFromPayload:function(e){if(null!=e&&"object"==typeof e&&"string"==typeof e.actor_key)return a(e.actor_key)}}},function(e,t,r){"use strict";var a=r(28).readFragment,n=r(0);e.exports=function(e,t,r,i){return function(s,o){var l=a(e,s);if(null==r)return t(l,o);if(null==l){if(!0!==i)return t(null,o);n(!1,"Expected required resolver field `%` to be present. But resolvers fragment data is null/undefined.",r)}if(r in l)return!0===i&&null==l[r]&&n(!1,"Expected required resolver field `%` to be non-null."),t(l[r],o);n(!1,"Missing field `%` in resolver response.",r)}}},function(e,t,r){"use strict";var a=r(2).default,n=a(r(16)),i=a(r(12)),s=r(0),o=r(30);function l(e,t,r){return function(){for(var a=arguments.length,i=new Array(a),o=0;o<a;o++)i[o]=arguments[o];var l=e.apply(null,i);return r?(Array.isArray(l)||s(!1,"Resolver is expected to return a plural value."),l.map((function(e){return(0,n.default)({},t,e)}))):(0,n.default)({},t,l)}}e.exports={weakObjectWrapperLive:function(e,t,r){return function(){for(var a=arguments.length,n=new Array(a),u=0;u<a;u++)n[u]=arguments[u];var c=e.apply(null,n);return o(c)||s(!1,"Resolver is expected to return a LiveState value."),(0,i.default)((0,i.default)({},c),{},{read:l((function(){return c.read()}),t,r)})}},weakObjectWrapper:l}}])}));
|
|
4
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/defineProperty")):"function"==typeof define&&define.amd?define(["invariant","@babel/runtime/helpers/interopRequireDefault","fbjs/lib/warning","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","@babel/runtime/helpers/defineProperty"],r):"object"==typeof exports?exports.ReactRelayExperimental=r(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/defineProperty")):e.ReactRelayExperimental=r(e.invariant,e["@babel/runtime/helpers/interopRequireDefault"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/objectSpread2"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/defineProperty"])}(window,(function(e,r,t,n,a,o,l){return function(e){var r={};function t(n){if(r[n])return r[n].exports;var a=r[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,t),a.l=!0,a.exports}return t.m=e,t.c=r,t.d=function(e,r,n){t.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:n})},t.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},t.t=function(e,r){if(1&r&&(e=t(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(t.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)t.d(n,a,function(r){return e[r]}.bind(null,a));return n},t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(r,"a",r),r},t.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},t.p="",t(t.s=6)}([function(r,t){r.exports=e},function(e,t){e.exports=r},function(e,r,t){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FLIGHT_FIELD:"FlightField",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},function(e,r){e.exports=t},function(e,r){e.exports=n},function(e,r,t){"use strict";var n=(0,t(1).default)(t(12)),a=t(13),o=t(2),l=t(15),i=t(0),u=o.VARIABLE,f=o.LITERAL,s=o.OBJECT_VALUE,c=o.LIST_VALUE;function d(e,r){if(e.kind===u)return function(e,r){return r.hasOwnProperty(e)||i(!1,"getVariableValue(): Undefined variable `%s`.",e),l(r[e])}(e.variableName,r);if(e.kind===f)return e.value;if(e.kind===s){var t={};return e.fields.forEach((function(e){t[e.name]=d(e,r)})),t}if(e.kind===c){var n=[];return e.items.forEach((function(e){null!=e&&n.push(d(e,r))})),n}}function p(e,r){var t={};return e.forEach((function(e){t[e.name]=d(e,r)})),t}function E(e,r){if(!r)return e;var t=[];for(var n in r)if(r.hasOwnProperty(n)){var a,o=r[n];if(null!=o)t.push(n+":"+(null!==(a=JSON.stringify(o))&&void 0!==a?a:"undefined"))}return 0===t.length?e:e+"(".concat(t.join(","),")")}var g={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"__isWithinUnmatchedTypeRefinement",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_SNAPSHOT_KEY:"__resolverSnapshot",RELAY_RESOLVER_ERROR_KEY:"__resolverError",RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:"__resolverOutputTypeRecordIDs",formatStorageKey:E,getArgumentValue:d,getArgumentValues:p,getHandleStorageKey:function(e,r){var t=e.dynamicKey,o=e.handle,l=e.key,i=e.name,u=e.args,f=e.filters,s=a(o,l,i),c=null;return u&&f&&0!==u.length&&0!==f.length&&(c=u.filter((function(e){return f.indexOf(e.name)>-1}))),t&&(c=null!=c?[t].concat((0,n.default)(c)):[t]),null===c?s:E(s,p(c,r))},getStorageKey:function(e,r){if(e.storageKey)return e.storageKey;var t=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var r,t;return null==e.args?null===(t=e.fragment)||void 0===t?void 0:t.args:null==(null===(r=e.fragment)||void 0===r?void 0:r.args)?e.args:e.args.concat(e.fragment.args)}return void 0===e.args?void 0:e.args}(e),n=e.name;return t&&0!==t.length?E(n,p(t,r)):n},getStableStorageKey:function(e,r){return E(e,l(r))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=g},function(e,r,t){"use strict";var n=t(7),a=t(17),o=a.weakObjectWrapper,l=a.weakObjectWrapperLive;e.exports={resolverDataInjector:n,weakObjectWrapper:o,weakObjectWrapperLive:l}},function(e,r,t){"use strict";var n=t(8).readFragment,a=t(0);e.exports=function(e,r,t,o){return function(l,i){var u=n(e,l);if(null==t)return r(u,i);if(null==u){if(!0!==o)return r(null,i);a(!1,"Expected required resolver field `%` to be present. But resolvers fragment data is null/undefined.",t)}if(t in u)return!0===o&&null==u[t]&&a(!1,"Expected required resolver field `%` to be non-null."),r(u[t],i);a(!1,"Missing field `%` in resolver response.",t)}}},function(e,r,t){"use strict";var n=t(9).getFragment,a=t(10).getSelector,o=t(0),l=[];var i={};e.exports={readFragment:function(e,r){if(!l.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var t=l[l.length-1],u=n(e),f=a(u,r);null==f&&o(!1,"Expected a selector for the fragment of the resolver ".concat(u.name,", but got null.")),"SingularReaderSelector"!==f.kind&&o(!1,"Expected a singular reader selector for the fragment of the resolver ".concat(u.name,", but it was plural."));var s=t.getDataForResolverFragment(f,r),c=s.data;if(s.isMissingData)throw i;return c},withResolverContext:function(e,r){l.push(e);try{return r()}finally{l.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:i}},function(e,r,t){"use strict";var n=t(2),a=t(0),o=t(3);function l(e){var r=e;return"function"==typeof r?(r=r(),o(!1,"RelayGraphQLTag: node `%s` unexpectedly wrapped in a function.","Fragment"===r.kind?r.name:r.operation.name)):r.default&&(r=r.default),r}function i(e){var r=l(e);return"object"==typeof r&&null!==r&&r.kind===n.FRAGMENT}function u(e){var r=l(e);return"object"==typeof r&&null!==r&&r.kind===n.REQUEST}function f(e){var r=l(e);return"object"==typeof r&&null!==r&&r.kind===n.UPDATABLE_QUERY}function s(e){var r=l(e);return"object"==typeof r&&null!==r&&r.kind===n.INLINE_DATA_FRAGMENT}function c(e){var r=l(e);return i(r)||a(!1,"GraphQLTag: Expected a fragment, got `%s`.",JSON.stringify(r)),r}e.exports={getFragment:c,getNode:l,getPaginationFragment:function(e){var r,t=c(e),n=null===(r=t.metadata)||void 0===r?void 0:r.refetch,a=null==n?void 0:n.connection;return null===n||"object"!=typeof n||null===a||"object"!=typeof a?null:t},getRefetchableFragment:function(e){var r,t=c(e),n=null===(r=t.metadata)||void 0===r?void 0:r.refetch;return null===n||"object"!=typeof n?null:t},getRequest:function(e){var r=l(e);return u(r)||a(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(r)),r},getUpdatableQuery:function(e){var r=l(e);return f(r)||a(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(r)),r},getInlineDataFragment:function(e){var r=l(e);return s(r)||a(!1,"GraphQLTag: Expected an inline data fragment, got `%s`.",JSON.stringify(r)),r},graphql:function(e){a(!1,"graphql: Unexpected invocation at runtime. Either the Babel transform was not set up, or it failed to identify this call site. Make sure it is being used verbatim as `graphql`. Note also that there cannot be a space between graphql and the backtick that follows.")},isFragment:i,isRequest:u,isUpdatableQuery:f,isInlineDataFragment:s}},function(e,r,t){"use strict";var n=t(11).getFragmentVariables,a=t(5),o=a.CLIENT_EDGE_TRAVERSAL_PATH,l=a.FRAGMENT_OWNER_KEY,i=a.FRAGMENTS_KEY,u=a.ID_KEY,f=a.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,s=t(16),c=t(0),d=t(3);function p(e,r){("object"!=typeof r||null===r||Array.isArray(r))&&c(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(r));var t=r[u],a=r[i],s=r[l],p=!0===r[f],E=r[o];if("string"==typeof t&&"object"==typeof a&&null!==a&&"object"==typeof a[e.name]&&null!==a[e.name]&&"object"==typeof s&&null!==s&&(null==E||Array.isArray(E))){var g=s,m=E,b=a[e.name];return A(e,t,n(e,g.variables,b),g,p,m)}var _=JSON.stringify(r);return _.length>499&&(_=_.substr(0,498)+"…"),d(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`.",e.name,_,e.name),null}function E(e,r){var t=null;return r.forEach((function(r,n){var a=null!=r?p(e,r):null;null!=a&&(t=t||[]).push(a)})),null==t?null:{kind:"PluralReaderSelector",selectors:t}}function g(e,r){return null==r?r:e.metadata&&!0===e.metadata.plural?(Array.isArray(r)||c(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(r),e.name),E(e,r)):(Array.isArray(r)&&c(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(r),e.name),p(e,r))}function m(e,r){return null==r?r:e.metadata&&!0===e.metadata.plural?(Array.isArray(r)||c(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(r),e.name),function(e,r){var t=null;return r.forEach((function(r){var n=null!=r?b(e,r):null;null!=n&&(t=t||[]).push(n)})),t}(e,r)):(Array.isArray(r)&&c(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(r),e.name),b(e,r))}function b(e,r){("object"!=typeof r||null===r||Array.isArray(r))&&c(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(r));var t=r[u];return"string"==typeof t?t:(d(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`, or `null` is passed as the fragment reference for `%s` if it's conditonally included and the condition isn't met.",e.name,JSON.stringify(r),e.name,e.name),null)}function _(e,r){var t;return null==r?{}:!0===(null===(t=e.metadata)||void 0===t?void 0:t.plural)?(Array.isArray(r)||c(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(r),e.name),y(e,r)):(Array.isArray(r)&&c(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(r),e.name),v(e,r)||{})}function v(e,r){var t=p(e,r);return t?t.variables:null}function y(e,r){var t={};return r.forEach((function(r,n){if(null!=r){var a=v(e,r);null!=a&&Object.assign(t,a)}})),t}function R(e,r){return e.owner===r.owner&&e.dataID===r.dataID&&e.node===r.node&&s(e.variables,r.variables)}function A(e,r,t,n){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:r,isWithinUnmatchedTypeRefinement:a,clientEdgeTraversalPath:null!=o?o:null,node:e,variables:t,owner:n}}e.exports={areEqualSelectors:function(e,r){return e===r||(null==e?null==r:null==r?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===r.kind?R(e,r):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===r.kind&&(e.selectors.length===r.selectors.length&&e.selectors.every((function(e,t){return R(e,r.selectors[t])}))))},createReaderSelector:A,createNormalizationSelector:function(e,r,t){return{dataID:r,node:e,variables:t}},getDataIDsFromFragment:m,getDataIDsFromObject:function(e,r){var t={};for(var n in e)if(e.hasOwnProperty(n)){var a=e[n],o=r[n];t[n]=m(a,o)}return t},getSingularSelector:p,getPluralSelector:E,getSelector:g,getSelectorsFromObject:function(e,r){var t={};for(var n in e)if(e.hasOwnProperty(n)){var a=e[n],o=r[n];t[n]=g(a,o)}return t},getVariablesFromSingularFragment:v,getVariablesFromPluralFragment:y,getVariablesFromFragment:_,getVariablesFromObject:function(e,r){var t={};for(var n in e)if(e.hasOwnProperty(n)){var a=_(e[n],r[n]);Object.assign(t,a)}return t}}},function(e,r,t){"use strict";var n=(0,t(1).default)(t(4)),a=t(5).getArgumentValues,o=t(0);e.exports={getLocalVariables:function(e,r,t){if(null==r)return e;var o=(0,n.default)({},e),l=t?a(t,e):{};return r.forEach((function(e){var r,t=null!==(r=l[e.name])&&void 0!==r?r:e.defaultValue;o[e.name]=t})),o},getFragmentVariables:function(e,r,t){return null==e.argumentDefinitions?t:(e.argumentDefinitions.forEach((function(l){if(!t.hasOwnProperty(l.name))switch(a=a||(0,n.default)({},t),l.kind){case"LocalArgument":a[l.name]=l.defaultValue;break;case"RootArgument":if(!r.hasOwnProperty(l.name)){a[l.name]=void 0;break}a[l.name]=r[l.name];break;default:o(!1,"RelayConcreteVariables: Unexpected node kind `%s` in fragment `%s`.",l.kind,e.name)}})),a||t);var a},getOperationVariables:function(e,r,t){var n={};return e.argumentDefinitions.forEach((function(e){var r=e.defaultValue;null!=t[e.name]&&(r=t[e.name]),n[e.name]=r})),null!=r&&Object.keys(r).forEach((function(e){n[e]=r[e].get()})),n}}},function(e,r){e.exports=a},function(e,r,t){"use strict";var n=t(14).DEFAULT_HANDLE_KEY,a=t(0);e.exports=function(e,r,t){return r&&r!==n?"__".concat(r,"_").concat(e):(null==t&&a(!1,"getRelayHandleKey: Expected either `fieldName` or `key` in `handle` to be provided"),"__".concat(t,"_").concat(e))}},function(e,r,t){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,r,t){"use strict";e.exports=function e(r){if(!r||"object"!=typeof r)return r;if(Array.isArray(r))return r.map(e);for(var t=Object.keys(r).sort(),n={},a=0;a<t.length;a++)n[t[a]]=e(r[t[a]]);return n}},function(e,r){e.exports=o},function(e,r,t){"use strict";var n=t(1).default,a=n(t(18)),o=n(t(4)),l=t(0),i=t(19);function u(e,r,t){return function(){for(var n=arguments.length,o=new Array(n),i=0;i<n;i++)o[i]=arguments[i];var u=e.apply(null,o);return t?(Array.isArray(u)||l(!1,"Resolver is expected to return a plural value."),u.map((function(e){return(0,a.default)({},r,e)}))):(0,a.default)({},r,u)}}e.exports={weakObjectWrapperLive:function(e,r,t){return function(){for(var n=arguments.length,a=new Array(n),f=0;f<n;f++)a[f]=arguments[f];var s=e.apply(null,a);return i(s)||l(!1,"Resolver is expected to return a LiveState value."),(0,o.default)((0,o.default)({},s),{},{read:u((function(){return s.read()}),r,t)})}},weakObjectWrapper:u}},function(e,r){e.exports=l},function(e,r,t){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&"function"==typeof e.read&&"function"==typeof e.subscribe}}])}));
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Relay v0.0.0-main-
|
|
2
|
+
* Relay v0.0.0-main-07c8dfdf
|
|
3
3
|
*
|
|
4
4
|
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
5
5
|
*
|
|
6
6
|
* This source code is licensed under the MIT license found in the
|
|
7
7
|
* LICENSE file in the root directory of this source tree.
|
|
8
8
|
*/
|
|
9
|
-
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("fbjs/lib/warning"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["invariant","@babel/runtime/helpers/interopRequireDefault","@babel/runtime/helpers/createForOfIteratorHelper","fbjs/lib/warning","fbjs/lib/areEqual","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toConsumableArray"],t):"object"==typeof exports?exports.ReactRelayExperimental=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("fbjs/lib/warning"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray")):e.ReactRelayExperimental=t(e.invariant,e["@babel/runtime/helpers/interopRequireDefault"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["fbjs/lib/warning"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/objectSpread2"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,i,n,a,s,l){return function(e){var t={};function r(i){if(t[i])return t[i].exports;var n=t[i]={i:i,l:!1,exports:{}};return e[i].call(n.exports,n,n.exports,r),n.l=!0,n.exports}return r.m=e,r.c=t,r.d=function(e,t,i){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},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 i=Object.create(null);if(r.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var n in e)r.d(i,n,function(t){return e[t]}.bind(null,n));return i},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=31)}([function(t,r){t.exports=e},function(e,t,r){"use strict";var i=(0,r(2).default)(r(18)),n=r(37),a=r(3),s=r(39),l=r(0),o=a.VARIABLE,u=a.LITERAL,c=a.OBJECT_VALUE,d=a.LIST_VALUE;function _(e,t){if(e.kind===o)return function(e,t){return t.hasOwnProperty(e)||l(!1),s(t[e])}(e.variableName,t);if(e.kind===u)return e.value;if(e.kind===c){var r={};return e.fields.forEach((function(e){r[e.name]=_(e,t)})),r}if(e.kind===d){var i=[];return e.items.forEach((function(e){null!=e&&i.push(_(e,t))})),i}}function h(e,t){var r={};return e.forEach((function(e){r[e.name]=_(e,t)})),r}function f(e,t){if(!t)return e;var r=[];for(var i in t)if(t.hasOwnProperty(i)){var n,a=t[i];if(null!=a)r.push(i+":"+(null!==(n=JSON.stringify(a))&&void 0!==n?n:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var v={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"__isWithinUnmatchedTypeRefinement",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_SNAPSHOT_KEY:"__resolverSnapshot",RELAY_RESOLVER_ERROR_KEY:"__resolverError",RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:"__resolverOutputTypeRecordIDs",formatStorageKey:f,getArgumentValue:_,getArgumentValues:h,getHandleStorageKey:function(e,t){var r=e.dynamicKey,a=e.handle,s=e.key,l=e.name,o=e.args,u=e.filters,c=n(a,s,l),d=null;return o&&u&&0!==o.length&&0!==u.length&&(d=o.filter((function(e){return u.indexOf(e.name)>-1}))),r&&(d=null!=d?[r].concat((0,i.default)(d)):[r]),null===d?c:f(c,h(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var t,r;return null==e.args?null===(r=e.fragment)||void 0===r?void 0:r.args:null==(null===(t=e.fragment)||void 0===t?void 0:t.args)?e.args:e.args.concat(e.fragment.args)}return void 0===e.args?void 0:e.args}(e),i=e.name;return r&&0!==r.length?f(i,h(r,t)):i},getStableStorageKey:function(e,t){return f(e,s(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=v},function(e,r){e.exports=t},function(e,t,r){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FLIGHT_FIELD:"FlightField",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},function(e,t,r){"use strict";var i=(0,r(2).default)(r(12)),n=r(17),a=(r(6).isClientID,r(1)),s=a.ACTOR_IDENTIFIER_KEY,l=a.ID_KEY,o=a.INVALIDATED_AT_KEY,u=a.REF_KEY,c=a.REFS_KEY,d=(a.ROOT_ID,a.TYPENAME_KEY),_=r(9),h=r(0);r(8);e.exports={clone:function(e){return(0,i.default)({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==l&&r!==d&&(t[r]=e[r])},create:function(e,t){var r={};return r[l]=e,r[d]=t,r},freeze:function(e){n(e)},getDataID:function(e){return e[l]},getInvalidationEpoch:function(e){if(null==e)return null;var t=e[o];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];if(null==r)return r;var i=r;return"object"==typeof i&&i&&"string"==typeof i[u]||h(!1),i[u]},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[c])||h(!1),r[c])},getType:function(e){return e[d]},getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(u)||r.hasOwnProperty(c))&&h(!1),r},merge:function(e,t){return(0,i.default)((0,i.default)({},e),t)},setValue:function(e,t,r){e[t]=r},setLinkedRecordID:function(e,t,r){var i={};i[u]=r,e[t]=i},setLinkedRecordIDs:function(e,t,r){var i={};i[c]=r,e[t]=i},update:function(e,t){for(var r=null,n=Object.keys(t),a=0;a<n.length;a++){var s=n[a];!r&&_(e[s],t[s])||((r=null!==r?r:(0,i.default)({},e))[s]=t[s])}return null!==r?r:e},getActorLinkedRecordID:function(e,t){var r=e[t];return null==r?r:(("object"!=typeof r||"string"!=typeof r[u]||null==r[s])&&h(!1),[r[s],r[u]])},setActorLinkedRecordID:function(e,t,r,i){var n={};n[u]=i,n[s]=r,e[t]=n}}},function(e,t){e.exports=r},function(e,t,r){"use strict";var i=r(7),n=r(36).intern;var a=0;e.exports={generateClientID:function(e,t,r){var a=(i.STRING_INTERN_LEVEL<=0?e:n(e,i.MAX_DATA_ID_LENGTH))+":"+t;return null!=r&&(a+=":"+r),0!==a.indexOf("client:")&&(a="client:"+a),a},generateClientObjectClientID:function(e,t,r){var i="".concat("client:").concat(e,":").concat(t);return null!=r&&(i+=":"+r),i},generateUniqueClientID:function(){return"".concat("client:","local:").concat(a++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t,r){"use strict";e.exports={ENABLE_CLIENT_EDGES:!1,ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!0,ENABLE_REACT_FLIGHT_COMPONENT_FIELD:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_LOAD_QUERY_REQUEST_DEDUPING:!0,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,MAX_DATA_ID_LENGTH:null,STRING_INTERN_LEVEL:0,USE_REACT_CACHE:!1,USE_REACT_CACHE_LEGACY_TIMEOUTS:!0,ENABLE_QUERY_RENDERER_SET_STATE_PREVENTION:!1}},function(e,t){e.exports=i},function(e,t){e.exports=n},function(e,t,r){"use strict";var i=(0,r(2).default)(r(12)),n=r(1).getArgumentValues,a=r(0);e.exports={getLocalVariables:function(e,t,r){if(null==t)return e;var a=(0,i.default)({},e),s=r?n(r,e):{};return t.forEach((function(e){var t,r=null!==(t=s[e.name])&&void 0!==t?t:e.defaultValue;a[e.name]=r})),a},getFragmentVariables:function(e,t,r){return null==e.argumentDefinitions?r:(e.argumentDefinitions.forEach((function(e){if(!r.hasOwnProperty(e.name))switch(n=n||(0,i.default)({},r),e.kind){case"LocalArgument":n[e.name]=e.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(e.name)){n[e.name]=void 0;break}n[e.name]=t[e.name];break;default:a(!1)}})),n||r);var n},getOperationVariables:function(e,t,r){var i={};return e.argumentDefinitions.forEach((function(e){var t=e.defaultValue;null!=r[e.name]&&(t=r[e.name]),i[e.name]=t})),null!=t&&Object.keys(t).forEach((function(e){i[e]=t[e].get()})),i}}},function(e,t,r){"use strict";var i=r(4).getType,n=r(0);e.exports={REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY:"executableDefinitions",REACT_FLIGHT_TREE_STORAGE_KEY:"tree",REACT_FLIGHT_TYPE_NAME:"ReactFlightComponent",getReactFlightClientResponse:function(e){return"ReactFlightComponent"!==i(e)&&n(!1),e.tree},refineToReactFlightPayloadData:function(e){return null!=e&&"object"==typeof e&&"string"==typeof e.status&&(Array.isArray(e.tree)||null===e.tree)&&Array.isArray(e.queries)&&Array.isArray(e.fragments)&&Array.isArray(e.errors)?e:null}}},function(e,t){e.exports=a},function(e,t,r){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},function(e,t,r){"use strict";var i=r(10).getFragmentVariables,n=r(1),a=n.CLIENT_EDGE_TRAVERSAL_PATH,s=n.FRAGMENT_OWNER_KEY,l=n.FRAGMENTS_KEY,o=n.ID_KEY,u=n.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,c=r(9),d=r(0);r(8);function _(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1);var r=t[o],n=t[l],c=t[s],_=!0===t[u],h=t[a];if("string"==typeof r&&"object"==typeof n&&null!==n&&"object"==typeof n[e.name]&&null!==n[e.name]&&"object"==typeof c&&null!==c&&(null==h||Array.isArray(h))){var f=c,v=h,g=n[e.name];return m(e,r,i(e,f.variables,g),f,_,v)}return null}function h(e,t){var r=null;return t.forEach((function(t,i){var n=null!=t?_(e,t):null;null!=n&&(r=r||[]).push(n)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function f(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1),h(e,t)):(Array.isArray(t)&&d(!1),_(e,t))}function v(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1),function(e,t){var r=null;return t.forEach((function(t){var i=null!=t?g(e,t):null;null!=i&&(r=r||[]).push(i)})),r}(e,t)):(Array.isArray(t)&&d(!1),g(e,t))}function g(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1);var r=t[o];return"string"==typeof r?r:null}function E(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||d(!1),R(e,t)):(Array.isArray(t)&&d(!1),p(e,t)||{})}function p(e,t){var r=_(e,t);return r?r.variables:null}function R(e,t){var r={};return t.forEach((function(t,i){if(null!=t){var n=p(e,t);null!=n&&Object.assign(r,n)}})),r}function I(e,t){return e.owner===t.owner&&e.dataID===t.dataID&&e.node===t.node&&c(e.variables,t.variables)}function m(e,t,r,i){var n=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:n,clientEdgeTraversalPath:null!=a?a:null,node:e,variables:r,owner:i}}e.exports={areEqualSelectors:function(e,t){return e===t||(null==e?null==t:null==t?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===t.kind?I(e,t):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===t.kind&&(e.selectors.length===t.selectors.length&&e.selectors.every((function(e,r){return I(e,t.selectors[r])}))))},createReaderSelector:m,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:v,getDataIDsFromObject:function(e,t){var r={};for(var i in e)if(e.hasOwnProperty(i)){var n=e[i],a=t[i];r[i]=v(n,a)}return r},getSingularSelector:_,getPluralSelector:h,getSelector:f,getSelectorsFromObject:function(e,t){var r={};for(var i in e)if(e.hasOwnProperty(i)){var n=e[i],a=t[i];r[i]=f(n,a)}return r},getVariablesFromSingularFragment:p,getVariablesFromPluralFragment:R,getVariablesFromFragment:E,getVariablesFromObject:function(e,t){var r={};for(var i in e)if(e.hasOwnProperty(i)){var n=E(e[i],t[i]);Object.assign(r,n)}return r}}},function(e,t,r){"use strict";e.exports={generateTypeID:function(e){return"client:__type:"+e},isTypeID:function(e){return 0===e.indexOf("client:__type:")},TYPE_SCHEMA_TYPE:"__TypeSchema"}},function(e,t){e.exports=s},function(e,t,r){"use strict";e.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(r){var i=t[r];i&&"object"==typeof i&&!Object.isFrozen(i)&&e(i)})),t}},function(e,t){e.exports=l},function(e,t,r){"use strict";var i=r(3),n=r(0);r(8);function a(e){var t=e;return"function"==typeof t?t=t():t.default&&(t=t.default),t}function s(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===i.FRAGMENT}function l(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===i.REQUEST}function o(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===i.UPDATABLE_QUERY}function u(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===i.INLINE_DATA_FRAGMENT}function c(e){var t=a(e);return s(t)||n(!1),t}e.exports={getFragment:c,getNode:a,getPaginationFragment:function(e){var t,r=c(e),i=null===(t=r.metadata)||void 0===t?void 0:t.refetch,n=null==i?void 0:i.connection;return null===i||"object"!=typeof i||null===n||"object"!=typeof n?null:r},getRefetchableFragment:function(e){var t,r=c(e),i=null===(t=r.metadata)||void 0===t?void 0:t.refetch;return null===i||"object"!=typeof i?null:r},getRequest:function(e){var t=a(e);return l(t)||n(!1),t},getUpdatableQuery:function(e){var t=a(e);return o(t)||n(!1),t},getInlineDataFragment:function(e){var t=a(e);return u(t)||n(!1),t},graphql:function(e){n(!1)},isFragment:s,isRequest:l,isUpdatableQuery:o,isInlineDataFragment:u}},function(e,t,r){"use strict";var i=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});e.exports={isSuspenseSentinel:function(e){return e===i},suspenseSentinel:function(){return i}}},function(e,t,r){"use strict";var i="undefined"!=typeof WeakSet,n="undefined"!=typeof WeakMap;e.exports=function e(t,r){if(t===r||"object"!=typeof t||t instanceof Set||t instanceof Map||i&&t instanceof WeakSet||n&&t instanceof WeakMap||!t||"object"!=typeof r||r instanceof Set||r instanceof Map||i&&r instanceof WeakSet||n&&r instanceof WeakMap||!r)return r;var a=!1,s=Array.isArray(t)?t:null,l=Array.isArray(r)?r:null;if(s&&l)a=l.reduce((function(t,r,i){var n=e(s[i],r);return n!==l[i]&&(l[i]=n),t&&n===s[i]}),!0)&&s.length===l.length;else if(!s&&!l){var o=t,u=r,c=Object.keys(o),d=Object.keys(u);a=d.reduce((function(t,r){var i=e(o[r],u[r]);return i!==u[r]&&(u[r]=i),t&&i===o[r]}),!0)&&c.length===d.length}return a?t:r}},function(e,t,r){"use strict";var i=r(0);e.exports={assertInternalActorIdentifier:function(e){"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"!==e&&i(!1)},getActorIdentifier:function(e){return e},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"}},function(e,t,r){"use strict";var i=(0,r(2).default)(r(5)),n=r(1).getArgumentValues,a=r(3),s=a.ACTOR_CHANGE,l=a.ALIASED_FRAGMENT_SPREAD,o=a.ALIASED_INLINE_FRAGMENT_SPREAD,u=a.CLIENT_EDGE_TO_CLIENT_OBJECT,c=a.CLIENT_EDGE_TO_SERVER_OBJECT,d=a.CLIENT_EXTENSION,_=a.CONDITION,h=a.DEFER,f=a.FLIGHT_FIELD,v=a.FRAGMENT_SPREAD,g=a.INLINE_DATA_FRAGMENT_SPREAD,E=a.INLINE_FRAGMENT,p=a.LINKED_FIELD,R=a.MODULE_IMPORT,I=a.RELAY_LIVE_RESOLVER,m=a.RELAY_RESOLVER,S=a.REQUIRED_FIELD,y=a.SCALAR_FIELD,D=a.STREAM,b=["id","__id","__typename","js"];function T(e,t,r,a,k,O){var C,P,M=(0,i.default)(a);try{var V=function(){var a=P.value;switch(a.kind){case p:a.plural?Object.defineProperty(e,null!==(w=a.alias)&&void 0!==w?w:a.name,{get:N(a,r,t,k,O),set:A(a,r,t,k)}):Object.defineProperty(e,null!==(x=a.alias)&&void 0!==x?x:a.name,{get:F(a,r,t,k,O),set:L(a,r,t,k)});break;case y:var M=null!==(C=a.alias)&&void 0!==C?C:a.name;Object.defineProperty(e,M,{get:function(){var e,s=n(null!==(e=a.args)&&void 0!==e?e:[],r),l=t.getValue(a.name,s);return null==l&&(l=function(e,t,r,n,a){var s,l=(0,i.default)(a);try{for(l.s();!(s=l.n()).done;){var o=s.value;if("scalar"===o.kind){var u=o.handle(e,r,t,n);if(void 0!==u)return u}}}catch(e){l.e(e)}finally{l.f()}}(a,s,t,k,O)),l},set:b.includes(a.name)?void 0:function(e){var i,s=n(null!==(i=a.args)&&void 0!==i?i:[],r);t.setValue__UNSAFE(e,a.name,s)}});break;case E:t.getType()===a.type&&T(e,t,r,a.selections,k,O);break;case d:T(e,t,r,a.selections,k,O);break;case v:break;case _:case s:case l:case g:case o:case u:case c:case h:case f:case R:case I:case S:case D:case m:throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.");default:throw a.kind,new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(M.s();!(P=M.n()).done;){var w,x;V()}}catch(e){M.e(e)}finally{M.f()}}function A(e,t,r,i){return function(a){var s,l=n(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==a)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var o=a.map((function(e){if(null==e)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var t=e.__id;if(null==t)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var r=i.get(t);if(null==r)throw new Error("Did not find item with data id ".concat(t," in the store."));return r}));r.setLinkedRecords(o,e.name,l)}}function L(e,t,r,i){return function(a){var s,l=n(null!==(s=e.args)&&void 0!==s?s:[],t);if(null==a)r.setValue(a,e.name,l);else{var o=a.__id;if(null==o)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var u=i.get(o);if(null==u)throw new Error("Did not find item with data id ".concat(o," in the store."));r.setLinkedRecord(u,e.name,l)}}}function N(e,t,r,a,s){return function(){var l,o=n(null!==(l=e.args)&&void 0!==l?l:[],t),u=r.getLinkedRecords(e.name,o);return void 0===u&&(u=function(e,t,r,n,a){var s,l=(0,i.default)(a);try{for(l.s();!(s=l.n()).done;){var o=s.value;if("pluralLinked"===o.kind){var u=o.handle(e,r,t,n);if(null!=u)return u.map((function(e){if(null!=e)return n.get(e)}))}}}catch(e){l.e(e)}finally{l.f()}}(e,o,r,a,s)),null!=u?u.map((function(r){if(null!=r){var i={};return T(i,r,t,e.selections,a,s),i}return r})):u}}function F(e,t,r,a,s){return function(){var l,o=n(null!==(l=e.args)&&void 0!==l?l:[],t),u=r.getLinkedRecord(e.name,o);if(void 0===u&&(u=function(e,t,r,n,a){var s,l=(0,i.default)(a);try{for(l.s();!(s=l.n()).done;){var o=s.value;if("linked"===o.kind){var u=o.handle(e,r,t,n);if(null!=u)return n.get(u)}}}catch(e){l.e(e)}finally{l.f()}}(e,o,r,a,s)),null!=u){var c={};return T(c,u,t,e.selections,a,s),c}return u}}e.exports={createUpdatableProxy:function(e,t,r,i,n){var a={};return T(a,e,t,r,i,n),a}}},function(e,t,r){"use strict";var i=r(3),n=i.REQUEST,a=i.SPLIT_OPERATION;e.exports=function(e){switch(e.kind){case n:return e.operation;case a:default:return e}}},function(e,t,r){"use strict";var i=r(3).LINKED_FIELD,n=r(1).getHandleStorageKey,a=r(9),s=r(0);e.exports=function(e,t,r){var l=t.find((function(t){return t.kind===i&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));l&&l.kind===i||s(!1);var o=n(e,r);return{kind:"LinkedField",alias:l.alias,name:o,storageKey:o,args:null,concreteType:l.concreteType,plural:l.plural,selections:l.selections}}},function(e,t,r){"use strict";var i=(0,r(2).default)(r(5)),n=r(13),a=n.EXISTENT,s=n.NONEXISTENT,l=n.UNKNOWN,o=function(){function e(e){var t=this;this._records=new Map,null!=e&&Object.keys(e).forEach((function(r){t._records.set(r,e[r])}))}e.create=function(t){return new e(t)};var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(e){this._records.set(e,null)},t.get=function(e){return this._records.get(e)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?s:a:l},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e,t={},r=(0,i.default)(this._records);try{for(r.s();!(e=r.n()).done;){var n=e.value,a=n[0],s=n[1];t[a]=s}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=o},function(e,t,r){"use strict";var i=r(2).default,n=i(r(5)),a=i(r(16)),s=i(r(18)),l=r(3),o=l.ACTOR_CHANGE,u=l.ALIASED_FRAGMENT_SPREAD,c=l.ALIASED_INLINE_FRAGMENT_SPREAD,d=l.CLIENT_EDGE_TO_CLIENT_OBJECT,_=l.CLIENT_EDGE_TO_SERVER_OBJECT,h=l.CLIENT_EXTENSION,f=l.CONDITION,v=l.DEFER,g=l.FLIGHT_FIELD,E=l.FRAGMENT_SPREAD,p=l.INLINE_DATA_FRAGMENT_SPREAD,R=l.INLINE_FRAGMENT,I=l.LINKED_FIELD,m=l.MODULE_IMPORT,S=l.RELAY_LIVE_RESOLVER,y=l.RELAY_RESOLVER,D=l.REQUIRED_FIELD,b=l.SCALAR_FIELD,T=l.STREAM,A=r(7),L=r(20).isSuspenseSentinel,N=r(10),F=r(4),k=r(11).getReactFlightClientResponse,O=r(1),C=O.CLIENT_EDGE_TRAVERSAL_PATH,P=O.FRAGMENT_OWNER_KEY,M=O.FRAGMENT_PROP_NAME_KEY,V=O.FRAGMENTS_KEY,w=O.ID_KEY,x=O.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,Y=O.MODULE_COMPONENT_KEY,U=O.ROOT_ID,G=O.getArgumentValues,K=O.getModuleComponentKey,j=O.getStorageKey,H=r(48).NoopResolverCache,B=r(28),q=B.RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL,W=B.withResolverContext,z=r(15).generateTypeID,X=r(0);function Q(e,t,r){return new J(e,t,null!=r?r:new H).read()}var J=function(){function e(e,t,r){var i;this._clientEdgeTraversalPath=A.ENABLE_CLIENT_EDGES&&null!==(i=t.clientEdgeTraversalPath)&&void 0!==i&&i.length?(0,s.default)(t.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._owner=t.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=t,this._variables=t.variables,this._resolverCache=r,this._resolverErrors=[],this._fragmentName=t.node.name,this._updatedDataIDs=new Set}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,i=e.isWithinUnmatchedTypeRefinement,n=t.abstractKey,a=this._recordSource.get(r),s=!i;s&&null==n&&null!=a&&(F.getType(a)!==t.type&&r!==U&&(s=!1));if(s&&null!=n&&null!=a){var l=this._implementsInterface(a,n);!1===l?s=!1:null==l&&(this._isMissingData=!0)}this._isWithinUnmatchedTypeRefinement=!s;var o=this._traverse(t,r,null);return this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:o,isMissingData:this._isMissingData&&s,missingClientEdges:A.ENABLE_CLIENT_EDGES&&this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields,relayResolverErrors:this._resolverErrors}},t._markDataAsMissing=function(){if(this._isMissingData=!0,A.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},t._traverse=function(e,t,r){var i=this._recordSource.get(t);if(this._seenRecords.add(t),null==i)return void 0===i&&this._markDataAsMissing(),i;var n=r||{};return this._traverseSelections(e.selections,i,n)?n:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||X(!1),this._variables[e]},t._maybeReportUnexpectedNull=function(e,t,r){var i;if("THROW"!==(null===(i=this._missingRequiredFields)||void 0===i?void 0:i.action)){var n=this._fragmentName;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:n}});case"LOG":return void(null==this._missingRequiredFields?this._missingRequiredFields={action:t,fields:[{path:e,owner:n}]}:this._missingRequiredFields={action:t,fields:[].concat((0,s.default)(this._missingRequiredFields.fields),[{path:e,owner:n}])})}}},t._traverseSelections=function(e,t,r){for(var i=0;i<e.length;i++){var n=e[i];switch(n.kind){case D:if(null==this._readRequiredField(n,t,r)){var a=n.action;return"NONE"!==a&&this._maybeReportUnexpectedNull(n.path,a,t),!1}break;case b:this._readScalar(n,t,r);break;case I:n.plural?this._readPluralLink(n,t,r):this._readLink(n,t,r);break;case f:if(Boolean(this._getVariableValue(n.condition))===n.passingValue)if(!this._traverseSelections(n.selections,t,r))return!1;break;case R:if(!1===this._readInlineFragment(n,t,r))return!1;break;case S:case y:if(!A.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(n,t,r);break;case E:this._createFragmentPointer(n,t,r);break;case u:r[n.name]=this._createAliasedFragmentSpread(n,t);break;case c:var s=this._readInlineFragment(n.fragment,t,{});!1===s&&(s=null),r[n.name]=s;break;case m:this._readModuleImport(n,t,r);break;case p:this._createInlineDataOrResolverFragmentPointer(n,t,r);break;case v:case h:var l=this._isMissingData,L=this._missingClientEdges.length;A.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.push(null);var N=this._traverseSelections(n.selections,t,r);if(this._isMissingData=l||this._missingClientEdges.length>L||this._missingLiveResolverFields.length>0,A.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.pop(),!N)return!1;break;case T:if(!this._traverseSelections(n.selections,t,r))return!1;break;case g:if(!A.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._readFlightField(n,t,r);break;case o:this._readActorChange(n,t,r);break;case d:case _:if(!A.ENABLE_CLIENT_EDGES)throw new Error("Client edges are not yet supported.");this._readClientEdge(n,t,r);break;default:X(!1)}}return!0},t._readRequiredField=function(e,t,r){switch(e.field.kind){case b:return this._readScalar(e.field,t,r);case I:return e.field.plural?this._readPluralLink(e.field,t,r):this._readLink(e.field,t,r);case y:case S:if(!A.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,t,r);case d:case _:if(!A.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readClientEdge(e.field,t,r);default:e.field.kind,X(!1)}},t._readResolverField=function(e,t,r){var i,s,l=this,o=e.fragment,u=F.getDataID(t),c=function(e){return null!=s?{data:s.data,isMissingData:s.isMissingData}:{data:(s=Q(l._recordSource,e,l._resolverCache)).data,isMissingData:s.isMissingData}},d=this._resolverCache.readFromCacheOrEvaluate(u,e,this._variables,(function(){if(null!=o){var t={__id:u,__fragmentOwner:l._owner,__fragments:(0,a.default)({},o.name,o.args?G(o.args,l._variables):{})};return W({getDataForResolverFragment:c},(function(){var r=Z(e,l._variables,t,l._fragmentName),i=r[0],n=r[1];return{resolverResult:i,snapshot:s,error:n}}))}var r=Z(e,l._variables,null,l._fragmentName);return{resolverResult:r[0],snapshot:void 0,error:r[1]}}),c),_=d[0],h=d[1],f=d[2],v=d[3],g=d[4],E=d[5];if(null!=v){if(null!=v.missingRequiredFields&&this._addMissingRequiredFields(v.missingRequiredFields),null!=v.missingClientEdges){var p,R=(0,n.default)(v.missingClientEdges);try{for(R.s();!(p=R.n()).done;){var I=p.value;this._missingClientEdges.push(I)}}catch(e){R.e(e)}finally{R.f()}}if(null!=v.missingLiveResolverFields){this._isMissingData=this._isMissingData||v.missingLiveResolverFields.length>0;var m,S=(0,n.default)(v.missingLiveResolverFields);try{for(S.s();!(m=S.n()).done;){var y=m.value;this._missingLiveResolverFields.push(y)}}catch(e){S.e(e)}finally{S.f()}}var D,b=(0,n.default)(v.relayResolverErrors);try{for(b.s();!(D=b.n()).done;){var T=D.value;this._resolverErrors.push(T)}}catch(e){b.e(e)}finally{b.f()}this._isMissingData=this._isMissingData||v.isMissingData}if(f&&this._resolverErrors.push(f),null!=h&&this._seenRecords.add(h),null!=g&&(this._isMissingData=!0,this._missingLiveResolverFields.push({path:"".concat(this._fragmentName,".").concat(e.path),liveStateID:g})),null!=E){var A,L=(0,n.default)(E);try{for(L.s();!(A=L.n()).done;){var N=A.value;this._updatedDataIDs.add(N)}}catch(e){L.e(e)}finally{L.f()}}return r[null!==(i=e.alias)&&void 0!==i?i:e.name]=_,_},t._readClientEdge=function(e,t,r){var i,n=this,a=e.backingField;"ClientExtension"===a.kind&&X(!1);var s=null!==(i=a.alias)&&void 0!==i?i:a.name,l={};this._traverseSelections([a],t,l);var o=l[s];if(null==o||L(o))r[s]=o;else{if(e.linkedField.plural?Array.isArray(o)||X(!1):"string"!=typeof o&&X(!1),e.kind===d?(null==a.normalizationInfo&&(o=e.linkedField.plural?o.map((function(t){return n._resolverCache.ensureClientRecord(t,e.concreteType)})):this._resolverCache.ensureClientRecord(o,e.concreteType)),this._clientEdgeTraversalPath.push(null)):(e.linkedField.plural&&X(!1),this._clientEdgeTraversalPath.push({readerClientEdge:e,clientEdgeDestinationID:o})),e.linkedField.plural)r[s]=this._readLinkedIds(e.linkedField,o,t,r);else{var u=r[s];null!=u&&"object"!=typeof u&&X(!1),r[s]=this._traverse(e.linkedField,o,u)}this._clientEdgeTraversalPath.pop()}},t._readFlightField=function(e,t,r){var i,n=null!==(i=e.alias)&&void 0!==i?i:e.name,a=j(e,this._variables),s=F.getLinkedRecordID(t,a);if(null==s)return r[n]=s,void 0===s&&this._markDataAsMissing(),s;var l=this._recordSource.get(s);if(this._seenRecords.add(s),null==l)return r[n]=l,void 0===l&&this._markDataAsMissing(),l;var o=k(l);return r[n]=o,o},t._readScalar=function(e,t,r){var i,n=null!==(i=e.alias)&&void 0!==i?i:e.name,a=j(e,this._variables),s=F.getValue(t,a);return void 0===s&&this._markDataAsMissing(),r[n]=s,s},t._readLink=function(e,t,r){var i,n=null!==(i=e.alias)&&void 0!==i?i:e.name,a=j(e,this._variables),s=F.getLinkedRecordID(t,a);if(null==s)return r[n]=s,void 0===s&&this._markDataAsMissing(),s;var l=r[n];null!=l&&"object"!=typeof l&&X(!1);var o=this._traverse(e,s,l);return r[n]=o,o},t._readActorChange=function(e,t,r){var i,n=null!==(i=e.alias)&&void 0!==i?i:e.name,a=j(e,this._variables),s=F.getActorLinkedRecordID(t,a);if(null==s)return r[n]=s,void 0===s&&this._markDataAsMissing(),r[n];var l=s[0],o=s[1],u={};return this._createFragmentPointer(e.fragmentSpread,{__id:o},u),r[n]={__fragmentRef:u,__viewer:l},r[n]},t._readPluralLink=function(e,t,r){var i=j(e,this._variables),n=F.getLinkedRecordIDs(t,i);return this._readLinkedIds(e,n,t,r)},t._readLinkedIds=function(e,t,r,i){var n,a=this,s=null!==(n=e.alias)&&void 0!==n?n:e.name;if(null==t)return i[s]=t,void 0===t&&this._markDataAsMissing(),t;var l=i[s];null==l||Array.isArray(l)||X(!1);var o=l||[];return t.forEach((function(t,r){if(null==t)return void 0===t&&a._markDataAsMissing(),void(o[r]=t);var i=o[r];null!=i&&"object"!=typeof i&&X(!1),o[r]=a._traverse(e,t,i)})),i[s]=o,o},t._readModuleImport=function(e,t,r){var i=K(e.documentName),n=F.getValue(t,i);null!=n?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},t,r),r[M]=e.fragmentPropName,r[Y]=n):void 0===n&&this._markDataAsMissing()},t._createAliasedFragmentSpread=function(e,t){var r=e.abstractKey;if(null==r){var i=F.getType(t);if(null==i||i!==e.type)return null}else{var n=this._implementsInterface(t,r);if(!1===n)return null;if(null==n)return void this._markDataAsMissing()}var a={};return this._createFragmentPointer(e.fragment,t,a),a},t._readInlineFragment=function(e,t,r){var i=e.abstractKey;if(null==i){var n=F.getType(t);if(null==n||n!==e.type)return null;if(!this._traverseSelections(e.selections,t,r))return!1}else{var a=this._implementsInterface(t,i),s=this._isMissingData,l=this._isWithinUnmatchedTypeRefinement;if(this._isWithinUnmatchedTypeRefinement=l||!1===a,this._traverseSelections(e.selections,t,r),this._isWithinUnmatchedTypeRefinement=l,!1===a)return void(this._isMissingData=s);if(null==a)return this._markDataAsMissing(),null}return r},t._createFragmentPointer=function(e,t,r){var i=r[V];null==i&&(i=r[V]={}),("object"!=typeof i||null==i)&&X(!1),null==r[w]&&(r[w]=F.getDataID(t)),i[e.name]=e.args?G(e.args,this._variables):{},r[P]=this._owner,r[x]=this._isWithinUnmatchedTypeRefinement,A.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(r[C]=(0,s.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(e,t,r){var i=r[V];null==i&&(i=r[V]={}),("object"!=typeof i||null==i)&&X(!1),null==r[w]&&(r[w]=F.getDataID(t));var n={},a=this._fragmentName;this._fragmentName=e.name;var s=this._variables,l=e.args?G(e.args,this._variables):{};this._variables=N.getFragmentVariables(e,this._owner.variables,l),this._traverseSelections(e.selections,t,n),this._variables=s,this._fragmentName=a,i[e.name]=n},t._addMissingRequiredFields=function(e){null!=this._missingRequiredFields?"THROW"!==this._missingRequiredFields.action&&("THROW"!==e.action?this._missingRequiredFields={action:"LOG",fields:[].concat((0,s.default)(this._missingRequiredFields.fields),(0,s.default)(e.fields))}:this._missingRequiredFields=e):this._missingRequiredFields=e},t._implementsInterface=function(e,t){var r=F.getType(e),i=this._recordSource.get(z(r));return null!=i?F.getValue(i,t):null},e}();function Z(e,t,r,i){var n="function"==typeof e.resolverModule?e.resolverModule:e.resolverModule.default,a=null,s=null;try{var l=[];null!=e.fragment&&l.push(r);var o=e.args?G(e.args,t):void 0;l.push(o),a=n.apply(null,l)}catch(t){var u;if(t===q)a=void 0;else s={field:{path:null!==(u=e.path)&&void 0!==u?u:"[UNKNOWN]",owner:i},error:t}}return[a,s]}e.exports={read:Q}},function(e,t,r){"use strict";var i=r(19).getFragment,n=r(14).getSelector,a=r(0),s=[];var l={};e.exports={readFragment:function(e,t){if(!s.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var r=s[s.length-1],o=i(e),u=n(o,t);null==u&&a(!1),"SingularReaderSelector"!==u.kind&&a(!1);var c=r.getDataForResolverFragment(u,t),d=c.data;if(c.isMissingData)throw l;return d},withResolverContext:function(e,t){s.push(e);try{return t()}finally{s.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:l}},function(e,t,r){"use strict";var i=r(0),n=r(1).RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,a=r(4);e.exports=function(e){var t=a.getValue(e,n);return null==t?null:(t instanceof Set||i(!1),new Set(t))}},function(e,t,r){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&"function"==typeof e.read&&"function"==typeof e.subscribe}},function(e,t,r){"use strict";var i=r(32),n=r(20),a=n.isSuspenseSentinel,s=n.suspenseSentinel,l=r(55),o=r(56),u=o.weakObjectWrapper,c=o.weakObjectWrapperLive;e.exports={resolverDataInjector:l,isSuspenseSentinel:a,LiveResolverStore:i,weakObjectWrapper:u,weakObjectWrapperLive:c,suspenseSentinel:s}},function(e,t,r){"use strict";var i=r(2).default,n=i(r(5)),a=i(r(16)),s=r(22),l=s.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,o=s.assertInternalActorIdentifier,u=(r(17),r(33)),c=r(34),d=r(45),_=r(4),h=r(47),f=r(27),v=r(49),g=r(11),E=r(50),p=r(1),R=r(1),I=R.ROOT_ID,m=R.ROOT_TYPE,S=r(52),y=S.LiveResolverCache,D=S.getUpdatedDataIDs,b=r(0),T=function(){function e(e,t){var r,i,n,s,l,o,c,h=this;(0,a.default)(this,"_gcStep",(function(){h._gcRun&&(h._gcRun.next().done?h._gcRun=null:h._gcScheduler(h._gcStep))})),this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:10,this._gcRun=null,this._gcScheduler=null!==(i=null==t?void 0:t.gcScheduler)&&void 0!==i?i:u,this._getDataID=null!==(n=null==t?void 0:t.getDataID)&&void 0!==n?n:d,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(s=null==t?void 0:t.log)&&void 0!==s?s:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(l=null==t?void 0:t.operationLoader)&&void 0!==l?l:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new y((function(){return h._getMutableRecordSource()}),this),this._storeSubscriptions=new E(null==t?void 0:t.log,this._resolverCache),this._updatedRecordIDs=new Set,this._treatMissingFieldsAsNull=null!==(o=null==t?void 0:t.treatMissingFieldsAsNull)&&void 0!==o&&o,this._actorIdentifier=null==t?void 0:t.actorIdentifier,this._reactFlightPayloadDeserializer=null==t?void 0:t.reactFlightPayloadDeserializer,this._reactFlightServerErrorHandler=null==t?void 0:t.reactFlightServerErrorHandler,this._shouldProcessClientComponents=null!==(c=null==t?void 0:t.shouldProcessClientComponents)&&void 0!==c&&c,function(e){if(!e.has(I)){var t=_.create(I,m);e.set(I,t)}}(this._recordSource)}var t=e.prototype;return t.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t.getLiveResolverPromise=function(e){return this._resolverCache.getLiveResolverPromise(e)},t.batchLiveStateUpdates=function(e){this._resolverCache.batchLiveStateUpdates(e)},t.check=function(e,t){var r,i,n,a,s=e.root,u=this._getMutableRecordSource(),d=this._globalInvalidationEpoch,_=this._roots.get(e.request.identifier),h=null!=_?_.epoch:null;if(null!=d&&(null==h||h<=d))return{status:"stale"};var f=null!==(r=null==t?void 0:t.handlers)&&void 0!==r?r:[],v=null!==(i=null==t?void 0:t.getSourceForActor)&&void 0!==i?i:function(e){return o(e),u},g=null!==(n=null==t?void 0:t.getTargetForActor)&&void 0!==n?n:function(e){return o(e),u};return function(e,t,r,i){var n=e.mostRecentlyInvalidatedAt,a=e.status;if("number"==typeof n&&(null==t||n>t))return{status:"stale"};if("missing"===a)return{status:"missing"};if(null!=r&&null!=i){if(r<=Date.now()-i)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(c.check(v,g,null!==(a=null==t?void 0:t.defaultActorIdentifier)&&void 0!==a?a:l,s,f,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),h,null==_?void 0:_.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,r=e.request.identifier,i=!1,n=this._roots.get(r);return null!=n?(0===n.refCount&&(this._releaseBuffer=this._releaseBuffer.filter((function(e){return e!==r}))),n.refCount+=1):this._roots.set(r,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!i){i=!0;var e=t._roots.get(r);if(null!=e&&(e.refCount--,0===e.refCount)){var n=t._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=n&&e.fetchTime<=Date.now()-n)t._roots.delete(r),t.scheduleGC();else if(t._releaseBuffer.push(r),t._releaseBuffer.length>t._gcReleaseBufferSize){var a=t._releaseBuffer.shift();t._roots.delete(a),t.scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource();return f.read(t,e,this._resolverCache)},t.notify=function(e,t){var r=this,i=this.__log;null!=i&&i({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch),this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var n=this.getSource(),a=[];if(this._storeSubscriptions.updateSubscriptions(n,this._updatedRecordIDs,a,e),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),null!=i&&i({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var s=e.request.identifier,l=this._roots.get(s);if(null!=l)l.epoch=this._currentWriteEpoch,l.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var o={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(s),this._roots.set(s,o)}}return a},t.publish=function(e,t){var r=this._getMutableRecordSource();!function(e,t,r,i,n,a){i&&i.forEach((function(i){var n,s=e.get(i),l=t.get(i);null!==l&&((n=null!=s?_.clone(s):null!=l?_.clone(l):null)&&(_.setValue(n,p.INVALIDATED_AT_KEY,r),a.add(i),e.set(i,n)))}));for(var s=t.getRecordIDs(),l=0;l<s.length;l++){var o=s[l],u=t.get(o),c=e.get(o);if(u&&c){var d=_.getType(c)===g.REACT_FLIGHT_TYPE_NAME?u:_.update(c,u);d!==c&&(n.add(o),e.set(o,d))}else null===u?(e.delete(o),null!==c&&n.add(o)):u&&(e.set(o,u),n.add(o))}}(r,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var i=this.__log;null!=i&&i({name:"store.publish",source:e,optimistic:r===this._optimisticSource})},t.subscribe=function(e,t){return this._storeSubscriptions.subscribe(e,t)},t.holdGC=function(){var e=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;return{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return"LiveResolverStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(e){var t=this,r=new Map;return e.forEach((function(e){var i,n=t.getSource().get(e);r.set(e,null!==(i=_.getInvalidationEpoch(n))&&void 0!==i?i:null)})),r.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:r}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,r=e.invalidations;if(t.get("global")!==r.get("global"))return!0;var i,a=(0,n.default)(e.dataIDs);try{for(a.s();!(i=a.n()).done;){var s=i.value;if(t.get(s)!==r.get(s))return!0}}catch(e){a.e(e)}finally{a.f()}return!1},t.subscribeToInvalidationState=function(e,t){var r=this,i={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(i),{dispose:function(){r._invalidationSubscriptions.delete(i)}}},t._updateInvalidationSubscription=function(e,t){var r=this,i=e.callback,n=e.invalidationState.dataIDs;(t||n.some((function(e){return r._invalidatedRecordIDs.has(e)})))&&i()},t.snapshot=function(){null!=this._optimisticSource&&b(!1);var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=h.create(this.getSource())},t.restore=function(){var e=this._optimisticSource;e||b(!1);var t=this.__log;null!=t&&t({name:"store.restore"});var r=h.getOptimisticRecordIDs(e);this._resolverCache.unsubscribeFromLiveResolverRecords(r),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions(),this._resolverCache.invalidateResolverRecords(r)},t.scheduleGC=function(){this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},t._collect=function*(){e:for(;;){var e,t=this._currentWriteEpoch,r=new Set,i=(0,n.default)(this._roots.values());try{for(i.s();!(e=i.n()).done;){var a=e.value.operation.root;if(v.mark(this._recordSource,a,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(e){i.e(e)}finally{i.f()}var s=this.__log;if(null!=s&&s({name:"store.gc",references:r}),0===r.size)this._recordSource.clear();else for(var l=this._recordSource.getRecordIDs(),o=0;o<l.length;o++){var u=l[o];r.has(u)||this._recordSource.remove(u)}return}},t.__getNormalizationOptions=function(e){return{path:e,getDataID:this._getDataID,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,reactFlightPayloadDeserializer:this._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,shouldProcessClientComponents:this._shouldProcessClientComponents,actorIdentifier:this._actorIdentifier}},t.__notifyUpdatedSubscribers=function(e){var t=D(e),r=this._updatedRecordIDs;this._updatedRecordIDs=t,this.notify(),this._updatedRecordIDs=r},e}();e.exports=T},function(e,t,r){"use strict";var i=Promise.resolve();function n(e){setTimeout((function(){throw e}),0)}e.exports=function(e){i.then(e).catch(n)}},function(e,t,r){"use strict";var i=(0,r(2).default)(r(5)),n=r(35),a=r(40),s=r(24),l=r(3),o=r(7),u=r(6).isClientID,c=r(25),d=r(44),_=r(10).getLocalVariables,h=r(4),f=r(13),v=f.EXISTENT,g=f.UNKNOWN,E=r(11),p=r(1),R=r(15),I=R.generateTypeID,m=R.TYPE_SCHEMA_TYPE,S=r(0),y=l.ACTOR_CHANGE,D=l.CONDITION,b=l.CLIENT_COMPONENT,T=l.CLIENT_EXTENSION,A=l.DEFER,L=l.FLIGHT_FIELD,N=l.FRAGMENT_SPREAD,F=l.INLINE_FRAGMENT,k=l.LINKED_FIELD,O=l.LINKED_HANDLE,C=l.MODULE_IMPORT,P=l.RELAY_RESOLVER,M=l.SCALAR_FIELD,V=l.SCALAR_HANDLE,w=l.STREAM,x=l.TYPE_DISCRIMINATOR,Y=p.ROOT_ID,U=p.getModuleOperationKey,G=p.getStorageKey,K=p.getArgumentValues;var j=function(){function e(e,t,r,i,n,a,s,l){this._getSourceForActor=e,this._getTargetForActor=t,this._getDataID=s,this._source=e(r),this._mutatorRecordSourceProxyCache=new Map;var o=this._getMutatorAndRecordProxyForActor(r),u=o[0],c=o[1];this._mostRecentlyInvalidatedAt=null,this._handlers=n,this._mutator=u,this._operationLoader=null!=a?a:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=i,this._shouldProcessClientComponents=l}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(e){var t=this._mutatorRecordSourceProxyCache.get(e);if(null==t){var r=this._getTargetForActor(e),i=new n(this._getSourceForActor(e),r);t=[i,new a(i,this._getDataID,void 0,this._handlers)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return this._assignClientAbstractTypes(e),this._traverse(e,t),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||S(!1),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!u(t)){var r,n=null!=e.args?K(e.args,this._variables):{},a=(0,i.default)(this._handlers);try{for(a.s();!(r=a.n()).done;){var s=r.value;if("scalar"===s.kind){var l=s.handle(e,this._recordSourceProxy.get(t),n,this._recordSourceProxy);if(void 0!==l)return l}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,n=null!=e.args?K(e.args,this._variables):{},a=(0,i.default)(this._handlers);try{for(a.s();!(r=a.n()).done;){var s=r.value;if("linked"===s.kind){var l=s.handle(e,this._recordSourceProxy.get(t),n,this._recordSourceProxy);if(void 0!==l&&(null===l||this._mutator.getStatus(l)===v))return l}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,n=this,a=null!=e.args?K(e.args,this._variables):{},s=(0,i.default)(this._handlers);try{for(s.s();!(r=s.n()).done;){var l=r.value;if("pluralLinked"===l.kind){var o=l.handle(e,this._recordSourceProxy.get(t),a,this._recordSourceProxy);if(null!=o){if(o.every((function(e){return null!=e&&n._mutator.getStatus(e)===v})))return o}else if(null===o)return null}}}catch(e){s.e(e)}finally{s.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===g&&this._handleMissing(),r===v){var i=this._source.get(t),n=h.getInvalidationEpoch(i);null!=n&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,n):n),this._traverseSelections(e.selections,t)}},t._traverseSelections=function(e,t){var r=this;e.forEach((function(i){switch(i.kind){case M:r._checkScalar(i,t);break;case k:i.plural?r._checkPluralLink(i,t):r._checkLink(i,t);break;case y:r._checkActorChange(i.linkedField,t);break;case D:Boolean(r._getVariableValue(i.condition))===i.passingValue&&r._traverseSelections(i.selections,t);break;case F:var n=i.abstractKey;if(null==n){r._mutator.getType(t)===i.type&&r._traverseSelections(i.selections,t)}else{var a=r._mutator.getType(t);null==a&&S(!1);var s=I(a),l=r._mutator.getValue(s,n);!0===l?r._traverseSelections(i.selections,t):null==l&&r._handleMissing()}break;case O:var u=c(i,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case V:var h=d(i,e,r._variables);r._checkScalar(h,t);break;case C:r._checkModuleImport(i,t);break;case A:case w:r._traverseSelections(i.selections,t);break;case N:var f=r._variables;r._variables=_(r._variables,i.fragment.argumentDefinitions,i.args),r._traverseSelections(i.fragment.selections,t),r._variables=f;break;case T:var v=r._recordWasMissing;r._traverseSelections(i.selections,t),r._recordWasMissing=v;break;case x:var g=i.abstractKey,E=r._mutator.getType(t);null==E&&S(!1);var p=I(E);null==r._mutator.getValue(p,g)&&r._handleMissing();break;case L:if(!o.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._checkFlightField(i,t);break;case b:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(i.fragment.selections,t);break;case P:i.fragment&&r._traverseSelections([i.fragment],t);break;default:S(!1)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&S(!1);var i=U(e.documentName),n=this._mutator.getValue(t,i);if(null!=n){var a=r.get(n);if(null!=a){var l=s(a),o=this._variables;this._variables=_(this._variables,l.argumentDefinitions,e.args),this._traverse(l,t),this._variables=o}else this._handleMissing()}else void 0===n&&this._handleMissing()},t._checkScalar=function(e,t){var r=G(e,this._variables),i=this._mutator.getValue(t,r);void 0===i&&void 0!==(i=this._handleMissingScalarField(e,t))&&this._mutator.setValue(t,r,i)},t._checkLink=function(e,t){var r=G(e,this._variables),i=this._mutator.getLinkedRecordID(t,r);void 0===i&&(null!=(i=this._handleMissingLinkField(e,t))?this._mutator.setLinkedRecordID(t,r,i):null===i&&this._mutator.setValue(t,r,null)),null!=i&&this._traverse(e,i)},t._checkPluralLink=function(e,t){var r=this,i=G(e,this._variables),n=this._mutator.getLinkedRecordIDs(t,i);void 0===n&&(null!=(n=this._handleMissingPluralLinkField(e,t))?this._mutator.setLinkedRecordIDs(t,i,n):null===n&&this._mutator.setValue(t,i,null)),n&&n.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._checkActorChange=function(e,t){var r=G(e,this._variables),i=this._source.get(t),n=null!=i?h.getActorLinkedRecordID(i,r):i;if(null==n)void 0===n&&this._handleMissing();else{var a=n[0],s=n[1],l=this._source,o=this._mutator,u=this._recordSourceProxy,c=this._getMutatorAndRecordProxyForActor(a),d=c[0],_=c[1];this._source=this._getSourceForActor(a),this._mutator=d,this._recordSourceProxy=_,this._assignClientAbstractTypes(e),this._traverse(e,s),this._source=l,this._mutator=o,this._recordSourceProxy=u}},t._checkFlightField=function(e,t){var r=G(e,this._variables),n=this._mutator.getLinkedRecordID(t,r);if(null==n)return void 0===n?void this._handleMissing():void 0;var a=this._mutator.getValue(n,E.REACT_FLIGHT_TREE_STORAGE_KEY),l=this._mutator.getValue(n,E.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(null!=a&&Array.isArray(l)){var o=this._operationLoader;null===o&&S(!1);var u,c=this._variables,d=(0,i.default)(l);try{for(d.s();!(u=d.n()).done;){var _=u.value;this._variables=_.variables;var h=o.get(_.module);if(null!=h){var f=s(h);this._traverseSelections(f.selections,Y)}else this._handleMissing()}}catch(e){d.e(e)}finally{d.f()}this._variables=c}else this._handleMissing()},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var r=0,n=Object.keys(t);r<n.length;r++){var a,s=n[r],l=(0,i.default)(t[s]);try{for(l.s();!(a=l.n()).done;){var o=a.value,u=I(o);null==this._source.get(u)&&this._mutator.create(u,m),null==this._mutator.getValue(u,s)&&this._mutator.setValue(u,s,!0)}}catch(e){l.e(e)}finally{l.f()}}},e}();e.exports={check:function(e,t,r,i,n,a,s,l){var o=i.dataID,u=i.node,c=i.variables;return new j(e,t,r,c,n,a,s,l).check(u,o)}}},function(e,t,r){"use strict";var i=r(4),n=r(13).EXISTENT,a=r(0),s=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),r=this._sink.get(e);return void 0===r?null==t?t:i.clone(t):null===r?null:null!=t?i.update(t,r):i.clone(r)},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||a(!1),t=i.create(e,i.getType(r)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var r=this._sink.get(e),n=this._base.get(e);r||n||a(!1);var s=this._getSinkRecord(t);n&&i.copyFields(n,s),r&&i.copyFields(r,s)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);i.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===n||this._sink.getStatus(e)===n)&&a(!1);var r=i.create(e,t);this._sink.set(e,r)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var r=this.__sources[t].get(e);if(r)return i.getType(r);if(null===r)return null}},t.getValue=function(e,t){for(var r=0;r<this.__sources.length;r++){var n=this.__sources[r].get(e);if(n){var a=i.getValue(n,t);if(void 0!==a)return a}else if(null===n)return null}},t.setValue=function(e,t,r){var n=this._getSinkRecord(e);i.setValue(n,t,r)},t.getLinkedRecordID=function(e,t){for(var r=0;r<this.__sources.length;r++){var n=this.__sources[r].get(e);if(n){var a=i.getLinkedRecordID(n,t);if(void 0!==a)return a}else if(null===n)return null}},t.setLinkedRecordID=function(e,t,r){var n=this._getSinkRecord(e);i.setLinkedRecordID(n,t,r)},t.getLinkedRecordIDs=function(e,t){for(var r=0;r<this.__sources.length;r++){var n=this.__sources[r].get(e);if(n){var a=i.getLinkedRecordIDs(n,t);if(void 0!==a)return a}else if(null===n)return null}},t.setLinkedRecordIDs=function(e,t,r){var n=this._getSinkRecord(e);i.setLinkedRecordIDs(n,t,r)},e}();e.exports=s},function(e,t,r){"use strict";var i=new Map,n=1,a=function(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}();e.exports={intern:function(e,t){if(null==t||e.length<t)return function(e){return"\t"===e[0]&&a.has(e[1])||"\v"===e[0]?"\v"+e:e}(e);var r=i.get(e);return null!=r||(r="\t"+n++,i.set(e,r)),r}}},function(e,t,r){"use strict";var i=r(38).DEFAULT_HANDLE_KEY,n=r(0);e.exports=function(e,t,r){return t&&t!==i?"__".concat(t,"_").concat(e):(null==r&&n(!1),"__".concat(r,"_").concat(e))}},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";e.exports=function e(t){if(!t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(e);for(var r=Object.keys(t).sort(),i={},n=0;n<r.length;n++)i[r[n]]=e(t[r[n]]);return i}},function(e,t,r){"use strict";var i=r(4),n=r(13),a=n.EXISTENT,s=n.NONEXISTENT,l=r(1),o=l.ROOT_ID,u=l.ROOT_TYPE,c=r(41).readUpdatableFragment_EXPERIMENTAL,d=r(42).readUpdatableQuery_EXPERIMENTAL,_=r(43),h=r(0),f=function(){function e(e,t,r,i){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=i}var t=e.prototype;return t.publishSource=function(e,t){var r=this;e.getRecordIDs().forEach((function(t){var n=e.getStatus(t);if(n===a){var l=e.get(t);l&&(r.__mutator.getStatus(t)!==a&&r.create(t,i.getType(l)),r.__mutator.copyFieldsFromRecord(l,t))}else n===s&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||h(!1),t.update(r,e)}))},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var r=this.get(e);return r||h(!1),r},t.delete=function(e){e===o&&h(!1),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);this._proxies[e]=t===a?new _(this,this.__mutator,e):t===s?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(o);return e||(e=this.create(o,u)),e&&e.getType()===u||h(!1),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery_EXPERIMENTAL=function(e,t){return d(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment_EXPERIMENTAL=function(e,t){return c(e,t,this,this._missingFieldHandlers)},e}();e.exports=f},function(e,t,r){"use strict";var i=r(19).getFragment,n=r(14).getVariablesFromFragment,a=r(1).ID_KEY,s=r(23).createUpdatableProxy,l=r(0);e.exports={readUpdatableFragment_EXPERIMENTAL:function(e,t,r,o){var u=i(e),c=n(u,t),d=t[a],_=r.get(d);return null==_&&l(!1),{updatableData:s(_,c,u.selections,r,o)}}}},function(e,t,r){"use strict";var i=r(19).getUpdatableQuery,n=r(23).createUpdatableProxy;e.exports={readUpdatableQuery_EXPERIMENTAL:function(e,t,r,a){var s=i(e);return{updatableData:n(r.getRoot(),t,s.fragment.selections,r,a)}}}},function(e,t,r){"use strict";var i=r(6).generateClientID,n=r(1).getStableStorageKey,a=r(0),s=function(){function e(e,t,r){this._dataID=r,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return null==e&&a(!1),e},t.getValue=function(e,t){var r=n(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){return l(e)||a(!1),this.setValue__UNSAFE(e,t,r)},t.setValue__UNSAFE=function(e,t,r){var i=n(t,r);return this._mutator.setValue(this._dataID,i,e),this},t.getLinkedRecord=function(e,t){var r=n(e,t),i=this._mutator.getLinkedRecordID(this._dataID,r);return null!=i?this._source.get(i):i},t.setLinkedRecord=function(t,r,i){t instanceof e||a(!1);var s=n(r,i),l=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,s,l),this},t.getOrCreateLinkedRecord=function(e,t,r){var a=this.getLinkedRecord(e,r);if(!a){var s,l=n(e,r),o=i(this.getDataID(),l);a=null!==(s=this._source.get(o))&&void 0!==s?s:this._source.create(o,t),this.setLinkedRecord(a,e,r)}return a},t.getLinkedRecords=function(e,t){var r=this,i=n(e,t),a=this._mutator.getLinkedRecordIDs(this._dataID,i);return null==a?a:a.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||a(!1);var i=n(t,r),s=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,i,s),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function l(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(l)}e.exports=s},function(e,t,r){"use strict";var i=r(3).SCALAR_FIELD,n=r(1).getHandleStorageKey,a=r(9),s=r(0);e.exports=function(e,t,r){var l=t.find((function(t){return t.kind===i&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));l&&l.kind===i||s(!1);var o=n(e,r);return{kind:"ScalarField",alias:l.alias,name:o,storageKey:o,args:null}}},function(e,t,r){"use strict";var i=r(46),n=i.VIEWER_ID,a=i.VIEWER_TYPE;e.exports=function(e,t){return t===a&&null==e.id?n:e.id}},function(e,t,r){"use strict";var i=(0,r(6).generateClientID)(r(1).ROOT_ID,"viewer");e.exports={VIEWER_ID:i,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";var i=(0,r(2).default)(r(12)),n=r(26),a=r(0),s=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),l=function(){function e(e){this._base=e,this._sink=n.create()}var t=e.prototype;return t.has=function(e){return this._sink.has(e)?this._sink.get(e)!==s:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===s?void 0:t}return this._base.get(e)},t.getStatus=function(e){var t=this.get(e);return void 0===t?"UNKNOWN":null===t?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=n.create(),this._sink.clear()},t.delete=function(e){this._sink.delete(e)},t.remove=function(e){this._sink.set(e,s)},t.set=function(e,t){this._sink.set(e,t)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var e=this,t=(0,i.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach((function(r){var i=e.get(r);void 0===i?delete t[r]:t[r]=i})),t},t.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();e.exports={create:function(e){return new l(e)},getOptimisticRecordIDs:function(e){return e instanceof l||a(!1),e.getOptimisticRecordIDs()}}},function(e,t,r){"use strict";var i=(0,r(2).default)(r(5)),n=r(21),a=r(3).RELAY_LIVE_RESOLVER,s=r(6).generateClientID,l=r(4),o=r(1),u=o.RELAY_RESOLVER_ERROR_KEY,c=o.RELAY_RESOLVER_INVALIDATION_KEY,d=o.RELAY_RESOLVER_SNAPSHOT_KEY,_=o.RELAY_RESOLVER_VALUE_KEY,h=o.getStorageKey,f=r(0),v=(r(8),new Set),g=function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,i,n){t.kind===a&&f(!1);var s=i(),l=s.resolverResult,o=s.snapshot;return[l,void 0,s.error,o,void 0,void 0]},t.invalidateDataIDs=function(e){},t.ensureClientRecord=function(e,t){f(!1)},t.notifyUpdatedSubscribers=function(e){},e}();function E(e,t,r){var i=e.get(t);i||(i=new Set,e.set(t,i)),i.add(r)}var p=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,a){var o=this._getRecordSource(),c=o.get(e);null==c&&f(!1);var v=h(t,r),g=l.getLinkedRecordID(c,v),p=null==g?null:o.get(g);if(null==p||this._isInvalid(p,a)){var R;g=null!==(R=g)&&void 0!==R?R:s(e,v),p=l.create(g,"__RELAY_RESOLVER__");var I=n();l.setValue(p,_,I.resolverResult),l.setValue(p,d,I.snapshot),l.setValue(p,u,I.error),o.set(g,p);var m=o.get(e);null==m&&f(!1);var S=l.clone(m);if(l.setLinkedRecordID(S,v,g),o.set(e,S),null!=t.fragment){var y,D=h(t.fragment,r),b=s(e,D);E(this._resolverIDToRecordIDs,b,g),E(this._recordIDToResolverIDs,e,b);var T=null===(y=I.snapshot)||void 0===y?void 0:y.seenRecords;if(null!=T){var A,L=(0,i.default)(T);try{for(L.s();!(A=L.n()).done;){var N=A.value;E(this._recordIDToResolverIDs,N,b)}}catch(e){L.e(e)}finally{L.f()}}}}var F=p[_],k=p[d];return[F,g,p[u],k,void 0,void 0]},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),r=new Set,n=Array.from(e);n.length;){var a=n.pop();e.add(a);var s,l=(0,i.default)(null!==(o=this._recordIDToResolverIDs.get(a))&&void 0!==o?o:v);try{for(l.s();!(s=l.n()).done;){var o,u=s.value;if(!r.has(u)){var c,d=(0,i.default)(null!==(_=this._resolverIDToRecordIDs.get(u))&&void 0!==_?_:v);try{for(d.s();!(c=d.n()).done;){var _,h=c.value;this._markInvalidatedResolverRecord(h,t,e),r.has(h)||n.push(h)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){l.e(e)}finally{l.f()}}},t._markInvalidatedResolverRecord=function(e,t,r){var i=t.get(e);if(i){var n=l.clone(i);l.setValue(n,c,!0),t.set(e,n)}},t._isInvalid=function(e,t){if(!l.getValue(e,c))return!1;var r=l.getValue(e,d),i=null==r?void 0:r.data,a=null==r?void 0:r.selector;if(null==i||null==a)return!0;var s=t(a).data;return n(i,s)!==i},t.ensureClientRecord=function(e,t){f(!1)},t.notifyUpdatedSubscribers=function(e){f(!1)},e}();e.exports={NoopResolverCache:g,RecordResolverCache:p}},function(e,t,r){"use strict";var i=(0,r(2).default)(r(5)),n=r(24),a=r(3),s=r(7),l=r(25),o=r(10).getLocalVariables,u=r(4),c=r(11),d=r(1),_=r(15).generateTypeID,h=r(0),f=r(29),v=a.ACTOR_CHANGE,g=a.CONDITION,E=a.CLIENT_COMPONENT,p=a.CLIENT_EXTENSION,R=a.DEFER,I=a.FLIGHT_FIELD,m=a.FRAGMENT_SPREAD,S=a.INLINE_FRAGMENT,y=a.LINKED_FIELD,D=a.MODULE_IMPORT,b=a.LINKED_HANDLE,T=a.SCALAR_FIELD,A=a.SCALAR_HANDLE,L=a.STREAM,N=a.TYPE_DISCRIMINATOR,F=a.RELAY_RESOLVER,k=d.ROOT_ID,O=d.getStorageKey,C=d.getModuleOperationKey;var P=function(){function e(e,t,r,i,n){this._operationLoader=null!=i?i:null,this._operationName=null,this._recordSource=e,this._references=r,this._variables=t,this._shouldProcessClientComponents=n}var t=e.prototype;return t.mark=function(e,t){"Operation"!==e.kind&&"SplitOperation"!==e.kind||(this._operationName=e.name),this._traverse(e,t)},t._traverse=function(e,t){this._references.add(t);var r=this._recordSource.get(t);null!=r&&this._traverseSelections(e.selections,r)},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||h(!1),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(i){switch(i.kind){case v:r._traverseLink(i.linkedField,t);break;case y:i.plural?r._traversePluralLink(i,t):r._traverseLink(i,t);break;case g:Boolean(r._getVariableValue(i.condition))===i.passingValue&&r._traverseSelections(i.selections,t);break;case S:if(null==i.abstractKey){var n=u.getType(t);(null!=n&&n===i.type||n===d.ROOT_TYPE)&&r._traverseSelections(i.selections,t)}else{var a=u.getType(t),c=_(a);r._references.add(c),r._traverseSelections(i.selections,t)}break;case m:var f=r._variables;r._variables=o(r._variables,i.fragment.argumentDefinitions,i.args),r._traverseSelections(i.fragment.selections,t),r._variables=f;break;case b:var k=l(i,e,r._variables);k.plural?r._traversePluralLink(k,t):r._traverseLink(k,t);break;case R:case L:r._traverseSelections(i.selections,t);break;case T:case A:break;case N:var O=u.getType(t),C=_(O);r._references.add(C);break;case D:r._traverseModuleImport(i,t);break;case p:r._traverseSelections(i.selections,t);break;case I:if(!s.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._traverseFlightField(i,t);break;case E:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(i.fragment.selections,t);break;case F:r._traverseResolverField(i,t);break;default:h(!1)}}))},t._traverseResolverField=function(e,t){var r=O(e,this._variables),n=u.getLinkedRecordID(t,r);if(null!=n){this._references.add(n);var a=this._recordSource.get(n);if(null!=a){var s=f(a);if(null!=s){var l,o=(0,i.default)(s);try{for(o.s();!(l=o.n()).done;){var c=l.value;this._references.add(c)}}catch(e){o.e(e)}finally{o.f()}}}}var d=e.fragment;null!=d&&this._traverseSelections([d],t)},t._traverseModuleImport=function(e,t){var r=this._operationLoader;null===r&&h(!1);var i=C(e.documentName),a=u.getValue(t,i);if(null!=a){var s=r.get(a);if(null!=s){var l=n(s),c=this._variables;this._variables=o(this._variables,l.argumentDefinitions,e.args),this._traverseSelections(l.selections,t),this._variables=c}}},t._traverseLink=function(e,t){var r=O(e,this._variables),i=u.getLinkedRecordID(t,r);null!=i&&this._traverse(e,i)},t._traversePluralLink=function(e,t){var r=this,i=O(e,this._variables),n=u.getLinkedRecordIDs(t,i);null!=n&&n.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._traverseFlightField=function(e,t){var r=O(e,this._variables),a=u.getLinkedRecordID(t,r);if(null!=a){this._references.add(a);var s=this._recordSource.get(a);if(null!=s){var l=u.getValue(s,c.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(Array.isArray(l)){var o=this._operationLoader;null===o&&h(!1);var d,_=this._variables,f=(0,i.default)(l);try{for(f.s();!(d=f.n()).done;){var v=d.value;this._variables=v.variables;var g=v.module,E=o.get(g);if(null!=E){var p=n(E);this._traverse(p,k)}}}catch(e){f.e(e)}finally{f.f()}this._variables=_}}}},e}();e.exports={mark:function(e,t,r,i,n){var a=t.dataID,s=t.node,l=t.variables;new P(e,l,r,i,n).mark(s,a)}}},function(e,t,r){"use strict";r(17);var i=r(21),n=r(7),a=r(51),s=r(27),l=function(){function e(e,t){this._subscriptions=new Set,this.__log=e,this._resolverCache=t}var t=e.prototype;return t.subscribe=function(e,t){var r=this,i={backup:null,callback:t,snapshot:e,stale:!1};return this._subscriptions.add(i),{dispose:function(){r._subscriptions.delete(i)}}},t.snapshotSubscriptions=function(e){var t=this;this._subscriptions.forEach((function(r){if(r.stale){var n=r.snapshot,a=s.read(e,n.selector,t._resolverCache),l=i(n.data,a.data);a.data=l,r.backup=a}else r.backup=r.snapshot}))},t.restoreSubscriptions=function(){this._subscriptions.forEach((function(e){var t=e.backup;e.backup=null,t?(t.data!==e.snapshot.data&&(e.stale=!0),e.snapshot={data:e.snapshot.data,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors}):e.stale=!0}))},t.updateSubscriptions=function(e,t,r,i){var n=this,a=0!==t.size;this._subscriptions.forEach((function(s){var l=n._updateSubscription(e,s,t,a,i);null!=l&&r.push(l)}))},t._updateSubscription=function(e,t,r,l,o){var u=t.backup,c=t.callback,d=t.snapshot,_=t.stale,h=l&&a(d.seenRecords,r);if(_||h){var f=h||!u?s.read(e,d.selector,this._resolverCache):u;return f={data:i(d.data,f.data),isMissingData:f.isMissingData,missingClientEdges:f.missingClientEdges,missingLiveResolverFields:f.missingLiveResolverFields,seenRecords:f.seenRecords,selector:f.selector,missingRequiredFields:f.missingRequiredFields,relayResolverErrors:f.relayResolverErrors},t.snapshot=f,t.stale=!1,f.data!==d.data?(this.__log&&n.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:o,snapshot:d,nextSnapshot:f}),c(f),d.selector.owner):void 0}},e}();e.exports=l},function(e,t,r){"use strict";var i=Symbol.iterator;e.exports=function(e,t){for(var r=e[i](),n=r.next();!n.done;){var a=n.value;if(t.has(a))return!0;n=r.next()}return!1}},function(e,t,r){"use strict";var i=(0,r(2).default)(r(5)),n=r(21),a=r(3).RELAY_LIVE_RESOLVER,s=r(6),l=s.generateClientID,o=s.generateClientObjectClientID,u=r(4),c=r(26),d=r(1),_=d.RELAY_RESOLVER_ERROR_KEY,h=d.RELAY_RESOLVER_INVALIDATION_KEY,f=d.RELAY_RESOLVER_SNAPSHOT_KEY,v=d.RELAY_RESOLVER_VALUE_KEY,g=d.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,E=d.getStorageKey,p=r(20).isSuspenseSentinel,R=r(0),I=(r(8),r(14).createNormalizationSelector),m=r(53).normalize,S=r(29),y=r(30);function D(e,t,r){var i=e.get(t);i||(i=new Set,e.set(t,i)),i.add(r)}var b=function(){function e(e,t){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e,this._store=t,this._handlingBatch=!1,this._liveResolverBatchRecordSource=null}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,s){var o,c=this._getRecordSource(),d=L(c,e),h=E(t,r),v=u.getLinkedRecordID(d,h),g=null==v?null:c.get(v);if(null==g||this._isInvalid(g,s)){var I;null!=g&&this._maybeUnsubscribeFromLiveState(g),v=null!==(I=v)&&void 0!==I?I:l(e,h),g=u.create(v,"__RELAY_RESOLVER__");var m=n();if(t.kind===a)if(null!=m.resolverResult){0;var S=m.resolverResult;o=this._setLiveStateValue(g,v,S,t,r)}else;else o=this._setResolverValue(g,m.resolverResult,t,r);u.setValue(g,f,m.snapshot),u.setValue(g,_,m.error),c.set(v,g);var b=L(c,e),T=u.clone(b);if(u.setLinkedRecordID(T,h,v),c.set(e,T),null!=t.fragment){var A,N=E(t.fragment,r),F=l(e,N);D(this._resolverIDToRecordIDs,F,v),D(this._recordIDToResolverIDs,e,F);var k=null===(A=m.snapshot)||void 0===A?void 0:A.seenRecords;if(null!=k){var O,C=(0,i.default)(k);try{for(C.s();!(O=C.n()).done;){var P=O.value;D(this._recordIDToResolverIDs,P,F)}}catch(e){C.e(e)}finally{C.f()}}}}else if(t.kind===a&&u.getValue(g,"__resolverLiveStateDirty")){var M;v=null!==(M=v)&&void 0!==M?M:l(e,h),g=u.clone(g);var V=u.getValue(g,"__resolverLiveStateValue");y(V)||R(!1),o=this._setResolverValue(g,V.read(),t,r),u.setValue(g,"__resolverLiveStateDirty",!1),c.set(v,g)}var w,x=this._getResolverValue(g),Y=g[f],U=g[_],G=null;p(x)&&(G=null!==(w=v)&&void 0!==w?w:l(e,h));return[x,v,U,Y,G,o]},t.getLiveResolverPromise=function(e){var t=this._getRecordSource().get(e);null==t&&R(!1);var r=u.getValue(t,"__resolverLiveStateValue");return new Promise((function(e){var t=r.subscribe((function(){t(),e()}))}))},t._maybeUnsubscribeFromLiveState=function(e){var t=u.getValue(e,"__resolverLiveStateSubscription");null!=t&&t()},t._setLiveStateValue=function(e,t,r,i,n){var a=this._makeLiveStateHandler(t),s=r.subscribe(a);u.setValue(e,"__resolverLiveStateValue",r);var l=this._setResolverValue(e,r.read(),i,n);return u.setValue(e,"__resolverLiveStateDirty",!1),u.setValue(e,"__resolverLiveStateSubscription",s),l},t._makeLiveStateHandler=function(e){var t=this;return function(){var r=t._getRecordSource().get(e);if(r&&"__resolverLiveStateValue"in r){var i=u.clone(r);u.setValue(i,"__resolverLiveStateDirty",!0),t._setLiveResolverUpdate(e,i)}}},t._setLiveResolverUpdate=function(e,t){if(this._handlingBatch)null==this._liveResolverBatchRecordSource&&(this._liveResolverBatchRecordSource=c.create()),this._liveResolverBatchRecordSource.set(e,t);else{var r=c.create();r.set(e,t),this._store.publish(r),this._store.notify()}},t.batchLiveStateUpdates=function(e){this._handlingBatch&&R(!1),this._handlingBatch=!0;try{e()}finally{null!=this._liveResolverBatchRecordSource&&(this._store.publish(this._liveResolverBatchRecordSource),this._store.notify()),this._liveResolverBatchRecordSource=null,this._handlingBatch=!1}},t._setResolverValue=function(e,t,r,n){var a=r.normalizationInfo,s=null;if(null!=t&&null!=a){var l,d=S(e),_=new Set,h=this._getRecordSource();if(a.plural){Array.isArray(t)||R(!1),l=[];for(var f=c.create(),E=0;E<t.length;E++){var p=t[E];if(null!=p){"object"!=typeof p&&R(!1);var I,m=o(a.concreteType,u.getDataID(e),E),y=T(m,p,n,a,this._store.__getNormalizationOptions([r.path,String(E)])),D=(0,i.default)(y.getRecordIDs());try{for(D.s();!(I=D.n()).done;){var b=I.value;f.set(b,L(y,b)),_.add(b)}}catch(e){D.e(e)}finally{D.f()}l.push(m)}}s=A(h,f,d)}else{"object"!=typeof t&&R(!1);var N,F=o(a.concreteType,u.getDataID(e)),k=T(F,t,n,a,this._store.__getNormalizationOptions([r.path])),O=(0,i.default)(k.getRecordIDs());try{for(O.s();!(N=O.n()).done;){var C=N.value;_.add(C)}}catch(e){O.e(e)}finally{O.f()}l=F,s=A(h,k,d)}u.setValue(e,g,_),u.setValue(e,v,l)}else u.setValue(e,v,t);return s},t.notifyUpdatedSubscribers=function(e){this._store.__notifyUpdatedSubscribers(e)},t._getResolverValue=function(e){return u.getValue(e,v)},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),r=new Set,n=Array.from(e);n.length;){var a=n.pop();e.add(a);var s=this._recordIDToResolverIDs.get(a);if(null!=s){var l,o=(0,i.default)(s);try{for(o.s();!(l=o.n()).done;){var u=l.value;if(!r.has(u)){var c=this._resolverIDToRecordIDs.get(u);if(null==c)continue;var d,_=(0,i.default)(c);try{for(_.s();!(d=_.n()).done;){var h=d.value;this._markInvalidatedResolverRecord(h,t),r.has(h)||n.push(h)}}catch(e){_.e(e)}finally{_.f()}}}}catch(e){o.e(e)}finally{o.f()}}}},t._markInvalidatedResolverRecord=function(e,t){var r=t.get(e);if(r){var i=u.clone(r);u.setValue(i,h,!0),t.set(e,i)}},t._isInvalid=function(e,t){if(!u.getValue(e,h))return!1;var r=u.getValue(e,f),i=null==r?void 0:r.data,a=null==r?void 0:r.selector;if(null==i||null==a)return!0;var s=t(a).data;return n(i,s)!==i},t.ensureClientRecord=function(e,t){var r=o(t,e),i=this._getRecordSource();if(!i.has(r)){var n=u.create(r,t);u.setValue(n,"id",e),i.set(r,n)}return r},t.unsubscribeFromLiveResolverRecords=function(e){if(0!==e.size){var t,r=(0,i.default)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,a=this._getRecordSource().get(n);null!=a&&"__RELAY_RESOLVER__"===u.getType(a)&&this._maybeUnsubscribeFromLiveState(a)}}catch(e){r.e(e)}finally{r.f()}}},t.invalidateResolverRecords=function(e){if(0!==e.size){var t,r=(0,i.default)(e);try{for(r.s();!(t=r.n()).done;){var n=t.value,a=this._getRecordSource().get(n);null!=a&&"__RELAY_RESOLVER__"===u.getType(a)&&this._getRecordSource().delete(n)}}catch(e){r.e(e)}finally{r.f()}}},e}();function T(e,t,r,i,n){var a=c.create();a.set(e,u.create(e,i.concreteType));var s=I(i.normalizationNode,e,r);return m(a,s,t,n).source}function A(e,t,r){var n=new Set;if(null!=r){var a,s=(0,i.default)(r);try{for(s.s();!(a=s.n()).done;){var l=a.value;t.has(l)||(n.add(l),e.remove(l))}}catch(e){s.e(e)}finally{s.f()}}var o,c=(0,i.default)(t.getRecordIDs());try{for(c.s();!(o=c.n()).done;){var d=o.value,_=L(t,d);if(e.has(d)){var h=L(e,d);u.update(h,_)!==h&&(n.add(d),e.set(d,_))}else e.set(d,_)}}catch(e){c.e(e)}finally{c.f()}return n}function L(e,t){var r=e.get(t);return null==r&&R(!1),r}e.exports={LiveResolverCache:b,getUpdatedDataIDs:function(e){return e}}},function(e,t,r){"use strict";var i=r(2).default,n=i(r(5)),a=i(r(18)),s=r(54),l=(s.ACTOR_IDENTIFIER_FIELD_NAME,s.getActorIdentifierFromPayload),o=r(3),u=o.ACTOR_CHANGE,c=o.CLIENT_COMPONENT,d=o.CLIENT_EXTENSION,_=o.CONDITION,h=o.DEFER,f=o.FLIGHT_FIELD,v=o.FRAGMENT_SPREAD,g=o.INLINE_FRAGMENT,E=o.LINKED_FIELD,p=o.LINKED_HANDLE,R=o.MODULE_IMPORT,I=o.RELAY_RESOLVER,m=o.SCALAR_FIELD,S=o.SCALAR_HANDLE,y=o.STREAM,D=o.TYPE_DISCRIMINATOR,b=r(7),T=r(6),A=T.generateClientID,L=(T.isClientID,r(10).getLocalVariables),N=r(4),F=r(14).createNormalizationSelector,k=r(11),O=k.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY,C=k.REACT_FLIGHT_TREE_STORAGE_KEY,P=k.REACT_FLIGHT_TYPE_NAME,M=k.refineToReactFlightPayloadData,V=r(1),w=V.ROOT_ID,x=V.ROOT_TYPE,Y=V.TYPENAME_KEY,U=V.getArgumentValues,G=V.getHandleStorageKey,K=V.getModuleComponentKey,j=V.getModuleOperationKey,H=V.getStorageKey,B=r(15),q=B.TYPE_SCHEMA_TYPE,W=B.generateTypeID,z=(r(9),r(0));r(8);var X=function(){function e(e,t,r){this._actorIdentifier=r.actorIdentifier,this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=r.path?(0,a.default)(r.path):[],this._recordSource=e,this._variables=t,this._reactFlightPayloadDeserializer=r.reactFlightPayloadDeserializer,this._reactFlightServerErrorHandler=r.reactFlightServerErrorHandler,this._shouldProcessClientComponents=r.shouldProcessClientComponents}var t=e.prototype;return t.normalizeResponse=function(e,t,r){var i=this._recordSource.get(t);return i||z(!1),this._assignClientAbstractTypes(e),this._traverseSelections(e,i,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var r=0,i=Object.keys(t);r<i.length;r++){var a,s=i[r],l=(0,n.default)(t[s]);try{for(l.s();!(a=l.n()).done;){var o=a.value,u=W(o),c=this._recordSource.get(u);null==c&&(c=N.create(u,q),this._recordSource.set(u,c)),N.setValue(c,s,!0)}}catch(e){l.e(e)}finally{l.f()}}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||z(!1),this._variables[e]},t._getRecordType=function(e){var t=e[Y];return null==t&&z(!1),t},t._traverseSelections=function(e,t,r){for(var i=0;i<e.selections.length;i++){var n=e.selections[i];switch(n.kind){case m:case E:this._normalizeField(e,n,t,r);break;case _:Boolean(this._getVariableValue(n.condition))===n.passingValue&&this._traverseSelections(n,t,r);break;case v:var a=this._variables;this._variables=L(this._variables,n.fragment.argumentDefinitions,n.args),this._traverseSelections(n.fragment,t,r),this._variables=a;break;case g:var s=n.abstractKey;if(null==s){N.getType(t)===n.type&&this._traverseSelections(n,t,r)}else{var l=r.hasOwnProperty(s),o=N.getType(t),T=W(o),A=this._recordSource.get(T);null==A&&(A=N.create(T,q),this._recordSource.set(T,A)),N.setValue(A,s,l),l&&this._traverseSelections(n,t,r)}break;case D:var F=n.abstractKey,k=r.hasOwnProperty(F),O=N.getType(t),C=W(O),P=this._recordSource.get(C);null==P&&(P=N.create(C,q),this._recordSource.set(C,P)),N.setValue(P,F,k);break;case p:case S:var M=n.args?U(n.args,this._variables):{},V=H(n,this._variables),w=G(n,this._variables);this._handleFieldPayloads.push({args:M,dataID:N.getDataID(t),fieldKey:V,handle:n.handle,handleKey:w,handleArgs:n.handleArgs?U(n.handleArgs,this._variables):{}});break;case R:this._normalizeModuleImport(e,n,t,r);break;case h:this._normalizeDefer(n,t,r);break;case y:this._normalizeStream(n,t,r);break;case d:var x=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(n,t,r),this._isClientExtension=x;break;case c:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(n.fragment,t,r);break;case f:if(!b.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._normalizeFlightField(e,n,t,r);break;case u:this._normalizeActorChange(e,n,t,r);break;case I:null!=n.fragment&&this._traverseSelections(n.fragment,t,r);break;default:z(!1)}}},t._normalizeDefer=function(e,t,r){!1===(null===e.if||this._getVariableValue(e.if))?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,a.default)(this._path),selector:F(e,N.getDataID(t),this._variables),typeName:N.getType(t),actorIdentifier:this._actorIdentifier})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r),!0===(null===e.if||this._getVariableValue(e.if))&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,a.default)(this._path),parentID:N.getDataID(t),node:e,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(e,t,r,i){"object"==typeof i&&i||z(!1);var n=N.getType(r),s=K(t.documentName),l=t.componentModuleProvider||i[s];N.setValue(r,s,null!=l?l:null);var o=j(t.documentName),u=t.operationModuleProvider||i[o];N.setValue(r,o,null!=u?u:null),null!=u&&this._followupPayloads.push({kind:"ModuleImportPayload",args:t.args,data:i,dataID:N.getDataID(r),operationReference:u,path:(0,a.default)(this._path),typeName:n,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeField=function(e,t,r,i){"object"==typeof i&&i||z(!1);var n=t.alias||t.name,a=H(t,this._variables),s=i[n];if(null!=s)t.kind===m?N.setValue(r,a,s):t.kind===E?(this._path.push(n),t.plural?this._normalizePluralLink(t,r,a,s):this._normalizeLink(t,r,a,s),this._path.pop()):z(!1);else{if(void 0===s){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}N.setValue(r,a,null)}},t._normalizeActorChange=function(e,t,r,i){var n,s=t.linkedField;"object"==typeof i&&i||z(!1);var o=s.alias||s.name,u=H(s,this._variables),c=i[o];if(null!=c){var d=l(c);if(null!=d){var _=null!==(n=s.concreteType)&&void 0!==n?n:this._getRecordType(c),h=this._getDataId(c,_)||N.getLinkedRecordID(r,u)||A(N.getDataID(r),u);"string"!=typeof h&&z(!1),N.setActorLinkedRecordID(r,u,d,h),this._followupPayloads.push({kind:"ActorPayload",data:c,dataID:h,path:[].concat((0,a.default)(this._path),[o]),typeName:_,variables:this._variables,node:s,actorIdentifier:d})}else N.setValue(r,u,null)}else{if(void 0===c){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}N.setValue(r,u,null)}},t._normalizeFlightField=function(e,t,r,i){var a=t.alias||t.name,s=H(t,this._variables),l=i[a];if(null!=l){var o=M(l),u=this._reactFlightPayloadDeserializer;null==o&&z(!1),"function"!=typeof u&&z(!1),o.errors.length>0&&"function"==typeof this._reactFlightServerErrorHandler&&this._reactFlightServerErrorHandler(o.status,o.errors);var c=A(N.getDataID(r),H(t,this._variables)),d=this._recordSource.get(c);if(null==d&&(d=N.create(c,P),this._recordSource.set(c,d)),null==o.tree)return N.setValue(d,C,null),N.setValue(d,O,[]),void N.setLinkedRecordID(r,s,c);var _=u(o.tree);N.setValue(d,C,_);var h,f=[],v=(0,n.default)(o.queries);try{for(v.s();!(h=v.n()).done;){var g=h.value;null!=g.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:g.response.data,dataID:w,operationReference:g.module,path:[],typeName:x,variables:g.variables,actorIdentifier:this._actorIdentifier}),f.push({module:g.module,variables:g.variables})}}catch(e){v.e(e)}finally{v.f()}var E,p=(0,n.default)(o.fragments);try{for(p.s();!(E=p.n()).done;){var R=E.value;null!=R.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:R.response.data,dataID:R.__id,operationReference:R.module,path:[],typeName:R.__typename,variables:R.variables,actorIdentifier:this._actorIdentifier}),f.push({module:R.module,variables:R.variables})}}catch(e){p.e(e)}finally{p.f()}N.setValue(d,O,f),N.setLinkedRecordID(r,s,c)}else{if(void 0===l){if(this._isUnmatchedAbstractType)return;this._treatMissingFieldsAsNull||z(!1)}N.setValue(r,s,null)}},t._normalizeLink=function(e,t,r,i){var n;"object"==typeof i&&i||z(!1);var a=this._getDataId(i,null!==(n=e.concreteType)&&void 0!==n?n:this._getRecordType(i))||N.getLinkedRecordID(t,r)||A(N.getDataID(t),r);"string"!=typeof a&&z(!1),N.setLinkedRecordID(t,r,a);var s=this._recordSource.get(a);if(s)0;else{var l=e.concreteType||this._getRecordType(i);s=N.create(a,l),this._recordSource.set(a,s)}this._traverseSelections(e,s,i)},t._normalizePluralLink=function(e,t,r,i){var n=this;Array.isArray(i)||z(!1);var a=N.getLinkedRecordIDs(t,r),s=[];i.forEach((function(i,l){var o;if(null!=i){n._path.push(String(l)),"object"!=typeof i&&z(!1);var u=n._getDataId(i,null!==(o=e.concreteType)&&void 0!==o?o:n._getRecordType(i))||a&&a[l]||A(N.getDataID(t),r,l);"string"!=typeof u&&z(!1),s.push(u);var c=n._recordSource.get(u);if(c)0;else{var d=e.concreteType||n._getRecordType(i);c=N.create(u,d),n._recordSource.set(u,c)}0,n._traverseSelections(e,c,i),n._path.pop()}else s.push(i)})),N.setLinkedRecordIDs(t,r,s)},t._validateRecordType=function(e,t,r){var i;null!==(i=t.concreteType)&&void 0!==i||this._getRecordType(r),N.getDataID(e)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,i){0},e}();e.exports={normalize:function(e,t,r,i){var n=t.dataID,a=t.node,s=t.variables;return new X(e,s,i).normalizeResponse(a,n,r)}}},function(e,t,r){"use strict";var i=r(22).getActorIdentifier;e.exports={ACTOR_IDENTIFIER_FIELD_NAME:"actor_key",getActorIdentifierFromPayload:function(e){if(null!=e&&"object"==typeof e&&"string"==typeof e.actor_key)return i(e.actor_key)}}},function(e,t,r){"use strict";var i=r(28).readFragment,n=r(0);e.exports=function(e,t,r,a){return function(s,l){var o=i(e,s);if(null==r)return t(o,l);if(null==o){if(!0!==a)return t(null,l);n(!1)}if(r in o)return!0===a&&null==o[r]&&n(!1),t(o[r],l);n(!1)}}},function(e,t,r){"use strict";var i=r(2).default,n=i(r(16)),a=i(r(12)),s=r(0),l=r(30);function o(e,t,r){return function(){for(var i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];var o=e.apply(null,a);return r?(Array.isArray(o)||s(!1),o.map((function(e){return(0,n.default)({},t,e)}))):(0,n.default)({},t,o)}}e.exports={weakObjectWrapperLive:function(e,t,r){return function(){for(var i=arguments.length,n=new Array(i),u=0;u<i;u++)n[u]=arguments[u];var c=e.apply(null,n);return l(c)||s(!1),(0,a.default)((0,a.default)({},c),{},{read:o((function(){return c.read()}),t,r)})}},weakObjectWrapper:o}}])}));
|
|
9
|
+
!function(e,r){"object"==typeof exports&&"object"==typeof module?module.exports=r(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/defineProperty")):"function"==typeof define&&define.amd?define(["invariant","@babel/runtime/helpers/interopRequireDefault","fbjs/lib/warning","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","@babel/runtime/helpers/defineProperty"],r):"object"==typeof exports?exports.ReactRelayExperimental=r(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/objectSpread2"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/defineProperty")):e.ReactRelayExperimental=r(e.invariant,e["@babel/runtime/helpers/interopRequireDefault"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/objectSpread2"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/defineProperty"])}(window,(function(e,r,n,t,a,u,i){return function(e){var r={};function n(t){if(r[t])return r[t].exports;var a=r[t]={i:t,l:!1,exports:{}};return e[t].call(a.exports,a,a.exports,n),a.l=!0,a.exports}return n.m=e,n.c=r,n.d=function(e,r,t){n.o(e,r)||Object.defineProperty(e,r,{enumerable:!0,get:t})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,r){if(1&r&&(e=n(e)),8&r)return e;if(4&r&&"object"==typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(n.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&r&&"string"!=typeof e)for(var a in e)n.d(t,a,function(r){return e[r]}.bind(null,a));return t},n.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(r,"a",r),r},n.o=function(e,r){return Object.prototype.hasOwnProperty.call(e,r)},n.p="",n(n.s=6)}([function(r,n){r.exports=e},function(e,n){e.exports=r},function(e,r,n){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FLIGHT_FIELD:"FlightField",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},function(e,r){e.exports=n},function(e,r){e.exports=t},function(e,r,n){"use strict";var t=(0,n(1).default)(n(12)),a=n(13),u=n(2),i=n(15),l=n(0),o=u.VARIABLE,c=u.LITERAL,f=u.OBJECT_VALUE,s=u.LIST_VALUE;function E(e,r){if(e.kind===o)return function(e,r){return r.hasOwnProperty(e)||l(!1),i(r[e])}(e.variableName,r);if(e.kind===c)return e.value;if(e.kind===f){var n={};return e.fields.forEach((function(e){n[e.name]=E(e,r)})),n}if(e.kind===s){var t=[];return e.items.forEach((function(e){null!=e&&t.push(E(e,r))})),t}}function _(e,r){var n={};return e.forEach((function(e){n[e.name]=E(e,r)})),n}function d(e,r){if(!r)return e;var n=[];for(var t in r)if(r.hasOwnProperty(t)){var a,u=r[t];if(null!=u)n.push(t+":"+(null!==(a=JSON.stringify(u))&&void 0!==a?a:"undefined"))}return 0===n.length?e:e+"(".concat(n.join(","),")")}var p={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"__isWithinUnmatchedTypeRefinement",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_SNAPSHOT_KEY:"__resolverSnapshot",RELAY_RESOLVER_ERROR_KEY:"__resolverError",RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:"__resolverOutputTypeRecordIDs",formatStorageKey:d,getArgumentValue:E,getArgumentValues:_,getHandleStorageKey:function(e,r){var n=e.dynamicKey,u=e.handle,i=e.key,l=e.name,o=e.args,c=e.filters,f=a(u,i,l),s=null;return o&&c&&0!==o.length&&0!==c.length&&(s=o.filter((function(e){return c.indexOf(e.name)>-1}))),n&&(s=null!=s?[n].concat((0,t.default)(s)):[n]),null===s?f:d(f,_(s,r))},getStorageKey:function(e,r){if(e.storageKey)return e.storageKey;var n=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var r,n;return null==e.args?null===(n=e.fragment)||void 0===n?void 0:n.args:null==(null===(r=e.fragment)||void 0===r?void 0:r.args)?e.args:e.args.concat(e.fragment.args)}return void 0===e.args?void 0:e.args}(e),t=e.name;return n&&0!==n.length?d(t,_(n,r)):t},getStableStorageKey:function(e,r){return d(e,i(r))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=p},function(e,r,n){"use strict";var t=n(7),a=n(17),u=a.weakObjectWrapper,i=a.weakObjectWrapperLive;e.exports={resolverDataInjector:t,weakObjectWrapper:u,weakObjectWrapperLive:i}},function(e,r,n){"use strict";var t=n(8).readFragment,a=n(0);e.exports=function(e,r,n,u){return function(i,l){var o=t(e,i);if(null==n)return r(o,l);if(null==o){if(!0!==u)return r(null,l);a(!1)}if(n in o)return!0===u&&null==o[n]&&a(!1),r(o[n],l);a(!1)}}},function(e,r,n){"use strict";var t=n(9).getFragment,a=n(10).getSelector,u=n(0),i=[];var l={};e.exports={readFragment:function(e,r){if(!i.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var n=i[i.length-1],o=t(e),c=a(o,r);null==c&&u(!1),"SingularReaderSelector"!==c.kind&&u(!1);var f=n.getDataForResolverFragment(c,r),s=f.data;if(f.isMissingData)throw l;return s},withResolverContext:function(e,r){i.push(e);try{return r()}finally{i.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:l}},function(e,r,n){"use strict";var t=n(2),a=n(0);n(3);function u(e){var r=e;return"function"==typeof r?r=r():r.default&&(r=r.default),r}function i(e){var r=u(e);return"object"==typeof r&&null!==r&&r.kind===t.FRAGMENT}function l(e){var r=u(e);return"object"==typeof r&&null!==r&&r.kind===t.REQUEST}function o(e){var r=u(e);return"object"==typeof r&&null!==r&&r.kind===t.UPDATABLE_QUERY}function c(e){var r=u(e);return"object"==typeof r&&null!==r&&r.kind===t.INLINE_DATA_FRAGMENT}function f(e){var r=u(e);return i(r)||a(!1),r}e.exports={getFragment:f,getNode:u,getPaginationFragment:function(e){var r,n=f(e),t=null===(r=n.metadata)||void 0===r?void 0:r.refetch,a=null==t?void 0:t.connection;return null===t||"object"!=typeof t||null===a||"object"!=typeof a?null:n},getRefetchableFragment:function(e){var r,n=f(e),t=null===(r=n.metadata)||void 0===r?void 0:r.refetch;return null===t||"object"!=typeof t?null:n},getRequest:function(e){var r=u(e);return l(r)||a(!1),r},getUpdatableQuery:function(e){var r=u(e);return o(r)||a(!1),r},getInlineDataFragment:function(e){var r=u(e);return c(r)||a(!1),r},graphql:function(e){a(!1)},isFragment:i,isRequest:l,isUpdatableQuery:o,isInlineDataFragment:c}},function(e,r,n){"use strict";var t=n(11).getFragmentVariables,a=n(5),u=a.CLIENT_EDGE_TRAVERSAL_PATH,i=a.FRAGMENT_OWNER_KEY,l=a.FRAGMENTS_KEY,o=a.ID_KEY,c=a.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,f=n(16),s=n(0);n(3);function E(e,r){("object"!=typeof r||null===r||Array.isArray(r))&&s(!1);var n=r[o],a=r[l],f=r[i],E=!0===r[c],_=r[u];if("string"==typeof n&&"object"==typeof a&&null!==a&&"object"==typeof a[e.name]&&null!==a[e.name]&&"object"==typeof f&&null!==f&&(null==_||Array.isArray(_))){var d=f,p=_,g=a[e.name];return R(e,n,t(e,d.variables,g),d,E,p)}return null}function _(e,r){var n=null;return r.forEach((function(r,t){var a=null!=r?E(e,r):null;null!=a&&(n=n||[]).push(a)})),null==n?null:{kind:"PluralReaderSelector",selectors:n}}function d(e,r){return null==r?r:e.metadata&&!0===e.metadata.plural?(Array.isArray(r)||s(!1),_(e,r)):(Array.isArray(r)&&s(!1),E(e,r))}function p(e,r){return null==r?r:e.metadata&&!0===e.metadata.plural?(Array.isArray(r)||s(!1),function(e,r){var n=null;return r.forEach((function(r){var t=null!=r?g(e,r):null;null!=t&&(n=n||[]).push(t)})),n}(e,r)):(Array.isArray(r)&&s(!1),g(e,r))}function g(e,r){("object"!=typeof r||null===r||Array.isArray(r))&&s(!1);var n=r[o];return"string"==typeof n?n:null}function b(e,r){var n;return null==r?{}:!0===(null===(n=e.metadata)||void 0===n?void 0:n.plural)?(Array.isArray(r)||s(!1),v(e,r)):(Array.isArray(r)&&s(!1),m(e,r)||{})}function m(e,r){var n=E(e,r);return n?n.variables:null}function v(e,r){var n={};return r.forEach((function(r,t){if(null!=r){var a=m(e,r);null!=a&&Object.assign(n,a)}})),n}function A(e,r){return e.owner===r.owner&&e.dataID===r.dataID&&e.node===r.node&&f(e.variables,r.variables)}function R(e,r,n,t){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],u=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:r,isWithinUnmatchedTypeRefinement:a,clientEdgeTraversalPath:null!=u?u:null,node:e,variables:n,owner:t}}e.exports={areEqualSelectors:function(e,r){return e===r||(null==e?null==r:null==r?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===r.kind?A(e,r):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===r.kind&&(e.selectors.length===r.selectors.length&&e.selectors.every((function(e,n){return A(e,r.selectors[n])}))))},createReaderSelector:R,createNormalizationSelector:function(e,r,n){return{dataID:r,node:e,variables:n}},getDataIDsFromFragment:p,getDataIDsFromObject:function(e,r){var n={};for(var t in e)if(e.hasOwnProperty(t)){var a=e[t],u=r[t];n[t]=p(a,u)}return n},getSingularSelector:E,getPluralSelector:_,getSelector:d,getSelectorsFromObject:function(e,r){var n={};for(var t in e)if(e.hasOwnProperty(t)){var a=e[t],u=r[t];n[t]=d(a,u)}return n},getVariablesFromSingularFragment:m,getVariablesFromPluralFragment:v,getVariablesFromFragment:b,getVariablesFromObject:function(e,r){var n={};for(var t in e)if(e.hasOwnProperty(t)){var a=b(e[t],r[t]);Object.assign(n,a)}return n}}},function(e,r,n){"use strict";var t=(0,n(1).default)(n(4)),a=n(5).getArgumentValues,u=n(0);e.exports={getLocalVariables:function(e,r,n){if(null==r)return e;var u=(0,t.default)({},e),i=n?a(n,e):{};return r.forEach((function(e){var r,n=null!==(r=i[e.name])&&void 0!==r?r:e.defaultValue;u[e.name]=n})),u},getFragmentVariables:function(e,r,n){return null==e.argumentDefinitions?n:(e.argumentDefinitions.forEach((function(e){if(!n.hasOwnProperty(e.name))switch(a=a||(0,t.default)({},n),e.kind){case"LocalArgument":a[e.name]=e.defaultValue;break;case"RootArgument":if(!r.hasOwnProperty(e.name)){a[e.name]=void 0;break}a[e.name]=r[e.name];break;default:u(!1)}})),a||n);var a},getOperationVariables:function(e,r,n){var t={};return e.argumentDefinitions.forEach((function(e){var r=e.defaultValue;null!=n[e.name]&&(r=n[e.name]),t[e.name]=r})),null!=r&&Object.keys(r).forEach((function(e){t[e]=r[e].get()})),t}}},function(e,r){e.exports=a},function(e,r,n){"use strict";var t=n(14).DEFAULT_HANDLE_KEY,a=n(0);e.exports=function(e,r,n){return r&&r!==t?"__".concat(r,"_").concat(e):(null==n&&a(!1),"__".concat(n,"_").concat(e))}},function(e,r,n){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,r,n){"use strict";e.exports=function e(r){if(!r||"object"!=typeof r)return r;if(Array.isArray(r))return r.map(e);for(var n=Object.keys(r).sort(),t={},a=0;a<n.length;a++)t[n[a]]=e(r[n[a]]);return t}},function(e,r){e.exports=u},function(e,r,n){"use strict";var t=n(1).default,a=t(n(18)),u=t(n(4)),i=n(0),l=n(19);function o(e,r,n){return function(){for(var t=arguments.length,u=new Array(t),l=0;l<t;l++)u[l]=arguments[l];var o=e.apply(null,u);return n?(Array.isArray(o)||i(!1),o.map((function(e){return(0,a.default)({},r,e)}))):(0,a.default)({},r,o)}}e.exports={weakObjectWrapperLive:function(e,r,n){return function(){for(var t=arguments.length,a=new Array(t),c=0;c<t;c++)a[c]=arguments[c];var f=e.apply(null,a);return l(f)||i(!1),(0,u.default)((0,u.default)({},f),{},{read:o((function(){return f.read()}),r,n)})}},weakObjectWrapper:o}},function(e,r){e.exports=i},function(e,r,n){"use strict";e.exports=function(e){return null!=e&&"object"==typeof e&&"function"==typeof e.read&&"function"==typeof e.subscribe}}])}));
|
package/relay-runtime.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* Relay v0.0.0-main-
|
|
2
|
+
* Relay v0.0.0-main-07c8dfdf
|
|
3
3
|
*/
|
|
4
4
|
!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/defineProperty")):"function"==typeof define&&define.amd?define(["invariant","@babel/runtime/helpers/interopRequireDefault","fbjs/lib/warning","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/objectSpread2","fbjs/lib/areEqual","@babel/runtime/helpers/toConsumableArray","@babel/runtime/helpers/defineProperty"],t):"object"==typeof exports?exports.RelayRuntime=t(require("invariant"),require("@babel/runtime/helpers/interopRequireDefault"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/toConsumableArray"),require("@babel/runtime/helpers/defineProperty")):e.RelayRuntime=t(e.invariant,e["@babel/runtime/helpers/interopRequireDefault"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/objectSpread2"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/toConsumableArray"],e["@babel/runtime/helpers/defineProperty"])}(window,(function(e,t,r,n,i,a,o,s){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.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 i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));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=60)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";var n=(0,r(1).default)(r(16)),i=r(27),a=r(6),o=r(17),s=r(0),l=a.VARIABLE,u=a.LITERAL,c=a.OBJECT_VALUE,d=a.LIST_VALUE;function f(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||s(!1,"getVariableValue(): Undefined variable `%s`.",e),o(t[e])}(e.variableName,t);if(e.kind===u)return e.value;if(e.kind===c){var r={};return e.fields.forEach((function(e){r[e.name]=f(e,t)})),r}if(e.kind===d){var n=[];return e.items.forEach((function(e){null!=e&&n.push(f(e,t))})),n}}function h(e,t){var r={};return e.forEach((function(e){r[e.name]=f(e,t)})),r}function p(e,t){if(!t)return e;var r=[];for(var n in t)if(t.hasOwnProperty(n)){var i,a=t[n];if(null!=a)r.push(n+":"+(null!==(i=JSON.stringify(a))&&void 0!==i?i:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var _={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"__isWithinUnmatchedTypeRefinement",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_SNAPSHOT_KEY:"__resolverSnapshot",RELAY_RESOLVER_ERROR_KEY:"__resolverError",RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:"__resolverOutputTypeRecordIDs",formatStorageKey:p,getArgumentValue:f,getArgumentValues:h,getHandleStorageKey:function(e,t){var r=e.dynamicKey,a=e.handle,o=e.key,s=e.name,l=e.args,u=e.filters,c=i(a,o,s),d=null;return l&&u&&0!==l.length&&0!==u.length&&(d=l.filter((function(e){return u.indexOf(e.name)>-1}))),r&&(d=null!=d?[r].concat((0,n.default)(d)):[r]),null===d?c:p(c,h(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=function(e){if("RelayResolver"===e.kind||"RelayLiveResolver"===e.kind){var t,r;return null==e.args?null===(r=e.fragment)||void 0===r?void 0:r.args:null==(null===(t=e.fragment)||void 0===t?void 0:t.args)?e.args:e.args.concat(e.fragment.args)}return void 0===e.args?void 0:e.args}(e),n=e.name;return r&&0!==r.length?p(n,h(r,t)):n},getStableStorageKey:function(e,t){return p(e,o(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=_},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";e.exports={ENABLE_CLIENT_EDGES:!1,ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!0,ENABLE_REACT_FLIGHT_COMPONENT_FIELD:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_LOAD_QUERY_REQUEST_DEDUPING:!0,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,MAX_DATA_ID_LENGTH:null,STRING_INTERN_LEVEL:0,USE_REACT_CACHE:!1,USE_REACT_CACHE_LEGACY_TIMEOUTS:!0,ENABLE_QUERY_RENDERER_SET_STATE_PREVENTION:!1}},function(e,t,r){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FLIGHT_FIELD:"FlightField",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},function(e,t){e.exports=i},function(e,t,r){"use strict";var n=(0,r(1).default)(r(7)),i=r(18),a=r(9).isClientID,o=r(2),s=o.ACTOR_IDENTIFIER_KEY,l=o.ID_KEY,u=o.INVALIDATED_AT_KEY,c=o.REF_KEY,d=o.REFS_KEY,f=o.ROOT_ID,h=o.TYPENAME_KEY,p=r(14),_=r(0),v=r(3);function g(e){return e[l]}function m(e){return e[h]}e.exports={clone:function(e){return(0,n.default)({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==l&&r!==h&&(t[r]=e[r])},create:function(e,t){var r={};return r[l]=e,r[h]=t,r},freeze:function(e){i(e)},getDataID:g,getInvalidationEpoch:function(e){if(null==e)return null;var t=e[u];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];if(null==r)return r;var n=r;return"object"==typeof n&&n&&"string"==typeof n[c]||_(!1,"RelayModernRecord.getLinkedRecordID(): Expected `%s.%s` to be a linked ID, was `%s`.%s",e[l],t,JSON.stringify(n),"object"==typeof n&&void 0!==n[d]?" It appears to be a plural linked record: did you mean to call getLinkedRecords() instead of getLinkedRecord()?":""),n[c]},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[d])||_(!1,"RelayModernRecord.getLinkedRecordIDs(): Expected `%s.%s` to contain an array of linked IDs, got `%s`.%s",e[l],t,JSON.stringify(r),"object"==typeof r&&void 0!==r[c]?" It appears to be a singular linked record: did you mean to call getLinkedRecord() instead of getLinkedRecords()?":""),r[d])},getType:m,getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(c)||r.hasOwnProperty(d))&&_(!1,"RelayModernRecord.getValue(): Expected a scalar (non-link) value for `%s.%s` but found %s.",e[l],t,r.hasOwnProperty(c)?"a linked record":"plural linked records"),r},merge:function(e,t){var r,i,o=g(e),s=g(t);v(o===s,"RelayModernRecord: Invalid record merge, expected both versions of the record to have the same id, got `%s` and `%s`.",o,s);var l=null!==(r=m(e))&&void 0!==r?r:null,u=null!==(i=m(t))&&void 0!==i?i:null;return v(a(s)&&s!==f||l===u,"RelayModernRecord: Invalid record merge, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",o,h,l,u),(0,n.default)((0,n.default)({},e),t)},setValue:function(e,t,r){var n=g(e);if(t===l)v(n===r,"RelayModernRecord: Invalid field update, expected both versions of the record to have the same id, got `%s` and `%s`.",n,r);else if(t===h){var i,o=null!==(i=m(e))&&void 0!==i?i:null,s=null!=r?r:null;v(a(g(e))&&g(e)!==f||o===s,"RelayModernRecord: Invalid field update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",n,h,o,s)}e[t]=r},setLinkedRecordID:function(e,t,r){var n={};n[c]=r,e[t]=n},setLinkedRecordIDs:function(e,t,r){var n={};n[d]=r,e[t]=n},update:function(e,t){var r,i,o=g(e),s=g(t);v(o===s,"RelayModernRecord: Invalid record update, expected both versions of the record to have the same id, got `%s` and `%s`.",o,s);var l=null!==(r=m(e))&&void 0!==r?r:null,u=null!==(i=m(t))&&void 0!==i?i:null;v(a(s)&&s!==f||l===u,"RelayModernRecord: Invalid record update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",o,h,l,u);for(var c=null,d=Object.keys(t),_=0;_<d.length;_++){var E=d[_];!c&&p(e[E],t[E])||((c=null!==c?c:(0,n.default)({},e))[E]=t[E])}return null!==c?c:e},getActorLinkedRecordID:function(e,t){var r=e[t];return null==r?r:(("object"!=typeof r||"string"!=typeof r[c]||null==r[s])&&_(!1,"RelayModernRecord.getActorLinkedRecordID(): Expected `%s.%s` to be an actor specific linked ID, was `%s`.",e[l],t,JSON.stringify(r)),[r[s],r[c]])},setActorLinkedRecordID:function(e,t,r,n){var i={};i[c]=n,i[s]=r,e[t]=i}}},function(e,t,r){"use strict";var n=r(5),i=r(35).intern;var a=0;e.exports={generateClientID:function(e,t,r){var a=(n.STRING_INTERN_LEVEL<=0?e:i(e,n.MAX_DATA_ID_LENGTH))+":"+t;return null!=r&&(a+=":"+r),0!==a.indexOf("client:")&&(a="client:"+a),a},generateClientObjectClientID:function(e,t,r){var n="".concat("client:").concat(e,":").concat(t);return null!=r&&(n+=":"+r),n},generateUniqueClientID:function(){return"".concat("client:","local:").concat(a++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t,r){"use strict";var n=r(6),i=r(0),a=r(3);function o(e){var t=e;return"function"==typeof t?(t=t(),a(!1,"RelayGraphQLTag: node `%s` unexpectedly wrapped in a function.","Fragment"===t.kind?t.name:t.operation.name)):t.default&&(t=t.default),t}function s(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.FRAGMENT}function l(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}function u(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.UPDATABLE_QUERY}function c(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.INLINE_DATA_FRAGMENT}function d(e){var t=o(e);return s(t)||i(!1,"GraphQLTag: Expected a fragment, got `%s`.",JSON.stringify(t)),t}e.exports={getFragment:d,getNode:o,getPaginationFragment:function(e){var t,r=d(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch,i=null==n?void 0:n.connection;return null===n||"object"!=typeof n||null===i||"object"!=typeof i?null:r},getRefetchableFragment:function(e){var t,r=d(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch;return null===n||"object"!=typeof n?null:r},getRequest:function(e){var t=o(e);return l(t)||i(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)),t},getUpdatableQuery:function(e){var t=o(e);return u(t)||i(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)),t},getInlineDataFragment:function(e){var t=o(e);return c(t)||i(!1,"GraphQLTag: Expected an inline data fragment, got `%s`.",JSON.stringify(t)),t},graphql:function(e){i(!1,"graphql: Unexpected invocation at runtime. Either the Babel transform was not set up, or it failed to identify this call site. Make sure it is being used verbatim as `graphql`. Note also that there cannot be a space between graphql and the backtick that follows.")},isFragment:s,isRequest:l,isUpdatableQuery:u,isInlineDataFragment:c}},function(e,t,r){"use strict";var n=r(12).getFragmentVariables,i=r(2),a=i.CLIENT_EDGE_TRAVERSAL_PATH,o=i.FRAGMENT_OWNER_KEY,s=i.FRAGMENTS_KEY,l=i.ID_KEY,u=i.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,c=r(14),d=r(0),f=r(3);function h(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[l],i=t[s],c=t[o],h=!0===t[u],p=t[a];if("string"==typeof r&&"object"==typeof i&&null!==i&&"object"==typeof i[e.name]&&null!==i[e.name]&&"object"==typeof c&&null!==c&&(null==p||Array.isArray(p))){var _=c,v=p,g=i[e.name];return b(e,r,n(e,_.variables,g),_,h,v)}var m=JSON.stringify(t);return m.length>499&&(m=m.substr(0,498)+"…"),f(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`.",e.name,m,e.name),null}function p(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?h(e,t):null;null!=i&&(r=r||[]).push(i)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function _(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),p(e,t)):(Array.isArray(t)&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),h(e,t))}function v(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),function(e,t){var r=null;return t.forEach((function(t){var n=null!=t?g(e,t):null;null!=n&&(r=r||[]).push(n)})),r}(e,t)):(Array.isArray(t)&&d(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),g(e,t))}function g(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[l];return"string"==typeof r?r:(f(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`, or `null` is passed as the fragment reference for `%s` if it's conditonally included and the condition isn't met.",e.name,JSON.stringify(t),e.name,e.name),null)}function m(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),y(e,t)):(Array.isArray(t)&&d(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),E(e,t)||{})}function E(e,t){var r=h(e,t);return r?r.variables:null}function y(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=E(e,t);null!=i&&Object.assign(r,i)}})),r}function R(e,t){return e.owner===t.owner&&e.dataID===t.dataID&&e.node===t.node&&c(e.variables,t.variables)}function b(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4],a=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:i,clientEdgeTraversalPath:null!=a?a:null,node:e,variables:r,owner:n}}e.exports={areEqualSelectors:function(e,t){return e===t||(null==e?null==t:null==t?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===t.kind?R(e,t):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===t.kind&&(e.selectors.length===t.selectors.length&&e.selectors.every((function(e,r){return R(e,t.selectors[r])}))))},createReaderSelector:b,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:v,getDataIDsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=v(i,a)}return r},getSingularSelector:h,getPluralSelector:p,getSelector:_,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=_(i,a)}return r},getVariablesFromSingularFragment:E,getVariablesFromPluralFragment:y,getVariablesFromFragment:m,getVariablesFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=m(e[n],t[n]);Object.assign(r,i)}return r}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(7)),i=r(2).getArgumentValues,a=r(0);e.exports={getLocalVariables:function(e,t,r){if(null==t)return e;var a=(0,n.default)({},e),o=r?i(r,e):{};return t.forEach((function(e){var t,r=null!==(t=o[e.name])&&void 0!==t?t:e.defaultValue;a[e.name]=r})),a},getFragmentVariables:function(e,t,r){return null==e.argumentDefinitions?r:(e.argumentDefinitions.forEach((function(o){if(!r.hasOwnProperty(o.name))switch(i=i||(0,n.default)({},r),o.kind){case"LocalArgument":i[o.name]=o.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(o.name)){i[o.name]=void 0;break}i[o.name]=t[o.name];break;default:a(!1,"RelayConcreteVariables: Unexpected node kind `%s` in fragment `%s`.",o.kind,e.name)}})),i||r);var i},getOperationVariables:function(e,t,r){var n={};return e.argumentDefinitions.forEach((function(e){var t=e.defaultValue;null!=r[e.name]&&(t=r[e.name]),n[e.name]=t})),null!=t&&Object.keys(t).forEach((function(e){n[e]=t[e].get()})),n}}},function(e,t,r){"use strict";var n=r(18),i=r(39),a=r(12).getOperationVariables,o=r(11),s=o.createNormalizationSelector,l=o.createReaderSelector,u=r(2).ROOT_ID;function c(e,t,r){var a={identifier:i(e.params,t),node:e,variables:t,cacheConfig:r};return n(t),Object.freeze(e),Object.freeze(a),a}e.exports={createOperationDescriptor:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u,i=e.operation,o=a(i,e.params.providedVariables,t),d=c(e,o,r),f={fragment:l(e.fragment,n,o,d),request:d,root:s(i,n,o)};return Object.freeze(f.fragment),Object.freeze(f.root),Object.freeze(f),f},createRequestDescriptor:c}},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(41),i=function(e,t){},a=function(){function e(e){if(!e||"function"!=typeof e)throw new Error("Source must be a Function: "+String(e));this._source=e}e.create=function(t){return new e(t)},e.onUnhandledError=function(e){i=e},e.from=function(e){return function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.subscribe}(e)?o(e):n(e)?s(e):l(e)};var t=e.prototype;return t.catch=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:function(r){try{t(r).subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:e.error})}catch(t){e.error(t,!0)}}}),function(){return n.unsubscribe()}}))},t.concat=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,error:e.error,complete:function(){n=t.subscribe(e)}}),function(){n&&n.unsubscribe()}}))},t.do=function(t){var r=this;return e.create((function(e){var n=function(r){return function(){try{t[r]&&t[r].apply(t,arguments)}catch(e){i(e,!0)}e[r]&&e[r].apply(e,arguments)}};return r.subscribe({start:n("start"),next:n("next"),error:n("error"),complete:n("complete"),unsubscribe:n("unsubscribe")})}))},t.finally=function(t){var r=this;return e.create((function(e){var n=r.subscribe(e);return function(){n.unsubscribe(),t()}}))},t.ifEmpty=function(t){var r=this;return e.create((function(e){var n=!1,i=r.subscribe({next:function(t){n=!0,e.next(t)},error:e.error,complete:function(){n?e.complete():i=t.subscribe(e)}});return function(){i.unsubscribe()}}))},t.subscribe=function(e){if(!e||"object"!=typeof e)throw new Error("Observer must be an Object with callbacks: "+String(e));return function(e,t){var r,n=!1,a=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function o(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var s=a({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(s)}catch(e){i(e,!0)}finally{o()}}}});try{t.start&&t.start(s)}catch(e){i(e,!0)}if(n)return s;var l=a({next:function(e){if(!n&&t.next)try{t.next(e)}catch(e){i(e,!0)}},error:function(e,r){if(n||!t.error)n=!0,i(e,r||!1),o();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{o()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{o()}}}});try{r=e(l)}catch(e){l.error(e,!0)}if(void 0!==r&&"function"!=typeof r&&(!r||"function"!=typeof r.unsubscribe))throw new Error("Returned cleanup function which cannot be called: "+String(r));n&&o();return s}(this._source,e)},t.map=function(t){var r=this;return e.create((function(e){var n=r.subscribe({complete:e.complete,error:e.error,next:function(r){try{var n=t(r);e.next(n)}catch(t){e.error(t,!0)}}});return function(){n.unsubscribe()}}))},t.mergeMap=function(t){var r=this;return e.create((function(n){var i=[];function a(e){this._sub=e,i.push(e)}function o(){i.splice(i.indexOf(this._sub),1),0===i.length&&n.complete()}return r.subscribe({start:a,next:function(r){try{n.closed||e.from(t(r)).subscribe({start:a,next:n.next,error:n.error,complete:o})}catch(e){n.error(e,!0)}},error:n.error,complete:o}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;if("number"!=typeof t||t<=0)throw new Error("RelayObservable: Expected pollInterval to be positive, got: "+t);return e.create((function(e){var n,i;return function a(){n=r.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(a,t)}})}(),function(){clearTimeout(i),n.unsubscribe()}}))},t.toPromise=function(){var e=this;return new Promise((function(t,r){var n=!1;e.subscribe({next:function(e){n||(n=!0,t(e))},error:r,complete:t})}))},e}();function o(e){return e instanceof a?e:a.create((function(t){return e.subscribe(t)}))}function s(e){return a.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function l(e){return a.create((function(t){t.next(e),t.complete()}))}a.onUnhandledError((function(e,t){"function"==typeof fail?fail(String(e)):t?setTimeout((function(){throw e})):"undefined"!=typeof console&&console.error("RelayObservable: Unhandled Error",e)})),e.exports=a},function(e,t){e.exports=o},function(e,t,r){"use strict";e.exports=function e(t){if(!t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(e);for(var r=Object.keys(t).sort(),n={},i=0;i<r.length;i++)n[r[i]]=e(t[r[i]]);return n}},function(e,t,r){"use strict";e.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(r){var n=t[r];n&&"object"==typeof n&&!Object.isFrozen(n)&&e(n)})),t}},function(e,t){e.exports=s},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(25),a=i.EXISTENT,o=i.NONEXISTENT,s=i.UNKNOWN,l=function(){function e(e){var t=this;this._records=new Map,null!=e&&Object.keys(e).forEach((function(r){t._records.set(r,e[r])}))}e.create=function(t){return new e(t)};var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(e){this._records.set(e,null)},t.get=function(e){return this._records.get(e)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?o:a:s},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e,t={},r=(0,n.default)(this._records);try{for(r.s();!(e=r.n()).done;){var i=e.value,a=i[0],o=i[1];t[a]=o}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=l},function(e,t,r){"use strict";var n=r(8).getType,i=r(0);e.exports={REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY:"executableDefinitions",REACT_FLIGHT_TREE_STORAGE_KEY:"tree",REACT_FLIGHT_TYPE_NAME:"ReactFlightComponent",getReactFlightClientResponse:function(e){return"ReactFlightComponent"!==n(e)&&i(!1,"getReactFlightClientResponse(): Expected a ReactFlightComponentRecord, got %s.",e),e.tree},refineToReactFlightPayloadData:function(e){return null!=e&&"object"==typeof e&&"string"==typeof e.status&&(Array.isArray(e.tree)||null===e.tree)&&Array.isArray(e.queries)&&Array.isArray(e.fragments)&&Array.isArray(e.errors)?e:null}}},function(e,t,r){"use strict";var n=r(9).generateClientID,i=r(2).getStableStorageKey,a=r(27),o=r(28),s=r(0),l=r(3),u="__connection_next_edge_index";function c(e,t,r){if(null==r)return r;var i=o.get().EDGES,a=t.getValue(u);"number"!=typeof a&&s(!1,"ConnectionHandler: Expected %s to be a number, got `%s`.",u,a);var l=n(t.getDataID(),i,a),c=e.create(l,r.getType());return c.copyFieldsFrom(r),null==c.getValue("cursor")&&c.setValue(null,"cursor"),t.setValue(a+1,u),c}function d(e,t,r){for(var n=o.get().NODE,i=0;i<e.length;i++){var a=e[i];if(a){var s=a.getLinkedRecord(n),l=s&&s.getDataID();if(l){if(r.has(l))continue;r.add(l)}t.push(a)}}}e.exports={buildConnectionEdge:c,createEdge:function(e,t,r,i){var a=o.get().NODE,s=n(t.getDataID(),r.getDataID()),l=e.get(s);return l||(l=e.create(s,i)),l.setLinkedRecord(r,a),null==l.getValue("cursor")&&l.setValue(null,"cursor"),l},deleteNode:function(e,t){var r=o.get(),n=r.EDGES,i=r.NODE,a=e.getLinkedRecords(n);if(a){for(var s,l=0;l<a.length;l++){var u=a[l],c=u&&u.getLinkedRecord(i);null!=c&&c.getDataID()===t?void 0===s&&(s=a.slice(0,l)):void 0!==s&&s.push(u)}void 0!==s&&e.setLinkedRecords(s,n)}},getConnection:function(e,t,r){var n=a("connection",t,null);return e.getLinkedRecord(n,r)},getConnectionID:function(e,t,r){var o=a("connection",t,null),s=i(o,r);return n(e,s)},insertEdgeAfter:function(e,t,r){var n=o.get(),i=n.CURSOR,a=n.EDGES,s=e.getLinkedRecords(a);if(s){var l;if(null==r)l=s.concat(t);else{l=[];for(var u=!1,c=0;c<s.length;c++){var d=s[c];if(l.push(d),null!=d)r===d.getValue(i)&&(l.push(t),u=!0)}u||l.push(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},insertEdgeBefore:function(e,t,r){var n=o.get(),i=n.CURSOR,a=n.EDGES,s=e.getLinkedRecords(a);if(s){var l;if(null==r)l=[t].concat(s);else{l=[];for(var u=!1,c=0;c<s.length;c++){var d=s[c];if(null!=d)r===d.getValue(i)&&(l.push(t),u=!0);l.push(d)}u||l.unshift(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},update:function(e,t){var r=e.get(t.dataID);if(r){var i=o.get(),a=i.EDGES,s=i.END_CURSOR,f=i.HAS_NEXT_PAGE,h=i.HAS_PREV_PAGE,p=i.PAGE_INFO,_=i.PAGE_INFO_TYPE,v=i.START_CURSOR,g=r.getLinkedRecord(t.fieldKey),m=g&&g.getLinkedRecord(p);if(g){var E=n(r.getDataID(),t.handleKey),y=r.getLinkedRecord(t.handleKey),R=null!=y?y:e.get(E),b=R&&R.getLinkedRecord(p);if(R){null==y&&r.setLinkedRecord(R,t.handleKey);var I=R,D=g.getLinkedRecords(a);D&&(D=D.map((function(t){return c(e,I,t)})));var S=I.getLinkedRecords(a),A=I.getLinkedRecord(p);I.copyFieldsFrom(g),S&&I.setLinkedRecords(S,a),A&&I.setLinkedRecord(A,p);var T=[],k=t.args;if(S&&D)if(null!=k.after){if(!b||k.after!==b.getValue(s))return void l(!1,"Relay: Unexpected after cursor `%s`, edges must be fetched from the end of the list (`%s`).",k.after,b&&b.getValue(s));var N=new Set;d(S,T,N),d(D,T,N)}else if(null!=k.before){if(!b||k.before!==b.getValue(v))return void l(!1,"Relay: Unexpected before cursor `%s`, edges must be fetched from the beginning of the list (`%s`).",k.before,b&&b.getValue(v));var O=new Set;d(D,T,O),d(S,T,O)}else T=D;else T=D||S;if(null!=T&&T!==S&&I.setLinkedRecords(T,a),b&&m)if(null==k.after&&null==k.before)b.copyFieldsFrom(m);else if(null!=k.before||null==k.after&&k.last){b.setValue(!!m.getValue(h),h);var F=m.getValue(v);"string"==typeof F&&b.setValue(F,v)}else if(null!=k.after||null==k.before&&k.first){b.setValue(!!m.getValue(f),f);var L=m.getValue(s);"string"==typeof L&&b.setValue(L,s)}}else{var P=e.create(E,g.getType());P.setValue(0,u),P.copyFieldsFrom(g);var x=g.getLinkedRecords(a);x&&(x=x.map((function(t){return c(e,P,t)})),P.setLinkedRecords(x,a)),r.setLinkedRecord(P,t.handleKey),(b=e.create(n(P.getDataID(),p),_)).setValue(!1,f),b.setValue(!1,h),b.setValue(null,s),b.setValue(null,v),m&&b.copyFieldsFrom(m),P.setLinkedRecord(b,p)}}else r.setValue(null,t.handleKey)}}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(22),a=r(3),o=Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"}),s=Object.freeze({APPEND:"append",PREPEND:"prepend"});function l(e){return e.fragment.selections&&e.fragment.selections.length>0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:o,RangeOperations:s,convert:function(e,t,r,o){var s=r?[r]:[],u=o?[o]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=l(t);if(!n)return null;return function(e,t){var i=e.getRootField(n);if(i){var a=i.getValue(r);(Array.isArray(a)?a:[a]).forEach((function(t){t&&"string"==typeof t&&e.delete(t)}))}}}(e,t);r&&(s.push(r),u.push(r));break;case"RANGE_ADD":var o=function(e,t){var r=e.parentID,o=e.connectionInfo,s=e.edgeName;if(!r)return a(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_ADD to work you must include a parentID"),null;var u=l(t);if(!o||!u)return null;return function(e,t){var l=e.get(r);if(l){var c=e.getRootField(u);if(c){var d,f=c.getLinkedRecord(s),h=(0,n.default)(o);try{for(h.s();!(d=h.n()).done;){var p=d.value;if(f){var _=i.getConnection(l,p.key,p.filters);if(_){var v=i.buildConnectionEdge(e,_,f);if(v)switch(p.rangeBehavior){case"append":i.insertEdgeAfter(_,v);break;case"prepend":i.insertEdgeBefore(_,v);break;default:a(!1,"RelayDeclarativeMutationConfig: RANGE_ADD range behavior `%s` will not work as expected in RelayModern, supported range behaviors are 'append', 'prepend'.",p.rangeBehavior)}}}}}catch(e){h.e(e)}finally{h.f()}}}}}(e,t);o&&(s.push(o),u.push(o));break;case"RANGE_DELETE":var c=function(e,t){var r=e.parentID,o=e.connectionKeys,s=e.pathToConnection,u=e.deletedIDFieldName;if(!r)return a(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_DELETE to work you must include a parentID"),null;var c=l(t);if(!c)return null;return function(e,t){if(t){var l=[],d=t[c];if(d&&Array.isArray(u)){var f,h=(0,n.default)(u);try{for(h.s();!(f=h.n()).done;){var p=f.value;d&&"object"==typeof d&&(d=d[p])}}catch(e){h.e(e)}finally{h.f()}Array.isArray(d)?d.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&l.push(e.id)})):d&&d.id&&"string"==typeof d.id&&l.push(d.id)}else d&&"string"==typeof u&&"object"==typeof d&&("string"==typeof(d=d[u])?l.push(d):Array.isArray(d)&&d.forEach((function(e){"string"==typeof e&&l.push(e)})));!function(e,t,r,o,s){a(null!=t,"RelayDeclarativeMutationConfig: RANGE_DELETE must provide a connectionKeys");var l=o.get(e);if(!l)return;if(r.length<2)return void a(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection must include at least parent and connection");for(var u=l,c=1;c<r.length-1;c++)u&&(u=u.getLinkedRecord(r[c]));if(!t||!u)return void a(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection is incorrect. Unable to find connection with parentID: %s and path: %s",e,r.toString());var d,f=(0,n.default)(t);try{var h=function(){var e=d.value,t=i.getConnection(u,e.key,e.filters);t&&s.forEach((function(e){i.deleteNode(t,e)}))};for(f.s();!(d=f.n()).done;)h()}catch(e){f.e(e)}finally{f.f()}}(r,o,s,e,l)}}}(e,t);c&&(s.push(c),u.push(c))}})),{optimisticUpdater:function(e,t){s.forEach((function(r){r(e,t)}))},updater:function(e,t){u.forEach((function(r){r(e,t)}))}}}}},function(e,t,r){"use strict";var n="undefined"!=typeof WeakSet,i="undefined"!=typeof WeakMap;e.exports=function e(t,r){if(t===r||"object"!=typeof t||t instanceof Set||t instanceof Map||n&&t instanceof WeakSet||i&&t instanceof WeakMap||!t||"object"!=typeof r||r instanceof Set||r instanceof Map||n&&r instanceof WeakSet||i&&r instanceof WeakMap||!r)return r;var a=!1,o=Array.isArray(t)?t:null,s=Array.isArray(r)?r:null;if(o&&s)a=s.reduce((function(t,r,n){var i=e(o[n],r);return i!==s[n]&&(Object.isFrozen(s)||(s[n]=i)),t&&i===o[n]}),!0)&&o.length===s.length;else if(!o&&!s){var l=t,u=r,c=Object.keys(l),d=Object.keys(u);a=d.reduce((function(t,r){var n=e(l[r],u[r]);return n!==u[r]&&(Object.isFrozen(u)||(u[r]=n)),t&&n===l[r]}),!0)&&c.length===d.length}return a?t:r}},function(e,t,r){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},function(e,t,r){"use strict";e.exports={generateTypeID:function(e){return"client:__type:"+e},isTypeID:function(e){return 0===e.indexOf("client:__type:")},TYPE_SCHEMA_TYPE:"__TypeSchema"}},function(e,t,r){"use strict";var n=r(36).DEFAULT_HANDLE_KEY,i=r(0);e.exports=function(e,t,r){return t&&t!==n?"__".concat(t,"_").concat(e):(null==r&&i(!1,"getRelayHandleKey: Expected either `fieldName` or `key` in `handle` to be provided"),"__".concat(r,"_").concat(e))}},function(e,t,r){"use strict";var n={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},i={CURSOR:"cursor",EDGES:"edges",END_CURSOR:"endCursor",HAS_NEXT_PAGE:"hasNextPage",HAS_PREV_PAGE:"hasPreviousPage",NODE:"node",PAGE_INFO_TYPE:"PageInfo",PAGE_INFO:"pageInfo",START_CURSOR:"startCursor"},a={inject:function(e){i=e},get:function(){return i},isConnectionCall:function(e){return n.hasOwnProperty(e.name)}};e.exports=a},function(e,t,r){"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4));e.exports=function(e,t,r){var i,a=(0,n.default)(r);try{for(a.s();!(i=a.n()).done;){var o=i.value;e.requiredFieldLogger({kind:"relay_resolver.error",owner:o.field.owner,fieldPath:o.field.path,error:o.error})}}catch(e){a.e(e)}finally{a.f()}if(null!=t)switch(t.action){case"THROW":var s=t.field,l=s.path,u=s.owner;throw e.requiredFieldLogger({kind:"missing_field.throw",owner:u,fieldPath:l}),new Error("Relay: Missing @required value at path '".concat(l,"' in '").concat(u,"'."));case"LOG":t.fields.forEach((function(t){var r=t.path,n=t.owner;e.requiredFieldLogger({kind:"missing_field.log",owner:n,fieldPath:r})}));break;default:t.action}}},function(e,t,r){"use strict";var n=r(15),i=r(5),a=r(42),o=r(0),s="function"==typeof WeakMap?new WeakMap:new Map;function l(e,t,r){return n.create((function(i){var s=c(e),l=s.get(t);return l||r().finally((function(){return s.delete(t)})).subscribe({start:function(e){l={identifier:t,subject:new a,subjectForInFlightStatus:new a,subscription:e,promise:null},s.set(t,l)},next:function(e){var r=d(s,t);r.subject.next(e),r.subjectForInFlightStatus.next(e)},error:function(e){var r=d(s,t);r.subject.error(e),r.subjectForInFlightStatus.error(e)},complete:function(){var e=d(s,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var r=d(s,t);r.subject.unsubscribe(),r.subjectForInFlightStatus.unsubscribe()}}),null==l&&o(!1,"[fetchQueryInternal] fetchQueryDeduped: Expected `start` to be called synchronously"),function(e,t){return n.create((function(r){var n=t.subject.subscribe(r);return function(){n.unsubscribe();var r=e.get(t.identifier);if(r){var i=r.subscription;null!=i&&0===r.subject.getObserverCount()&&(i.unsubscribe(),e.delete(t.identifier))}}}))}(s,l).subscribe(i)}))}function u(e,t,r){return n.create((function(t){var n=r.subjectForInFlightStatus.subscribe({error:t.error,next:function(n){e.isRequestActive(r.identifier)?t.next():t.complete()},complete:t.complete,unsubscribe:t.complete});return function(){n.unsubscribe()}}))}function c(e){var t=s.get(e);if(null!=t)return t;var r=new Map;return s.set(e,r),r}function d(e,t){var r=e.get(t);return null==r&&o(!1,"[fetchQueryInternal] getCachedRequest: Expected request to be cached"),r}e.exports={fetchQuery:function(e,t){return l(e,t.request.identifier,(function(){return e.execute({operation:t})}))},fetchQueryDeduped:l,getPromiseForActiveRequest:function(e,t){var r=c(e),n=r.get(t.identifier);if(!n)return null;if(!e.isRequestActive(n.identifier))return null;if(i.USE_REACT_CACHE){var a=n.promise;if(a)return a}var o=new Promise((function(t,r){var i=!1;u(e,0,n).subscribe({complete:t,error:r,next:function(e){i&&t(e)}}),i=!0}));if(i.USE_REACT_CACHE){n.promise=o;var s=function(){n.promise=null};o.then(s,s)}return o},getObservableForActiveRequest:function(e,t){var r=c(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?u(e,0,n):null}}},function(e,t,r){"use strict";var n=r(0);e.exports={assertInternalActorIdentifier:function(e){"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"!==e&&n(!1,'Expected to use only internal version of the `actorIdentifier`. "%s" was provided.',e)},getActorIdentifier:function(e){return e},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"}},function(e,t,r){"use strict";var n=r(6),i=n.REQUEST,a=n.SPLIT_OPERATION;e.exports=function(e){switch(e.kind){case i:return e.operation;case a:default:return e}}},function(e,t,r){"use strict";var n=r(1).default,i=n(r(4)),a=n(r(19)),o=n(r(16)),s=r(6),l=s.ACTOR_CHANGE,u=s.ALIASED_FRAGMENT_SPREAD,c=s.ALIASED_INLINE_FRAGMENT_SPREAD,d=s.CLIENT_EDGE_TO_CLIENT_OBJECT,f=s.CLIENT_EDGE_TO_SERVER_OBJECT,h=s.CLIENT_EXTENSION,p=s.CONDITION,_=s.DEFER,v=s.FLIGHT_FIELD,g=s.FRAGMENT_SPREAD,m=s.INLINE_DATA_FRAGMENT_SPREAD,E=s.INLINE_FRAGMENT,y=s.LINKED_FIELD,R=s.MODULE_IMPORT,b=s.RELAY_LIVE_RESOLVER,I=s.RELAY_RESOLVER,D=s.REQUIRED_FIELD,S=s.SCALAR_FIELD,A=s.STREAM,T=r(5),k=r(86).isSuspenseSentinel,N=r(12),O=r(8),F=r(21).getReactFlightClientResponse,L=r(2),P=L.CLIENT_EDGE_TRAVERSAL_PATH,x=L.FRAGMENT_OWNER_KEY,C=L.FRAGMENT_PROP_NAME_KEY,w=L.FRAGMENTS_KEY,M=L.ID_KEY,U=L.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,V=L.MODULE_COMPONENT_KEY,j=L.ROOT_ID,q=L.getArgumentValues,G=L.getModuleComponentKey,H=L.getStorageKey,K=r(56).NoopResolverCache,z=r(57),Y=z.RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL,B=z.withResolverContext,Q=r(26).generateTypeID,W=r(0);function J(e,t,r){return new X(e,t,null!=r?r:new K).read()}var X=function(){function e(e,t,r){var n;this._clientEdgeTraversalPath=T.ENABLE_CLIENT_EDGES&&null!==(n=t.clientEdgeTraversalPath)&&void 0!==n&&n.length?(0,o.default)(t.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._owner=t.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=t,this._variables=t.variables,this._resolverCache=r,this._resolverErrors=[],this._fragmentName=t.node.name,this._updatedDataIDs=new Set}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,n=e.isWithinUnmatchedTypeRefinement,i=t.abstractKey,a=this._recordSource.get(r),o=!n;o&&null==i&&null!=a&&(O.getType(a)!==t.type&&r!==j&&(o=!1));if(o&&null!=i&&null!=a){var s=this._implementsInterface(a,i);!1===s?o=!1:null==s&&(this._isMissingData=!0)}this._isWithinUnmatchedTypeRefinement=!o;var l=this._traverse(t,r,null);return this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:l,isMissingData:this._isMissingData&&o,missingClientEdges:T.ENABLE_CLIENT_EDGES&&this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields,relayResolverErrors:this._resolverErrors}},t._markDataAsMissing=function(){if(this._isMissingData=!0,T.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords.add(t),null==n)return void 0===n&&this._markDataAsMissing(),n;var i=r||{};return this._traverseSelections(e.selections,n,i)?i:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||W(!1,"RelayReader(): Undefined variable `%s`.",e),this._variables[e]},t._maybeReportUnexpectedNull=function(e,t,r){var n;if("THROW"!==(null===(n=this._missingRequiredFields)||void 0===n?void 0:n.action)){var i=this._fragmentName;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:i}});case"LOG":return void(null==this._missingRequiredFields?this._missingRequiredFields={action:t,fields:[{path:e,owner:i}]}:this._missingRequiredFields={action:t,fields:[].concat((0,o.default)(this._missingRequiredFields.fields),[{path:e,owner:i}])})}}},t._traverseSelections=function(e,t,r){for(var n=0;n<e.length;n++){var i=e[n];switch(i.kind){case D:if(null==this._readRequiredField(i,t,r)){var a=i.action;return"NONE"!==a&&this._maybeReportUnexpectedNull(i.path,a,t),!1}break;case S:this._readScalar(i,t,r);break;case y:i.plural?this._readPluralLink(i,t,r):this._readLink(i,t,r);break;case p:if(Boolean(this._getVariableValue(i.condition))===i.passingValue)if(!this._traverseSelections(i.selections,t,r))return!1;break;case E:if(!1===this._readInlineFragment(i,t,r))return!1;break;case b:case I:if(!T.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(i,t,r);break;case g:this._createFragmentPointer(i,t,r);break;case u:r[i.name]=this._createAliasedFragmentSpread(i,t);break;case c:var o=this._readInlineFragment(i.fragment,t,{});!1===o&&(o=null),r[i.name]=o;break;case R:this._readModuleImport(i,t,r);break;case m:this._createInlineDataOrResolverFragmentPointer(i,t,r);break;case _:case h:var s=this._isMissingData,k=this._missingClientEdges.length;T.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.push(null);var N=this._traverseSelections(i.selections,t,r);if(this._isMissingData=s||this._missingClientEdges.length>k||this._missingLiveResolverFields.length>0,T.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.pop(),!N)return!1;break;case A:if(!this._traverseSelections(i.selections,t,r))return!1;break;case v:if(!T.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._readFlightField(i,t,r);break;case l:this._readActorChange(i,t,r);break;case d:case f:if(!T.ENABLE_CLIENT_EDGES)throw new Error("Client edges are not yet supported.");this._readClientEdge(i,t,r);break;default:W(!1,"RelayReader(): Unexpected ast kind `%s`.",i.kind)}}return!0},t._readRequiredField=function(e,t,r){switch(e.field.kind){case S:return this._readScalar(e.field,t,r);case y:return e.field.plural?this._readPluralLink(e.field,t,r):this._readLink(e.field,t,r);case I:case b:if(!T.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,t,r);case d:case f:if(!T.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readClientEdge(e.field,t,r);default:e.field.kind,W(!1,"RelayReader(): Unexpected ast kind `%s`.",e.kind)}},t._readResolverField=function(e,t,r){var n,o,s=this,l=e.fragment,u=O.getDataID(t),c=function(e){return null!=o?{data:o.data,isMissingData:o.isMissingData}:{data:(o=J(s._recordSource,e,s._resolverCache)).data,isMissingData:o.isMissingData}},d=this._resolverCache.readFromCacheOrEvaluate(u,e,this._variables,(function(){if(null!=l){var t={__id:u,__fragmentOwner:s._owner,__fragments:(0,a.default)({},l.name,l.args?q(l.args,s._variables):{})};return B({getDataForResolverFragment:c},(function(){var r=Z(e,s._variables,t,s._fragmentName),n=r[0],i=r[1];return{resolverResult:n,snapshot:o,error:i}}))}var r=Z(e,s._variables,null,s._fragmentName);return{resolverResult:r[0],snapshot:void 0,error:r[1]}}),c),f=d[0],h=d[1],p=d[2],_=d[3],v=d[4],g=d[5];if(null!=_){if(null!=_.missingRequiredFields&&this._addMissingRequiredFields(_.missingRequiredFields),null!=_.missingClientEdges){var m,E=(0,i.default)(_.missingClientEdges);try{for(E.s();!(m=E.n()).done;){var y=m.value;this._missingClientEdges.push(y)}}catch(e){E.e(e)}finally{E.f()}}if(null!=_.missingLiveResolverFields){this._isMissingData=this._isMissingData||_.missingLiveResolverFields.length>0;var R,b=(0,i.default)(_.missingLiveResolverFields);try{for(b.s();!(R=b.n()).done;){var I=R.value;this._missingLiveResolverFields.push(I)}}catch(e){b.e(e)}finally{b.f()}}var D,S=(0,i.default)(_.relayResolverErrors);try{for(S.s();!(D=S.n()).done;){var A=D.value;this._resolverErrors.push(A)}}catch(e){S.e(e)}finally{S.f()}this._isMissingData=this._isMissingData||_.isMissingData}if(p&&this._resolverErrors.push(p),null!=h&&this._seenRecords.add(h),null!=v&&(this._isMissingData=!0,this._missingLiveResolverFields.push({path:"".concat(this._fragmentName,".").concat(e.path),liveStateID:v})),null!=g){var T,k=(0,i.default)(g);try{for(k.s();!(T=k.n()).done;){var N=T.value;this._updatedDataIDs.add(N)}}catch(e){k.e(e)}finally{k.f()}}return r[null!==(n=e.alias)&&void 0!==n?n:e.name]=f,f},t._readClientEdge=function(e,t,r){var n,i=this,a=e.backingField;"ClientExtension"===a.kind&&W(!1,"Client extension client edges are not yet implemented.");var o=null!==(n=a.alias)&&void 0!==n?n:a.name,s={};this._traverseSelections([a],t,s);var l=s[o];if(null==l||k(l))r[o]=l;else{if(e.linkedField.plural?Array.isArray(l)||W(!1,"Expected plural Client Edge Relay Resolver to return an array of IDs."):"string"!=typeof l&&W(!1,"Expected a Client Edge Relay Resolver to return an ID of type `string`."),e.kind===d?(null==a.normalizationInfo&&(l=e.linkedField.plural?l.map((function(t){return i._resolverCache.ensureClientRecord(t,e.concreteType)})):this._resolverCache.ensureClientRecord(l,e.concreteType)),this._clientEdgeTraversalPath.push(null)):(e.linkedField.plural&&W(!1,"Unexpected Client Edge to plural server type. This should be prevented by the compiler."),this._clientEdgeTraversalPath.push({readerClientEdge:e,clientEdgeDestinationID:l})),e.linkedField.plural)r[o]=this._readLinkedIds(e.linkedField,l,t,r);else{var u=r[o];null!=u&&"object"!=typeof u&&W(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",o,O.getDataID(t),u),r[o]=this._traverse(e.linkedField,l,u)}this._clientEdgeTraversalPath.pop()}},t._readFlightField=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=H(e,this._variables),o=O.getLinkedRecordID(t,a);if(null==o)return r[i]=o,void 0===o&&this._markDataAsMissing(),o;var s=this._recordSource.get(o);if(this._seenRecords.add(o),null==s)return r[i]=s,void 0===s&&this._markDataAsMissing(),s;var l=F(s);return r[i]=l,l},t._readScalar=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=H(e,this._variables),o=O.getValue(t,a);return void 0===o&&this._markDataAsMissing(),r[i]=o,o},t._readLink=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=H(e,this._variables),o=O.getLinkedRecordID(t,a);if(null==o)return r[i]=o,void 0===o&&this._markDataAsMissing(),o;var s=r[i];null!=s&&"object"!=typeof s&&W(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",i,O.getDataID(t),s);var l=this._traverse(e,o,s);return r[i]=l,l},t._readActorChange=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=H(e,this._variables),o=O.getActorLinkedRecordID(t,a);if(null==o)return r[i]=o,void 0===o&&this._markDataAsMissing(),r[i];var s=o[0],l=o[1],u={};return this._createFragmentPointer(e.fragmentSpread,{__id:l},u),r[i]={__fragmentRef:u,__viewer:s},r[i]},t._readPluralLink=function(e,t,r){var n=H(e,this._variables),i=O.getLinkedRecordIDs(t,n);return this._readLinkedIds(e,i,t,r)},t._readLinkedIds=function(e,t,r,n){var i,a=this,o=null!==(i=e.alias)&&void 0!==i?i:e.name;if(null==t)return n[o]=t,void 0===t&&this._markDataAsMissing(),t;var s=n[o];null==s||Array.isArray(s)||W(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an array, got `%s`.",o,O.getDataID(r),s);var l=s||[];return t.forEach((function(t,n){if(null==t)return void 0===t&&a._markDataAsMissing(),void(l[n]=t);var i=l[n];null!=i&&"object"!=typeof i&&W(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",o,O.getDataID(r),i),l[n]=a._traverse(e,t,i)})),n[o]=l,l},t._readModuleImport=function(e,t,r){var n=G(e.documentName),i=O.getValue(t,n);null!=i?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},t,r),r[C]=e.fragmentPropName,r[V]=i):void 0===i&&this._markDataAsMissing()},t._createAliasedFragmentSpread=function(e,t){var r=e.abstractKey;if(null==r){var n=O.getType(t);if(null==n||n!==e.type)return null}else{var i=this._implementsInterface(t,r);if(!1===i)return null;if(null==i)return void this._markDataAsMissing()}var a={};return this._createFragmentPointer(e.fragment,t,a),a},t._readInlineFragment=function(e,t,r){var n=e.abstractKey;if(null==n){var i=O.getType(t);if(null==i||i!==e.type)return null;if(!this._traverseSelections(e.selections,t,r))return!1}else{var a=this._implementsInterface(t,n),o=this._isMissingData,s=this._isWithinUnmatchedTypeRefinement;if(this._isWithinUnmatchedTypeRefinement=s||!1===a,this._traverseSelections(e.selections,t,r),this._isWithinUnmatchedTypeRefinement=s,!1===a)return void(this._isMissingData=o);if(null==a)return this._markDataAsMissing(),null}return r},t._createFragmentPointer=function(e,t,r){var n=r[w];null==n&&(n=r[w]={}),("object"!=typeof n||null==n)&&W(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",n),null==r[M]&&(r[M]=O.getDataID(t)),n[e.name]=e.args?q(e.args,this._variables):{},r[x]=this._owner,r[U]=this._isWithinUnmatchedTypeRefinement,T.ENABLE_CLIENT_EDGES&&this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(r[P]=(0,o.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(e,t,r){var n=r[w];null==n&&(n=r[w]={}),("object"!=typeof n||null==n)&&W(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",n),null==r[M]&&(r[M]=O.getDataID(t));var i={},a=this._fragmentName;this._fragmentName=e.name;var o=this._variables,s=e.args?q(e.args,this._variables):{};this._variables=N.getFragmentVariables(e,this._owner.variables,s),this._traverseSelections(e.selections,t,i),this._variables=o,this._fragmentName=a,n[e.name]=i},t._addMissingRequiredFields=function(e){null!=this._missingRequiredFields?"THROW"!==this._missingRequiredFields.action&&("THROW"!==e.action?this._missingRequiredFields={action:"LOG",fields:[].concat((0,o.default)(this._missingRequiredFields.fields),(0,o.default)(e.fields))}:this._missingRequiredFields=e):this._missingRequiredFields=e},t._implementsInterface=function(e,t){var r=O.getType(e),n=this._recordSource.get(Q(r));return null!=n?O.getValue(n,t):null},e}();function Z(e,t,r,n){var i="function"==typeof e.resolverModule?e.resolverModule:e.resolverModule.default,a=null,o=null;try{var s=[];null!=e.fragment&&s.push(r);var l=e.args?q(e.args,t):void 0;s.push(l),a=i.apply(null,s)}catch(t){var u;if(t===Y)a=void 0;else o={field:{path:null!==(u=e.path)&&void 0!==u?u:"[UNKNOWN]",owner:n},error:t}}return[a,o]}e.exports={read:J}},function(e,t,r){"use strict";var n=new Map,i=1,a=function(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}();e.exports={intern:function(e,t){if(null==t||e.length<t)return function(e){return"\t"===e[0]&&a.has(e[1])||"\v"===e[0]?"\v"+e:e}(e);var r=n.get(e);return null!=r||(r="\t"+i++,n.set(e,r)),r}}},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(22),a=r(28),o=r(0),s=r(3),l={update:function(e,t){var r=e.get(t.dataID);if(null!=r){var n=r.getValue(t.fieldKey);"string"==typeof n?e.delete(n):Array.isArray(n)&&n.forEach((function(t){"string"==typeof t&&e.delete(t)}))}}},u={update:function(e,t){var r=e.get(t.dataID);if(null!=r){var a=t.handleArgs.connections;null==a&&o(!1,"MutationHandlers: Expected connection IDs to be specified.");var l=r.getValue(t.fieldKey);(Array.isArray(l)?l:[l]).forEach((function(t){if("string"==typeof t){var r,o=(0,n.default)(a);try{for(o.s();!(r=o.n()).done;){var l=r.value,u=e.get(l);null!=u?i.deleteNode(u,t):s(!1,"[Relay][Mutation] The connection with id '".concat(l,"' doesn't exist."))}}catch(e){o.e(e)}finally{o.f()}}}))}}},c={update:p(i.insertEdgeAfter)},d={update:p(i.insertEdgeBefore)},f={update:_(i.insertEdgeAfter)},h={update:_(i.insertEdgeBefore)};function p(e){return function(t,r){var l,u=t.get(r.dataID);if(null!=u){var c,d,f=r.handleArgs.connections;null==f&&o(!1,"MutationHandlers: Expected connection IDs to be specified.");try{c=u.getLinkedRecord(r.fieldKey)}catch(e){}if(!c)try{d=u.getLinkedRecords(r.fieldKey)}catch(e){}if(null!=c||null!=d){var h,p=a.get(),_=p.NODE,v=p.EDGES,g=null!==(l=d)&&void 0!==l?l:[c],m=(0,n.default)(g);try{var E=function(){var r=h.value;if(null==r)return"continue";var a=r.getLinkedRecord("node");if(!a)return"continue";var l,u=a.getDataID(),c=(0,n.default)(f);try{for(c.s();!(l=c.n()).done;){var d=l.value,p=t.get(d);if(null!=p){if(!(null===(y=p.getLinkedRecords(v))||void 0===y?void 0:y.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(_))||void 0===t?void 0:t.getDataID())===u})))){var g=i.buildConnectionEdge(t,p,r);null==g&&o(!1,"MutationHandlers: Failed to build the edge."),e(p,g)}}else s(!1,"[Relay][Mutation] The connection with id '".concat(d,"' doesn't exist."))}}catch(e){c.e(e)}finally{c.f()}};for(m.s();!(h=m.n()).done;){var y;E()}}catch(e){m.e(e)}finally{m.f()}}else s(!1,"MutationHandlers: Expected the server edge to be non-null.")}}}function _(e){return function(t,r){var l,u=t.get(r.dataID);if(null!=u){var c,d,f=r.handleArgs,h=f.connections,p=f.edgeTypeName;null==h&&o(!1,"MutationHandlers: Expected connection IDs to be specified."),null==p&&o(!1,"MutationHandlers: Expected edge typename to be specified.");try{c=u.getLinkedRecord(r.fieldKey)}catch(e){}if(!c)try{d=u.getLinkedRecords(r.fieldKey)}catch(e){}if(null!=c||null!=d){var _,v=a.get(),g=v.NODE,m=v.EDGES,E=null!==(l=d)&&void 0!==l?l:[c],y=(0,n.default)(E);try{var R=function(){var r=_.value;if(null==r)return"continue";var a,l=r.getDataID(),u=(0,n.default)(h);try{for(u.s();!(a=u.n()).done;){var c=a.value,d=t.get(c);if(null!=d){if(!(null===(b=d.getLinkedRecords(m))||void 0===b?void 0:b.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(g))||void 0===t?void 0:t.getDataID())===l})))){var f=i.createEdge(t,d,r,p);null==f&&o(!1,"MutationHandlers: Failed to build the edge."),e(d,f)}}else s(!1,"[Relay][Mutation] The connection with id '".concat(c,"' doesn't exist."))}}catch(e){u.e(e)}finally{u.f()}};for(y.s();!(_=y.n()).done;){var b;R()}}catch(e){y.e(e)}finally{y.f()}}else s(!1,"MutationHandlers: Expected target node to exist.")}}}e.exports={AppendEdgeHandler:c,DeleteRecordHandler:l,PrependEdgeHandler:d,AppendNodeHandler:f,PrependNodeHandler:h,DeleteEdgeHandler:u}},function(e,t,r){"use strict";var n=r(22),i=r(37),a=r(0);e.exports=function(e){switch(e){case"connection":return n;case"deleteRecord":return i.DeleteRecordHandler;case"deleteEdge":return i.DeleteEdgeHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler;case"appendNode":return i.AppendNodeHandler;case"prependNode":return i.PrependNodeHandler}a(!1,"RelayDefaultHandlerProvider: No handler provided for `%s`.",e)}},function(e,t,r){"use strict";var n=r(17),i=r(0);e.exports=function(e,t){var r=null!=e.cacheID?e.cacheID:e.id;return null==r&&i(!1,"getRequestIdentifier: Expected request `%s` to have either a valid `id` or `cacheID` property",e.name),r+JSON.stringify(n(t))}},function(e,t,r){"use strict";var n=r(14),i=r(3),a="function"==typeof WeakMap,o=a?new WeakMap:new Map;function s(e,t){if(null!=t){var r={};return Object.assign(r,e),Object.keys(t).forEach((function(e){var a=t[e].get,s=a();if(o.has(a)){var l=o.get(a);i(n(s,l),"Relay: Expected function `%s` for provider `%s` to be a pure function, but got conflicting return values `%s` and `%s`",a.name,e,s,l),r[e]=l}else o.set(a,s),r[e]=s})),r}return e}s.tests_only_resetDebugCache=function(){o=a?new WeakMap:new Map},e.exports=s},function(e,t,r){"use strict";e.exports=function(e){return!!e&&"function"==typeof e.then}},function(e,t,r){"use strict";var n=r(1).default,i=n(r(4)),a=n(r(19)),o=r(15),s=r(0),l=function(){function e(){var e=this;(0,a.default)(this,"_complete",!1),(0,a.default)(this,"_events",[]),(0,a.default)(this,"_sinks",new Set),(0,a.default)(this,"_subscription",[]),this._observable=o.create((function(t){e._sinks.add(t);for(var r=e._events,n=0;n<r.length&&!t.closed;n++){var i=r[n];switch(i.kind){case"complete":t.complete();break;case"error":t.error(i.error);break;case"next":t.next(i.data);break;default:i.kind,s(!1,"RelayReplaySubject: Unknown event kind `%s`.",i.kind)}}return function(){e._sinks.delete(t)}}))}var t=e.prototype;return t.complete=function(){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"complete"}),this._sinks.forEach((function(e){return e.complete()})))},t.error=function(e){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"error",error:e}),this._sinks.forEach((function(t){return t.error(e)})))},t.next=function(e){!0!==this._complete&&(this._events.push({kind:"next",data:e}),this._sinks.forEach((function(t){return t.next(e)})))},t.subscribe=function(e){var t=this._observable.subscribe(e);return this._subscription.push(t),t},t.unsubscribe=function(){var e,t=(0,i.default)(this._subscription);try{for(t.s();!(e=t.n()).done;){e.value.unsubscribe()}}catch(e){t.e(e)}finally{t.f()}this._subscription=[]},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=l},function(e,t,r){"use strict";var n=r(31).getPromiseForActiveRequest;e.exports=function(e,t,r){var i,a,o=[],s=n(e,r);if(null!=s)o=[r];else{var l,u,c=e.getOperationTracker().getPendingOperationsAffectingOwner(r);o=null!==(l=null==c?void 0:c.pendingOperations)&&void 0!==l?l:[],s=null!==(u=null==c?void 0:c.promise)&&void 0!==u?u:null}if(!s)return null;var d=null!==(i=null===(a=o)||void 0===a?void 0:a.map((function(e){return e.node.params.name})).join(","))&&void 0!==i?i:null;null!=d&&0!==d.length||(d="Unknown pending operation");var f=t.name,h=d===f?"Relay(".concat(d,")"):"Relay(".concat(d,":").concat(f,")");return s.displayName=h,{promise:s,pendingOperations:o}}},function(e,t,r){"use strict";e.exports=function(e,t){return e===t&&(null===e||"object"!=typeof e)}},function(e,t,r){"use strict";var n=1e5;e.exports=function(){return n++}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(0),a=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPendingPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var r,i=e.identifier,a=new Set,o=(0,n.default)(t);try{for(o.s();!(r=o.n()).done;){var s=r.value.identifier,l=this._ownersToPendingOperations.get(s);null!=l?l.has(i)||(l.set(i,e),a.add(s)):(this._ownersToPendingOperations.set(s,new Map([[i,e]])),a.add(s))}}catch(e){o.e(e)}finally{o.f()}if(0!==a.size){var u,c=this._pendingOperationsToOwners.get(i)||new Set,d=(0,n.default)(a);try{for(d.s();!(u=d.n()).done;){var f=u.value;this._resolveOwnerResolvers(f),c.add(f)}}catch(e){d.e(e)}finally{d.f()}this._pendingOperationsToOwners.set(i,c)}}},t.complete=function(e){var t=e.identifier,r=this._pendingOperationsToOwners.get(t);if(null!=r){var i,a=new Set,o=new Set,s=(0,n.default)(r);try{for(s.s();!(i=s.n()).done;){var l=i.value,u=this._ownersToPendingOperations.get(l);u&&(u.delete(t),u.size>0?o.add(l):a.add(l))}}catch(e){s.e(e)}finally{s.f()}var c,d=(0,n.default)(a);try{for(d.s();!(c=d.n()).done;){var f=c.value;this._resolveOwnerResolvers(f),this._ownersToPendingOperations.delete(f)}}catch(e){d.e(e)}finally{d.f()}var h,p=(0,n.default)(o);try{for(p.s();!(h=p.n()).done;){var _=h.value;this._resolveOwnerResolvers(_)}}catch(e){p.e(e)}finally{p.f()}this._pendingOperationsToOwners.delete(t)}},t._resolveOwnerResolvers=function(e){var t=this._ownersToPendingPromise.get(e);null!=t&&t.resolve(),this._ownersToPendingPromise.delete(e)},t.getPendingOperationsAffectingOwner=function(e){var t=e.identifier,r=this._ownersToPendingOperations.get(t);if(null==r||0===r.size)return null;var n,a=this._ownersToPendingPromise.get(t);if(null!=a)return{promise:a.promise,pendingOperations:a.pendingOperations};var o=new Promise((function(e){n=e}));null==n&&i(!1,"RelayOperationTracker: Expected resolver to be defined. If youare seeing this, it is likely a bug in Relay.");var s=Array.from(r.values());return this._ownersToPendingPromise.set(t,{promise:o,resolve:n,pendingOperations:s}),{promise:o,pendingOperations:s}},e}();e.exports=a},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";var n=r(49),i=n.VIEWER_ID,a=n.VIEWER_TYPE;e.exports=function(e,t){return t===a&&null==e.id?i:e.id}},function(e,t,r){"use strict";var n=(0,r(9).generateClientID)(r(2).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";function n(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),a=3;a<n;a++)i[a-3]=arguments[a];var o=0,s=r.replace(/%s/g,(function(){return String(i[o++])})),l=new Error(s),u=Object.assign(l,{name:t,messageFormat:r,messageParams:i,type:e,taalOpcodes:[2,2]});if(void 0===u.stack)try{throw u}catch(e){}return u}e.exports={create:function(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return n.apply(void 0,["error",e,t].concat(i))},createWarning:function(e,t){for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return n.apply(void 0,["warn",e,t].concat(i))}}},function(e,t,r){"use strict";var n=r(8),i=r(25).EXISTENT,a=r(0),o=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),r=this._sink.get(e);if(void 0===r){if(null==t)return t;var i=n.clone(t);return n.freeze(i),i}if(null===r)return null;if(null!=t){var a=n.update(t,r);return a!==t&&n.freeze(a),a}var o=n.clone(r);return n.freeze(o),o},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||a(!1,"RelayRecordSourceMutator: Cannot modify non-existent record `%s`.",e),t=n.create(e,n.getType(r)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var r=this._sink.get(e),i=this._base.get(e);r||i||a(!1,"RelayRecordSourceMutator#copyFields(): Cannot copy fields from non-existent record `%s`.",e);var o=this._getSinkRecord(t);i&&n.copyFields(i,o),r&&n.copyFields(r,o)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===i||this._sink.getStatus(e)===i)&&a(!1,"RelayRecordSourceMutator#create(): Cannot create a record with id `%s`, this record already exists.",e);var r=n.create(e,t);this._sink.set(e,r)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var r=this.__sources[t].get(e);if(r)return n.getType(r);if(null===r)return null}},t.getValue=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getValue(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setValue=function(e,t,r){var i=this._getSinkRecord(e);n.setValue(i,t,r)},t.getLinkedRecordID=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordID(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setLinkedRecordID=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordID(i,t,r)},t.getLinkedRecordIDs=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordIDs(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setLinkedRecordIDs=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordIDs(i,t,r)},e}();e.exports=o},function(e,t,r){"use strict";var n=r(8),i=r(25),a=i.EXISTENT,o=i.NONEXISTENT,s=r(2),l=s.ROOT_ID,u=s.ROOT_TYPE,c=r(53).readUpdatableFragment_EXPERIMENTAL,d=r(55).readUpdatableQuery_EXPERIMENTAL,f=r(84),h=r(0),p=function(){function e(e,t,r,n){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=n}var t=e.prototype;return t.publishSource=function(e,t){var r=this;e.getRecordIDs().forEach((function(t){var i=e.getStatus(t);if(i===a){var s=e.get(t);s&&(r.__mutator.getStatus(t)!==a&&r.create(t,n.getType(s)),r.__mutator.copyFieldsFromRecord(s,t))}else i===o&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||h(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),t.update(r,e)}))},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var r=this.get(e);return r||h(!1,"RelayRecordSourceProxy#create(): Expected the created record to exist."),r},t.delete=function(e){e===l&&h(!1,"RelayRecordSourceProxy#delete(): Cannot delete the root record."),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);this._proxies[e]=t===a?new f(this,this.__mutator,e):t===o?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(l);return e||(e=this.create(l,u)),e&&e.getType()===u||h(!1,"RelayRecordSourceProxy#getRoot(): Expected the source to contain a root record, %s.",null==e?"no root record found":"found a root record of type `".concat(e.getType(),"`")),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery_EXPERIMENTAL=function(e,t){return d(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment_EXPERIMENTAL=function(e,t){return c(e,t,this,this._missingFieldHandlers)},e}();e.exports=p},function(e,t,r){"use strict";var n=r(10).getFragment,i=r(11).getVariablesFromFragment,a=r(2).ID_KEY,o=r(54).createUpdatableProxy,s=r(0);e.exports={readUpdatableFragment_EXPERIMENTAL:function(e,t,r,l){var u=n(e),c=i(u,t),d=t[a],f=r.get(d);return null==f&&s(!1,"No record with ".concat(d," was found. This likely indicates a problem with Relay.")),{updatableData:o(f,c,u.selections,r,l)}}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(2).getArgumentValues,a=r(6),o=a.ACTOR_CHANGE,s=a.ALIASED_FRAGMENT_SPREAD,l=a.ALIASED_INLINE_FRAGMENT_SPREAD,u=a.CLIENT_EDGE_TO_CLIENT_OBJECT,c=a.CLIENT_EDGE_TO_SERVER_OBJECT,d=a.CLIENT_EXTENSION,f=a.CONDITION,h=a.DEFER,p=a.FLIGHT_FIELD,_=a.FRAGMENT_SPREAD,v=a.INLINE_DATA_FRAGMENT_SPREAD,g=a.INLINE_FRAGMENT,m=a.LINKED_FIELD,E=a.MODULE_IMPORT,y=a.RELAY_LIVE_RESOLVER,R=a.RELAY_RESOLVER,b=a.REQUIRED_FIELD,I=a.SCALAR_FIELD,D=a.STREAM,S=["id","__id","__typename","js"];function A(e,t,r,a,F,L){var P,x,C=(0,n.default)(a);try{var w=function(){var a=x.value;switch(a.kind){case m:a.plural?Object.defineProperty(e,null!==(M=a.alias)&&void 0!==M?M:a.name,{get:N(a,r,t,F,L),set:T(a,r,t,F)}):Object.defineProperty(e,null!==(U=a.alias)&&void 0!==U?U:a.name,{get:O(a,r,t,F,L),set:k(a,r,t,F)});break;case I:var C=null!==(P=a.alias)&&void 0!==P?P:a.name;Object.defineProperty(e,C,{get:function(){var e,o=i(null!==(e=a.args)&&void 0!==e?e:[],r),s=t.getValue(a.name,o);return null==s&&(s=function(e,t,r,i,a){var o,s=(0,n.default)(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if("scalar"===l.kind){var u=l.handle(e,r,t,i);if(void 0!==u)return u}}}catch(e){s.e(e)}finally{s.f()}}(a,o,t,F,L)),s},set:S.includes(a.name)?void 0:function(e){var n,o=i(null!==(n=a.args)&&void 0!==n?n:[],r);t.setValue__UNSAFE(e,a.name,o)}});break;case g:t.getType()===a.type&&A(e,t,r,a.selections,F,L);break;case d:A(e,t,r,a.selections,F,L);break;case _:break;case f:case o:case s:case v:case l:case u:case c:case h:case p:case E:case y:case b:case D:case R:throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.");default:throw a.kind,new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(C.s();!(x=C.n()).done;){var M,U;w()}}catch(e){C.e(e)}finally{C.f()}}function T(e,t,r,n){return function(a){var o,s=i(null!==(o=e.args)&&void 0!==o?o:[],t);if(null==a)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var l=a.map((function(e){if(null==e)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var t=e.__id;if(null==t)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var r=n.get(t);if(null==r)throw new Error("Did not find item with data id ".concat(t," in the store."));return r}));r.setLinkedRecords(l,e.name,s)}}function k(e,t,r,n){return function(a){var o,s=i(null!==(o=e.args)&&void 0!==o?o:[],t);if(null==a)r.setValue(a,e.name,s);else{var l=a.__id;if(null==l)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var u=n.get(l);if(null==u)throw new Error("Did not find item with data id ".concat(l," in the store."));r.setLinkedRecord(u,e.name,s)}}}function N(e,t,r,a,o){return function(){var s,l=i(null!==(s=e.args)&&void 0!==s?s:[],t),u=r.getLinkedRecords(e.name,l);return void 0===u&&(u=function(e,t,r,i,a){var o,s=(0,n.default)(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if("pluralLinked"===l.kind){var u=l.handle(e,r,t,i);if(null!=u)return u.map((function(e){if(null!=e)return i.get(e)}))}}}catch(e){s.e(e)}finally{s.f()}}(e,l,r,a,o)),null!=u?u.map((function(r){if(null!=r){var n={};return A(n,r,t,e.selections,a,o),Object.freeze(n),n}return r})):u}}function O(e,t,r,a,o){return function(){var s,l=i(null!==(s=e.args)&&void 0!==s?s:[],t),u=r.getLinkedRecord(e.name,l);if(void 0===u&&(u=function(e,t,r,i,a){var o,s=(0,n.default)(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if("linked"===l.kind){var u=l.handle(e,r,t,i);if(null!=u)return i.get(u)}}}catch(e){s.e(e)}finally{s.f()}}(e,l,r,a,o)),null!=u){var c={};return A(c,u,t,e.selections,a,o),Object.freeze(c),c}return u}}e.exports={createUpdatableProxy:function(e,t,r,n,i){var a={};return A(a,e,t,r,n,i),Object.freeze(a),a}}},function(e,t,r){"use strict";var n=r(10).getUpdatableQuery,i=r(54).createUpdatableProxy;e.exports={readUpdatableQuery_EXPERIMENTAL:function(e,t,r,a){var o=n(e);return{updatableData:i(r.getRoot(),t,o.fragment.selections,r,a)}}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(24),a=r(6).RELAY_LIVE_RESOLVER,o=r(9).generateClientID,s=r(8),l=r(2),u=l.RELAY_RESOLVER_ERROR_KEY,c=l.RELAY_RESOLVER_INVALIDATION_KEY,d=l.RELAY_RESOLVER_SNAPSHOT_KEY,f=l.RELAY_RESOLVER_VALUE_KEY,h=l.getStorageKey,p=r(0),_=r(3),v=new Set,g=function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,i){t.kind===a&&p(!1,"This store does not support Live Resolvers");var o=n(),s=o.resolverResult,l=o.snapshot;return[s,void 0,o.error,l,void 0,void 0]},t.invalidateDataIDs=function(e){},t.ensureClientRecord=function(e,t){p(!1,"Client Edges to Client Objects are not supported in this version of Relay Store")},t.notifyUpdatedSubscribers=function(e){},e}();function m(e,t,r){var n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(r)}var E=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,i,a){var l=this._getRecordSource(),c=l.get(e);null==c&&p(!1,"We expect record to exist in the store.");var _=h(t,r),v=s.getLinkedRecordID(c,_),g=null==v?null:l.get(v);if(null==g||this._isInvalid(g,a)){var E;v=null!==(E=v)&&void 0!==E?E:o(e,_),g=s.create(v,"__RELAY_RESOLVER__");var y=i();s.setValue(g,f,y.resolverResult),s.setValue(g,d,y.snapshot),s.setValue(g,u,y.error),l.set(v,g);var R=l.get(e);null==R&&p(!1,"Expected the parent record to still be in the record source.");var b=s.clone(R);if(s.setLinkedRecordID(b,_,v),l.set(e,b),null!=t.fragment){var I,D=h(t.fragment,r),S=o(e,D);m(this._resolverIDToRecordIDs,S,v),m(this._recordIDToResolverIDs,e,S);var A=null===(I=y.snapshot)||void 0===I?void 0:I.seenRecords;if(null!=A){var T,k=(0,n.default)(A);try{for(k.s();!(T=k.n()).done;){var N=T.value;m(this._recordIDToResolverIDs,N,S)}}catch(e){k.e(e)}finally{k.f()}}}}var O=g[f],F=g[d];return[O,v,g[u],F,void 0,void 0]},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),r=new Set,i=Array.from(e);i.length;){var a=i.pop();e.add(a);var o,s=(0,n.default)(null!==(l=this._recordIDToResolverIDs.get(a))&&void 0!==l?l:v);try{for(s.s();!(o=s.n()).done;){var l,u=o.value;if(!r.has(u)){var c,d=(0,n.default)(null!==(f=this._resolverIDToRecordIDs.get(u))&&void 0!==f?f:v);try{for(d.s();!(c=d.n()).done;){var f,h=c.value;this._markInvalidatedResolverRecord(h,t,e),r.has(h)||i.push(h)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){s.e(e)}finally{s.f()}}},t._markInvalidatedResolverRecord=function(e,t,r){var n=t.get(e);if(n){var i=s.clone(n);s.setValue(i,c,!0),t.set(e,i)}else _(!1,"Expected a resolver record with ID %s, but it was missing.",e)},t._isInvalid=function(e,t){if(!s.getValue(e,c))return!1;var r=s.getValue(e,d),n=null==r?void 0:r.data,a=null==r?void 0:r.selector;if(null==n||null==a)return _(!1,"Expected previous inputs and reader selector on resolver record with ID %s, but they were missing.",s.getDataID(e)),!0;var o=t(a).data;return i(n,o)!==n},t.ensureClientRecord=function(e,t){p(!1,"Client Edges to Client Objects are not supported in this version of Relay Store")},t.notifyUpdatedSubscribers=function(e){p(!1,"Processing @outputType records is not supported in this version of Relay Store")},e}();e.exports={NoopResolverCache:g,RecordResolverCache:E}},function(e,t,r){"use strict";var n=r(10).getFragment,i=r(11).getSelector,a=r(0),o=[];var s={};e.exports={readFragment:function(e,t){if(!o.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var r=o[o.length-1],l=n(e),u=i(l,t);null==u&&a(!1,"Expected a selector for the fragment of the resolver ".concat(l.name,", but got null.")),"SingularReaderSelector"!==u.kind&&a(!1,"Expected a singular reader selector for the fragment of the resolver ".concat(l.name,", but it was plural."));var c=r.getDataForResolverFragment(u,t),d=c.data;if(c.isMissingData)throw s;return d},withResolverContext:function(e,t){o.push(e);try{return t()}finally{o.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:s}},function(e,t,r){"use strict";var n=r(6).LINKED_FIELD,i=r(2).getHandleStorageKey,a=r(14),o=r(0);e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));s&&s.kind===n||o(!1,"cloneRelayHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=i(e,r);return{kind:"LinkedField",alias:s.alias,name:l,storageKey:l,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}},function(e,t,r){"use strict";var n=r(0);e.exports=function(e,t){var r,i;!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)&&n(!1,"Relay: getRefetchMetadata(): Expected fragment `%s` not to be plural when using `%s`. Remove `@relay(plural: true)` from fragment `%s` in order to use it with `%s`.",e.name,t,e.name,t);var a=null===(i=e.metadata)||void 0===i?void 0:i.refetch;null==a&&n(!1,"Relay: getRefetchMetadata(): Expected fragment `%s` to be refetchable when using `%s`. Did you forget to add a @refetchable directive to the fragment?",t,e.name);var o=a.operation.default?a.operation.default:a.operation,s=a.fragmentPathInResult;"string"==typeof o&&n(!1,"Relay: getRefetchMetadata(): Expected refetch query to be an operation and not a string when using `%s`. If you're seeing this, this is likely a bug in Relay.",t);var l=a.identifierField;return null!=l&&"string"!=typeof l&&n(!1,"Relay: getRefetchMetadata(): Expected `identifierField` to be a string."),{fragmentRefPathInResponse:s,identifierField:l,refetchableRequest:o,refetchMetadata:a}}},function(e,t,r){"use strict";var n=r(22),i=r(28),a=r(37),o=r(38),s=r(61),l=r(62),u=r(63),c=r(23),d=r(65),f=r(15),h=r(67),p=r(68),_=r(69),v=r(31),g=r(10),m=r(70),E=r(9),y=E.generateClientID,R=E.generateUniqueClientID,b=E.isClientID,I=r(71),D=r(73),S=r(29),A=r(74),T=r(12),k=r(75),N=r(13),O=r(8),F=r(11),L=r(88),P=r(46),x=r(20),C=r(2),w=r(57),M=r(49),U=r(97),V=r(98),j=r(18),q=r(99),G=r(101),H=r(102),K=r(43),z=r(59),Y=r(27),B=r(39),Q=r(103),W=r(30),J=r(41),X=r(44),Z=r(24),$=r(6),ee=r(36),te=r(50),re=r(5),ne=r(104),ie=r(42),ae=r(17),oe=r(40),se="function"!=typeof Map?"Map":null,le="function"!=typeof Set?"Set":null,ue="function"!=typeof Promise?"Promise":null,ce="function"!=typeof Object.assign?"Object.assign":null;if(se||le||ue||ce)throw new Error("relay-runtime requires ".concat([se,le,ue,ce].filter(Boolean).join(", and ")," to exist. ")+"Use a polyfill to provide these for older browsers.");e.exports={Environment:k,Network:d,Observable:f,QueryResponseCache:h,RecordSource:x,Record:O,ReplaySubject:ie,Store:L,areEqualSelectors:F.areEqualSelectors,createFragmentSpecResolver:I,createNormalizationSelector:F.createNormalizationSelector,createOperationDescriptor:N.createOperationDescriptor,createReaderSelector:F.createReaderSelector,createRequestDescriptor:N.createRequestDescriptor,getArgumentValues:C.getArgumentValues,getDataIDsFromFragment:F.getDataIDsFromFragment,getDataIDsFromObject:F.getDataIDsFromObject,getNode:g.getNode,getFragment:g.getFragment,getInlineDataFragment:g.getInlineDataFragment,getModuleComponentKey:C.getModuleComponentKey,getModuleOperationKey:C.getModuleOperationKey,getPaginationFragment:g.getPaginationFragment,getPluralSelector:F.getPluralSelector,getRefetchableFragment:g.getRefetchableFragment,getRequest:g.getRequest,getRequestIdentifier:B,getSelector:F.getSelector,getSelectorsFromObject:F.getSelectorsFromObject,getSingularSelector:F.getSingularSelector,getStorageKey:C.getStorageKey,getVariablesFromFragment:F.getVariablesFromFragment,getVariablesFromObject:F.getVariablesFromObject,getVariablesFromPluralFragment:F.getVariablesFromPluralFragment,getVariablesFromSingularFragment:F.getVariablesFromSingularFragment,handlePotentialSnapshotErrors:W,graphql:g.graphql,isFragment:g.isFragment,isInlineDataFragment:g.isInlineDataFragment,isRequest:g.isRequest,readInlineData:A,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:o,ConnectionHandler:n,MutationHandlers:a,VIEWER_ID:M.VIEWER_ID,VIEWER_TYPE:M.VIEWER_TYPE,applyOptimisticMutation:s,commitLocalUpdate:l,commitMutation:u,fetchQuery:p,fetchQuery_DEPRECATED:_,isRelayModernEnvironment:S,requestSubscription:U,ConnectionInterface:i,PreloadableQueryRegistry:m,RelayProfiler:ne,createPayloadFor3DField:V,RelayConcreteNode:$,RelayError:te,RelayFeatureFlags:re,DEFAULT_HANDLE_KEY:ee.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:C.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:C.FRAGMENT_OWNER_KEY,ID_KEY:C.ID_KEY,REF_KEY:C.REF_KEY,REFS_KEY:C.REFS_KEY,ROOT_ID:C.ROOT_ID,ROOT_TYPE:C.ROOT_TYPE,TYPENAME_KEY:C.TYPENAME_KEY,deepFreeze:j,generateClientID:y,generateUniqueClientID:R,getRelayHandleKey:Y,isClientID:b,isPromise:J,isScalarAndEqual:X,recycleNodesInto:Z,stableCopy:ae,getFragmentIdentifier:q,getRefetchMetadata:z,getPaginationMetadata:G,getPaginationVariables:H,getPendingOperationsForFragment:K,getValueAtPath:Q,__internal:{ResolverFragments:w,OperationTracker:P,createRelayContext:D,getOperationVariables:T.getOperationVariables,fetchQuery:v.fetchQuery,fetchQueryDeduped:v.fetchQueryDeduped,getPromiseForActiveRequest:v.getPromiseForActiveRequest,getObservableForActiveRequest:v.getObservableForActiveRequest,withProvidedVariables:oe}}},function(e,t,r){"use strict";var n=r(10).getRequest,i=r(29),a=r(13).createOperationDescriptor,o=r(23),s=r(0);e.exports=function(e,t){i(e)||s(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`.");var r=n(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");var l=t.optimisticUpdater,u=t.configs,c=t.optimisticResponse,d=t.variables,f=a(r,d);return u&&(l=o.convert(u,r,l).optimisticUpdater),e.applyMutation({operation:f,response:c,updater:l})}},function(e,t,r){"use strict";e.exports=function(e,t){e.commitUpdate(t)}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(16)),i=r(10).getRequest,a=r(9).generateUniqueClientID,o=r(29),s=r(13).createOperationDescriptor,l=r(23),u=r(64),c=r(0),d=r(3);e.exports=function(e,t){o(e)||c(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`.");var r=i(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");if("Request"!==r.kind)throw new Error("commitMutation: Expected mutation to be of type request");var f=t.optimisticResponse,h=t.optimisticUpdater,p=t.updater,_=t.configs,v=t.cacheConfig,g=t.onError,m=t.onUnsubscribe,E=t.variables,y=t.uploadables,R=s(r,E,v,a());if("function"==typeof f&&(f=f(),d(!1,"commitMutation: Expected `optimisticResponse` to be an object, received a function.")),f instanceof Object&&u(f,r,E),_){var b=l.convert(_,r,h,p);h=b.optimisticUpdater,p=b.updater}var I=[];return{dispose:e.executeMutation({operation:R,optimisticResponse:f,optimisticUpdater:h,updater:p,uploadables:y}).subscribe({next:function(e){var r;Array.isArray(e)?e.forEach((function(e){e.errors&&I.push.apply(I,(0,n.default)(e.errors))})):e.errors&&I.push.apply(I,(0,n.default)(e.errors)),null===(r=t.onNext)||void 0===r||r.call(t)},complete:function(){var r=t.onCompleted;r&&r(e.lookup(R.fragment).data,0!==I.length?I:null)},error:g,unsubscribe:m}).unsubscribe}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(7)),i=r(6),a=i.ACTOR_CHANGE,o=i.CLIENT_COMPONENT,s=i.CLIENT_EXTENSION,l=i.CONDITION,u=i.DEFER,c=i.FLIGHT_FIELD,d=i.FRAGMENT_SPREAD,f=i.INLINE_FRAGMENT,h=i.LINKED_FIELD,p=i.LINKED_HANDLE,_=i.MODULE_IMPORT,v=i.RELAY_RESOLVER,g=i.SCALAR_FIELD,m=i.SCALAR_HANDLE,E=i.STREAM,y=i.TYPE_DISCRIMINATOR,R=r(3),b=Object.prototype.hasOwnProperty,I=function(){},D=function(e,t,r){var n=t;e.split(".").forEach((function(e,t,i){null==n[e]&&(n[e]={}),r&&t===i.length-1&&(n[e]="<scalar>"),n=n[e]}))};I=function(e,t,r){var n=t.operation.name,i={path:"ROOT",visitedPaths:new Set,variables:r||{},missingDiff:{},extraDiff:{},moduleImportPaths:new Set};S(e,t.operation.selections,i),O(e,i),R(null==i.missingDiff.ROOT,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please define fields for all of\n%s",n,JSON.stringify(i.missingDiff.ROOT,null,2)),R(null==i.extraDiff.ROOT,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please remove all fields of\n%s",n,JSON.stringify(i.extraDiff.ROOT,null,2))};var S=function(e,t,r){t.forEach((function(t){return A(e,t,r)}))},A=function e(t,r,n){switch(r.kind){case l:return void S(t,r.selections,n);case o:case d:return void S(t,r.fragment.selections,n);case g:case h:case c:return N(t,r,n);case a:return N(t,r.linkedField,n);case f:var i=r.type,R=null==r.abstractKey;return k(n,r.abstractKey),void r.selections.forEach((function(r){R&&t.__typename!==i||e(t,r,n)}));case s:return void r.selections.forEach((function(r){e(t,r,n)}));case _:return T(n);case y:return k(n,r.abstractKey);case v:case p:case m:case u:case E:default:return}},T=function(e){e.moduleImportPaths.add(e.path)},k=function(e,t){if(null!=t){var r="".concat(e.path,".").concat(t);e.visitedPaths.add(r)}},N=function(e,t,r){var i=t.alias||t.name,a="".concat(r.path,".").concat(i);switch(r.visitedPaths.add(a),t.kind){case g:return void(!1===b.call(e,i)&&D(a,r.missingDiff,!0));case h:var o=t.selections;if(null===e[i]||b.call(e,i)&&void 0===e[i])return;return t.plural?Array.isArray(e[i])?void e[i].forEach((function(e){null!==e&&S(e,o,(0,n.default)((0,n.default)({},r),{},{path:a}))})):void D(a,r.missingDiff):e[i]instanceof Object?void S(e[i],o,(0,n.default)((0,n.default)({},r),{},{path:a})):void D(a,r.missingDiff);case c:if(null===e[i]||b.call(e,i)&&void 0===e[i])return;throw new Error("validateMutation: Flight fields are not compatible with optimistic updates, as React does not have the component code necessary to process new data on the client. Instead, you should update your code to require a full refetch of the Flight field so your UI can be updated.")}},O=function e(t,r){Array.isArray(t)?t.forEach((function(t){t instanceof Object&&e(t,r)})):Object.keys(t).forEach((function(i){var a=t[i],o="".concat(r.path,".").concat(i);r.moduleImportPaths.has(o)||(r.visitedPaths.has(o)?a instanceof Object&&e(a,(0,n.default)((0,n.default)({},r),{},{path:o})):D(o,r.extraDiff))}))};e.exports=I},function(e,t,r){"use strict";var n=r(40),i=r(66).convertFetch,a=r(0);e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,o,s,l){var u=n(i,e.providedVariables);if("subscription"===e.operationKind)return t||a(!1,"RelayNetwork: This network layer does not support Subscriptions. To use Subscriptions, provide a custom network layer."),s&&a(!1,"RelayNetwork: Cannot provide uploadables while subscribing."),t(e,u,o);var c=o.poll;return null!=c?(s&&a(!1,"RelayNetwork: Cannot provide uploadables while polling."),r(e,u,{force:!0}).poll(c)):r(e,u,o,s,l)}}}}},function(e,t,r){"use strict";var n=r(15);e.exports={convertFetch:function(e){return function(t,r,i,a,o){var s=e(t,r,i,a,o);return s instanceof Error?n.create((function(e){return e.error(s)})):n.from(s)}}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(7)),i=r(17),a=r(0),o=function(){function e(e){var t=e.size,r=e.ttl;t>0||a(!1,"RelayQueryResponseCache: Expected the max cache size to be > 0, got `%s`.",t),r>0||a(!1,"RelayQueryResponseCache: Expected the max ttl to be > 0, got `%s`.",r),this._responses=new Map,this._size=t,this._ttl=r}var t=e.prototype;return t.clear=function(){this._responses.clear()},t.get=function(e,t){var r=this,i=s(e,t);this._responses.forEach((function(e,t){var n,i;n=e.fetchTime,i=r._ttl,n+i>=Date.now()||r._responses.delete(t)}));var a=this._responses.get(i);return null==a?null:Array.isArray(a.payload)?a.payload.map((function(e){return(0,n.default)((0,n.default)({},e),{},{extensions:(0,n.default)((0,n.default)({},e.extensions),{},{cacheTimestamp:a.fetchTime})})})):(0,n.default)((0,n.default)({},a.payload),{},{extensions:(0,n.default)((0,n.default)({},a.payload.extensions),{},{cacheTimestamp:a.fetchTime})})},t.set=function(e,t,r){var n=Date.now(),i=s(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:n,payload:r}),this._responses.size>this._size){var a=this._responses.keys().next();a.done||this._responses.delete(a.value)}},e}();function s(e,t){return JSON.stringify(i({queryID:e,variables:t}))}e.exports=o},function(e,t,r){"use strict";var n=(0,r(1).default)(r(7)),i=r(15),a=r(13).createOperationDescriptor,o=r(30),s=r(31),l=r(10).getRequest,u=r(0);function c(e,t){return s.fetchQuery(e,t).map((function(){return e.lookup(t.fragment)}))}e.exports=function(e,t,r,s){var d,f=l(t);"query"!==f.params.operationKind&&u(!1,"fetchQuery: Expected query operation");var h=(0,n.default)({force:!0},null==s?void 0:s.networkCacheConfig),p=a(f,r,h),_=null!==(d=null==s?void 0:s.fetchPolicy)&&void 0!==d?d:"network-only";function v(t){return o(e,t.missingRequiredFields,t.relayResolverErrors),t.data}switch(_){case"network-only":return c(e,p).map(v);case"store-or-network":return"available"===e.check(p).status?i.from(e.lookup(p.fragment)).map(v):c(e,p).map(v);default:throw new Error("fetchQuery: Invalid fetchPolicy "+_)}}},function(e,t,r){"use strict";var n=r(13).createOperationDescriptor,i=r(10).getRequest;e.exports=function(e,t,r,a){var o=i(t);if("query"!==o.params.operationKind)throw new Error("fetchQuery: Expected query operation");var s=n(o,r,a);return e.execute({operation:s}).map((function(){return e.lookup(s.fragment).data})).toPromise()}},function(e,t,r){"use strict";var n=new(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var t=e.prototype;return t.set=function(e,t){this._preloadableQueries.set(e,t);var r=this._callbacks.get(e);null!=r&&r.forEach((function(e){try{e(t)}catch(e){setTimeout((function(){throw e}),0)}}))},t.get=function(e){return this._preloadableQueries.get(e)},t.onLoad=function(e,t){var r,n=null!==(r=this._callbacks.get(e))&&void 0!==r?r:new Set;n.add(t);return this._callbacks.set(e,n),{dispose:function(){n.delete(t)}}},t.clear=function(){this._preloadableQueries.clear()},e}());e.exports=n},function(e,t,r){"use strict";var n=r(72),i=r(3);e.exports=function(e,t,r,a,o,s){return Object.keys(r).forEach((function(e){var r=a[e];i(void 0!==r,"createFragmentSpecResolver: Expected prop `%s` to be supplied to `%s`, but got `undefined`. Pass an explicit `null` if this is intentional.",e,t)})),new n(e,r,a,s,o)}},function(e,t,r){"use strict";var n=r(1).default,i=n(r(7)),a=n(r(19)),o=r(43),s=r(30),l=r(44),u=r(24),c=r(5),d=r(13).createRequestDescriptor,f=r(11),h=f.areEqualSelectors,p=f.createReaderSelector,_=f.getSelectorsFromObject,v=r(14),g=r(0),m=r(3),E=function(){function e(e,t,r,n,i){var o=this;(0,a.default)(this,"_onChange",(function(){o._stale=!0,"function"==typeof o._callback&&o._callback()})),this._callback=n,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=i,this.setProps(r)}var t=e.prototype;return t.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&b(this._resolvers[e])},t.resolve=function(){if(this._stale){var e,t=this._data;for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r],a=t[r];if(n){var o=n.resolve();(e||o!==a)&&((e=e||(0,i.default)({},t))[r]=o)}else{var s=this._props[r],u=void 0!==s?s:null;!e&&l(u,a)||((e=e||(0,i.default)({},t))[r]=u)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e,t){this._callback=t,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},t.setProps=function(e){this._props={};var t=_(this._fragments,e);for(var r in t)if(t.hasOwnProperty(r)){var n=t[r],i=this._resolvers[r];null==n?(null!=i&&i.dispose(),i=null):"PluralReaderSelector"===n.kind?null==i?i=new R(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof R||g(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an array.",r),i.setSelector(n)):null==i?i=new y(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof y||g(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an object.",r),i.setSelector(n)),this._props[r]=e[r],this._resolvers[r]=i}this._stale=!0},t.setVariables=function(e,t){for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r];n&&n.setVariables(e,t)}this._stale=!0},e}(),y=function(){function e(e,t,r,n,i){var o=this;(0,a.default)(this,"_onChange",(function(e){o._data=e.data,o._isMissingData=e.isMissingData,o._missingRequiredFields=e.missingRequiredFields,o._relayResolverErrors=e.relayResolverErrors,o._callback()}));var s=e.lookup(r);this._callback=i,this._data=s.data,this._isMissingData=s.isMissingData,this._missingRequiredFields=s.missingRequiredFields,this._relayResolverErrors=s.relayResolverErrors,this._environment=e,this._rootIsQueryRenderer=t,this._selector=r,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?n&&(this._subscription=e.subscribe(s,this._onChange)):this._subscription=e.subscribe(s,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},t.resolve=function(){if(!0===this._isMissingData){var e=o(this._environment,this._selector.node,this._selector.owner),t=null==e?void 0:e.promise;if(null!=t){if(!this._rootIsQueryRenderer){var r,n=null!==(r=null==e?void 0:e.pendingOperations)&&void 0!==r?r:[];throw m(!1,"Relay: Relay Container for fragment `%s` suspended. When using features such as @defer or @module, use `useFragment` instead of a Relay Container.",this._selector.node.name),this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:n}),t}m(!1,"Relay: Relay Container for fragment `%s` has missing data and would suspend. When using features such as @defer or @module, use `useFragment` instead of a Relay Container.",this._selector.node.name)}}return s(this._environment,this._missingRequiredFields,this._relayResolverErrors),this._data},t.setSelector=function(e){if(null==this._subscription||!h(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=u(this._data,t.data),this._isMissingData=t.isMissingData,this._missingRequiredFields=t.missingRequiredFields,this._relayResolverErrors=t.relayResolverErrors,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!v(e,this._selector.variables)){var r=d(t,e),n=p(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),R=function(){function e(e,t,r,n,i){var o=this;(0,a.default)(this,"_onChange",(function(e){o._stale=!0,o._callback()})),this._callback=i,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=t,this._subscribeOnConstruction=n,this.setSelector(r)}var t=e.prototype;return t.dispose=function(){this._resolvers.forEach(b)},t.resolve=function(){if(this._stale){for(var e,t=this._data,r=0;r<this._resolvers.length;r++){var n=t[r],i=this._resolvers[r].resolve();(e||i!==n)&&(e=e||t.slice(0,r)).push(i)}e||this._resolvers.length===t.length||(e=t.slice(0,this._resolvers.length)),this._data=e||t,this._stale=!1}return this._data},t.setSelector=function(e){for(var t=e.selectors;this._resolvers.length>t.length;){this._resolvers.pop().dispose()}for(var r=0;r<t.length;r++)r<this._resolvers.length?this._resolvers[r].setSelector(t[r]):this._resolvers[r]=new y(this._environment,this._rootIsQueryRenderer,t[r],this._subscribeOnConstruction,this._onChange);this._stale=!0},t.setVariables=function(e,t){this._resolvers.forEach((function(r){return r.setVariables(e,t)})),this._stale=!0},e}();function b(e){e&&e.dispose()}e.exports=E},function(e,t,r){"use strict";var n,i,a=r(0);e.exports=function(e){return n||((n=e.createContext(null)).displayName="RelayContext",i=e),e!==i&&a(!1,"[createRelayContext]: You are passing a different instance of React",e.version),n}},function(e,t,r){"use strict";var n=r(10).getInlineDataFragment,i=r(2).FRAGMENTS_KEY,a=r(0);e.exports=function(e,t){var r,o=n(e);if(null==t)return t;"object"!=typeof t&&a(!1,"readInlineData(): Expected an object, got `%s`.",typeof t);var s=null===(r=t[i])||void 0===r?void 0:r[o.name];return null==s&&a(!1,"readInlineData(): Expected fragment `%s` to be spread in the parent fragment.",o.name),s}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(7)),i=r(38),a=r(32),o=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,s=a.assertInternalActorIdentifier,l=r(15),u=r(76),c=r(46),d=r(77),f=r(5),h=r(48),p=r(78),_=r(79),v=r(83),g=r(20),m=r(0),E=function(){function e(e){var t,n,a,o,s,l,_,g,E,R=this;this.configName=e.configName,this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var b=e.operationLoader,I=e.reactFlightPayloadDeserializer,D=e.reactFlightServerErrorHandler;null!=b&&("object"!=typeof b||"function"!=typeof b.get||"function"!=typeof b.load)&&m(!1,"RelayModernEnvironment: Expected `operationLoader` to be an object with get() and load() functions, got `%s`.",b),null!=I&&"function"!=typeof I&&m(!1,"RelayModernEnvironment: Expected `reactFlightPayloadDeserializer` to be a function, got `%s`.",I),this.__log=null!==(t=e.log)&&void 0!==t?t:y,this.requiredFieldLogger=null!==(n=e.requiredFieldLogger)&&void 0!==n?n:p,this._defaultRenderPolicy=(null!==(a=e.UNSTABLE_defaultRenderPolicy)&&void 0!==a?a:!0===f.ENABLE_PARTIAL_RENDERING_DEFAULT)?"partial":"full",this._operationLoader=b,this._operationExecutions=new Map,this._network=u(this,e.network),this._getDataID=null!==(o=e.getDataID)&&void 0!==o?o:h,this._missingFieldHandlers=null!==(s=e.missingFieldHandlers)&&void 0!==s?s:[],this._publishQueue=new v(e.store,null!==(l=e.handlerProvider)&&void 0!==l?l:i,this._getDataID,this._missingFieldHandlers),this._scheduler=null!==(_=e.scheduler)&&void 0!==_?_:null,this._store=e.store,this.options=e.options,this._isServer=null!==(g=e.isServer)&&void 0!==g&&g,this.__setNet=function(e){return R._network=u(R,e)};var S=r(87).inspect;this.DEBUG_inspect=function(e){return S(R,e)},this._operationTracker=null!==(E=e.operationTracker)&&void 0!==E?E:new c,this._reactFlightPayloadDeserializer=I,this._reactFlightServerErrorHandler=D,this._shouldProcessClientComponents=e.shouldProcessClientComponents,d(this)}var t=e.prototype;return t.getStore=function(){return this._store},t.getNetwork=function(){return this._network},t.getOperationTracker=function(){return this._operationTracker},t.getScheduler=function(){return this._scheduler},t.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},t.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},t.applyUpdate=function(e){var t=this;return this._scheduleUpdates((function(){t._publishQueue.applyUpdate(e),t._publishQueue.run()})),{dispose:function(){t._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))}}},t.revertUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))},t.replaceUpdate=function(e,t){var r=this;this._scheduleUpdates((function(){r._publishQueue.revertUpdate(e),r._publishQueue.applyUpdate(t),r._publishQueue.run()}))},t.applyMutation=function(e){var t=this._execute({createSource:function(){return l.create((function(e){}))},isClientPayload:!1,operation:e.operation,optimisticConfig:e,updater:null}).subscribe({});return{dispose:function(){return t.unsubscribe()}}},t.check=function(e){return 0!==this._missingFieldHandlers.length||function(e){return"Operation"===e.root.node.kind&&null!=e.root.node.clientAbstractTypes}(e)?this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers):this._store.check(e)},t.commitPayload=function(e,t){this._execute({createSource:function(){return l.from({data:t})},isClientPayload:!0,operation:e,optimisticConfig:null,updater:null}).subscribe({})},t.commitUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()}))},t.lookup=function(e){return this._store.lookup(e)},t.subscribe=function(e,t){return this._store.subscribe(e,t)},t.retain=function(e){return this._store.retain(e)},t.isServer=function(){return this._isServer},t._checkSelectorAndHandleMissingFields=function(e,t){var r=this,n=g.create(),i=this._store.getSource(),a=this._store.check(e,{handlers:t,defaultActorIdentifier:o,getSourceForActor:function(e){return s(e),i},getTargetForActor:function(e){return s(e),n}});return n.size()>0&&this._scheduleUpdates((function(){r._publishQueue.commitSource(n),r._publishQueue.run()})),a},t._scheduleUpdates=function(e){var t=this._scheduler;null!=t?t.schedule(e):e()},t.execute=function(e){var t=this,r=e.operation;return this._execute({createSource:function(){return t.getNetwork().execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:null})},t.executeSubscription=function(e){var t=this,r=e.operation,n=e.updater;return this._execute({createSource:function(){return t.getNetwork().execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:n})},t.executeMutation=function(e){var t,r=this,i=e.operation,a=e.optimisticResponse,o=e.optimisticUpdater,s=e.updater,l=e.uploadables;return(a||o)&&(t={operation:i,response:a,updater:o}),this._execute({createSource:function(){return r.getNetwork().execute(i.request.node.params,i.request.variables,(0,n.default)((0,n.default)({},i.request.cacheConfig),{},{force:!0}),l)},isClientPayload:!1,operation:i,optimisticConfig:t,updater:s})},t.executeWithSource=function(e){var t=e.operation,r=e.source;return this._execute({createSource:function(){return r},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},t.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},t._execute=function(e){var t=this,r=e.createSource,n=e.isClientPayload,i=e.operation,a=e.optimisticConfig,u=e.updater,c=this._publishQueue,d=this._store;return l.create((function(e){var l=_.execute({actorIdentifier:o,getDataID:t._getDataID,isClientPayload:n,log:t.__log,operation:i,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:a,getPublishQueue:function(e){return s(e),c},reactFlightPayloadDeserializer:t._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,scheduler:t._scheduler,shouldProcessClientComponents:t._shouldProcessClientComponents,sink:e,source:r(),getStore:function(e){return s(e),d},treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,updater:u});return function(){return l.cancel()}}))},e}();function y(){}E.prototype["@@RelayModernEnvironment"]=!0,e.exports=E},function(e,t,r){"use strict";var n=r(45);e.exports=function(e,t){return{execute:function(r,i,a,o){var s=n(),l={start:function(t){e.__log({name:"network.start",networkRequestId:s,params:r,variables:i,cacheConfig:a})},next:function(t){e.__log({name:"network.next",networkRequestId:s,response:t})},error:function(t){e.__log({name:"network.error",networkRequestId:s,error:t})},complete:function(){e.__log({name:"network.complete",networkRequestId:s})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:s})}};return t.execute(r,i,a,o,(function(t){e.__log({name:"network.info",networkRequestId:s,info:t})})).do(l)}}}},function(e,t,r){"use strict";(function(t){e.exports=function(e){var r=void 0!==t?t:"undefined"!=typeof window?window:void 0,n=r&&r.__RELAY_DEVTOOLS_HOOK__;n&&n.registerEnvironment(e)}}).call(this,r(47))},function(e,t,r){"use strict";e.exports=function(e){if("missing_field.log"===e.kind)throw new Error("Relay Environment Configuration Error (dev only): `@required(action: LOG)` requires that the Relay Environment be configured with a `requiredFieldLogger`.")}},function(e,t,r){"use strict";var n=r(1).default,i=n(r(7)),a=n(r(4)),o=n(r(19)),s=n(r(16)),l=r(15),u=r(45),c=r(33),d=r(50),f=r(5),h=r(17),p=r(80),_=r(9),v=_.generateClientID,g=_.generateUniqueClientID,m=r(12).getLocalVariables,E=r(8),y=r(11),R=y.createNormalizationSelector,b=y.createReaderSelector,I=r(20),D=r(81),S=r(2),A=S.ROOT_TYPE,T=S.TYPENAME_KEY,k=S.getStorageKey,N=r(0),O=r(3);var F=function(){function e(e){var t=this,r=e.actorIdentifier,n=e.getDataID,i=e.getPublishQueue,a=e.getStore,s=e.isClientPayload,l=e.operation,c=e.operationExecutions,d=e.operationLoader,f=e.operationTracker,h=e.optimisticConfig,_=e.reactFlightPayloadDeserializer,v=e.reactFlightServerErrorHandler,g=e.scheduler,m=e.shouldProcessClientComponents,E=e.sink,y=e.source,R=e.treatMissingFieldsAsNull,b=e.updater,I=e.log;(0,o.default)(this,"_deserializeReactFlightPayloadWithLogging",(function(e){var r=t._reactFlightPayloadDeserializer;"function"!=typeof r&&N(!1,"OperationExecutor: Expected reactFlightPayloadDeserializer to be available when calling _deserializeReactFlightPayloadWithLogging.");var n=p((function(){return r(e)})),i=n[0],a=n[1];return t._log({name:"execute.flight.payload_deserialize",executeId:t._executeId,operationName:t._operation.request.node.params.name,duration:i}),a})),this._actorIdentifier=r,this._getDataID=n,this._treatMissingFieldsAsNull=R,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._log=I,this._executeId=u(),this._nextSubscriptionId=0,this._operation=l,this._operationExecutions=c,this._operationLoader=d,this._operationTracker=f,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._getPublishQueue=i,this._scheduler=g,this._sink=E,this._source=new Map,this._state="started",this._getStore=a,this._subscriptions=new Map,this._updater=b,this._isClientPayload=!0===s,this._reactFlightPayloadDeserializer=_,this._reactFlightServerErrorHandler=v,this._isSubscriptionOperation="subscription"===this._operation.request.node.params.operationKind,this._shouldProcessClientComponents=m,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[];var D=this._nextSubscriptionId++;y.subscribe({complete:function(){return t._complete(D)},error:function(e){return t._error(e)},next:function(e){try{t._next(D,e)}catch(e){E.error(e)}},start:function(e){var r;t._start(D,e),t._log({name:"execute.start",executeId:t._executeId,params:t._operation.request.node.params,variables:t._operation.request.variables,cacheConfig:null!==(r=t._operation.request.cacheConfig)&&void 0!==r?r:{}})}}),null!=h&&this._processOptimisticResponse(null!=h.response?{data:h.response}:null,h.updater,!1)}var t=e.prototype;return t.cancel=function(){var e=this;if("completed"!==this._state){this._state="completed",this._operationExecutions.delete(this._operation.request.identifier),0!==this._subscriptions.size&&(this._subscriptions.forEach((function(e){return e.unsubscribe()})),this._subscriptions.clear());var t=this._optimisticUpdates;null!==t&&(this._optimisticUpdates=null,t.forEach((function(t){return e._getPublishQueueAndSaveActor().revertUpdate(t)})),this._runPublishQueue()),this._incrementalResults.clear(),null!=this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable.dispose(),this._asyncStoreUpdateDisposable=null),this._completeFns=[],this._completeOperationTracker(),this._disposeRetainedData()}},t._updateActiveState=function(){var e;switch(this._state){case"started":case"loading_incremental":e="active";break;case"completed":e="inactive";break;case"loading_final":e=this._pendingModulePayloadsCount>0?"active":"inactive";break;default:this._state,N(!1,"OperationExecutor: invalid executor state.")}this._operationExecutions.set(this._operation.request.identifier,e)},t._schedule=function(e){var t=this,r=this._scheduler;if(null!=r){var n=this._nextSubscriptionId++;l.create((function(t){var n=r.schedule((function(){try{e(),t.complete()}catch(e){t.error(e)}}));return function(){return r.cancel(n)}})).subscribe({complete:function(){return t._complete(n)},error:function(e){return t._error(e)},start:function(e){return t._start(n,e)}})}else e()},t._complete=function(e){this._subscriptions.delete(e),0===this._subscriptions.size&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},t._error=function(e){this.cancel(),this._sink.error(e),this._log({name:"execute.error",executeId:this._executeId,error:e})},t._start=function(e,t){this._subscriptions.set(e,t),this._updateActiveState()},t._next=function(e,t){var r=this;this._schedule((function(){var e=p((function(){r._handleNext(t),r._maybeCompleteSubscriptionOperationTracking()}))[0];r._log({name:"execute.next",executeId:r._executeId,response:t,duration:e})}))},t._handleErrorResponse=function(e){var t=this,r=[];return e.forEach((function(e){if(null!==e.data||null==e.extensions||e.hasOwnProperty("errors")){if(null==e.data){var n=e.hasOwnProperty("errors")&&null!=e.errors?e.errors:null,i=n?n.map((function(e){return e.message})).join("\n"):"(No errors)",a=d.create("RelayNetwork","No data returned for operation `"+t._operation.request.node.params.name+"`, got error(s):\n"+i+"\n\nSee the error `source` property for more information.");throw a.source={errors:n,operation:t._operation.request.node,variables:t._operation.request.variables},a.stack,a}var o=e;r.push(o)}})),r},t._handleOptimisticResponses=function(e){var t;if(e.length>1)return e.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.isOptimistic)}))&&N(!1,"OperationExecutor: Optimistic responses cannot be batched."),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&N(!1,"OperationExecutor: optimistic payload received after server payload."),!!n&&(this._processOptimisticResponse(r,null,this._treatMissingFieldsAsNull),this._sink.next(r),!0)},t._handleNext=function(e){if("completed"!==this._state){this._seenActors.clear();var t=Array.isArray(e)?e:[e],r=this._handleErrorResponse(t);if(0===r.length)return t.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.is_final)}))&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),void this._sink.next(e);if(!this._handleOptimisticResponses(r)){var n=function(e){var t=[],r=[];return e.forEach((function(e){if(null!=e.path||null!=e.label){var n=e.label,i=e.path;null!=n&&null!=i||N(!1,"OperationExecutor: invalid incremental payload, expected `path` and `label` to either both be null/undefined, or `path` to be an `Array<string | number>` and `label` to be a `string`."),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],a=n[1],o=i.length>0;if(o){if(this._isSubscriptionOperation){var s=g();this._operation={request:this._operation.request,fragment:b(this._operation.fragment.node,s,this._operation.fragment.variables,this._operation.fragment.owner),root:R(this._operation.root.node,s,this._operation.root.variables)}}var l=this._processResponses(i);this._processPayloadFollowups(l)}if(a.length>0){var u=this._processIncrementalResponses(a);this._processPayloadFollowups(u)}this._isSubscriptionOperation&&(null==r[0].extensions?r[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:r[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var c=this._runPublishQueue(o?this._operation:void 0);o&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(c),this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&N(!1,"OperationExecutor: environment.execute: only support one optimistic response per execute."),null!=e||null!=t){var i=[];if(e){var a=L(e,this._operation.root,A,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:r});P(a),i.push({operation:this._operation,payload:a,updater:t}),this._processOptimisticFollowups(a,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return n._getPublishQueueAndSaveActor().applyUpdate(e)})),this._runPublishQueue()}},t._processOptimisticFollowups=function(e,t){if(e.followupPayloads&&e.followupPayloads.length){var r,n=e.followupPayloads,i=(0,a.default)(n);try{for(i.s();!(r=i.n()).done;){var o=r.value;switch(o.kind){case"ModuleImportPayload":var l=this._expectOperationLoader().get(o.operationReference);if(null==l)this._processAsyncOptimisticModuleImport(o);else{var u=this._processOptimisticModuleImport(l,o);t.push.apply(t,(0,s.default)(u))}break;case"ActorPayload":O(!1,"OperationExecutor: Unexpected optimistic ActorPayload. These updates are not supported.");break;default:N(!1,"OperationExecutor: Unexpected followup kind `%s`. when processing optimistic updates.",o.kind)}}}catch(e){i.e(e)}finally{i.f()}}},t._normalizeFollowupPayload=function(e,t){var r;r="SplitOperation"===t.kind&&"ModuleImportPayload"===e.kind?m(e.variables,t.argumentDefinitions,e.args):e.variables;var n=R(t,e.dataID,r);return L({data:e.data},n,e.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:e.path,reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},t._processOptimisticModuleImport=function(e,t){var r=c(e),n=[],i=this._normalizeFollowupPayload(t,r);return P(i),n.push({operation:this._operation,payload:i,updater:null}),this._processOptimisticFollowups(i,n),n},t._processAsyncOptimisticModuleImport=function(e){var t=this;this._expectOperationLoader().load(e.operationReference).then((function(r){if(null!=r&&"started"===t._state){var n,i=t._processOptimisticModuleImport(r,e);if(i.forEach((function(e){return t._getPublishQueueAndSaveActor().applyUpdate(e)})),null==t._optimisticUpdates)O(!1,"OperationExecutor: Unexpected ModuleImport optimistic update in operation %s."+t._operation.request.node.params.name);else(n=t._optimisticUpdates).push.apply(n,(0,s.default)(i)),t._runPublishQueue()}}))},t._processResponses=function(e){var t=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach((function(e){t._getPublishQueueAndSaveActor().revertUpdate(e)})),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map((function(e){var r=L(e,t._operation.root,A,{actorIdentifier:t._actorIdentifier,getDataID:t._getDataID,path:[],reactFlightPayloadDeserializer:null!=t._reactFlightPayloadDeserializer?t._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,shouldProcessClientComponents:t._shouldProcessClientComponents});return t._getPublishQueueAndSaveActor().commitPayload(t._operation,r,t._updater),r}))},t._processPayloadFollowups=function(e){var t=this;"completed"!==this._state&&e.forEach((function(e){var r=e.incrementalPlaceholders,n=e.followupPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),n&&0!==n.length&&n.forEach((function(e){var r,n=t._actorIdentifier;t._actorIdentifier=null!==(r=e.actorIdentifier)&&void 0!==r?r:t._actorIdentifier,t._processFollowupPayload(e),t._actorIdentifier=n})),r&&0!==r.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,r.forEach((function(r){var n,i=t._actorIdentifier;t._actorIdentifier=null!==(n=r.actorIdentifier)&&void 0!==n?n:t._actorIdentifier,t._processIncrementalPlaceholder(e,r),t._actorIdentifier=i})),t._isClientPayload||"loading_final"===t._state)){O(t._isClientPayload,"RelayModernEnvironment: Operation `%s` contains @defer/@stream directives but was executed in non-streaming mode. See https://fburl.com/relay-incremental-delivery-non-streaming-warning.",t._operation.request.node.params.name);var a=[];r.forEach((function(e){"defer"===e.kind&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),a.length>0&&t._processPayloadFollowups(a)}}))},t._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},t._processFollowupPayload=function(e){var t=this;switch(e.kind){case"ModuleImportPayload":var r=this._expectOperationLoader(),n=r.get(e.operationReference);if(null!=n)this._processFollowupPayloadWithNormalizationNode(e,c(n));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var a=function(){t._pendingModulePayloadsCount--,t._maybeCompleteSubscriptionOperationTracking()},o=l.from(new Promise((function(t,n){r.load(e.operationReference).then(t,n)})));l.create((function(r){var n,i=o.subscribe({next:function(i){if(null!=i){var a=function(){try{var n=c(i),a=f.BATCH_ASYNC_MODULE_UPDATES_FN,o=null!=a&&t._pendingModulePayloadsCount>1,s=p((function(){if(t._handleFollowupPayload(e,n),o)t._scheduleAsyncStoreUpdate(a,r.complete);else{var i=t._runPublishQueue();t._updateOperationTracker(i)}}))[0];t._log({name:"execute.async.module",executeId:t._executeId,operationName:n.name,duration:s}),o||r.complete()}catch(e){r.error(e)}},o=t._scheduler;null==o?a():n=o.schedule(a)}else r.complete()},error:r.error});return function(){i.unsubscribe(),null!=t._scheduler&&null!=n&&t._scheduler.cancel(n)}})).subscribe({complete:function(){t._complete(i),a()},error:function(e){t._error(e),a()},start:function(e){return t._start(i,e)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:N(!1,"OperationExecutor: Unexpected followup kind `%s`.",e.kind)}},t._processFollowupPayloadWithNormalizationNode=function(e,t){this._handleFollowupPayload(e,t),this._maybeCompleteSubscriptionOperationTracking()},t._handleFollowupPayload=function(e,t){var r=this._normalizeFollowupPayload(e,t);this._getPublishQueueAndSaveActor().commitPayload(this._operation,r),this._processPayloadFollowups([r])},t._processIncrementalPlaceholder=function(e,t){var r,n=t.label,i=t.path.map(String).join("."),a=this._incrementalResults.get(n);null==a&&(a=new Map,this._incrementalResults.set(n,a));var o,s=a.get(i),l=null!=s&&"response"===s.kind?s.responses:null;a.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?o=t.parentID:"defer"===t.kind?o=t.selector.dataID:N(!1,"OperationExecutor: Unsupported incremental placeholder kind `%s`.",t.kind);var u,c,d=e.source.get(o),f=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=v(e.dataID,e.fieldKey);return e.dataID===o||t===o}));null==d&&N(!1,"OperationExecutor: Expected record `%s` to exist.",o);var p=this._source.get(o);if(null!=p){u=E.update(p.record,d);var _=new Map,g=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(h(t)))&&void 0!==r?r:"");_.set(n,e)};p.fieldPayloads.forEach(g),f.forEach(g),c=Array.from(_.values())}else u=d,c=f;if(this._source.set(o,{record:u,fieldPayloads:c}),null!=l){var m=this._processIncrementalResponses(l);this._processPayloadFollowups(m)}},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,a=e.response,o=t._incrementalResults.get(n);if(null==o&&(o=new Map,t._incrementalResults.set(n,o)),-1!==n.indexOf("$defer$")){var s=i.map(String).join("."),l=o.get(s);if(null==l)return l={kind:"response",responses:[e]},void o.set(s,l);if("response"===l.kind)return void l.responses.push(e);var u=l.placeholder;"defer"!==u.kind&&N(!1,"OperationExecutor: Expected data for path `%s` for label `%s` to be data for @defer, was `@%s`.",s,n,u.kind),r.push(t._processDeferResponse(n,i,u,a))}else{var c=i.slice(0,-2).map(String).join("."),d=o.get(c);if(null==d)return d={kind:"response",responses:[e]},void o.set(c,d);if("response"===d.kind)return void d.responses.push(e);var f=d.placeholder;"stream"!==f.kind&&N(!1,"OperationExecutor: Expected data for path `%s` for label `%s` to be data for @stream, was `@%s`.",c,n,f.kind),r.push(t._processStreamResponse(n,i,f,a))}})),r},t._processDeferResponse=function(e,t,r,n){var i,a=r.selector.dataID,o=this._actorIdentifier;this._actorIdentifier=null!==(i=r.actorIdentifier)&&void 0!==i?i:this._actorIdentifier;var s=L(n,r.selector,r.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:r.path,reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,s);var l=this._source.get(a);null==l&&N(!1,"OperationExecutor: Expected the parent record `%s` for @defer data to exist.",a);var u=l.fieldPayloads;if(0!==u.length){var c,d={errors:null,fieldPayloads:u,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!0===(null===(c=n.extensions)||void 0===c?void 0:c.is_final)};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=o,s},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,a=r.node,o=r.variables,l=r.actorIdentifier,u=this._actorIdentifier;this._actorIdentifier=null!=l?l:this._actorIdentifier;var c=a.selections[0];(null==c||"LinkedField"!==c.kind||!0!==c.plural)&&N(!1,"OperationExecutor: Expected @stream to be used on a plural field.");var d=this._normalizeStreamItem(n,i,c,o,t,r.path),f=d.fieldPayloads,h=d.itemID,p=d.itemIndex,_=d.prevIDs,v=d.relayPayload,g=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,v,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(g);if(null!=r&&r.length===_.length&&!r.some((function(e,t){return _[t]!==(e&&e.getDataID())}))){var n=(0,s.default)(r);n[p]=e.get(h),t.setLinkedRecords(n,g)}}})),0!==f.length){var m={errors:null,fieldPayloads:f,incrementalPlaceholders:null,followupPayloads:null,source:I.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,m)}return this._actorIdentifier=u,v},t._normalizeStreamItem=function(e,t,r,n,i,a){var o,l,u,c,d=e.data;"object"!=typeof d&&N(!1,"OperationExecutor: Expected the GraphQL @stream payload `data` value to be an object.");var f=null!==(o=r.alias)&&void 0!==o?o:r.name,h=k(r,n),p=this._source.get(t);null==p&&N(!1,"OperationExecutor: Expected the parent record `%s` for @stream data to exist.",t);var _=p.record,g=p.fieldPayloads,m=E.getLinkedRecordIDs(_,h);null==m&&N(!1,"OperationExecutor: Expected record `%s` to have fetched field `%s` with @stream.",t,r.name);var y=i[i.length-1],b=parseInt(y,10);b===y&&b>=0||N(!1,"OperationExecutor: Expected path for @stream to end in a positive integer index, got `%s`",y);var I=null!==(l=r.concreteType)&&void 0!==l?l:d[T];"string"!=typeof I&&N(!1,"OperationExecutor: Expected @stream field `%s` to have a __typename.",r.name);var D=null!==(u=null!==(c=this._getDataID(d,I))&&void 0!==c?c:null==m?void 0:m[b])&&void 0!==u?u:v(t,h,b);"string"!=typeof D&&N(!1,"OperationExecutor: Expected id of elements of field `%s` to be strings.",h);var S=R(r,D,n),A=E.clone(_),O=(0,s.default)(m);return O[b]=D,E.setLinkedRecordIDs(A,h,O),this._source.set(t,{record:A,fieldPayloads:g}),{fieldPayloads:g,itemID:D,itemIndex:b,prevIDs:m,relayPayload:L(e,S,I,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,s.default)(a),[f,String(b)]),reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents}),storageKey:h}},t._scheduleAsyncStoreUpdate=function(e,t){var r=this;this._completeFns.push(t),null==this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable=e((function(){r._asyncStoreUpdateDisposable=null;var e=r._runPublishQueue();r._updateOperationTracker(e);var t,n=(0,a.default)(r._completeFns);try{for(n.s();!(t=n.n()).done;){(0,t.value)()}}catch(e){n.e(e)}finally{n.f()}r._completeFns=[]})))},t._updateOperationTracker=function(e){null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},t._completeOperationTracker=function(){this._operationTracker.complete(this._operation.request)},t._getPublishQueueAndSaveActor=function(){return this._seenActors.add(this._actorIdentifier),this._getPublishQueue(this._actorIdentifier)},t._getActorsToVisit=function(){return 0===this._seenActors.size?new Set([this._actorIdentifier]):this._seenActors},t._runPublishQueue=function(e){var t,r=new Set,n=(0,a.default)(this._getActorsToVisit());try{for(n.s();!(t=n.n()).done;){var i=t.value;this._getPublishQueue(i).run(e).forEach((function(e){return r.add(e)}))}}catch(e){n.e(e)}finally{n.f()}return Array.from(r)},t._retainData=function(){var e,t=(0,a.default)(this._getActorsToVisit());try{for(t.s();!(e=t.n()).done;){var r=e.value;this._retainDisposables.has(r)||this._retainDisposables.set(r,this._getStore(r).retain(this._operation))}}catch(e){t.e(e)}finally{t.f()}},t._disposeRetainedData=function(){var e,t=(0,a.default)(this._retainDisposables.values());try{for(t.s();!(e=t.n()).done;){e.value.dispose()}}catch(e){t.e(e)}finally{t.f()}this._retainDisposables.clear()},t._expectOperationLoader=function(){var e=this._operationLoader;return e||N(!1,"OperationExecutor: Expected an operationLoader to be configured when using `@match`."),e},e}();function L(e,t,r,n){var a,o=e.data,s=e.errors,l=I.create(),u=E.create(t.dataID,r);l.set(t.dataID,u);var c=D.normalize(l,t,o,n);return(0,i.default)((0,i.default)({},c),{},{errors:s,isFinal:!0===(null===(a=e.extensions)||void 0===a?void 0:a.is_final)})}function P(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&N(!1,"OperationExecutor: optimistic responses cannot be returned for operations that use incremental data delivery (@defer, @stream, and @stream_connection).")}e.exports={execute:function(e){return new F(e)}}},function(e,t,r){"use strict";var n,i,a="undefined"!=typeof window&&"function"==typeof(null===(n=window)||void 0===n||null===(i=n.performance)||void 0===i?void 0:i.now);function o(){return a?window.performance.now():Date.now()}e.exports=function(e){var t=o(),r=e();return[o()-t,r]}},function(e,t,r){"use strict";var n=r(1).default,i=n(r(4)),a=n(r(16)),o=r(82),s=o.ACTOR_IDENTIFIER_FIELD_NAME,l=o.getActorIdentifierFromPayload,u=r(6),c=u.ACTOR_CHANGE,d=u.CLIENT_COMPONENT,f=u.CLIENT_EXTENSION,h=u.CONDITION,p=u.DEFER,_=u.FLIGHT_FIELD,v=u.FRAGMENT_SPREAD,g=u.INLINE_FRAGMENT,m=u.LINKED_FIELD,E=u.LINKED_HANDLE,y=u.MODULE_IMPORT,R=u.RELAY_RESOLVER,b=u.SCALAR_FIELD,I=u.SCALAR_HANDLE,D=u.STREAM,S=u.TYPE_DISCRIMINATOR,A=r(5),T=r(9),k=T.generateClientID,N=T.isClientID,O=r(12).getLocalVariables,F=r(8),L=r(11).createNormalizationSelector,P=r(21),x=P.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY,C=P.REACT_FLIGHT_TREE_STORAGE_KEY,w=P.REACT_FLIGHT_TYPE_NAME,M=P.refineToReactFlightPayloadData,U=r(2),V=U.ROOT_ID,j=U.ROOT_TYPE,q=U.TYPENAME_KEY,G=U.getArgumentValues,H=U.getHandleStorageKey,K=U.getModuleComponentKey,z=U.getModuleOperationKey,Y=U.getStorageKey,B=r(26),Q=B.TYPE_SCHEMA_TYPE,W=B.generateTypeID,J=r(14),X=r(0),Z=r(3);var $=function(){function e(e,t,r){this._actorIdentifier=r.actorIdentifier,this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=r.path?(0,a.default)(r.path):[],this._recordSource=e,this._variables=t,this._reactFlightPayloadDeserializer=r.reactFlightPayloadDeserializer,this._reactFlightServerErrorHandler=r.reactFlightServerErrorHandler,this._shouldProcessClientComponents=r.shouldProcessClientComponents}var t=e.prototype;return t.normalizeResponse=function(e,t,r){var n=this._recordSource.get(t);return n||X(!1,"RelayResponseNormalizer(): Expected root record `%s` to exist.",t),this._assignClientAbstractTypes(e),this._traverseSelections(e,n,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var r=0,n=Object.keys(t);r<n.length;r++){var a,o=n[r],s=(0,i.default)(t[o]);try{for(s.s();!(a=s.n()).done;){var l=a.value,u=W(l),c=this._recordSource.get(u);null==c&&(c=F.create(u,Q),this._recordSource.set(u,c)),F.setValue(c,o,!0)}}catch(e){s.e(e)}finally{s.f()}}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||X(!1,"RelayResponseNormalizer(): Undefined variable `%s`.",e),this._variables[e]},t._getRecordType=function(e){var t=e[q];return null==t&&X(!1,"RelayResponseNormalizer(): Expected a typename for record `%s`.",JSON.stringify(e,null,2)),t},t._traverseSelections=function(e,t,r){for(var n=0;n<e.selections.length;n++){var i=e.selections[n];switch(i.kind){case b:case m:this._normalizeField(e,i,t,r);break;case h:Boolean(this._getVariableValue(i.condition))===i.passingValue&&this._traverseSelections(i,t,r);break;case v:var a=this._variables;this._variables=O(this._variables,i.fragment.argumentDefinitions,i.args),this._traverseSelections(i.fragment,t,r),this._variables=a;break;case g:var o=i.abstractKey;if(null==o){F.getType(t)===i.type&&this._traverseSelections(i,t,r)}else{var s=r.hasOwnProperty(o),l=F.getType(t),u=W(l),T=this._recordSource.get(u);null==T&&(T=F.create(u,Q),this._recordSource.set(u,T)),F.setValue(T,o,s),s&&this._traverseSelections(i,t,r)}break;case S:var k=i.abstractKey,N=r.hasOwnProperty(k),L=F.getType(t),P=W(L),x=this._recordSource.get(P);null==x&&(x=F.create(P,Q),this._recordSource.set(P,x)),F.setValue(x,k,N);break;case E:case I:var C=i.args?G(i.args,this._variables):{},w=Y(i,this._variables),M=H(i,this._variables);this._handleFieldPayloads.push({args:C,dataID:F.getDataID(t),fieldKey:w,handle:i.handle,handleKey:M,handleArgs:i.handleArgs?G(i.handleArgs,this._variables):{}});break;case y:this._normalizeModuleImport(e,i,t,r);break;case p:this._normalizeDefer(i,t,r);break;case D:this._normalizeStream(i,t,r);break;case f:var U=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(i,t,r),this._isClientExtension=U;break;case d:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(i.fragment,t,r);break;case _:if(!A.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._normalizeFlightField(e,i,t,r);break;case c:this._normalizeActorChange(e,i,t,r);break;case R:null!=i.fragment&&this._traverseSelections(i.fragment,t,r);break;default:X(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s`.",i.kind)}}},t._normalizeDefer=function(e,t,r){var n=null===e.if||this._getVariableValue(e.if);Z("boolean"==typeof n,"RelayResponseNormalizer: Expected value for @defer `if` argument to be a boolean, got `%s`.",n),!1===n?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,a.default)(this._path),selector:L(e,F.getDataID(t),this._variables),typeName:F.getType(t),actorIdentifier:this._actorIdentifier})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r);var n=null===e.if||this._getVariableValue(e.if);Z("boolean"==typeof n,"RelayResponseNormalizer: Expected value for @stream `if` argument to be a boolean, got `%s`.",n),!0===n&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,a.default)(this._path),parentID:F.getDataID(t),node:e,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(e,t,r,n){"object"==typeof n&&n||X(!1,"RelayResponseNormalizer: Expected data for @module to be an object.");var i=F.getType(r),o=K(t.documentName),s=t.componentModuleProvider||n[o];F.setValue(r,o,null!=s?s:null);var l=z(t.documentName),u=t.operationModuleProvider||n[l];F.setValue(r,l,null!=u?u:null),null!=u&&this._followupPayloads.push({kind:"ModuleImportPayload",args:t.args,data:n,dataID:F.getDataID(r),operationReference:u,path:(0,a.default)(this._path),typeName:i,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeField=function(e,t,r,n){"object"==typeof n&&n||X(!1,"writeField(): Expected data for field `%s` to be an object.",t.name);var i=t.alias||t.name,a=Y(t,this._variables),o=n[i];if(null==o){if(void 0===o){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void Z(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",i,a)}return t.kind===b&&this._validateConflictingFieldsWithIdenticalId(r,a,null),void F.setValue(r,a,null)}t.kind===b?(this._validateConflictingFieldsWithIdenticalId(r,a,o),F.setValue(r,a,o)):t.kind===m?(this._path.push(i),t.plural?this._normalizePluralLink(t,r,a,o):this._normalizeLink(t,r,a,o),this._path.pop()):X(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s` during normalization.",t.kind)},t._normalizeActorChange=function(e,t,r,n){var i,o=t.linkedField;"object"==typeof n&&n||X(!1,"_normalizeActorChange(): Expected data for field `%s` to be an object.",o.name);var u=o.alias||o.name,c=Y(o,this._variables),d=n[u];if(null!=d){var f=l(d);if(null==f)return Z(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s`. Check that you are parsing with the same query that was used to fetch the payload. Payload is `%s`.",s,JSON.stringify(d,null,2)),void F.setValue(r,c,null);var h=null!==(i=o.concreteType)&&void 0!==i?i:this._getRecordType(d),p=this._getDataId(d,h)||F.getLinkedRecordID(r,c)||k(F.getDataID(r),c);"string"!=typeof p&&X(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",c),F.setActorLinkedRecordID(r,c,f,p),this._followupPayloads.push({kind:"ActorPayload",data:d,dataID:p,path:[].concat((0,a.default)(this._path),[u]),typeName:h,variables:this._variables,node:o,actorIdentifier:f})}else{if(void 0===d){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void Z(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",u,c)}F.setValue(r,c,null)}},t._normalizeFlightField=function(e,t,r,n){var a=t.alias||t.name,o=Y(t,this._variables),s=n[a];if(null!=s){var l=M(s),u=this._reactFlightPayloadDeserializer;null==l&&X(!1,"RelayResponseNormalizer: Expected React Flight payload data to be an object with `status`, tree`, `queries` and `errors` properties, got `%s`.",s),"function"!=typeof u&&X(!1,"RelayResponseNormalizer: Expected reactFlightPayloadDeserializer to be a function, got `%s`.",u),l.errors.length>0&&("function"==typeof this._reactFlightServerErrorHandler?this._reactFlightServerErrorHandler(l.status,l.errors):Z(!1,"RelayResponseNormalizer: Received server errors for field `%s`.\n\n%s\n%s",a,l.errors[0].message,l.errors[0].stack));var c=k(F.getDataID(r),Y(t,this._variables)),d=this._recordSource.get(c);if(null==d&&(d=F.create(c,w),this._recordSource.set(c,d)),null==l.tree)return Z(!1,"RelayResponseNormalizer: Expected `tree` not to be null. This typically indicates that a fatal server error prevented any Server Component rows from being written."),F.setValue(d,C,null),F.setValue(d,x,[]),void F.setLinkedRecordID(r,o,c);var f=u(l.tree);F.setValue(d,C,f);var h,p=[],_=(0,i.default)(l.queries);try{for(_.s();!(h=_.n()).done;){var v=h.value;null!=v.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:v.response.data,dataID:V,operationReference:v.module,path:[],typeName:j,variables:v.variables,actorIdentifier:this._actorIdentifier}),p.push({module:v.module,variables:v.variables})}}catch(e){_.e(e)}finally{_.f()}var g,m=(0,i.default)(l.fragments);try{for(m.s();!(g=m.n()).done;){var E=g.value;null!=E.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:E.response.data,dataID:E.__id,operationReference:E.module,path:[],typeName:E.__typename,variables:E.variables,actorIdentifier:this._actorIdentifier}),p.push({module:E.module,variables:E.variables})}}catch(e){m.e(e)}finally{m.f()}F.setValue(d,x,p),F.setLinkedRecordID(r,o,c)}else{if(void 0===s){if(this._isUnmatchedAbstractType)return;this._treatMissingFieldsAsNull||X(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",a,o)}F.setValue(r,o,null)}},t._normalizeLink=function(e,t,r,n){var i;"object"==typeof n&&n||X(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an object.",r);var a=this._getDataId(n,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(n))||F.getLinkedRecordID(t,r)||k(F.getDataID(t),r);"string"!=typeof a&&X(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",r),this._validateConflictingLinkedFieldsWithIdenticalId(t,F.getLinkedRecordID(t,r),a,r),F.setLinkedRecordID(t,r,a);var o=this._recordSource.get(a);if(o)this._validateRecordType(o,e,n);else{var s=e.concreteType||this._getRecordType(n);o=F.create(a,s),this._recordSource.set(a,o)}this._traverseSelections(e,o,n)},t._normalizePluralLink=function(e,t,r,n){var i=this;Array.isArray(n)||X(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an array of objects.",r);var a=F.getLinkedRecordIDs(t,r),o=[];n.forEach((function(n,s){var l;if(null!=n){i._path.push(String(s)),"object"!=typeof n&&X(!1,"RelayResponseNormalizer: Expected elements for field `%s` to be objects.",r);var u=i._getDataId(n,null!==(l=e.concreteType)&&void 0!==l?l:i._getRecordType(n))||a&&a[s]||k(F.getDataID(t),r,s);"string"!=typeof u&&X(!1,"RelayResponseNormalizer: Expected id of elements of field `%s` to be strings.",r),o.push(u);var c=i._recordSource.get(u);if(c)i._validateRecordType(c,e,n);else{var d=e.concreteType||i._getRecordType(n);c=F.create(u,d),i._recordSource.set(u,c)}a&&i._validateConflictingLinkedFieldsWithIdenticalId(t,a[s],u,r),i._traverseSelections(e,c,n),i._path.pop()}else o.push(n)})),F.setLinkedRecordIDs(t,r,o)},t._validateRecordType=function(e,t,r){var n,i=null!==(n=t.concreteType)&&void 0!==n?n:this._getRecordType(r),a=F.getDataID(e);Z(N(a)&&a!==V||F.getType(e)===i,"RelayResponseNormalizer: Invalid record `%s`. Expected %s to be consistent, but the record was assigned conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",a,q,F.getType(e),i)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){var n=F.getDataID(e),i=F.getValue(e,t);Z(t===q||void 0===i||J(i,r),"RelayResponseNormalizer: Invalid record. The record contains two instances of the same id: `%s` with conflicting field, %s and its values: %s and %s. If two fields are different but share the same id, one field will overwrite the other.",n,t,i,r)},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,n){Z(void 0===t||t===r,"RelayResponseNormalizer: Invalid record. The record contains references to the conflicting field, %s and its id values: %s and %s. We need to make sure that the record the field points to remains consistent or one field will overwrite the other.",n,t,r)},e}();e.exports={normalize:function(e,t,r,n){var i=t.dataID,a=t.node,o=t.variables;return new $(e,o,n).normalizeResponse(a,i,r)}}},function(e,t,r){"use strict";var n=r(32).getActorIdentifier;e.exports={ACTOR_IDENTIFIER_FIELD_NAME:"actor_key",getActorIdentifierFromPayload:function(e){if(null!=e&&"object"==typeof e&&"string"==typeof e.actor_key)return n(e.actor_key)}}},function(e,t,r){"use strict";(function(t){var n,i,a=r(51),o=r(52),s=r(85),l=r(34),u=r(20),c=r(0),d=r(3),f=void 0!==t?t:"undefined"!=typeof window?window:void 0,h=null!==(n=null==f||null===(i=f.ErrorUtils)||void 0===i?void 0:i.applyWithGuard)&&void 0!==n?n:function(e,t,r,n,i){return e.apply(t,r)},p=function(){function e(e,t,r,n){this._hasStoreSnapshot=!1,this._handlerProvider=t||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=r,this._missingFieldHandlers=n}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1,"RelayPublishQueue: Cannot apply the same update function more than once concurrently."),this._pendingOptimisticUpdates.add(e)},t.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(e,t,r){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:t,updater:r})},t.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},t.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},t.run=function(e){var t=0===this._appliedOptimisticUpdates&&!!this._gcHold,r=!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!t;if(d(!r,"RelayPublishQueue.run was called, but the call would have been a noop."),d(!0!==this._isRunning,"A store update was detected within another store update. Please make sure new store updates aren't being executed within an updater function for a different update."),this._isRunning=!0,r)return this._isRunning=!1,[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var n=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._isRunning=!1,this._store.notify(e,n)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,l=r.source,u=r.fieldPayloads,d=new a(this._store.getSource(),l),f=new o(d,this._getDataID,this._handlerProvider,this._missingFieldHandlers);if(u&&u.length&&u.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||c(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),r.update(f,e)})),i){var h=n.fragment;null==h&&c(!1,"RelayModernEnvironment: Expected a selector to be provided with updater function."),i(new s(d,f,h,this._missingFieldHandlers),_(l,h))}var p=f.getIDsMarkedForInvalidation();return this._store.publish(l,p),f.isStoreMarkedForInvalidation()},t._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var t=!1;return this._pendingData.forEach((function(r){if("payload"===r.kind){var n=e._publishSourceFromPayload(r);t=t||n}else if("source"===r.kind){var i=r.source;e._store.publish(i)}else{var s=r.updater,l=u.create(),c=new a(e._store.getSource(),l),d=new o(c,e._getDataID,e._handlerProvider,e._missingFieldHandlers);h(s,null,[d],null,"RelayPublishQueue:commitData"),t=t||d.isStoreMarkedForInvalidation();var f=d.getIDsMarkedForInvalidation();e._store.publish(l,f)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=u.create(),r=new a(this._store.getSource(),t),n=new o(r,this._getDataID,this._handlerProvider,this._missingFieldHandlers),i=function(t){if(t.storeUpdater){var i=t.storeUpdater;h(i,null,[n],null,"RelayPublishQueue:applyUpdates")}else{var a=t.operation,o=t.payload,l=t.updater,u=o.source,c=o.fieldPayloads;if(u&&n.publishSource(u,c),l){var d;u&&(d=_(u,a.fragment));var f=new s(r,n,a.fragment,e._missingFieldHandlers);h(l,null,[f,d],null,"RelayPublishQueue:applyUpdates")}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(i),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach((function(t){i(t),e._appliedOptimisticUpdates.add(t)})),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}();function _(e,t){var n=l.read(e,t).data,i=r(18);return n&&i(n),n}e.exports=p}).call(this,r(47))},function(e,t,r){"use strict";var n=r(9).generateClientID,i=r(2).getStableStorageKey,a=r(0),o=function(){function e(e,t,r){this._dataID=r,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return null==e&&a(!1,"RelayRecordProxy: Cannot get the type of deleted record `%s`.",this._dataID),e},t.getValue=function(e,t){var r=i(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){return s(e)||a(!1,"RelayRecordProxy#setValue(): Expected a scalar or array of scalars, got `%s`.",JSON.stringify(e)),this.setValue__UNSAFE(e,t,r)},t.setValue__UNSAFE=function(e,t,r){var n=i(t,r);return this._mutator.setValue(this._dataID,n,e),this},t.getLinkedRecord=function(e,t){var r=i(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,n){t instanceof e||a(!1,"RelayRecordProxy#setLinkedRecord(): Expected a record, got `%s`.",t);var o=i(r,n),s=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,o,s),this},t.getOrCreateLinkedRecord=function(e,t,r){var a=this.getLinkedRecord(e,r);if(!a){var o,s=i(e,r),l=n(this.getDataID(),s);a=null!==(o=this._source.get(l))&&void 0!==o?o:this._source.create(l,t),this.setLinkedRecord(a,e,r)}return a},t.getLinkedRecords=function(e,t){var r=this,n=i(e,t),a=this._mutator.getLinkedRecordIDs(this._dataID,n);return null==a?a:a.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||a(!1,"RelayRecordProxy#setLinkedRecords(): Expected records to be an array, got `%s`.",e);var n=i(t,r),o=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,n,o),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function s(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(s)}e.exports=o},function(e,t,r){"use strict";var n=r(2),i=n.ROOT_TYPE,a=n.getStorageKey,o=r(53).readUpdatableFragment_EXPERIMENTAL,s=r(55).readUpdatableQuery_EXPERIMENTAL,l=r(0),u=function(){function e(e,t,r,n){this.__mutator=e,this.__recordSource=t,this._readSelector=r,this._missingFieldHandlers=n}var t=e.prototype;return t.create=function(e,t){return this.__recordSource.create(e,t)},t.delete=function(e){this.__recordSource.delete(e)},t.get=function(e){return this.__recordSource.get(e)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var e=this.__recordSource.get(this._readSelector.dataID);return e||(e=this.__recordSource.create(this._readSelector.dataID,i)),e},t._getRootField=function(e,t,r){var n=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t||"RequiredField"===e.kind&&e.field.name===t}));return n&&"RequiredField"===n.kind&&(n=n.field),n&&"LinkedField"===n.kind||l(!1,"RelayRecordSourceSelectorProxy#getRootField(): Cannot find root field `%s`, no such field is defined on GraphQL document `%s`.",t,e.node.name),n.plural!==r&&l(!1,"RelayRecordSourceSelectorProxy#getRootField(): Expected root field `%s` to be %s.",t,r?"plural":"singular"),n},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),r=a(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(r)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),r=a(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(r)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},t.readUpdatableQuery_EXPERIMENTAL=function(e,t){return s(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment_EXPERIMENTAL=function(e,t){return o(e,t,this,this._missingFieldHandlers)},e}();e.exports=u},function(e,t,r){"use strict";var n=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});e.exports={isSuspenseSentinel:function(e){return e===n},suspenseSentinel:function(){return n}}},function(e,t,r){"use strict";var n=r(1).default,i=n(r(7)),a=n(r(16)),o=function(){},s=!1,l=function(){var e={style:"list-style-type: none; padding: 0; margin: 0 0 0 12px; font-style: normal"},t={style:"rgb(136, 19, 145)"},r={style:"color: #777"},n=function(e){return["span",{style:"font-style: italic"},e.__typename,["span",r,' {id: "',e.__id,'", …}']]},i=function(e){return null!=e&&"string"==typeof e.__id},o=function(e,t){this.key=e,this.value=t},s=function(t){var r=Object.keys(t).map((function(e){return["li",{},["object",{object:new o(e,t[e])}]]}));return["ol",e].concat((0,a.default)(r))};return[{header:function(e){return i(e)?n(e):null},hasBody:function(e){return!0},body:function(e){return s(e)}},{header:function(e){if(e instanceof o){var a=i(e.value)?n(e.value):null==(s=e.value)?["span",r,"undefined"]:["object",{object:s,config:l}];return["span",t,e.key,": ",a]}var s,l;return null},hasBody:function(e){return i(e.value)},body:function(e){return s(e.value)}}]};o=function(e,t){var r;return s||(s=!0,null==window.devtoolsFormatters&&(window.devtoolsFormatters=[]),Array.isArray(window.devtoolsFormatters)&&(console.info('Make sure to select "Enable custom formatters" in the Chrome Developer Tools settings, tab "Preferences" under the "Console" section.'),(r=window.devtoolsFormatters).push.apply(r,(0,a.default)(l())))),function e(t,r){var n=t.get(r);return null==n?n:new Proxy((0,i.default)({},n),{get:function(r,n){var i=r[n];if(null==i)return i;if("object"==typeof i){if("string"==typeof i.__ref)return e(t,i.__ref);if(Array.isArray(i.__refs))return i.__refs.map((function(r){return e(t,r)}))}return i}})}(e.getStore().getSource(),null!=t?t:"client:root")},e.exports={inspect:o}},function(e,t,r){"use strict";var n=r(1).default,i=n(r(4)),a=n(r(19)),o=r(32),s=o.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,l=o.assertInternalActorIdentifier,u=r(18),c=r(5),d=r(89),f=r(90),h=r(48),p=r(8),_=r(92),v=r(34),g=r(93),m=r(21),E=r(95),y=r(2),R=r(2),b=R.ROOT_ID,I=R.ROOT_TYPE,D=r(56).RecordResolverCache,S=r(0),A=function(){function e(e,t){var r,n,i,o,s,l=this;(0,a.default)(this,"_gcStep",(function(){l._gcRun&&(l._gcRun.next().done?l._gcRun=null:l._gcScheduler(l._gcStep))}));for(var u=e.getRecordIDs(),c=0;c<u.length;c++){var f=e.get(u[c]);f&&p.freeze(f)}this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:10,this._gcRun=null,this._gcScheduler=null!==(n=null==t?void 0:t.gcScheduler)&&void 0!==n?n:d,this._getDataID=null!==(i=null==t?void 0:t.getDataID)&&void 0!==i?i:h,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(o=null==t?void 0:t.log)&&void 0!==o?o:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(s=null==t?void 0:t.operationLoader)&&void 0!==s?s:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new D((function(){return l._getMutableRecordSource()})),this._storeSubscriptions=new E(null==t?void 0:t.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=null==t?void 0:t.shouldProcessClientComponents,function(e){if(!e.has(b)){var t=p.create(b,I);e.set(b,t)}}(this._recordSource)}var t=e.prototype;return t.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t._getMutableRecordSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t.check=function(e,t){var r,n,i,a,o=e.root,u=this._getMutableRecordSource(),c=this._globalInvalidationEpoch,d=this._roots.get(e.request.identifier),h=null!=d?d.epoch:null;if(null!=c&&(null==h||h<=c))return{status:"stale"};var p=null!==(r=null==t?void 0:t.handlers)&&void 0!==r?r:[],_=null!==(n=null==t?void 0:t.getSourceForActor)&&void 0!==n?n:function(e){return l(e),u},v=null!==(i=null==t?void 0:t.getTargetForActor)&&void 0!==i?i:function(e){return l(e),u};return function(e,t,r,n){var i=e.mostRecentlyInvalidatedAt,a=e.status;if("number"==typeof i&&(null==t||i>t))return{status:"stale"};if("missing"===a)return{status:"missing"};if(null!=r&&null!=n){if(r<=Date.now()-n)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(f.check(_,v,null!==(a=null==t?void 0:t.defaultActorIdentifier)&&void 0!==a?a:s,o,p,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),h,null==d?void 0:d.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,r=e.request.identifier,n=!1,i=this._roots.get(r);return null!=i?(0===i.refCount&&(this._releaseBuffer=this._releaseBuffer.filter((function(e){return e!==r}))),i.refCount+=1):this._roots.set(r,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!n){n=!0;var e=t._roots.get(r);if(null!=e&&(e.refCount--,0===e.refCount)){var i=t._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=i&&e.fetchTime<=Date.now()-i)t._roots.delete(r),t.scheduleGC();else if(t._releaseBuffer.push(r),t._releaseBuffer.length>t._gcReleaseBufferSize){var a=t._releaseBuffer.shift();t._roots.delete(a),t.scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource(),r=v.read(t,e,this._resolverCache);return u(r),r},t.notify=function(e,t){var r=this,n=this.__log;null!=n&&n({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch),c.ENABLE_RELAY_RESOLVERS&&this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var i=this.getSource(),a=[];if(this._storeSubscriptions.updateSubscriptions(i,this._updatedRecordIDs,a,e),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),null!=n&&n({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var o=e.request.identifier,s=this._roots.get(o);if(null!=s)s.epoch=this._currentWriteEpoch,s.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var l={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(o),this._roots.set(o,l)}}return a},t.publish=function(e,t){var r=this._getMutableRecordSource();!function(e,t,r,n,i,a){n&&n.forEach((function(n){var i,o=e.get(n),s=t.get(n);null!==s&&((i=null!=o?p.clone(o):null!=s?p.clone(s):null)&&(p.setValue(i,y.INVALIDATED_AT_KEY,r),a.add(n),e.set(n,i)))}));for(var o=t.getRecordIDs(),s=0;s<o.length;s++){var l=o[s],u=t.get(l),c=e.get(l);if(u&&p.freeze(u),u&&c){var d=p.getType(c)===m.REACT_FLIGHT_TYPE_NAME?u:p.update(c,u);d!==c&&(p.freeze(d),i.add(l),e.set(l,d))}else null===u?(e.delete(l),null!==c&&i.add(l)):u&&(e.set(l,u),i.add(l))}}(r,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var n=this.__log;null!=n&&n({name:"store.publish",source:e,optimistic:r===this._optimisticSource})},t.subscribe=function(e,t){return this._storeSubscriptions.subscribe(e,t)},t.holdGC=function(){var e=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;return{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return"RelayModernStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(e){var t=this,r=new Map;return e.forEach((function(e){var n,i=t.getSource().get(e);r.set(e,null!==(n=p.getInvalidationEpoch(i))&&void 0!==n?n:null)})),r.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:r}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,r=e.invalidations;if(t.get("global")!==r.get("global"))return!0;var n,a=(0,i.default)(e.dataIDs);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(t.get(o)!==r.get(o))return!0}}catch(e){a.e(e)}finally{a.f()}return!1},t.subscribeToInvalidationState=function(e,t){var r=this,n={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(n),{dispose:function(){r._invalidationSubscriptions.delete(n)}}},t._updateInvalidationSubscription=function(e,t){var r=this,n=e.callback,i=e.invalidationState.dataIDs;(t||i.some((function(e){return r._invalidatedRecordIDs.has(e)})))&&n()},t.snapshot=function(){null!=this._optimisticSource&&S(!1,"RelayModernStore: Unexpected call to snapshot() while a previous snapshot exists.");var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=_.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&S(!1,"RelayModernStore: Unexpected call to restore(), expected a snapshot to exist (make sure to call snapshot()).");var e=this.__log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions()},t.scheduleGC=function(){this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},t._collect=function*(){e:for(;;){var e,t=this._currentWriteEpoch,r=new Set,n=(0,i.default)(this._roots.values());try{for(n.s();!(e=n.n()).done;){var a=e.value.operation.root;if(g.mark(this._recordSource,a,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(e){n.e(e)}finally{n.f()}var o=this.__log;if(null!=o&&o({name:"store.gc",references:r}),0===r.size)this._recordSource.clear();else for(var s=this._recordSource.getRecordIDs(),l=0;l<s.length;l++){var u=s[l];r.has(u)||this._recordSource.remove(u)}return}},e}();e.exports=A},function(e,t,r){"use strict";var n=Promise.resolve();function i(e){setTimeout((function(){throw e}),0)}e.exports=function(e){n.then(e).catch(i)}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(51),a=r(52),o=r(33),s=r(6),l=r(5),u=r(9).isClientID,c=r(58),d=r(91),f=r(12).getLocalVariables,h=r(8),p=r(25),_=p.EXISTENT,v=p.UNKNOWN,g=r(21),m=r(2),E=r(26),y=E.generateTypeID,R=E.TYPE_SCHEMA_TYPE,b=r(0),I=s.ACTOR_CHANGE,D=s.CONDITION,S=s.CLIENT_COMPONENT,A=s.CLIENT_EXTENSION,T=s.DEFER,k=s.FLIGHT_FIELD,N=s.FRAGMENT_SPREAD,O=s.INLINE_FRAGMENT,F=s.LINKED_FIELD,L=s.LINKED_HANDLE,P=s.MODULE_IMPORT,x=s.RELAY_RESOLVER,C=s.SCALAR_FIELD,w=s.SCALAR_HANDLE,M=s.STREAM,U=s.TYPE_DISCRIMINATOR,V=m.ROOT_ID,j=m.getModuleOperationKey,q=m.getStorageKey,G=m.getArgumentValues;var H=function(){function e(e,t,r,n,i,a,o,s){this._getSourceForActor=e,this._getTargetForActor=t,this._getDataID=o,this._source=e(r),this._mutatorRecordSourceProxyCache=new Map;var l=this._getMutatorAndRecordProxyForActor(r),u=l[0],c=l[1];this._mostRecentlyInvalidatedAt=null,this._handlers=i,this._mutator=u,this._operationLoader=null!=a?a:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=n,this._shouldProcessClientComponents=s}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(e){var t=this._mutatorRecordSourceProxyCache.get(e);if(null==t){var r=this._getTargetForActor(e),n=new i(this._getSourceForActor(e),r);t=[n,new a(n,this._getDataID,void 0,this._handlers)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return this._assignClientAbstractTypes(e),this._traverse(e,t),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||b(!1,"RelayAsyncLoader(): Undefined variable `%s`.",e),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!u(t)){var r,i=null!=e.args?G(e.args,this._variables):{},a=(0,n.default)(this._handlers);try{for(a.s();!(r=a.n()).done;){var o=r.value;if("scalar"===o.kind){var s=o.handle(e,this._recordSourceProxy.get(t),i,this._recordSourceProxy);if(void 0!==s)return s}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=null!=e.args?G(e.args,this._variables):{},a=(0,n.default)(this._handlers);try{for(a.s();!(r=a.n()).done;){var o=r.value;if("linked"===o.kind){var s=o.handle(e,this._recordSourceProxy.get(t),i,this._recordSourceProxy);if(void 0!==s&&(null===s||this._mutator.getStatus(s)===_))return s}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,a=null!=e.args?G(e.args,this._variables):{},o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var s=r.value;if("pluralLinked"===s.kind){var l=s.handle(e,this._recordSourceProxy.get(t),a,this._recordSourceProxy);if(null!=l){if(l.every((function(e){return null!=e&&i._mutator.getStatus(e)===_})))return l}else if(null===l)return null}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===v&&this._handleMissing(),r===_){var n=this._source.get(t),i=h.getInvalidationEpoch(n);null!=i&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,i):i),this._traverseSelections(e.selections,t)}},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case C:r._checkScalar(n,t);break;case F:n.plural?r._checkPluralLink(n,t):r._checkLink(n,t);break;case I:r._checkActorChange(n.linkedField,t);break;case D:Boolean(r._getVariableValue(n.condition))===n.passingValue&&r._traverseSelections(n.selections,t);break;case O:var i=n.abstractKey;if(null==i){r._mutator.getType(t)===n.type&&r._traverseSelections(n.selections,t)}else{var a=r._mutator.getType(t);null==a&&b(!1,"DataChecker: Expected record `%s` to have a known type",t);var o=y(a),s=r._mutator.getValue(o,i);!0===s?r._traverseSelections(n.selections,t):null==s&&r._handleMissing()}break;case L:var u=c(n,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case w:var h=d(n,e,r._variables);r._checkScalar(h,t);break;case P:r._checkModuleImport(n,t);break;case T:case M:r._traverseSelections(n.selections,t);break;case N:var p=r._variables;r._variables=f(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=p;break;case A:var _=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=_;break;case U:var v=n.abstractKey,g=r._mutator.getType(t);null==g&&b(!1,"DataChecker: Expected record `%s` to have a known type",t);var m=y(g);null==r._mutator.getValue(m,v)&&r._handleMissing();break;case k:if(!l.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._checkFlightField(n,t);break;case S:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;case x:n.fragment&&r._traverseSelections([n.fragment],t);break;default:b(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",n.kind)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&b(!1,"DataChecker: Expected an operationLoader to be configured when using `@module`.");var n=j(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var a=r.get(i);if(null!=a){var s=o(a),l=this._variables;this._variables=f(this._variables,s.argumentDefinitions,e.args),this._traverse(s,t),this._variables=l}else this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=q(e,this._variables),n=this._mutator.getValue(t,r);void 0===n&&void 0!==(n=this._handleMissingScalarField(e,t))&&this._mutator.setValue(t,r,n)},t._checkLink=function(e,t){var r=q(e,this._variables),n=this._mutator.getLinkedRecordID(t,r);void 0===n&&(null!=(n=this._handleMissingLinkField(e,t))?this._mutator.setLinkedRecordID(t,r,n):null===n&&this._mutator.setValue(t,r,null)),null!=n&&this._traverse(e,n)},t._checkPluralLink=function(e,t){var r=this,n=q(e,this._variables),i=this._mutator.getLinkedRecordIDs(t,n);void 0===i&&(null!=(i=this._handleMissingPluralLinkField(e,t))?this._mutator.setLinkedRecordIDs(t,n,i):null===i&&this._mutator.setValue(t,n,null)),i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._checkActorChange=function(e,t){var r=q(e,this._variables),n=this._source.get(t),i=null!=n?h.getActorLinkedRecordID(n,r):n;if(null==i)void 0===i&&this._handleMissing();else{var a=i[0],o=i[1],s=this._source,l=this._mutator,u=this._recordSourceProxy,c=this._getMutatorAndRecordProxyForActor(a),d=c[0],f=c[1];this._source=this._getSourceForActor(a),this._mutator=d,this._recordSourceProxy=f,this._assignClientAbstractTypes(e),this._traverse(e,o),this._source=s,this._mutator=l,this._recordSourceProxy=u}},t._checkFlightField=function(e,t){var r=q(e,this._variables),i=this._mutator.getLinkedRecordID(t,r);if(null==i)return void 0===i?void this._handleMissing():void 0;var a=this._mutator.getValue(i,g.REACT_FLIGHT_TREE_STORAGE_KEY),s=this._mutator.getValue(i,g.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(null!=a&&Array.isArray(s)){var l=this._operationLoader;null===l&&b(!1,"DataChecker: Expected an operationLoader to be configured when using React Flight.");var u,c=this._variables,d=(0,n.default)(s);try{for(d.s();!(u=d.n()).done;){var f=u.value;this._variables=f.variables;var h=l.get(f.module);if(null!=h){var p=o(h);this._traverseSelections(p.selections,V)}else this._handleMissing()}}catch(e){d.e(e)}finally{d.f()}this._variables=c}else this._handleMissing()},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var r=0,i=Object.keys(t);r<i.length;r++){var a,o=i[r],s=(0,n.default)(t[o]);try{for(s.s();!(a=s.n()).done;){var l=a.value,u=y(l);null==this._source.get(u)&&this._mutator.create(u,R),null==this._mutator.getValue(u,o)&&this._mutator.setValue(u,o,!0)}}catch(e){s.e(e)}finally{s.f()}}},e}();e.exports={check:function(e,t,r,n,i,a,o,s){var l=n.dataID,u=n.node,c=n.variables;return new H(e,t,r,c,i,a,o,s).check(u,l)}}},function(e,t,r){"use strict";var n=r(6).SCALAR_FIELD,i=r(2).getHandleStorageKey,a=r(14),o=r(0);e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));s&&s.kind===n||o(!1,"cloneRelayScalarHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=i(e,r);return{kind:"ScalarField",alias:s.alias,name:l,storageKey:l,args:null}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(7)),i=r(20),a=r(0),o=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),s=function(){function e(e){this._base=e,this._sink=i.create()}var t=e.prototype;return t.has=function(e){return this._sink.has(e)?this._sink.get(e)!==o:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===o?void 0:t}return this._base.get(e)},t.getStatus=function(e){var t=this.get(e);return void 0===t?"UNKNOWN":null===t?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=i.create(),this._sink.clear()},t.delete=function(e){this._sink.delete(e)},t.remove=function(e){this._sink.set(e,o)},t.set=function(e,t){this._sink.set(e,t)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var e=this,t=(0,n.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach((function(r){var n=e.get(r);void 0===n?delete t[r]:t[r]=n})),t},t.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();e.exports={create:function(e){return new s(e)},getOptimisticRecordIDs:function(e){return e instanceof s||a(!1,"getOptimisticRecordIDs: Instance of RelayOptimisticRecordSource is expected"),e.getOptimisticRecordIDs()}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(33),a=r(6),o=r(5),s=r(58),l=r(12).getLocalVariables,u=r(8),c=r(21),d=r(2),f=r(26).generateTypeID,h=r(0),p=r(94),_=a.ACTOR_CHANGE,v=a.CONDITION,g=a.CLIENT_COMPONENT,m=a.CLIENT_EXTENSION,E=a.DEFER,y=a.FLIGHT_FIELD,R=a.FRAGMENT_SPREAD,b=a.INLINE_FRAGMENT,I=a.LINKED_FIELD,D=a.MODULE_IMPORT,S=a.LINKED_HANDLE,A=a.SCALAR_FIELD,T=a.SCALAR_HANDLE,k=a.STREAM,N=a.TYPE_DISCRIMINATOR,O=a.RELAY_RESOLVER,F=d.ROOT_ID,L=d.getStorageKey,P=d.getModuleOperationKey;var x=function(){function e(e,t,r,n,i){this._operationLoader=null!=n?n:null,this._operationName=null,this._recordSource=e,this._references=r,this._variables=t,this._shouldProcessClientComponents=i}var t=e.prototype;return t.mark=function(e,t){"Operation"!==e.kind&&"SplitOperation"!==e.kind||(this._operationName=e.name),this._traverse(e,t)},t._traverse=function(e,t){this._references.add(t);var r=this._recordSource.get(t);null!=r&&this._traverseSelections(e.selections,r)},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||h(!1,"RelayReferenceMarker(): Undefined variable `%s`.",e),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case _:r._traverseLink(n.linkedField,t);break;case I:n.plural?r._traversePluralLink(n,t):r._traverseLink(n,t);break;case v:Boolean(r._getVariableValue(n.condition))===n.passingValue&&r._traverseSelections(n.selections,t);break;case b:if(null==n.abstractKey){var i=u.getType(t);(null!=i&&i===n.type||i===d.ROOT_TYPE)&&r._traverseSelections(n.selections,t)}else{var a=u.getType(t),c=f(a);r._references.add(c),r._traverseSelections(n.selections,t)}break;case R:var p=r._variables;r._variables=l(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=p;break;case S:var F=s(n,e,r._variables);F.plural?r._traversePluralLink(F,t):r._traverseLink(F,t);break;case E:case k:r._traverseSelections(n.selections,t);break;case A:case T:break;case N:var L=u.getType(t),P=f(L);r._references.add(P);break;case D:r._traverseModuleImport(n,t);break;case m:r._traverseSelections(n.selections,t);break;case y:if(!o.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._traverseFlightField(n,t);break;case g:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;case O:r._traverseResolverField(n,t);break;default:h(!1,"RelayReferenceMarker: Unknown AST node `%s`.",n)}}))},t._traverseResolverField=function(e,t){var r=L(e,this._variables),i=u.getLinkedRecordID(t,r);if(null!=i){this._references.add(i);var a=this._recordSource.get(i);if(null!=a){var o=p(a);if(null!=o){var s,l=(0,n.default)(o);try{for(l.s();!(s=l.n()).done;){var c=s.value;this._references.add(c)}}catch(e){l.e(e)}finally{l.f()}}}}var d=e.fragment;null!=d&&this._traverseSelections([d],t)},t._traverseModuleImport=function(e,t){var r,n=this._operationLoader;null===n&&h(!1,"RelayReferenceMarker: Expected an operationLoader to be configured when using `@module`. Could not load fragment `%s` in operation `%s`.",e.fragmentName,null!==(r=this._operationName)&&void 0!==r?r:"(unknown)");var a=P(e.documentName),o=u.getValue(t,a);if(null!=o){var s=n.get(o);if(null!=s){var c=i(s),d=this._variables;this._variables=l(this._variables,c.argumentDefinitions,e.args),this._traverseSelections(c.selections,t),this._variables=d}}},t._traverseLink=function(e,t){var r=L(e,this._variables),n=u.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=L(e,this._variables),i=u.getLinkedRecordIDs(t,n);null!=i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._traverseFlightField=function(e,t){var r=L(e,this._variables),a=u.getLinkedRecordID(t,r);if(null!=a){this._references.add(a);var o=this._recordSource.get(a);if(null!=o){var s=u.getValue(o,c.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(Array.isArray(s)){var l=this._operationLoader;null===l&&h(!1,"DataChecker: Expected an operationLoader to be configured when using React Flight");var d,f=this._variables,p=(0,n.default)(s);try{for(p.s();!(d=p.n()).done;){var _=d.value;this._variables=_.variables;var v=_.module,g=l.get(v);if(null!=g){var m=i(g);this._traverse(m,F)}}}catch(e){p.e(e)}finally{p.f()}this._variables=f}}}},e}();e.exports={mark:function(e,t,r,n,i){var a=t.dataID,o=t.node,s=t.variables;new x(e,s,r,n,i).mark(o,a)}}},function(e,t,r){"use strict";var n=r(0),i=r(2).RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,a=r(8);e.exports=function(e){var t=a.getValue(e,i);return null==t?null:(t instanceof Set||n(!1,"getOutputTypeRecordIDs: Expected the `%s` field on record `%s` to be of type Set. Instead, it is a %s.",i,typeof t),new Set(t))}},function(e,t,r){"use strict";var n=r(18),i=r(24),a=r(5),o=r(96),s=r(34),l=function(){function e(e,t){this._subscriptions=new Set,this.__log=e,this._resolverCache=t}var t=e.prototype;return t.subscribe=function(e,t){var r=this,n={backup:null,callback:t,snapshot:e,stale:!1};return this._subscriptions.add(n),{dispose:function(){r._subscriptions.delete(n)}}},t.snapshotSubscriptions=function(e){var t=this;this._subscriptions.forEach((function(r){if(r.stale){var n=r.snapshot,a=s.read(e,n.selector,t._resolverCache),o=i(n.data,a.data);a.data=o,r.backup=a}else r.backup=r.snapshot}))},t.restoreSubscriptions=function(){this._subscriptions.forEach((function(e){var t=e.backup;e.backup=null,t?(t.data!==e.snapshot.data&&(e.stale=!0),e.snapshot={data:e.snapshot.data,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors}):e.stale=!0}))},t.updateSubscriptions=function(e,t,r,n){var i=this,a=0!==t.size;this._subscriptions.forEach((function(o){var s=i._updateSubscription(e,o,t,a,n);null!=s&&r.push(s)}))},t._updateSubscription=function(e,t,r,l,u){var c=t.backup,d=t.callback,f=t.snapshot,h=t.stale,p=l&&o(f.seenRecords,r);if(h||p){var _=p||!c?s.read(e,f.selector,this._resolverCache):c;return _={data:i(f.data,_.data),isMissingData:_.isMissingData,missingClientEdges:_.missingClientEdges,missingLiveResolverFields:_.missingLiveResolverFields,seenRecords:_.seenRecords,selector:_.selector,missingRequiredFields:_.missingRequiredFields,relayResolverErrors:_.relayResolverErrors},n(_),t.snapshot=_,t.stale=!1,_.data!==f.data?(this.__log&&a.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:u,snapshot:f,nextSnapshot:_}),d(_),f.selector.owner):void 0}},e}();e.exports=l},function(e,t,r){"use strict";var n=Symbol.iterator;e.exports=function(e,t){for(var r=e[n](),i=r.next();!i.done;){var a=i.value;if(t.has(a))return!0;i=r.next()}return!1}},function(e,t,r){"use strict";var n=r(23),i=r(10).getRequest,a=r(13).createOperationDescriptor,o=r(11).createReaderSelector,s=r(3);e.exports=function(e,t){var r=i(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var l=t.configs,u=t.onCompleted,c=t.onError,d=t.onNext,f=t.variables,h=t.cacheConfig,p=a(r,f,h);s(!(t.updater&&l),"requestSubscription: Expected only one of `updater` and `configs` to be provided");var _=(l?n.convert(l,r,null,t.updater):t).updater;return{dispose:e.executeSubscription({operation:p,updater:_}).subscribe({next:function(t){if(null!=d){var r,n,i,a,s=p.fragment;if(Array.isArray(t))r=null===(n=t[0])||void 0===n||null===(i=n.extensions)||void 0===i?void 0:i.__relay_subscription_root_id;else r=null===(a=t.extensions)||void 0===a?void 0:a.__relay_subscription_root_id;"string"==typeof r&&(s=o(s.node,r,s.variables,s.owner));var l=e.lookup(s).data;d(l)}},error:c,complete:u}).unsubscribe}}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(7)),i=r(2),a=i.getModuleComponentKey,o=i.getModuleOperationKey;e.exports=function(e,t,r,i){var s=(0,n.default)({},i);return s[a(e)]=r,s[o(e)]=t,s}},function(e,t,r){"use strict";var n=r(11),i=n.getDataIDsFromFragment,a=n.getSelector,o=n.getVariablesFromFragment,s=r(100),l=r(5),u=r(17),c=r(35).intern;e.exports=function(e,t){var r=a(e,t),n=null==r?"null":"SingularReaderSelector"===r.kind?r.owner.identifier:"["+r.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",d=o(e,t),f=i(e,t);if(l.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var h=void 0===f?"missing":null==f?"null":Array.isArray(f)?"["+f.join(",")+"]":f;return h=l.STRING_INTERN_LEVEL<=1?h:c(h,l.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+(null==d||s(d)?"{}":JSON.stringify(u(d)))+"/"+h}var p,_=null!==(p=JSON.stringify(f))&&void 0!==p?p:"missing";return _=l.STRING_INTERN_LEVEL<=1?_:c(_,l.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+JSON.stringify(u(d))+"/"+_}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;e.exports=function(e){for(var t in e)if(n.call(e,t))return!1;return!0}},function(e,t,r){"use strict";var n=r(59),i=r(0);e.exports=function(e,t){var r,a,o=n(e,t),s=o.refetchableRequest,l=o.refetchMetadata,u=l.connection;null==u&&i(!1,"Relay: getPaginationMetadata(): Expected fragment `%s` to include a connection when using `%s`. Did you forget to add a @connection directive to the connection field in the fragment?",t,e.name);var c=u.path,d=(null!==(r=null===(a=e.metadata)||void 0===a?void 0:a.connection)&&void 0!==r?r:[])[0];null==d&&i(!1,"Relay: getPaginationMetadata(): Expected fragment `%s` to include a connection when using `%s`. Did you forget to add a @connection directive to the connection field in the fragment?",t,e.name);var f=l.identifierField;return null!=f&&"string"!=typeof f&&i(!1,"Relay: getRefetchMetadata(): Expected `identifierField` to be a string."),{connectionPathInFragmentData:c,identifierField:f,paginationRequest:s,paginationMetadata:u,stream:!0===d.stream}}},function(e,t,r){"use strict";var n=r(1).default,i=n(r(19)),a=n(r(7)),o=r(0),s=r(3);e.exports=function(e,t,r,n,l,u){var c,d=u.backward,f=u.forward;if("backward"===e){var h;(null==d||null==d.count||null==d.cursor)&&o(!1,"Relay: Expected backward pagination metadata to be available. If you're seeing this, this is likely a bug in Relay."),s(!l.hasOwnProperty(d.cursor),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain cursor variable `%s`. This variable is automatically determined by Relay.",d.cursor),s(!l.hasOwnProperty(d.count),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain count variable `%s`. This variable is automatically determined by Relay.",d.count);var p=(0,a.default)((0,a.default)((0,a.default)({},n),l),{},(h={},(0,i.default)(h,d.cursor,r),(0,i.default)(h,d.count,t),h));return f&&f.cursor&&(p[f.cursor]=null),f&&f.count&&(p[f.count]=null),p}(null==f||null==f.count||null==f.cursor)&&o(!1,"Relay: Expected forward pagination metadata to be available. If you're seeing this, this is likely a bug in Relay."),s(!l.hasOwnProperty(f.cursor),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain cursor variable `%s`. This variable is automatically determined by Relay.",f.cursor),s(!l.hasOwnProperty(f.count),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain count variable `%s`. This variable is automatically determined by Relay.",f.count);var _=(0,a.default)((0,a.default)((0,a.default)({},n),l),{},(c={},(0,i.default)(c,f.cursor,r),(0,i.default)(c,f.count,t),c));return d&&d.cursor&&(_[d.cursor]=null),d&&d.count&&(_[d.count]=null),_}},function(e,t,r){"use strict";var n=(0,r(1).default)(r(4)),i=r(0);e.exports=function(e,t){var r,a=e,o=(0,n.default)(t);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(null==a)return null;"number"==typeof s?(Array.isArray(a)||i(!1,"Relay: Expected an array when extracting value at path. If you're seeing this, this is likely a bug in Relay."),a=a[s]):(("object"!=typeof a||Array.isArray(a))&&i(!1,"Relay: Expected an object when extracting value at path. If you're seeing this, this is likely a bug in Relay."),a=a[s])}}catch(e){o.e(e)}finally{o.f()}return a}},function(e,t,r){"use strict";var n={},i={stop:function(){}},a={profile:function(e,t){var r=n[e];if(r&&r.length>0){for(var a=[],o=r.length-1;o>=0;o--){var s=r[o](e,t);a.unshift(s)}return{stop:function(e){a.forEach((function(t){return t(e)}))}}}return i},attachProfileHandler:function(e,t){n.hasOwnProperty(e)||(n[e]=[]),n[e].push(t)},detachProfileHandler:function(e,t){var r,i,a;n.hasOwnProperty(e)&&(r=n[e],i=t,-1!==(a=r.indexOf(i))&&r.splice(a,1))}};e.exports=a}])}));
|
package/relay-runtime.min.js
CHANGED