relay-runtime 11.0.2 → 12.0.0

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.
Files changed (100) hide show
  1. package/index.js +1 -1
  2. package/index.js.flow +16 -1
  3. package/lib/index.js +15 -0
  4. package/lib/multi-actor-environment/ActorIdentifier.js +11 -1
  5. package/lib/multi-actor-environment/ActorSpecificEnvironment.js +59 -19
  6. package/lib/multi-actor-environment/ActorUtils.js +27 -0
  7. package/lib/multi-actor-environment/MultiActorEnvironment.js +305 -55
  8. package/lib/multi-actor-environment/index.js +5 -1
  9. package/lib/mutations/RelayRecordSourceSelectorProxy.js +6 -1
  10. package/lib/mutations/commitMutation.js +4 -1
  11. package/lib/mutations/validateMutation.js +6 -1
  12. package/lib/network/RelayObservable.js +3 -1
  13. package/lib/network/RelayQueryResponseCache.js +19 -3
  14. package/lib/network/wrapNetworkWithLogObserver.js +78 -0
  15. package/lib/store/DataChecker.js +110 -40
  16. package/lib/store/OperationExecutor.js +478 -204
  17. package/lib/store/RelayConcreteVariables.js +21 -0
  18. package/lib/store/RelayModernEnvironment.js +41 -85
  19. package/lib/store/RelayModernFragmentSpecResolver.js +48 -22
  20. package/lib/store/RelayModernRecord.js +35 -1
  21. package/lib/store/RelayModernStore.js +48 -14
  22. package/lib/store/RelayOperationTracker.js +33 -23
  23. package/lib/store/RelayPublishQueue.js +23 -5
  24. package/lib/store/RelayReader.js +138 -44
  25. package/lib/store/RelayRecordSource.js +87 -3
  26. package/lib/store/RelayReferenceMarker.js +28 -15
  27. package/lib/store/RelayResponseNormalizer.js +164 -91
  28. package/lib/store/RelayStoreReactFlightUtils.js +1 -7
  29. package/lib/store/RelayStoreSubscriptions.js +8 -5
  30. package/lib/store/RelayStoreUtils.js +7 -2
  31. package/lib/store/ResolverCache.js +213 -0
  32. package/lib/store/ResolverFragments.js +1 -1
  33. package/lib/store/createRelayContext.js +1 -1
  34. package/lib/subscription/requestSubscription.js +27 -29
  35. package/lib/util/RelayConcreteNode.js +1 -0
  36. package/lib/util/RelayFeatureFlags.js +3 -5
  37. package/lib/util/RelayReplaySubject.js +21 -6
  38. package/lib/util/getPaginationMetadata.js +41 -0
  39. package/lib/util/getPaginationVariables.js +67 -0
  40. package/lib/util/getPendingOperationsForFragment.js +55 -0
  41. package/lib/util/getRefetchMetadata.js +36 -0
  42. package/lib/util/getValueAtPath.js +51 -0
  43. package/lib/util/isEmptyObject.js +1 -1
  44. package/lib/util/registerEnvironmentWithDevTools.js +26 -0
  45. package/lib/util/withDuration.js +31 -0
  46. package/multi-actor-environment/ActorIdentifier.js.flow +17 -1
  47. package/multi-actor-environment/ActorSpecificEnvironment.js.flow +72 -44
  48. package/multi-actor-environment/ActorUtils.js.flow +33 -0
  49. package/multi-actor-environment/MultiActorEnvironment.js.flow +332 -80
  50. package/multi-actor-environment/MultiActorEnvironmentTypes.js.flow +61 -12
  51. package/multi-actor-environment/index.js.flow +3 -0
  52. package/mutations/RelayRecordSourceSelectorProxy.js.flow +7 -2
  53. package/mutations/commitMutation.js.flow +2 -0
  54. package/mutations/validateMutation.js.flow +8 -0
  55. package/network/RelayObservable.js.flow +2 -0
  56. package/network/RelayQueryResponseCache.js.flow +31 -18
  57. package/network/wrapNetworkWithLogObserver.js.flow +99 -0
  58. package/package.json +1 -1
  59. package/relay-runtime.js +2 -2
  60. package/relay-runtime.min.js +2 -2
  61. package/store/ClientID.js.flow +5 -1
  62. package/store/DataChecker.js.flow +126 -35
  63. package/store/OperationExecutor.js.flow +528 -265
  64. package/store/RelayConcreteVariables.js.flow +26 -1
  65. package/store/RelayModernEnvironment.js.flow +41 -94
  66. package/store/RelayModernFragmentSpecResolver.js.flow +40 -14
  67. package/store/RelayModernOperationDescriptor.js.flow +9 -3
  68. package/store/RelayModernRecord.js.flow +49 -0
  69. package/store/RelayModernStore.js.flow +50 -12
  70. package/store/RelayOperationTracker.js.flow +56 -34
  71. package/store/RelayPublishQueue.js.flow +31 -8
  72. package/store/RelayReader.js.flow +148 -42
  73. package/store/RelayRecordSource.js.flow +72 -6
  74. package/store/RelayReferenceMarker.js.flow +29 -12
  75. package/store/RelayResponseNormalizer.js.flow +164 -48
  76. package/store/RelayStoreReactFlightUtils.js.flow +1 -7
  77. package/store/RelayStoreSubscriptions.js.flow +10 -3
  78. package/store/RelayStoreTypes.js.flow +128 -12
  79. package/store/RelayStoreUtils.js.flow +17 -3
  80. package/store/ResolverCache.js.flow +247 -0
  81. package/store/ResolverFragments.js.flow +6 -3
  82. package/store/createRelayContext.js.flow +1 -1
  83. package/subscription/requestSubscription.js.flow +41 -29
  84. package/util/NormalizationNode.js.flow +10 -3
  85. package/util/ReaderNode.js.flow +15 -1
  86. package/util/RelayConcreteNode.js.flow +1 -0
  87. package/util/RelayFeatureFlags.js.flow +8 -10
  88. package/util/RelayReplaySubject.js.flow +7 -6
  89. package/util/getPaginationMetadata.js.flow +74 -0
  90. package/util/getPaginationVariables.js.flow +112 -0
  91. package/util/getPendingOperationsForFragment.js.flow +62 -0
  92. package/util/getRefetchMetadata.js.flow +80 -0
  93. package/util/getValueAtPath.js.flow +46 -0
  94. package/util/isEmptyObject.js.flow +1 -0
  95. package/util/registerEnvironmentWithDevTools.js.flow +33 -0
  96. package/util/withDuration.js.flow +32 -0
  97. package/lib/store/RelayRecordSourceMapImpl.js +0 -107
  98. package/lib/store/RelayStoreSubscriptionsUsingMapByID.js +0 -318
  99. package/store/RelayRecordSourceMapImpl.js.flow +0 -91
  100. package/store/RelayStoreSubscriptionsUsingMapByID.js.flow +0 -283
@@ -1,9 +1,9 @@
1
1
  /**
2
- * Relay v11.0.2
2
+ * Relay v12.0.0
3
3
  *
4
4
  * Copyright (c) Facebook, Inc. and its affiliates.
5
5
  *
6
6
  * This source code is licensed under the MIT license found in the
7
7
  * LICENSE file in the root directory of this source tree.
8
8
  */
