UNPKG

186 kBJavaScriptView Raw
1/**
2 * Relay v17.0.0
3 */
4!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/toConsumableArray"),require("invariant"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toPropertyKey")):"function"==typeof define&&define.amd?define(["@babel/runtime/helpers/interopRequireDefault","@babel/runtime/helpers/toConsumableArray","invariant","fbjs/lib/warning","@babel/runtime/helpers/createForOfIteratorHelper","@babel/runtime/helpers/objectSpread2","fbjs/lib/areEqual","@babel/runtime/helpers/objectWithoutPropertiesLoose","@babel/runtime/helpers/inheritsLoose","@babel/runtime/helpers/wrapNativeSuper","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toPropertyKey"],t):"object"==typeof exports?exports.RelayRuntime=t(require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/toConsumableArray"),require("invariant"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/createForOfIteratorHelper"),require("@babel/runtime/helpers/objectSpread2"),require("fbjs/lib/areEqual"),require("@babel/runtime/helpers/objectWithoutPropertiesLoose"),require("@babel/runtime/helpers/inheritsLoose"),require("@babel/runtime/helpers/wrapNativeSuper"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toPropertyKey")):e.RelayRuntime=t(e["@babel/runtime/helpers/interopRequireDefault"],e["@babel/runtime/helpers/toConsumableArray"],e.invariant,e["fbjs/lib/warning"],e["@babel/runtime/helpers/createForOfIteratorHelper"],e["@babel/runtime/helpers/objectSpread2"],e["fbjs/lib/areEqual"],e["@babel/runtime/helpers/objectWithoutPropertiesLoose"],e["@babel/runtime/helpers/inheritsLoose"],e["@babel/runtime/helpers/wrapNativeSuper"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toPropertyKey"])}(self,((e,t,r,n,i,a,o,s,l,u,c,d)=>(()=>{"use strict";var f={778:(e,t,r)=>{var n=r(9381),i=r(8159),a=r(5056);e.exports=function(e){switch(e){case"connection":return n;case"deleteRecord":return i.DeleteRecordHandler;case"deleteEdge":return i.DeleteEdgeHandler;case"appendEdge":return i.AppendEdgeHandler;case"prependEdge":return i.PrependEdgeHandler;case"appendNode":return i.AppendNodeHandler;case"prependNode":return i.PrependNodeHandler}a(!1,"RelayDefaultHandlerProvider: No handler provided for `%s`.",e)}},9381:(e,t,r)=>{var n=r(2997).generateClientID,i=r(5165).getStableStorageKey,a=r(6330),o=r(9776),s=r(5056),l=r(4446),u="connection",c="__connection_next_edge_index";function d(e,t,r){if(null==r)return r;var i=o.get().EDGES,a=t.getValue(c);"number"!=typeof a&&s(!1,"ConnectionHandler: Expected %s to be a number, got `%s`.",c,a);var l=n(t.getDataID(),i,a),u=e.create(l,r.getType());return u.copyFieldsFrom(r),null==u.getValue("cursor")&&u.setValue(null,"cursor"),t.setValue(a+1,c),u}function f(e,t,r){for(var n=o.get().NODE,i=0;i<e.length;i++){var a=e[i];if(a){var s=a.getLinkedRecord(n),l=s&&s.getDataID();if(l){if(r.has(l))continue;r.add(l)}t.push(a)}}}e.exports={buildConnectionEdge:d,createEdge:function(e,t,r,i){var a=o.get().NODE,s=n(t.getDataID(),r.getDataID()),l=e.get(s);return l||(l=e.create(s,i)),l.setLinkedRecord(r,a),null==l.getValue("cursor")&&l.setValue(null,"cursor"),l},deleteNode:function(e,t){var r=o.get(),n=r.EDGES,i=r.NODE,a=e.getLinkedRecords(n);if(a){for(var s,l=0;l<a.length;l++){var u=a[l],c=u&&u.getLinkedRecord(i);null!=c&&c.getDataID()===t?void 0===s&&(s=a.slice(0,l)):void 0!==s&&s.push(u)}void 0!==s&&e.setLinkedRecords(s,n)}},getConnection:function(e,t,r){var n=a(u,t,null);return e.getLinkedRecord(n,r)},getConnectionID:function(e,t,r){var o=a(u,t,null),s=i(o,r);return n(e,s)},insertEdgeAfter:function(e,t,r){var n=o.get(),i=n.CURSOR,a=n.EDGES,s=e.getLinkedRecords(a);if(s){var l;if(null==r)l=s.concat(t);else{l=[];for(var u=!1,c=0;c<s.length;c++){var d=s[c];l.push(d),null!=d&&r===d.getValue(i)&&(l.push(t),u=!0)}u||l.push(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},insertEdgeBefore:function(e,t,r){var n=o.get(),i=n.CURSOR,a=n.EDGES,s=e.getLinkedRecords(a);if(s){var l;if(null==r)l=[t].concat(s);else{l=[];for(var u=!1,c=0;c<s.length;c++){var d=s[c];null!=d&&r===d.getValue(i)&&(l.push(t),u=!0),l.push(d)}u||l.unshift(t)}e.setLinkedRecords(l,a)}else e.setLinkedRecords([t],a)},update:function(e,t){var r=e.get(t.dataID);if(r){var i=o.get(),a=i.EDGES,s=i.END_CURSOR,u=i.HAS_NEXT_PAGE,h=i.HAS_PREV_PAGE,p=i.PAGE_INFO,_=i.PAGE_INFO_TYPE,v=i.START_CURSOR,g=r.getLinkedRecord(t.fieldKey),m=g&&g.getLinkedRecord(p);if(g){var y=n(r.getDataID(),t.handleKey),E=r.getLinkedRecord(t.handleKey),R=null!=E?E:e.get(y),b=R&&R.getLinkedRecord(p);if(R){null==E&&r.setLinkedRecord(R,t.handleKey);var I=R,D=g.getLinkedRecords(a);D&&(D=D.map((function(t){return d(e,I,t)})));var S=I.getLinkedRecords(a),A=I.getLinkedRecord(p);I.copyFieldsFrom(g),S&&I.setLinkedRecords(S,a),A&&I.setLinkedRecord(A,p);var O=[],T=t.args;if(S&&D)if(null!=T.after){var k,N=null===(k=b)||void 0===k?void 0:k.getValue(s),F=null==m?void 0:m.getValue(s);if(!(b&&T.after===N||b&&N===F))return void l(!1,"Relay: Unexpected after cursor `%s`, edges must be fetched from the end of the list (`%s`).",T.after,b&&b.getValue(s));var L=new Set;f(S,O,L),f(D,O,L)}else if(null!=T.before){if(!b||T.before!==b.getValue(v))return void l(!1,"Relay: Unexpected before cursor `%s`, edges must be fetched from the beginning of the list (`%s`).",T.before,b&&b.getValue(v));var x=new Set;f(D,O,x),f(S,O,x)}else O=D;else O=D||S;if(null!=O&&O!==S&&I.setLinkedRecords(O,a),b&&m)if(null==T.after&&null==T.before)b.copyFieldsFrom(m);else if(null!=T.before||null==T.after&&T.last){b.setValue(!!m.getValue(h),h);var P=m.getValue(v);"string"==typeof P&&b.setValue(P,v)}else if(null!=T.after||null==T.before&&T.first){b.setValue(!!m.getValue(u),u);var C=m.getValue(s);"string"==typeof C&&b.setValue(C,s)}}else{var w=e.create(y,g.getType());w.setValue(0,c),w.copyFieldsFrom(g);var M=g.getLinkedRecords(a);M&&(M=M.map((function(t){return d(e,w,t)})),w.setLinkedRecords(M,a)),r.setLinkedRecord(w,t.handleKey),(b=e.create(n(w.getDataID(),p),_)).setValue(!1,u),b.setValue(!1,h),b.setValue(null,s),b.setValue(null,v),m&&b.copyFieldsFrom(m),w.setLinkedRecord(b,p)}}else r.setValue(null,t.handleKey)}}}},9776:e=>{var t={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},r={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"},n={inject:function(e){r=e},get:function(){return r},isConnectionCall:function(e){return t.hasOwnProperty(e.name)}};e.exports=n},8159:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(9381),a=r(9776),o=r(5056),s=r(4446),l={update:function(e,t){var r=e.get(t.dataID);if(null!=r){var n=r.getValue(t.fieldKey);"string"==typeof n?e.delete(n):Array.isArray(n)&&n.forEach((function(t){"string"==typeof t&&e.delete(t)}))}}},u={update:function(e,t){var r=e.get(t.dataID);if(null!=r){var a=t.handleArgs.connections;null==a&&o(!1,"MutationHandlers: Expected connection IDs to be specified.");var l=r.getValue(t.fieldKey);(Array.isArray(l)?l:[l]).forEach((function(t){if("string"==typeof t){var r,o=(0,n.default)(a);try{for(o.s();!(r=o.n()).done;){var l=r.value,u=e.get(l);null!=u?i.deleteNode(u,t):s(!1,"[Relay] The connection with id `%s` doesn't exist.",l)}}catch(e){o.e(e)}finally{o.f()}}}))}}},c={update:p(i.insertEdgeAfter)},d={update:p(i.insertEdgeBefore)},f={update:_(i.insertEdgeAfter)},h={update:_(i.insertEdgeBefore)};function p(e){return function(t,r){var l,u=t.get(r.dataID);if(null!=u){var c,d,f=r.handleArgs.connections;null==f&&o(!1,"MutationHandlers: Expected connection IDs to be specified.");try{c=u.getLinkedRecord(r.fieldKey)}catch(e){}if(!c)try{d=u.getLinkedRecords(r.fieldKey)}catch(e){}if(null!=c||null!=d){var h,p=a.get(),_=p.NODE,v=p.EDGES,g=null!==(l=d)&&void 0!==l?l:[c],m=(0,n.default)(g);try{var y=function(){var r=h.value;if(null==r)return"continue";var a=r.getLinkedRecord("node");if(!a)return"continue";var l,u=a.getDataID(),c=(0,n.default)(f);try{for(c.s();!(l=c.n()).done;){var d=l.value,p=t.get(d);if(null!=p){if(!(null===(E=p.getLinkedRecords(v))||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())===u})))){var g=i.buildConnectionEdge(t,p,r);null==g&&o(!1,"MutationHandlers: Failed to build the edge."),e(p,g)}}else s(!1,"[Relay] The connection with id `%s` doesn't exist.",d)}}catch(e){c.e(e)}finally{c.f()}};for(m.s();!(h=m.n()).done;){var E;y()}}catch(e){m.e(e)}finally{m.f()}}else s(!1,"MutationHandlers: Expected the server edge to be non-null.")}}}function _(e){return function(t,r){var l,u=t.get(r.dataID);if(null!=u){var c,d,f=r.handleArgs,h=f.connections,p=f.edgeTypeName;null==h&&o(!1,"MutationHandlers: Expected connection IDs to be specified."),null==p&&o(!1,"MutationHandlers: Expected edge typename to be specified.");try{c=u.getLinkedRecord(r.fieldKey)}catch(e){}if(!c)try{d=u.getLinkedRecords(r.fieldKey)}catch(e){}if(null!=c||null!=d){var _,v=a.get(),g=v.NODE,m=v.EDGES,y=null!==(l=d)&&void 0!==l?l:[c],E=(0,n.default)(y);try{var R=function(){var r=_.value;if(null==r)return"continue";var a,l=r.getDataID(),u=(0,n.default)(h);try{for(u.s();!(a=u.n()).done;){var c=a.value,d=t.get(c);if(null!=d){if(!(null===(b=d.getLinkedRecords(m))||void 0===b?void 0:b.some((function(e){var t;return(null==e||null===(t=e.getLinkedRecord(g))||void 0===t?void 0:t.getDataID())===l})))){var f=i.createEdge(t,d,r,p);null==f&&o(!1,"MutationHandlers: Failed to build the edge."),e(d,f)}}else s(!1,"[Relay] The connection with id `%s` doesn't exist.",c)}}catch(e){u.e(e)}finally{u.f()}};for(E.s();!(_=E.n()).done;){var b;R()}}catch(e){E.e(e)}finally{E.f()}}else s(!1,"MutationHandlers: Expected target node to exist.")}}}e.exports={AppendEdgeHandler:c,DeleteRecordHandler:l,PrependEdgeHandler:d,AppendNodeHandler:f,PrependNodeHandler:h,DeleteEdgeHandler:u}},7128:(e,t,r)=>{var n=r(9381),i=r(9776),a=r(8159),o=r(778),s=r(4414),l=r(5182),u=r(1908),c=r(6626),d=r(7983),f=r(1060),h=r(534),p=r(1273),_=r(5622),v=r(7367),g=r(1634),m=r(4530),y=r(2997),E=y.generateClientID,R=y.generateUniqueClientID,b=y.isClientID,I=r(4819),D=r(4051),S=r(5046),A=S.isSuspenseSentinel,O=S.suspenseSentinel,T=r(54),k=r(5131),N=r(1596),F=r(129),L=r(8541),x=r(7258),P=r(7105),C=r(6256),w=r(4945),M=r(371),V=r(6938),U=r(5165),j=r(890),q=r(9942),K=r(2924),G=r(4096),H=r(2729),Y=r(7858),z=r(8208),B=r(2279),Q=r(5250),W=r(9514),J=r(6330),X=r(6900),$=r(3257),Z=r(9222),ee=r(1571),te=r(2081),re=r(5748),ne=r(3775),ie=r(3204),ae=r(4539),oe=r(6770),se=r(8986),le=r(4153),ue=r(1094),ce=r(489),de="function"!=typeof Map?"Map":null,fe="function"!=typeof Set?"Set":null,he="function"!=typeof Promise?"Promise":null,pe="function"!=typeof Object.assign?"Object.assign":null;if(de||fe||he||pe)throw new Error("relay-runtime requires ".concat([de,fe,he,pe].filter(Boolean).join(", and ")," to exist. ")+"Use a polyfill to provide these for older browsers.");e.exports={Environment:L,Network:d,Observable:f,QueryResponseCache:h,RecordSource:V,Record:P,ReplaySubject:le,Store:w,areEqualSelectors:C.areEqualSelectors,createFragmentSpecResolver:I,createNormalizationSelector:C.createNormalizationSelector,createOperationDescriptor:x.createOperationDescriptor,createReaderSelector:C.createReaderSelector,createRequestDescriptor:x.createRequestDescriptor,getArgumentValues:U.getArgumentValues,getDataIDsFromFragment:C.getDataIDsFromFragment,getDataIDsFromObject:C.getDataIDsFromObject,getNode:g.getNode,getFragment:g.getFragment,getInlineDataFragment:g.getInlineDataFragment,getModuleComponentKey:U.getModuleComponentKey,getModuleOperationKey:U.getModuleOperationKey,getPaginationFragment:g.getPaginationFragment,getPluralSelector:C.getPluralSelector,getRefetchableFragment:g.getRefetchableFragment,getRequest:g.getRequest,getRequestIdentifier:X,getSelector:C.getSelector,getSelectorsFromObject:C.getSelectorsFromObject,getSingularSelector:C.getSingularSelector,getStorageKey:U.getStorageKey,getVariablesFromFragment:C.getVariablesFromFragment,getVariablesFromObject:C.getVariablesFromObject,getVariablesFromPluralFragment:C.getVariablesFromPluralFragment,getVariablesFromSingularFragment:C.getVariablesFromSingularFragment,handlePotentialSnapshotErrors:Z,graphql:g.graphql,isFragment:g.isFragment,isInlineDataFragment:g.isInlineDataFragment,isSuspenseSentinel:A,suspenseSentinel:O,isRequest:g.isRequest,readInlineData:N,MutationTypes:c.MutationTypes,RangeOperations:c.RangeOperations,DefaultHandlerProvider:o,ConnectionHandler:n,MutationHandlers:a,VIEWER_ID:q.VIEWER_ID,VIEWER_TYPE:q.VIEWER_TYPE,applyOptimisticMutation:s,commitLocalUpdate:l,commitMutation:u,fetchQuery:p,fetchQuery_DEPRECATED:_,isRelayModernEnvironment:T,requestSubscription:K,ConnectionInterface:i,PreloadableQueryRegistry:m,RelayProfiler:se,createPayloadFor3DField:G,RelayConcreteNode:ne,RelayError:ae,RelayFeatureFlags:oe,DEFAULT_HANDLE_KEY:ie.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:U.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:U.FRAGMENT_OWNER_KEY,ID_KEY:U.ID_KEY,REF_KEY:U.REF_KEY,REFS_KEY:U.REFS_KEY,ROOT_ID:U.ROOT_ID,ROOT_TYPE:U.ROOT_TYPE,TYPENAME_KEY:U.TYPENAME_KEY,deepFreeze:H,generateClientID:E,generateUniqueClientID:R,getRelayHandleKey:J,isClientID:b,isPromise:ee,isScalarAndEqual:te,recycleNodesInto:re,stableCopy:ue,getFragmentIdentifier:Y,getRefetchMetadata:W,getPaginationMetadata:z,getPaginationVariables:B,getPendingOperationsForFragment:Q,getValueAtPath:$,__internal:{ResolverFragments:j,OperationTracker:M,createRelayContext:D,getOperationVariables:F.getOperationVariables,getLocalVariables:F.getLocalVariables,fetchQuery:v.fetchQuery,fetchQueryDeduped:v.fetchQueryDeduped,getPromiseForActiveRequest:v.getPromiseForActiveRequest,getObservableForActiveRequest:v.getObservableForActiveRequest,normalizeResponse:k,withProvidedVariables:ce}}},5568:(e,t,r)=>{var n=r(5056),i="INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE";e.exports={assertInternalActorIdentifier:function(e){e!==i&&n(!1,'Expected to use only internal version of the `actorIdentifier`. "%s" was provided.',e)},getActorIdentifier:function(e){return e},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:i}},9336:(e,t,r)=>{var n="actor_key",i=r(5568).getActorIdentifier;e.exports={ACTOR_IDENTIFIER_FIELD_NAME:n,getActorIdentifierFromPayload:function(e){if(null!=e&&"object"==typeof e&&"string"==typeof e[n])return i(e[n])}}},6626:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(9381),a=r(4446),o=Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"}),s=Object.freeze({APPEND:"append",PREPEND:"prepend"});function l(e){return e.fragment.selections&&e.fragment.selections.length>0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:o,RangeOperations:s,convert:function(e,t,r,o){var s=r?[r]:[],u=o?[o]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=l(t);return n?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)}))}}:null}(e,t);r&&(s.push(r),u.push(r));break;case"RANGE_ADD":var o=function(e,t){var r=e.parentID,o=e.connectionInfo,s=e.edgeName;if(!r)return a(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_ADD to work you must include a parentID"),null;var u=l(t);return o&&u?function(e,t){var l=e.get(r);if(l){var c=e.getRootField(u);if(c){var d,f=c.getLinkedRecord(s),h=(0,n.default)(o);try{for(h.s();!(d=h.n()).done;){var p=d.value;if(f){var _=i.getConnection(l,p.key,p.filters);if(_){var v=i.buildConnectionEdge(e,_,f);if(v)switch(p.rangeBehavior){case"append":i.insertEdgeAfter(_,v);break;case"prepend":i.insertEdgeBefore(_,v);break;default:a(!1,"RelayDeclarativeMutationConfig: RANGE_ADD range behavior `%s` will not work as expected in RelayModern, supported range behaviors are 'append', 'prepend'.",p.rangeBehavior)}}}}}catch(e){h.e(e)}finally{h.f()}}}}:null}(e,t);o&&(s.push(o),u.push(o));break;case"RANGE_DELETE":var c=function(e,t){var r=e.parentID,o=e.connectionKeys,s=e.pathToConnection,u=e.deletedIDFieldName;if(!r)return a(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_DELETE to work you must include a parentID"),null;var c=l(t);return c?function(e,t){if(t){var l=[],d=t[c];if(d&&Array.isArray(u)){var f,h=(0,n.default)(u);try{for(h.s();!(f=h.n()).done;){var p=f.value;d&&"object"==typeof d&&(d=d[p])}}catch(e){h.e(e)}finally{h.f()}Array.isArray(d)?d.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&l.push(e.id)})):d&&d.id&&"string"==typeof d.id&&l.push(d.id)}else d&&"string"==typeof u&&"object"==typeof d&&("string"==typeof(d=d[u])?l.push(d):Array.isArray(d)&&d.forEach((function(e){"string"==typeof e&&l.push(e)})));!function(e,t,r,o,s){a(null!=t,"RelayDeclarativeMutationConfig: RANGE_DELETE must provide a connectionKeys");var l=o.get(e);if(l)if(r.length<2)a(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection must include at least parent and connection");else{for(var u=l,c=1;c<r.length-1;c++)u&&(u=u.getLinkedRecord(r[c]));if(t&&u){var d,f=(0,n.default)(t);try{var h=function(){var e=d.value,t=i.getConnection(u,e.key,e.filters);t&&s.forEach((function(e){i.deleteNode(t,e)}))};for(f.s();!(d=f.n()).done;)h()}catch(e){f.e(e)}finally{f.f()}}else a(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection is incorrect. Unable to find connection with parentID: %s and path: %s",e,r.toString())}}(r,o,s,e,l)}}:null}(e,t);c&&(s.push(c),u.push(c))}})),{optimisticUpdater:function(e,t){s.forEach((function(r){r(e,t)}))},updater:function(e,t){u.forEach((function(r){r(e,t)}))}}}}},7494:(e,t,r)=>{var n=r(2997).generateClientID,i=r(5165).getStableStorageKey,a=r(5056),o=function(){function e(e,t,r){this._dataID=r,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return null==e&&a(!1,"RelayRecordProxy: Cannot get the type of deleted record `%s`.",this._dataID),e},t.getValue=function(e,t){var r=i(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){return s(e)||a(!1,"RelayRecordProxy#setValue(): Expected a scalar or array of scalars, got `%s`.",JSON.stringify(e)),this.setValue__UNSAFE(e,t,r)},t.setValue__UNSAFE=function(e,t,r){var n=i(t,r);return this._mutator.setValue(this._dataID,n,e),this},t.getLinkedRecord=function(e,t){var r=i(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,n){t instanceof e||a(!1,"RelayRecordProxy#setLinkedRecord(): Expected a record, got `%s`.",t);var o=i(r,n),s=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,o,s),this},t.getOrCreateLinkedRecord=function(e,t,r){var a=this.getLinkedRecord(e,r);if(!a){var o,s=i(e,r),l=n(this.getDataID(),s);a=null!==(o=this._source.get(l))&&void 0!==o?o:this._source.create(l,t),this.setLinkedRecord(a,e,r)}return a},t.getLinkedRecords=function(e,t){var r=this,n=i(e,t),a=this._mutator.getLinkedRecordIDs(this._dataID,n);return null==a?a:a.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||a(!1,"RelayRecordProxy#setLinkedRecords(): Expected records to be an array, got `%s`.",e);var n=i(t,r),o=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,n,o),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function s(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(s)}e.exports=o},4503:(e,t,r)=>{var n=r(7105),i=r(7148).EXISTENT,a=r(5056),o=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),r=this._sink.get(e);if(void 0===r){if(null==t)return t;var i=n.clone(t);return n.freeze(i),i}if(null===r)return null;if(null!=t){var a=n.update(t,r);return a!==t&&n.freeze(a),a}var o=n.clone(r);return n.freeze(o),o},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||a(!1,"RelayRecordSourceMutator: Cannot modify non-existent record `%s`.",e),t=n.create(e,n.getType(r)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var r=this._sink.get(e),i=this._base.get(e);r||i||a(!1,"RelayRecordSourceMutator#copyFields(): Cannot copy fields from non-existent record `%s`.",e);var o=this._getSinkRecord(t);i&&n.copyFields(i,o),r&&n.copyFields(r,o)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===i||this._sink.getStatus(e)===i)&&a(!1,"RelayRecordSourceMutator#create(): Cannot create a record with id `%s`, this record already exists.",e);var r=n.create(e,t);this._sink.set(e,r)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var r=this.__sources[t].get(e);if(r)return n.getType(r);if(null===r)return null}},t.getValue=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getValue(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setValue=function(e,t,r){var i=this._getSinkRecord(e);n.setValue(i,t,r)},t.getLinkedRecordID=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordID(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setLinkedRecordID=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordID(i,t,r)},t.getLinkedRecordIDs=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var a=n.getLinkedRecordIDs(i,t);if(void 0!==a)return a}else if(null===i)return null}},t.setLinkedRecordIDs=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordIDs(i,t,r)},e}();e.exports=o},3838:(e,t,r)=>{var n=r(7105),i=r(7148),a=i.EXISTENT,o=i.NONEXISTENT,s=r(5165),l=s.ROOT_ID,u=s.ROOT_TYPE,c=r(7122).readUpdatableFragment,d=r(2402).readUpdatableQuery,f=r(7494),h=r(5056),p=function(){function e(e,t,r,n){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=n}var t=e.prototype;return t.publishSource=function(e,t){var r=this;e.getRecordIDs().forEach((function(t){var i=e.getStatus(t);if(i===a){var s=e.get(t);s&&(r.__mutator.getStatus(t)!==a&&r.create(t,n.getType(s)),r.__mutator.copyFieldsFromRecord(s,t))}else i===o&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||h(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),t.update(r,e)}))},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var r=this.get(e);return r||h(!1,"RelayRecordSourceProxy#create(): Expected the created record to exist."),r},t.delete=function(e){e===l&&h(!1,"RelayRecordSourceProxy#delete(): Cannot delete the root record."),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);this._proxies[e]=t===a?new f(this,this.__mutator,e):t===o?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(l);return e||(e=this.create(l,u)),e&&e.getType()===u||h(!1,"RelayRecordSourceProxy#getRoot(): Expected the source to contain a root record, %s.",null==e?"no root record found":"found a root record of type `".concat(e.getType(),"`")),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery=function(e,t){return d(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(e,t){return c(e,t,this,this._missingFieldHandlers)},e}();e.exports=p},6959:(e,t,r)=>{var n=r(5165),i=n.ROOT_TYPE,a=n.getStorageKey,o=r(7122).readUpdatableFragment,s=r(2402).readUpdatableQuery,l=r(5056),u=function(){function e(e,t,r,n){this.__mutator=e,this.__recordSource=t,this._readSelector=r,this._missingFieldHandlers=n}var t=e.prototype;return t.create=function(e,t){return this.__recordSource.create(e,t)},t.delete=function(e){this.__recordSource.delete(e)},t.get=function(e){return this.__recordSource.get(e)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var e=this.__recordSource.get(this._readSelector.dataID);return e||(e=this.__recordSource.create(this._readSelector.dataID,i)),e},t._getRootField=function(e,t,r){var n=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t||"RequiredField"===e.kind&&e.field.name===t}));return n&&"RequiredField"===n.kind&&(n=n.field),n&&"LinkedField"===n.kind||l(!1,"RelayRecordSourceSelectorProxy#getRootField(): Cannot find root field `%s`, no such field is defined on GraphQL document `%s`.",t,e.node.name),n.plural!==r&&l(!1,"RelayRecordSourceSelectorProxy#getRootField(): Expected root field `%s` to be %s.",t,r?"plural":"singular"),n},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),r=a(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(r)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),r=a(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(r)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},t.readUpdatableQuery=function(e,t){return s(e,t,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(e,t){return o(e,t,this,this._missingFieldHandlers)},e}();e.exports=u},4414:(e,t,r)=>{var n=r(1634).getRequest,i=r(54),a=r(7258).createOperationDescriptor,o=r(6626),s=r(5056);e.exports=function(e,t){i(e)||s(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`.");var r=n(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");var l=t.optimisticUpdater,u=t.configs,c=t.optimisticResponse,d=t.variables,f=a(r,d);return u&&(l=o.convert(u,r,l).optimisticUpdater),e.applyMutation({operation:f,response:c,updater:l})}},5182:e=>{e.exports=function(e,t){e.commitUpdate(t)}},1908:(e,t,r)=>{var n=(0,r(5275).default)(r(642)),i=r(1634).getRequest,a=r(2997).generateUniqueClientID,o=r(54),s=r(7258).createOperationDescriptor,l=r(6626),u=r(1740),c=r(5056),d=r(4446);e.exports=function(e,t){o(e)||c(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`.");var r=i(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");if("Request"!==r.kind)throw new Error("commitMutation: Expected mutation to be of type request");var f=t.optimisticResponse,h=t.optimisticUpdater,p=t.updater,_=t.configs,v=t.cacheConfig,g=t.onError,m=t.onUnsubscribe,y=t.variables,E=t.uploadables,R=s(r,y,v,a());if("function"==typeof f&&(f=f(),d(!1,"commitMutation: Expected `optimisticResponse` to be an object, received a function.")),f instanceof Object&&u(f,r,y),_){var b=l.convert(_,r,h,p);h=b.optimisticUpdater,p=b.updater}var I=[];return{dispose:e.executeMutation({operation:R,optimisticResponse:f,optimisticUpdater:h,updater:p,uploadables:E}).subscribe({next:function(e){var r;Array.isArray(e)?e.forEach((function(e){e.errors&&I.push.apply(I,(0,n.default)(e.errors))})):e.errors&&I.push.apply(I,(0,n.default)(e.errors)),null===(r=t.onNext)||void 0===r||r.call(t)},complete:function(){var r=t.onCompleted;r&&r(e.lookup(R.fragment).data,0!==I.length?I:null)},error:g,unsubscribe:m}).unsubscribe}}},9176:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(5165).getArgumentValues,a=r(3775),o=a.ACTOR_CHANGE,s=a.ALIASED_FRAGMENT_SPREAD,l=a.ALIASED_INLINE_FRAGMENT_SPREAD,u=a.CATCH_FIELD,c=a.CLIENT_EDGE_TO_CLIENT_OBJECT,d=a.CLIENT_EDGE_TO_SERVER_OBJECT,f=a.CLIENT_EXTENSION,h=a.CONDITION,p=a.DEFER,_=a.FRAGMENT_SPREAD,v=a.INLINE_DATA_FRAGMENT_SPREAD,g=a.INLINE_FRAGMENT,m=a.LINKED_FIELD,y=a.MODULE_IMPORT,E=a.RELAY_LIVE_RESOLVER,R=a.RELAY_RESOLVER,b=a.REQUIRED_FIELD,I=a.SCALAR_FIELD,D=a.STREAM,S=["id","__id","__typename","js"];function A(e,t,r,a,F,L){var x,P,C=(0,n.default)(a);try{var w=function(){var a=P.value;switch(a.kind){case m:a.plural?Object.defineProperty(e,null!==(M=a.alias)&&void 0!==M?M:a.name,{get:k(a,r,t,F,L),set:O(a,r,t,F)}):Object.defineProperty(e,null!==(V=a.alias)&&void 0!==V?V:a.name,{get:N(a,r,t,F,L),set:T(a,r,t,F)});break;case I:var C=null!==(x=a.alias)&&void 0!==x?x:a.name;Object.defineProperty(e,C,{get:function(){var e,o=i(null!==(e=a.args)&&void 0!==e?e:[],r),s=t.getValue(a.name,o);return null==s&&(s=function(e,t,r,i,a){var o,s=(0,n.default)(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if("scalar"===l.kind){var u=l.handle(e,r,t,i);if(void 0!==u)return u}}}catch(e){s.e(e)}finally{s.f()}}(a,o,t,F,L)),s},set:S.includes(a.name)?void 0:function(e){var n,o=i(null!==(n=a.args)&&void 0!==n?n:[],r);t.setValue__UNSAFE(e,a.name,o)}});break;case g:t.getType()===a.type&&A(e,t,r,a.selections,F,L);break;case f:A(e,t,r,a.selections,F,L);break;case _:break;case h:case o:case s:case v:case l:case c:case d:case p:case y:case E:case b:case u:case D:case R:throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.");default:throw a.kind,new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(C.s();!(P=C.n()).done;){var M,V;w()}}catch(e){C.e(e)}finally{C.f()}}function O(e,t,r,n){return function(a){var o,s=i(null!==(o=e.args)&&void 0!==o?o:[],t);if(null==a)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var l=a.map((function(e){if(null==e)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var t=e.__id;if(null==t)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var r=n.get(t);if(null==r)throw new Error("Did not find item with data id ".concat(t," in the store."));return r}));r.setLinkedRecords(l,e.name,s)}}function T(e,t,r,n){return function(a){var o,s=i(null!==(o=e.args)&&void 0!==o?o:[],t);if(null==a)r.setValue(a,e.name,s);else{var l=a.__id;if(null==l)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var u=n.get(l);if(null==u)throw new Error("Did not find item with data id ".concat(l," in the store."));r.setLinkedRecord(u,e.name,s)}}}function k(e,t,r,a,o){return function(){var s,l=i(null!==(s=e.args)&&void 0!==s?s:[],t),u=r.getLinkedRecords(e.name,l);return void 0===u&&(u=function(e,t,r,i,a){var o,s=(0,n.default)(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if("pluralLinked"===l.kind){var u=l.handle(e,r,t,i);if(null!=u)return u.map((function(e){if(null!=e)return i.get(e)}))}}}catch(e){s.e(e)}finally{s.f()}}(e,l,r,a,o)),null!=u?u.map((function(r){if(null!=r){var n={};return A(n,r,t,e.selections,a,o),Object.freeze(n),n}return r})):u}}function N(e,t,r,a,o){return function(){var s,l=i(null!==(s=e.args)&&void 0!==s?s:[],t),u=r.getLinkedRecord(e.name,l);if(void 0===u&&(u=function(e,t,r,i,a){var o,s=(0,n.default)(a);try{for(s.s();!(o=s.n()).done;){var l=o.value;if("linked"===l.kind){var u=l.handle(e,r,t,i);if(null!=u)return i.get(u)}}}catch(e){s.e(e)}finally{s.f()}}(e,l,r,a,o)),null!=u){var c={};return A(c,u,t,e.selections,a,o),Object.freeze(c),c}return u}}e.exports={createUpdatableProxy:function(e,t,r,n,i){var a={};return A(a,e,t,r,n,i),Object.freeze(a),a}}},7122:(e,t,r)=>{var n=r(1634).getFragment,i=r(6256).getVariablesFromFragment,a=r(5165).ID_KEY,o=r(9176).createUpdatableProxy,s=r(5056);e.exports={readUpdatableFragment:function(e,t,r,l){var u=n(e),c=i(u,t),d=t[a],f=r.get(d);return null==f&&s(!1,"No record with ".concat(d," was found. This likely indicates a problem with Relay.")),{updatableData:o(f,c,u.selections,r,l)}}}},2402:(e,t,r)=>{var n=r(1634).getUpdatableQuery,i=r(9176).createUpdatableProxy;e.exports={readUpdatableQuery:function(e,t,r,a){var o=n(e);return{updatableData:i(r.getRoot(),t,o.fragment.selections,r,a)}}}},1740:(e,t,r)=>{var n,i=(0,r(5275).default)(r(6175)),a=r(3775),o=a.ACTOR_CHANGE,s=a.CLIENT_COMPONENT,l=(a.CLIENT_EDGE_TO_CLIENT_OBJECT,a.CLIENT_EXTENSION),u=a.CONDITION,c=(a.DEFER,a.FRAGMENT_SPREAD),d=a.INLINE_FRAGMENT,f=a.LINKED_FIELD,h=(a.LINKED_HANDLE,a.MODULE_IMPORT),p=(a.RELAY_LIVE_RESOLVER,a.RELAY_RESOLVER,a.SCALAR_FIELD),_=(a.SCALAR_HANDLE,a.STREAM,a.TYPE_DISCRIMINATOR),v=r(4446),g=Object.prototype.hasOwnProperty,m=function(e,t,r){var n=t;e.split(".").forEach((function(e,t,i){null==n[e]&&(n[e]={}),r&&t===i.length-1&&(n[e]="<scalar>"),n=n[e]}))};n=function(e,t,r){var n=t.operation.name,i={path:"ROOT",visitedPaths:new Set,variables:r||{},missingDiff:{},extraDiff:{},moduleImportPaths:new Set};y(e,t.operation.selections,i),D(e,i),v(null==i.missingDiff.ROOT,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please define fields for all of\n%s",n,JSON.stringify(i.missingDiff.ROOT,null,2)),v(null==i.extraDiff.ROOT,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please remove all fields of\n%s",n,JSON.stringify(i.extraDiff.ROOT,null,2))};var y=function(e,t,r){t.forEach((function(t){return E(e,t,r)}))},E=function e(t,r,n){switch(r.kind){case u:return void y(t,r.selections,n);case s:case c:return void y(t,r.fragment.selections,n);case p:case f:return I(t,r,n);case o:return I(t,r.linkedField,n);case d:var i=r.type,a=null==r.abstractKey;return b(n,r.abstractKey),void r.selections.forEach((function(r){a&&t.__typename!==i||e(t,r,n)}));case l:return void r.selections.forEach((function(r){e(t,r,n)}));case h:return R(n);case _:return b(n,r.abstractKey);default:return}},R=function(e){e.moduleImportPaths.add(e.path)},b=function(e,t){if(null!=t){var r="".concat(e.path,".").concat(t);e.visitedPaths.add(r)}},I=function(e,t,r){var n=t.alias||t.name,a="".concat(r.path,".").concat(n);switch(r.visitedPaths.add(a),t.kind){case p:return void(!1===g.call(e,n)&&m(a,r.missingDiff,!0));case f:var o=t.selections;if(null===e[n]||g.call(e,n)&&void 0===e[n])return;return t.plural?Array.isArray(e[n])?void e[n].forEach((function(e){null!==e&&y(e,o,(0,i.default)((0,i.default)({},r),{},{path:a}))})):void m(a,r.missingDiff):e[n]instanceof Object?void y(e[n],o,(0,i.default)((0,i.default)({},r),{},{path:a})):void m(a,r.missingDiff)}},D=function e(t,r){Array.isArray(t)?t.forEach((function(t){t instanceof Object&&e(t,r)})):Object.keys(t).forEach((function(n){var a=t[n],o="".concat(r.path,".").concat(n);r.moduleImportPaths.has(o)||(r.visitedPaths.has(o)?a instanceof Object&&e(a,(0,i.default)((0,i.default)({},r),{},{path:o})):m(o,r.extraDiff))}))};e.exports=n},5320:(e,t,r)=>{var n=r(1060);e.exports={convertFetch:function(e){return function(t,r,i,a,o){var s=e(t,r,i,a,o);return s instanceof Error?n.create((function(e){return e.error(s)})):n.from(s)}}}},7983:(e,t,r)=>{var n=r(489),i=r(5320).convertFetch,a=r(5056);e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,o,s,l){var u=n(i,e.providedVariables);if("subscription"===e.operationKind)return t||a(!1,"RelayNetwork: This network layer does not support Subscriptions. To use Subscriptions, provide a custom network layer."),s&&a(!1,"RelayNetwork: Cannot provide uploadables while subscribing."),t(e,u,o);var c=o.poll;return null!=c?(s&&a(!1,"RelayNetwork: Cannot provide uploadables while polling."),r(e,u,{force:!0}).poll(c)):r(e,u,o,s,l)}}}}},1060:(e,t,r)=>{var n=r(1571),i=function(e,t){},a=function(){function e(e){if(!e||"function"!=typeof e)throw new Error("Source must be a Function: "+String(e));this._source=e}e.create=function(t){return new e(t)},e.onUnhandledError=function(e){i=e},e.from=function(e){return function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.subscribe}(e)?o(e):n(e)?s(e):l(e)};var t=e.prototype;return t.catch=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:function(r){try{t(r).subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:e.error})}catch(t){e.error(t,!0)}}}),function(){return n.unsubscribe()}}))},t.concat=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,error:e.error,complete:function(){n=t.subscribe(e)}}),function(){n&&n.unsubscribe()}}))},t.do=function(t){var r=this;return e.create((function(e){var n=function(r){return function(){try{t[r]&&t[r].apply(t,arguments)}catch(e){i(e,!0)}e[r]&&e[r].apply(e,arguments)}};return r.subscribe({start:n("start"),next:n("next"),error:n("error"),complete:n("complete"),unsubscribe:n("unsubscribe")})}))},t.finally=function(t){var r=this;return e.create((function(e){var n=r.subscribe(e);return function(){n.unsubscribe(),t()}}))},t.ifEmpty=function(t){var r=this;return e.create((function(e){var n,i=!1;return n=r.subscribe({next:function(t){i=!0,e.next(t)},error:e.error,complete:function(){i?e.complete():n=t.subscribe(e)}}),function(){n&&n.unsubscribe()}}))},t.subscribe=function(e){if(!e||"object"!=typeof e)throw new Error("Observer must be an Object with callbacks: "+String(e));return function(e,t){var r,n=!1,a=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function o(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var s=a({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(s)}catch(e){i(e,!0)}finally{o()}}}});try{t.start&&t.start(s)}catch(e){i(e,!0)}if(n)return s;var l=a({next:function(e){if(!n&&t.next)try{t.next(e)}catch(e){i(e,!0)}},error:function(e,r){if(n||!t.error)n=!0,i(e,r||!1),o();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{o()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{o()}}}});try{r=e(l)}catch(e){l.error(e,!0)}if(void 0!==r&&"function"!=typeof r&&(!r||"function"!=typeof r.unsubscribe))throw new Error("Returned cleanup function which cannot be called: "+String(r));return n&&o(),s}(this._source,e)},t.map=function(t){var r=this;return e.create((function(e){var n=r.subscribe({complete:e.complete,error:e.error,next:function(r){try{var n=t(r);e.next(n)}catch(t){e.error(t,!0)}}});return function(){n.unsubscribe()}}))},t.mergeMap=function(t){var r=this;return e.create((function(n){var i=[];function a(e){this._sub=e,i.push(e)}function o(){i.splice(i.indexOf(this._sub),1),0===i.length&&n.complete()}return r.subscribe({start:a,next:function(r){try{n.closed||e.from(t(r)).subscribe({start:a,next:n.next,error:n.error,complete:o})}catch(e){n.error(e,!0)}},error:n.error,complete:o}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;if("number"!=typeof t||t<=0)throw new Error("RelayObservable: Expected pollInterval to be positive, got: "+t);return e.create((function(e){var n,i;return function a(){n=r.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(a,t)}})}(),function(){clearTimeout(i),n.unsubscribe()}}))},t.toPromise=function(){var e=this;return new Promise((function(t,r){var n=!1;e.subscribe({next:function(e){n||(n=!0,t(e))},error:r,complete:t})}))},e}();function o(e){return e instanceof a?e:a.create((function(t){return e.subscribe(t)}))}function s(e){return a.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function l(e){return a.create((function(t){t.next(e),t.complete()}))}a.onUnhandledError((function(e,t){"function"==typeof fail?fail(String(e)):t?setTimeout((function(){throw e})):"undefined"!=typeof console&&console.error("RelayObservable: Unhandled Error",e)})),e.exports=a},534:(e,t,r)=>{var n=(0,r(5275).default)(r(6175)),i=r(1094),a=r(5056),o=function(){function e(e){var t=e.size,r=e.ttl;t>0||a(!1,"RelayQueryResponseCache: Expected the max cache size to be > 0, got `%s`.",t),r>0||a(!1,"RelayQueryResponseCache: Expected the max ttl to be > 0, got `%s`.",r),this._responses=new Map,this._size=t,this._ttl=r}var t=e.prototype;return t.clear=function(){this._responses.clear()},t.get=function(e,t){var r=this,i=s(e,t);this._responses.forEach((function(e,t){e.fetchTime+r._ttl>=Date.now()||r._responses.delete(t)}));var a=this._responses.get(i);return null==a?null:Array.isArray(a.payload)?a.payload.map((function(e){return(0,n.default)((0,n.default)({},e),{},{extensions:(0,n.default)((0,n.default)({},e.extensions),{},{cacheTimestamp:a.fetchTime})})})):(0,n.default)((0,n.default)({},a.payload),{},{extensions:(0,n.default)((0,n.default)({},a.payload.extensions),{},{cacheTimestamp:a.fetchTime})})},t.set=function(e,t,r){var n=Date.now(),i=s(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:n,payload:r}),this._responses.size>this._size){var a=this._responses.keys().next();a.done||this._responses.delete(a.value)}},e}();function s(e,t){return JSON.stringify(i({queryID:e,variables:t}))}e.exports=o},1373:(e,t,r)=>{var n=r(1264);e.exports=function(e,t){return{execute:function(r,i,a,o){var s=n(),l={start:function(t){e.__log({name:"network.start",networkRequestId:s,params:r,variables:i,cacheConfig:a})},next:function(t){e.__log({name:"network.next",networkRequestId:s,response:t})},error:function(t){e.__log({name:"network.error",networkRequestId:s,error:t})},complete:function(){e.__log({name:"network.complete",networkRequestId:s})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:s})}};return t.execute(r,i,a,o,(function(t){e.__log({name:"network.info",networkRequestId:s,info:t})})).do(l)}}}},1634:(e,t,r)=>{var n=r(3775),i=r(5056),a=r(4446);function o(e){var t=e;return"function"==typeof t?(t=t(),a(!1,"RelayGraphQLTag: node `%s` unexpectedly wrapped in a function.","Fragment"===t.kind?t.name:t.operation.name)):t.default&&(t=t.default),t}function s(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.FRAGMENT}function l(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}function u(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.UPDATABLE_QUERY}function c(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.INLINE_DATA_FRAGMENT}function d(e){var t=o(e);return s(t)||i(!1,"GraphQLTag: Expected a fragment, got `%s`.",JSON.stringify(t)),t}e.exports={getFragment:d,getNode:o,getPaginationFragment:function(e){var t,r=d(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch,i=null==n?void 0:n.connection;return null===n||"object"!=typeof n||null===i||"object"!=typeof i?null:r},getRefetchableFragment:function(e){var t,r=d(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch;return null===n||"object"!=typeof n?null:r},getRequest:function(e){var t=o(e);return l(t)||i(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)),t},getUpdatableQuery:function(e){var t=o(e);return u(t)||i(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)),t},getInlineDataFragment:function(e){var t=o(e);return c(t)||i(!1,"GraphQLTag: Expected an inline data fragment, got `%s`.",JSON.stringify(t)),t},graphql:function(e){i(!1,"graphql: Unexpected invocation at runtime. Either the Babel transform was not set up, or it failed to identify this call site. Make sure it is being used verbatim as `graphql`. Note also that there cannot be a space between graphql and the backtick that follows.")},isFragment:s,isRequest:l,isUpdatableQuery:u,isInlineDataFragment:c}},4530:e=>{var t=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;return n.add(t),this._callbacks.set(e,n),{dispose:function(){n.delete(t)}}},t.clear=function(){this._preloadableQueries.clear()},e}());e.exports=t},1273:(e,t,r)=>{var n=(0,r(5275).default)(r(6175)),i=r(1060),a=r(7258).createOperationDescriptor,o=r(9222),s=r(7367),l=r(1634).getRequest,u=r(5056);function c(e,t){return s.fetchQuery(e,t).map((function(){return e.lookup(t.fragment)}))}e.exports=function(e,t,r,s){var d,f=l(t);"query"!==f.params.operationKind&&u(!1,"fetchQuery: Expected query operation");var h=(0,n.default)({force:!0},null==s?void 0:s.networkCacheConfig),p=a(f,r,h),_=null!==(d=null==s?void 0:s.fetchPolicy)&&void 0!==d?d:"network-only";function v(t){var r,n;return o(e,t.missingRequiredFields,t.relayResolverErrors,t.errorResponseFields,null!==(r=null===(n=f.fragment.metadata)||void 0===n?void 0:n.throwOnFieldError)&&void 0!==r&&r),t.data}switch(_){case"network-only":return c(e,p).map(v);case"store-or-network":return"available"===e.check(p).status?i.from(e.lookup(p.fragment)).map(v):c(e,p).map(v);default:throw new Error("fetchQuery: Invalid fetchPolicy "+_)}}},7367:(e,t,r)=>{var n=r(1060),i=r(4153),a=r(5056),o="function"==typeof WeakMap?new WeakMap:new Map;function s(e,t,r){return n.create((function(o){var s=u(e),l=s.get(t);return l||r().finally((function(){return s.delete(t)})).subscribe({start:function(e){l={identifier:t,subject:new i,subjectForInFlightStatus:new i,subscription:e,promise:null},s.set(t,l)},next:function(e){var r=c(s,t);r.subject.next(e),r.subjectForInFlightStatus.next(e)},error:function(e){var r=c(s,t);r.subject.error(e),r.subjectForInFlightStatus.error(e)},complete:function(){var e=c(s,t);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var r=c(s,t);r.subject.unsubscribe(),r.subjectForInFlightStatus.unsubscribe()}}),null==l&&a(!1,"[fetchQueryInternal] fetchQueryDeduped: Expected `start` to be called synchronously"),function(e,t){return n.create((function(r){var n=t.subject.subscribe(r);return function(){n.unsubscribe();var r=e.get(t.identifier);if(r){var i=r.subscription;null!=i&&0===r.subject.getObserverCount()&&(i.unsubscribe(),e.delete(t.identifier))}}}))}(s,l).subscribe(o)}))}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=o.get(e);if(null!=t)return t;var r=new Map;return o.set(e,r),r}function c(e,t){var r=e.get(t);return null==r&&a(!1,"[fetchQueryInternal] getCachedRequest: Expected request to be cached"),r}e.exports={fetchQuery:function(e,t){return s(e,t.request.identifier,(function(){return e.execute({operation:t})}))},fetchQueryDeduped:s,getPromiseForActiveRequest:function(e,t){var r=u(e).get(t.identifier);return r&&e.isRequestActive(r.identifier)?new Promise((function(t,n){var i=!1;l(e,0,r).subscribe({complete:t,error:n,next:function(e){i&&t(e)}}),i=!0})):null},getObservableForActiveRequest:function(e,t){var r=u(e).get(t.identifier);return r&&e.isRequestActive(r.identifier)?l(e,0,r):null}}},5622:(e,t,r)=>{var n=r(7258).createOperationDescriptor,i=r(1634).getRequest;e.exports=function(e,t,r,a){var o=i(t);if("query"!==o.params.operationKind)throw new Error("fetchQuery: Expected query operation");var s=n(o,r,a);return e.execute({operation:s}).map((function(){return e.lookup(s.fragment).data})).toPromise()}},2997:(e,t,r)=>{var n=r(6770),i=r(6982).intern,a="client:",o=0;e.exports={generateClientID:function(e,t,r){var o=(n.STRING_INTERN_LEVEL<=0?e:i(e,n.MAX_DATA_ID_LENGTH))+":"+t;return null!=r&&(o+=":"+r),0!==o.indexOf(a)&&(o=a+o),o},generateClientObjectClientID:function(e,t,r){var n="".concat(a).concat(e,":").concat(t);return null!=r&&(n+=":"+r),n},generateUniqueClientID:function(){return"".concat(a,"local:").concat(o++)},isClientID:function(e){return 0===e.indexOf(a)}}},847:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(4503),a=r(3838),o=r(2881),s=r(3775),l=r(2997).isClientID,u=r(4293),c=r(6159),d=r(129).getLocalVariables,f=r(7105),h=r(7148),p=h.EXISTENT,_=h.UNKNOWN,v=r(5165),g=r(975),m=g.TYPE_SCHEMA_TYPE,y=g.generateTypeID,E=r(5056),R=s.ACTOR_CHANGE,b=s.CONDITION,I=s.CLIENT_COMPONENT,D=s.CLIENT_EXTENSION,S=s.CLIENT_EDGE_TO_CLIENT_OBJECT,A=s.DEFER,O=s.FRAGMENT_SPREAD,T=s.INLINE_FRAGMENT,k=s.LINKED_FIELD,N=s.LINKED_HANDLE,F=s.MODULE_IMPORT,L=s.RELAY_RESOLVER,x=s.RELAY_LIVE_RESOLVER,P=s.SCALAR_FIELD,C=s.SCALAR_HANDLE,w=s.STREAM,M=s.TYPE_DISCRIMINATOR,V=v.getModuleOperationKey,U=v.getStorageKey,j=v.getArgumentValues,q=function(){function e(e,t,r,n,i,a,o,s){this._getSourceForActor=e,this._getTargetForActor=t,this._getDataID=o,this._source=e(r),this._mutatorRecordSourceProxyCache=new Map;var l=this._getMutatorAndRecordProxyForActor(r),u=l[0],c=l[1];this._mostRecentlyInvalidatedAt=null,this._handlers=i,this._mutator=u,this._operationLoader=null!=a?a:null,this._recordSourceProxy=c,this._recordWasMissing=!1,this._variables=n,this._shouldProcessClientComponents=s}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(e){var t=this._mutatorRecordSourceProxyCache.get(e);if(null==t){var r=this._getTargetForActor(e),n=new i(this._getSourceForActor(e),r);t=[n,new a(n,this._getDataID,void 0,this._handlers)],this._mutatorRecordSourceProxyCache.set(e,t)}return t},t.check=function(e,t){return this._assignClientAbstractTypes(e),this._traverse(e,t),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||E(!1,"RelayAsyncLoader(): Undefined variable `%s`.",e),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!l(t)){var r,i=null!=e.args?j(e.args,this._variables):{},a=(0,n.default)(this._handlers);try{for(a.s();!(r=a.n()).done;){var o=r.value;if("scalar"===o.kind){var s=o.handle(e,this._recordSourceProxy.get(t),i,this._recordSourceProxy);if(void 0!==s)return s}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=null!=e.args?j(e.args,this._variables):{},a=(0,n.default)(this._handlers);try{for(a.s();!(r=a.n()).done;){var o=r.value;if("linked"===o.kind){var s=o.handle(e,this._recordSourceProxy.get(t),i,this._recordSourceProxy);if(void 0!==s&&(null===s||this._mutator.getStatus(s)===p))return s}}}catch(e){a.e(e)}finally{a.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,a=null!=e.args?j(e.args,this._variables):{},o=(0,n.default)(this._handlers);try{for(o.s();!(r=o.n()).done;){var s=r.value;if("pluralLinked"===s.kind){var l=s.handle(e,this._recordSourceProxy.get(t),a,this._recordSourceProxy);if(null!=l){if(l.every((function(e){return null!=e&&i._mutator.getStatus(e)===p})))return l}else if(null===l)return null}}}catch(e){o.e(e)}finally{o.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===_&&this._handleMissing(),r===p){var n=this._source.get(t),i=f.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 R:r._checkActorChange(n.linkedField,t);break;case b: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 a=r._mutator.getType(t);null==a&&E(!1,"DataChecker: Expected record `%s` to have a known type",t);var o=y(a),s=r._mutator.getValue(o,i);!0===s?r._traverseSelections(n.selections,t):null==s&&r._handleMissing()}break;case N:var l=u(n,e,r._variables);l.plural?r._checkPluralLink(l,t):r._checkLink(l,t);break;case C:var f=c(n,e,r._variables);r._checkScalar(f,t);break;case F:r._checkModuleImport(n,t);break;case A:case w:r._traverseSelections(n.selections,t);break;case O:var h=r._variables;r._variables=d(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=h;break;case D:var p=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=p;break;case M:var _=n.abstractKey,v=r._mutator.getType(t);null==v&&E(!1,"DataChecker: Expected record `%s` to have a known type",t);var g=y(v);null==r._mutator.getValue(g,_)&&r._handleMissing();break;case I:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;case L:case x:r._checkResolver(n,t);break;case S:r._checkResolver(n.backingField,t);break;default:E(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",n.kind)}}))},t._checkResolver=function(e,t){e.fragment&&this._traverseSelections([e.fragment],t)},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&E(!1,"DataChecker: Expected an operationLoader to be configured when using `@module`.");var n=V(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var a=r.get(i);if(null!=a){var s=o(a),l=this._variables;this._variables=d(this._variables,s.argumentDefinitions,e.args),this._traverse(s,t),this._variables=l}else this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=U(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=U(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=U(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=U(e,this._variables),n=this._source.get(t),i=null!=n?f.getActorLinkedRecordID(n,r):n;if(null==i)void 0===i&&this._handleMissing();else{var a=i[0],o=i[1],s=this._source,l=this._mutator,u=this._recordSourceProxy,c=this._getMutatorAndRecordProxyForActor(a),d=c[0],h=c[1];this._source=this._getSourceForActor(a),this._mutator=d,this._recordSourceProxy=h,this._assignClientAbstractTypes(e),this._traverse(e,o),this._source=s,this._mutator=l,this._recordSourceProxy=u}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var r=0,i=Object.keys(t);r<i.length;r++){var a,o=i[r],s=(0,n.default)(t[o]);try{for(s.s();!(a=s.n()).done;){var l=a.value,u=y(l);null==this._source.get(u)&&this._mutator.create(u,m),null==this._mutator.getValue(u,o)&&this._mutator.setValue(u,o,!0)}}catch(e){s.e(e)}finally{s.f()}}},e}();e.exports={check:function(e,t,r,n,i,a,o,s){var l=n.dataID,u=n.node,c=n.variables;return new q(e,t,r,c,i,a,o,s).check(u,l)}}},7206:(e,t,r)=>{var n=r(5275).default,i=n(r(5765)),a=n(r(642)),o=r(1060),s=r(1264),l=r(2881),u=r(4539),c=r(6770),d=r(1094),f=r(3871),h=r(2997),p=h.generateClientID,_=h.generateUniqueClientID,v=r(129).getLocalVariables,g=r(7105),m=r(6256),y=m.createNormalizationSelector,E=m.createReaderSelector,R=r(6938),b=r(5165),I=b.ROOT_TYPE,D=b.TYPENAME_KEY,S=b.getStorageKey,A=r(5056),O=r(4446),T=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,d=e.operationLoader,f=e.operationTracker,h=e.optimisticConfig,p=e.scheduler,_=e.shouldProcessClientComponents,v=e.sink,g=e.source,m=e.treatMissingFieldsAsNull,y=e.updater,E=e.log,R=e.normalizeResponse;this._actorIdentifier=r,this._getDataID=n,this._treatMissingFieldsAsNull=m,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._log=E,this._executeId=s(),this._nextSubscriptionId=0,this._operation=l,this._operationExecutions=u,this._operationLoader=d,this._operationTracker=f,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._getPublishQueue=i,this._scheduler=p,this._sink=v,this._source=new Map,this._state="started",this._getStore=a,this._subscriptions=new Map,this._updater=y,this._isClientPayload=!0===o,this._isSubscriptionOperation="subscription"===this._operation.request.node.params.operationKind,this._shouldProcessClientComponents=_,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[],this._normalizeResponse=R;var b=this._nextSubscriptionId++;c.PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION&&null!=h&&this._processOptimisticResponse(null!=h.response?{data:h.response}:null,h.updater,!1),g.subscribe({complete:function(){return t._complete(b)},error:function(e){return t._error(e)},next:function(e){try{t._next(b,e)}catch(e){v.error(e)}},start:function(e){var r;t._start(b,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:{}})}}),c.PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION||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,A(!1,"OperationExecutor: invalid executor state.")}this._operationExecutions.set(this._operation.request.identifier,e)},t._schedule=function(e){var t=this,r=this._scheduler;if(null!=r){var n=this._nextSubscriptionId++;o.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=f((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=u.create("RelayNetwork","No data returned for operation `"+t._operation.request.node.params.name+"`, got error(s):\n"+i+"\n\nSee the error `source` property for more information.");throw a.source={errors:n,operation:t._operation.request.node,variables:t._operation.request.variables},a.stack,a}var o=e;r.push(o)}})),r},t._handleOptimisticResponses=function(e){var t;if(e.length>1)return e.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.isOptimistic)}))&&A(!1,"OperationExecutor: Optimistic responses cannot be batched."),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&A(!1,"OperationExecutor: optimistic payload received after server payload."),!!n&&(this._processOptimisticResponse(r,null,this._treatMissingFieldsAsNull),this._sink.next(r),!0)},t._handleNext=function(e){if("completed"!==this._state){this._seenActors.clear();var t=Array.isArray(e)?e:[e],r=this._handleErrorResponse(t);if(0===r.length)return t.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.is_final)}))&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),void this._sink.next(e);if(!this._handleOptimisticResponses(r)){var n=function(e){var t=[],r=[];return e.forEach((function(e){if(null!=e.path||null!=e.label){var n=e.label,i=e.path;null!=n&&null!=i||A(!1,"OperationExecutor: invalid incremental payload, expected `path` and `label` to either both be null/undefined, or `path` to be an `Array<string | number>` and `label` to be a `string`."),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],a=n[1],o=i.length>0;if(o){if(this._isSubscriptionOperation){var s=_();this._operation={request:this._operation.request,fragment:E(this._operation.fragment.node,s,this._operation.fragment.variables,this._operation.fragment.owner),root:y(this._operation.root.node,s,this._operation.root.variables)}}var l=this._processResponses(i);this._processPayloadFollowups(l)}if(a.length>0){var u=this._processIncrementalResponses(a);this._processPayloadFollowups(u)}this._isSubscriptionOperation&&(null==r[0].extensions?r[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:r[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var c=this._runPublishQueue(o?this._operation:void 0);o&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(c),this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&A(!1,"OperationExecutor: environment.execute: only support one optimistic response per execute."),null!=e||null!=t){var i=[];if(e){var a=this._normalizeResponse(e,this._operation.root,I,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:r});k(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:R.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return n._getPublishQueueAndSaveActor().applyUpdate(e)}));var o=this._runPublishQueue();c.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(o)}},t._processOptimisticFollowups=function(e,t){if(e.followupPayloads&&e.followupPayloads.length){var r,n=e.followupPayloads,o=(0,i.default)(n);try{for(o.s();!(r=o.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,a.default)(u))}break;case"ActorPayload":O(!1,"OperationExecutor: Unexpected optimistic ActorPayload. These updates are not supported.");break;default:A(!1,"OperationExecutor: Unexpected followup kind `%s`. when processing optimistic updates.",s.kind)}}}catch(e){o.e(e)}finally{o.f()}}},t._normalizeFollowupPayload=function(e,t){var r;r="SplitOperation"===t.kind&&"ModuleImportPayload"===e.kind?v(e.variables,t.argumentDefinitions,e.args):e.variables;var n=y(t,e.dataID,r);return this._normalizeResponse({data:e.data},n,e.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:e.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},t._processOptimisticModuleImport=function(e,t){var r=l(e),n=[],i=this._normalizeFollowupPayload(t,r);return k(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);i.forEach((function(e){return t._getPublishQueueAndSaveActor().applyUpdate(e)})),null==t._optimisticUpdates?O(!1,"OperationExecutor: Unexpected ModuleImport optimistic update in operation %s."+t._operation.request.node.params.name):((n=t._optimisticUpdates).push.apply(n,(0,a.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=t._normalizeResponse(e,t._operation.root,I,{actorIdentifier:t._actorIdentifier,getDataID:t._getDataID,path:[],treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,shouldProcessClientComponents:t._shouldProcessClientComponents});return t._getPublishQueueAndSaveActor().commitPayload(t._operation,r,t._updater),r}))},t._processPayloadFollowups=function(e){var t=this;"completed"!==this._state&&e.forEach((function(e){var r=e.incrementalPlaceholders,n=e.followupPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),n&&0!==n.length&&n.forEach((function(e){var r,n=t._actorIdentifier;t._actorIdentifier=null!==(r=e.actorIdentifier)&&void 0!==r?r:t._actorIdentifier,t._processFollowupPayload(e),t._actorIdentifier=n})),r&&0!==r.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,r.forEach((function(r){var n,i=t._actorIdentifier;t._actorIdentifier=null!==(n=r.actorIdentifier)&&void 0!==n?n:t._actorIdentifier,t._processIncrementalPlaceholder(e,r),t._actorIdentifier=i})),t._isClientPayload||"loading_final"===t._state)){O(t._isClientPayload,"RelayModernEnvironment: Operation `%s` contains @defer/@stream directives but was executed in non-streaming mode. See https://fburl.com/relay-incremental-delivery-non-streaming-warning.",t._operation.request.node.params.name);var a=[];r.forEach((function(e){"defer"===e.kind&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),a.length>0&&t._processPayloadFollowups(a)}}))},t._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},t._processFollowupPayload=function(e){var t=this;switch(e.kind){case"ModuleImportPayload":var r=this._expectOperationLoader(),n=r.get(e.operationReference);if(null!=n)this._processFollowupPayloadWithNormalizationNode(e,l(n));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var a=function(){t._pendingModulePayloadsCount--,t._maybeCompleteSubscriptionOperationTracking()},s=o.from(new Promise((function(t,n){r.load(e.operationReference).then(t,n)})));o.create((function(r){var n,i=s.subscribe({next:function(i){if(null!=i){var a=function(){try{var n=l(i),a=c.BATCH_ASYNC_MODULE_UPDATES_FN,o=null!=a&&t._pendingModulePayloadsCount>1,s=f((function(){if(t._handleFollowupPayload(e,n),o)t._scheduleAsyncStoreUpdate(a,r.complete);else{var i=t._runPublishQueue();t._updateOperationTracker(i)}}))[0];t._log({name:"execute.async.module",executeId:t._executeId,operationName:n.name,duration:s}),o||r.complete()}catch(e){r.error(e)}},o=t._scheduler;null==o?a():n=o.schedule(a)}else r.complete()},error:r.error});return function(){i.unsubscribe(),null!=t._scheduler&&null!=n&&t._scheduler.cancel(n)}})).subscribe({complete:function(){t._complete(i),a()},error:function(e){t._error(e),a()},start:function(e){return t._start(i,e)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(e,e.node);break;default:A(!1,"OperationExecutor: Unexpected followup kind `%s`.",e.kind)}},t._processFollowupPayloadWithNormalizationNode=function(e,t){this._handleFollowupPayload(e,t),this._maybeCompleteSubscriptionOperationTracking()},t._handleFollowupPayload=function(e,t){var r=this._normalizeFollowupPayload(e,t);this._getPublishQueueAndSaveActor().commitPayload(this._operation,r),this._processPayloadFollowups([r])},t._processIncrementalPlaceholder=function(e,t){var r,n=t.label,i=t.path.map(String).join("."),a=this._incrementalResults.get(n);null==a&&(a=new Map,this._incrementalResults.set(n,a));var o,s=a.get(i),l=null!=s&&"response"===s.kind?s.responses:null;a.set(i,{kind:"placeholder",placeholder:t}),"stream"===t.kind?o=t.parentID:"defer"===t.kind?o=t.selector.dataID:A(!1,"OperationExecutor: Unsupported incremental placeholder kind `%s`.",t.kind);var u,c,f=e.source.get(o),h=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=p(e.dataID,e.fieldKey);return e.dataID===o||t===o}));null==f&&A(!1,"OperationExecutor: Expected record `%s` to exist.",o);var _=this._source.get(o);if(null!=_){u=g.update(_.record,f);var v=new Map,m=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(d(t)))&&void 0!==r?r:"");v.set(n,e)};_.fieldPayloads.forEach(m),h.forEach(m),c=Array.from(v.values())}else u=f,c=h;if(this._source.set(o,{record:u,fieldPayloads:c}),null!=l){var y=this._processIncrementalResponses(l);this._processPayloadFollowups(y)}},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,a=e.response,o=t._incrementalResults.get(n);if(null==o&&(o=new Map,t._incrementalResults.set(n,o)),-1!==n.indexOf("$defer$")){var s=i.map(String).join("."),l=o.get(s);if(null==l)return l={kind:"response",responses:[e]},void o.set(s,l);if("response"===l.kind)return void l.responses.push(e);var u=l.placeholder;"defer"!==u.kind&&A(!1,"OperationExecutor: Expected data for path `%s` for label `%s` to be data for @defer, was `@%s`.",s,n,u.kind),r.push(t._processDeferResponse(n,i,u,a))}else{var c=i.slice(0,-2).map(String).join("."),d=o.get(c);if(null==d)return d={kind:"response",responses:[e]},void o.set(c,d);if("response"===d.kind)return void d.responses.push(e);var f=d.placeholder;"stream"!==f.kind&&A(!1,"OperationExecutor: Expected data for path `%s` for label `%s` to be data for @stream, was `@%s`.",c,n,f.kind),r.push(t._processStreamResponse(n,i,f,a))}})),r},t._processDeferResponse=function(e,t,r,n){var i,a=r.selector.dataID,o=this._actorIdentifier;this._actorIdentifier=null!==(i=r.actorIdentifier)&&void 0!==i?i:this._actorIdentifier;var s=this._normalizeResponse(n,r.selector,r.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:r.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,s);var l=this._source.get(a);null==l&&A(!1,"OperationExecutor: Expected the parent record `%s` for @defer data to exist.",a);var u=l.fieldPayloads;if(0!==u.length){var c,d={errors:null,fieldPayloads:u,incrementalPlaceholders:null,followupPayloads:null,source:R.create(),isFinal:!0===(null===(c=n.extensions)||void 0===c?void 0:c.is_final)};this._getPublishQueueAndSaveActor().commitPayload(this._operation,d)}return this._actorIdentifier=o,s},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,o=r.node,s=r.variables,l=r.actorIdentifier,u=this._actorIdentifier;this._actorIdentifier=null!=l?l:this._actorIdentifier;var c=o.selections[0];(null==c||"LinkedField"!==c.kind||!0!==c.plural)&&A(!1,"OperationExecutor: Expected @stream to be used on a plural field.");var d=this._normalizeStreamItem(n,i,c,s,t,r.path),f=d.fieldPayloads,h=d.itemID,p=d.itemIndex,_=d.prevIDs,v=d.relayPayload,g=d.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,v,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(g);if(null!=r&&r.length===_.length&&!r.some((function(e,t){return _[t]!==(e&&e.getDataID())}))){var n=(0,a.default)(r);n[p]=e.get(h),t.setLinkedRecords(n,g)}}})),0!==f.length){var m={errors:null,fieldPayloads:f,incrementalPlaceholders:null,followupPayloads:null,source:R.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,m)}return this._actorIdentifier=u,v},t._normalizeStreamItem=function(e,t,r,n,i,o){var s,l,u,c,d=e.data;"object"!=typeof d&&A(!1,"OperationExecutor: Expected the GraphQL @stream payload `data` value to be an object.");var f=null!==(s=r.alias)&&void 0!==s?s:r.name,h=S(r,n),_=this._source.get(t);null==_&&A(!1,"OperationExecutor: Expected the parent record `%s` for @stream data to exist.",t);var v=_.record,m=_.fieldPayloads,E=g.getLinkedRecordIDs(v,h);null==E&&A(!1,"OperationExecutor: Expected record `%s` to have fetched field `%s` with @stream.",t,r.name);var R=i[i.length-1],b=parseInt(R,10);b===R&&b>=0||A(!1,"OperationExecutor: Expected path for @stream to end in a positive integer index, got `%s`",R);var I=null!==(l=r.concreteType)&&void 0!==l?l:d[D];"string"!=typeof I&&A(!1,"OperationExecutor: Expected @stream field `%s` to have a __typename.",r.name);var O=null!==(u=null!==(c=this._getDataID(d,I))&&void 0!==c?c:null==E?void 0:E[b])&&void 0!==u?u:p(t,h,b);"string"!=typeof O&&A(!1,"OperationExecutor: Expected id of elements of field `%s` to be strings.",h);var T=y(r,O,n),k=g.clone(v),N=(0,a.default)(E);return N[b]=O,g.setLinkedRecordIDs(k,h,N),this._source.set(t,{record:k,fieldPayloads:m}),{fieldPayloads:m,itemID:O,itemIndex:b,prevIDs:E,relayPayload:this._normalizeResponse(e,T,I,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,a.default)(o),[f,String(b)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents}),storageKey:h}},t._scheduleAsyncStoreUpdate=function(e,t){var r=this;this._completeFns.push(t),null==this._asyncStoreUpdateDisposable&&(this._asyncStoreUpdateDisposable=e((function(){r._asyncStoreUpdateDisposable=null;var e=r._runPublishQueue();r._updateOperationTracker(e);var t,n=(0,i.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,i.default)(this._getActorsToVisit());try{for(n.s();!(t=n.n()).done;){var a=t.value;this._getPublishQueue(a).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,i.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,i.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||A(!1,"OperationExecutor: Expected an operationLoader to be configured when using `@match`."),e},e}();function k(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&A(!1,"OperationExecutor: optimistic responses cannot be returned for operations that use incremental data delivery (@defer, @stream, and @stream_connection).")}e.exports={execute:function(e){return new T(e)}}},129:(e,t,r)=>{var n=(0,r(5275).default)(r(6175)),i=r(5165).getArgumentValues,a=r(5056);e.exports={getLocalVariables:function(e,t,r){if(null==t)return e;var a=(0,n.default)({},e),o=r?i(r,e):{};return t.forEach((function(e){var t,r=null!==(t=o[e.name])&&void 0!==t?t:e.defaultValue;a[e.name]=r})),a},getFragmentVariables:function(e,t,r){return null==e.argumentDefinitions?r:(e.argumentDefinitions.forEach((function(o){if(!r.hasOwnProperty(o.name))switch(i=i||(0,n.default)({},r),o.kind){case"LocalArgument":i[o.name]=o.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(o.name)){i[o.name]=void 0;break}i[o.name]=t[o.name];break;default:a(!1,"RelayConcreteVariables: Unexpected node kind `%s` in fragment `%s`.",o.kind,e.name)}})),i||r);var i},getOperationVariables:function(e,t,r){var n={};return e.argumentDefinitions.forEach((function(e){var t=e.defaultValue;null!=r[e.name]&&(t=r[e.name]),n[e.name]=t})),null!=t&&Object.keys(t).forEach((function(e){n[e]=t[e].get()})),n}}},7288:(e,t,r)=>{var n=r(5275).default,i=n(r(6175)),a=n(r(5264)),o=n(r(5765)),s=n(r(8296)),l=n(r(8446)),u=n(r(642)),c=["path","locations"],d=r(6770),f=Symbol("$SELF"),h=function(e){function t(t){var r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return(r=e.call(this,t)||this).name="RelayFieldError",r.message=t,r.errors=n,r}return(0,s.default)(t,e),t}((0,l.default)(Error));function p(e,t){var r,n=(0,o.default)(e);try{for(n.s();!(r=n.n()).done;){var a=r.value,s=a[0],l=a[1],c=t.length;if(Array.isArray(l)?t.push.apply(t,(0,u.default)(l)):p(l,t),s!==f)for(var d=t.length,h=c;h<d;h++){var _=t[h];null==_.path?t[h]=(0,i.default)((0,i.default)({},_),{},{path:[s]}):_.path.unshift(s)}}}catch(e){n.e(e)}finally{n.f()}}e.exports={SELF:f,buildErrorTrie:function(e){if(null==e)return null;if(!d.ENABLE_FIELD_ERROR_HANDLING)return null;var t,r=new Map,n=(0,o.default)(e);try{for(n.s();!(t=n.n()).done;){var i=t.value,s=i.path,l=(i.locations,(0,a.default)(i,c));if(null!=s){var u=s.length;if(0!==u){for(var h=u-1,p=r,_=0;_<h;_++){var v=s[_],g=p.get(v);if(g instanceof Map)p=g;else{var m=new Map;Array.isArray(g)&&m.set(f,g),p.set(v,m),p=m}}var y=s[h],E=p.get(y);E instanceof Map&&(E=(p=E).get(y),y=f),Array.isArray(E)?E.push(l):p.set(y,[l])}}}}catch(e){n.e(e)}finally{n.f()}return r},getNestedErrorTrieByKey:function(e,t){var r=e.get(t);return r instanceof Map?r:null},getErrorsByKey:function(e,t){var r=e.get(t);if(null==r)return null;if(Array.isArray(r))return r;var n=[];return p(r,n),n},RelayFieldError:h}},8541:(e,t,r)=>{var n=(0,r(5275).default)(r(6175)),i=r(778),a=r(5568),o=a.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,s=a.assertInternalActorIdentifier,l=r(1060),u=r(1373),c=r(371),d=r(6859),f=r(5053),h=r(7097),p=r(5131),_=r(7206),v=r(1215),g=r(6938),m=r(5056),y=function(){function e(e){var t,n,a,o,s,l,_,g,y,R,b=this;this.configName=e.configName,this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var I=e.operationLoader;null!=I&&("object"!=typeof I||"function"!=typeof I.get||"function"!=typeof I.load)&&m(!1,"RelayModernEnvironment: Expected `operationLoader` to be an object with get() and load() functions, got `%s`.",I),this.__log=null!==(t=e.log)&&void 0!==t?t:E,this.relayFieldLogger=null!==(n=e.relayFieldLogger)&&void 0!==n?n:h,this._defaultRenderPolicy=null!==(a=e.UNSTABLE_defaultRenderPolicy)&&void 0!==a?a:"partial",this._operationLoader=I,this._operationExecutions=new Map,this._network=u(this,e.network),this._getDataID=null!==(o=e.getDataID)&&void 0!==o?o:f,this._missingFieldHandlers=null!==(s=e.missingFieldHandlers)&&void 0!==s?s:[],this._publishQueue=new v(e.store,null!==(l=e.handlerProvider)&&void 0!==l?l:i,this._getDataID,this._missingFieldHandlers),this._scheduler=null!==(_=e.scheduler)&&void 0!==_?_:null,this._store=e.store,this.options=e.options,this._isServer=null!==(g=e.isServer)&&void 0!==g&&g,this._normalizeResponse=null!==(y=e.normalizeResponse)&&void 0!==y?y:p,this.__setNet=function(e){return b._network=u(b,e)};var D=r(2103).inspect;this.DEBUG_inspect=function(e){return D(b,e)},this._operationTracker=null!==(R=e.operationTracker)&&void 0!==R?R:new c,this._shouldProcessClientComponents=e.shouldProcessClientComponents,d(this)}var t=e.prototype;return t.getStore=function(){return this._store},t.getNetwork=function(){return this._network},t.getOperationTracker=function(){return this._operationTracker},t.getScheduler=function(){return this._scheduler},t.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},t.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},t.applyUpdate=function(e){var t=this;return this._scheduleUpdates((function(){t._publishQueue.applyUpdate(e),t._publishQueue.run()})),{dispose:function(){t._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))}}},t.revertUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}))},t.replaceUpdate=function(e,t){var r=this;this._scheduleUpdates((function(){r._publishQueue.revertUpdate(e),r._publishQueue.applyUpdate(t),r._publishQueue.run()}))},t.applyMutation=function(e){var t=this._execute({createSource:function(){return l.create((function(e){}))},isClientPayload:!1,operation:e.operation,optimisticConfig:e,updater:null}).subscribe({});return{dispose:function(){return t.unsubscribe()}}},t.check=function(e){return 0!==this._missingFieldHandlers.length||function(e){return"Operation"===e.root.node.kind&&null!=e.root.node.clientAbstractTypes}(e)?this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers):this._store.check(e)},t.commitPayload=function(e,t){this._execute({createSource:function(){return l.from({data:t})},isClientPayload:!0,operation:e,optimisticConfig:null,updater:null}).subscribe({})},t.commitUpdate=function(e){var t=this;this._scheduleUpdates((function(){t._publishQueue.commitUpdate(e),t._publishQueue.run()}))},t.lookup=function(e){return this._store.lookup(e)},t.subscribe=function(e,t){return this._store.subscribe(e,t)},t.retain=function(e){return this._store.retain(e)},t.isServer=function(){return this._isServer},t._checkSelectorAndHandleMissingFields=function(e,t){var r=this,n=g.create(),i=this._store.getSource(),a=this._store.check(e,{handlers:t,defaultActorIdentifier:o,getSourceForActor:function(e){return s(e),i},getTargetForActor:function(e){return s(e),n}});return n.size()>0&&this._scheduleUpdates((function(){r._publishQueue.commitSource(n),r._publishQueue.run()})),a},t._scheduleUpdates=function(e){var t=this._scheduler;null!=t?t.schedule(e):e()},t.execute=function(e){var t=this,r=e.operation;return this._execute({createSource:function(){return t.getNetwork().execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:null})},t.executeSubscription=function(e){var t=this,r=e.operation,n=e.updater;return this._execute({createSource:function(){return t.getNetwork().execute(r.request.node.params,r.request.variables,r.request.cacheConfig||{},null)},isClientPayload:!1,operation:r,optimisticConfig:null,updater:n})},t.executeMutation=function(e){var t,r=this,i=e.operation,a=e.optimisticResponse,o=e.optimisticUpdater,s=e.updater,l=e.uploadables;return(a||o)&&(t={operation:i,response:a,updater:o}),this._execute({createSource:function(){return r.getNetwork().execute(i.request.node.params,i.request.variables,(0,n.default)((0,n.default)({},i.request.cacheConfig),{},{force:!0}),l)},isClientPayload:!1,operation:i,optimisticConfig:t,updater:s})},t.executeWithSource=function(e){var t=e.operation,r=e.source;return this._execute({createSource:function(){return r},isClientPayload:!1,operation:t,optimisticConfig:null,updater:null})},t.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},t._execute=function(e){var t=this,r=e.createSource,n=e.isClientPayload,i=e.operation,a=e.optimisticConfig,u=e.updater,c=this._publishQueue,d=this._store;return l.create((function(e){var l=_.execute({actorIdentifier:o,getDataID:t._getDataID,isClientPayload:n,log:t.__log,operation:i,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:a,getPublishQueue:function(e){return s(e),c},scheduler:t._scheduler,shouldProcessClientComponents:t._shouldProcessClientComponents,sink:e,source:r(),getStore:function(e){return s(e),d},treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,updater:u,normalizeResponse:t._normalizeResponse});return function(){return l.cancel()}}))},e}();function E(){}y.prototype["@@RelayModernEnvironment"]=!0,e.exports=y},5457:(e,t,r)=>{var n=r(5275).default,i=n(r(6175)),a=n(r(311)),o=r(5250),s=r(9222),l=r(2081),u=r(5748),c=r(6770),d=r(7258).createRequestDescriptor,f=r(6256),h=f.areEqualSelectors,p=f.createReaderSelector,_=f.getSelectorsFromObject,v=r(9125),g=r(5056),m=r(4446),y=function(){function e(e,t,r,n,i){var o=this;(0,a.default)(this,"_onChange",(function(){o._stale=!0,"function"==typeof o._callback&&o._callback()})),this._callback=n,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=i,this.setProps(r)}var t=e.prototype;return t.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&b(this._resolvers[e])},t.resolve=function(){if(this._stale){var e,t=this._data;for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r],a=t[r];if(n){var o=n.resolve();(e||o!==a)&&((e=e||(0,i.default)({},t))[r]=o)}else{var s=this._props[r],u=void 0!==s?s:null;!e&&l(u,a)||((e=e||(0,i.default)({},t))[r]=u)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e,t){this._callback=t,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT&&this.setProps(e)},t.setProps=function(e){this._props={};var t=_(this._fragments,e);for(var r in t)if(t.hasOwnProperty(r)){var n=t[r],i=this._resolvers[r];null==n?(null!=i&&i.dispose(),i=null):"PluralReaderSelector"===n.kind?null==i?i=new R(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof R||g(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an array.",r),i.setSelector(n)):null==i?i=new E(this._context.environment,this._rootIsQueryRenderer,n,null!=this._callback,this._onChange):(i instanceof E||g(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an object.",r),i.setSelector(n)),this._props[r]=e[r],this._resolvers[r]=i}this._stale=!0},t.setVariables=function(e,t){for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r];n&&n.setVariables(e,t)}this._stale=!0},e}(),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._errorResponseFields=e.errorResponseFields,o._relayResolverErrors=e.relayResolverErrors,o._callback()}));var s=e.lookup(r);this._callback=i,this._data=s.data,this._isMissingData=s.isMissingData,this._missingRequiredFields=s.missingRequiredFields,this._errorResponseFields=s.errorResponseFields,this._relayResolverErrors=s.relayResolverErrors,this._environment=e,this._rootIsQueryRenderer=t,this._selector=r,!0===c.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT?n&&(this._subscription=e.subscribe(s,this._onChange)):this._subscription=e.subscribe(s,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},t.resolve=function(){var e,t;if(!0===this._isMissingData){var r=o(this._environment,this._selector.node,this._selector.owner),n=null==r?void 0:r.promise;if(null!=n){if(!this._rootIsQueryRenderer){var i,a=null!==(i=null==r?void 0:r.pendingOperations)&&void 0!==i?i:[];throw m(!1,"Relay: Relay Container for fragment `%s` suspended. When using features such as @defer or @module, use `useFragment` instead of a Relay Container.",this._selector.node.name),this._environment.__log({name:"suspense.fragment",data:this._data,fragment:this._selector.node,isRelayHooks:!1,isMissingData:this._isMissingData,isPromiseCached:!1,pendingOperations:a}),n}m(!1,"Relay: Relay Container for fragment `%s` has missing data and would suspend. When using features such as @defer or @module, use `useFragment` instead of a Relay Container.",this._selector.node.name)}}return s(this._environment,this._missingRequiredFields,this._relayResolverErrors,this._errorResponseFields,null!==(e=null===(t=this._selector.node.metadata)||void 0===t?void 0:t.throwOnFieldError)&&void 0!==e&&e),this._data},t.setSelector=function(e){if(null==this._subscription||!h(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=u(this._data,t.data),this._isMissingData=t.isMissingData,this._missingRequiredFields=t.missingRequiredFields,this._errorResponseFields=t.errorResponseFields,this._relayResolverErrors=t.relayResolverErrors,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!v(e,this._selector.variables)){var r=d(t,e),n=p(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),R=function(){function e(e,t,r,n,i){var o=this;(0,a.default)(this,"_onChange",(function(e){o._stale=!0,o._callback()})),this._callback=i,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=t,this._subscribeOnConstruction=n,this.setSelector(r)}var t=e.prototype;return t.dispose=function(){this._resolvers.forEach(b)},t.resolve=function(){if(this._stale){for(var e,t=this._data,r=0;r<this._resolvers.length;r++){var n=t[r],i=this._resolvers[r].resolve();(e||i!==n)&&(e=e||t.slice(0,r)).push(i)}e||this._resolvers.length===t.length||(e=t.slice(0,this._resolvers.length)),this._data=e||t,this._stale=!1}return this._data},t.setSelector=function(e){for(var t=e.selectors;this._resolvers.length>t.length;)this._resolvers.pop().dispose();for(var r=0;r<t.length;r++)r<this._resolvers.length?this._resolvers[r].setSelector(t[r]):this._resolvers[r]=new 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=y},7258:(e,t,r)=>{var n=r(2729),i=r(6900),a=r(129).getOperationVariables,o=r(6256),s=o.createNormalizationSelector,l=o.createReaderSelector,u=r(5165).ROOT_ID;function c(e,t,r){var a={identifier:i(e.params,t),node:e,variables:t,cacheConfig:r};return n(t),Object.freeze(e),Object.freeze(a),a}e.exports={createOperationDescriptor:function(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:u,i=e.operation,o=a(i,e.params.providedVariables,t),d=c(e,o,r),f={fragment:l(e.fragment,n,o,d),request:d,root:s(i,n,o)};return Object.freeze(f.fragment),Object.freeze(f.root),Object.freeze(f),f},createRequestDescriptor:c}},7105:(e,t,r)=>{var n=r(5275).default,i=n(r(311)),a=n(r(5264)),o=n(r(9998)),s=n(r(6175)),l=r(2729),u=r(2997),c=u.generateClientObjectClientID,d=u.isClientID,f=r(5046).isSuspenseSentinel,h=r(5165),p=h.ACTOR_IDENTIFIER_KEY,_=h.ERRORS_KEY,v=h.ID_KEY,g=h.INVALIDATED_AT_KEY,m=h.REF_KEY,y=h.REFS_KEY,E=h.RELAY_RESOLVER_VALUE_KEY,R=h.ROOT_ID,b=h.TYPENAME_KEY,I=r(9125),D=r(5056),S=r(4446);function A(e){return e[v]}function O(e){return e[b]}function T(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(m)||r.hasOwnProperty(y))&&D(!1,"RelayModernRecord.getValue(): Expected a scalar (non-link) value for `%s.%s` but found %s.",e[v],t,r.hasOwnProperty(m)?"a linked record":"plural linked records"),r}function k(e,t,r){S(t in e,"RelayModernRecord: Invalid error update, `%s` should not be undefined.",t);var n=e[_];if(null!=r&&r.length>0)null==n?e[_]=(0,i.default)({},t,r):n[t]=r;else if(null!=n&&delete n[t]){for(var a in n)if(n.hasOwnProperty(a))return;delete e[_]}}function N(e,t,r){var n=A(e);if(t===v)S(n===r,"RelayModernRecord: Invalid field update, expected both versions of the record to have the same id, got `%s` and `%s`.",n,r);else if(t===b){var i,a=null!==(i=O(e))&&void 0!==i?i:null,o=null!=r?r:null;S(d(A(e))&&A(e)!==R||a===o,"RelayModernRecord: Invalid field update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",n,b,a,o)}e[t]=r}e.exports={clone:function(e){return(0,s.default)({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==v&&r!==b&&(t[r]=e[r])},create:function(e,t){var r={};return r[v]=e,r[b]=t,r},freeze:function(e){l(e)},fromObject:function(e){return e},getDataID:A,getErrors:function(e,t){var r;return null===(r=e[_])||void 0===r?void 0:r[t]},getFields:function(e){return _ in e?Object.keys(e).filter((function(e){return e!==_})):Object.keys(e)},getInvalidationEpoch:function(e){if(null==e)return null;var t=e[g];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];if(null==r)return r;var n=r;return"object"==typeof n&&n&&"string"==typeof n[m]||D(!1,"RelayModernRecord.getLinkedRecordID(): Expected `%s.%s` to be a linked ID, was `%s`.%s",e[v],t,JSON.stringify(n),"object"==typeof n&&void 0!==n[y]?" It appears to be a plural linked record: did you mean to call getLinkedRecords() instead of getLinkedRecord()?":""),n[m]},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[y])||D(!1,"RelayModernRecord.getLinkedRecordIDs(): Expected `%s.%s` to contain an array of linked IDs, got `%s`.%s",e[v],t,JSON.stringify(r),"object"==typeof r&&void 0!==r[m]?" It appears to be a singular linked record: did you mean to call getLinkedRecord() instead of getLinkedRecords()?":""),r[y])},getType:O,getValue:T,hasValue:function(e,t){return t in e},hasLinkedRecordID:function(e,t){var r=e[t];return null!=r&&"object"==typeof r&&r&&"string"==typeof r[m]},hasLinkedRecordIDs:function(e,t){var r=e[t];return null!=r&&"object"==typeof r&&Array.isArray(r[y])&&r[y].every((function(e){return"string"==typeof e}))},merge:function(e,t){var r,n,i=A(e),l=A(t);S(i===l,"RelayModernRecord: Invalid record merge, expected both versions of the record to have the same id, got `%s` and `%s`.",i,l);var u=null!==(r=O(e))&&void 0!==r?r:null,c=null!==(n=O(t))&&void 0!==n?n:null;if(S(d(l)&&l!==R||u===c,"RelayModernRecord: Invalid record merge, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",i,b,u,c),_ in e||_ in t){var f=e[_],h=(0,a.default)(e,[_].map(o.default)),p=t[_],v=(0,a.default)(t,[_].map(o.default)),g=(0,s.default)((0,s.default)({},h),v);if(null==f&&null==p)return g;var m={};for(var y in f)v.hasOwnProperty(y)||(m[y]=f[y]);for(var E in p)m[E]=p[E];for(var I in m){g[_]=m;break}return g}return(0,s.default)((0,s.default)({},e),t)},setErrors:k,setValue:N,setLinkedRecordID:function(e,t,r){var n={};n[m]=r,e[t]=n},setLinkedRecordIDs:function(e,t,r){var n={};n[y]=r,e[t]=n},update:function(e,t){var r,n,i,a=A(e),o=A(t);S(a===o,"RelayModernRecord: Invalid record update, expected both versions of the record to have the same id, got `%s` and `%s`.",a,o);var l=null!==(n=O(e))&&void 0!==n?n:null,u=null!==(i=O(t))&&void 0!==i?i:null;S(d(o)&&o!==R||l===u,"RelayModernRecord: Invalid record update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",a,b,l,u);var c=e[_],f=t[_],h=null;if(null==c&&null==f){var p;for(var v in t)!h&&I(e[v],t[v])||((h=null!==h?h:(0,s.default)({},e))[v]=t[v]);return null!==(p=h)&&void 0!==p?p:e}for(var g in t)if(g!==_){var m=t[g],y=null==f?void 0:f[g];if(null==h){var E=e[g],D=null==c?void 0:c[g];if(I(E,m)&&I(D,y))continue;h=(0,s.default)({},e),null!=c&&(h[_]=(0,s.default)({},c))}N(h,g,m),k(h,g,y)}return null!==(r=h)&&void 0!==r?r:e},getActorLinkedRecordID:function(e,t){var r=e[t];return null==r?r:(("object"!=typeof r||"string"!=typeof r[m]||null==r[p])&&D(!1,"RelayModernRecord.getActorLinkedRecordID(): Expected `%s.%s` to be an actor specific linked ID, was `%s`.",e[v],t,JSON.stringify(r)),[r[p],r[m]])},setActorLinkedRecordID:function(e,t,r,n){var i={};i[m]=n,i[p]=r,e[t]=i},getResolverLinkedRecordID:function(e,t){var r=T(e,E);return null==r||f(r)?null:("object"==typeof r&&(r=r.id),"string"!=typeof r&&D(!1,"RelayModernRecord.getResolverLinkedRecordID(): Expected value to be a linked ID, was `%s`.",JSON.stringify(r)),c(t,r))},getResolverLinkedRecordIDs:function(e,t){var r=T(e,E);return null==r||f(r)?null:(Array.isArray(r)||D(!1,"RelayModernRecord.getResolverLinkedRecordIDs(): Expected value to be an array of linked IDs, was `%s`.",JSON.stringify(r)),r.map((function(e){return null==e?null:("object"==typeof e&&(e=e.id),"string"!=typeof e&&D(!1,"RelayModernRecord.getResolverLinkedRecordIDs(): Expected item within resolver linked field to be a DataID, was `%s`.",JSON.stringify(e)),c(t,e))})))},toJSON:function(e){return e}}},6256:(e,t,r)=>{var n=r(129).getFragmentVariables,i=r(5165),a=i.CLIENT_EDGE_TRAVERSAL_PATH,o=i.FRAGMENT_OWNER_KEY,s=i.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,l=i.FRAGMENTS_KEY,u=i.ID_KEY,c=r(9125),d=r(5056),f=r(4446);function h(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[u],i=t[l],c=t[o],h=t[a];if("string"==typeof r&&"object"==typeof i&&null!==i&&"object"==typeof i[e.name]&&null!==i[e.name]&&"object"==typeof c&&null!==c&&(null==h||Array.isArray(h))){var p=c,_=h,v=i[e.name];return b(e,r,n(e,p.variables,v),p,!0===v[s],_)}var g=JSON.stringify(t);return g.length>499&&(g=g.substr(0,498)+"…"),f(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`.",e.name,g,e.name),null}function p(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?h(e,t):null;null!=i&&(r=r||[]).push(i)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function _(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),p(e,t)):(Array.isArray(t)&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),h(e,t))}function v(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),function(e,t){var r=null;return t.forEach((function(t){var n=null!=t?g(e,t):null;null!=n&&(r=r||[]).push(n)})),r}(e,t)):(Array.isArray(t)&&d(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),g(e,t))}function g(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t));var r=t[u];return"string"==typeof r?r:(f(!1,"RelayModernSelector: Expected object to contain data for fragment `%s`, got `%s`. Make sure that the parent operation/fragment included fragment `...%s` without `@relay(mask: false)`, or `null` is passed as the fragment reference for `%s` if it's conditonally included and the condition isn't met.",e.name,JSON.stringify(t),e.name,e.name),null)}function m(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||d(!1,"RelayModernSelector: Expected value for fragment `%s` to be an array, got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,JSON.stringify(t),e.name),E(e,t)):(Array.isArray(t)&&d(!1,"RelayModernFragmentSpecResolver: Expected value for fragment `%s` to be an object, got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array of items.",e.name,JSON.stringify(t),e.name),y(e,t)||{})}function y(e,t){var r=h(e,t);return r?r.variables:null}function E(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=y(e,t);null!=i&&Object.assign(r,i)}})),r}function R(e,t){return e.dataID===t.dataID&&e.node===t.node&&c(e.variables,t.variables)&&((r=e.owner)===(n=t.owner)||r.identifier===n.identifier&&c(r.cacheConfig,n.cacheConfig))&&e.isWithinUnmatchedTypeRefinement===t.isWithinUnmatchedTypeRefinement&&function(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(var r=e.length;r--;){var n=e[r],i=t[r];if(n!==i&&(null==n||null==i||n.clientEdgeDestinationID!==i.clientEdgeDestinationID||n.readerClientEdge!==i.readerClientEdge))return!1}return!0}(e.clientEdgeTraversalPath,t.clientEdgeTraversalPath);var r,n}function b(e,t,r,n){var i=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:arguments.length>4&&void 0!==arguments[4]&&arguments[4],clientEdgeTraversalPath:null!=i?i:null,node:e,variables:r,owner:n}}e.exports={areEqualSelectors:function(e,t){return e===t||(null==e?null==t:null==t?null==e:"SingularReaderSelector"===e.kind&&"SingularReaderSelector"===t.kind?R(e,t):"PluralReaderSelector"===e.kind&&"PluralReaderSelector"===t.kind&&e.selectors.length===t.selectors.length&&e.selectors.every((function(e,r){return R(e,t.selectors[r])})))},createReaderSelector:b,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:v,getDataIDsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=v(i,a)}return r},getSingularSelector:h,getPluralSelector:p,getSelector:_,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],a=t[n];r[n]=_(i,a)}return r},getVariablesFromSingularFragment:y,getVariablesFromPluralFragment:E,getVariablesFromFragment:m,getVariablesFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=m(e[n],t[n]);Object.assign(r,i)}return r}}},4945:(e,t,r)=>{var n=r(5275).default,i=n(r(5765)),a=n(r(311)),o=r(5568),s=o.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,l=o.assertInternalActorIdentifier,u=r(2729),c=r(6770),d=r(3641),f=r(847),h=r(5053),p=r(7105),_=r(9853),v=r(6973),g=r(1563),m=r(4731),y=r(5165),E=r(5165),R=E.ROOT_ID,b=E.ROOT_TYPE,I=r(4537).RecordResolverCache,D=r(5056),S=function(){function e(e,t){var r,n,i,o,s,l=this;(0,a.default)(this,"_gcStep",(function(){l._gcRun&&(l._gcRun.next().done?l._gcRun=null:l._gcScheduler(l._gcStep))}));for(var u=e.getRecordIDs(),c=0;c<u.length;c++){var f=e.get(u[c]);f&&p.freeze(f)}this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:10,this._gcRun=null,this._gcScheduler=null!==(n=null==t?void 0:t.gcScheduler)&&void 0!==n?n:d,this._getDataID=null!==(i=null==t?void 0:t.getDataID)&&void 0!==i?i:h,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=null!==(o=null==t?void 0:t.log)&&void 0!==o?o:null,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(s=null==t?void 0:t.operationLoader)&&void 0!==s?s:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new I((function(){return l._getMutableRecordSource()})),this._storeSubscriptions=new m(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=p.create(R,b);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,u=this._getMutableRecordSource(),c=this._globalInvalidationEpoch,d=this._roots.get(e.request.identifier),h=null!=d?d.epoch:null;if(null!=c&&(null==h||h<=c))return{status:"stale"};var p=null!==(r=null==t?void 0:t.handlers)&&void 0!==r?r:[],_=null!==(n=null==t?void 0:t.getSourceForActor)&&void 0!==n?n:function(e){return l(e),u},v=null!==(i=null==t?void 0:t.getTargetForActor)&&void 0!==i?i:function(e){return l(e),u};return function(e,t,r,n){var i=e.mostRecentlyInvalidatedAt,a=e.status;return"number"==typeof i&&(null==t||i>t)?{status:"stale"}:"missing"===a?{status:"missing"}:null!=r&&null!=n&&r<=Date.now()-n?{status:"stale"}:{status:"available",fetchTime:null!=r?r:null}}(f.check(_,v,null!==(a=null==t?void 0:t.defaultActorIdentifier)&&void 0!==a?a:s,o,p,this._operationLoader,this._getDataID,this._shouldProcessClientComponents),h,null==d?void 0:d.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,r=e.request.identifier,n=!1,i=this._roots.get(r);return null!=i?(0===i.refCount&&(this._releaseBuffer=this._releaseBuffer.filter((function(e){return e!==r}))),i.refCount+=1):this._roots.set(r,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!n){n=!0;var e=t._roots.get(r);if(null!=e&&(e.refCount--,0===e.refCount)){var i=t._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=i&&e.fetchTime<=Date.now()-i)t._roots.delete(r),t.scheduleGC();else if(t._releaseBuffer.push(r),t._releaseBuffer.length>t._gcReleaseBufferSize){var a=t._releaseBuffer.shift();t._roots.delete(a),t.scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource(),r=v.read(t,e,this._resolverCache);return u(r),r},t.notify=function(e,t){var r=this,n=this.__log;null!=n&&n({name:"store.notify.start",sourceOperation:e}),this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch),c.ENABLE_RELAY_RESOLVERS&&this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var i=this.getSource(),a=[];if(this._storeSubscriptions.updateSubscriptions(i,this._updatedRecordIDs,a,e),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),null!=n&&n({name:"store.notify.complete",sourceOperation:e,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),null!=e){var o=e.request.identifier,s=this._roots.get(o);if(null!=s)s.epoch=this._currentWriteEpoch,s.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var l={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(o),this._roots.set(o,l)}}return a},t.publish=function(e,t){var r=this._getMutableRecordSource();!function(e,t,r,n,i,a){n&&n.forEach((function(n){var i,o=e.get(n),s=t.get(n);null!==s&&(i=null!=o?p.clone(o):null!=s?p.clone(s):null)&&(p.setValue(i,y.INVALIDATED_AT_KEY,r),a.add(n),e.set(n,i))}));for(var o=t.getRecordIDs(),s=0;s<o.length;s++){var l=o[s],u=t.get(l),c=e.get(l);if(u&&p.freeze(u),u&&c){var d=p.update(c,u);d!==c&&(p.freeze(d),i.add(l),e.set(l,d))}else null===u?(e.delete(l),null!==c&&i.add(l)):u&&(e.set(l,u),i.add(l))}}(r,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs);var n=this.__log;null!=n&&n({name:"store.publish",source:e,optimistic:r===this._optimisticSource})},t.subscribe=function(e,t){return this._storeSubscriptions.subscribe(e,t)},t.holdGC=function(){var e=this;return this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++,{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e.scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return"RelayModernStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(e){var t=this,r=new Map;return e.forEach((function(e){var n,i=t.getSource().get(e);r.set(e,null!==(n=p.getInvalidationEpoch(i))&&void 0!==n?n:null)})),r.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:r}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,r=e.invalidations;if(t.get("global")!==r.get("global"))return!0;var n,a=(0,i.default)(e.dataIDs);try{for(a.s();!(n=a.n()).done;){var o=n.value;if(t.get(o)!==r.get(o))return!0}}catch(e){a.e(e)}finally{a.f()}return!1},t.subscribeToInvalidationState=function(e,t){var r=this,n={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(n),{dispose:function(){r._invalidationSubscriptions.delete(n)}}},t._updateInvalidationSubscription=function(e,t){var r=this,n=e.callback,i=e.invalidationState.dataIDs;(t||i.some((function(e){return r._invalidatedRecordIDs.has(e)})))&&n()},t.snapshot=function(){null!=this._optimisticSource&&D(!1,"RelayModernStore: Unexpected call to snapshot() while a previous snapshot exists.");var e=this.__log;null!=e&&e({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=_.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&D(!1,"RelayModernStore: Unexpected call to restore(), expected a snapshot to exist (make sure to call snapshot()).");var e=this.__log;null!=e&&e({name:"store.restore"}),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions()},t.scheduleGC=function(){this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(null==this._optimisticSource)for(var e=this._collect();!e.next().done;);},t._collect=function*(){e:for(;;){var e,t=this._currentWriteEpoch,r=new Set,n=(0,i.default)(this._roots.values());try{for(n.s();!(e=n.n()).done;){var a=e.value.operation.root;if(g.mark(this._recordSource,a,r,this._operationLoader,this._shouldProcessClientComponents),yield,t!==this._currentWriteEpoch)continue e}}catch(e){n.e(e)}finally{n.f()}var o=this.__log;if(null!=o&&o({name:"store.gc",references:r}),0===r.size)this._recordSource.clear();else for(var s=this._recordSource.getRecordIDs(),l=0;l<s.length;l++){var u=s[l];r.has(u)||this._recordSource.remove(u)}return}},e}();e.exports=S},371:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(5056),a=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPendingPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var r,i=e.identifier,a=new Set,o=(0,n.default)(t);try{for(o.s();!(r=o.n()).done;){var s=r.value.identifier,l=this._ownersToPendingOperations.get(s);null!=l?l.has(i)||(l.set(i,e),a.add(s)):(this._ownersToPendingOperations.set(s,new Map([[i,e]])),a.add(s))}}catch(e){o.e(e)}finally{o.f()}if(0!==a.size){var u,c=this._pendingOperationsToOwners.get(i)||new Set,d=(0,n.default)(a);try{for(d.s();!(u=d.n()).done;){var f=u.value;this._resolveOwnerResolvers(f),c.add(f)}}catch(e){d.e(e)}finally{d.f()}this._pendingOperationsToOwners.set(i,c)}}},t.complete=function(e){var t=e.identifier,r=this._pendingOperationsToOwners.get(t);if(null!=r){var i,a=new Set,o=new Set,s=(0,n.default)(r);try{for(s.s();!(i=s.n()).done;){var l=i.value,u=this._ownersToPendingOperations.get(l);u&&(u.delete(t),u.size>0?o.add(l):a.add(l))}}catch(e){s.e(e)}finally{s.f()}var c,d=(0,n.default)(a);try{for(d.s();!(c=d.n()).done;){var f=c.value;this._resolveOwnerResolvers(f),this._ownersToPendingOperations.delete(f)}}catch(e){d.e(e)}finally{d.f()}var h,p=(0,n.default)(o);try{for(p.s();!(h=p.n()).done;){var _=h.value;this._resolveOwnerResolvers(_)}}catch(e){p.e(e)}finally{p.f()}this._pendingOperationsToOwners.delete(t)}},t._resolveOwnerResolvers=function(e){var t=this._ownersToPendingPromise.get(e);null!=t&&t.resolve(),this._ownersToPendingPromise.delete(e)},t.getPendingOperationsAffectingOwner=function(e){var t=e.identifier,r=this._ownersToPendingOperations.get(t);if(null==r||0===r.size)return null;var n,a=this._ownersToPendingPromise.get(t);if(null!=a)return{promise:a.promise,pendingOperations:a.pendingOperations};var o=new Promise((function(e){n=e}));null==n&&i(!1,"RelayOperationTracker: Expected resolver to be defined. If youare seeing this, it is likely a bug in Relay.");var s=Array.from(r.values());return this._ownersToPendingPromise.set(t,{promise:o,resolve:n,pendingOperations:s}),{promise:o,pendingOperations:s}},e}();e.exports=a},9853:(e,t,r)=>{var n=(0,r(5275).default)(r(6175)),i=r(7105),a=r(6938),o=r(5056),s=i.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),l=function(){function e(e){this._base=e,this._sink=a.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=a.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]=i.toJSON(n)})),t},t.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e}();e.exports={create:function(e){return new l(e)},getOptimisticRecordIDs:function(e){return e instanceof l||o(!1,"getOptimisticRecordIDs: Instance of RelayOptimisticRecordSource is expected"),e.getOptimisticRecordIDs()}}},1215:(e,t,r)=>{var n,i,a=r(4503),o=r(3838),s=r(6959),l=r(6973),u=r(6938),c=r(5056),d=r(4446),f=void 0!==r.g?r.g:"undefined"!=typeof window?window:void 0,h=null!==(n=null==f||null===(i=f.ErrorUtils)||void 0===i?void 0:i.applyWithGuard)&&void 0!==n?n:function(e,t,r,n,i){return e.apply(t,r)},p=function(){function e(e,t,r,n){this._hasStoreSnapshot=!1,this._handlerProvider=t||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=r,this._missingFieldHandlers=n}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1,"RelayPublishQueue: Cannot apply the same update function more than once concurrently."),this._pendingOptimisticUpdates.add(e)},t.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(e,t,r){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:t,updater:r})},t.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},t.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},t.run=function(e){var t=0===this._appliedOptimisticUpdates&&!!this._gcHold,r=!this._pendingBackupRebase&&0===this._pendingOptimisticUpdates.size&&!t;if(d(!r,"RelayPublishQueue.run was called, but the call would have been a noop."),d(!0!==this._isRunning,"A store update was detected within another store update. Please make sure new store updates aren't being executed within an updater function for a different update."),this._isRunning=!0,r)return this._isRunning=!1,[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var n=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._isRunning=!1,this._store.notify(e,n)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,l=r.source,u=r.fieldPayloads,d=new a(this._store.getSource(),l),f=new o(d,this._getDataID,this._handlerProvider,this._missingFieldHandlers);if(u&&u.length&&u.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||c(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",e.handle),r.update(f,e)})),i){var h=n.fragment;null==h&&c(!1,"RelayModernEnvironment: Expected a selector to be provided with updater function."),i(new s(d,f,h,this._missingFieldHandlers),_(l,h))}var p=f.getIDsMarkedForInvalidation();return this._store.publish(l,p),f.isStoreMarkedForInvalidation()},t._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var t=!1;return this._pendingData.forEach((function(r){if("payload"===r.kind){var n=e._publishSourceFromPayload(r);t=t||n}else if("source"===r.kind){var i=r.source;e._store.publish(i)}else{var s=r.updater,l=u.create(),c=new a(e._store.getSource(),l),d=new o(c,e._getDataID,e._handlerProvider,e._missingFieldHandlers);h(s,null,[d],null,"RelayPublishQueue:commitData"),t=t||d.isStoreMarkedForInvalidation();var f=d.getIDsMarkedForInvalidation();e._store.publish(l,f)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=u.create(),r=new a(this._store.getSource(),t),n=new o(r,this._getDataID,this._handlerProvider,this._missingFieldHandlers),i=function(t){if(t.storeUpdater){var i=t.storeUpdater;h(i,null,[n],null,"RelayPublishQueue:applyUpdates")}else{var a=t.operation,o=t.payload,l=t.updater,u=o.source,c=o.fieldPayloads;if(u&&n.publishSource(u,c),l){var d;u&&(d=_(u,a.fragment));var f=new s(r,n,a.fragment,e._missingFieldHandlers);h(l,null,[f,d],null,"RelayPublishQueue:applyUpdates")}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(i),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach((function(t){i(t),e._appliedOptimisticUpdates.add(t)})),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}();function _(e,t){var n=l.read(e,t).data,i=r(2729);return n&&i(n),n}e.exports=p},6973:(e,t,r)=>{var n=r(5275).default,i=n(r(311)),a=n(r(5765)),o=n(r(642)),s=r(3775),l=s.ACTOR_CHANGE,u=s.ALIASED_FRAGMENT_SPREAD,c=s.ALIASED_INLINE_FRAGMENT_SPREAD,d=s.CATCH_FIELD,f=s.CLIENT_EDGE_TO_CLIENT_OBJECT,h=s.CLIENT_EDGE_TO_SERVER_OBJECT,p=s.CLIENT_EXTENSION,_=s.CONDITION,v=s.DEFER,g=s.FRAGMENT_SPREAD,m=s.INLINE_DATA_FRAGMENT_SPREAD,y=s.INLINE_FRAGMENT,E=s.LINKED_FIELD,R=s.MODULE_IMPORT,b=s.RELAY_LIVE_RESOLVER,I=s.RELAY_RESOLVER,D=s.REQUIRED_FIELD,S=s.SCALAR_FIELD,A=s.STREAM,O=r(6770),T=r(5046).isSuspenseSentinel,k=r(129),N=r(7105),F=r(5165),L=F.CLIENT_EDGE_TRAVERSAL_PATH,x=F.FRAGMENT_OWNER_KEY,P=F.FRAGMENT_PROP_NAME_KEY,C=F.FRAGMENTS_KEY,w=F.ID_KEY,M=F.MODULE_COMPONENT_KEY,V=F.ROOT_ID,U=F.getArgumentValues,j=F.getModuleComponentKey,q=F.getStorageKey,K=r(4537).NoopResolverCache,G=r(890),H=G.RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL,Y=G.withResolverContext,z=r(975).generateTypeID,B=r(5056);function Q(e,t,r){return new W(e,t,null!=r?r:new K).read()}var W=function(){function e(e,t,r){var n;this._clientEdgeTraversalPath=null!==(n=t.clientEdgeTraversalPath)&&void 0!==n&&n.length?(0,o.default)(t.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._missingRequiredFields=null,this._errorResponseFields=null,this._owner=t.owner,this._recordSource=e,this._seenRecords=new Set,this._selector=t,this._variables=t.variables,this._resolverCache=r,this._resolverErrors=[],this._fragmentName=t.node.name,this._updatedDataIDs=new Set}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID,n=e.isWithinUnmatchedTypeRefinement,i=t.abstractKey,a=this._recordSource.get(r),o=!n;if(o&&null==i&&null!=a&&N.getType(a)!==t.type&&r!==V&&(o=!1),o&&null!=i&&null!=a){var s=this._implementsInterface(a,i);!1===s?o=!1:null==s&&(this._isMissingData=!0)}this._isWithinUnmatchedTypeRefinement=!o;var l=this._traverse(t,r,null);return this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:l,isMissingData:this._isMissingData&&o,missingClientEdges:this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,missingRequiredFields:this._missingRequiredFields,relayResolverErrors:this._resolverErrors,errorResponseFields:this._errorResponseFields}},t._maybeAddErrorResponseFields=function(e,t){if(O.ENABLE_FIELD_ERROR_HANDLING){var r=N.getErrors(e,t);if(null!=r){var n=this._fragmentName;null==this._errorResponseFields&&(this._errorResponseFields=[]);var i,o=(0,a.default)(r);try{for(o.s();!(i=o.n()).done;){var s,l=i.value;this._errorResponseFields.push({owner:n,path:(null!==(s=l.path)&&void 0!==s?s:[]).join("."),error:l})}}catch(e){o.e(e)}finally{o.f()}}}},t._markDataAsMissing=function(){if(this._isMissingData=!0,this._clientEdgeTraversalPath.length){var e=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];null!==e&&this._missingClientEdges.push({request:e.readerClientEdge.operation,clientEdgeDestinationID:e.clientEdgeDestinationID})}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords.add(t),null==n)return void 0===n&&this._markDataAsMissing(),n;var i=r||{};return this._traverseSelections(e.selections,n,i)?i:null},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||B(!1,"RelayReader(): Undefined variable `%s`.",e),this._variables[e]},t._maybeReportUnexpectedNull=function(e,t){var r;if("THROW"!==(null===(r=this._missingRequiredFields)||void 0===r?void 0:r.action)){var n=this._fragmentName;switch(t){case"THROW":return void(this._missingRequiredFields={action:t,field:{path:e,owner:n}});case"LOG":return void(null==this._missingRequiredFields?this._missingRequiredFields={action:t,fields:[{path:e,owner:n}]}:this._missingRequiredFields={action:t,fields:[].concat((0,o.default)(this._missingRequiredFields.fields),[{path:e,owner:n}])})}}},t._handleCatchFieldValue=function(e,t,r,n){var i,a,o,s,l=e.to,u=null!==(i=null===(a=e.field)||void 0===a?void 0:a.backingField)&&void 0!==i?i:e.field,c=null!==(o=null==u?void 0:u.alias)&&void 0!==o?o:null==u?void 0:u.name;if(null==c&&B(!1,"Couldn't determine field name for this field. It might be a ReaderClientExtension - which is not yet supported."),null!=this._errorResponseFields)for(var d=0;d<this._errorResponseFields.length;d++)this._errorResponseFields[d].to=l;if("THROW"===(null===(s=this._missingRequiredFields)||void 0===s?void 0:s.action)){var f;if(null==(null===(f=this._missingRequiredFields)||void 0===f?void 0:f.field))return;null==this._errorResponseFields&&(this._errorResponseFields=[]);var h=this._missingRequiredFields.field,p=h.owner,_=h.path;return this._errorResponseFields.push({owner:p,path:_,error:{message:"Relay: Missing @required value at path '".concat(_,"' in '").concat(p,"'.")},to:l}),void(this._missingRequiredFields=null)}if(null==this._errorResponseFields)r[c]={ok:!0,value:n};else{var v=this._errorResponseFields.map((function(e){return e.error}));r[c]={ok:!1,errors:v}}},t._handleRequiredFieldValue=function(e,t){if(null==t){var r=e.action;return"NONE"!==r&&this._maybeReportUnexpectedNull(e.path,r),!1}return!0},t._traverseSelections=function(e,t,r){for(var n=0;n<e.length;n++){var i=e[n];switch(i.kind){case D:var a=this._readClientSideDirectiveField(i,t,r);if(!this._handleRequiredFieldValue(i,a))return!1;break;case d:var o=this._readClientSideDirectiveField(i,t,r);O.ENABLE_FIELD_ERROR_HANDLING_CATCH_DIRECTIVE&&"NULL"!=i.to&&this._handleCatchFieldValue(i,t,r,o);break;case S:this._readScalar(i,t,r);break;case E:i.plural?this._readPluralLink(i,t,r):this._readLink(i,t,r);break;case _:if(Boolean(this._getVariableValue(i.condition))===i.passingValue&&!this._traverseSelections(i.selections,t,r))return!1;break;case y:if(!1===this._readInlineFragment(i,t,r))return!1;break;case b:case I:if(!O.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");this._readResolverField(i,t,r);break;case g:this._createFragmentPointer(i,t,r);break;case u:r[i.name]=this._createAliasedFragmentSpread(i,t);break;case c:var s=this._readInlineFragment(i.fragment,t,{});!1===s&&(s=null),r[i.name]=s;break;case R:this._readModuleImport(i,t,r);break;case m:this._createInlineDataOrResolverFragmentPointer(i,t,r);break;case v:case p:var T=this._isMissingData,k=this._missingClientEdges.length;this._clientEdgeTraversalPath.push(null);var N=this._traverseSelections(i.selections,t,r);if(this._isMissingData=T||this._missingClientEdges.length>k||this._missingLiveResolverFields.length>0,this._clientEdgeTraversalPath.pop(),!N)return!1;break;case A:if(!this._traverseSelections(i.selections,t,r))return!1;break;case l:this._readActorChange(i,t,r);break;case f:case h:this._readClientEdge(i,t,r);break;default:B(!1,"RelayReader(): Unexpected ast kind `%s`.",i.kind)}}return!0},t._readClientSideDirectiveField=function(e,t,r){switch(e.field.kind){case S:return this._readScalar(e.field,t,r);case E:return e.field.plural?this._readPluralLink(e.field,t,r):this._readLink(e.field,t,r);case I:case b:if(!O.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readResolverField(e.field,t,r);case f:case h:if(!O.ENABLE_RELAY_RESOLVERS)throw new Error("Relay Resolver fields are not yet supported.");return this._readClientEdge(e.field,t,r);default:e.field.kind,B(!1,"RelayReader(): Unexpected ast kind `%s`.",e.kind)}},t._readResolverField=function(e,t,r){var n,i=N.getDataID(t),a=this._readResolverFieldImpl(e,i);return r[null!==(n=e.alias)&&void 0!==n?n:e.name]=a,a},t._readResolverFieldImpl=function(e,t){var r,n=this,a=e.fragment,o=function(e){return null!=r?{data:r.data,isMissingData:r.isMissingData}:{data:(r=Q(n._recordSource,e,n._resolverCache)).data,isMissingData:r.isMissingData}},s=this._resolverCache.readFromCacheOrEvaluate(t,e,this._variables,(function(){if(null!=a){var s={__id:t,__fragmentOwner:n._owner,__fragments:(0,i.default)({},a.name,a.args?U(a.args,n._variables):{})};return Y({getDataForResolverFragment:o},(function(){var t=J(e,n._variables,s),i=t[0],a=t[1];return{resolverResult:i,snapshot:r,error:a}}))}var l=J(e,n._variables,null);return{resolverResult:l[0],snapshot:void 0,error:l[1]}}),o),l=s[0],u=s[1],c=s[2],d=s[3],f=s[4],h=s[5];return this._propogateResolverMetadata(e.path,d,c,u,f,h),l},t._propogateResolverMetadata=function(e,t,r,n,i,o){if(null!=t){if(null!=t.missingRequiredFields&&this._addMissingRequiredFields(t.missingRequiredFields),null!=t.missingClientEdges){var s,l=(0,a.default)(t.missingClientEdges);try{for(l.s();!(s=l.n()).done;){var u=s.value;this._missingClientEdges.push(u)}}catch(e){l.e(e)}finally{l.f()}}if(null!=t.missingLiveResolverFields){this._isMissingData=this._isMissingData||t.missingLiveResolverFields.length>0;var c,d=(0,a.default)(t.missingLiveResolverFields);try{for(d.s();!(c=d.n()).done;){var f=c.value;this._missingLiveResolverFields.push(f)}}catch(e){d.e(e)}finally{d.f()}}var h,p=(0,a.default)(t.relayResolverErrors);try{for(p.s();!(h=p.n()).done;){var _=h.value;this._resolverErrors.push(_)}}catch(e){p.e(e)}finally{p.f()}this._isMissingData=this._isMissingData||t.isMissingData}if(r&&this._resolverErrors.push({field:{path:e,owner:this._fragmentName},error:r}),null!=n&&this._seenRecords.add(n),null!=i&&(this._isMissingData=!0,this._missingLiveResolverFields.push({path:"".concat(this._fragmentName,".").concat(e),liveStateID:i})),null!=o){var v,g=(0,a.default)(o);try{for(g.s();!(v=g.n()).done;){var m=v.value;this._updatedDataIDs.add(m)}}catch(e){g.e(e)}finally{g.f()}}},t._readClientEdge=function(e,t,r){var n,i=this,a=e.backingField;"ClientExtension"===a.kind&&B(!1,"Client extension client edges are not yet implemented.");var o=null!==(n=a.alias)&&void 0!==n?n:a.name,s={};this._traverseSelections([a],t,s);var l=s[o];if(null==l||T(l))return r[o]=l,l;if(e.linkedField.plural){var u;Array.isArray(l)||B(!1,"Expected plural Client Edge Relay Resolver to return an array containing IDs or objects with shape {id}."),e.kind!==f&&B(!1,"Unexpected Client Edge to plural server type. This should be prevented by the compiler."),u=null==e.backingField.normalizationInfo?l.map((function(t){var r,n=null!==(r=e.concreteType)&&void 0!==r?r:t.__typename;"string"!=typeof n&&B(!1,"Expected resolver modeling an edge to an abstract type to return an object with a `__typename` property.");var a=X(t),o=i._resolverCache.ensureClientRecord(a,n),s=e.modelResolvers;if(null!=s){var l=s[n];return void 0===l&&B(!1,"Invalid `__typename` returned by resolver. Expected one of ".concat(Object.keys(s).join(", ")," but got `").concat(n,"`.")),null!=i._readResolverFieldImpl(l,o)?o:null}return o})):l.map(X),this._clientEdgeTraversalPath.push(null);var c=this._readLinkedIds(e.linkedField,u,t,r);return this._clientEdgeTraversalPath.pop(),r[o]=c,c}var d,h,p,_=X(l),v=null!==(d=e.concreteType)&&void 0!==d?d:l.__typename;e.kind===f?null==e.backingField.normalizationInfo?("string"!=typeof v&&B(!1,"Expected resolver modeling an edge to an abstract type to return an object with a `__typename` property."),h=this._resolverCache.ensureClientRecord(_,v),p=null):(h=_,p=null):(h=_,p={readerClientEdge:e,clientEdgeDestinationID:_});var g=e.modelResolvers;if(null!=g){"string"!=typeof v&&B(!1,"Expected resolver modeling an edge to an abstract type to return an object with a `__typename` property.");var m=g[v];if(void 0===m&&B(!1,"Invalid `__typename` returned by resolver. Expected one of ".concat(Object.keys(g).join(", ")," but got `").concat(v,"`.")),null==this._readResolverFieldImpl(m,h))return r[o]=null,null}this._clientEdgeTraversalPath.push(p);var y=r[o];null!=y&&"object"!=typeof y&&B(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",o,N.getDataID(t),y);var E=this._traverse(e.linkedField,h,y);return this._clientEdgeTraversalPath.pop(),r[o]=E,E},t._readScalar=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=q(e,this._variables),o=N.getValue(t,a);return null===o?this._maybeAddErrorResponseFields(t,a):void 0===o&&this._markDataAsMissing(),r[i]=o,o},t._readLink=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=q(e,this._variables),o=N.getLinkedRecordID(t,a);if(null==o)return r[i]=o,null===o?this._maybeAddErrorResponseFields(t,a):void 0===o&&this._markDataAsMissing(),o;var s=r[i];null!=s&&"object"!=typeof s&&B(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",i,N.getDataID(t),s);var l=this._traverse(e,o,s);return r[i]=l,l},t._readActorChange=function(e,t,r){var n,i=null!==(n=e.alias)&&void 0!==n?n:e.name,a=q(e,this._variables),o=N.getActorLinkedRecordID(t,a);if(null==o)return r[i]=o,void 0===o?this._markDataAsMissing():null===o&&this._maybeAddErrorResponseFields(t,a),r[i];var s=o[0],l=o[1],u={};return this._createFragmentPointer(e.fragmentSpread,N.fromObject({__id:l}),u),r[i]={__fragmentRef:u,__viewer:s},r[i]},t._readPluralLink=function(e,t,r){var n=q(e,this._variables),i=N.getLinkedRecordIDs(t,n);return null===i&&this._maybeAddErrorResponseFields(t,n),this._readLinkedIds(e,i,t,r)},t._readLinkedIds=function(e,t,r,n){var i,a=this,o=null!==(i=e.alias)&&void 0!==i?i:e.name;if(null==t)return n[o]=t,void 0===t&&this._markDataAsMissing(),t;var s=n[o];null==s||Array.isArray(s)||B(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an array, got `%s`.",o,N.getDataID(r),s);var l=s||[];return t.forEach((function(t,n){if(null==t)return void 0===t&&a._markDataAsMissing(),void(l[n]=t);var i=l[n];null!=i&&"object"!=typeof i&&B(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",o,N.getDataID(r),i),l[n]=a._traverse(e,t,i)})),n[o]=l,l},t._readModuleImport=function(e,t,r){var n=j(e.documentName),i=N.getValue(t,n);null!=i?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:e.args},t,r),r[P]=e.fragmentPropName,r[M]=i):void 0===i&&this._markDataAsMissing()},t._createAliasedFragmentSpread=function(e,t){var r=e.abstractKey;if(null==r){var n=N.getType(t);if(null==n||n!==e.type)return null}else{var i=this._implementsInterface(t,r);if(!1===i)return null;if(null==i)return void this._markDataAsMissing()}var a={};return this._createFragmentPointer(e.fragment,t,a),N.fromObject(a)},t._readInlineFragment=function(e,t,r){if(null==e.type)return!1!==this._traverseSelections(e.selections,t,r)&&r;var n=e.abstractKey;if(null==n){var i=N.getType(t);if(null==i||i!==e.type)return null;if(!this._traverseSelections(e.selections,t,r))return!1}else{var a=this._implementsInterface(t,n),o=this._isMissingData,s=this._isWithinUnmatchedTypeRefinement;if(this._isWithinUnmatchedTypeRefinement=s||!1===a,this._traverseSelections(e.selections,t,r),this._isWithinUnmatchedTypeRefinement=s,!1===a)return void(this._isMissingData=o);if(null==a)return this._markDataAsMissing(),null}return r},t._createFragmentPointer=function(e,t,r){var n=r[C];null==n&&(n=r[C]={}),("object"!=typeof n||null==n)&&B(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",n),null==r[w]&&(r[w]=N.getDataID(t)),n[e.name]=U(e.args,this._variables,this._isWithinUnmatchedTypeRefinement),r[x]=this._owner,this._clientEdgeTraversalPath.length>0&&null!==this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]&&(r[L]=(0,o.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(e,t,r){var n=r[C];null==n&&(n=r[C]={}),("object"!=typeof n||null==n)&&B(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",n),null==r[w]&&(r[w]=N.getDataID(t));var i={},a=this._fragmentName;this._fragmentName=e.name;var o=this._variables,s=e.args?U(e.args,this._variables):{};this._variables=k.getFragmentVariables(e,this._owner.variables,s),this._traverseSelections(e.selections,t,i),this._variables=o,this._fragmentName=a,n[e.name]=i},t._addMissingRequiredFields=function(e){null!=this._missingRequiredFields?"THROW"!==this._missingRequiredFields.action&&("THROW"!==e.action?this._missingRequiredFields={action:"LOG",fields:[].concat((0,o.default)(this._missingRequiredFields.fields),(0,o.default)(e.fields))}:this._missingRequiredFields=e):this._missingRequiredFields=e},t._implementsInterface=function(e,t){var r=N.getType(e),n=this._recordSource.get(z(r));return null!=n?N.getValue(n,t):null},e}();function J(e,t,r){var n="function"==typeof e.resolverModule?e.resolverModule:e.resolverModule.default,i=null,a=null;try{var o=[];null!=e.fragment&&o.push(r);var s=e.args?U(e.args,t):void 0;o.push(s),i=n.apply(null,o)}catch(e){e===H?i=void 0:a=e}return[i,a]}function X(e){return"string"==typeof e?e:"object"==typeof e&&null!=e&&"string"==typeof e.id?e.id:void B(!1,"Expected object returned from an edge resolver to be a string or an object with an `id` property")}e.exports={read:Q}},6938:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(7105),a=r(7148),o=a.EXISTENT,s=a.NONEXISTENT,l=a.UNKNOWN,u=function(){function e(e){var t=this;this._records=new Map,null!=e&&Object.keys(e).forEach((function(r){var n=e[r],a=i.fromObject(n);t._records.set(r,a)}))}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:o:l},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e,t={},r=(0,n.default)(this._records);try{for(r.s();!(e=r.n()).done;){var a=e.value,o=a[0],s=a[1];t[o]=i.toJSON(s)}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=u},7148:e=>{e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},1563:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(2881),a=r(3775),o=r(4293),s=r(5288),l=r(129).getLocalVariables,u=r(7105),c=r(5165),d=r(975).generateTypeID,f=r(5056),h=a.ACTOR_CHANGE,p=a.CONDITION,_=a.CLIENT_COMPONENT,v=a.CLIENT_EXTENSION,g=a.DEFER,m=a.FRAGMENT_SPREAD,y=a.INLINE_FRAGMENT,E=a.LINKED_FIELD,R=a.MODULE_IMPORT,b=a.LINKED_HANDLE,I=a.SCALAR_FIELD,D=a.SCALAR_HANDLE,S=a.STREAM,A=a.TYPE_DISCRIMINATOR,O=a.RELAY_RESOLVER,T=a.RELAY_LIVE_RESOLVER,k=a.CLIENT_EDGE_TO_CLIENT_OBJECT,N=c.getStorageKey,F=c.getModuleOperationKey,L=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)||f(!1,"RelayReferenceMarker(): Undefined variable `%s`.",e),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case h:r._traverseLink(n.linkedField,t);break;case E: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 y:if(null==n.abstractKey){var i=u.getType(t);(null!=i&&i===n.type||i===c.ROOT_TYPE)&&r._traverseSelections(n.selections,t)}else{var a=u.getType(t),s=d(a);r._references.add(s),r._traverseSelections(n.selections,t)}break;case m:var N=r._variables;r._variables=l(r._variables,n.fragment.argumentDefinitions,n.args),r._traverseSelections(n.fragment.selections,t),r._variables=N;break;case b:var F=o(n,e,r._variables);F.plural?r._traversePluralLink(F,t):r._traverseLink(F,t);break;case g:case S:r._traverseSelections(n.selections,t);break;case I:case D:break;case A:var L=u.getType(t),x=d(L);r._references.add(x);break;case R:r._traverseModuleImport(n,t);break;case v:r._traverseSelections(n.selections,t);break;case _:if(!1===r._shouldProcessClientComponents)break;r._traverseSelections(n.fragment.selections,t);break;case O:case T:r._traverseResolverField(n,t);break;case k:r._traverseClientEdgeToClientObject(n,t);break;default:f(!1,"RelayReferenceMarker: Unknown AST node `%s`.",n)}}))},t._traverseClientEdgeToClientObject=function(e,t){var r=this._traverseResolverField(e.backingField,t);if(null!=r){var i=this._recordSource.get(r);if(null!=i)if(e.backingField.isOutputType){var a=s(i);if(null!=a){var o,l=(0,n.default)(a);try{for(l.s();!(o=l.n()).done;){var c=o.value;this._references.add(c)}}catch(e){l.e(e)}finally{l.f()}}}else{var d=e.linkedField,f=d.concreteType;if(null==f)return;if(d.plural){var h=u.getResolverLinkedRecordIDs(i,f);if(null!=h){var p,_=(0,n.default)(h);try{for(_.s();!(p=_.n()).done;){var v=p.value;null!=v&&this._traverse(d,v)}}catch(e){_.e(e)}finally{_.f()}}}else{var g=u.getResolverLinkedRecordID(i,f);null!=g&&this._traverse(d,g)}}}},t._traverseResolverField=function(e,t){var r=N(e,this._variables),n=u.getLinkedRecordID(t,r);null!=n&&this._references.add(n);var i=e.fragment;return null!=i&&this._traverseSelections([i],t),n},t._traverseModuleImport=function(e,t){var r,n=this._operationLoader;null===n&&f(!1,"RelayReferenceMarker: Expected an operationLoader to be configured when using `@module`. Could not load fragment `%s` in operation `%s`.",e.fragmentName,null!==(r=this._operationName)&&void 0!==r?r:"(unknown)");var a=F(e.documentName),o=u.getValue(t,a);if(null!=o){var s=n.get(o);if(null!=s){var c=i(s),d=this._variables;this._variables=l(this._variables,c.argumentDefinitions,e.args),this._traverseSelections(c.selections,t),this._variables=d}}},t._traverseLink=function(e,t){var r=N(e,this._variables),n=u.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=N(e,this._variables),i=u.getLinkedRecordIDs(t,n);null!=i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},e}();e.exports={mark:function(e,t,r,n,i){var a=t.dataID,o=t.node,s=t.variables;new L(e,s,r,n,i).mark(o,a)}}},5549:(e,t,r)=>{var n=r(5275).default,i=n(r(5765)),a=n(r(642)),o=r(9336),s=o.ACTOR_IDENTIFIER_FIELD_NAME,l=o.getActorIdentifierFromPayload,u=r(3775),c=u.ACTOR_CHANGE,d=u.CLIENT_COMPONENT,f=u.CLIENT_EDGE_TO_CLIENT_OBJECT,h=u.CLIENT_EXTENSION,p=u.CONDITION,_=u.DEFER,v=u.FRAGMENT_SPREAD,g=u.INLINE_FRAGMENT,m=u.LINKED_FIELD,y=u.LINKED_HANDLE,E=u.MODULE_IMPORT,R=u.RELAY_LIVE_RESOLVER,b=u.RELAY_RESOLVER,I=u.SCALAR_FIELD,D=u.SCALAR_HANDLE,S=u.STREAM,A=u.TYPE_DISCRIMINATOR,O=r(2997),T=O.generateClientID,k=O.isClientID,N=r(129).getLocalVariables,F=r(7288),L=F.buildErrorTrie,x=F.getErrorsByKey,P=F.getNestedErrorTrieByKey,C=r(7105),w=r(6256).createNormalizationSelector,M=r(5165),V=M.ROOT_ID,U=M.TYPENAME_KEY,j=M.getArgumentValues,q=M.getHandleStorageKey,K=M.getModuleComponentKey,G=M.getModuleOperationKey,H=M.getStorageKey,Y=r(975),z=Y.TYPE_SCHEMA_TYPE,B=Y.generateTypeID,Q=r(9125),W=r(5056),J=r(4446),X=function(){function e(e,t,r){this._actorIdentifier=r.actorIdentifier,this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._isUnmatchedAbstractType=!1,this._followupPayloads=[],this._path=r.path?(0,a.default)(r.path):[],this._recordSource=e,this._variables=t,this._shouldProcessClientComponents=r.shouldProcessClientComponents}var t=e.prototype;return t.normalizeResponse=function(e,t,r,n){var i=this._recordSource.get(t);return i||W(!1,"RelayResponseNormalizer(): Expected root record `%s` to exist.",t),this._assignClientAbstractTypes(e),this._errorTrie=L(n),this._traverseSelections(e,i,r),{errors:n,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._assignClientAbstractTypes=function(e){var t=e.clientAbstractTypes;if(null!=t)for(var r=0,n=Object.keys(t);r<n.length;r++){var a,o=n[r],s=(0,i.default)(t[o]);try{for(s.s();!(a=s.n()).done;){var l=a.value,u=B(l),c=this._recordSource.get(u);null==c&&(c=C.create(u,z),this._recordSource.set(u,c)),C.setValue(c,o,!0)}}catch(e){s.e(e)}finally{s.f()}}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||W(!1,"RelayResponseNormalizer(): Undefined variable `%s`.",e),this._variables[e]},t._getRecordType=function(e){var t=e[U];return null==t&&W(!1,"RelayResponseNormalizer(): Expected a typename for record `%s`.",JSON.stringify(e,null,2)),t},t._traverseSelections=function(e,t,r){for(var n=0;n<e.selections.length;n++){var i=e.selections[n];switch(i.kind){case I:case m:this._normalizeField(i,t,r);break;case p:Boolean(this._getVariableValue(i.condition))===i.passingValue&&this._traverseSelections(i,t,r);break;case v:var a=this._variables;this._variables=N(this._variables,i.fragment.argumentDefinitions,i.args),this._traverseSelections(i.fragment,t,r),this._variables=a;break;case g:var o=i.abstractKey;if(null==o)C.getType(t)===i.type&&this._traverseSelections(i,t,r);else{var s=r.hasOwnProperty(o),l=C.getType(t),u=B(l),O=this._recordSource.get(u);null==O&&(O=C.create(u,z),this._recordSource.set(u,O)),C.setValue(O,o,s),s&&this._traverseSelections(i,t,r)}break;case A:var T=i.abstractKey,k=r.hasOwnProperty(T),F=C.getType(t),L=B(F),x=this._recordSource.get(L);null==x&&(x=C.create(L,z),this._recordSource.set(L,x)),C.setValue(x,T,k);break;case y:case D:var P=i.args?j(i.args,this._variables):{},w=H(i,this._variables),M=q(i,this._variables);this._handleFieldPayloads.push({args:P,dataID:C.getDataID(t),fieldKey:w,handle:i.handle,handleKey:M,handleArgs:i.handleArgs?j(i.handleArgs,this._variables):{}});break;case E:this._normalizeModuleImport(i,t,r);break;case _:this._normalizeDefer(i,t,r);break;case S:this._normalizeStream(i,t,r);break;case h:var V=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(i,t,r),this._isClientExtension=V;break;case d:if(!1===this._shouldProcessClientComponents)break;this._traverseSelections(i.fragment,t,r);break;case c:this._normalizeActorChange(i,t,r);break;case b:case R:this._normalizeResolver(i,t,r);break;case f:this._normalizeResolver(i.backingField,t,r);break;default:W(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s`.",i.kind)}}},t._normalizeResolver=function(e,t,r){null!=e.fragment&&this._traverseSelections(e.fragment,t,r)},t._normalizeDefer=function(e,t,r){var n=null===e.if||this._getVariableValue(e.if);J("boolean"==typeof n,"RelayResponseNormalizer: Expected value for @defer `if` argument to be a boolean, got `%s`.",n),!1===n?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,a.default)(this._path),selector:w(e,C.getDataID(t),this._variables),typeName:C.getType(t),actorIdentifier:this._actorIdentifier})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r);var n=null===e.if||this._getVariableValue(e.if);J("boolean"==typeof n,"RelayResponseNormalizer: Expected value for @stream `if` argument to be a boolean, got `%s`.",n),!0===n&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,a.default)(this._path),parentID:C.getDataID(t),node:e,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(e,t,r){"object"==typeof r&&r||W(!1,"RelayResponseNormalizer: Expected data for @module to be an object.");var n=C.getType(t),i=K(e.documentName),o=e.componentModuleProvider||r[i];C.setValue(t,i,null!=o?o:null);var s=G(e.documentName),l=e.operationModuleProvider||r[s];C.setValue(t,s,null!=l?l:null),null!=l&&this._followupPayloads.push({kind:"ModuleImportPayload",args:e.args,data:r,dataID:C.getDataID(t),operationReference:l,path:(0,a.default)(this._path),typeName:n,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeField=function(e,t,r){"object"==typeof r&&r||W(!1,"writeField(): Expected data for field `%s` to be an object.",e.name);var n=e.alias||e.name,i=H(e,this._variables),a=r[n];if(null!=a)if(e.kind===I)this._validateConflictingFieldsWithIdenticalId(t,i,a),C.setValue(t,i,a);else if(e.kind===m){this._path.push(n);var o=this._errorTrie;this._errorTrie=null==o?null:P(o,n),e.plural?this._normalizePluralLink(e,t,i,a):this._normalizeLink(e,t,i,a),this._errorTrie=o,this._path.pop()}else W(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s` during normalization.",e.kind);else{if(void 0===a){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void J(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",n,i)}e.kind===I&&this._validateConflictingFieldsWithIdenticalId(t,i,null),C.setValue(t,i,null);var s=this._errorTrie;if(null!=s){var l=x(s,n);null!=l&&C.setErrors(t,i,l)}}},t._normalizeActorChange=function(e,t,r){var n,i=e.linkedField;"object"==typeof r&&r||W(!1,"_normalizeActorChange(): Expected data for field `%s` to be an object.",i.name);var o=i.alias||i.name,u=H(i,this._variables),c=r[o];if(null!=c){var d=l(c);if(null==d)return J(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s`. Check that you are parsing with the same query that was used to fetch the payload. Payload is `%s`.",s,JSON.stringify(c,null,2)),void C.setValue(t,u,null);var f=null!==(n=i.concreteType)&&void 0!==n?n:this._getRecordType(c),h=this._getDataId(c,f)||C.getLinkedRecordID(t,u)||T(C.getDataID(t),u);"string"!=typeof h&&W(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",u),C.setActorLinkedRecordID(t,u,d,h),this._followupPayloads.push({kind:"ActorPayload",data:c,dataID:h,path:[].concat((0,a.default)(this._path),[o]),typeName:f,variables:this._variables,node:i,actorIdentifier:d})}else{if(void 0===c){if(this._isClientExtension||this._isUnmatchedAbstractType)return;if(!this._treatMissingFieldsAsNull)return void J(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",o,u)}C.setValue(t,u,null)}},t._normalizeLink=function(e,t,r,n){var i;"object"==typeof n&&n||W(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an object.",r);var a=this._getDataId(n,null!==(i=e.concreteType)&&void 0!==i?i:this._getRecordType(n))||C.getLinkedRecordID(t,r)||T(C.getDataID(t),r);"string"!=typeof a&&W(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",r),this._validateConflictingLinkedFieldsWithIdenticalId(C.getLinkedRecordID(t,r),a,r),C.setLinkedRecordID(t,r,a);var o=this._recordSource.get(a);if(o)this._validateRecordType(o,e,n);else{var s=e.concreteType||this._getRecordType(n);o=C.create(a,s),this._recordSource.set(a,o)}this._traverseSelections(e,o,n)},t._normalizePluralLink=function(e,t,r,n){var i=this;Array.isArray(n)||W(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an array of objects.",r);var a=C.getLinkedRecordIDs(t,r),o=[];n.forEach((function(n,s){var l;if(null!=n){i._path.push(String(s));var u=i._errorTrie;i._errorTrie=null==u?null:P(u,s),"object"!=typeof n&&W(!1,"RelayResponseNormalizer: Expected elements for field `%s` to be objects.",r);var c=i._getDataId(n,null!==(l=e.concreteType)&&void 0!==l?l:i._getRecordType(n))||a&&a[s]||T(C.getDataID(t),r,s);"string"!=typeof c&&W(!1,"RelayResponseNormalizer: Expected id of elements of field `%s` to be strings.",r),o.push(c);var d=i._recordSource.get(c);if(d)i._validateRecordType(d,e,n);else{var f=e.concreteType||i._getRecordType(n);d=C.create(c,f),i._recordSource.set(c,d)}a&&i._validateConflictingLinkedFieldsWithIdenticalId(a[s],c,r),i._traverseSelections(e,d,n),i._errorTrie=u,i._path.pop()}else o.push(n)})),C.setLinkedRecordIDs(t,r,o)},t._validateRecordType=function(e,t,r){var n,i=null!==(n=t.concreteType)&&void 0!==n?n:this._getRecordType(r),a=C.getDataID(e);J(k(a)&&a!==V||C.getType(e)===i,"RelayResponseNormalizer: Invalid record `%s`. Expected %s to be consistent, but the record was assigned conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",a,U,C.getType(e),i)},t._validateConflictingFieldsWithIdenticalId=function(e,t,r){var n=C.getDataID(e),i=C.getValue(e,t);J(t===U||void 0===i||Q(i,r),"RelayResponseNormalizer: Invalid record. The record contains two instances of the same id: `%s` with conflicting field, %s and its values: %s and %s. If two fields are different but share the same id, one field will overwrite the other.",n,t,i,r)},t._validateConflictingLinkedFieldsWithIdenticalId=function(e,t,r){J(void 0===e||e===t,"RelayResponseNormalizer: Invalid record. The record contains references to the conflicting field, %s and its id values: %s and %s. We need to make sure that the record the field points to remains consistent or one field will overwrite the other.",r,e,t)},e}();e.exports={normalize:function(e,t,r,n,i){var a=t.dataID,o=t.node,s=t.variables;return new X(e,s,n).normalizeResponse(o,a,r,i)}}},4731:(e,t,r)=>{var n=r(2729),i=r(5748),a=r(6770),o=r(7629),s=r(8994),l=r(6973),u=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=l.read(e,n.selector,t._resolverCache),o=i(n.data,a.data);a.data=o,r.backup=a}else r.backup=r.snapshot}))},t.restoreSubscriptions=function(){this._subscriptions.forEach((function(e){var t=e.backup;e.backup=null,t?(t.data!==e.snapshot.data&&(e.stale=!0),e.snapshot={data:e.snapshot.data,isMissingData:t.isMissingData,missingClientEdges:t.missingClientEdges,missingLiveResolverFields:t.missingLiveResolverFields,seenRecords:t.seenRecords,selector:t.selector,missingRequiredFields:t.missingRequiredFields,relayResolverErrors:t.relayResolverErrors,errorResponseFields:t.errorResponseFields}):e.stale=!0}))},t.updateSubscriptions=function(e,t,r,n){var i=this,a=0!==t.size;this._subscriptions.forEach((function(o){var s=i._updateSubscription(e,o,t,a,n);null!=s&&r.push(s)}))},t._updateSubscription=function(e,t,r,u,c){var d=t.backup,f=t.callback,h=t.snapshot,p=t.stale,_=u&&o(h.seenRecords,r);if(p||_){var v=_||!d?l.read(e,h.selector,this._resolverCache):d;return v={data:i(h.data,v.data),isMissingData:v.isMissingData,missingClientEdges:v.missingClientEdges,missingLiveResolverFields:v.missingLiveResolverFields,seenRecords:v.seenRecords,selector:v.selector,missingRequiredFields:v.missingRequiredFields,relayResolverErrors:v.relayResolverErrors,errorResponseFields:v.errorResponseFields},n(v),t.snapshot=v,t.stale=!1,v.data!==h.data?(this.__log&&a.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:c,snapshot:h,nextSnapshot:v}),f(v),h.selector.owner):a.ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION&&(p||s(h.seenRecords,r))?h.selector.owner:void 0}},e}();e.exports=u},5165:(e,t,r)=>{var n=(0,r(5275).default)(r(642)),i=r(6330),a=r(3775),o=r(1094),s=r(5056),l=a.VARIABLE,u=a.LITERAL,c=a.OBJECT_VALUE,d=a.LIST_VALUE;function f(e,t){if(e.kind===l)return function(e,t){return t.hasOwnProperty(e)||s(!1,"getVariableValue(): Undefined variable `%s`.",e),o(t[e])}(e.variableName,t);if(e.kind===u)return e.value;if(e.kind===c){var r={};return e.fields.forEach((function(e){r[e.name]=f(e,t)})),r}if(e.kind===d){var n=[];return e.items.forEach((function(e){null!=e&&n.push(f(e,t))})),n}}function h(e,t,r){var n={};return r&&(n[_.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT]=!0),e&&e.forEach((function(e){n[e.name]=f(e,t)})),n}function p(e,t){if(!t)return e;var r=[];for(var n in t)if(t.hasOwnProperty(n)){var i,a=t[n];null!=a&&r.push(n+":"+(null!==(i=JSON.stringify(a))&&void 0!==i?i:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var _={ACTOR_IDENTIFIER_KEY:"__actorIdentifier",CLIENT_EDGE_TRAVERSAL_PATH:"__clientEdgeTraversalPath",FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT:"$isWithinUnmatchedTypeRefinement",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ERRORS_KEY:"__errors",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",RELAY_RESOLVER_VALUE_KEY:"__resolverValue",RELAY_RESOLVER_INVALIDATION_KEY:"__resolverValueMayBeInvalid",RELAY_RESOLVER_SNAPSHOT_KEY:"__resolverSnapshot",RELAY_RESOLVER_ERROR_KEY:"__resolverError",RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS:"__resolverOutputTypeRecordIDs",formatStorageKey:p,getArgumentValue:f,getArgumentValues:h,getHandleStorageKey:function(e,t){var r=e.dynamicKey,a=e.handle,o=e.key,s=e.name,l=e.args,u=e.filters,c=i(a,o,s),d=null;return l&&u&&0!==l.length&&0!==u.length&&(d=l.filter((function(e){return u.indexOf(e.name)>-1}))),r&&(d=null!=d?[r].concat((0,n.default)(d)):[r]),null===d?c:p(c,h(d,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=function(e){var t,r;return"RelayResolver"===e.kind||"RelayLiveResolver"===e.kind?null==e.args?null===(r=e.fragment)||void 0===r?void 0:r.args:null==(null===(t=e.fragment)||void 0===t?void 0:t.args)?e.args:e.args.concat(e.fragment.args):void 0===e.args?void 0:e.args}(e),n=e.name;return r&&0!==r.length?p(n,h(r,t)):n},getStableStorageKey:function(e,t){return p(e,o(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=_},4537:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(5748),a=r(3775).RELAY_LIVE_RESOLVER,o=r(6770),s=r(5068),l=r(2997).generateClientID,u=r(7105),c=r(5165),d=c.RELAY_RESOLVER_ERROR_KEY,f=c.RELAY_RESOLVER_INVALIDATION_KEY,h=c.RELAY_RESOLVER_SNAPSHOT_KEY,p=c.RELAY_RESOLVER_VALUE_KEY,_=c.getStorageKey,v=r(5056),g=r(4446),m=new Set,y=function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,n,i){t.kind===a&&v(!1,"This store does not support Live Resolvers");var o=n(),s=o.resolverResult,l=o.snapshot;return[s,void 0,o.error,l,void 0,void 0]},t.invalidateDataIDs=function(e){},t.ensureClientRecord=function(e,t){v(!1,"Client Edges to Client Objects are not supported in this version of Relay Store")},t.notifyUpdatedSubscribers=function(e){},e}();function E(e,t,r){var n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(r)}var R=function(){function e(e){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=e}var t=e.prototype;return t.readFromCacheOrEvaluate=function(e,t,r,i,a){var o=this._getRecordSource(),c=o.get(e);null==c&&v(!1,"We expect record to exist in the store.");var f=_(t,r),g=u.getLinkedRecordID(c,f),m=null==g?null:o.get(g);if(null==m||this._isInvalid(m,a)){var y;g=null!==(y=g)&&void 0!==y?y:l(e,f),m=u.create(g,"__RELAY_RESOLVER__");var R=i();s(R.resolverResult),u.setValue(m,p,R.resolverResult),u.setValue(m,h,R.snapshot),u.setValue(m,d,R.error),o.set(g,m);var b=o.get(e);null==b&&v(!1,"Expected the parent record to still be in the record source.");var I=u.clone(b);if(u.setLinkedRecordID(I,f,g),o.set(e,I),null!=t.fragment){var D,S=_(t.fragment,r),A=l(e,S);E(this._resolverIDToRecordIDs,A,g),E(this._recordIDToResolverIDs,e,A);var O=null===(D=R.snapshot)||void 0===D?void 0:D.seenRecords;if(null!=O){var T,k=(0,n.default)(O);try{for(k.s();!(T=k.n()).done;){var N=T.value;E(this._recordIDToResolverIDs,N,A)}}catch(e){k.e(e)}finally{k.f()}}}}var F=u.getValue(m,p),L=u.getValue(m,h);return[F,g,u.getValue(m,d),L,void 0,void 0]},t.invalidateDataIDs=function(e){for(var t=this._getRecordSource(),r=new Set,i=Array.from(e);i.length;){var a=i.pop();e.add(a);var o,s=(0,n.default)(null!==(l=this._recordIDToResolverIDs.get(a))&&void 0!==l?l:m);try{for(s.s();!(o=s.n()).done;){var l,u=o.value;if(!r.has(u)){var c,d=(0,n.default)(null!==(f=this._resolverIDToRecordIDs.get(u))&&void 0!==f?f:m);try{for(d.s();!(c=d.n()).done;){var f,h=c.value;this._markInvalidatedResolverRecord(h,t,e),r.has(h)||i.push(h)}}catch(e){d.e(e)}finally{d.f()}}}}catch(e){s.e(e)}finally{s.f()}}},t._markInvalidatedResolverRecord=function(e,t,r){var n=t.get(e);if(n){var i=u.clone(n);u.setValue(i,f,!0),t.set(e,i)}else g(!1,"Expected a resolver record with ID %s, but it was missing.",e)},t._isInvalid=function(e,t){if(!u.getValue(e,f))return!1;var r=u.getValue(e,h),n=null==r?void 0:r.data,a=null==r?void 0:r.selector;if(null==n||null==a)return g(!1,"Expected previous inputs and reader selector on resolver record with ID %s, but they were missing.",u.getDataID(e)),!0;var s=t(a).data;if(i(n,s)!==n)return!0;if(o.MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD){var l=u.clone(e);u.setValue(l,f,!1),this._getRecordSource().set(u.getDataID(e),l)}return!1},t.ensureClientRecord=function(e,t){v(!1,"Client Edges to Client Objects are not supported in this version of Relay Store")},t.notifyUpdatedSubscribers=function(e){v(!1,"Processing @outputType records is not supported in this version of Relay Store")},e}();e.exports={NoopResolverCache:y,RecordResolverCache:R}},890:(e,t,r)=>{var n=r(1634).getFragment,i=r(6256).getSelector,a=r(5056),o=[],s={};e.exports={readFragment:function(e,t){if(!o.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var r=o[o.length-1],l=n(e),u=i(l,t);null==u&&a(!1,"Expected a selector for the fragment of the resolver ".concat(l.name,", but got null.")),"SingularReaderSelector"!==u.kind&&a(!1,"Expected a singular reader selector for the fragment of the resolver ".concat(l.name,", but it was plural."));var c=r.getDataForResolverFragment(u,t),d=c.data;if(c.isMissingData)throw s;return d},withResolverContext:function(e,t){o.push(e);try{return t()}finally{o.pop()}},RESOLVER_FRAGMENT_MISSING_DATA_SENTINEL:s}},2103:(e,t,r)=>{var n,i=r(5275).default,a=i(r(6175)),o=i(r(642)),s=!1,l=function e(t,r){var n=t.get(r);return null==n?n:new Proxy((0,a.default)({},n),{get:function(r,n){var i=r[n];if(null==i)return i;if("object"==typeof i){if("string"==typeof i.__ref)return e(t,i.__ref);if(Array.isArray(i.__refs))return i.__refs.map((function(r){return e(t,r)}))}return i}})};n=function(e,t){var r,n,i,a,u,c,d,f;return s||(s=!0,null==window.devtoolsFormatters&&(window.devtoolsFormatters=[]),Array.isArray(window.devtoolsFormatters)&&(console.info('Make sure to select "Enable custom formatters" in the Chrome Developer Tools settings, tab "Preferences" under the "Console" section.'),(r=window.devtoolsFormatters).push.apply(r,(0,o.default)((n={style:"list-style-type: none; padding: 0; margin: 0 0 0 12px; font-style: normal"},i={style:"rgb(136, 19, 145)"},a={style:"color: #777"},u=function(e){return["span",{style:"font-style: italic"},e.__typename,["span",a,' {id: "',e.__id,'", …}']]},c=function(e){return null!=e&&"string"==typeof e.__id},d=function(e,t){this.key=e,this.value=t},f=function(e){var t=Object.keys(e).map((function(t){return["li",{},["object",{object:new d(t,e[t])}]]}));return["ol",n].concat((0,o.default)(t))},[{header:function(e){return c(e)?u(e):null},hasBody:function(e){return!0},body:function(e){return f(e)}},{header:function(e){if(e instanceof d){var t=c(e.value)?u(e.value):null==(r=e.value)?["span",a,"undefined"]:["object",{object:r,config:void 0}];return["span",i,e.key,": ",t]}var r;return null},hasBody:function(e){return c(e.value)},body:function(e){return f(e.value)}}]))))),l(e.getStore().getSource(),null!=t?t:"client:root")},e.exports={inspect:n}},975:e=>{var t="client:__type:";e.exports={generateTypeID:function(e){return t+e},isTypeID:function(e){return 0===e.indexOf(t)},TYPE_SCHEMA_TYPE:"__TypeSchema"}},9942:(e,t,r)=>{var n=(0,r(2997).generateClientID)(r(5165).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},4293:(e,t,r)=>{var n=r(3775).LINKED_FIELD,i=r(5165).getHandleStorageKey,a=r(9125),o=r(5056);e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));s&&s.kind===n||o(!1,"cloneRelayHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=i(e,r);return{kind:"LinkedField",alias:s.alias,name:l,storageKey:l,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}},6159:(e,t,r)=>{var n=r(3775).SCALAR_FIELD,i=r(5165).getHandleStorageKey,a=r(9125),o=r(5056);e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===n&&t.name===e.name&&t.alias===e.alias&&a(t.args,e.args)}));s&&s.kind===n||o(!1,"cloneRelayScalarHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle);var l=i(e,r);return{kind:"ScalarField",alias:s.alias,name:l,storageKey:l,args:null}}},4819:(e,t,r)=>{var n=r(5457),i=r(4446);e.exports=function(e,t,r,a,o,s){return Object.keys(r).forEach((function(e){var r=a[e];i(void 0!==r,"createFragmentSpecResolver: Expected prop `%s` to be supplied to `%s`, but got `undefined`. Pass an explicit `null` if this is intentional.",e,t)})),new n(e,r,a,s,o)}},4051:(e,t,r)=>{var n,i,a=r(5056);e.exports=function(e){return n||((n=e.createContext(null)).displayName="RelayContext",i=e),e!==i&&a(!1,"[createRelayContext]: You are passing a different instance of React",e.version),n}},5053:(e,t,r)=>{var n=r(9942),i=n.VIEWER_ID,a=n.VIEWER_TYPE;e.exports=function(e,t){return t===a&&null==e.id?i:e.id}},7097:e=>{e.exports=function(e){if("missing_field.log"===e.kind)throw new Error("Relay Environment Configuration Error (dev only): `@required(action: LOG)` requires that the Relay Environment be configured with a `relayFieldLogger`.")}},5046:e=>{var t=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});e.exports={isSuspenseSentinel:function(e){return e===t},suspenseSentinel:function(){return t}}},5288:(e,t,r)=>{var n=r(7105),i=r(5165).RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,a=r(5056);e.exports=function(e){var t=n.getValue(e,i);return null==t?null:(t instanceof Set||a(!1,"getOutputTypeRecordIDs: Expected the `%s` field on record `%s` to be of type Set. Instead, it is a %s.",i,typeof t),t)}},7629:e=>{var t=Symbol.iterator;e.exports=function(e,r){for(var n=e[t](),i=n.next();!i.done;){var a=i.value;if(r.has(a))return!0;i=n.next()}return!1}},8994:(e,t,r)=>{var n=r(5165).ROOT_ID,i=r(9942).VIEWER_ID,a=Symbol.iterator;e.exports=function(e,t){for(var r=e[a](),o=r.next();!o.done;){var s=o.value;if(t.has(s)&&s!==n&&s!==i)return!0;o=r.next()}return!1}},54:e=>{e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},5131:(e,t,r)=>{var n=r(5275).default,i=n(r(6175)),a=n(r(7105)),o=n(r(6938)),s=n(r(5549));e.exports=function(e,t,r,n){var l,u=e.data,c=e.errors,d=o.default.create(),f=a.default.create(t.dataID,r);d.set(t.dataID,f);var h=s.default.normalize(d,t,u,n,c);return(0,i.default)((0,i.default)({},h),{},{isFinal:!0===(null===(l=e.extensions)||void 0===l?void 0:l.is_final)})}},1596:(e,t,r)=>{var n=r(1634).getInlineDataFragment,i=r(5165).FRAGMENTS_KEY,a=r(5056);e.exports=function(e,t){var r,o=n(e);if(null==t)return t;"object"!=typeof t&&a(!1,"readInlineData(): Expected an object, got `%s`.",typeof t);var s=null===(r=t[i])||void 0===r?void 0:r[o.name];return null==s&&a(!1,"readInlineData(): Expected fragment `%s` to be spread in the parent fragment.",o.name),s}},2924:(e,t,r)=>{var n=r(6626),i=r(1634).getRequest,a=r(7258).createOperationDescriptor,o=r(6256).createReaderSelector,s=r(4446);e.exports=function(e,t){var r=i(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var l=t.configs,u=t.onCompleted,c=t.onError,d=t.onNext,f=t.variables,h=t.cacheConfig,p=a(r,f,h);s(!(t.updater&&l),"requestSubscription: Expected only one of `updater` and `configs` to be provided");var _=(l?n.convert(l,r,null,t.updater):t).updater;return{dispose:e.executeSubscription({operation:p,updater:_}).subscribe({next:function(t){if(null!=d){var r,n,i,a,s=p.fragment;"string"==typeof(r=Array.isArray(t)?null===(n=t[0])||void 0===n||null===(i=n.extensions)||void 0===i?void 0:i.__relay_subscription_root_id:null===(a=t.extensions)||void 0===a?void 0:a.__relay_subscription_root_id)&&(s=o(s.node,r,s.variables,s.owner));var l=e.lookup(s).data;d(l)}},error:c,complete:u}).unsubscribe}}},3775:e=>{e.exports={ACTOR_CHANGE:"ActorChange",CATCH_FIELD:"CatchField",CONDITION:"Condition",CLIENT_COMPONENT:"ClientComponent",CLIENT_EDGE_TO_SERVER_OBJECT:"ClientEdgeToServerObject",CLIENT_EDGE_TO_CLIENT_OBJECT:"ClientEdgeToClientObject",CLIENT_EXTENSION:"ClientExtension",DEFER:"Defer",CONNECTION:"Connection",FRAGMENT:"Fragment",FRAGMENT_SPREAD:"FragmentSpread",INLINE_DATA_FRAGMENT_SPREAD:"InlineDataFragmentSpread",INLINE_DATA_FRAGMENT:"InlineDataFragment",INLINE_FRAGMENT:"InlineFragment",LINKED_FIELD:"LinkedField",LINKED_HANDLE:"LinkedHandle",LITERAL:"Literal",LIST_VALUE:"ListValue",LOCAL_ARGUMENT:"LocalArgument",MODULE_IMPORT:"ModuleImport",ALIASED_FRAGMENT_SPREAD:"AliasedFragmentSpread",ALIASED_INLINE_FRAGMENT_SPREAD:"AliasedInlineFragmentSpread",RELAY_RESOLVER:"RelayResolver",RELAY_LIVE_RESOLVER:"RelayLiveResolver",REQUIRED_FIELD:"RequiredField",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",TYPE_DISCRIMINATOR:"TypeDiscriminator",UPDATABLE_QUERY:"UpdatableQuery",VARIABLE:"Variable"}},3204:e=>{e.exports={DEFAULT_HANDLE_KEY:""}},4539:e=>{function t(e,t,r){for(var n=arguments.length,i=new Array(n>3?n-3:0),a=3;a<n;a++)i[a-3]=arguments[a];var o=0,s=r.replace(/%s/g,(function(){return String(i[o++])})),l=new Error(s),u=Object.assign(l,{name:t,messageFormat:r,messageParams:i,type:e,taalOpcodes:[2,2]});if(void 0===u.stack)try{throw u}catch(e){}return u}e.exports={create:function(e,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];return t.apply(void 0,["error",e,r].concat(i))},createWarning:function(e,r){for(var n=arguments.length,i=new Array(n>2?n-2:0),a=2;a<n;a++)i[a-2]=arguments[a];return t.apply(void 0,["warn",e,r].concat(i))}}},6770:e=>{e.exports={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,ENABLE_LOAD_QUERY_REQUEST_DEDUPING:!0,ENABLE_DO_NOT_WRAP_LIVE_QUERY:!1,ENABLE_NOTIFY_SUBSCRIPTION:!1,BATCH_ASYNC_MODULE_UPDATES_FN:null,ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT:!1,MAX_DATA_ID_LENGTH:null,STRING_INTERN_LEVEL:0,LOG_MISSING_RECORDS_IN_PROD:!1,ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION:!1,ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES:!1,ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE:!1,ENABLE_FIELD_ERROR_HANDLING:!1,ENABLE_FIELD_ERROR_HANDLING_THROW_BY_DEFAULT:!1,ENABLE_FIELD_ERROR_HANDLING_CATCH_DIRECTIVE:!1,PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION:!1,MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD:!1}},8986:e=>{var t={},r={stop:function(){}},n={profile:function(e,n){var i=t[e];if(i&&i.length>0){for(var a=[],o=i.length-1;o>=0;o--){var s=i[o](e,n);a.unshift(s)}return{stop:function(e){a.forEach((function(t){return t(e)}))}}}return r},attachProfileHandler:function(e,r){t.hasOwnProperty(e)||(t[e]=[]),t[e].push(r)},detachProfileHandler:function(e,r){var n,i,a;t.hasOwnProperty(e)&&(i=r,-1!==(a=(n=t[e]).indexOf(i))&&n.splice(a,1))}};e.exports=n},4153:(e,t,r)=>{var n=r(5275).default,i=n(r(5765)),a=n(r(311)),o=r(1060),s=r(5056),l=function(){function e(){var e=this;(0,a.default)(this,"_complete",!1),(0,a.default)(this,"_events",[]),(0,a.default)(this,"_sinks",new Set),(0,a.default)(this,"_subscription",[]),this._observable=o.create((function(t){e._sinks.add(t);for(var r=e._events,n=0;n<r.length&&!t.closed;n++){var i=r[n];switch(i.kind){case"complete":t.complete();break;case"error":t.error(i.error);break;case"next":t.next(i.data);break;default:i.kind,s(!1,"RelayReplaySubject: Unknown event kind `%s`.",i.kind)}}return function(){e._sinks.delete(t)}}))}var t=e.prototype;return t.complete=function(){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"complete"}),this._sinks.forEach((function(e){return e.complete()})))},t.error=function(e){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"error",error:e}),this._sinks.forEach((function(t){return t.error(e)})))},t.next=function(e){!0!==this._complete&&(this._events.push({kind:"next",data:e}),this._sinks.forEach((function(t){return t.next(e)})))},t.subscribe=function(e){var t=this._observable.subscribe(e);return this._subscription.push(t),t},t.unsubscribe=function(){var e,t=(0,i.default)(this._subscription);try{for(t.s();!(e=t.n()).done;)e.value.unsubscribe()}catch(e){t.e(e)}finally{t.f()}this._subscription=[]},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=l},6982:e=>{var t=new Map,r=1,n=function(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}();e.exports={intern:function(e,i){if(null==i||e.length<i)return function(e){return"\t"===e[0]&&n.has(e[1])||"\v"===e[0]?"\v"+e:e}(e);var a=t.get(e);return null!=a||(a="\t"+r++,t.set(e,a)),a}}},4096:(e,t,r)=>{var n=(0,r(5275).default)(r(6175)),i=r(5165),a=i.getModuleComponentKey,o=i.getModuleOperationKey;e.exports=function(e,t,r,i){var s=(0,n.default)({},i);return s[a(e)]=r,s[o(e)]=t,s}},2729:e=>{e.exports=function e(t){return null!=(r=t)&&(Array.isArray(r)||"object"==typeof r&&r.constructor===Object)?(Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(r){var n=t[r];n&&"object"==typeof n&&!Object.isFrozen(n)&&e(n)})),t):t;var r}},1264:e=>{var t=1e5;e.exports=function(){return t++}},7858:(e,t,r)=>{var n=r(6256),i=n.getDataIDsFromFragment,a=n.getSelector,o=n.getVariablesFromFragment,s=r(5535),l=r(6770),u=r(1094),c=r(6982).intern;e.exports=function(e,t){var r=a(e,t),n=null==r?"null":"SingularReaderSelector"===r.kind?r.owner.identifier:"["+r.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",d=o(e,t),f=i(e,t);if(l.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var h=void 0===f?"missing":null==f?"null":Array.isArray(f)?"["+f.join(",")+"]":f;return h=l.STRING_INTERN_LEVEL<=1?h:c(h,l.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+(null==d||s(d)?"{}":JSON.stringify(u(d)))+"/"+h}var p,_=null!==(p=JSON.stringify(f))&&void 0!==p?p:"missing";return _=l.STRING_INTERN_LEVEL<=1?_:c(_,l.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+JSON.stringify(u(d))+"/"+_}},2881:(e,t,r)=>{var n=r(3775),i=n.REQUEST;n.SPLIT_OPERATION,e.exports=function(e){return e.kind===i?e.operation:e}},8208:(e,t,r)=>{var n=r(9514),i=r(5056);e.exports=function(e,t){var r,a,o=n(e,t),s=o.refetchableRequest,l=o.refetchMetadata,u=l.connection;null==u&&i(!1,"Relay: getPaginationMetadata(): Expected fragment `%s` to include a connection when using `%s`. Did you forget to add a @connection directive to the connection field in the fragment?",t,e.name);var c=u.path,d=(null!==(r=null===(a=e.metadata)||void 0===a?void 0:a.connection)&&void 0!==r?r:[])[0];null==d&&i(!1,"Relay: getPaginationMetadata(): Expected fragment `%s` to include a connection when using `%s`. Did you forget to add a @connection directive to the connection field in the fragment?",t,e.name);var f=l.identifierInfo;return null!=(null==f?void 0:f.identifierField)&&"string"!=typeof f.identifierField&&i(!1,"Relay: getRefetchMetadata(): Expected `identifierField` to be a string."),{connectionPathInFragmentData:c,identifierField:null==f?void 0:f.identifierField,paginationRequest:s,paginationMetadata:u,stream:!0===d.stream}}},2279:(e,t,r)=>{var n=r(5275).default,i=n(r(311)),a=n(r(6175)),o=r(5056),s=r(4446);e.exports=function(e,t,r,n,l,u){var c,d=u.backward,f=u.forward;if("backward"===e){var h;(null==d||null==d.count||null==d.cursor)&&o(!1,"Relay: Expected backward pagination metadata to be available. If you're seeing this, this is likely a bug in Relay."),s(!l.hasOwnProperty(d.cursor),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain cursor variable `%s`. This variable is automatically determined by Relay.",d.cursor),s(!l.hasOwnProperty(d.count),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain count variable `%s`. This variable is automatically determined by Relay.",d.count);var p=(0,a.default)((0,a.default)((0,a.default)({},n),l),{},(h={},(0,i.default)(h,d.cursor,r),(0,i.default)(h,d.count,t),h));return f&&f.cursor&&(p[f.cursor]=null),f&&f.count&&(p[f.count]=null),p}(null==f||null==f.count||null==f.cursor)&&o(!1,"Relay: Expected forward pagination metadata to be available. If you're seeing this, this is likely a bug in Relay."),s(!l.hasOwnProperty(f.cursor),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain cursor variable `%s`. This variable is automatically determined by Relay.",f.cursor),s(!l.hasOwnProperty(f.count),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain count variable `%s`. This variable is automatically determined by Relay.",f.count);var _=(0,a.default)((0,a.default)((0,a.default)({},n),l),{},(c={},(0,i.default)(c,f.cursor,r),(0,i.default)(c,f.count,t),c));return d&&d.cursor&&(_[d.cursor]=null),d&&d.count&&(_[d.count]=null),_}},5250:(e,t,r)=>{var n=r(7367).getPromiseForActiveRequest;e.exports=function(e,t,r){var i,a,o=[],s=n(e,r);if(null!=s)o=[r];else{var l,u,c=e.getOperationTracker().getPendingOperationsAffectingOwner(r);o=null!==(l=null==c?void 0:c.pendingOperations)&&void 0!==l?l:[],s=null!==(u=null==c?void 0:c.promise)&&void 0!==u?u:null}if(!s)return null;var d=null!==(i=null===(a=o)||void 0===a?void 0:a.map((function(e){return e.node.params.name})).join(","))&&void 0!==i?i:null;null!=d&&0!==d.length||(d="Unknown pending operation");var f=t.name,h=d===f?"Relay(".concat(d,")"):"Relay(".concat(d,":").concat(f,")");return s.displayName=h,e.__log({name:"pendingoperation.found",fragment:t,fragmentOwner:r,pendingOperations:o}),{promise:s,pendingOperations:o}}},9514:(e,t,r)=>{var n=r(5056);e.exports=function(e,t){var r,i;!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)&&n(!1,"Relay: getRefetchMetadata(): Expected fragment `%s` not to be plural when using `%s`. Remove `@relay(plural: true)` from fragment `%s` in order to use it with `%s`.",e.name,t,e.name,t);var a=null===(i=e.metadata)||void 0===i?void 0:i.refetch;null==a&&n(!1,"Relay: getRefetchMetadata(): Expected fragment `%s` to be refetchable when using `%s`. Did you forget to add a @refetchable directive to the fragment?",t,e.name);var o=a.operation.default?a.operation.default:a.operation,s=a.fragmentPathInResult;"string"==typeof o&&n(!1,"Relay: getRefetchMetadata(): Expected refetch query to be an operation and not a string when using `%s`. If you're seeing this, this is likely a bug in Relay.",t);var l=a.identifierInfo;return null!=l&&(null!=l.identifierField&&"string"!=typeof l.identifierField&&n(!1,"Relay: getRefetchMetadata(): Expected `identifierField` to be a string."),null!=l.identifierQueryVariableName&&"string"!=typeof l.identifierQueryVariableName&&n(!1,"Relay: getRefetchMetadata(): Expected `identifierQueryVariableName` to be a string.")),{fragmentRefPathInResponse:s,identifierInfo:l,refetchableRequest:o,refetchMetadata:a}}},6330:(e,t,r)=>{var n=r(3204).DEFAULT_HANDLE_KEY,i=r(5056);e.exports=function(e,t,r){return t&&t!==n?"__".concat(t,"_").concat(e):(null==r&&i(!1,"getRelayHandleKey: Expected either `fieldName` or `key` in `handle` to be provided"),"__".concat(r,"_").concat(e))}},6900:(e,t,r)=>{var n=r(1094),i=r(5056);e.exports=function(e,t){var r=null!=e.cacheID?e.cacheID:e.id;return null==r&&i(!1,"getRequestIdentifier: Expected request `%s` to have either a valid `id` or `cacheID` property",e.name),r+JSON.stringify(n(t))}},3257:(e,t,r)=>{var n=(0,r(5275).default)(r(5765)),i=r(5056);e.exports=function(e,t){var r,a=e,o=(0,n.default)(t);try{for(o.s();!(r=o.n()).done;){var s=r.value;if(null==a)return null;"number"==typeof s?(Array.isArray(a)||i(!1,"Relay: Expected an array when extracting value at path. If you're seeing this, this is likely a bug in Relay."),a=a[s]):(("object"!=typeof a||Array.isArray(a))&&i(!1,"Relay: Expected an object when extracting value at path. If you're seeing this, this is likely a bug in Relay."),a=a[s])}}catch(e){o.e(e)}finally{o.f()}return a}},9222:(e,t,r)=>{var n=r(5275).default,i=n(r(5765)),a=r(7288),o=n(r(6770));e.exports=function(e,t,r,n,s){var l,u=(0,i.default)(r);try{for(u.s();!(l=u.n()).done;){var c=l.value;e.relayFieldLogger({kind:"relay_resolver.error",owner:c.field.owner,fieldPath:c.field.path,error:c.error})}}catch(e){u.e(e)}finally{u.f()}if(r.length>0&&(o.default.ENABLE_FIELD_ERROR_HANDLING_THROW_BY_DEFAULT||s))throw new a.RelayFieldError("Relay: Unexpected resolver exception",r.map((function(e){return{message:e.error.message}})));if((o.default.ENABLE_FIELD_ERROR_HANDLING||s)&&null!=n){if(null!=n){var d,f=(0,i.default)(n);try{for(f.s();!(d=f.n()).done;){var h=d.value,p=h.path,_=h.owner,v=h.error;e.relayFieldLogger({kind:"relay_field_payload.error",owner:_,fieldPath:p,error:v})}}catch(e){f.e(e)}finally{f.f()}}if(o.default.ENABLE_FIELD_ERROR_HANDLING_THROW_BY_DEFAULT||s)throw new a.RelayFieldError("Relay: Unexpected response payload - this object includes an errors property in which you can access the underlying errors",n.map((function(e){return e.error})))}if(null!=t)switch(t.action){case"THROW":var g=t.field,m=g.path,y=g.owner;throw e.relayFieldLogger({kind:"missing_field.throw",owner:y,fieldPath:m}),new Error("Relay: Missing @required value at path '".concat(m,"' in '").concat(y,"'."));case"LOG":t.fields.forEach((function(t){var r=t.path,n=t.owner;e.relayFieldLogger({kind:"missing_field.log",owner:n,fieldPath:r})}));break;default:t.action}}},5535:e=>{var t=Object.prototype.hasOwnProperty;e.exports=function(e){for(var r in e)if(t.call(e,r))return!1;return!0}},1571:e=>{e.exports=function(e){return null!=e&&"object"==typeof e&&"function"==typeof e.then}},2081:e=>{e.exports=function(e,t){return e===t&&(null===e||"object"!=typeof e)}},5748:e=>{function t(e,r,n){if(e===r||"object"!=typeof e||!e||e.constructor!==Object&&!Array.isArray(e)||"object"!=typeof r||!r||r.constructor!==Object&&!Array.isArray(r))return r;var i=!1,a=Array.isArray(e)?e:null,o=Array.isArray(r)?r:null;if(a&&o){var s=n&&!Object.isFrozen(o);i=o.reduce((function(e,r,n){var i=t(a[n],r,s);return i!==o[n]&&s&&(o[n]=i),e&&i===a[n]}),!0)&&a.length===o.length}else if(!a&&!o){var l=e,u=r,c=Object.keys(l),d=Object.keys(u),f=n&&!Object.isFrozen(u);i=d.reduce((function(e,r){var n=t(l[r],u[r],f);return n!==u[r]&&f&&(u[r]=n),e&&n===l[r]}),!0)&&c.length===d.length}return i?e:r}e.exports=function(e,r){return t(e,r,!0)}},6859:(e,t,r)=>{e.exports=function(e){var t=void 0!==r.g?r.g:"undefined"!=typeof window?window:void 0,n=t&&t.__RELAY_DEVTOOLS_HOOK__;n&&n.registerEnvironment(e)}},3641:e=>{var t=Promise.resolve();function r(e){setTimeout((function(){throw e}),0)}e.exports=function(e){t.then(e).catch(r)}},5068:e=>{e.exports=function(e){"object"!=typeof e||null==e||!Array.isArray(e)&&e.constructor!==Object||Object.freeze(e)}},1094:e=>{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}},3871:e=>{var t,r,n="undefined"!=typeof window&&"function"==typeof(null===(t=window)||void 0===t||null===(r=t.performance)||void 0===r?void 0:r.now);function i(){return n?window.performance.now():Date.now()}e.exports=function(e){var t=i(),r=e();return[i()-t,r]}},489:(e,t,r)=>{var n=r(9125),i=r(4446),a="function"==typeof WeakMap,o=a?new WeakMap:new Map;function s(e,t){if(null!=t){var r={};return Object.assign(r,e),Object.keys(t).forEach((function(e){var a=t[e].get,s=a();if(o.has(a)){var l=o.get(a);i(n(s,l),"Relay: Expected function `%s` for provider `%s` to be a pure function, but got conflicting return values `%s` and `%s`",a.name,e,s,l),r[e]=l}else o.set(a,s),r[e]=s})),r}return e}s.tests_only_resetDebugCache=function(){o=a?new WeakMap:new Map},e.exports=s},5765:e=>{e.exports=i},311:e=>{e.exports=c},8296:e=>{e.exports=l},5275:t=>{t.exports=e},6175:e=>{e.exports=a},5264:e=>{e.exports=s},642:e=>{e.exports=t},9998:e=>{e.exports=d},8446:e=>{e.exports=u},9125:e=>{e.exports=o},4446:e=>{e.exports=n},5056:e=>{e.exports=r}},h={};function p(e){var t=h[e];if(void 0!==t)return t.exports;var r=h[e]={exports:{}};return f[e](r,r.exports,p),r.exports}return p.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),p(7128)})()));
\No newline at end of file