9
- !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("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,s,a,o){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=49)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";var n=r(1)(r(20)),i=r(5),s=r(27),a=r(0),o=r(14),l=i.VARIABLE,u=i.LITERAL,c=i.OBJECT_VALUE,d=i.LIST_VALUE;function h(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||a(!1),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]=h(e,t)})),r}if(e.kind===d){var n=[];return e.items.forEach((function(e){null!=e&&n.push(h(e,t))})),n}}function _(e,t){var r={};return e.forEach((function(e){r[e.name]=h(e,t)})),r}function f(e,t){if(!t)return e;var r=[];for(var n in t)if(t.hasOwnProperty(n)){var i,s=t[n];if(null!=s)r.push(n+":"+(null!==(i=JSON.stringify(s))&&void 0!==i?i:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var p={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",formatStorageKey:f,getArgumentValue:h,getArgumentValues:_,getHandleStorageKey:function(e,t){var r=e.dynamicKey,i=e.handle,a=e.key,o=e.name,l=e.args,u=e.filters,c=s(i,a,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,n.default)(d)):[r]),null===d?c:f(c,_(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=e.args,n=e.name;return r&&0!==r.length?f(n,_(r,t)):n},getStableStorageKey:function(e,t){return f(e,o(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=p},function(e,t){e.exports=r},function(e,t,r){"use strict";e.exports={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!0,ENABLE_RELAY_CONTAINERS_SUSPENSE:!0,ENABLE_PRECISE_TYPE_REFINEMENT:!1,ENABLE_REACT_FLIGHT_COMPONENT_FIELD:!1,ENABLE_REQUIRED_DIRECTIVES:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_STORE_SUBSCRIPTIONS_REFACTOR:!1,ENABLE_LOAD_QUERY_REQUEST_DEDUPING:!0,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,ENABLE_UNIQUE_SUBSCRIPTION_ROOT:!1,ENABLE_BATCHED_STORE_UPDATES:!1}},function(e,t,r){"use strict";e.exports={CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",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",RELAY_RESOLVER:"RelayResolver",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",VARIABLE:"Variable"}},function(e,t,r){"use strict";var n=0;e.exports={generateClientID:function(e,t,r){var n=e+":"+t;return null!=r&&(n+=":"+r),0!==n.indexOf("client:")&&(n="client:"+n),n},generateUniqueClientID:function(){return"".concat("client:","local:").concat(n++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t){e.exports=n},function(e,t){e.exports=i},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(15),s=r(16),a=r(0),o=(r(3),r(6).isClientID,r(2)),l=o.ID_KEY,u=o.REF_KEY,c=o.REFS_KEY,d=o.TYPENAME_KEY,h=o.INVALIDATED_AT_KEY;o.ROOT_ID;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!==d&&(t[r]=e[r])},create:function(e,t){var r={};return r[l]=e,r[d]=t,r},freeze:function(e){s(e)},getDataID:function(e){return e[l]},getInvalidationEpoch:function(e){if(null==e)return null;var t=e[h];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&r&&"string"==typeof r[u]||a(!1),r[u])},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[c])||a(!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))&&a(!1),r},merge:function(e,t){return Object.assign({},e,t)},setValue:function(e,t,r){e[t]=r},setLinkedRecordID:function(e,t,r){var n={};n[u]=r,e[t]=n},setLinkedRecordIDs:function(e,t,r){var n={};n[c]=r,e[t]=n},update:function(e,t){for(var r=null,s=Object.keys(t),a=0;a<s.length;a++){var o=s[a];!r&&i(e[o],t[o])||((r=null!==r?r:(0,n.default)({},e))[o]=t[o])}return null!==r?r:e}}},function(e,t,r){"use strict";var n=r(5),i=r(0);r(3);function s(e){var t=e;return"function"==typeof t?t=t():t.default&&(t=t.default),t}function a(e){var t=s(e);return"object"==typeof t&&null!==t&&t.kind===n.FRAGMENT}function o(e){var t=s(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}function l(e){var t=s(e);return"object"==typeof t&&null!==t&&t.kind===n.INLINE_DATA_FRAGMENT}function u(e){var t=s(e);return a(t)||i(!1),t}e.exports={getFragment:u,getNode:s,getPaginationFragment:function(e){var t,r=u(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=u(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=s(e);return o(t)||i(!1),t},getInlineDataFragment:function(e){var t=s(e);return l(t)||i(!1),t},graphql:function(e){i(!1)},isFragment:a,isRequest:o,isInlineDataFragment:l}},function(e,t,r){"use strict";var n=r(15),i=r(0),s=(r(3),r(28).getFragmentVariables),a=r(2),o=a.FRAGMENT_OWNER_KEY,l=a.FRAGMENTS_KEY,u=a.ID_KEY,c=a.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT;function d(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1);var r=t[u],n=t[l],a=t[o],d=!0===t[c];if("string"==typeof r&&"object"==typeof n&&null!==n&&"object"==typeof n[e.name]&&null!==n[e.name]&&"object"==typeof a&&null!==a){var h=a,_=n[e.name];return m(e,r,s(e,h.variables,_),h,d)}return null}function h(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?d(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)||i(!1),h(e,t)):(Array.isArray(t)&&i(!1),d(e,t))}function f(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1),function(e,t){var r=null;return t.forEach((function(t){var n=null!=t?p(e,t):null;null!=n&&(r=r||[]).push(n)})),r}(e,t)):(Array.isArray(t)&&i(!1),p(e,t))}function p(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1);var r=t[u];return"string"==typeof r?r:null}function v(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||i(!1),E(e,t)):(Array.isArray(t)&&i(!1),g(e,t)||{})}function g(e,t){var r=d(e,t);return r?r.variables:null}function E(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=g(e,t);null!=i&&Object.assign(r,i)}})),r}function m(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:i,node:e,variables:r,owner:n}}e.exports={areEqualSelectors:function(e,t){return e.owner===t.owner&&e.dataID===t.dataID&&e.node===t.node&&n(e.variables,t.variables)},createReaderSelector:m,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:f,getDataIDsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],s=t[n];r[n]=f(i,s)}return r},getSingularSelector:d,getPluralSelector:h,getSelector:_,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],s=t[n];r[n]=_(i,s)}return r},getVariablesFromSingularFragment:g,getVariablesFromPluralFragment:E,getVariablesFromFragment:v,getVariablesFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=v(e[n],t[n]);Object.assign(r,i)}return r}}},function(e,t,r){"use strict";var n=r(39),i=function(e,t){},s=function(){function e(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)?a(e):n(e)?o(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){return function(e,t){var r,n=!1,s=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function a(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var o=s({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(o)}catch(e){i(e,!0)}finally{a()}}}});try{t.start&&t.start(o)}catch(e){i(e,!0)}if(n)return o;var l=s({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),a();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{a()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{a()}}}});try{r=e(l)}catch(e){l.error(e,!0)}0;n&&a();return o}(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 s(e){this._sub=e,i.push(e)}function a(){i.splice(i.indexOf(this._sub),1),0===i.length&&n.complete()}return r.subscribe({start:s,next:function(r){try{n.closed||e.from(t(r)).subscribe({start:s,next:n.next,error:n.error,complete:a})}catch(e){n.error(e,!0)}},error:n.error,complete:a}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;return e.create((function(e){var n,i;return function s(){n=r.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(s,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 a(e){return e instanceof s?e:s.create((function(t){return e.subscribe(t)}))}function o(e){return s.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function l(e){return s.create((function(t){t.next(e),t.complete()}))}e.exports=s},function(e,t,r){"use strict";r(16);var n=r(45),i=r(28).getOperationVariables,s=r(11),a=s.createNormalizationSelector,o=s.createReaderSelector,l=r(2).ROOT_ID;function u(e,t,r){return{identifier:n(e.params,t),node:e,variables:t,cacheConfig:r}}e.exports={createOperationDescriptor:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,s=e.operation,c=i(s,t),d=u(e,c,r),h={fragment:o(e.fragment,n,c,d),request:d,root:a(s,n,c)};return h},createRequestDescriptor:u}},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){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 n=t[r];n&&"object"==typeof n&&!Object.isFrozen(n)&&e(n)})),t}},function(e,t,r){"use strict";var n=r(53),i=function(){function e(t){return e.create(t)}return e.create=function(e){return new n(e)},e}();e.exports=i},function(e,t,r){"use strict";var n=r(0),i=r(9).getType;e.exports={REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY:"executableDefinitions",REACT_FLIGHT_TREE_STORAGE_KEY:"tree",REACT_FLIGHT_TYPE_NAME:"ReactFlightComponent",getReactFlightClientResponse:function(e){"ReactFlightComponent"!==i(e)&&n(!1);var t=e.tree;return null!=t?t:null},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(26),i=r(27),s=r(0),a=(r(3),r(6).generateClientID),o=r(2).getStableStorageKey;function l(e,t,r){if(null==r)return r;var i=n.get().EDGES,o=t.getValue("__connection_next_edge_index");"number"!=typeof o&&s(!1);var l=a(t.getDataID(),i,o),u=e.create(l,r.getType());return u.copyFieldsFrom(r),null==u.getValue("cursor")&&u.setValue(null,"cursor"),t.setValue(o+1,"__connection_next_edge_index"),u}function u(e,t,r){for(var i=n.get().NODE,s=0;s<e.length;s++){var a=e[s];if(a){var o=a.getLinkedRecord(i),l=o&&o.getDataID();if(l){if(r.has(l))continue;r.add(l)}t.push(a)}}}e.exports={buildConnectionEdge:l,createEdge:function(e,t,r,i){var s=n.get().NODE,o=a(t.getDataID(),r.getDataID()),l=e.get(o);return l||(l=e.create(o,i)),l.setLinkedRecord(r,s),null==l.getValue("cursor")&&l.setValue(null,"cursor"),l},deleteNode:function(e,t){var r=n.get(),i=r.EDGES,s=r.NODE,a=e.getLinkedRecords(i);if(a){for(var o,l=0;l<a.length;l++){var u=a[l],c=u&&u.getLinkedRecord(s);null!=c&&c.getDataID()===t?void 0===o&&(o=a.slice(0,l)):void 0!==o&&o.push(u)}void 0!==o&&e.setLinkedRecords(o,i)}},getConnection:function(e,t,r){var n=i("connection",t,null);return e.getLinkedRecord(n,r)},getConnectionID:function(e,t,r){var n=i("connection",t,null),s=o(n,r);return a(e,s)},insertEdgeAfter:function(e,t,r){var i=n.get(),s=i.CURSOR,a=i.EDGES,o=e.getLinkedRecords(a);if(o){var l;if(null==r)l=o.concat(t);else{l=[];for(var u=!1,c=0;c<o.length;c++){var d=o[c];if(l.push(d),null!=d)r===d.getValue(s)&&(l.push(t),u=!0)}u||l.push(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},insertEdgeBefore:function(e,t,r){var i=n.get(),s=i.CURSOR,a=i.EDGES,o=e.getLinkedRecords(a);if(o){var l;if(null==r)l=[t].concat(o);else{l=[];for(var u=!1,c=0;c<o.length;c++){var d=o[c];if(null!=d)r===d.getValue(s)&&(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=n.get(),s=i.EDGES,o=i.END_CURSOR,c=i.HAS_NEXT_PAGE,d=i.HAS_PREV_PAGE,h=i.PAGE_INFO,_=i.PAGE_INFO_TYPE,f=i.START_CURSOR,p=r.getLinkedRecord(t.fieldKey),v=p&&p.getLinkedRecord(h);if(p){var g=a(r.getDataID(),t.handleKey),E=r.getLinkedRecord(t.handleKey),m=null!=E?E:e.get(g),b=m&&m.getLinkedRecord(h);if(m){null==E&&r.setLinkedRecord(m,t.handleKey);var y=m,R=p.getLinkedRecords(s);R&&(R=R.map((function(t){return l(e,y,t)})));var I=y.getLinkedRecords(s),D=y.getLinkedRecord(h);y.copyFieldsFrom(p),I&&y.setLinkedRecords(I,s),D&&y.setLinkedRecord(D,h);var S=[],T=t.args;if(I&&R)if(null!=T.after){if(!b||T.after!==b.getValue(o))return;var N=new Set;u(I,S,N),u(R,S,N)}else if(null!=T.before){if(!b||T.before!==b.getValue(f))return;var F=new Set;u(R,S,F),u(I,S,F)}else S=R;else S=R||I;if(null!=S&&S!==I&&y.setLinkedRecords(S,s),b&&v)if(null==T.after&&null==T.before)b.copyFieldsFrom(v);else if(null!=T.before||null==T.after&&T.last){b.setValue(!!v.getValue(d),d);var k=v.getValue(f);"string"==typeof k&&b.setValue(k,f)}else if(null!=T.after||null==T.before&&T.first){b.setValue(!!v.getValue(c),c);var O=v.getValue(o);"string"==typeof O&&b.setValue(O,o)}}else{var A=e.create(g,p.getType());A.setValue(0,"__connection_next_edge_index"),A.copyFieldsFrom(p);var P=p.getLinkedRecords(s);P&&(P=P.map((function(t){return l(e,A,t)})),A.setLinkedRecords(P,s)),r.setLinkedRecord(A,t.handleKey),(b=e.create(a(A.getDataID(),h),_)).setValue(!1,c),b.setValue(!1,d),b.setValue(null,o),b.setValue(null,f),v&&b.copyFieldsFrom(v),A.setLinkedRecord(b,h)}}else r.setValue(null,t.handleKey)}}}},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(1)(r(7)),i=r(19),s=(r(3),Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"})),a=Object.freeze({APPEND:"append",PREPEND:"prepend"});function o(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:s,RangeOperations:a,convert:function(e,t,r,s){var a=r?[r]:[],l=s?[s]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=o(t);if(!n)return null;return function(e,t){var i=e.getRootField(n);if(i){var s=i.getValue(r);(Array.isArray(s)?s:[s]).forEach((function(t){t&&"string"==typeof t&&e.delete(t)}))}}}(e,t);r&&(a.push(r),l.push(r));break;case"RANGE_ADD":var s=function(e,t){var r=e.parentID,s=e.connectionInfo,a=e.edgeName;if(!r)return null;var l=o(t);if(!s||!l)return null;return function(e,t){var o=e.get(r);if(o){var u=e.getRootField(l);if(u){var c,d=u.getLinkedRecord(a),h=(0,n.default)(s);try{for(h.s();!(c=h.n()).done;){var _=c.value;if(d){var f=i.getConnection(o,_.key,_.filters);if(f){var p=i.buildConnectionEdge(e,f,d);if(p)switch(_.rangeBehavior){case"append":i.insertEdgeAfter(f,p);break;case"prepend":i.insertEdgeBefore(f,p)}}}}}catch(e){h.e(e)}finally{h.f()}}}}}(e,t);s&&(a.push(s),l.push(s));break;case"RANGE_DELETE":var u=function(e,t){var r=e.parentID,s=e.connectionKeys,a=e.pathToConnection,l=e.deletedIDFieldName;if(!r)return null;var u=o(t);if(!u)return null;return function(e,t){if(t){var o=[],c=t[u];if(c&&Array.isArray(l)){var d,h=(0,n.default)(l);try{for(h.s();!(d=h.n()).done;){var _=d.value;c&&"object"==typeof c&&(c=c[_])}}catch(e){h.e(e)}finally{h.f()}Array.isArray(c)?c.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&o.push(e.id)})):c&&c.id&&"string"==typeof c.id&&o.push(c.id)}else c&&"string"==typeof l&&"object"==typeof c&&("string"==typeof(c=c[l])?o.push(c):Array.isArray(c)&&c.forEach((function(e){"string"==typeof e&&o.push(e)})));!function(e,t,r,s,a){var o=s.get(e);if(!o)return;if(r.length<2)return;for(var l=o,u=1;u<r.length-1;u++)l&&(l=l.getLinkedRecord(r[u]));if(!t||!l)return;var c,d=(0,n.default)(t);try{var h=function(){var e=c.value,t=i.getConnection(l,e.key,e.filters);t&&a.forEach((function(e){i.deleteNode(t,e)}))};for(d.s();!(c=d.n()).done;)h()}catch(e){d.e(e)}finally{d.f()}}(r,s,a,e,o)}}}(e,t);u&&(a.push(u),l.push(u))}})),{optimisticUpdater:function(e,t){a.forEach((function(r){r(e,t)}))},updater:function(e,t){l.forEach((function(r){r(e,t)}))}}}}},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(1)(r(25)),i=r(4),s=r(9),a=r(0),o=r(5),l=o.CLIENT_EXTENSION,u=o.CONDITION,c=o.DEFER,d=o.FLIGHT_FIELD,h=o.FRAGMENT_SPREAD,_=o.INLINE_DATA_FRAGMENT_SPREAD,f=o.INLINE_FRAGMENT,p=o.LINKED_FIELD,v=o.MODULE_IMPORT,g=o.REQUIRED_FIELD,E=o.RELAY_RESOLVER,m=o.SCALAR_FIELD,b=o.STREAM,y=r(18).getReactFlightClientResponse,R=r(2),I=R.FRAGMENTS_KEY,D=R.FRAGMENT_OWNER_KEY,S=R.FRAGMENT_PROP_NAME_KEY,T=R.ID_KEY,N=R.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,F=R.MODULE_COMPONENT_KEY,k=R.ROOT_ID,O=R.getArgumentValues,A=R.getStorageKey,P=R.getModuleComponentKey,L=r(56).withResolverContext,C=r(23).generateTypeID;var M=function(){function e(e,t){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}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,n=e.isWithinUnmatchedTypeRefinement,a=t.abstractKey,o=this._recordSource.get(r),l=!n;l&&null==a&&null!=o&&(s.getType(o)!==t.type&&r!==k&&(l=!1));if(l&&null!=a&&null!=o&&i.ENABLE_PRECISE_TYPE_REFINEMENT){var u=s.getType(o),c=C(u),d=this._recordSource.get(c),h=null!=d?s.getValue(d,a):null;!1===h?l=!1:null==h&&(this._isMissingData=!0)}return this._isWithinUnmatchedTypeRefinement=!l,{data:this._traverse(t,r,null),isMissingData:this._isMissingData&&l,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords.add(t),null==n)return void 0===n&&(this._isMissingData=!0),n;var i=r||{};return this._traverseSelections(e.selections,n,i)?i:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||a(!1),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._selector.node.name;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:i}});case"LOG":return null==this._missingRequiredFields&&(this._missingRequiredFields={action:t,fields:[]}),void this._missingRequiredFields.fields.push({path:e,owner:i})}}},t._traverseSelections=function(e,t,r){for(var n=0;n<e.length;n++){var o=e[n];switch(o.kind){case g:if(i.ENABLE_REQUIRED_DIRECTIVES||a(!1),null==this._readRequiredField(o,t,r)){var y=o.action;return"NONE"!==y&&this._maybeReportUnexpectedNull(o.path,y,t),!1}break;case m:this._readScalar(o,t,r);break;case p:o.plural?this._readPluralLink(o,t,r):this._readLink(o,t,r);break;case u:if(this._getVariableValue(o.condition)===o.passingValue)if(!this._traverseSelections(o.selections,t,r))return!1;break;case f:var R=o.abstractKey;if(null==R){var I=s.getType(t);if(null!=I&&I===o.type)if(!this._traverseSelections(o.selections,t,r))return!1}else if(i.ENABLE_PRECISE_TYPE_REFINEMENT){var D=this._isMissingData,S=this._isWithinUnmatchedTypeRefinement,T=s.getType(t),N=C(T),F=this._recordSource.get(N),k=null!=F?s.getValue(F,R):null;this._isWithinUnmatchedTypeRefinement=S||!1===k,this._traverseSelections(o.selections,t,r),this._isWithinUnmatchedTypeRefinement=S,!1===k?this._isMissingData=D:null==k&&(this._isMissingData=!0)}else this._traverseSelections(o.selections,t,r);break;case E:if(!i.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(o,t,r);break;case h:this._createFragmentPointer(o,t,r);break;case v:this._readModuleImport(o,t,r);break;case _:this._createInlineDataOrResolverFragmentPointer(o,t,r);break;case c:case l:var O=this._isMissingData,A=this._traverseSelections(o.selections,t,r);if(this._isMissingData=O,!A)return!1;break;case b:if(!this._traverseSelections(o.selections,t,r))return!1;break;case d:if(!i.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._readFlightField(o,t,r);break;default:a(!1)}}return!0},t._readRequiredField=function(e,t,r){switch(e.field.kind){case m:return this._readScalar(e.field,t,r);case p:return e.field.plural?this._readPluralLink(e.field,t,r):this._readLink(e.field,t,r);default:e.field.kind,a(!1)}},t._readResolverField=function(e,t,r){var i=this,o=e.name,l=e.alias,u=e.resolverModule,c=e.fragment,d={__id:s.getDataID(t),__fragmentOwner:this._owner,__fragments:(0,n.default)({},c.name,{})},h=L({getDataForResolverFragment:function(e){var r,n={};i._createInlineDataOrResolverFragmentPointer(e.node,t,n);var s=null===(r=n[I])||void 0===r?void 0:r[c.name];return("object"!=typeof s||null===s)&&a(!1),s}},(function(){return u(d)}));return r[null!=l?l:o]=h,h},t._readFlightField=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=A(e,this._variables),o=s.getLinkedRecordID(t,a);if(null==o)return r[i]=o,void 0===o&&(this._isMissingData=!0),o;var l=this._recordSource.get(o);if(this._seenRecords.add(o),null==l)return r[i]=l,void 0===l&&(this._isMissingData=!0),l;var u=y(l);return r[i]=u,u},t._readScalar=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=A(e,this._variables),o=s.getValue(t,a);return void 0===o&&(this._isMissingData=!0),r[i]=o,o},t._readLink=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,o=A(e,this._variables),l=s.getLinkedRecordID(t,o);if(null==l)return r[i]=l,void 0===l&&(this._isMissingData=!0),l;var u=r[i];null!=u&&"object"!=typeof u&&a(!1);var c=this._traverse(e,l,u);return r[i]=c,c},t._readPluralLink=function(e,t,r){var n,i=this,o=null!==(n=e.alias)&&void 0!==n?n:e.name,l=A(e,this._variables),u=s.getLinkedRecordIDs(t,l);if(null==u)return r[o]=u,void 0===u&&(this._isMissingData=!0),u;var c=r[o];null==c||Array.isArray(c)||a(!1);var d=c||[];return u.forEach((function(t,r){if(null==t)return void 0===t&&(i._isMissingData=!0),void(d[r]=t);var n=d[r];null!=n&&"object"!=typeof n&&a(!1),d[r]=i._traverse(e,t,n)})),r[o]=d,d},t._readModuleImport=function(e,t,r){var n=P(e.documentName),i=s.getValue(t,n);null!=i?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:null},t,r),r[S]=e.fragmentPropName,r[F]=i):void 0===i&&(this._isMissingData=!0)},t._createFragmentPointer=function(e,t,r){var n=r[I];null==n&&(n=r[I]={}),("object"!=typeof n||null==n)&&a(!1),null==r[T]&&(r[T]=s.getDataID(t)),n[e.name]=e.args?O(e.args,this._variables):{},r[D]=this._owner,i.ENABLE_PRECISE_TYPE_REFINEMENT&&(r[N]=this._isWithinUnmatchedTypeRefinement)},t._createInlineDataOrResolverFragmentPointer=function(e,t,r){var n=r[I];null==n&&(n=r[I]={}),("object"!=typeof n||null==n)&&a(!1),null==r[T]&&(r[T]=s.getDataID(t));var i={};this._traverseSelections(e.selections,t,i),n[e.name]=i},e}();e.exports={read:function(e,t){return new M(e,t).read()}}},function(e,t){e.exports=o},function(e,t,r){"use strict";var n={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},i={CLIENT_MUTATION_ID:"clientMutationId",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"},s={inject:function(e){i=e},get:function(){return i},isConnectionCall:function(e){return n.hasOwnProperty(e.name)}};e.exports=s},function(e,t,r){"use strict";var n=r(0),i=r(34).DEFAULT_HANDLE_KEY;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";var n=r(1)(r(8)),i=r(0);e.exports={getFragmentVariables:function(e,t,r){var s;return e.argumentDefinitions.forEach((function(e){if(!r.hasOwnProperty(e.name))switch(s=s||(0,n.default)({},r),e.kind){case"LocalArgument":s[e.name]=e.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(e.name)){s[e.name]=void 0;break}s[e.name]=t[e.name];break;default:i(!1)}})),s||r},getOperationVariables:function(e,t){var r={};return e.argumentDefinitions.forEach((function(e){var n=e.defaultValue;null!=t[e.name]&&(n=t[e.name]),r[e.name]=n})),r}}},function(e,t,r){"use strict";var n=r(5),i=n.REQUEST,s=n.SPLIT_OPERATION;e.exports=function(e){switch(e.kind){case i:return e.operation;case s:default:return e}}},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 s=!1,a=Array.isArray(t)?t:null,o=Array.isArray(r)?r:null;if(a&&o)s=o.reduce((function(t,r,n){var i=e(a[n],r);return i!==o[n]&&(o[n]=i),t&&i===a[n]}),!0)&&a.length===o.length;else if(!a&&!o){var l=t,u=r,c=Object.keys(l),d=Object.keys(u);s=d.reduce((function(t,r){var n=e(l[r],u[r]);return n!==u[r]&&(u[r]=n),t&&n===l[r]}),!0)&&c.length===d.length}return s?t:r}},function(e,t,r){"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},function(e,t,r){"use strict";e.exports=function(e,t){switch(t.action){case"THROW":var r=t.field,n=r.path,i=r.owner;throw e.requiredFieldLogger({kind:"missing_field.throw",owner:i,fieldPath:n}),new Error("Relay: Missing @required value at path '".concat(n,"' in '").concat(i,"'."));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(12),i=r(47),s=r(0),a="function"==typeof WeakMap?new WeakMap:new Map;function o(e,t,r){return n.create((function(a){var o=u(e),l=o.get(t);return l||r().finally((function(){return o.delete(t)})).subscribe({start:function(e){l={identifier:t,subject:new i,subjectForInFlightStatus:new i,subscription:e},o.set(t,l)},next:function(e){var r=c(o,t);r.subject.next(e),r.subjectForInFlightStatus.next(e)},error:function(e){var r=c(o,t);r.subject.error(e),r.subjectForInFlightStatus.error(e)},complete:function(){var e=c(o,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var r=c(o,t);r.subject.unsubscribe(),r.subjectForInFlightStatus.unsubscribe()}}),null==l&&s(!1),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))}}}))}(o,l).subscribe(a)}))}function l(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 u(e){var t=a.get(e);if(null!=t)return t;var r=new Map;return a.set(e,r),r}function c(e,t){var r=e.get(t);return null==r&&s(!1),r}e.exports={fetchQuery:function(e,t){return o(e,t.request.identifier,(function(){return e.execute({operation:t})}))},fetchQueryDeduped:o,getPromiseForActiveRequest:function(e,t){var r=u(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?new Promise((function(t,r){var i=!1;l(e,0,n).subscribe({complete:t,error:r,next:function(e){i&&t(e)}}),i=!0})):null},getObservableForActiveRequest:function(e,t){var r=u(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?l(e,0,n):null}}},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";var n=r(1)(r(7)),i=r(19),s=r(26),a=r(0),o=(r(3),{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)}))}}}),l={update:function(e,t){var r=e.get(t.dataID);if(null!=r){var s=t.handleArgs.connections;null==s&&a(!1);var o=r.getValue(t.fieldKey);(Array.isArray(o)?o:[o]).forEach((function(t){if("string"==typeof t){var r,a=(0,n.default)(s);try{for(a.s();!(r=a.n()).done;){var o=r.value,l=e.get(o);null!=l&&i.deleteNode(l,t)}}catch(e){a.e(e)}finally{a.f()}}}))}}},u={update:_(i.insertEdgeAfter)},c={update:_(i.insertEdgeBefore)},d={update:f(i.insertEdgeAfter)},h={update:f(i.insertEdgeBefore)};function _(e){return function(t,r){var o,l=t.get(r.dataID);if(null!=l){var u,c,d=r.handleArgs.connections;null==d&&a(!1);try{u=l.getLinkedRecord(r.fieldKey,r.args)}catch(e){}if(!u)try{c=l.getLinkedRecords(r.fieldKey,r.args)}catch(e){}if(null!=u||null!=c){var h,_=s.get(),f=_.NODE,p=_.EDGES,v=null!==(o=c)&&void 0!==o?o:[u],g=(0,n.default)(v);try{var E=function(){var r=h.value;if(null==r)return"continue";var s=r.getLinkedRecord("node");if(!s)return"continue";var o,l=s.getDataID(),u=(0,n.default)(d);try{for(u.s();!(o=u.n()).done;){var c=o.value,_=t.get(c);if(null!=_)if(!(null===(m=_.getLinkedRecords(p))||void 0===m?void 0:m.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(f))||void 0===t?void 0:t.getDataID())===l})))){var v=i.buildConnectionEdge(t,_,r);null==v&&a(!1),e(_,v)}}}catch(e){u.e(e)}finally{u.f()}};for(g.s();!(h=g.n()).done;){var m;E()}}catch(e){g.e(e)}finally{g.f()}}}}}function f(e){return function(t,r){var o,l=t.get(r.dataID);if(null!=l){var u,c,d=r.handleArgs,h=d.connections,_=d.edgeTypeName;null==h&&a(!1),null==_&&a(!1);try{u=l.getLinkedRecord(r.fieldKey,r.args)}catch(e){}if(!u)try{c=l.getLinkedRecords(r.fieldKey,r.args)}catch(e){}if(null!=u||null!=c){var f,p=s.get(),v=p.NODE,g=p.EDGES,E=null!==(o=c)&&void 0!==o?o:[u],m=(0,n.default)(E);try{var b=function(){var r=f.value;if(null==r)return"continue";var s,o=r.getDataID(),l=(0,n.default)(h);try{for(l.s();!(s=l.n()).done;){var u=s.value,c=t.get(u);if(null!=c)if(!(null===(y=c.getLinkedRecords(g))||void 0===y?void 0:y.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(v))||void 0===t?void 0:t.getDataID())===o})))){var d=i.createEdge(t,c,r,_);null==d&&a(!1),e(c,d)}}}catch(e){l.e(e)}finally{l.f()}};for(m.s();!(f=m.n()).done;){var y;b()}}catch(e){m.e(e)}finally{m.f()}}}}}e.exports={AppendEdgeHandler:u,DeleteRecordHandler:o,PrependEdgeHandler:c,AppendNodeHandler:d,PrependNodeHandler:h,DeleteEdgeHandler:l}},function(e,t,r){"use strict";var n=r(19),i=r(35),s=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}s(!1)}},function(e,t,r){"use strict";function n(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),s=3;s<n;s++)i[s-3]=arguments[s];var a=0,o=r.replace(/%s/g,(function(){return String(i[a++])})),l=new Error(o),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),s=2;s<r;s++)i[s-2]=arguments[s];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),s=2;s<r;s++)i[s-2]=arguments[s];return n.apply(void 0,["warn",e,t].concat(i))}}},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";e.exports=function(e){return!!e&&"function"==typeof e.then}},function(e,t,r){"use strict";var n=r(1)(r(7)),i=r(0),s=function(){function e(){this._ownersToPendingOperationsIdentifier=new Map,this._pendingOperationsToOwnersIdentifier=new Map,this._ownersIdentifierToPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var r,i=e.identifier,s=new Set,a=(0,n.default)(t);try{for(a.s();!(r=a.n()).done;){var o=r.value.identifier,l=this._ownersToPendingOperationsIdentifier.get(o);null!=l?l.has(i)||(l.add(i),s.add(o)):(this._ownersToPendingOperationsIdentifier.set(o,new Set([i])),s.add(o))}}catch(e){a.e(e)}finally{a.f()}if(0!==s.size){var u,c=this._pendingOperationsToOwnersIdentifier.get(i)||new Set,d=(0,n.default)(s);try{for(d.s();!(u=d.n()).done;){var h=u.value;this._resolveOwnerResolvers(h),c.add(h)}}catch(e){d.e(e)}finally{d.f()}this._pendingOperationsToOwnersIdentifier.set(i,c)}}},t.complete=function(e){var t=e.identifier,r=this._pendingOperationsToOwnersIdentifier.get(t);if(null!=r){var i,s=new Set,a=new Set,o=(0,n.default)(r);try{for(o.s();!(i=o.n()).done;){var l=i.value,u=this._ownersToPendingOperationsIdentifier.get(l);u&&(u.delete(t),u.size>0?a.add(l):s.add(l))}}catch(e){o.e(e)}finally{o.f()}var c,d=(0,n.default)(s);try{for(d.s();!(c=d.n()).done;){var h=c.value;this._resolveOwnerResolvers(h),this._ownersToPendingOperationsIdentifier.delete(h)}}catch(e){d.e(e)}finally{d.f()}var _,f=(0,n.default)(a);try{for(f.s();!(_=f.n()).done;){var p=_.value;this._resolveOwnerResolvers(p)}}catch(e){f.e(e)}finally{f.f()}this._pendingOperationsToOwnersIdentifier.delete(t)}},t._resolveOwnerResolvers=function(e){var t=this._ownersIdentifierToPromise.get(e);null!=t&&t.resolve(),this._ownersIdentifierToPromise.delete(e)},t.getPromiseForPendingOperationsAffectingOwner=function(e){var t=e.identifier;if(!this._ownersToPendingOperationsIdentifier.has(t))return null;var r,n=this._ownersIdentifierToPromise.get(t);if(null!=n)return n.promise;var s=new Promise((function(e){r=e}));return null==r&&i(!1),this._ownersIdentifierToPromise.set(t,{promise:s,resolve:r}),s},e}();e.exports=s},function(e,t,r){"use strict";var n=r(9),i=r(0),s=r(22).EXISTENT,a=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:n.clone(t):null===r?null:null!=t?n.update(t,r):n.clone(r)},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||i(!1),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),s=this._base.get(e);r||s||i(!1);var a=this._getSinkRecord(t);s&&n.copyFields(s,a),r&&n.copyFields(r,a)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===s||this._sink.getStatus(e)===s)&&i(!1);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 s=n.getValue(i,t);if(void 0!==s)return s}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 s=n.getLinkedRecordID(i,t);if(void 0!==s)return s}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 s=n.getLinkedRecordIDs(i,t);if(void 0!==s)return s}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=a},function(e,t,r){"use strict";var n=r(9),i=r(57),s=r(0),a=r(22),o=a.EXISTENT,l=a.NONEXISTENT,u=r(2),c=u.ROOT_ID,d=u.ROOT_TYPE,h=function(){function e(e,t,r){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set}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===o){var s=e.get(t);s&&(r.__mutator.getStatus(t)!==o&&r.create(t,n.getType(s)),r.__mutator.copyFieldsFromRecord(s,t))}else i===l&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||s(!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||s(!1),r},t.delete=function(e){e===c&&s(!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===o?new i(this,this.__mutator,e):t===l?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(c);return e||(e=this.create(c,d)),e&&e.getType()===d||s(!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},e}();e.exports=h},function(e,t,r){"use strict";var n=r(44),i=n.VIEWER_ID,s=n.VIEWER_TYPE;e.exports=function(e,t){return t===s&&null==e.id?i:e.id}},function(e,t,r){"use strict";var n=(0,r(6).generateClientID)(r(2).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";var n=r(0),i=r(14);e.exports=function(e,t){var r=null!=e.cacheID?e.cacheID:e.id;return null==r&&n(!1),r+JSON.stringify(i(t))}},function(e,t,r){"use strict";var n=r(15),i=r(0),s=r(5).LINKED_FIELD,a=r(2).getHandleStorageKey;e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===s&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));o&&o.kind===s||i(!1);var l=a(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 n=r(1)(r(25)),i=r(12),s=r(0),a=function(){function e(){var e=this;(0,n.default)(this,"_complete",!1),(0,n.default)(this,"_events",[]),(0,n.default)(this,"_sinks",new Set),(0,n.default)(this,"_subscription",null),this._observable=i.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)}}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){return this._subscription=this._observable.subscribe(e),this._subscription},t.unsubscribe=function(){this._subscription&&(this._subscription.unsubscribe(),this._subscription=null)},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=a},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=r(19),i=r(26),s=r(10),a=r(35),o=r(50),l=r(5),u=r(28),c=r(21),d=r(34),h=r(36),_=r(37),f=r(4),p=r(51),v=r(13),g=r(9),E=r(11),m=r(61),b=r(70),y=r(12),R=r(40),I=r(72),D=r(73),S=r(17),T=r(47),N=r(2),F=r(44),k=r(74),O=r(75),A=r(76),P=r(78),L=r(80),C=r(81),M=r(16),w=r(82),x=r(33),U=r(83),V=r(84),q=r(27),K=r(45),H=r(39),B=r(31),j=r(48),Y=r(86),G=r(30),z=r(32),Q=r(87),W=r(14),X=r(6),J=X.generateClientID,Z=X.generateUniqueClientID,$=X.isClientID;e.exports={Environment:p,Network:b,Observable:y,QueryResponseCache:D,RecordSource:S,Record:g,ReplaySubject:T,Store:m,areEqualSelectors:E.areEqualSelectors,createFragmentSpecResolver:P,createNormalizationSelector:E.createNormalizationSelector,createOperationDescriptor:v.createOperationDescriptor,createReaderSelector:E.createReaderSelector,createRequestDescriptor:v.createRequestDescriptor,getDataIDsFromFragment:E.getDataIDsFromFragment,getDataIDsFromObject:E.getDataIDsFromObject,getNode:s.getNode,getFragment:s.getFragment,getInlineDataFragment:s.getInlineDataFragment,getModuleComponentKey:N.getModuleComponentKey,getModuleOperationKey:N.getModuleOperationKey,getPaginationFragment:s.getPaginationFragment,getPluralSelector:E.getPluralSelector,getRefetchableFragment:s.getRefetchableFragment,getRequest:s.getRequest,getRequestIdentifier:K,getSelector:E.getSelector,getSelectorsFromObject:E.getSelectorsFromObject,getSingularSelector:E.getSingularSelector,getStorageKey:N.getStorageKey,getVariablesFromFragment:E.getVariablesFromFragment,getVariablesFromObject:E.getVariablesFromObject,getVariablesFromPluralFragment:E.getVariablesFromPluralFragment,getVariablesFromSingularFragment:E.getVariablesFromSingularFragment,reportMissingRequiredFields:z,graphql:s.graphql,isFragment:s.isFragment,isInlineDataFragment:s.isInlineDataFragment,isRequest:s.isRequest,readInlineData:Y,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:h,ConnectionHandler:n,MutationHandlers:a,VIEWER_ID:F.VIEWER_ID,VIEWER_TYPE:F.VIEWER_TYPE,applyOptimisticMutation:k,commitLocalUpdate:O,commitMutation:A,fetchQuery:w,fetchQuery_DEPRECATED:U,isRelayModernEnvironment:B,requestSubscription:Q,ConnectionInterface:i,PreloadableQueryRegistry:o,RelayProfiler:I,createPayloadFor3DField:L,RelayConcreteNode:l,RelayError:_,RelayFeatureFlags:f,DEFAULT_HANDLE_KEY:d.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:N.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:N.FRAGMENT_OWNER_KEY,ID_KEY:N.ID_KEY,REF_KEY:N.REF_KEY,REFS_KEY:N.REFS_KEY,ROOT_ID:N.ROOT_ID,ROOT_TYPE:N.ROOT_TYPE,TYPENAME_KEY:N.TYPENAME_KEY,deepFreeze:M,generateClientID:J,generateUniqueClientID:Z,getRelayHandleKey:q,isClientID:$,isPromise:H,isScalarAndEqual:j,recycleNodesInto:G,stableCopy:W,getFragmentIdentifier:V,__internal:{OperationTracker:R,createRelayContext:C,getOperationVariables:u.getOperationVariables,fetchQuery:x.fetchQuery,fetchQueryDeduped:x.fetchQueryDeduped,getPromiseForActiveRequest:x.getPromiseForActiveRequest,getObservableForActiveRequest:x.getObservableForActiveRequest}}},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";(function(t){var n=r(1)(r(8)),i=r(52),s=r(36),a=r(4),o=r(12),l=r(40),u=r(55),c=r(17),d=r(43),h=r(59),_=r(60),f=(r(0),function(){function e(e){var r,n,i,o,c,_,f,v,g=this;this.configName=e.configName,this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var E=e.operationLoader,m=e.reactFlightPayloadDeserializer,b=e.reactFlightServerErrorHandler;this.__log=null!==(r=e.log)&&void 0!==r?r:p,this.requiredFieldLogger=null!==(n=e.requiredFieldLogger)&&void 0!==n?n:h,this._defaultRenderPolicy=(null!==(i=e.UNSTABLE_defaultRenderPolicy)&&void 0!==i?i:!0===a.ENABLE_PARTIAL_RENDERING_DEFAULT)?"partial":"full",this._operationLoader=E,this._operationExecutions=new Map,this._network=this.__wrapNetworkWithLogObserver(e.network),this._getDataID=null!==(o=e.getDataID)&&void 0!==o?o:d,this._publishQueue=new u(e.store,null!==(c=e.handlerProvider)&&void 0!==c?c:s,this._getDataID),this._scheduler=null!==(_=e.scheduler)&&void 0!==_?_:null,this._store=e.store,this.options=e.options,this._isServer=null!==(f=e.isServer)&&void 0!==f&&f,this.__setNet=function(e){return g._network=g.__wrapNetworkWithLogObserver(e)};var y=void 0!==t?t:"undefined"!=typeof window?window:void 0,R=y&&y.__RELAY_DEVTOOLS_HOOK__;R&&R.registerEnvironment(this),this._missingFieldHandlers=e.missingFieldHandlers,this._operationTracker=null!==(v=e.operationTracker)&&void 0!==v?v:new l,this._reactFlightPayloadDeserializer=m,this._reactFlightServerErrorHandler=b,this._shouldProcessClientComponents=e.shouldProcessClientComponents}var r=e.prototype;return r.getStore=function(){return this._store},r.getNetwork=function(){return this._network},r.getOperationTracker=function(){return this._operationTracker},r.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},r.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},r.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()}))}}},r.revertUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))},r.replaceUpdate=function(e,t){var r=this;this._scheduleUpdates((function(){r._publishQueue.revertUpdate(e),r._publishQueue.applyUpdate(t),r._publishQueue.run()}))},r.applyMutation=function(e){var t=this._execute({createSource:function(){return o.create((function(e){}))},isClientPayload:!1,operation:e.operation,optimisticConfig:e,updater:null}).subscribe({});return{dispose:function(){return t.unsubscribe()}}},r.check=function(e){return null==this._missingFieldHandlers||0===this._missingFieldHandlers.length?this._store.check(e):this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers)},r.commitPayload=function(e,t){this._execute({createSource:function(){return o.from({data:t})},isClientPayload:!0,operation:e,optimisticConfig:null,updater:null}).subscribe({})},r.commitUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()}))},r.lookup=function(e){return this._store.lookup(e)},r.subscribe=function(e,t){return this._store.subscribe(e,t)},r.retain=function(e){return this._store.retain(e)},r.isServer=function(){return this._isServer},r._checkSelectorAndHandleMissingFields=function(e,t){var r=this,n=c.create(),i=this._store.check(e,{target:n,handlers:t});return n.size()>0&&this._scheduleUpdates((function(){r._publishQueue.commitSource(n),r._publishQueue.run()})),i},r._scheduleUpdates=function(e){var t=this._scheduler;null!=t?t.schedule(e):e()},r.execute=function(e){var t=this,r=e.operation,n=e.updater;return this._execute({createSource:function(){return t._network.execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:n})},r.executeMutation=function(e){var t,r=this,i=e.operation,s=e.optimisticResponse,a=e.optimisticUpdater,o=e.updater,l=e.uploadables;return(s||a)&&(t={operation:i,response:s,updater:a}),this._execute({createSource:function(){return r._network.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:o})},r.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})},r.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},r._execute=function(e){var t=this,r=e.createSource,n=e.isClientPayload,s=e.operation,a=e.optimisticConfig,l=e.updater;return o.create((function(e){var o=i.execute({getDataID:t._getDataID,isClientPayload:n,operation:s,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:a,publishQueue:t._publishQueue,reactFlightPayloadDeserializer:t._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,scheduler:t._scheduler,shouldProcessClientComponents:t._shouldProcessClientComponents,sink:e,source:r(),store:t._store,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,updater:l});return function(){return o.cancel()}}))},r.__wrapNetworkWithLogObserver=function(e){var t=this;return{execute:function(r,n,i,s){var a=_(),o=t.__log,l={start:function(e){o({name:"network.start",transactionID:a,params:r,variables:n,cacheConfig:i})},next:function(e){o({name:"network.next",transactionID:a,response:e})},error:function(e){o({name:"network.error",transactionID:a,error:e})},complete:function(){o({name:"network.complete",transactionID:a})},unsubscribe:function(){o({name:"network.unsubscribe",transactionID:a})}};return e.execute(r,n,i,s,(function(e){o({name:"network.info",transactionID:a,info:e})})).do(l)}}},e}());function p(){}f.prototype["@@RelayModernEnvironment"]=!0,e.exports=f}).call(this,r(38))},function(e,t,r){"use strict";var n=r(1),i=n(r(8)),s=n(r(7)),a=n(r(20)),o=r(37),l=r(4),u=r(9),c=r(12),d=r(17),h=r(54),_=r(29),f=r(0),p=r(14),v=(r(3),r(6)),g=v.generateClientID,E=v.generateUniqueClientID,m=r(11),b=m.createNormalizationSelector,y=m.createReaderSelector,R=r(2),I=R.ROOT_TYPE,D=R.TYPENAME_KEY,S=R.getStorageKey;var T=function(){function e(e){var t=this,r=e.operation,n=e.operationExecutions,i=e.operationLoader,s=e.optimisticConfig,a=e.publishQueue,o=e.scheduler,l=e.sink,u=e.source,c=e.store,d=e.updater,h=e.operationTracker,_=e.treatMissingFieldsAsNull,f=e.getDataID,p=e.isClientPayload,v=e.reactFlightPayloadDeserializer,g=e.reactFlightServerErrorHandler,E=e.shouldProcessClientComponents;this._getDataID=f,this._treatMissingFieldsAsNull=_,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._nextSubscriptionId=0,this._operation=r,this._operationExecutions=n,this._operationLoader=i,this._operationTracker=h,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._publishQueue=a,this._scheduler=o,this._sink=l,this._source=new Map,this._state="started",this._store=c,this._subscriptions=new Map,this._updater=d,this._isClientPayload=!0===p,this._reactFlightPayloadDeserializer=v,this._reactFlightServerErrorHandler=g,this._isSubscriptionOperation="subscription"===this._operation.request.node.params.operationKind,this._shouldProcessClientComponents=E;var m=this._nextSubscriptionId++;u.subscribe({complete:function(){return t._complete(m)},error:function(e){return t._error(e)},next:function(e){try{t._next(m,e)}catch(e){l.error(e)}},start:function(e){return t._start(m,e)}}),null!=s&&this._processOptimisticResponse(null!=s.response?{data:s.response}:null,s.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._publishQueue.revertUpdate(t)})),this._publishQueue.run()),this._incrementalResults.clear(),this._completeOperationTracker(),this._retainDisposable&&(this._retainDisposable.dispose(),this._retainDisposable=null)}},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,f(!1)}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++;c.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())},t._error=function(e){this.cancel(),this._sink.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(){r._handleNext(t),r._maybeCompleteSubscriptionOperationTracking()}))},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)",s=o.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 s.source={errors:n,operation:t._operation.request.node,variables:t._operation.request.variables},s.stack,s}var a=e;r.push(a)}})),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)}))&&f(!1),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&f(!1),!!n&&(this._processOptimisticResponse(r,null,this._treatMissingFieldsAsNull),this._sink.next(r),!0)},t._handleNext=function(e){if("completed"!==this._state){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||f(!1),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],s=n[1],a=i.length>0;if(a){var o=this._processResponses(i);if(!l.ENABLE_BATCHED_STORE_UPDATES){var u=this._publishQueue.run(this._operation);this._updateOperationTracker(u)}this._processPayloadFollowups(o),l.ENABLE_BATCHED_STORE_UPDATES||this._incrementalPayloadsPending&&!this._retainDisposable&&(this._retainDisposable=this._store.retain(this._operation))}if(s.length>0){var c=this._processIncrementalResponses(s);if(!l.ENABLE_BATCHED_STORE_UPDATES){var d=this._publishQueue.run();this._updateOperationTracker(d)}this._processPayloadFollowups(c)}if(this._isSubscriptionOperation&&l.ENABLE_UNIQUE_SUBSCRIPTION_ROOT&&(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),l.ENABLE_BATCHED_STORE_UPDATES){var h=this._publishQueue.run(a?this._operation:void 0);a&&this._incrementalPayloadsPending&&!this._retainDisposable&&(this._retainDisposable=this._store.retain(this._operation)),this._updateOperationTracker(h)}this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&f(!1),null!=e||null!=t){var i=[];if(e){var s=N(e,this._operation.root,I,{getDataID:this._getDataID,path:[],reactFlightPayloadDeserializer:this._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:r});F(s),i.push({operation:this._operation,payload:s,updater:t}),this._processOptimisticFollowups(s,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,moduleImportPayloads:null,source:d.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return n._publishQueue.applyUpdate(e)})),this._publishQueue.run()}},t._processOptimisticFollowups=function(e,t){if(e.moduleImportPayloads&&e.moduleImportPayloads.length){var r=e.moduleImportPayloads,n=this._operationLoader;n||f(!1);var i,o=(0,s.default)(r);try{for(o.s();!(i=o.n()).done;){var l=i.value,u=n.get(l.operationReference);if(null==u)this._processAsyncOptimisticModuleImport(n,l);else{var c=this._processOptimisticModuleImport(u,l);t.push.apply(t,(0,a.default)(c))}}}catch(e){o.e(e)}finally{o.f()}}},t._normalizeModuleImport=function(e,t){var r=b(t,e.dataID,e.variables);return N({data:e.data},r,e.typeName,{getDataID:this._getDataID,path:e.path,reactFlightPayloadDeserializer:this._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},t._processOptimisticModuleImport=function(e,t){var r=_(e),n=[],i=this._normalizeModuleImport(t,r);return F(i),n.push({operation:this._operation,payload:i,updater:null}),this._processOptimisticFollowups(i,n),n},t._processAsyncOptimisticModuleImport=function(e,t){var r=this;e.load(t.operationReference).then((function(e){if(null!=e&&"started"===r._state){var n,i=r._processOptimisticModuleImport(e,t);if(i.forEach((function(e){return r._publishQueue.applyUpdate(e)})),null==r._optimisticUpdates);else(n=r._optimisticUpdates).push.apply(n,(0,a.default)(i)),r._publishQueue.run()}}))},t._processResponses=function(e){var t=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach((function(e){return t._publishQueue.revertUpdate(e)})),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map((function(e){var r=N(e,t._operation.root,I,{getDataID:t._getDataID,path:[],reactFlightPayloadDeserializer:t._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,shouldProcessClientComponents:t._shouldProcessClientComponents});return t._publishQueue.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.moduleImportPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),n&&0!==n.length){var s=t._operationLoader;s||f(!1),n.forEach((function(e){t._processModuleImportPayload(e,s)}))}if(r&&0!==r.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,r.forEach((function(r){t._processIncrementalPlaceholder(e,r)})),t._isClientPayload||"loading_final"===t._state)){var a=[];if(r.forEach((function(e){"defer"===e.kind&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),a.length>0){if(!l.ENABLE_BATCHED_STORE_UPDATES){var o=t._publishQueue.run();t._updateOperationTracker(o)}t._processPayloadFollowups(a)}}}))},t._maybeCompleteSubscriptionOperationTracking=function(){if(this._isSubscriptionOperation&&(0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker(),l.ENABLE_UNIQUE_SUBSCRIPTION_ROOT)){var e=E();this._operation={request:this._operation.request,fragment:y(this._operation.fragment.node,e,this._operation.fragment.variables,this._operation.fragment.owner),root:b(this._operation.root.node,e,this._operation.root.variables)}}},t._processModuleImportPayload=function(e,t){var r=this,n=t.get(e.operationReference);if(null!=n){var i=_(n);this._handleModuleImportPayload(e,i),this._maybeCompleteSubscriptionOperationTracking()}else{var s=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var a=function(){r._pendingModulePayloadsCount--,r._maybeCompleteSubscriptionOperationTracking()};c.from(new Promise((function(r,n){t.load(e.operationReference).then(r,n)}))).map((function(t){null!=t&&r._schedule((function(){r._handleModuleImportPayload(e,_(t));var n=r._publishQueue.run();r._updateOperationTracker(n)}))})).subscribe({complete:function(){r._complete(s),a()},error:function(e){r._error(e),a()},start:function(e){return r._start(s,e)}})}},t._handleModuleImportPayload=function(e,t){var r=this._normalizeModuleImport(e,t);if(this._publishQueue.commitPayload(this._operation,r),!l.ENABLE_BATCHED_STORE_UPDATES){var n=this._publishQueue.run();this._updateOperationTracker(n)}this._processPayloadFollowups([r])},t._processIncrementalPlaceholder=function(e,t){var r,n=t.label,i=t.path.map(String).join("."),s=this._incrementalResults.get(n);null==s&&(s=new Map,this._incrementalResults.set(n,s));var a,o=s.get(i),c=null!=o&&"response"===o.kind?o.responses:null;s.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?a=t.parentID:"defer"===t.kind?a=t.selector.dataID:f(!1);var d,h,_=e.source.get(a),v=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=g(e.dataID,e.fieldKey);return e.dataID===a||t===a}));null==_&&f(!1);var E=this._source.get(a);if(null!=E){d=u.update(E.record,_);var m=new Map,b=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(p(t)))&&void 0!==r?r:"");m.set(n,e)};E.fieldPayloads.forEach(b),v.forEach(b),h=Array.from(m.values())}else d=_,h=v;if(this._source.set(a,{record:d,fieldPayloads:h}),null!=c){var y=this._processIncrementalResponses(c);if(!l.ENABLE_BATCHED_STORE_UPDATES){var R=this._publishQueue.run();this._updateOperationTracker(R)}this._processPayloadFollowups(y)}},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,s=e.response,a=t._incrementalResults.get(n);if(null==a&&(a=new Map,t._incrementalResults.set(n,a)),-1!==n.indexOf("$defer$")){var o=i.map(String).join("."),l=a.get(o);if(null==l)return l={kind:"response",responses:[e]},void a.set(o,l);if("response"===l.kind)return void l.responses.push(e);var u=l.placeholder;"defer"!==u.kind&&f(!1),r.push(t._processDeferResponse(n,i,u,s))}else{var c=i.slice(0,-2).map(String).join("."),d=a.get(c);if(null==d)return d={kind:"response",responses:[e]},void a.set(c,d);if("response"===d.kind)return void d.responses.push(e);var h=d.placeholder;"stream"!==h.kind&&f(!1),r.push(t._processStreamResponse(n,i,h,s))}})),r},t._processDeferResponse=function(e,t,r,n){var i=r.selector.dataID,s=N(n,r.selector,r.typeName,{getDataID:this._getDataID,path:r.path,reactFlightPayloadDeserializer:this._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._publishQueue.commitPayload(this._operation,s);var a=this._source.get(i);null==a&&f(!1);var o=a.fieldPayloads;if(0!==o.length){var l,u={errors:null,fieldPayloads:o,incrementalPlaceholders:null,moduleImportPayloads:null,source:d.create(),isFinal:!0===(null===(l=n.extensions)||void 0===l?void 0:l.is_final)};this._publishQueue.commitPayload(this._operation,u)}return s},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,s=r.node,o=r.variables,l=s.selections[0];(null==l||"LinkedField"!==l.kind||!0!==l.plural)&&f(!1);var u=this._normalizeStreamItem(n,i,l,o,t,r.path),c=u.fieldPayloads,h=u.itemID,_=u.itemIndex,p=u.prevIDs,v=u.relayPayload,g=u.storageKey;if(this._publishQueue.commitPayload(this._operation,v,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(g);if(null!=r&&r.length===p.length&&!r.some((function(e,t){return p[t]!==(e&&e.getDataID())}))){var n=(0,a.default)(r);n[_]=e.get(h),t.setLinkedRecords(n,g)}}})),0!==c.length){var E={errors:null,fieldPayloads:c,incrementalPlaceholders:null,moduleImportPayloads:null,source:d.create(),isFinal:!1};this._publishQueue.commitPayload(this._operation,E)}return v},t._normalizeStreamItem=function(e,t,r,n,i,s){var o,l,c,d=e.data;"object"!=typeof d&&f(!1);var h=null!==(o=r.alias)&&void 0!==o?o:r.name,_=S(r,n),p=this._source.get(t);null==p&&f(!1);var v=p.record,E=p.fieldPayloads,m=u.getLinkedRecordIDs(v,_);null==m&&f(!1);var y=i[i.length-1],R=parseInt(y,10);R===y&&R>=0||f(!1);var I=null!==(l=r.concreteType)&&void 0!==l?l:d[D];"string"!=typeof I&&f(!1);var T=(null!==(c=this._getDataID(d,I))&&void 0!==c?c:m&&m[R])||g(t,_,R);"string"!=typeof T&&f(!1);var F=b(r,T,n),k=u.clone(v),O=(0,a.default)(m);return O[R]=T,u.setLinkedRecordIDs(k,_,O),this._source.set(t,{record:k,fieldPayloads:E}),{fieldPayloads:E,itemID:T,itemIndex:R,prevIDs:m,relayPayload:N(e,F,I,{getDataID:this._getDataID,path:[].concat((0,a.default)(s),[h,String(R)]),reactFlightPayloadDeserializer:this._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents}),storageKey:_}},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)},e}();function N(e,t,r,n){var s,a=e.data,o=e.errors,l=d.create(),c=u.create(t.dataID,r);l.set(t.dataID,c);var _=h.normalize(l,t,a,n);return(0,i.default)((0,i.default)({},_),{},{errors:o,isFinal:!0===(null===(s=e.extensions)||void 0===s?void 0:s.is_final)})}function F(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&f(!1)}e.exports={execute:function(e){return new T(e)}}},function(e,t,r){"use strict";var n=r(1)(r(7)),i=r(22),s=i.EXISTENT,a=i.NONEXISTENT,o=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])}))}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)?a:s: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,n.default)(this._records);try{for(r.s();!(e=r.n()).done;){var i=e.value,s=i[0],a=i[1];t[s]=a}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=l},function(e,t,r){"use strict";var n=r(1),i=n(r(7)),s=n(r(20)),a=r(4),o=r(9),l=(r(15),r(0)),u=(r(3),r(5)),c=u.CONDITION,d=u.CLIENT_COMPONENT,h=u.CLIENT_EXTENSION,_=u.DEFER,f=u.FLIGHT_FIELD,p=u.FRAGMENT_SPREAD,v=u.INLINE_FRAGMENT,g=u.LINKED_FIELD,E=u.LINKED_HANDLE,m=u.MODULE_IMPORT,b=u.SCALAR_FIELD,y=u.SCALAR_HANDLE,R=u.STREAM,I=u.TYPE_DISCRIMINATOR,D=r(6),S=D.generateClientID,T=(D.isClientID,r(11).createNormalizationSelector),N=r(18),F=N.refineToReactFlightPayloadData,k=N.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY,O=N.REACT_FLIGHT_TREE_STORAGE_KEY,A=N.REACT_FLIGHT_TYPE_NAME,P=r(2),L=P.getArgumentValues,C=P.getHandleStorageKey,M=P.getModuleComponentKey,w=P.getModuleOperationKey,x=P.getStorageKey,U=P.TYPENAME_KEY,V=P.ROOT_ID,q=P.ROOT_TYPE,K=r(23),H=K.generateTypeID,B=K.TYPE_SCHEMA_TYPE;var j=function(){function e(e,t,r){this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._moduleImportPayloads=[],this._path=r.path?(0,s.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||l(!1),this._traverseSelections(e,n,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,moduleImportPayloads:this._moduleImportPayloads,source:this._recordSource,isFinal:!1}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||l(!1),this._variables[e]},t._getRecordType=function(e){var t=e[U];return null==t&&l(!1),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 g:this._normalizeField(e,i,t,r);break;case c:this._getVariableValue(i.condition)===i.passingValue&&this._traverseSelections(i,t,r);break;case p:this._traverseSelections(i.fragment,t,r);break;case v:var s=i.abstractKey;if(null==s)o.getType(t)===i.type&&this._traverseSelections(i,t,r);else if(a.ENABLE_PRECISE_TYPE_REFINEMENT){var u=r.hasOwnProperty(s),D=o.getType(t),S=H(D),T=this._recordSource.get(S);null==T&&(T=o.create(S,B),this._recordSource.set(S,T)),o.setValue(T,s,u),u&&this._traverseSelections(i,t,r)}else{var N=r.hasOwnProperty(s),F=this._isUnmatchedAbstractType;this._isUnmatchedAbstractType=this._isUnmatchedAbstractType||!N,this._traverseSelections(i,t,r),this._isUnmatchedAbstractType=F}break;case I:if(a.ENABLE_PRECISE_TYPE_REFINEMENT){var k=i.abstractKey,O=r.hasOwnProperty(k),A=o.getType(t),P=H(A),M=this._recordSource.get(P);null==M&&(M=o.create(P,B),this._recordSource.set(P,M)),o.setValue(M,k,O)}break;case E:case y:var w=i.args?L(i.args,this._variables):{},U=x(i,this._variables),V=C(i,this._variables);this._handleFieldPayloads.push({args:w,dataID:o.getDataID(t),fieldKey:U,handle:i.handle,handleKey:V,handleArgs:i.handleArgs?L(i.handleArgs,this._variables):{}});break;case m:this._normalizeModuleImport(e,i,t,r);break;case _:this._normalizeDefer(i,t,r);break;case R:this._normalizeStream(i,t,r);break;case h:var q=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(i,t,r),this._isClientExtension=q;break;case d:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(i.fragment,t,r);break;case f:if(!a.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._normalizeFlightField(e,i,t,r);break;default:l(!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,s.default)(this._path),selector:T(e,o.getDataID(t),this._variables),typeName:o.getType(t)})},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,s.default)(this._path),parentID:o.getDataID(t),node:e,variables:this._variables})},t._normalizeModuleImport=function(e,t,r,n){"object"==typeof n&&n||l(!1);var i=o.getType(r),a=M(t.documentName),u=n[a];o.setValue(r,a,null!=u?u:null);var c=w(t.documentName),d=n[c];o.setValue(r,c,null!=d?d:null),null!=d&&this._moduleImportPayloads.push({data:n,dataID:o.getDataID(r),operationReference:d,path:(0,s.default)(this._path),typeName:i,variables:this._variables})},t._normalizeField=function(e,t,r,n){"object"==typeof n&&n||l(!1);var i=t.alias||t.name,s=x(t,this._variables),a=n[i];if(null!=a)t.kind===b?o.setValue(r,s,a):t.kind===g?(this._path.push(i),t.plural?this._normalizePluralLink(t,r,s,a):this._normalizeLink(t,r,s,a),this._path.pop()):l(!1);else{if(void 0===a){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}o.setValue(r,s,null)}},t._normalizeFlightField=function(e,t,r,n){var s=t.alias||t.name,a=x(t,this._variables),u=n[s];if(null!=u){var c=F(u),d=this._reactFlightPayloadDeserializer;null==c&&l(!1),"function"!=typeof d&&l(!1),c.errors.length>0&&"function"==typeof this._reactFlightServerErrorHandler&&this._reactFlightServerErrorHandler(c.status,c.errors);var h=S(o.getDataID(r),x(t,this._variables)),_=this._recordSource.get(h);if(null==_&&(_=o.create(h,A),this._recordSource.set(h,_)),null==c.tree)return o.setValue(_,O,null),o.setValue(_,k,[]),void o.setLinkedRecordID(r,a,h);var f=d(c.tree);o.setValue(_,O,f);var p,v=[],g=(0,i.default)(c.queries);try{for(g.s();!(p=g.n()).done;){var E=p.value;null!=E.response.data&&this._moduleImportPayloads.push({data:E.response.data,dataID:V,operationReference:E.module,path:[],typeName:q,variables:E.variables}),v.push({module:E.module,variables:E.variables})}}catch(e){g.e(e)}finally{g.f()}var m,b=(0,i.default)(c.fragments);try{for(b.s();!(m=b.n()).done;){var y=m.value;null!=y.response.data&&this._moduleImportPayloads.push({data:y.response.data,dataID:y.__id,operationReference:y.module,path:[],typeName:y.__typename,variables:y.variables}),v.push({module:y.module,variables:y.variables})}}catch(e){b.e(e)}finally{b.f()}o.setValue(_,k,v),o.setLinkedRecordID(r,a,h)}else{if(void 0===u){if(this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}o.setValue(r,a,null)}},t._normalizeLink=function(e,t,r,n){var i;"object"==typeof n&&n||l(!1);var s=this._getDataId(n,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(n))||o.getLinkedRecordID(t,r)||S(o.getDataID(t),r);"string"!=typeof s&&l(!1),o.setLinkedRecordID(t,r,s);var a=this._recordSource.get(s);if(a)0;else{var u=e.concreteType||this._getRecordType(n);a=o.create(s,u),this._recordSource.set(s,a)}this._traverseSelections(e,a,n)},t._normalizePluralLink=function(e,t,r,n){var i=this;Array.isArray(n)||l(!1);var s=o.getLinkedRecordIDs(t,r),a=[];n.forEach((function(n,u){var c;if(null!=n){i._path.push(String(u)),"object"!=typeof n&&l(!1);var d=i._getDataId(n,null!==(c=e.concreteType)&&void 0!==c?c:i._getRecordType(n))||s&&s[u]||S(o.getDataID(t),r,u);"string"!=typeof d&&l(!1),a.push(d);var h=i._recordSource.get(d);if(h)0;else{var _=e.concreteType||i._getRecordType(n);h=o.create(d,_),i._recordSource.set(d,h)}0,i._traverseSelections(e,h,n),i._path.pop()}else a.push(n)})),o.setLinkedRecordIDs(t,r,a)},t._validateRecordType=function(e,t,r){var n;null!==(n=t.concreteType)&&void 0!==n||this._getRecordType(r),o.getDataID(e)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,n){0},e}();e.exports={normalize:function(e,t,r,n){var i=t.dataID,s=t.node,a=t.variables;return new j(e,a,n).normalizeResponse(s,i,r)}}},function(e,t,r){"use strict";(function(t){var n,i,s=r(24),a=r(17),o=r(41),l=r(42),u=r(58),c=r(0),d=(r(3),null!==(n=null===(i=t.ErrorUtils)||void 0===i?void 0:i.applyWithGuard)&&void 0!==n?n:function(e,t,r,n,i){return e.apply(t,r)}),h=function(){function e(e,t,r){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}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1),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){this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var t=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._store.notify(e,t)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,s=r.source,a=r.fieldPayloads,d=new o(this._store.getSource(),s),h=new l(d,this._getDataID);if(a&&a.length&&a.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||c(!1),r.update(h,e)})),i){var f=n.fragment;null==f&&c(!1),i(new u(d,h,f),_(s,f))}var p=h.getIDsMarkedForInvalidation();return this._store.publish(s,p),h.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,u=a.create(),c=new o(e._store.getSource(),u),h=new l(c,e._getDataID);d(s,null,[h],null,"RelayPublishQueue:commitData"),t=t||h.isStoreMarkedForInvalidation();var _=h.getIDsMarkedForInvalidation();e._store.publish(u,_)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=a.create(),r=new o(this._store.getSource(),t),n=new l(r,this._getDataID,this._handlerProvider),i=function(e){if(e.storeUpdater){var t=e.storeUpdater;d(t,null,[n],null,"RelayPublishQueue:applyUpdates")}else{var i,s=e.operation,a=e.payload,o=e.updater,l=a.source,c=a.fieldPayloads,h=new u(r,n,s.fragment);l&&(n.publishSource(l,c),i=_(l,s.fragment)),o&&d(o,null,[h,i],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){return s.read(e,t).data}e.exports=h}).call(this,r(38))},function(e,t,r){"use strict";var n=r(0),i=r(10).getFragment,s=r(11).getSelector,a=[];e.exports={readFragment:function(e,t){if(!a.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var r=a[a.length-1],o=i(e),l=s(o,t);return null==l&&n(!1),"SingularReaderSelector"!==l.kind&&n(!1),r.getDataForResolverFragment(l)},withResolverContext:function(e,t){a.push(e);try{return t()}finally{a.pop()}}}},function(e,t,r){"use strict";var n=r(0),i=r(6).generateClientID,s=r(2).getStableStorageKey,a=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&&n(!1),e},t.getValue=function(e,t){var r=s(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){o(e)||n(!1);var i=s(t,r);return this._mutator.setValue(this._dataID,i,e),this},t.getLinkedRecord=function(e,t){var r=s(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,i){t instanceof e||n(!1);var a=s(r,i),o=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,a,o),this},t.getOrCreateLinkedRecord=function(e,t,r){var n=this.getLinkedRecord(e,r);if(!n){var a,o=s(e,r),l=i(this.getDataID(),o);n=null!==(a=this._source.get(l))&&void 0!==a?a:this._source.create(l,t),this.setLinkedRecord(n,e,r)}return n},t.getLinkedRecords=function(e,t){var r=this,n=s(e,t),i=this._mutator.getLinkedRecordIDs(this._dataID,n);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)||n(!1);var i=s(t,r),a=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,i,a),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=a},function(e,t,r){"use strict";var n=r(0),i=r(2),s=i.getStorageKey,a=i.ROOT_TYPE,o=function(){function e(e,t,r){this.__mutator=e,this.__recordSource=t,this._readSelector=r}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,a)),e},t._getRootField=function(e,t,r){var i=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t}));return i&&"LinkedField"===i.kind||n(!1),i.plural!==r&&n(!1),i},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),r=s(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(r)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),r=s(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(r)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},e}();e.exports=o},function(e,t,r){"use strict";e.exports=function(e){0}},function(e,t,r){"use strict";var n=1e5;e.exports=function(){return n++}},function(e,t,r){"use strict";var n=r(1),i=n(r(7)),s=n(r(25)),a=r(62),o=r(4),l=r(9),u=r(64),c=r(24),d=r(65),h=r(18),_=r(66),f=r(68),p=r(2),v=(r(16),r(43)),g=r(0),E=r(69),m=r(2),b=m.ROOT_ID,y=m.ROOT_TYPE,R=function(){function e(e,t){var r,n,i,a,u,c=this;(0,s.default)(this,"_gcStep",(function(){c._gcRun&&(c._gcRun.next().done?c._gcRun=null:c._gcScheduler(c._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!==(n=null==t?void 0:t.gcScheduler)&&void 0!==n?n:E,this._getDataID=null!==(i=null==t?void 0:t.getDataID)&&void 0!==i?i:v,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(a=null==t?void 0:t.log)&&void 0!==a?a:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(u=null==t?void 0:t.operationLoader)&&void 0!==u?u:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._storeSubscriptions=!0===o.ENABLE_STORE_SUBSCRIPTIONS_REFACTOR?new f(null==t?void 0:t.log):new _(null==t?void 0:t.log),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=null==t?void 0:t.shouldProcessClientComponents,function(e){if(!e.has(b)){var t=l.create(b,y);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.check=function(e,t){var r,n,i,s=e.root,o=null!==(r=this._optimisticSource)&&void 0!==r?r:this._recordSource,l=this._globalInvalidationEpoch,u=this._roots.get(e.request.identifier),c=null!=u?u.epoch:null;if(null!=l&&(null==c||c<=l))return{status:"stale"};var d=null!==(n=null==t?void 0:t.target)&&void 0!==n?n:o,h=null!==(i=null==t?void 0:t.handlers)&&void 0!==i?i:[];return function(e,t,r,n){var i=e.mostRecentlyInvalidatedAt,s=e.status;if("number"==typeof i&&(null==t||i>t))return{status:"stale"};if("missing"===s)return{status:"missing"};if(null!=r&&null!=n){if(r<=Date.now()-n)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(a.check(o,d,s,h,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),c,null==u?void 0:u.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 s=t._releaseBuffer.shift();t._roots.delete(s),t.scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource();return c.read(t,e)},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);var i=this.getSource(),s=[];if(this._storeSubscriptions.updateSubscriptions(i,this._updatedRecordIDs,s,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 a=e.request.identifier,o=this._roots.get(a);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(a),this._roots.set(a,l)}}return s},t.publish=function(e,t){var r,n=null!==(r=this._optimisticSource)&&void 0!==r?r:this._recordSource;!function(e,t,r,n,i,s){n&&n.forEach((function(n){var i,a=e.get(n),o=t.get(n);null!==o&&((i=null!=a?l.clone(a):null!=o?l.clone(o):null)&&(l.setValue(i,p.INVALIDATED_AT_KEY,r),s.add(n),e.set(n,i)))}));for(var a=t.getRecordIDs(),o=0;o<a.length;o++){var u=a[o],c=t.get(u),d=e.get(u);if(c&&d){var _=l.getType(d)===h.REACT_FLIGHT_TYPE_NAME?c:l.update(d,c);_!==d&&(i.add(u),e.set(u,_))}else null===c?(e.delete(u),null!==d&&i.add(u)):c&&(e.set(u,c),i.add(u))}}(n,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var i=this.__log;null!=i&&i({name:"store.publish",source:e,optimistic:n===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.__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=l.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,s=(0,i.default)(e.dataIDs);try{for(s.s();!(n=s.n()).done;){var a=n.value;if(t.get(a)!==r.get(a))return!0}}catch(e){s.e(e)}finally{s.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&&g(!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=u.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&g(!1);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 s=e.value.operation.root;if(d.mark(this._recordSource,s,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(e){n.e(e)}finally{n.f()}var a=this.__log;if(null!=a&&a({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}},e}();e.exports=R},function(e,t,r){"use strict";var n=r(1)(r(7)),i=r(5),s=r(4),a=r(9),o=r(41),l=r(42),u=r(18),c=r(2),d=r(46),h=r(63),_=r(29),f=r(0),p=r(6).isClientID,v=r(22),g=v.EXISTENT,E=v.UNKNOWN,m=r(23).generateTypeID,b=i.CONDITION,y=i.CLIENT_COMPONENT,R=i.CLIENT_EXTENSION,I=i.DEFER,D=i.FLIGHT_FIELD,S=i.FRAGMENT_SPREAD,T=i.INLINE_FRAGMENT,N=i.LINKED_FIELD,F=i.LINKED_HANDLE,k=i.MODULE_IMPORT,O=i.SCALAR_FIELD,A=i.SCALAR_HANDLE,P=i.STREAM,L=i.TYPE_DISCRIMINATOR,C=c.ROOT_ID,M=c.getModuleOperationKey,w=c.getStorageKey,x=c.getArgumentValues;var U=function(){function e(e,t,r,n,i,s,a){var u=new o(e,t);this._mostRecentlyInvalidatedAt=null,this._handlers=n,this._mutator=u,this._operationLoader=null!=i?i:null,this._recordSourceProxy=new l(u,s),this._recordWasMissing=!1,this._source=e,this._variables=r,this._shouldProcessClientComponents=a}var t=e.prototype;return t.check=function(e,t){return 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)||f(!1),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._getDataForHandlers=function(e,t){return{args:e.args?x(e.args,this._variables):{},record:this._source.get(t)}},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!p(t)){var r,i=this._getDataForHandlers(e,t),s=i.args,a=i.record,o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var l=r.value;if("scalar"===l.kind){var u=l.handle(e,a,s,this._recordSourceProxy);if(void 0!==u)return u}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=this._getDataForHandlers(e,t),s=i.args,a=i.record,o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var l=r.value;if("linked"===l.kind){var u=l.handle(e,a,s,this._recordSourceProxy);if(void 0!==u&&(null===u||this._mutator.getStatus(u)===g))return u}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,s=this._getDataForHandlers(e,t),a=s.args,o=s.record,l=(0,n.default)(this._handlers);try{for(l.s();!(r=l.n()).done;){var u=r.value;if("pluralLinked"===u.kind){var c=u.handle(e,o,a,this._recordSourceProxy);if(null!=c){if(c.every((function(e){return null!=e&&i._mutator.getStatus(e)===g})))return c}else if(null===c)return null}}}catch(e){l.e(e)}finally{l.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===E&&this._handleMissing(),r===g){var n=this._source.get(t),i=a.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 O:r._checkScalar(n,t);break;case N:n.plural?r._checkPluralLink(n,t):r._checkLink(n,t);break;case b:r._getVariableValue(n.condition)===n.passingValue&&r._traverseSelections(n.selections,t);break;case T:var i=n.abstractKey;if(null==i)r._mutator.getType(t)===n.type&&r._traverseSelections(n.selections,t);else if(s.ENABLE_PRECISE_TYPE_REFINEMENT){var a=r._mutator.getType(t);null==a&&f(!1);var o=m(a),l=r._mutator.getValue(o,i);!0===l?r._traverseSelections(n.selections,t):null==l&&r._handleMissing()}else r._traverseSelections(n.selections,t);break;case F:var u=d(n,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case A:var c=h(n,e,r._variables);r._checkScalar(c,t);break;case k:r._checkModuleImport(n,t);break;case I:case P:r._traverseSelections(n.selections,t);break;case S:r._traverseSelections(n.fragment.selections,t);break;case R:var _=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=_;break;case L:if(s.ENABLE_PRECISE_TYPE_REFINEMENT){var p=n.abstractKey,v=r._mutator.getType(t);null==v&&f(!1);var g=m(v);null==r._mutator.getValue(g,p)&&r._handleMissing()}break;case D:if(!s.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._checkFlightField(n,t);break;case y:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;default:f(!1)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&f(!1);var n=M(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var s=r.get(i);if(null!=s){var a=_(s);this._traverse(a,t)}else this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=w(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=w(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=w(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._checkFlightField=function(e,t){var r=w(e,this._variables),i=this._mutator.getLinkedRecordID(t,r);if(null==i)return void 0===i?void this._handleMissing():void 0;var s=this._mutator.getValue(i,u.REACT_FLIGHT_TREE_STORAGE_KEY),a=this._mutator.getValue(i,u.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(null!=s&&Array.isArray(a)){var o=this._operationLoader;null===o&&f(!1);var l,c=this._variables,d=(0,n.default)(a);try{for(d.s();!(l=d.n()).done;){var h=l.value;this._variables=h.variables;var p=o.get(h.module);if(null!=p){var v=_(p);this._traverseSelections(v.selections,C)}else this._handleMissing()}}catch(e){d.e(e)}finally{d.f()}this._variables=c}else this._handleMissing()},e}();e.exports={check:function(e,t,r,n,i,s,a){var o=r.dataID,l=r.node,u=r.variables;return new U(e,t,u,n,i,s,a).check(l,o)}}},function(e,t,r){"use strict";var n=r(15),i=r(0),s=r(5).SCALAR_FIELD,a=r(2).getHandleStorageKey;e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===s&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));o&&o.kind===s||i(!1);var l=a(e,r);return{kind:"ScalarField",alias:o.alias,name:l,storageKey:l,args:null}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(17),s=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),a=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)!==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=i.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,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},e}();e.exports={create:function(e){return new a(e)}}},function(e,t,r){"use strict";var n=r(1)(r(7)),i=r(5),s=r(4),a=r(9),o=r(18),l=r(2),u=r(46),c=r(29),d=r(0),h=r(23).generateTypeID,_=i.CONDITION,f=i.CLIENT_COMPONENT,p=i.CLIENT_EXTENSION,v=i.DEFER,g=i.FLIGHT_FIELD,E=i.FRAGMENT_SPREAD,m=i.INLINE_FRAGMENT,b=i.LINKED_FIELD,y=i.MODULE_IMPORT,R=i.LINKED_HANDLE,I=i.SCALAR_FIELD,D=i.SCALAR_HANDLE,S=i.STREAM,T=i.TYPE_DISCRIMINATOR,N=l.ROOT_ID,F=l.getStorageKey,k=l.getModuleOperationKey;var O=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)||d(!1),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case b:n.plural?r._traversePluralLink(n,t):r._traverseLink(n,t);break;case _:r._getVariableValue(n.condition)===n.passingValue&&r._traverseSelections(n.selections,t);break;case m:if(null==n.abstractKey){var i=a.getType(t);null!=i&&i===n.type&&r._traverseSelections(n.selections,t)}else if(s.ENABLE_PRECISE_TYPE_REFINEMENT){var o=a.getType(t),l=h(o);r._references.add(l),r._traverseSelections(n.selections,t)}else r._traverseSelections(n.selections,t);break;case E:r._traverseSelections(n.fragment.selections,t);break;case R:var c=u(n,e,r._variables);c.plural?r._traversePluralLink(c,t):r._traverseLink(c,t);break;case v:case S:r._traverseSelections(n.selections,t);break;case I:case D:break;case T:if(s.ENABLE_PRECISE_TYPE_REFINEMENT){var N=a.getType(t),F=h(N);r._references.add(F)}break;case y:r._traverseModuleImport(n,t);break;case p:r._traverseSelections(n.selections,t);break;case g:if(!s.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._traverseFlightField(n,t);break;case f:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;default:d(!1)}}))},t._traverseModuleImport=function(e,t){var r=this._operationLoader;null===r&&d(!1);var n=k(e.documentName),i=a.getValue(t,n);if(null!=i){var s=r.get(i);if(null!=s){var o=c(s).selections;this._traverseSelections(o,t)}}},t._traverseLink=function(e,t){var r=F(e,this._variables),n=a.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=F(e,this._variables),i=a.getLinkedRecordIDs(t,n);null!=i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._traverseFlightField=function(e,t){var r=F(e,this._variables),i=a.getLinkedRecordID(t,r);if(null!=i){this._references.add(i);var s=this._recordSource.get(i);if(null!=s){var l=a.getValue(s,o.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(Array.isArray(l)){var u=this._operationLoader;null===u&&d(!1);var h,_=this._variables,f=(0,n.default)(l);try{for(f.s();!(h=f.n()).done;){var p=h.value;this._variables=p.variables;var v=p.module,g=u.get(v);if(null!=g){var E=c(g);this._traverse(E,N)}}}catch(e){f.e(e)}finally{f.f()}this._variables=_}}}},e}();e.exports={mark:function(e,t,r,n,i){var s=t.dataID,a=t.node,o=t.variables;new O(e,o,r,n,i).mark(a,s)}}},function(e,t,r){"use strict";var n=r(4),i=r(24),s=(r(16),r(67)),a=r(30),o=function(){function e(e){this._subscriptions=new Set,this.__log=e}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){this._subscriptions.forEach((function(t){if(t.stale){var r=t.snapshot,n=i.read(e,r.selector),s=a(r.data,n.data);n.data=s,t.backup=n}else t.backup=t.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,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields}):e.stale=!0}))},t.updateSubscriptions=function(e,t,r,n){var i=this,s=0!==t.size;this._subscriptions.forEach((function(a){var o=i._updateSubscription(e,a,t,s,n);null!=o&&r.push(o)}))},t._updateSubscription=function(e,t,r,o,l){var u=t.backup,c=t.callback,d=t.snapshot,h=t.stale,_=o&&s(d.seenRecords,r);if(h||_){var f=_||!u?i.read(e,d.selector):u;return f={data:a(d.data,f.data),isMissingData:f.isMissingData,seenRecords:f.seenRecords,selector:f.selector,missingRequiredFields:f.missingRequiredFields},t.snapshot=f,t.stale=!1,f.data!==d.data?(this.__log&&n.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:l,snapshot:d,nextSnapshot:f}),c(f),d.selector.owner):void 0}},e}();e.exports=o},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 s=i.value;if(t.has(s))return!0;i=r.next()}return!1}},function(e,t,r){"use strict";var n=r(1)(r(7)),i=r(4),s=r(24),a=(r(16),r(30)),o=function(){function e(e){this._notifiedRevision=0,this._snapshotRevision=0,this._subscriptionsByDataId=new Map,this._staleSubscriptions=new Set,this.__log=e}var t=e.prototype;return t.subscribe=function(e,t){var r,i=this,s={backup:null,callback:t,notifiedRevision:this._notifiedRevision,snapshotRevision:this._snapshotRevision,snapshot:e},a=(0,n.default)(e.seenRecords);try{for(a.s();!(r=a.n()).done;){var o=r.value,l=this._subscriptionsByDataId.get(o);null!=l?l.add(s):this._subscriptionsByDataId.set(o,new Set([s]))}}catch(e){a.e(e)}finally{a.f()}return{dispose:function(){var t,r=(0,n.default)(e.seenRecords);try{for(r.s();!(t=r.n()).done;){var a=t.value,o=i._subscriptionsByDataId.get(a);null!=o&&(o.delete(s),0===o.size&&i._subscriptionsByDataId.delete(a))}}catch(e){r.e(e)}finally{r.f()}}}},t.snapshotSubscriptions=function(e){var t=this;this._snapshotRevision++,this._subscriptionsByDataId.forEach((function(r){r.forEach((function(r){if(r.snapshotRevision!==t._snapshotRevision)if(r.snapshotRevision=t._snapshotRevision,t._staleSubscriptions.has(r)){var n=r.snapshot,i=s.read(e,n.selector),o=a(n.data,i.data);i.data=o,r.backup=i}else r.backup=r.snapshot}))}))},t.restoreSubscriptions=function(){var e=this;this._snapshotRevision++,this._subscriptionsByDataId.forEach((function(t){t.forEach((function(t){if(t.snapshotRevision!==e._snapshotRevision){t.snapshotRevision=e._snapshotRevision;var r=t.backup;if(t.backup=null,r){r.data!==t.snapshot.data&&e._staleSubscriptions.add(t);var n=t.snapshot.seenRecords;t.snapshot={data:t.snapshot.data,isMissingData:r.isMissingData,seenRecords:r.seenRecords,selector:r.selector,missingRequiredFields:r.missingRequiredFields},e._updateSubscriptionsMap(t,n)}else e._staleSubscriptions.add(t)}}))}))},t.updateSubscriptions=function(e,t,r,n){var i=this;this._notifiedRevision++,t.forEach((function(t){var s=i._subscriptionsByDataId.get(t);null!=s&&s.forEach((function(t){if(t.notifiedRevision!==i._notifiedRevision){var s=i._updateSubscription(e,t,!1,n);null!=s&&r.push(s)}}))})),this._staleSubscriptions.forEach((function(t){if(t.notifiedRevision!==i._notifiedRevision){var s=i._updateSubscription(e,t,!0,n);null!=s&&r.push(s)}})),this._staleSubscriptions.clear()},t._updateSubscription=function(e,t,r,n){var o=t.backup,l=t.callback,u=t.snapshot,c=r&&null!=o?o:s.read(e,u.selector);c={data:a(u.data,c.data),isMissingData:c.isMissingData,seenRecords:c.seenRecords,selector:c.selector,missingRequiredFields:c.missingRequiredFields};var d=t.snapshot.seenRecords;if(t.snapshot=c,t.notifiedRevision=this._notifiedRevision,this._updateSubscriptionsMap(t,d),c.data!==u.data)return this.__log&&i.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:n,snapshot:u,nextSnapshot:c}),l(c),u.selector.owner},t._updateSubscriptionsMap=function(e,t){var r,i=(0,n.default)(t);try{for(i.s();!(r=i.n()).done;){var s=r.value,a=this._subscriptionsByDataId.get(s);null!=a&&(a.delete(e),0===a.size&&this._subscriptionsByDataId.delete(s))}}catch(e){i.e(e)}finally{i.f()}var o,l=(0,n.default)(e.snapshot.seenRecords);try{for(l.s();!(o=l.n()).done;){var u=o.value,c=this._subscriptionsByDataId.get(u);null!=c?c.add(e):this._subscriptionsByDataId.set(u,new Set([e]))}}catch(e){l.e(e)}finally{l.f()}},e}();e.exports=o},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=r(0),i=r(71).convertFetch;e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,s,a,o){if("subscription"===e.operationKind)return t||n(!1),a&&n(!1),t(e,i,s);var l=s.poll;return null!=l?(a&&n(!1),r(e,i,{force:!0}).poll(l)):r(e,i,s,a,o)}}}}},function(e,t,r){"use strict";var n=r(12);e.exports={convertFetch:function(e){return function(t,r,i,s,a){var o=e(t,r,i,s,a);return o instanceof Error?n.create((function(e){return e.error(o)})):n.from(o)}}}},function(e,t,r){"use strict";var n={},i={stop:function(){}},s={profile:function(e,t){var r=n[e];if(r&&r.length>0){for(var s=[],a=r.length-1;a>=0;a--){var o=r[a](e,t);s.unshift(o)}return{stop:function(e){s.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,s;n.hasOwnProperty(e)&&(r=n[e],i=t,-1!==(s=r.indexOf(i))&&r.splice(s,1))}};e.exports=s},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(0),s=r(14),a=function(){function e(e){var t=e.size,r=e.ttl;t>0||i(!1),r>0||i(!1),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=o(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 s=this._responses.get(i);return null!=s?(0,n.default)((0,n.default)({},s.payload),{},{extensions:(0,n.default)((0,n.default)({},s.payload.extensions),{},{cacheTimestamp:s.fetchTime})}):null},t.set=function(e,t,r){var n=Date.now(),i=o(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:n,payload:r}),this._responses.size>this._size){var s=this._responses.keys().next();s.done||this._responses.delete(s.value)}},e}();function o(e,t){return JSON.stringify(s({queryID:e,variables:t}))}e.exports=a},function(e,t,r){"use strict";var n=r(21),i=r(0),s=r(31),a=r(10).getRequest,o=r(13).createOperationDescriptor;e.exports=function(e,t){s(e)||i(!1);var r=a(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,h=o(r,d);return u&&(l=n.convert(u,r,l).optimisticUpdater),e.applyMutation({operation:h,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=r(1)(r(20)),i=r(21),s=r(0),a=r(31),o=(r(77),r(3),r(10).getRequest),l=r(6).generateUniqueClientID,u=r(13).createOperationDescriptor;e.exports=function(e,t){a(e)||s(!1);var r=o(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 c=t.optimisticResponse,d=t.optimisticUpdater,h=t.updater,_=t.configs,f=t.cacheConfig,p=t.onError,v=t.onUnsubscribe,g=t.variables,E=t.uploadables,m=u(r,g,f,l());if("function"==typeof c&&(c=c()),_){var b=i.convert(_,r,d,h);d=b.optimisticUpdater,h=b.updater}var y=[];return{dispose:e.executeMutation({operation:m,optimisticResponse:c,optimisticUpdater:d,updater:h,uploadables:E}).subscribe({next:function(e){Array.isArray(e)?e.forEach((function(e){e.errors&&y.push.apply(y,(0,n.default)(e.errors))})):e.errors&&y.push.apply(y,(0,n.default)(e.errors))},complete:function(){var r=t.onCompleted;r&&r(e.lookup(m.fragment).data,0!==y.length?y:null)},error:p,unsubscribe:v}).unsubscribe}}},function(e,t,r){"use strict";r(1)(r(8)),r(3),Object.prototype.hasOwnProperty;var n=r(5);n.CONDITION,n.CLIENT_COMPONENT,n.CLIENT_EXTENSION,n.DEFER,n.FLIGHT_FIELD,n.FRAGMENT_SPREAD,n.INLINE_FRAGMENT,n.LINKED_FIELD,n.LINKED_HANDLE,n.MODULE_IMPORT,n.SCALAR_FIELD,n.SCALAR_HANDLE,n.STREAM,n.TYPE_DISCRIMINATOR;e.exports=function(){}},function(e,t,r){"use strict";var n=r(79);r(3);e.exports=function(e,t,r,i,s,a){return new n(e,r,i,a,s)}},function(e,t,r){"use strict";var n=r(1),i=n(r(8)),s=n(r(25)),a=r(4),o=r(15),l=r(0),u=r(48),c=r(32),d=(r(3),r(33).getPromiseForActiveRequest),h=r(13).createRequestDescriptor,_=r(11),f=_.areEqualSelectors,p=_.createReaderSelector,v=_.getSelectorsFromObject,g=function(){function e(e,t,r,n,i){var a=this;(0,s.default)(this,"_onChange",(function(){a._stale=!0,"function"==typeof a._callback&&a._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],s=t[r];if(n){var a=n.resolve();(e||a!==s)&&((e=e||(0,i.default)({},t))[r]=a)}else{var o=this._props[r],l=void 0!==o?o:null;!e&&u(l,s)||((e=e||(0,i.default)({},t))[r]=l)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e){this._callback=e},t.setProps=function(e){var t=v(this._fragments,e);for(var r in this._props={},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 m(this._context.environment,this._rootIsQueryRenderer,n,this._onChange):(i instanceof m||l(!1),i.setSelector(n)):null==i?i=new E(this._context.environment,this._rootIsQueryRenderer,n,this._onChange):(i instanceof E||l(!1),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}(),E=function(){function e(e,t,r,n){var i=this;(0,s.default)(this,"_onChange",(function(e){i._data=e.data,i._isMissingData=e.isMissingData,i._missingRequiredFields=e.missingRequiredFields,i._callback()}));var a=e.lookup(r);this._callback=n,this._data=a.data,this._isMissingData=a.isMissingData,this._missingRequiredFields=a.missingRequiredFields,this._environment=e,this._rootIsQueryRenderer=t,this._selector=r,this._subscription=e.subscribe(a,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},t.resolve=function(){if(!0===a.ENABLE_RELAY_CONTAINERS_SUSPENSE&&!0===this._isMissingData){var e,t=null!==(e=d(this._environment,this._selector.owner))&&void 0!==e?e:this._environment.getOperationTracker().getPromiseForPendingOperationsAffectingOwner(this._selector.owner);if(null!=t&&!this._rootIsQueryRenderer)throw t}return null!=this._missingRequiredFields&&c(this._environment,this._missingRequiredFields),this._data},t.setSelector=function(e){if(null==this._subscription||!f(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=t.data,this._isMissingData=t.isMissingData,this._missingRequiredFields=t.missingRequiredFields,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!o(e,this._selector.variables)){var r=h(t,e),n=p(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),m=function(){function e(e,t,r,n){var i=this;(0,s.default)(this,"_onChange",(function(e){i._stale=!0,i._callback()})),this._callback=n,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=t,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 E(this._environment,this._rootIsQueryRenderer,t[r],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=g},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(2),s=i.getModuleComponentKey,a=i.getModuleOperationKey;e.exports=function(e,t,r,i){var o=(0,n.default)({},i);return o[s(e)]=r,o[a(e)]=t,o}},function(e,t,r){"use strict";var n,i,s=r(0);e.exports=function(e){return n||(n=e.createContext(null),i=e),e!==i&&s(!1),n}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(12),s=r(33),a=r(0),o=r(32),l=r(13).createOperationDescriptor,u=r(10).getRequest;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,h=u(t);"query"!==h.params.operationKind&&a(!1);var _=(0,n.default)({force:!0},null==s?void 0:s.networkCacheConfig),f=l(h,r,_),p=null!==(d=null==s?void 0:s.fetchPolicy)&&void 0!==d?d:"network-only";function v(t){return null!=t.missingRequiredFields&&o(e,t.missingRequiredFields),t.data}switch(p){case"network-only":return c(e,f).map(v);case"store-or-network":return"available"===e.check(f).status?i.from(e.lookup(f.fragment)).map(v):c(e,f).map(v);default:throw new Error("fetchQuery: Invalid fetchPolicy "+p)}}},function(e,t,r){"use strict";var n=r(13).createOperationDescriptor,i=r(10).getRequest;e.exports=function(e,t,r,s){var a=i(t);if("query"!==a.params.operationKind)throw new Error("fetchQuery: Expected query operation");var o=n(a,r,s);return e.execute({operation:o}).map((function(){return e.lookup(o.fragment).data})).toPromise()}},function(e,t,r){"use strict";var n=r(4),i=r(85),s=r(14),a=r(11),o=a.getDataIDsFromFragment,l=a.getVariablesFromFragment,u=a.getSelector;e.exports=function(e,t){var r,a=u(e,t),c=null==a?"null":"SingularReaderSelector"===a.kind?a.owner.identifier:"["+a.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",d=l(e,t),h=o(e,t);return n.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION?c+"/"+e.name+"/"+(null==d||i(d)?"{}":JSON.stringify(s(d)))+"/"+(void 0===h?"missing":null==h?"null":Array.isArray(h)?"["+h.join(",")+"]":h):c+"/"+e.name+"/"+JSON.stringify(s(d))+"/"+(null!==(r=JSON.stringify(h))&&void 0!==r?r:"missing")}},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(0),i=r(10).getInlineDataFragment,s=r(2).FRAGMENTS_KEY;e.exports=function(e,t){var r,a=i(e);if(null==t)return t;"object"!=typeof t&&n(!1);var o=null===(r=t[s])||void 0===r?void 0:r[a.name];return null==o&&n(!1),o}},function(e,t,r){"use strict";var n=r(21),i=r(4),s=(r(3),r(10).getRequest),a=r(6).generateUniqueClientID,o=r(13).createOperationDescriptor,l=r(11).createReaderSelector;e.exports=function(e,t){var r=s(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var u=t.configs,c=t.onCompleted,d=t.onError,h=t.onNext,_=t.variables,f=t.cacheConfig,p=o(r,_,f,i.ENABLE_UNIQUE_SUBSCRIPTION_ROOT?a():void 0),v=(u?n.convert(u,r,null,t.updater):t).updater;return{dispose:e.execute({operation:p,updater:v}).map((function(t){var r=p.fragment;if(i.ENABLE_UNIQUE_SUBSCRIPTION_ROOT){var n,s,a,o;if(Array.isArray(t))n=null===(s=t[0])||void 0===s||null===(a=s.extensions)||void 0===a?void 0:a.__relay_subscription_root_id;else n=null===(o=t.extensions)||void 0===o?void 0:o.__relay_subscription_root_id;"string"==typeof n&&(r=l(r.node,n,r.variables,r.owner))}return e.lookup(r).data})).subscribe({next:h,error:d,complete:c}).unsubscribe}}}])}));
9
+ !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("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/toConsumableArray")):"function"==typeof define&&define.amd?define(["invariant","@babel/runtime/helpers/interopRequireDefault","fbjs/lib/warning","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/objectSpread2","@babel/runtime/helpers/defineProperty","fbjs/lib/areEqual","@babel/runtime/helpers/toConsumableArray"],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("@babel/runtime/helpers/defineProperty"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/toConsumableArray")):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["@babel/runtime/helpers/defineProperty"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/toConsumableArray"])}(window,(function(e,t,r,n,i,a,s,o){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=54)}([function(t,r){t.exports=e},function(e,r){e.exports=t},function(e,t,r){"use strict";var n=r(1)(r(22)),i=r(7),a=r(28),s=r(0),o=r(15),l=i.VARIABLE,u=i.LITERAL,c=i.OBJECT_VALUE,d=i.LIST_VALUE;function h(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||s(!1),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]=h(e,t)})),r}if(e.kind===d){var n=[];return e.items.forEach((function(e){null!=e&&n.push(h(e,t))})),n}}function f(e,t){var r={};return e.forEach((function(e){r[e.name]=h(e,t)})),r}function _(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 p={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",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_INPUTS_KEY:"__resolverInputValues",RELAY_RESOLVER_READER_SELECTOR_KEY:"__resolverReaderSelector",formatStorageKey:_,getArgumentValue:h,getArgumentValues:f,getHandleStorageKey:function(e,t){var r=e.dynamicKey,i=e.handle,s=e.key,o=e.name,l=e.args,u=e.filters,c=a(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,n.default)(d)):[r]),null===d?c:_(c,f(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=void 0===e.args?void 0:e.args,n=e.name;return r&&0!==r.length?_(n,f(r,t)):n},getStableStorageKey:function(e,t){return _(e,o(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=p},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";e.exports={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!0,ENABLE_REACT_FLIGHT_COMPONENT_FIELD:!1,ENABLE_REQUIRED_DIRECTIVES:!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,ENABLE_QUERY_RENDERER_OFFSCREEN_SUPPORT:!1}},function(e,t,r){"use strict";var n=0;e.exports={generateClientID:function(e,t,r){var n=e+":"+t;return null!=r&&(n+=":"+r),0!==n.indexOf("client:")&&(n="client:"+n),n},generateUniqueClientID:function(){return"".concat("client:","local:").concat(n++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t,r){"use strict";e.exports={ACTOR_CHANGE:"ActorChange",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",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",RELAY_RESOLVER:"RelayResolver",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",VARIABLE:"Variable"}},function(e,t){e.exports=i},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(17),a=r(18),s=r(0),o=(r(3),r(6).isClientID,r(2)),l=o.ACTOR_IDENTIFIER_KEY,u=o.ID_KEY,c=o.REF_KEY,d=o.REFS_KEY,h=o.TYPENAME_KEY,f=o.INVALIDATED_AT_KEY;o.ROOT_ID;e.exports={clone:function(e){return(0,n.default)({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==u&&r!==h&&(t[r]=e[r])},create:function(e,t){var r={};return r[u]=e,r[h]=t,r},freeze:function(e){a(e)},getDataID:function(e){return e[u]},getInvalidationEpoch:function(e){if(null==e)return null;var t=e[f];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&r&&"string"==typeof r[c]||s(!1),r[c])},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[d])||s(!1),r[d])},getType:function(e){return e[h]},getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(c)||r.hasOwnProperty(d))&&s(!1),r},merge:function(e,t){return Object.assign({},e,t)},setValue:function(e,t,r){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){for(var r=null,a=Object.keys(t),s=0;s<a.length;s++){var o=a[s];!r&&i(e[o],t[o])||((r=null!==r?r:(0,n.default)({},e))[o]=t[o])}return null!==r?r:e},getActorLinkedRecordID:function(e,t){var r=e[t];return null==r?r:(("object"!=typeof r||"string"!=typeof r[c]||null==r[l])&&s(!1),[r[l],r[c]])},setActorLinkedRecordID:function(e,t,r,n){var i={};i[c]=n,i[l]=r,e[t]=i}}},function(e,t,r){"use strict";var n=r(7),i=r(0);r(3);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===n.FRAGMENT}function o(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}function l(e){var t=a(e);return"object"==typeof t&&null!==t&&t.kind===n.INLINE_DATA_FRAGMENT}function u(e){var t=a(e);return s(t)||i(!1),t}e.exports={getFragment:u,getNode:a,getPaginationFragment:function(e){var t,r=u(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=u(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=a(e);return o(t)||i(!1),t},getInlineDataFragment:function(e){var t=a(e);return l(t)||i(!1),t},graphql:function(e){i(!1)},isFragment:s,isRequest:o,isInlineDataFragment:l}},function(e,t,r){"use strict";var n=r(17),i=r(0),a=(r(3),r(12).getFragmentVariables),s=r(2),o=s.FRAGMENT_OWNER_KEY,l=s.FRAGMENTS_KEY,u=s.ID_KEY,c=s.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT;function d(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1);var r=t[u],n=t[l],s=t[o],d=!0===t[c];if("string"==typeof r&&"object"==typeof n&&null!==n&&"object"==typeof n[e.name]&&null!==n[e.name]&&"object"==typeof s&&null!==s){var h=s,f=n[e.name];return E(e,r,a(e,h.variables,f),h,d)}return null}function h(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?d(e,t):null;null!=i&&(r=r||[]).push(i)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function f(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1),h(e,t)):(Array.isArray(t)&&i(!1),d(e,t))}function _(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1),function(e,t){var r=null;return t.forEach((function(t){var n=null!=t?p(e,t):null;null!=n&&(r=r||[]).push(n)})),r}(e,t)):(Array.isArray(t)&&i(!1),p(e,t))}function p(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1);var r=t[u];return"string"==typeof r?r:null}function v(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||i(!1),m(e,t)):(Array.isArray(t)&&i(!1),g(e,t)||{})}function g(e,t){var r=d(e,t);return r?r.variables:null}function m(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=g(e,t);null!=i&&Object.assign(r,i)}})),r}function E(e,t,r,n){var i=arguments.length>4&&void 0!==arguments[4]&&arguments[4];return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:i,node:e,variables:r,owner:n}}e.exports={areEqualSelectors:function(e,t){return e.owner===t.owner&&e.dataID===t.dataID&&e.node===t.node&&n(e.variables,t.variables)},createReaderSelector:E,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:_,getDataIDsFromObject: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},getSingularSelector:d,getPluralSelector:h,getSelector:f,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=f(i,a)}return r},getVariablesFromSingularFragment:g,getVariablesFromPluralFragment:m,getVariablesFromFragment:v,getVariablesFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=v(e[n],t[n]);Object.assign(r,i)}return r}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(0),a=r(2).getArgumentValues;e.exports={getLocalVariables:function(e,t,r){if(null==t)return e;var i=(0,n.default)({},e),s=r?a(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){var a;return e.argumentDefinitions.forEach((function(e){if(!r.hasOwnProperty(e.name))switch(a=a||(0,n.default)({},r),e.kind){case"LocalArgument":a[e.name]=e.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(e.name)){a[e.name]=void 0;break}a[e.name]=t[e.name];break;default:i(!1)}})),a||r},getOperationVariables:function(e,t){var r={};return e.argumentDefinitions.forEach((function(e){var n=e.defaultValue;null!=t[e.name]&&(n=t[e.name]),r[e.name]=n})),r}}},function(e,t,r){"use strict";var n=r(39),i=function(e,t){},a=function(){function e(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)?s(e):n(e)?o(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){return function(e,t){var r,n=!1,a=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function s(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var o=a({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(o)}catch(e){i(e,!0)}finally{s()}}}});try{t.start&&t.start(o)}catch(e){i(e,!0)}if(n)return o;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),s();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{s()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{s()}}}});try{r=e(l)}catch(e){l.error(e,!0)}0;n&&s();return o}(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 s(){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:s})}catch(e){n.error(e,!0)}},error:n.error,complete:s}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;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 s(e){return e instanceof a?e:a.create((function(t){return e.subscribe(t)}))}function o(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()}))}e.exports=a},function(e,t,r){"use strict";r(18);var n=r(48),i=r(12).getOperationVariables,a=r(11),s=a.createNormalizationSelector,o=a.createReaderSelector,l=r(2).ROOT_ID;function u(e,t,r){return{identifier:n(e.params,t),node:e,variables:t,cacheConfig:r}}e.exports={createOperationDescriptor:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:l,a=e.operation,c=i(a,t),d=u(e,c,r),h={fragment:o(e.fragment,n,c,d),request:d,root:s(a,n,c)};return h},createRequestDescriptor:u}},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){e.exports=a},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 n=t[r];n&&"object"==typeof n&&!Object.isFrozen(n)&&e(n)})),t}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(24),a=i.EXISTENT,s=i.NONEXISTENT,o=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)?s:a: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,n.default)(this._records);try{for(r.s();!(e=r.n()).done;){var i=e.value,a=i[0],s=i[1];t[a]=s}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=l},function(e,t,r){"use strict";var n=r(0),i=r(9).getType;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,r){"use strict";var n=r(27),i=r(28),a=r(0),s=(r(3),r(6).generateClientID),o=r(2).getStableStorageKey;function l(e,t,r){if(null==r)return r;var i=n.get().EDGES,o=t.getValue("__connection_next_edge_index");"number"!=typeof o&&a(!1);var l=s(t.getDataID(),i,o),u=e.create(l,r.getType());return u.copyFieldsFrom(r),null==u.getValue("cursor")&&u.setValue(null,"cursor"),t.setValue(o+1,"__connection_next_edge_index"),u}function u(e,t,r){for(var i=n.get().NODE,a=0;a<e.length;a++){var s=e[a];if(s){var o=s.getLinkedRecord(i),l=o&&o.getDataID();if(l){if(r.has(l))continue;r.add(l)}t.push(s)}}}e.exports={buildConnectionEdge:l,createEdge:function(e,t,r,i){var a=n.get().NODE,o=s(t.getDataID(),r.getDataID()),l=e.get(o);return l||(l=e.create(o,i)),l.setLinkedRecord(r,a),null==l.getValue("cursor")&&l.setValue(null,"cursor"),l},deleteNode:function(e,t){var r=n.get(),i=r.EDGES,a=r.NODE,s=e.getLinkedRecords(i);if(s){for(var o,l=0;l<s.length;l++){var u=s[l],c=u&&u.getLinkedRecord(a);null!=c&&c.getDataID()===t?void 0===o&&(o=s.slice(0,l)):void 0!==o&&o.push(u)}void 0!==o&&e.setLinkedRecords(o,i)}},getConnection:function(e,t,r){var n=i("connection",t,null);return e.getLinkedRecord(n,r)},getConnectionID:function(e,t,r){var n=i("connection",t,null),a=o(n,r);return s(e,a)},insertEdgeAfter:function(e,t,r){var i=n.get(),a=i.CURSOR,s=i.EDGES,o=e.getLinkedRecords(s);if(o){var l;if(null==r)l=o.concat(t);else{l=[];for(var u=!1,c=0;c<o.length;c++){var d=o[c];if(l.push(d),null!=d)r===d.getValue(a)&&(l.push(t),u=!0)}u||l.push(t)}e.setLinkedRecords(l,s)}else e.setLinkedRecords([t],s)},insertEdgeBefore:function(e,t,r){var i=n.get(),a=i.CURSOR,s=i.EDGES,o=e.getLinkedRecords(s);if(o){var l;if(null==r)l=[t].concat(o);else{l=[];for(var u=!1,c=0;c<o.length;c++){var d=o[c];if(null!=d)r===d.getValue(a)&&(l.push(t),u=!0);l.push(d)}u||l.unshift(t)}e.setLinkedRecords(l,s)}else e.setLinkedRecords([t],s)},update:function(e,t){var r=e.get(t.dataID);if(r){var i=n.get(),a=i.EDGES,o=i.END_CURSOR,c=i.HAS_NEXT_PAGE,d=i.HAS_PREV_PAGE,h=i.PAGE_INFO,f=i.PAGE_INFO_TYPE,_=i.START_CURSOR,p=r.getLinkedRecord(t.fieldKey),v=p&&p.getLinkedRecord(h);if(p){var g=s(r.getDataID(),t.handleKey),m=r.getLinkedRecord(t.handleKey),E=null!=m?m:e.get(g),y=E&&E.getLinkedRecord(h);if(E){null==m&&r.setLinkedRecord(E,t.handleKey);var b=E,R=p.getLinkedRecords(a);R&&(R=R.map((function(t){return l(e,b,t)})));var I=b.getLinkedRecords(a),D=b.getLinkedRecord(h);b.copyFieldsFrom(p),I&&b.setLinkedRecords(I,a),D&&b.setLinkedRecord(D,h);var S=[],A=t.args;if(I&&R)if(null!=A.after){if(!y||A.after!==y.getValue(o))return;var F=new Set;u(I,S,F),u(R,S,F)}else if(null!=A.before){if(!y||A.before!==y.getValue(_))return;var T=new Set;u(R,S,T),u(I,S,T)}else S=R;else S=R||I;if(null!=S&&S!==I&&b.setLinkedRecords(S,a),y&&v)if(null==A.after&&null==A.before)y.copyFieldsFrom(v);else if(null!=A.before||null==A.after&&A.last){y.setValue(!!v.getValue(d),d);var k=v.getValue(_);"string"==typeof k&&y.setValue(k,_)}else if(null!=A.after||null==A.before&&A.first){y.setValue(!!v.getValue(c),c);var O=v.getValue(o);"string"==typeof O&&y.setValue(O,o)}}else{var N=e.create(g,p.getType());N.setValue(0,"__connection_next_edge_index"),N.copyFieldsFrom(p);var P=p.getLinkedRecords(a);P&&(P=P.map((function(t){return l(e,N,t)})),N.setLinkedRecords(P,a)),r.setLinkedRecord(N,t.handleKey),(y=e.create(s(N.getDataID(),h),f)).setValue(!1,c),y.setValue(!1,d),y.setValue(null,o),y.setValue(null,_),v&&y.copyFieldsFrom(v),N.setLinkedRecord(y,h)}}else r.setValue(null,t.handleKey)}}}},function(e,t){e.exports=o},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(21),a=(r(3),Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"})),s=Object.freeze({APPEND:"append",PREPEND:"prepend"});function o(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:a,RangeOperations:s,convert:function(e,t,r,a){var s=r?[r]:[],l=a?[a]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=o(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),l.push(r));break;case"RANGE_ADD":var a=function(e,t){var r=e.parentID,a=e.connectionInfo,s=e.edgeName;if(!r)return null;var l=o(t);if(!a||!l)return null;return function(e,t){var o=e.get(r);if(o){var u=e.getRootField(l);if(u){var c,d=u.getLinkedRecord(s),h=(0,n.default)(a);try{for(h.s();!(c=h.n()).done;){var f=c.value;if(d){var _=i.getConnection(o,f.key,f.filters);if(_){var p=i.buildConnectionEdge(e,_,d);if(p)switch(f.rangeBehavior){case"append":i.insertEdgeAfter(_,p);break;case"prepend":i.insertEdgeBefore(_,p)}}}}}catch(e){h.e(e)}finally{h.f()}}}}}(e,t);a&&(s.push(a),l.push(a));break;case"RANGE_DELETE":var u=function(e,t){var r=e.parentID,a=e.connectionKeys,s=e.pathToConnection,l=e.deletedIDFieldName;if(!r)return null;var u=o(t);if(!u)return null;return function(e,t){if(t){var o=[],c=t[u];if(c&&Array.isArray(l)){var d,h=(0,n.default)(l);try{for(h.s();!(d=h.n()).done;){var f=d.value;c&&"object"==typeof c&&(c=c[f])}}catch(e){h.e(e)}finally{h.f()}Array.isArray(c)?c.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&o.push(e.id)})):c&&c.id&&"string"==typeof c.id&&o.push(c.id)}else c&&"string"==typeof l&&"object"==typeof c&&("string"==typeof(c=c[l])?o.push(c):Array.isArray(c)&&c.forEach((function(e){"string"==typeof e&&o.push(e)})));!function(e,t,r,a,s){var o=a.get(e);if(!o)return;if(r.length<2)return;for(var l=o,u=1;u<r.length-1;u++)l&&(l=l.getLinkedRecord(r[u]));if(!t||!l)return;var c,d=(0,n.default)(t);try{var h=function(){var e=c.value,t=i.getConnection(l,e.key,e.filters);t&&s.forEach((function(e){i.deleteNode(t,e)}))};for(d.s();!(c=d.n()).done;)h()}catch(e){d.e(e)}finally{d.f()}}(r,a,s,e,o)}}}(e,t);u&&(s.push(u),l.push(u))}})),{optimisticUpdater:function(e,t){s.forEach((function(r){r(e,t)}))},updater:function(e,t){l.forEach((function(r){r(e,t)}))}}}}},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="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,s=Array.isArray(t)?t:null,o=Array.isArray(r)?r:null;if(s&&o)a=o.reduce((function(t,r,n){var i=e(s[n],r);return i!==o[n]&&(o[n]=i),t&&i===s[n]}),!0)&&s.length===o.length;else if(!s&&!o){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]&&(u[r]=n),t&&n===l[r]}),!0)&&c.length===d.length}return a?t:r}},function(e,t,r){"use strict";var n={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},i={CLIENT_MUTATION_ID:"clientMutationId",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";var n=r(0),i=r(35).DEFAULT_HANDLE_KEY;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";var n=r(0);e.exports={assertInternalActorIndentifier:function(e){"INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE"!==e&&n(!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 n=r(7),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)(r(16)),i=r(6),a=r(5),s=r(9),o=r(0),l=r(7),u=l.ACTOR_CHANGE,c=l.CLIENT_EXTENSION,d=l.CONDITION,h=l.DEFER,f=l.FLIGHT_FIELD,_=l.FRAGMENT_SPREAD,p=l.INLINE_DATA_FRAGMENT_SPREAD,v=l.INLINE_FRAGMENT,g=l.LINKED_FIELD,m=l.MODULE_IMPORT,E=l.REQUIRED_FIELD,y=l.RELAY_RESOLVER,b=l.SCALAR_FIELD,R=l.STREAM,I=r(20).getReactFlightClientResponse,D=r(2),S=D.FRAGMENTS_KEY,A=D.FRAGMENT_OWNER_KEY,F=D.FRAGMENT_PROP_NAME_KEY,T=D.ID_KEY,k=D.IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,O=D.MODULE_COMPONENT_KEY,N=D.ROOT_ID,P=D.getArgumentValues,L=D.getStorageKey,C=D.getModuleComponentKey,w=r(43).NoopResolverCache,M=r(62).withResolverContext,x=r(25).generateTypeID;var V=function(){function e(e,t,r){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}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&&(s.getType(a)!==t.type&&r!==N&&(o=!1));if(o&&null!=i&&null!=a){var l=s.getType(a),u=x(l),c=this._recordSource.get(u),d=null!=c?s.getValue(c,i):null;!1===d?o=!1:null==d&&(this._isMissingData=!0)}return this._isWithinUnmatchedTypeRefinement=!o,{data:this._traverse(t,r,null),isMissingData:this._isMissingData&&o,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords.add(t),null==n)return void 0===n&&(this._isMissingData=!0),n;var i=r||{};return this._traverseSelections(e.selections,n,i)?i:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||o(!1),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._selector.node.name;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:i}});case"LOG":return null==this._missingRequiredFields&&(this._missingRequiredFields={action:t,fields:[]}),void this._missingRequiredFields.fields.push({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 E:if(a.ENABLE_REQUIRED_DIRECTIVES||o(!1),null==this._readRequiredField(i,t,r)){var l=i.action;return"NONE"!==l&&this._maybeReportUnexpectedNull(i.path,l,t),!1}break;case b:this._readScalar(i,t,r);break;case g:i.plural?this._readPluralLink(i,t,r):this._readLink(i,t,r);break;case d:if(Boolean(this._getVariableValue(i.condition))===i.passingValue)if(!this._traverseSelections(i.selections,t,r))return!1;break;case v:var I=i.abstractKey;if(null==I){var D=s.getType(t);if(null!=D&&D===i.type)if(!this._traverseSelections(i.selections,t,r))return!1}else{var S=this._isMissingData,A=this._isWithinUnmatchedTypeRefinement,F=s.getType(t),T=x(F),k=this._recordSource.get(T),O=null!=k?s.getValue(k,I):null;this._isWithinUnmatchedTypeRefinement=A||!1===O,this._traverseSelections(i.selections,t,r),this._isWithinUnmatchedTypeRefinement=A,!1===O?this._isMissingData=S:null==O&&(this._isMissingData=!0)}break;case y:if(!a.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(i,t,r);break;case _:this._createFragmentPointer(i,t,r);break;case m:this._readModuleImport(i,t,r);break;case p:this._createInlineDataOrResolverFragmentPointer(i,t,r);break;case h:case c:var N=this._isMissingData,P=this._traverseSelections(i.selections,t,r);if(this._isMissingData=N,!P)return!1;break;case R:if(!this._traverseSelections(i.selections,t,r))return!1;break;case f:if(!a.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._readFlightField(i,t,r);break;case u:this._readActorChange(i,t,r);break;default:o(!1)}}return!0},t._readRequiredField=function(e,t,r){switch(e.field.kind){case b:return this._readScalar(e.field,t,r);case g:return e.field.plural?this._readPluralLink(e.field,t,r):this._readLink(e.field,t,r);case y:if(!a.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(e.field,t,r);break;default:e.field.kind,o(!1)}},t._readResolverField=function(e,t,r){var a,l,u=this,c=e.resolverModule,d=e.fragment,h=L(e,this._variables),f=i.generateClientID(s.getDataID(t),h),_=new Set,p=function(e){if(null!=a)return a;l=e;var r=u._seenRecords;try{var n;u._seenRecords=_;var i={};return u._createInlineDataOrResolverFragmentPointer(e.node,t,i),("object"!=typeof(a=null===(n=i[S])||void 0===n?void 0:n[d.name])||null===a)&&o(!1),a}finally{u._seenRecords=r}},v={getDataForResolverFragment:p},g=this._resolverCache.readFromCacheOrEvaluate(t,e,this._variables,(function(){var e={__id:s.getDataID(t),__fragmentOwner:u._owner,__fragments:(0,n.default)({},d.name,{})};return M(v,(function(){return{resolverResult:c(e),fragmentValue:a,resolverID:f,seenRecordIDs:_,readerSelector:l}}))}),p),m=g[0],E=g[1];return null!=E&&this._seenRecords.add(E),r[h]=m,m},t._readFlightField=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=L(e,this._variables),o=s.getLinkedRecordID(t,a);if(null==o)return r[i]=o,void 0===o&&(this._isMissingData=!0),o;var l=this._recordSource.get(o);if(this._seenRecords.add(o),null==l)return r[i]=l,void 0===l&&(this._isMissingData=!0),l;var u=I(l);return r[i]=u,u},t._readScalar=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=L(e,this._variables),o=s.getValue(t,a);return void 0===o&&(this._isMissingData=!0),r[i]=o,o},t._readLink=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=L(e,this._variables),l=s.getLinkedRecordID(t,a);if(null==l)return r[i]=l,void 0===l&&(this._isMissingData=!0),l;var u=r[i];null!=u&&"object"!=typeof u&&o(!1);var c=this._traverse(e,l,u);return r[i]=c,c},t._readActorChange=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=L(e,this._variables),o=s.getActorLinkedRecordID(t,a);if(null==o)return r[i]=o,void 0===o&&(this._isMissingData=!0),r[i];var l=o[0],u=o[1],c={};return this._createFragmentPointer(e.fragmentSpread,{__id:u},c),r[i]={__fragmentRef:c,__viewer:l},r[i]},t._readPluralLink=function(e,t,r){var n,i=this,a=null!==(n=e.alias)&&void 0!==n?n:e.name,l=L(e,this._variables),u=s.getLinkedRecordIDs(t,l);if(null==u)return r[a]=u,void 0===u&&(this._isMissingData=!0),u;var c=r[a];null==c||Array.isArray(c)||o(!1);var d=c||[];return u.forEach((function(t,r){if(null==t)return void 0===t&&(i._isMissingData=!0),void(d[r]=t);var n=d[r];null!=n&&"object"!=typeof n&&o(!1),d[r]=i._traverse(e,t,n)})),r[a]=d,d},t._readModuleImport=function(e,t,r){var n=C(e.documentName),i=s.getValue(t,n);null!=i?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},t,r),r[F]=e.fragmentPropName,r[O]=i):void 0===i&&(this._isMissingData=!0)},t._createFragmentPointer=function(e,t,r){var n=r[S];null==n&&(n=r[S]={}),("object"!=typeof n||null==n)&&o(!1),null==r[T]&&(r[T]=s.getDataID(t)),n[e.name]=e.args?P(e.args,this._variables):{},r[A]=this._owner,r[k]=this._isWithinUnmatchedTypeRefinement},t._createInlineDataOrResolverFragmentPointer=function(e,t,r){var n=r[S];null==n&&(n=r[S]={}),("object"!=typeof n||null==n)&&o(!1),null==r[T]&&(r[T]=s.getDataID(t));var i={};this._traverseSelections(e.selections,t,i),n[e.name]=i},e}();e.exports={read:function(e,t,r){return new V(e,t,null!=r?r:new w).read()}}},function(e,t,r){"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},function(e,t,r){"use strict";var n=r(13),i=r(50),a=r(0),s="function"==typeof WeakMap?new WeakMap:new Map;function o(e,t,r){return n.create((function(s){var o=u(e),l=o.get(t);return l||r().finally((function(){return o.delete(t)})).subscribe({start:function(e){l={identifier:t,subject:new i,subjectForInFlightStatus:new i,subscription:e},o.set(t,l)},next:function(e){var r=c(o,t);r.subject.next(e),r.subjectForInFlightStatus.next(e)},error:function(e){var r=c(o,t);r.subject.error(e),r.subjectForInFlightStatus.error(e)},complete:function(){var e=c(o,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var r=c(o,t);r.subject.unsubscribe(),r.subjectForInFlightStatus.unsubscribe()}}),null==l&&a(!1),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))}}}))}(o,l).subscribe(s)}))}function l(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 u(e){var t=s.get(e);if(null!=t)return t;var r=new Map;return s.set(e,r),r}function c(e,t){var r=e.get(t);return null==r&&a(!1),r}e.exports={fetchQuery:function(e,t){return o(e,t.request.identifier,(function(){return e.execute({operation:t})}))},fetchQueryDeduped:o,getPromiseForActiveRequest:function(e,t){var r=u(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?new Promise((function(t,r){var i=!1;l(e,0,n).subscribe({complete:t,error:r,next:function(e){i&&t(e)}}),i=!0})):null},getObservableForActiveRequest:function(e,t){var r=u(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?l(e,0,n):null}}},function(e,t,r){"use strict";e.exports=function(e,t){switch(t.action){case"THROW":var r=t.field,n=r.path,i=r.owner;throw e.requiredFieldLogger({kind:"missing_field.throw",owner:i,fieldPath:n}),new Error("Relay: Missing @required value at path '".concat(n,"' in '").concat(i,"'."));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";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(21),a=r(27),s=r(0),o=(r(3),{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)}))}}}),l={update:function(e,t){var r=e.get(t.dataID);if(null!=r){var a=t.handleArgs.connections;null==a&&s(!1);var o=r.getValue(t.fieldKey);(Array.isArray(o)?o:[o]).forEach((function(t){if("string"==typeof t){var r,s=(0,n.default)(a);try{for(s.s();!(r=s.n()).done;){var o=r.value,l=e.get(o);null!=l&&i.deleteNode(l,t)}}catch(e){s.e(e)}finally{s.f()}}}))}}},u={update:f(i.insertEdgeAfter)},c={update:f(i.insertEdgeBefore)},d={update:_(i.insertEdgeAfter)},h={update:_(i.insertEdgeBefore)};function f(e){return function(t,r){var o,l=t.get(r.dataID);if(null!=l){var u,c,d=r.handleArgs.connections;null==d&&s(!1);try{u=l.getLinkedRecord(r.fieldKey,r.args)}catch(e){}if(!u)try{c=l.getLinkedRecords(r.fieldKey,r.args)}catch(e){}if(null!=u||null!=c){var h,f=a.get(),_=f.NODE,p=f.EDGES,v=null!==(o=c)&&void 0!==o?o:[u],g=(0,n.default)(v);try{var m=function(){var r=h.value;if(null==r)return"continue";var a=r.getLinkedRecord("node");if(!a)return"continue";var o,l=a.getDataID(),u=(0,n.default)(d);try{for(u.s();!(o=u.n()).done;){var c=o.value,f=t.get(c);if(null!=f)if(!(null===(E=f.getLinkedRecords(p))||void 0===E?void 0:E.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(_))||void 0===t?void 0:t.getDataID())===l})))){var v=i.buildConnectionEdge(t,f,r);null==v&&s(!1),e(f,v)}}}catch(e){u.e(e)}finally{u.f()}};for(g.s();!(h=g.n()).done;){var E;m()}}catch(e){g.e(e)}finally{g.f()}}}}}function _(e){return function(t,r){var o,l=t.get(r.dataID);if(null!=l){var u,c,d=r.handleArgs,h=d.connections,f=d.edgeTypeName;null==h&&s(!1),null==f&&s(!1);try{u=l.getLinkedRecord(r.fieldKey,r.args)}catch(e){}if(!u)try{c=l.getLinkedRecords(r.fieldKey,r.args)}catch(e){}if(null!=u||null!=c){var _,p=a.get(),v=p.NODE,g=p.EDGES,m=null!==(o=c)&&void 0!==o?o:[u],E=(0,n.default)(m);try{var y=function(){var r=_.value;if(null==r)return"continue";var a,o=r.getDataID(),l=(0,n.default)(h);try{for(l.s();!(a=l.n()).done;){var u=a.value,c=t.get(u);if(null!=c)if(!(null===(b=c.getLinkedRecords(g))||void 0===b?void 0:b.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(v))||void 0===t?void 0:t.getDataID())===o})))){var d=i.createEdge(t,c,r,f);null==d&&s(!1),e(c,d)}}}catch(e){l.e(e)}finally{l.f()}};for(E.s();!(_=E.n()).done;){var b;y()}}catch(e){E.e(e)}finally{E.f()}}}}}e.exports={AppendEdgeHandler:u,DeleteRecordHandler:o,PrependEdgeHandler:c,AppendNodeHandler:d,PrependNodeHandler:h,DeleteEdgeHandler:l}},function(e,t,r){"use strict";var n=r(21),i=r(36),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)}},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 s=0,o=r.replace(/%s/g,(function(){return String(i[s++])})),l=new Error(o),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";e.exports=function(e){return!!e&&"function"==typeof e.then}},function(e,t,r){"use strict";var n=1e5;e.exports=function(){return n++}},function(e,t,r){"use strict";var n=r(1)(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,s=(0,n.default)(t);try{for(s.s();!(r=s.n()).done;){var o=r.value.identifier,l=this._ownersToPendingOperations.get(o);null!=l?l.has(i)||(l.set(i,e),a.add(o)):(this._ownersToPendingOperations.set(o,new Map([[i,e]])),a.add(o))}}catch(e){s.e(e)}finally{s.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 h=u.value;this._resolveOwnerResolvers(h),c.add(h)}}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,s=new Set,o=(0,n.default)(r);try{for(o.s();!(i=o.n()).done;){var l=i.value,u=this._ownersToPendingOperations.get(l);u&&(u.delete(t),u.size>0?s.add(l):a.add(l))}}catch(e){o.e(e)}finally{o.f()}var c,d=(0,n.default)(a);try{for(d.s();!(c=d.n()).done;){var h=c.value;this._resolveOwnerResolvers(h),this._ownersToPendingOperations.delete(h)}}catch(e){d.e(e)}finally{d.f()}var f,_=(0,n.default)(s);try{for(_.s();!(f=_.n()).done;){var p=f.value;this._resolveOwnerResolvers(p)}}catch(e){_.e(e)}finally{_.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 s=new Promise((function(e){n=e}));null==n&&i(!1);var o=Array.from(r.values());return this._ownersToPendingPromise.set(t,{promise:s,resolve:n,pendingOperations:o}),{promise:s,pendingOperations:o}},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(1)(r(4)),i=r(9),a=r(26),s=(r(3),r(6).generateClientID),o=r(2),l=o.RELAY_RESOLVER_VALUE_KEY,u=o.RELAY_RESOLVER_INVALIDATION_KEY,c=o.RELAY_RESOLVER_INPUTS_KEY,d=o.RELAY_RESOLVER_READER_SELECTOR_KEY,h=o.getStorageKey,f=new Set,_=function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,i){return[n().resolverResult,void 0]},t.invalidateDataIDs=function(e){},e}();function p(e,t,r){var n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(r)}var v=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,a,o){var u=this._getRecordSource(),f=i.getDataID(e),_=h(t,r),v=i.getLinkedRecordID(e,_),g=null==v?null:u.get(v);if(null==g||this._isInvalid(g,o)){var m;v=null!==(m=v)&&void 0!==m?m:s(f,_),g=i.create(v,"__RELAY_RESOLVER__");var E=a();i.setValue(g,l,E.resolverResult),i.setValue(g,c,E.fragmentValue),i.setValue(g,d,E.readerSelector),u.set(v,g);var y=i.clone(e);i.setLinkedRecordID(y,_,v),u.set(i.getDataID(y),y);var b=E.resolverID;p(this._resolverIDToRecordIDs,b,v),p(this._recordIDToResolverIDs,f,b);var R,I=(0,n.default)(E.seenRecordIDs);try{for(I.s();!(R=I.n()).done;){var D=R.value;p(this._recordIDToResolverIDs,D,b)}}catch(e){I.e(e)}finally{I.f()}}return[g[l],v]},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 s,o=(0,n.default)(null!==(l=this._recordIDToResolverIDs.get(a))&&void 0!==l?l:f);try{for(o.s();!(s=o.n()).done;){var l,u=s.value;if(!r.has(u)){var c,d=(0,n.default)(null!==(h=this._resolverIDToRecordIDs.get(u))&&void 0!==h?h:f);try{for(d.s();!(c=d.n()).done;){var h,_=c.value;this._markInvalidatedResolverRecord(_,t,e),r.has(_)||i.push(_)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){o.e(e)}finally{o.f()}}},t._markInvalidatedResolverRecord=function(e,t,r){var n=t.get(e);if(n){var a=i.clone(n);i.setValue(a,u,!0),t.set(e,a)}},t._isInvalid=function(e,t){if(!i.getValue(e,u))return!1;var r=i.getValue(e,c),n=i.getValue(e,d);if(null==r||null==n)return!0;var s=t(n);return a(r,s)!==r},e}();e.exports={NoopResolverCache:_,RecordResolverCache:v}},function(e,t,r){"use strict";var n=r(9),i=r(0),a=r(24).EXISTENT,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:n.clone(t):null===r?null:null!=t?n.update(t,r):n.clone(r)},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||i(!1),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),a=this._base.get(e);r||a||i(!1);var s=this._getSinkRecord(t);a&&n.copyFields(a,s),r&&n.copyFields(r,s)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===a||this._sink.getStatus(e)===a)&&i(!1);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=s},function(e,t,r){"use strict";var n=r(9),i=r(63),a=r(0),s=r(24),o=s.EXISTENT,l=s.NONEXISTENT,u=r(2),c=u.ROOT_ID,d=u.ROOT_TYPE,h=function(){function e(e,t,r){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set}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===o){var a=e.get(t);a&&(r.__mutator.getStatus(t)!==o&&r.create(t,n.getType(a)),r.__mutator.copyFieldsFromRecord(a,t))}else i===l&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||a(!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||a(!1),r},t.delete=function(e){e===c&&a(!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===o?new i(this,this.__mutator,e):t===l?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(c);return e||(e=this.create(c,d)),e&&e.getType()===d||a(!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},e}();e.exports=h},function(e,t,r){"use strict";var n=r(47),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(6).generateClientID)(r(2).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";var n=r(0),i=r(15);e.exports=function(e,t){var r=null!=e.cacheID?e.cacheID:e.id;return null==r&&n(!1),r+JSON.stringify(i(t))}},function(e,t,r){"use strict";var n=r(17),i=r(0),a=r(7).LINKED_FIELD,s=r(2).getHandleStorageKey;e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===a&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));o&&o.kind===a||i(!1);var l=s(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 n=r(1),i=n(r(4)),a=n(r(16)),s=r(13),o=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=s.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,o(!1)}}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(33).getPromiseForActiveRequest;e.exports=function(e,t,r){var i,a,s=[],o=n(e,r);if(null!=o)s=[r];else{var l,u,c=e.getOperationTracker().getPendingOperationsAffectingOwner(r);s=null!==(l=null==c?void 0:c.pendingOperations)&&void 0!==l?l:[],o=null!==(u=null==c?void 0:c.promise)&&void 0!==u?u:null}if(!o)return null;var d=null!==(i=null===(a=s)||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 h=t.name,f=d===h?"Relay(".concat(d,")"):"Relay(".concat(d,":").concat(h,")");return o.displayName=f,{promise:o,pendingOperations:s}}},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=r(0);e.exports=function(e,t){var r,i;!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)&&n(!1);var a=null===(i=e.metadata)||void 0===i?void 0:i.refetch;null==a&&n(!1);var s=a.operation.default?a.operation.default:a.operation,o=a.fragmentPathInResult;"string"==typeof s&&n(!1);var l=a.identifierField;return null!=l&&"string"!=typeof l&&n(!1),{fragmentRefPathInResponse:o,identifierField:l,refetchableRequest:s,refetchMetadata:a}}},function(e,t,r){"use strict";var n=r(21),i=r(27),a=r(10),s=r(36),o=r(55),l=r(7),u=r(12),c=r(23),d=r(35),h=r(37),f=r(38),_=r(5),p=r(56),v=r(14),g=r(9),m=r(11),E=r(68),y=r(76),b=r(13),R=r(41),I=r(78),D=r(79),S=r(19),A=r(50),F=r(2),T=r(47),k=r(80),O=r(81),N=r(82),P=r(84),L=r(86),C=r(87),w=r(18),M=r(88),x=r(33),V=r(89),U=r(90),q=r(92),K=r(93),H=r(51),Y=r(53),j=r(28),G=r(48),z=r(94),B=r(39),Q=r(32),W=r(52),X=r(95),J=r(26),Z=r(34),$=r(96),ee=r(15),te=r(6),re=te.generateClientID,ne=te.generateUniqueClientID,ie=te.isClientID;e.exports={Environment:p,Network:y,Observable:b,QueryResponseCache:D,RecordSource:S,Record:g,ReplaySubject:A,Store:E,areEqualSelectors:m.areEqualSelectors,createFragmentSpecResolver:P,createNormalizationSelector:m.createNormalizationSelector,createOperationDescriptor:v.createOperationDescriptor,createReaderSelector:m.createReaderSelector,createRequestDescriptor:v.createRequestDescriptor,getDataIDsFromFragment:m.getDataIDsFromFragment,getDataIDsFromObject:m.getDataIDsFromObject,getNode:a.getNode,getFragment:a.getFragment,getInlineDataFragment:a.getInlineDataFragment,getModuleComponentKey:F.getModuleComponentKey,getModuleOperationKey:F.getModuleOperationKey,getPaginationFragment:a.getPaginationFragment,getPluralSelector:m.getPluralSelector,getRefetchableFragment:a.getRefetchableFragment,getRequest:a.getRequest,getRequestIdentifier:G,getSelector:m.getSelector,getSelectorsFromObject:m.getSelectorsFromObject,getSingularSelector:m.getSingularSelector,getStorageKey:F.getStorageKey,getVariablesFromFragment:m.getVariablesFromFragment,getVariablesFromObject:m.getVariablesFromObject,getVariablesFromPluralFragment:m.getVariablesFromPluralFragment,getVariablesFromSingularFragment:m.getVariablesFromSingularFragment,reportMissingRequiredFields:Z,graphql:a.graphql,isFragment:a.isFragment,isInlineDataFragment:a.isInlineDataFragment,isRequest:a.isRequest,readInlineData:X,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:h,ConnectionHandler:n,MutationHandlers:s,VIEWER_ID:T.VIEWER_ID,VIEWER_TYPE:T.VIEWER_TYPE,applyOptimisticMutation:k,commitLocalUpdate:O,commitMutation:N,fetchQuery:M,fetchQuery_DEPRECATED:V,isRelayModernEnvironment:Q,requestSubscription:$,ConnectionInterface:i,PreloadableQueryRegistry:o,RelayProfiler:I,createPayloadFor3DField:L,RelayConcreteNode:l,RelayError:f,RelayFeatureFlags:_,DEFAULT_HANDLE_KEY:d.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:F.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:F.FRAGMENT_OWNER_KEY,ID_KEY:F.ID_KEY,REF_KEY:F.REF_KEY,REFS_KEY:F.REFS_KEY,ROOT_ID:F.ROOT_ID,ROOT_TYPE:F.ROOT_TYPE,TYPENAME_KEY:F.TYPENAME_KEY,deepFreeze:w,generateClientID:re,generateUniqueClientID:ne,getRelayHandleKey:j,isClientID:ie,isPromise:B,isScalarAndEqual:W,recycleNodesInto:J,stableCopy:ee,getFragmentIdentifier:U,getRefetchMetadata:Y,getPaginationMetadata:q,getPaginationVariables:K,getPendingOperationsForFragment:H,getValueAtPath:z,__internal:{OperationTracker:R,createRelayContext:C,getOperationVariables:u.getOperationVariables,fetchQuery:x.fetchQuery,fetchQueryDeduped:x.fetchQueryDeduped,getPromiseForActiveRequest:x.getPromiseForActiveRequest,getObservableForActiveRequest:x.getObservableForActiveRequest}}},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(1)(r(8)),i=r(57),a=r(37),s=r(5),o=r(13),l=r(41),u=r(61),c=r(19),d=r(46),h=r(65),f=(r(0),r(66)),_=r(67),p=r(29),v=p.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,g=p.assertInternalActorIndentifier,m=function(){function e(e){var t,r,n,i,o,c,p,v,g=this;this.configName=e.configName,this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var m=e.operationLoader,y=e.reactFlightPayloadDeserializer,b=e.reactFlightServerErrorHandler;this.__log=null!==(t=e.log)&&void 0!==t?t:E,this.requiredFieldLogger=null!==(r=e.requiredFieldLogger)&&void 0!==r?r:h,this._defaultRenderPolicy=(null!==(n=e.UNSTABLE_defaultRenderPolicy)&&void 0!==n?n:!0===s.ENABLE_PARTIAL_RENDERING_DEFAULT)?"partial":"full",this._operationLoader=m,this._operationExecutions=new Map,this._network=_(this,e.network),this._getDataID=null!==(i=e.getDataID)&&void 0!==i?i:d,this._publishQueue=new u(e.store,null!==(o=e.handlerProvider)&&void 0!==o?o:a,this._getDataID),this._scheduler=null!==(c=e.scheduler)&&void 0!==c?c:null,this._store=e.store,this.options=e.options,this._isServer=null!==(p=e.isServer)&&void 0!==p&&p,this.__setNet=function(e){return g._network=_(g,e)},this._missingFieldHandlers=e.missingFieldHandlers,this._operationTracker=null!==(v=e.operationTracker)&&void 0!==v?v:new l,this._reactFlightPayloadDeserializer=y,this._reactFlightServerErrorHandler=b,this._shouldProcessClientComponents=e.shouldProcessClientComponents,f(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.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 o.create((function(e){}))},isClientPayload:!1,operation:e.operation,optimisticConfig:e,updater:null}).subscribe({});return{dispose:function(){return t.unsubscribe()}}},t.check=function(e){return null==this._missingFieldHandlers||0===this._missingFieldHandlers.length?this._store.check(e):this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers)},t.commitPayload=function(e,t){this._execute({createSource:function(){return o.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=c.create(),i=this._store.getSource(),a=this._store.check(e,{handlers:t,defaultActorIdentifier:v,getSourceForActor:function(e){return g(e),i},getTargetForActor:function(e){return g(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,n=e.updater;return this._execute({createSource:function(){return t._network.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,s=e.optimisticUpdater,o=e.updater,l=e.uploadables;return(a||s)&&(t={operation:i,response:a,updater:s}),this._execute({createSource:function(){return r._network.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:o})},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,a=e.operation,s=e.optimisticConfig,l=e.updater,u=this._publishQueue,c=this._store;return o.create((function(e){var o=i.execute({actorIdentifier:v,getDataID:t._getDataID,isClientPayload:n,log:t.__log,operation:a,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:s,getPublishQueue:function(e){return g(e),u},reactFlightPayloadDeserializer:t._reactFlightPayloadDeserializer,reactFlightServerErrorHandler:t._reactFlightServerErrorHandler,scheduler:t._scheduler,shouldProcessClientComponents:t._shouldProcessClientComponents,sink:e,source:r(),getStore:function(e){return g(e),c},treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,updater:l});return function(){return o.cancel()}}))},e}();function E(){}m.prototype["@@RelayModernEnvironment"]=!0,e.exports=m},function(e,t,r){"use strict";var n=r(1),i=n(r(8)),a=n(r(4)),s=n(r(16)),o=n(r(22)),l=r(38),u=r(5),c=r(9),d=r(13),h=r(19),f=r(58),_=r(40),p=r(30),v=r(0),g=r(15),m=(r(3),r(60)),E=r(6),y=E.generateClientID,b=E.generateUniqueClientID,R=r(12).getLocalVariables,I=r(11),D=I.createNormalizationSelector,S=I.createReaderSelector,A=r(2),F=A.ROOT_TYPE,T=A.TYPENAME_KEY,k=A.getStorageKey;var O=function(){function e(e){var t=this,r=e.actorIdentifier,n=e.getDataID,i=e.getPublishQueue,a=e.getStore,o=e.isClientPayload,l=e.operation,u=e.operationExecutions,c=e.operationLoader,d=e.operationTracker,h=e.optimisticConfig,f=e.reactFlightPayloadDeserializer,p=e.reactFlightServerErrorHandler,g=e.scheduler,E=e.shouldProcessClientComponents,y=e.sink,b=e.source,R=e.treatMissingFieldsAsNull,I=e.updater,D=e.log;(0,s.default)(this,"_deserializeReactFlightPayloadWithLogging",(function(e){var r=t._reactFlightPayloadDeserializer;"function"!=typeof r&&v(!1);var n=m((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=D,this._executeId=_(),this._nextSubscriptionId=0,this._operation=l,this._operationExecutions=u,this._operationLoader=c,this._operationTracker=d,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._getPublishQueue=i,this._scheduler=g,this._sink=y,this._source=new Map,this._state="started",this._getStore=a,this._subscriptions=new Map,this._updater=I,this._isClientPayload=!0===o,this._reactFlightPayloadDeserializer=f,this._reactFlightServerErrorHandler=p,this._isSubscriptionOperation="subscription"===this._operation.request.node.params.operationKind,this._shouldProcessClientComponents=E,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[];var S=this._nextSubscriptionId++;b.subscribe({complete:function(){return t._complete(S)},error:function(e){return t._error(e)},next:function(e){try{t._next(S,e)}catch(e){y.error(e)}},start:function(e){var r;t._start(S,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,v(!1)}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++;d.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=m((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=l.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 s=e;r.push(s)}})),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)}))&&v(!1),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&v(!1),!!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||v(!1),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],a=n[1],s=i.length>0;if(s){if(this._isSubscriptionOperation){var o=b();this._operation={request:this._operation.request,fragment:S(this._operation.fragment.node,o,this._operation.fragment.variables,this._operation.fragment.owner),root:D(this._operation.root.node,o,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(s?this._operation:void 0);s&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(c),this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&v(!1),null!=e||null!=t){var i=[];if(e){var a=N(e,this._operation.root,F,{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:h.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 s=r.value;switch(s.kind){case"ModuleImportPayload":var l=this._expectOperationLoader().get(s.operationReference);if(null==l)this._processAsyncOptimisticModuleImport(s);else{var u=this._processOptimisticModuleImport(l,s);t.push.apply(t,(0,o.default)(u))}break;case"ActorPayload":break;default:v(!1)}}}catch(e){i.e(e)}finally{i.f()}}},t._normalizeFollowupPayload=function(e,t){var r;r="SplitOperation"===t.kind&&"ModuleImportPayload"===e.kind?R(e.variables,t.argumentDefinitions,e.args):e.variables;var n=D(t,e.dataID,r);return N({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=p(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);else(n=t._optimisticUpdates).push.apply(n,(0,o.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=N(e,t._operation.root,F,{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)){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,p(n));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var a=function(){t._pendingModulePayloadsCount--,t._maybeCompleteSubscriptionOperationTracking()},s=d.from(new Promise((function(t,n){r.load(e.operationReference).then(t,n)})));d.create((function(r){var n,i=s.subscribe({next:function(i){if(null!=i){var a=function(){try{var n=p(i),a=u.BATCH_ASYNC_MODULE_UPDATES_FN,s=null!=a&&t._pendingModulePayloadsCount>1,o=m((function(){if(t._handleFollowupPayload(e,n),s)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:o}),s||r.complete()}catch(e){r.error(e)}},s=t._scheduler;null==s?a():n=s.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:v(!1)}},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 s,o=a.get(i),l=null!=o&&"response"===o.kind?o.responses:null;a.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?s=t.parentID:"defer"===t.kind?s=t.selector.dataID:v(!1);var u,d,h=e.source.get(s),f=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=y(e.dataID,e.fieldKey);return e.dataID===s||t===s}));null==h&&v(!1);var _=this._source.get(s);if(null!=_){u=c.update(_.record,h);var p=new Map,m=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(g(t)))&&void 0!==r?r:"");p.set(n,e)};_.fieldPayloads.forEach(m),f.forEach(m),d=Array.from(p.values())}else u=h,d=f;if(this._source.set(s,{record:u,fieldPayloads:d}),null!=l){var E=this._processIncrementalResponses(l);this._processPayloadFollowups(E)}},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,a=e.response,s=t._incrementalResults.get(n);if(null==s&&(s=new Map,t._incrementalResults.set(n,s)),-1!==n.indexOf("$defer$")){var o=i.map(String).join("."),l=s.get(o);if(null==l)return l={kind:"response",responses:[e]},void s.set(o,l);if("response"===l.kind)return void l.responses.push(e);var u=l.placeholder;"defer"!==u.kind&&v(!1),r.push(t._processDeferResponse(n,i,u,a))}else{var c=i.slice(0,-2).map(String).join("."),d=s.get(c);if(null==d)return d={kind:"response",responses:[e]},void s.set(c,d);if("response"===d.kind)return void d.responses.push(e);var h=d.placeholder;"stream"!==h.kind&&v(!1),r.push(t._processStreamResponse(n,i,h,a))}})),r},t._processDeferResponse=function(e,t,r,n){var i,a=r.selector.dataID,s=this._actorIdentifier;this._actorIdentifier=null!==(i=r.actorIdentifier)&&void 0!==i?i:this._actorIdentifier;var o=N(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,o);var l=this._source.get(a);null==l&&v(!1);var u=l.fieldPayloads;if(0!==u.length){var c,d={errors:null,fieldPayloads:u,incrementalPlaceholders:null,followupPayloads:null,source:h.create(),isFinal:!0===(null===(c=n.extensions)||void 0===c?void 0:c.is_final)};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=s,o},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,a=r.node,s=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)&&v(!1);var d=this._normalizeStreamItem(n,i,c,s,t,r.path),f=d.fieldPayloads,_=d.itemID,p=d.itemIndex,g=d.prevIDs,m=d.relayPayload,E=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,m,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(E);if(null!=r&&r.length===g.length&&!r.some((function(e,t){return g[t]!==(e&&e.getDataID())}))){var n=(0,o.default)(r);n[p]=e.get(_),t.setLinkedRecords(n,E)}}})),0!==f.length){var y={errors:null,fieldPayloads:f,incrementalPlaceholders:null,followupPayloads:null,source:h.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,y)}return this._actorIdentifier=u,m},t._normalizeStreamItem=function(e,t,r,n,i,a){var s,l,u,d=e.data;"object"!=typeof d&&v(!1);var h=null!==(s=r.alias)&&void 0!==s?s:r.name,f=k(r,n),_=this._source.get(t);null==_&&v(!1);var p=_.record,g=_.fieldPayloads,m=c.getLinkedRecordIDs(p,f);null==m&&v(!1);var E=i[i.length-1],b=parseInt(E,10);b===E&&b>=0||v(!1);var R=null!==(l=r.concreteType)&&void 0!==l?l:d[T];"string"!=typeof R&&v(!1);var I=(null!==(u=this._getDataID(d,R))&&void 0!==u?u:m&&m[b])||y(t,f,b);"string"!=typeof I&&v(!1);var S=D(r,I,n),A=c.clone(p),F=(0,o.default)(m);return F[b]=I,c.setLinkedRecordIDs(A,f,F),this._source.set(t,{record:A,fieldPayloads:g}),{fieldPayloads:g,itemID:I,itemIndex:b,prevIDs:m,relayPayload:N(e,S,R,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,o.default)(a),[h,String(b)]),reactFlightPayloadDeserializer:null!=this._reactFlightPayloadDeserializer?this._deserializeReactFlightPayloadWithLogging:null,reactFlightServerErrorHandler:this._reactFlightServerErrorHandler,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents}),storageKey:f}},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||v(!1),e},e}();function N(e,t,r,n){var a,s=e.data,o=e.errors,l=h.create(),u=c.create(t.dataID,r);l.set(t.dataID,u);var d=f.normalize(l,t,s,n);return(0,i.default)((0,i.default)({},d),{},{errors:o,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&&v(!1)}e.exports={execute:function(e){return new O(e)}}},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(22)),s=r(5),o=r(9),l=(r(17),r(0)),u=(r(3),r(59)),c=(u.ACTOR_IDENTIFIER_FIELD_NAME,u.getActorIdentifierFromPayload),d=r(7),h=d.ACTOR_CHANGE,f=d.CONDITION,_=d.CLIENT_COMPONENT,p=d.CLIENT_EXTENSION,v=d.DEFER,g=d.FLIGHT_FIELD,m=d.FRAGMENT_SPREAD,E=d.INLINE_FRAGMENT,y=d.LINKED_FIELD,b=d.LINKED_HANDLE,R=d.MODULE_IMPORT,I=d.SCALAR_FIELD,D=d.SCALAR_HANDLE,S=d.STREAM,A=d.TYPE_DISCRIMINATOR,F=r(6),T=F.generateClientID,k=(F.isClientID,r(12).getLocalVariables),O=r(11).createNormalizationSelector,N=r(20),P=N.refineToReactFlightPayloadData,L=N.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY,C=N.REACT_FLIGHT_TREE_STORAGE_KEY,w=N.REACT_FLIGHT_TYPE_NAME,M=r(2),x=M.getArgumentValues,V=M.getHandleStorageKey,U=M.getModuleComponentKey,q=M.getModuleOperationKey,K=M.getStorageKey,H=M.TYPENAME_KEY,Y=M.ROOT_ID,j=M.ROOT_TYPE,G=r(25),z=G.generateTypeID,B=G.TYPE_SCHEMA_TYPE;var Q=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||l(!1),this._traverseSelections(e,n,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||l(!1),this._variables[e]},t._getRecordType=function(e){var t=e[H];return null==t&&l(!1),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 I:case y:this._normalizeField(e,i,t,r);break;case f:Boolean(this._getVariableValue(i.condition))===i.passingValue&&this._traverseSelections(i,t,r);break;case m:var a=this._variables;this._variables=k(this._variables,i.fragment.argumentDefinitions,i.args),this._traverseSelections(i.fragment,t,r),this._variables=a;break;case E:var u=i.abstractKey;if(null==u){o.getType(t)===i.type&&this._traverseSelections(i,t,r)}else{var c=r.hasOwnProperty(u),d=o.getType(t),F=z(d),T=this._recordSource.get(F);null==T&&(T=o.create(F,B),this._recordSource.set(F,T)),o.setValue(T,u,c),c&&this._traverseSelections(i,t,r)}break;case A:var O=i.abstractKey,N=r.hasOwnProperty(O),P=o.getType(t),L=z(P),C=this._recordSource.get(L);null==C&&(C=o.create(L,B),this._recordSource.set(L,C)),o.setValue(C,O,N);break;case b:case D:var w=i.args?x(i.args,this._variables):{},M=K(i,this._variables),U=V(i,this._variables);this._handleFieldPayloads.push({args:w,dataID:o.getDataID(t),fieldKey:M,handle:i.handle,handleKey:U,handleArgs:i.handleArgs?x(i.handleArgs,this._variables):{}});break;case R:this._normalizeModuleImport(e,i,t,r);break;case v:this._normalizeDefer(i,t,r);break;case S:this._normalizeStream(i,t,r);break;case p:var q=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(i,t,r),this._isClientExtension=q;break;case _:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(i.fragment,t,r);break;case g:if(!s.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");this._normalizeFlightField(e,i,t,r);break;case h:this._normalizeActorChange(e,i,t,r);break;default:l(!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:O(e,o.getDataID(t),this._variables),typeName:o.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:o.getDataID(t),node:e,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(e,t,r,n){"object"==typeof n&&n||l(!1);var i=o.getType(r),s=U(t.documentName),u=n[s];o.setValue(r,s,null!=u?u:null);var c=q(t.documentName),d=n[c];o.setValue(r,c,null!=d?d:null),null!=d&&this._followupPayloads.push({kind:"ModuleImportPayload",args:t.args,data:n,dataID:o.getDataID(r),operationReference:d,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||l(!1);var i=t.alias||t.name,a=K(t,this._variables),s=n[i];if(null!=s)t.kind===I?o.setValue(r,a,s):t.kind===y?(this._path.push(i),t.plural?this._normalizePluralLink(t,r,a,s):this._normalizeLink(t,r,a,s),this._path.pop()):l(!1);else{if(void 0===s){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}o.setValue(r,a,null)}},t._normalizeActorChange=function(e,t,r,n){var i,s=t.linkedField;"object"==typeof n&&n||l(!1);var u=s.alias||s.name,d=K(s,this._variables),h=n[u];if(null!=h){var f=c(h);if(null!=f){var _=null!==(i=s.concreteType)&&void 0!==i?i:this._getRecordType(h),p=this._getDataId(h,_)||o.getLinkedRecordID(r,d)||T(o.getDataID(r),d);"string"!=typeof p&&l(!1),o.setActorLinkedRecordID(r,d,f,p),this._followupPayloads.push({kind:"ActorPayload",data:h,dataID:p,path:[].concat((0,a.default)(this._path),[u]),typeName:_,variables:this._variables,node:s,actorIdentifier:f})}else o.setValue(r,d,null)}else{if(void 0===h){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void 0}o.setValue(r,d,null)}},t._normalizeFlightField=function(e,t,r,n){var a=t.alias||t.name,s=K(t,this._variables),u=n[a];if(null!=u){var c=P(u),d=this._reactFlightPayloadDeserializer;null==c&&l(!1),"function"!=typeof d&&l(!1),c.errors.length>0&&"function"==typeof this._reactFlightServerErrorHandler&&this._reactFlightServerErrorHandler(c.status,c.errors);var h=T(o.getDataID(r),K(t,this._variables)),f=this._recordSource.get(h);if(null==f&&(f=o.create(h,w),this._recordSource.set(h,f)),null==c.tree)return o.setValue(f,C,null),o.setValue(f,L,[]),void o.setLinkedRecordID(r,s,h);var _=d(c.tree);o.setValue(f,C,_);var p,v=[],g=(0,i.default)(c.queries);try{for(g.s();!(p=g.n()).done;){var m=p.value;null!=m.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:m.response.data,dataID:Y,operationReference:m.module,path:[],typeName:j,variables:m.variables,actorIdentifier:this._actorIdentifier}),v.push({module:m.module,variables:m.variables})}}catch(e){g.e(e)}finally{g.f()}var E,y=(0,i.default)(c.fragments);try{for(y.s();!(E=y.n()).done;){var b=E.value;null!=b.response.data&&this._followupPayloads.push({kind:"ModuleImportPayload",args:null,data:b.response.data,dataID:b.__id,operationReference:b.module,path:[],typeName:b.__typename,variables:b.variables,actorIdentifier:this._actorIdentifier}),v.push({module:b.module,variables:b.variables})}}catch(e){y.e(e)}finally{y.f()}o.setValue(f,L,v),o.setLinkedRecordID(r,s,h)}else{if(void 0===u){if(this._isUnmatchedAbstractType)return;this._treatMissingFieldsAsNull||l(!1)}o.setValue(r,s,null)}},t._normalizeLink=function(e,t,r,n){var i;"object"==typeof n&&n||l(!1);var a=this._getDataId(n,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(n))||o.getLinkedRecordID(t,r)||T(o.getDataID(t),r);"string"!=typeof a&&l(!1),o.setLinkedRecordID(t,r,a);var s=this._recordSource.get(a);if(s)0;else{var u=e.concreteType||this._getRecordType(n);s=o.create(a,u),this._recordSource.set(a,s)}this._traverseSelections(e,s,n)},t._normalizePluralLink=function(e,t,r,n){var i=this;Array.isArray(n)||l(!1);var a=o.getLinkedRecordIDs(t,r),s=[];n.forEach((function(n,u){var c;if(null!=n){i._path.push(String(u)),"object"!=typeof n&&l(!1);var d=i._getDataId(n,null!==(c=e.concreteType)&&void 0!==c?c:i._getRecordType(n))||a&&a[u]||T(o.getDataID(t),r,u);"string"!=typeof d&&l(!1),s.push(d);var h=i._recordSource.get(d);if(h)0;else{var f=e.concreteType||i._getRecordType(n);h=o.create(d,f),i._recordSource.set(d,h)}0,i._traverseSelections(e,h,n),i._path.pop()}else s.push(n)})),o.setLinkedRecordIDs(t,r,s)},t._validateRecordType=function(e,t,r){var n;null!==(n=t.concreteType)&&void 0!==n||this._getRecordType(r),o.getDataID(e)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r,n){0},e}();e.exports={normalize:function(e,t,r,n){var i=t.dataID,a=t.node,s=t.variables;return new Q(e,s,n).normalizeResponse(a,i,r)}}},function(e,t,r){"use strict";var n=r(29).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";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 s(){return a?window.performance.now():Date.now()}e.exports=function(e){var t=s(),r=e();return[s()-t,r]}},function(e,t,r){"use strict";(function(t){var n,i,a,s=r(31),o=r(19),l=r(44),u=r(45),c=r(64),d=r(0),h=(r(3),null!==(n=null===(i=t)||void 0===i||null===(a=i.ErrorUtils)||void 0===a?void 0:a.applyWithGuard)&&void 0!==n?n:function(e,t,r,n,i){return e.apply(t,r)}),f=function(){function e(e,t,r){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}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&d(!1),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;if(!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!t)return[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var r=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._store.notify(e,r)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,a=r.source,s=r.fieldPayloads,o=new l(this._store.getSource(),a),h=new u(o,this._getDataID);if(s&&s.length&&s.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||d(!1),r.update(h,e)})),i){var f=n.fragment;null==f&&d(!1),i(new c(o,h,f),_(a,f))}var p=h.getIDsMarkedForInvalidation();return this._store.publish(a,p),h.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 a=r.updater,s=o.create(),c=new l(e._store.getSource(),s),d=new u(c,e._getDataID);h(a,null,[d],null,"RelayPublishQueue:commitData"),t=t||d.isStoreMarkedForInvalidation();var f=d.getIDsMarkedForInvalidation();e._store.publish(s,f)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=o.create(),r=new l(this._store.getSource(),t),n=new u(r,this._getDataID,this._handlerProvider),i=function(e){if(e.storeUpdater){var t=e.storeUpdater;h(t,null,[n],null,"RelayPublishQueue:applyUpdates")}else{var i=e.operation,a=e.payload,s=e.updater,o=a.source,l=a.fieldPayloads;if(o&&n.publishSource(o,l),s){var u;o&&(u=_(o,i.fragment));var d=new c(r,n,i.fragment);h(s,null,[d,u],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){return s.read(e,t).data}e.exports=f}).call(this,r(42))},function(e,t,r){"use strict";var n=r(0),i=r(10).getFragment,a=r(11).getSelector,s=[];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),l=a(o,t);return null==l&&n(!1),"SingularReaderSelector"!==l.kind&&n(!1),r.getDataForResolverFragment(l,t)},withResolverContext:function(e,t){s.push(e);try{return t()}finally{s.pop()}}}},function(e,t,r){"use strict";var n=r(0),i=r(6).generateClientID,a=r(2).getStableStorageKey,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&&n(!1),e},t.getValue=function(e,t){var r=a(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){o(e)||n(!1);var i=a(t,r);return this._mutator.setValue(this._dataID,i,e),this},t.getLinkedRecord=function(e,t){var r=a(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,i){t instanceof e||n(!1);var s=a(r,i),o=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,s,o),this},t.getOrCreateLinkedRecord=function(e,t,r){var n=this.getLinkedRecord(e,r);if(!n){var s,o=a(e,r),l=i(this.getDataID(),o);n=null!==(s=this._source.get(l))&&void 0!==s?s:this._source.create(l,t),this.setLinkedRecord(n,e,r)}return n},t.getLinkedRecords=function(e,t){var r=this,n=a(e,t),i=this._mutator.getLinkedRecordIDs(this._dataID,n);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)||n(!1);var i=a(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 o(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(o)}e.exports=s},function(e,t,r){"use strict";var n=r(0),i=r(2),a=i.getStorageKey,s=i.ROOT_TYPE,o=function(){function e(e,t,r){this.__mutator=e,this.__recordSource=t,this._readSelector=r}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,s)),e},t._getRootField=function(e,t,r){var i=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t||"RequiredField"===e.kind&&e.field.name===t}));return i&&"RequiredField"===i.kind&&(i=i.field),i&&"LinkedField"===i.kind||n(!1),i.plural!==r&&n(!1),i},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()},e}();e.exports=o},function(e,t,r){"use strict";e.exports=function(e){0}},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(42))},function(e,t,r){"use strict";var n=r(40);e.exports=function(e,t){return{execute:function(r,i,a,s){var o=n(),l={start:function(t){e.__log({name:"network.start",networkRequestId:o,params:r,variables:i,cacheConfig:a})},next:function(t){e.__log({name:"network.next",networkRequestId:o,response:t})},error:function(t){e.__log({name:"network.error",networkRequestId:o,error:t})},complete:function(){e.__log({name:"network.complete",networkRequestId:o})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:o})}};return t.execute(r,i,a,s,(function(t){e.__log({name:"network.info",networkRequestId:o,info:t})})).do(l)}}}},function(e,t,r){"use strict";var n=r(1),i=n(r(4)),a=n(r(16)),s=r(69),o=r(5),l=r(9),u=r(71),c=r(31),d=r(72),h=r(20),f=r(73),_=r(2),p=(r(18),r(46)),v=r(0),g=r(75),m=r(29),E=m.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,y=m.assertInternalActorIndentifier,b=r(2),R=b.ROOT_ID,I=b.ROOT_TYPE,D=r(43).RecordResolverCache,S=function(){function e(e,t){var r,n,i,s,o,u=this;(0,a.default)(this,"_gcStep",(function(){u._gcRun&&(u._gcRun.next().done?u._gcRun=null:u._gcScheduler(u._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!==(n=null==t?void 0:t.gcScheduler)&&void 0!==n?n:g,this._getDataID=null!==(i=null==t?void 0:t.getDataID)&&void 0!==i?i:p,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 D((function(){return u._getMutableRecordSource()})),this._storeSubscriptions=new f(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(R)){var t=l.create(R,I);e.set(R,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,l=this._getMutableRecordSource(),u=this._globalInvalidationEpoch,c=this._roots.get(e.request.identifier),d=null!=c?c.epoch:null;if(null!=u&&(null==d||d<=u))return{status:"stale"};var h=null!==(r=null==t?void 0:t.handlers)&&void 0!==r?r:[],f=null!==(n=null==t?void 0:t.getSourceForActor)&&void 0!==n?n:function(e){return y(e),l},_=null!==(i=null==t?void 0:t.getTargetForActor)&&void 0!==i?i:function(e){return y(e),l};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}}(s.check(f,_,null!==(a=null==t?void 0:t.defaultActorIdentifier)&&void 0!==a?a:E,o,h,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),d,null==c?void 0:c.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();return c.read(t,e,this._resolverCache)},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),o.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 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 u={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(s),this._roots.set(s,u)}}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,s=e.get(n),o=t.get(n);null!==o&&((i=null!=s?l.clone(s):null!=o?l.clone(o):null)&&(l.setValue(i,_.INVALIDATED_AT_KEY,r),a.add(n),e.set(n,i)))}));for(var s=t.getRecordIDs(),o=0;o<s.length;o++){var u=s[o],c=t.get(u),d=e.get(u);if(c&&d){var f=l.getType(d)===h.REACT_FLIGHT_TYPE_NAME?c:l.update(d,c);f!==d&&(i.add(u),e.set(u,f))}else null===c?(e.delete(u),null!==d&&i.add(u)):c&&(e.set(u,c),i.add(u))}}(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=l.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 s=n.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,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&&v(!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=u.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&v(!1);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(d.mark(this._recordSource,a,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(e){n.e(e)}finally{n.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}},e}();e.exports=S},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(7),a=r(5),s=r(9),o=r(44),l=r(45),u=r(20),c=r(2),d=r(49),h=r(70),f=r(30),_=r(0),p=r(6).isClientID,v=r(12).getLocalVariables,g=r(24),m=g.EXISTENT,E=g.UNKNOWN,y=r(25).generateTypeID,b=i.ACTOR_CHANGE,R=i.CONDITION,I=i.CLIENT_COMPONENT,D=i.CLIENT_EXTENSION,S=i.DEFER,A=i.FLIGHT_FIELD,F=i.FRAGMENT_SPREAD,T=i.INLINE_FRAGMENT,k=i.LINKED_FIELD,O=i.LINKED_HANDLE,N=i.MODULE_IMPORT,P=i.SCALAR_FIELD,L=i.SCALAR_HANDLE,C=i.STREAM,w=i.TYPE_DISCRIMINATOR,M=c.ROOT_ID,x=c.getModuleOperationKey,V=c.getStorageKey,U=c.getArgumentValues;var q=function(){function e(e,t,r,n,i,a,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=i,this._mutator=u,this._operationLoader=null!=a?a:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=n,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),n=new o(this._getSourceForActor(e),r);t=[n,new l(n,this._getDataID)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return 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)||_(!1),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._getDataForHandlers=function(e,t){return{args:e.args?U(e.args,this._variables):{},record:this._source.get(t)}},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!p(t)){var r,i=this._getDataForHandlers(e,t),a=i.args,s=i.record,o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var l=r.value;if("scalar"===l.kind){var u=l.handle(e,s,a,this._recordSourceProxy);if(void 0!==u)return u}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=this._getDataForHandlers(e,t),a=i.args,s=i.record,o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var l=r.value;if("linked"===l.kind){var u=l.handle(e,s,a,this._recordSourceProxy);if(void 0!==u&&(null===u||this._mutator.getStatus(u)===m))return u}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,a=this._getDataForHandlers(e,t),s=a.args,o=a.record,l=(0,n.default)(this._handlers);try{for(l.s();!(r=l.n()).done;){var u=r.value;if("pluralLinked"===u.kind){var c=u.handle(e,o,s,this._recordSourceProxy);if(null!=c){if(c.every((function(e){return null!=e&&i._mutator.getStatus(e)===m})))return c}else if(null===c)return null}}}catch(e){l.e(e)}finally{l.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===E&&this._handleMissing(),r===m){var n=this._source.get(t),i=s.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 P:r._checkScalar(n,t);break;case k:n.plural?r._checkPluralLink(n,t):r._checkLink(n,t);break;case b:r._checkActorChange(n.linkedField,t);break;case R:Boolean(r._getVariableValue(n.condition))===n.passingValue&&r._traverseSelections(n.selections,t);break;case T:var i=n.abstractKey;if(null==i){r._mutator.getType(t)===n.type&&r._traverseSelections(n.selections,t)}else{var s=r._mutator.getType(t);null==s&&_(!1);var o=y(s),l=r._mutator.getValue(o,i);!0===l?r._traverseSelections(n.selections,t):null==l&&r._handleMissing()}break;case O:var u=d(n,e,r._variables);u.plural?r._checkPluralLink(u,t):r._checkLink(u,t);break;case L:var c=h(n,e,r._variables);r._checkScalar(c,t);break;case N:r._checkModuleImport(n,t);break;case S:case C:r._traverseSelections(n.selections,t);break;case F:var f=r._variables;r._variables=v(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=f;break;case D:var p=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=p;break;case w:var g=n.abstractKey,m=r._mutator.getType(t);null==m&&_(!1);var E=y(m);null==r._mutator.getValue(E,g)&&r._handleMissing();break;case A:if(!a.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._checkFlightField(n,t);break;case I:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;default:_(!1)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&_(!1);var n=x(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var a=r.get(i);if(null!=a){var s=f(a),o=this._variables;this._variables=v(this._variables,s.argumentDefinitions,e.args),this._traverse(s,t),this._variables=o}else this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=V(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=V(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=V(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=V(e,this._variables),n=this._source.get(t),i=null!=n?s.getActorLinkedRecordID(n,r):n;if(null==i)void 0===i&&this._handleMissing();else{var a=i[0],o=i[1],l=this._source,u=this._mutator,c=this._recordSourceProxy,d=this._getMutatorAndRecordProxyForActor(a),h=d[0],f=d[1];this._source=this._getSourceForActor(a),this._mutator=h,this._recordSourceProxy=f,this._traverse(e,o),this._source=l,this._mutator=u,this._recordSourceProxy=c}},t._checkFlightField=function(e,t){var r=V(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,u.REACT_FLIGHT_TREE_STORAGE_KEY),s=this._mutator.getValue(i,u.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(null!=a&&Array.isArray(s)){var o=this._operationLoader;null===o&&_(!1);var l,c=this._variables,d=(0,n.default)(s);try{for(d.s();!(l=d.n()).done;){var h=l.value;this._variables=h.variables;var p=o.get(h.module);if(null!=p){var v=f(p);this._traverseSelections(v.selections,M)}else this._handleMissing()}}catch(e){d.e(e)}finally{d.f()}this._variables=c}else this._handleMissing()},e}();e.exports={check:function(e,t,r,n,i,a,s,o){var l=n.dataID,u=n.node,c=n.variables;return new q(e,t,r,c,i,a,s,o).check(u,l)}}},function(e,t,r){"use strict";var n=r(17),i=r(0),a=r(7).SCALAR_FIELD,s=r(2).getHandleStorageKey;e.exports=function(e,t,r){var o=t.find((function(t){return t.kind===a&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));o&&o.kind===a||i(!1);var l=s(e,r);return{kind:"ScalarField",alias:o.alias,name:l,storageKey:l,args:null}}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(19),a=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)!==a:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===a?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,a)},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},e}();e.exports={create:function(e){return new s(e)}}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(7),a=r(5),s=r(9),o=r(20),l=r(2),u=r(49),c=r(30),d=r(0),h=r(12).getLocalVariables,f=r(25).generateTypeID,_=i.ACTOR_CHANGE,p=i.CONDITION,v=i.CLIENT_COMPONENT,g=i.CLIENT_EXTENSION,m=i.DEFER,E=i.FLIGHT_FIELD,y=i.FRAGMENT_SPREAD,b=i.INLINE_FRAGMENT,R=i.LINKED_FIELD,I=i.MODULE_IMPORT,D=i.LINKED_HANDLE,S=i.SCALAR_FIELD,A=i.SCALAR_HANDLE,F=i.STREAM,T=i.TYPE_DISCRIMINATOR,k=l.ROOT_ID,O=l.getStorageKey,N=l.getModuleOperationKey;var P=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)||d(!1),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 R:n.plural?r._traversePluralLink(n,t):r._traverseLink(n,t);break;case p:Boolean(r._getVariableValue(n.condition))===n.passingValue&&r._traverseSelections(n.selections,t);break;case b:if(null==n.abstractKey){var i=s.getType(t);null!=i&&i===n.type&&r._traverseSelections(n.selections,t)}else{var o=s.getType(t),l=f(o);r._references.add(l),r._traverseSelections(n.selections,t)}break;case y:var c=r._variables;r._variables=h(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=c;break;case D:var k=u(n,e,r._variables);k.plural?r._traversePluralLink(k,t):r._traverseLink(k,t);break;case m:case F:r._traverseSelections(n.selections,t);break;case S:case A:break;case T:var O=s.getType(t),N=f(O);r._references.add(N);break;case I:r._traverseModuleImport(n,t);break;case g:r._traverseSelections(n.selections,t);break;case E:if(!a.ENABLE_REACT_FLIGHT_COMPONENT_FIELD)throw new Error("Flight fields are not yet supported.");r._traverseFlightField(n,t);break;case v:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;default:d(!1)}}))},t._traverseModuleImport=function(e,t){var r=this._operationLoader;null===r&&d(!1);var n=N(e.documentName),i=s.getValue(t,n);if(null!=i){var a=r.get(i);if(null!=a){var o=c(a),l=this._variables;this._variables=h(this._variables,o.argumentDefinitions,e.args),this._traverseSelections(o.selections,t),this._variables=l}}},t._traverseLink=function(e,t){var r=O(e,this._variables),n=s.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=O(e,this._variables),i=s.getLinkedRecordIDs(t,n);null!=i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},t._traverseFlightField=function(e,t){var r=O(e,this._variables),i=s.getLinkedRecordID(t,r);if(null!=i){this._references.add(i);var a=this._recordSource.get(i);if(null!=a){var l=s.getValue(a,o.REACT_FLIGHT_EXECUTABLE_DEFINITIONS_STORAGE_KEY);if(Array.isArray(l)){var u=this._operationLoader;null===u&&d(!1);var h,f=this._variables,_=(0,n.default)(l);try{for(_.s();!(h=_.n()).done;){var p=h.value;this._variables=p.variables;var v=p.module,g=u.get(v);if(null!=g){var m=c(g);this._traverse(m,k)}}}catch(e){_.e(e)}finally{_.f()}this._variables=f}}}},e}();e.exports={mark:function(e,t,r,n,i){var a=t.dataID,s=t.node,o=t.variables;new P(e,o,r,n,i).mark(s,a)}}},function(e,t,r){"use strict";var n=r(5),i=r(31),a=(r(18),r(74)),s=r(26),o=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=i.read(e,n.selector,t._resolverCache),o=s(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,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields}):e.stale=!0}))},t.updateSubscriptions=function(e,t,r,n){var i=this,a=0!==t.size;this._subscriptions.forEach((function(s){var o=i._updateSubscription(e,s,t,a,n);null!=o&&r.push(o)}))},t._updateSubscription=function(e,t,r,o,l){var u=t.backup,c=t.callback,d=t.snapshot,h=t.stale,f=o&&a(d.seenRecords,r);if(h||f){var _=f||!u?i.read(e,d.selector,this._resolverCache):u;return _={data:s(d.data,_.data),isMissingData:_.isMissingData,seenRecords:_.seenRecords,selector:_.selector,missingRequiredFields:_.missingRequiredFields},t.snapshot=_,t.stale=!1,_.data!==d.data?(this.__log&&n.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:l,snapshot:d,nextSnapshot:_}),c(_),d.selector.owner):void 0}},e}();e.exports=o},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=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=r(0),i=r(77).convertFetch;e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,a,s,o){if("subscription"===e.operationKind)return t||n(!1),s&&n(!1),t(e,i,a);var l=a.poll;return null!=l?(s&&n(!1),r(e,i,{force:!0}).poll(l)):r(e,i,a,s,o)}}}}},function(e,t,r){"use strict";var n=r(13);e.exports={convertFetch:function(e){return function(t,r,i,a,s){var o=e(t,r,i,a,s);return o instanceof Error?n.create((function(e){return e.error(o)})):n.from(o)}}}},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=[],s=r.length-1;s>=0;s--){var o=r[s](e,t);a.unshift(o)}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},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(0),a=r(15),s=function(){function e(e){var t=e.size,r=e.ttl;t>0||i(!1),r>0||i(!1),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=o(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=o(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 o(e,t){return JSON.stringify(a({queryID:e,variables:t}))}e.exports=s},function(e,t,r){"use strict";var n=r(23),i=r(0),a=r(32),s=r(10).getRequest,o=r(14).createOperationDescriptor;e.exports=function(e,t){a(e)||i(!1);var r=s(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,h=o(r,d);return u&&(l=n.convert(u,r,l).optimisticUpdater),e.applyMutation({operation:h,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=r(1)(r(22)),i=r(23),a=r(0),s=r(32),o=(r(83),r(3),r(10).getRequest),l=r(6).generateUniqueClientID,u=r(14).createOperationDescriptor;e.exports=function(e,t){s(e)||a(!1);var r=o(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 c=t.optimisticResponse,d=t.optimisticUpdater,h=t.updater,f=t.configs,_=t.cacheConfig,p=t.onError,v=t.onUnsubscribe,g=t.variables,m=t.uploadables,E=u(r,g,_,l());if("function"==typeof c&&(c=c()),f){var y=i.convert(f,r,d,h);d=y.optimisticUpdater,h=y.updater}var b=[];return{dispose:e.executeMutation({operation:E,optimisticResponse:c,optimisticUpdater:d,updater:h,uploadables:m}).subscribe({next:function(e){Array.isArray(e)?e.forEach((function(e){e.errors&&b.push.apply(b,(0,n.default)(e.errors))})):e.errors&&b.push.apply(b,(0,n.default)(e.errors))},complete:function(){var r=t.onCompleted;r&&r(e.lookup(E.fragment).data,0!==b.length?b:null)},error:p,unsubscribe:v}).unsubscribe}}},function(e,t,r){"use strict";r(1)(r(8)),r(3),Object.prototype.hasOwnProperty;var n=r(7);n.ACTOR_CHANGE,n.CONDITION,n.CLIENT_COMPONENT,n.CLIENT_EXTENSION,n.DEFER,n.FLIGHT_FIELD,n.FRAGMENT_SPREAD,n.INLINE_FRAGMENT,n.LINKED_FIELD,n.LINKED_HANDLE,n.MODULE_IMPORT,n.SCALAR_FIELD,n.SCALAR_HANDLE,n.STREAM,n.TYPE_DISCRIMINATOR;e.exports=function(){}},function(e,t,r){"use strict";var n=r(85);r(3);e.exports=function(e,t,r,i,a,s){return new n(e,r,i,s,a)}},function(e,t,r){"use strict";var n=r(1),i=n(r(8)),a=n(r(16)),s=r(5),o=r(17),l=r(51),u=r(0),c=r(52),d=r(26),h=r(34),f=(r(3),r(14).createRequestDescriptor),_=r(11),p=_.areEqualSelectors,v=_.createReaderSelector,g=_.getSelectorsFromObject,m=function(){function e(e,t,r,n,i){var s=this;(0,a.default)(this,"_onChange",(function(){s._stale=!0,"function"==typeof s._callback&&s._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 s=n.resolve();(e||s!==a)&&((e=e||(0,i.default)({},t))[r]=s)}else{var o=this._props[r],l=void 0!==o?o:null;!e&&c(l,a)||((e=e||(0,i.default)({},t))[r]=l)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e,t){this._callback=t,!0===s.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},t.setProps=function(e){this._props={};var t=g(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 y(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof y||u(!1),i.setSelector(n)):null==i?i=new E(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof E||u(!1),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}(),E=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._callback()}));var l=e.lookup(r);this._callback=i,this._data=l.data,this._isMissingData=l.isMissingData,this._missingRequiredFields=l.missingRequiredFields,this._environment=e,this._rootIsQueryRenderer=t,this._selector=r,!0===s.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?n&&(this._subscription=e.subscribe(l,this._onChange)):this._subscription=e.subscribe(l,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=l(this._environment,this._selector.node,this._selector.owner),t=null==e?void 0:e.promise;if(null!=t&&!this._rootIsQueryRenderer){var r,n=null!==(r=null==e?void 0:e.pendingOperations)&&void 0!==r?r:[];throw this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:n}),t}}return null!=this._missingRequiredFields&&h(this._environment,this._missingRequiredFields),this._data},t.setSelector=function(e){if(null==this._subscription||!p(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=d(this._data,t.data),this._isMissingData=t.isMissingData,this._missingRequiredFields=t.missingRequiredFields,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!o(e,this._selector.variables)){var r=f(t,e),n=v(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),y=function(){function e(e,t,r,n,i){var s=this;(0,a.default)(this,"_onChange",(function(e){s._stale=!0,s._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 E(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=m},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(2),a=i.getModuleComponentKey,s=i.getModuleOperationKey;e.exports=function(e,t,r,i){var o=(0,n.default)({},i);return o[a(e)]=r,o[s(e)]=t,o}},function(e,t,r){"use strict";var n,i,a=r(0);e.exports=function(e){return n||(n=e.createContext(null),i=e),e!==i&&a(!1),n}},function(e,t,r){"use strict";var n=r(1)(r(8)),i=r(13),a=r(33),s=r(0),o=r(34),l=r(14).createOperationDescriptor,u=r(10).getRequest;function c(e,t){return a.fetchQuery(e,t).map((function(){return e.lookup(t.fragment)}))}e.exports=function(e,t,r,a){var d,h=u(t);"query"!==h.params.operationKind&&s(!1);var f=(0,n.default)({force:!0},null==a?void 0:a.networkCacheConfig),_=l(h,r,f),p=null!==(d=null==a?void 0:a.fetchPolicy)&&void 0!==d?d:"network-only";function v(t){return null!=t.missingRequiredFields&&o(e,t.missingRequiredFields),t.data}switch(p){case"network-only":return c(e,_).map(v);case"store-or-network":return"available"===e.check(_).status?i.from(e.lookup(_.fragment)).map(v):c(e,_).map(v);default:throw new Error("fetchQuery: Invalid fetchPolicy "+p)}}},function(e,t,r){"use strict";var n=r(14).createOperationDescriptor,i=r(10).getRequest;e.exports=function(e,t,r,a){var s=i(t);if("query"!==s.params.operationKind)throw new Error("fetchQuery: Expected query operation");var o=n(s,r,a);return e.execute({operation:o}).map((function(){return e.lookup(o.fragment).data})).toPromise()}},function(e,t,r){"use strict";var n=r(5),i=r(91),a=r(15),s=r(11),o=s.getDataIDsFromFragment,l=s.getVariablesFromFragment,u=s.getSelector;e.exports=function(e,t){var r,s=u(e,t),c=null==s?"null":"SingularReaderSelector"===s.kind?s.owner.identifier:"["+s.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",d=l(e,t),h=o(e,t);return n.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION?c+"/"+e.name+"/"+(null==d||i(d)?"{}":JSON.stringify(a(d)))+"/"+(void 0===h?"missing":null==h?"null":Array.isArray(h)?"["+h.join(",")+"]":h):c+"/"+e.name+"/"+JSON.stringify(a(d))+"/"+(null!==(r=JSON.stringify(h))&&void 0!==r?r:"missing")}},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(53),i=r(0);e.exports=function(e,t){var r,a,s=n(e,t),o=s.refetchableRequest,l=s.refetchMetadata,u=l.connection;null==u&&i(!1);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);var h=l.identifierField;return null!=h&&"string"!=typeof h&&i(!1),{connectionPathInFragmentData:c,identifierField:h,paginationRequest:o,paginationMetadata:u,stream:!0===d.stream}}},function(e,t,r){"use strict";var n=r(1),i=n(r(16)),a=n(r(8)),s=r(0);r(3);e.exports=function(e,t,r,n,o,l){var u,c=l.backward,d=l.forward;if("backward"===e){var h;(null==c||null==c.count||null==c.cursor)&&s(!1);var f=(0,a.default)((0,a.default)((0,a.default)({},n),o),{},(h={},(0,i.default)(h,c.cursor,r),(0,i.default)(h,c.count,t),h));return d&&d.cursor&&(f[d.cursor]=null),d&&d.count&&(f[d.count]=null),f}(null==d||null==d.count||null==d.cursor)&&s(!1);var _=(0,a.default)((0,a.default)((0,a.default)({},n),o),{},(u={},(0,i.default)(u,d.cursor,r),(0,i.default)(u,d.count,t),u));return c&&c.cursor&&(_[c.cursor]=null),c&&c.count&&(_[c.count]=null),_}},function(e,t,r){"use strict";var n=r(1)(r(4)),i=r(0);e.exports=function(e,t){var r,a=e,s=(0,n.default)(t);try{for(s.s();!(r=s.n()).done;){var o=r.value;if(null==a)return null;"number"==typeof o?(Array.isArray(a)||i(!1),a=a[o]):(("object"!=typeof a||Array.isArray(a))&&i(!1),a=a[o])}}catch(e){s.e(e)}finally{s.f()}return a}},function(e,t,r){"use strict";var n=r(0),i=r(10).getInlineDataFragment,a=r(2).FRAGMENTS_KEY;e.exports=function(e,t){var r,s=i(e);if(null==t)return t;"object"!=typeof t&&n(!1);var o=null===(r=t[a])||void 0===r?void 0:r[s.name];return null==o&&n(!1),o}},function(e,t,r){"use strict";var n=r(23),i=(r(5),r(3),r(10).getRequest),a=r(14).createOperationDescriptor,s=r(11).createReaderSelector;e.exports=function(e,t){var r=i(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var o=t.configs,l=t.onCompleted,u=t.onError,c=t.onNext,d=t.variables,h=t.cacheConfig,f=a(r,d,h),_=(o?n.convert(o,r,null,t.updater):t).updater;return{dispose:e.execute({operation:f,updater:_}).subscribe({next:function(t){if(null!=c){var r,n,i,a,o=f.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&&(o=s(o.node,r,o.variables,o.owner));var l=e.lookup(o).data;c(l)}},error:u,complete:l}).unsubscribe}}}])}));