@binclusive/cli 0.1.4 → 0.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/package.json +2 -2
package/dist/bin.js
CHANGED
|
@@ -141,7 +141,7 @@ ${i.comment}`:i.comment}this.doc.range[2]=i.offset;break}default:this.errors.pus
|
|
|
141
141
|
`,i)+1}return{type:t,offset:this.offset,indent:this.indent,source:this.source}}startBlockValue(t){switch(this.type){case"alias":case"scalar":case"single-quoted-scalar":case"double-quoted-scalar":return this.flowScalar(this.type);case"block-scalar-header":return{type:"block-scalar",offset:this.offset,indent:this.indent,props:[this.sourceToken],source:""};case"flow-map-start":case"flow-seq-start":return{type:"flow-collection",offset:this.offset,indent:this.indent,start:this.sourceToken,items:[],end:[]};case"seq-item-ind":return{type:"block-seq",offset:this.offset,indent:this.indent,items:[{start:[this.sourceToken]}]};case"explicit-key-ind":{this.onKeyLine=!0;let i=kl(t),n=ei(i);return n.push(this.sourceToken),{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,explicitKey:!0}]}}case"map-value-ind":{this.onKeyLine=!0;let i=kl(t),n=ei(i);return{type:"block-map",offset:this.offset,indent:this.indent,items:[{start:n,key:null,sep:[this.sourceToken]}]}}}return null}atIndentedComment(t,i){return this.type!=="comment"||this.indent<=i?!1:t.every(n=>n.type==="newline"||n.type==="space")}*documentEnd(t){this.type!=="doc-mode"&&(t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop()))}*lineEnd(t){switch(this.type){case"comma":case"doc-start":case"doc-end":case"flow-seq-end":case"flow-map-end":case"map-value-ind":yield*this.pop(),yield*this.step();break;case"newline":this.onKeyLine=!1;case"space":case"comment":default:t.end?t.end.push(this.sourceToken):t.end=[this.sourceToken],this.type==="newline"&&(yield*this.pop())}}};_w.Parser=Up});var ww=S(Oo=>{"use strict";var bw=Np(),kV=bo(),No=xo(),RV=Rf(),IV=ae(),NV=jp(),Ew=Vp();function Sw(e){let t=e.prettyErrors!==!1;return{lineCounter:e.lineCounter||t&&new NV.LineCounter||null,prettyErrors:t}}function OV(e,t={}){let{lineCounter:i,prettyErrors:n}=Sw(t),r=new Ew.Parser(i?.addNewLine),o=new bw.Composer(t),a=Array.from(o.compose(r.parse(e)));if(n&&i)for(let s of a)s.errors.forEach(No.prettifyError(e,i)),s.warnings.forEach(No.prettifyError(e,i));return a.length>0?a:Object.assign([],{empty:!0},o.streamInfo())}function xw(e,t={}){let{lineCounter:i,prettyErrors:n}=Sw(t),r=new Ew.Parser(i?.addNewLine),o=new bw.Composer(t),a=null;for(let s of o.compose(r.parse(e),!0,e.length))if(!a)a=s;else if(a.options.logLevel!=="silent"){a.errors.push(new No.YAMLParseError(s.range.slice(0,2),"MULTIPLE_DOCS","Source contains multiple documents; please use YAML.parseAllDocuments()"));break}return n&&i&&(a.errors.forEach(No.prettifyError(e,i)),a.warnings.forEach(No.prettifyError(e,i))),a}function PV(e,t,i){let n;typeof t=="function"?n=t:i===void 0&&t&&typeof t=="object"&&(i=t);let r=xw(e,i);if(!r)return null;if(r.warnings.forEach(o=>RV.warn(r.options.logLevel,o)),r.errors.length>0){if(r.options.logLevel!=="silent")throw r.errors[0];r.errors=[]}return r.toJS(Object.assign({reviver:n},i))}function TV(e,t,i){let n=null;if(typeof t=="function"||Array.isArray(t)?n=t:i===void 0&&t&&(i=t),typeof i=="string"&&(i=i.length),typeof i=="number"){let r=Math.round(i);i=r<1?void 0:r>8?{indent:8}:{indent:r}}if(e===void 0){let{keepUndefined:r}=i??t??{};if(!r)return}return IV.isDocument(e)&&!n?e.toString(i):new kV.Document(e,n,i).toString(i)}Oo.parse=PV;Oo.parseAllDocuments=OV;Oo.parseDocument=xw;Oo.stringify=TV});var Rw=S(fe=>{"use strict";var CV=Np(),DV=bo(),$V=lp(),zp=xo(),AV=ro(),Dr=ae(),qV=Nr(),LV=Pe(),FV=Pr(),MV=Tr(),jV=xl(),UV=Fp(),VV=jp(),zV=Vp(),Rl=ww(),kw=Ji();fe.Composer=CV.Composer;fe.Document=DV.Document;fe.Schema=$V.Schema;fe.YAMLError=zp.YAMLError;fe.YAMLParseError=zp.YAMLParseError;fe.YAMLWarning=zp.YAMLWarning;fe.Alias=AV.Alias;fe.isAlias=Dr.isAlias;fe.isCollection=Dr.isCollection;fe.isDocument=Dr.isDocument;fe.isMap=Dr.isMap;fe.isNode=Dr.isNode;fe.isPair=Dr.isPair;fe.isScalar=Dr.isScalar;fe.isSeq=Dr.isSeq;fe.Pair=qV.Pair;fe.Scalar=LV.Scalar;fe.YAMLMap=FV.YAMLMap;fe.YAMLSeq=MV.YAMLSeq;fe.CST=jV;fe.Lexer=UV.Lexer;fe.LineCounter=VV.LineCounter;fe.Parser=zV.Parser;fe.parse=Rl.parse;fe.parseAllDocuments=Rl.parseAllDocuments;fe.parseDocument=Rl.parseDocument;fe.stringify=Rl.stringify;fe.visit=kw.visit;fe.visitAsync=kw.visitAsync});var or=S((Uce,GR)=>{"use strict";var p4={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"};GR.exports=p4});var j=S((Vce,YR)=>{"use strict";var m4=process.env.NODE_ENV,h4=function(e,t,i,n,r,o,a,s){if(m4!=="production"&&t===void 0)throw new Error("invariant requires an error message argument");if(!e){var l;if(t===void 0)l=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var u=[i,n,r,o,a,s],c=0;l=new Error(t.replace(/%s/g,function(){return u[c++]})),l.name="Invariant Violation"}throw l.framesToPop=1,l}};YR.exports=h4});var JR=S((zce,WR)=>{"use strict";function Au(e){return function(){return e}}var En=function(){};En.thatReturns=Au;En.thatReturnsFalse=Au(!1);En.thatReturnsTrue=Au(!0);En.thatReturnsNull=Au(null);En.thatReturnsThis=function(){return this};En.thatReturnsArgument=function(e){return e};WR.exports=En});var ce=S((Bce,XR)=>{"use strict";var v4=JR();function g4(e){for(var t=arguments.length,i=new Array(t>1?t-1:0),n=1;n<t;n++)i[n-1]=arguments[n];var r=0,o="Warning: "+e.replace(/%s/g,function(){return i[r++]});typeof console<"u"&&console.error(o);try{throw new Error(o)}catch{}}var y4=process.env.NODE_ENV!=="production"?function(e,t){if(t===void 0)throw new Error("`warning(condition, format, ...args)` requires a warning message argument");if(!e){for(var i=arguments.length,n=new Array(i>2?i-2:0),r=2;r<i;r++)n[r-2]=arguments[r];g4.apply(void 0,[t].concat(n))}}:v4;XR.exports=y4});var ft=S((Kce,iI)=>{"use strict";var qu=or(),At=j(),_4=ce();function b4(e){process.env.NODE_ENV!=="production"?At(!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."):At(!1)}function ar(e){var t=e;return typeof t=="function"?(t=t(),process.env.NODE_ENV!=="production"&&_4(!1,"RelayGraphQLTag: node `%s` unexpectedly wrapped in a function.",t.kind==="Fragment"?t.name:t.operation.name)):t.default&&(t=t.default),t}function eI(e){var t=ar(e);return typeof t=="object"&&t!==null&&t.kind===qu.FRAGMENT}function tI(e){var t=ar(e);return typeof t=="object"&&t!==null&&t.kind===qu.REQUEST}function rI(e){var t=ar(e);return typeof t=="object"&&t!==null&&t.kind===qu.UPDATABLE_QUERY}function nI(e){var t=ar(e);return typeof t=="object"&&t!==null&&t.kind===qu.INLINE_DATA_FRAGMENT}function Vg(e){var t=ar(e);return eI(t)||(process.env.NODE_ENV!=="production"?At(!1,"GraphQLTag: Expected a fragment, got `%s`.",JSON.stringify(t)):At(!1)),t}function E4(e){var t,i=Vg(e),n=(t=i.metadata)===null||t===void 0?void 0:t.refetch,r=n?.connection;return n===null||typeof n!="object"||r===null||typeof r!="object"?null:i}function S4(e){var t,i=Vg(e),n=(t=i.metadata)===null||t===void 0?void 0:t.refetch;return n===null||typeof n!="object"?null:i}function x4(e){var t=ar(e);return tI(t)||(process.env.NODE_ENV!=="production"?At(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)):At(!1)),t}function w4(e){var t=ar(e);return rI(t)||(process.env.NODE_ENV!=="production"?At(!1,"GraphQLTag: Expected a request, got `%s`.",JSON.stringify(t)):At(!1)),t}function k4(e){var t=ar(e);return nI(t)||(process.env.NODE_ENV!=="production"?At(!1,"GraphQLTag: Expected an inline data fragment, got `%s`.",JSON.stringify(t)):At(!1)),t}iI.exports={getFragment:Vg,getNode:ar,getPaginationFragment:E4,getRefetchableFragment:S4,getRequest:x4,getUpdatableQuery:w4,getInlineDataFragment:k4,graphql:b4,isFragment:eI,isRequest:tI,isUpdatableQuery:rI,isInlineDataFragment:nI}});var K=S((Zce,_a)=>{"use strict";function R4(e){return e&&e.__esModule?e:{default:e}}_a.exports=R4,_a.exports.__esModule=!0,_a.exports.default=_a.exports});var zg=S((Qce,ba)=>{"use strict";function I4(e,t){(t==null||t>e.length)&&(t=e.length);for(var i=0,n=Array(t);i<t;i++)n[i]=e[i];return n}ba.exports=I4,ba.exports.__esModule=!0,ba.exports.default=ba.exports});var Bg=S((Hce,Ea)=>{"use strict";var oI=zg();function N4(e,t){if(e){if(typeof e=="string")return oI(e,t);var i={}.toString.call(e).slice(8,-1);return i==="Object"&&e.constructor&&(i=e.constructor.name),i==="Map"||i==="Set"?Array.from(e):i==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(i)?oI(e,t):void 0}}Ea.exports=N4,Ea.exports.__esModule=!0,Ea.exports.default=Ea.exports});var Re=S((Gce,Sa)=>{"use strict";var O4=Bg();function P4(e,t){var i=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!i){if(Array.isArray(e)||(i=O4(e))||t&&e&&typeof e.length=="number"){i&&(e=i);var n=0,r=function(){};return{s:r,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(u){throw u},f:r}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
142
142
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var o,a=!0,s=!1;return{s:function(){i=i.call(e)},n:function(){var u=i.next();return a=u.done,u},e:function(u){s=!0,o=u},f:function(){try{a||i.return==null||i.return()}finally{if(s)throw o}}}}Sa.exports=P4,Sa.exports.__esModule=!0,Sa.exports.default=Sa.exports});var vi=S((Yce,uI)=>{"use strict";var T4=K().default,aI=T4(Re()),sI=j();function C4(e,t){var i=(0,aI.default)(t),n;try{for(i.s();!(n=i.n()).done;){var r=n.value;e.relayFieldLogger(r)}}catch(l){i.e(l)}finally{i.f()}var o=(0,aI.default)(t),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;if(lI(s))switch(s.kind){case"relay_resolver.error":throw new Error("Relay: Resolver error at path '".concat(s.fieldPath,"' in '").concat(s.owner,"'."));case"relay_field_payload.error":throw new Error("Relay: Unexpected response payload - check server logs for details.");case"missing_expected_data.throw":throw new Error("Relay: Missing expected data at path '".concat(s.fieldPath,"' in '").concat(s.owner,"'."));case"missing_required_field.throw":throw new Error("Relay: Missing @required value at path '".concat(s.fieldPath,"' in '").concat(s.owner,"'."));case"missing_required_field.log":case"missing_expected_data.log":break;default:s.kind,process.env.NODE_ENV!=="production"?sI(!1,"Relay: Unexpected event kind: %s",s.kind):sI(!1)}}}catch(l){o.e(l)}finally{o.f()}}function lI(e){switch(e.kind){case"relay_resolver.error":case"relay_field_payload.error":return e.shouldThrow&&!e.handled;case"missing_expected_data.throw":case"missing_required_field.throw":return!e.handled;case"missing_required_field.log":case"missing_expected_data.log":return!1;default:throw e.kind,new Error("Relay: Unexpected event kind")}}function D4(e,t){t!=null&&C4(e,t)}uI.exports={handlePotentialSnapshotErrors:D4,eventShouldThrow:lI}});var Zg=S((Wce,sr)=>{"use strict";function Kg(e){"@babel/helpers - typeof";return sr.exports=Kg=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},sr.exports.__esModule=!0,sr.exports.default=sr.exports,Kg(e)}sr.exports=Kg,sr.exports.__esModule=!0,sr.exports.default=sr.exports});var dI=S((Jce,xa)=>{"use strict";var cI=Zg().default;function $4(e,t){if(cI(e)!="object"||!e)return e;var i=e[Symbol.toPrimitive];if(i!==void 0){var n=i.call(e,t||"default");if(cI(n)!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}xa.exports=$4,xa.exports.__esModule=!0,xa.exports.default=xa.exports});var Qg=S((Xce,wa)=>{"use strict";var A4=Zg().default,q4=dI();function L4(e){var t=q4(e,"string");return A4(t)=="symbol"?t:t+""}wa.exports=L4,wa.exports.__esModule=!0,wa.exports.default=wa.exports});var Ze=S((ede,ka)=>{"use strict";var F4=Qg();function M4(e,t,i){return(t=F4(t))in e?Object.defineProperty(e,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):e[t]=i,e}ka.exports=M4,ka.exports.__esModule=!0,ka.exports.default=ka.exports});var de=S((tde,Ra)=>{"use strict";var j4=Ze();function fI(e,t){var i=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),i.push.apply(i,n)}return i}function U4(e){for(var t=1;t<arguments.length;t++){var i=arguments[t]!=null?arguments[t]:{};t%2?fI(Object(i),!0).forEach(function(n){j4(e,n,i[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(i)):fI(Object(i)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(i,n))})}return e}Ra.exports=U4,Ra.exports.__esModule=!0,Ra.exports.default=Ra.exports});var pI=S((rde,Ia)=>{"use strict";var V4=zg();function z4(e){if(Array.isArray(e))return V4(e)}Ia.exports=z4,Ia.exports.__esModule=!0,Ia.exports.default=Ia.exports});var mI=S((nde,Na)=>{"use strict";function B4(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}Na.exports=B4,Na.exports.__esModule=!0,Na.exports.default=Na.exports});var hI=S((ide,Oa)=>{"use strict";function K4(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
143
143
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}Oa.exports=K4,Oa.exports.__esModule=!0,Oa.exports.default=Oa.exports});var qt=S((ode,Pa)=>{"use strict";var Z4=pI(),Q4=mI(),H4=Bg(),G4=hI();function Y4(e){return Z4(e)||Q4(e)||H4(e)||G4()}Pa.exports=Y4,Pa.exports.__esModule=!0,Pa.exports.default=Pa.exports});var Hg=S((ade,vI)=>{"use strict";vI.exports={DEFAULT_HANDLE_KEY:""}});var Lu=S((sde,yI)=>{"use strict";var W4=Hg(),J4=W4.DEFAULT_HANDLE_KEY,gI=j();function X4(e,t,i){return t&&t!==J4?"__".concat(t,"_").concat(e):(i==null&&(process.env.NODE_ENV!=="production"?gI(!1,"getRelayHandleKey: Expected either `fieldName` or `key` in `handle` to be provided"):gI(!1)),"__".concat(i,"_").concat(e))}yI.exports=X4});var qr=S((lde,bI)=>{"use strict";function Gg(e){if(!e||typeof e!="object")return e;if(Array.isArray(e))return e.map(Gg);for(var t=Object.keys(e).sort(),i={},n=0;n<t.length;n++)i[t[n]]=Gg(e[t[n]]);return i}function _I(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:new Set;if(!e||typeof e!="object")return!1;if(t.has(e))return!0;var i=new Set(t);i.add(e);var n=Array.isArray(e)?e:Object.values(e);return n.some(function(r){return _I(r,i)})}bI.exports={stableCopy:Gg,hasCycle:_I}});var ye=S((ude,wI)=>{"use strict";var eB=K().default,tB=eB(qt()),rB=Lu(),Mu=or(),nB=qr(),SI=nB.stableCopy,EI=j(),iB=Mu.VARIABLE,oB=Mu.LITERAL,aB=Mu.OBJECT_VALUE,sB=Mu.LIST_VALUE,lB="__errors",uB="__module_component_",cB="__module_operation_";function Fu(e,t){if(e.kind===iB)return hB(e.variableName,t);if(e.kind===oB)return e.value;if(e.kind===aB){var i={};return e.fields.forEach(function(r){i[r.name]=Fu(r,t)}),i}else if(e.kind===sB){var n=[];return e.items.forEach(function(r){r!=null&&n.push(Fu(r,t))}),n}}function Yg(e,t,i){var n={};return i&&(n[xI.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT]=!0),e&&e.forEach(function(r){n[r.name]=Fu(r,t)}),n}function dB(e,t){var i=e.dynamicKey,n=e.handle,r=e.key,o=e.name,a=e.args,s=e.filters,l=rB(n,r,o),u=null;return a&&s&&a.length!==0&&s.length!==0&&(u=a.filter(function(c){return s.indexOf(c.name)>-1})),i&&(u=u!=null?[i].concat((0,tB.default)(u)):[i]),u===null?l:ju(l,Yg(u,t))}function fB(e,t){if(e.storageKey)return e.storageKey;var i=pB(e),n=e.name;return i&&i.length!==0?ju(n,Yg(i,t)):n}function pB(e){if(e.kind==="RelayResolver"||e.kind==="RelayLiveResolver"){var t;if(e.args==null){var i;return(i=e.fragment)===null||i===void 0?void 0:i.args}return((t=e.fragment)===null||t===void 0?void 0:t.args)==null?e.args:e.args.concat(e.fragment.args)}var n=typeof e.args>"u"?void 0:e.args;return n}function mB(e,t){return ju(e,SI(t))}function ju(e,t){if(!t)return e;var i=[];for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];if(r!=null){var o;i.push(n+":"+((o=JSON.stringify(r))!==null&&o!==void 0?o:"undefined"))}}return i.length===0?e:e+"(".concat(i.join(","),")")}function hB(e,t){return t.hasOwnProperty(e)||(process.env.NODE_ENV!=="production"?EI(!1,"getVariableValue(): Undefined variable `%s`.",e):EI(!1)),SI(t[e])}function vB(e){return"".concat(uB).concat(e)}function gB(e){return"".concat(cB).concat(e)}var xI={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:lB,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:ju,getArgumentValue:Fu,getArgumentValues:Yg,getHandleStorageKey:dB,getStorageKey:fB,getStableStorageKey:mB,getModuleComponentKey:vB,getModuleOperationKey:gB};wI.exports=xI});var lr=S((cde,II)=>{"use strict";var yB=K().default,RI=yB(de()),_B=ye(),bB=_B.getArgumentValues,kI=j();function EB(e,t,i){if(e.argumentDefinitions==null)return i;var n;return e.argumentDefinitions.forEach(function(r){if(!i.hasOwnProperty(r.name))switch(n=n||(0,RI.default)({},i),r.kind){case"LocalArgument":n[r.name]=r.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(r.name)){n[r.name]=void 0;break}n[r.name]=t[r.name];break;default:process.env.NODE_ENV!=="production"?kI(!1,"RelayConcreteVariables: Unexpected node kind `%s` in fragment `%s`.",r.kind,e.name):kI(!1)}}),n||i}function SB(e,t,i){var n={};return e.argumentDefinitions.forEach(function(r){var o=r.defaultValue;i[r.name]!=null&&(o=i[r.name]),n[r.name]=o}),t!=null&&Object.keys(t).forEach(function(r){n[r]=t[r].get()}),n}function xB(e,t,i){if(t==null)return e;var n=(0,RI.default)({},e),r=i?bB(i,e):{};return t.forEach(function(o){var a,s=(a=r[o.name])!==null&&a!==void 0?a:o.defaultValue;n[o.name]=s}),n}II.exports={getLocalVariables:xB,getFragmentVariables:EB,getOperationVariables:SB}});var et=S((dde,NI)=>{"use strict";var Wg=[],Jg=[];function wB(e,t){var i=Wg.length?Wg.pop():[],n=Jg.length?Jg.pop():[],r=Xg(e,t,i,n);return i.length=0,n.length=0,Wg.push(i),Jg.push(n),r}function Xg(e,t,i,n){if(e===t)return e!==0||1/e==1/t;if(e==null||t==null||typeof e!="object"||typeof t!="object")return!1;var r=Object.prototype.toString,o=r.call(e);if(o!=r.call(t))return!1;switch(o){case"[object String]":return e==String(t);case"[object Number]":return isNaN(e)||isNaN(t)?!1:e==Number(t);case"[object Date]":case"[object Boolean]":return+e==+t;case"[object RegExp]":return e.source==t.source&&e.global==t.global&&e.multiline==t.multiline&&e.ignoreCase==t.ignoreCase}for(var a=i.length;a--;)if(i[a]==e)return n[a]==t;i.push(e),n.push(t);var s=0;if(o==="[object Array]"){if(s=e.length,s!==t.length)return!1;for(;s--;)if(!Xg(e[s],t[s],i,n))return!1}else{if(e.constructor!==t.constructor)return!1;if(e.hasOwnProperty("valueOf")&&t.hasOwnProperty("valueOf"))return e.valueOf()==t.valueOf();var l=Object.keys(e);if(l.length!=Object.keys(t).length)return!1;for(var u=0;u<l.length;u++)if(!Xg(e[l[u]],t[l[u]],i,n))return!1}return i.pop(),n.pop(),!0}NI.exports=wB});var pt=S((fde,jI)=>{"use strict";var kB=lr(),RB=kB.getFragmentVariables,Ta=ye(),IB=Ta.CLIENT_EDGE_TRAVERSAL_PATH,NB=Ta.FRAGMENT_OWNER_KEY,OB=Ta.FRAGMENT_POINTER_IS_WITHIN_UNMATCHED_TYPE_REFINEMENT,PB=Ta.FRAGMENTS_KEY,PI=Ta.ID_KEY,TI=et(),Ke=j(),CI=ce();function Uu(e,t){typeof t=="object"&&t!==null&&!Array.isArray(t)||(process.env.NODE_ENV!=="production"?Ke(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t)):Ke(!1));var i=t[PI],n=t[PB],r=t[NB],o=t[IB];if(typeof i=="string"&&typeof n=="object"&&n!==null&&typeof n[e.name]=="object"&&n[e.name]!==null&&typeof r=="object"&&r!==null&&(o==null||Array.isArray(o))){var a=r,s=o,l=n[e.name],u=RB(e,a.variables,l),c=l[OB]===!0;return MI(e,i,u,a,c,s)}if(process.env.NODE_ENV!=="production"){var d=JSON.stringify(t);d.length>499&&(d=d.substr(0,498)+"\u2026"),process.env.NODE_ENV!=="production"&&CI(!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,d,e.name)}return null}function DI(e,t){var i=null;return t.forEach(function(n,r){var o=n!=null?Uu(e,n):null;o!=null&&(i=i||[],i.push(o))}),i==null?null:{kind:"PluralReaderSelector",selectors:i}}function $I(e,t){return t==null?t:e.metadata&&e.metadata.plural===!0?(Array.isArray(t)||(process.env.NODE_ENV!=="production"?Ke(!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):Ke(!1)),DI(e,t)):(Array.isArray(t)&&(process.env.NODE_ENV!=="production"?Ke(!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):Ke(!1)),Uu(e,t))}function TB(e,t){var i={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n],o=t[n];i[n]=$I(r,o)}return i}function CB(e,t){var i={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n],o=t[n];i[n]=AI(r,o)}return i}function AI(e,t){return t==null?t:e.metadata&&e.metadata.plural===!0?(Array.isArray(t)||(process.env.NODE_ENV!=="production"?Ke(!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):Ke(!1)),DB(e,t)):(Array.isArray(t)&&(process.env.NODE_ENV!=="production"?Ke(!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):Ke(!1)),qI(e,t))}function DB(e,t){var i=null;return t.forEach(function(n){var r=n!=null?qI(e,n):null;r!=null&&(i=i||[],i.push(r))}),i}function qI(e,t){typeof t=="object"&&t!==null&&!Array.isArray(t)||(process.env.NODE_ENV!=="production"?Ke(!1,"RelayModernSelector: Expected value for fragment `%s` to be an object, got `%s`.",e.name,JSON.stringify(t)):Ke(!1));var i=t[PI];return typeof i=="string"?i:(process.env.NODE_ENV!=="production"&&CI(!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 $B(e,t){var i={};for(var n in e)if(e.hasOwnProperty(n)){var r=e[n],o=t[n],a=LI(r,o);Object.assign(i,a)}return i}function LI(e,t){var i;return t==null?{}:((i=e.metadata)===null||i===void 0?void 0:i.plural)===!0?(Array.isArray(t)||(process.env.NODE_ENV!=="production"?Ke(!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):Ke(!1)),FI(e,t)):(Array.isArray(t)&&(process.env.NODE_ENV!=="production"?Ke(!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):Ke(!1)),ey(e,t)||{})}function ey(e,t){var i=Uu(e,t);return i?i.variables:null}function FI(e,t){var i={};return t.forEach(function(n,r){if(n!=null){var o=ey(e,n);o!=null&&Object.assign(i,o)}}),i}function OI(e,t){return e.dataID===t.dataID&&e.node===t.node&&TI(e.variables,t.variables)&&AB(e.owner,t.owner)&&e.isWithinUnmatchedTypeRefinement===t.isWithinUnmatchedTypeRefinement&&qB(e.clientEdgeTraversalPath,t.clientEdgeTraversalPath)}function AB(e,t){return e===t?!0:e.identifier===t.identifier&&TI(e.cacheConfig,t.cacheConfig)}function qB(e,t){if(e===t)return!0;if(e==null||t==null||e.length!==t.length)return!1;for(var i=e.length;i--;){var n=e[i],r=t[i];if(n!==r&&(n==null||r==null||n.clientEdgeDestinationID!==r.clientEdgeDestinationID||n.readerClientEdge!==r.readerClientEdge))return!1}return!0}function LB(e,t){return e===t?!0:e==null?t==null:t==null?e==null:e.kind==="SingularReaderSelector"&&t.kind==="SingularReaderSelector"?OI(e,t):e.kind==="PluralReaderSelector"&&t.kind==="PluralReaderSelector"?e.selectors.length===t.selectors.length&&e.selectors.every(function(i,n){return OI(i,t.selectors[n])}):!1}function MI(e,t,i,n){var r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!1,o=arguments.length>5?arguments[5]:void 0;return{kind:"SingularReaderSelector",dataID:t,isWithinUnmatchedTypeRefinement:r,clientEdgeTraversalPath:o??null,node:e,variables:i,owner:n}}function FB(e,t,i){return{dataID:t,node:e,variables:i}}jI.exports={areEqualSelectors:LB,createReaderSelector:MI,createNormalizationSelector:FB,getDataIDsFromFragment:AI,getDataIDsFromObject:CB,getSingularSelector:Uu,getPluralSelector:DI,getSelector:$I,getSelectorsFromObject:TB,getVariablesFromSingularFragment:ey,getVariablesFromPluralFragment:FI,getVariablesFromFragment:LI,getVariablesFromObject:$B}});var zu=S((pde,VI)=>{"use strict";var MB=ft(),jB=MB.getFragment,UB=vi(),VB=UB.eventShouldThrow,zB=pt(),BB=zB.getSelector,Vu=j(),Ca=[];function KB(e,t){Ca.push(e);try{return t()}finally{Ca.pop()}}function ZB(e,t){if(!Ca.length)throw new Error("readFragment should be called only from within a Relay Resolver function.");var i=Ca[Ca.length-1],n=jB(e),r=BB(n,t);r==null&&(process.env.NODE_ENV!=="production"?Vu(!1,"Expected a selector for the fragment of the resolver ".concat(n.name,", but got null.")):Vu(!1)),r.kind!=="SingularReaderSelector"&&(process.env.NODE_ENV!=="production"?Vu(!1,"Expected a singular reader selector for the fragment of the resolver ".concat(n.name,", but it was plural.")):Vu(!1));var o=i.getDataForResolverFragment(r,t),a=o.data,s=o.isMissingData,l=o.errorResponseFields;if(s||l!=null&&l.some(VB))throw UI;return a}var UI={};VI.exports={readFragment:ZB,withResolverContext:KB,RESOLVER_FRAGMENT_ERRORED_SENTINEL:UI}});var BI=S((mde,zI)=>{"use strict";var QB=zu(),HB=QB.readFragment,gi=j();function GB(e,t,i,n){var r=t;return function(o,a){var s=HB(e,o);if(i!=null){if(s==null)if(n===!0)process.env.NODE_ENV!=="production"?gi(!1,"Expected required resolver field `%s` in fragment `%s` to be present. But resolvers fragment data is null/undefined.",i,e.name):gi(!1);else return r(null,a);if(i in s)return n===!0&&s[i]==null&&(process.env.NODE_ENV!=="production"?gi(!1,"Expected required resolver field `%s` in fragment `%s` to be non-null.",i,e.name):gi(!1)),r(s[i],a);process.env.NODE_ENV!=="production"?gi(!1,"Missing field `%s` in fragment `%s` in resolver response.",i,e.name):gi(!1)}else return r(s,a)}}zI.exports=GB});var ty=S((hde,Da)=>{"use strict";function KI(e,t,i,n,r,o,a){try{var s=e[o](a),l=s.value}catch(u){return void i(u)}s.done?t(l):Promise.resolve(l).then(n,r)}function YB(e){return function(){var t=this,i=arguments;return new Promise(function(n,r){var o=e.apply(t,i);function a(l){KI(o,n,r,a,s,"next",l)}function s(l){KI(o,n,r,a,s,"throw",l)}a(void 0)})}}Da.exports=YB,Da.exports.__esModule=!0,Da.exports.default=Da.exports});var ry=S((vde,ZI)=>{"use strict";function WB(e){return e!=null&&typeof e=="object"&&typeof e.then=="function"}ZI.exports=WB});var cr=S((gde,QI)=>{"use strict";var JB=ry(),ur=i2,yi=(function(){e.create=function(n){return new e(n)};function e(i){if(process.env.NODE_ENV!=="production"&&(!i||typeof i!="function"))throw new Error("Source must be a Function: "+String(i));this._source=i}e.onUnhandledError=function(n){ur=n},e.from=function(n){return XB(n)?e2(n):JB(n)?t2(n):r2(n)};var t=e.prototype;return t.catch=function(n){var r=this;return e.create(function(o){var a;return r.subscribe({start:function(l){a=l},next:o.next,complete:o.complete,error:function(l){try{n(l).subscribe({start:function(c){a=c},next:o.next,complete:o.complete,error:o.error})}catch(u){o.error(u,!0)}}}),function(){return a.unsubscribe()}})},t.concat=function(n){var r=this;return e.create(function(o){var a;return r.subscribe({start:function(l){a=l},next:o.next,error:o.error,complete:function(){a=n.subscribe(o)}}),function(){a&&a.unsubscribe()}})},t.do=function(n){var r=this;return e.create(function(o){var a=function(l){return function(){try{n[l]&&n[l].apply(n,arguments)}catch(u){ur(u,!0)}o[l]&&o[l].apply(o,arguments)}};return r.subscribe({start:a("start"),next:a("next"),error:a("error"),complete:a("complete"),unsubscribe:a("unsubscribe")})})},t.finally=function(n){var r=this;return e.create(function(o){var a=r.subscribe(o);return function(){a.unsubscribe(),n()}})},t.ifEmpty=function(n){var r=this;return e.create(function(o){var a=!1,s;return s=r.subscribe({next:function(u){a=!0,o.next(u)},error:o.error,complete:function(){a?o.complete():s=n.subscribe(o)}}),function(){s&&s.unsubscribe()}})},t.subscribe=function(n){if(process.env.NODE_ENV!=="production"&&(!n||typeof n!="object"))throw new Error("Observer must be an Object with callbacks: "+String(n));return n2(this._source,n)},t.map=function(n){var r=this;return e.create(function(o){var a=r.subscribe({complete:o.complete,error:o.error,next:function(l){try{var u=n(l);o.next(u)}catch(c){o.error(c,!0)}}});return function(){a.unsubscribe()}})},t.mergeMap=function(n){var r=this;return e.create(function(o){var a=[];function s(u){this._sub=u,a.push(u)}function l(){a.splice(a.indexOf(this._sub),1),a.length===0&&o.complete()}return r.subscribe({start:s,next:function(c){try{o.closed||e.from(n(c)).subscribe({start:s,next:o.next,error:o.error,complete:l})}catch(d){o.error(d,!0)}},error:o.error,complete:l}),function(){a.forEach(function(u){return u.unsubscribe()}),a.length=0}})},t.poll=function(n){var r=this;if(process.env.NODE_ENV!=="production"&&(typeof n!="number"||n<=0))throw new Error("RelayObservable: Expected pollInterval to be positive, got: "+n);return e.create(function(o){var a,s,l=function u(){a=r.subscribe({next:o.next,error:o.error,complete:function(){s=setTimeout(u,n)}})};return l(),function(){clearTimeout(s),a.unsubscribe()}})},t.toPromise=function(){var n=this;return new Promise(function(r,o){var a=!1;n.subscribe({next:function(l){a||(a=!0,r(l))},error:o,complete:r})})},e})();function XB(e){return typeof e=="object"&&e!==null&&typeof e.subscribe=="function"}function e2(e){return e instanceof yi?e:yi.create(function(t){return e.subscribe(t)})}function t2(e){return yi.create(function(t){e.then(function(i){t.next(i),t.complete()},t.error)})}function r2(e){return yi.create(function(t){t.next(e),t.complete()})}function n2(e,t){var i=!1,n,r=function(u){return Object.defineProperty(u,"closed",{get:function(){return i}})};function o(){if(n){if(n.unsubscribe)n.unsubscribe();else try{n()}catch(l){ur(l,!0)}n=void 0}}var a=r({unsubscribe:function(){if(!i){i=!0;try{t.unsubscribe&&t.unsubscribe(a)}catch(u){ur(u,!0)}finally{o()}}}});try{t.start&&t.start(a)}catch(l){ur(l,!0)}if(i)return a;var s=r({next:function(u){if(!i&&t.next)try{t.next(u)}catch(c){ur(c,!0)}},error:function(u,c){if(i||!t.error)i=!0,ur(u,c||!1),o();else{i=!0;try{t.error(u)}catch(d){ur(d,!0)}finally{o()}}},complete:function(){if(!i){i=!0;try{t.complete&&t.complete()}catch(u){ur(u,!0)}finally{o()}}}});try{n=e(s)}catch(l){s.error(l,!0)}if(process.env.NODE_ENV!=="production"&&n!==void 0&&typeof n!="function"&&(!n||typeof n.unsubscribe!="function"))throw new Error("Returned cleanup function which cannot be called: "+String(n));return i&&o(),a}function i2(e,t){}process.env.NODE_ENV!=="production"&&yi.onUnhandledError(function(e,t){typeof fail=="function"?fail(String(e)):t?setTimeout(function(){throw e}):typeof console<"u"&&console.error("RelayObservable: Unhandled Error",e)});QI.exports=yi});var ny=S((yde,YI)=>{"use strict";var GI=K().default,o2=GI(Re()),Bu=GI(Ze()),a2=cr(),HI=j(),s2=(function(){function e(){var i=this;(0,Bu.default)(this,"_complete",!1),(0,Bu.default)(this,"_events",[]),(0,Bu.default)(this,"_sinks",new Set),(0,Bu.default)(this,"_subscription",[]),this._observable=a2.create(function(n){i._sinks.add(n);for(var r=i._events,o=0;o<r.length&&!n.closed;o++){var a=r[o];switch(a.kind){case"complete":n.complete();break;case"error":n.error(a.error);break;case"next":n.next(a.data);break;default:a.kind,process.env.NODE_ENV!=="production"?HI(!1,"RelayReplaySubject: Unknown event kind `%s`.",a.kind):HI(!1)}}return function(){i._sinks.delete(n)}})}var t=e.prototype;return t.complete=function(){this._complete!==!0&&(this._complete=!0,this._events.push({kind:"complete"}),this._sinks.forEach(function(n){return n.complete()}))},t.error=function(n){this._complete!==!0&&(this._complete=!0,this._events.push({kind:"error",error:n}),this._sinks.forEach(function(r){return r.error(n)}))},t.next=function(n){this._complete!==!0&&(this._events.push({kind:"next",data:n}),this._sinks.forEach(function(r){return r.next(n)}))},t.subscribe=function(n){var r=this._observable.subscribe(n);return this._subscription.push(r),r},t.unsubscribe=function(){var n=(0,o2.default)(this._subscription),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;o.unsubscribe()}}catch(a){n.e(a)}finally{n.f()}this._subscription=[]},t.getObserverCount=function(){return this._sinks.size},e})();YI.exports=s2});var Qu=S((_de,tN)=>{"use strict";var iy=cr(),WI=ny(),Zu=j(),l2=typeof WeakMap=="function",JI=l2?new WeakMap:new Map;function u2(e,t){return XI(e,t.request.identifier,function(){return e.execute({operation:t})})}function XI(e,t,i){return iy.create(function(n){var r=oy(e),o=r.get(t);return o||i().finally(function(){return r.delete(t)}).subscribe({start:function(s){o={identifier:t,subject:new WI,subjectForInFlightStatus:new WI,subscription:s,promise:null},r.set(t,o)},next:function(s){var l=Ku(r,t);l.subject.next(s),l.subjectForInFlightStatus.next(s)},error:function(s){var l=Ku(r,t);l.subject.error(s),l.subjectForInFlightStatus.error(s)},complete:function(){var s=Ku(r,t);s.subject.complete(),s.subjectForInFlightStatus.complete()},unsubscribe:function(s){var l=Ku(r,t);l.subject.unsubscribe(),l.subjectForInFlightStatus.unsubscribe()}}),o==null&&(process.env.NODE_ENV!=="production"?Zu(!1,"[fetchQueryInternal] fetchQueryDeduped: Expected `start` to be called synchronously"):Zu(!1)),c2(r,o).subscribe(n)})}function c2(e,t){return iy.create(function(i){var n=t.subject.subscribe(i);return function(){n.unsubscribe();var r=e.get(t.identifier);if(r){var o=r.subscription;o!=null&&r.subject.getObserverCount()===0&&(o.unsubscribe(),e.delete(t.identifier))}}})}function eN(e,t,i){return iy.create(function(n){var r=i.subjectForInFlightStatus.subscribe({error:n.error,next:function(a){if(!e.isRequestActive(i.identifier)){n.complete();return}n.next()},complete:n.complete,unsubscribe:n.complete});return function(){r.unsubscribe()}})}function d2(e,t){var i=oy(e),n=i.get(t.identifier);if(!n||!e.isRequestActive(n.identifier))return null;var r=new Promise(function(o,a){var s=!1;eN(e,i,n).subscribe({complete:o,error:a,next:function(u){s&&o(u)}}),s=!0});return r}function f2(e,t){var i=oy(e),n=i.get(t.identifier);return!n||!e.isRequestActive(n.identifier)?null:eN(e,i,n)}function oy(e){var t=JI.get(e);if(t!=null)return t;var i=new Map;return JI.set(e,i),i}function Ku(e,t){var i=e.get(t);return i==null&&(process.env.NODE_ENV!=="production"?Zu(!1,"[fetchQueryInternal] getCachedRequest: Expected request to be cached"):Zu(!1)),i}tN.exports={fetchQuery:u2,fetchQueryDeduped:XI,getPromiseForActiveRequest:d2,getObservableForActiveRequest:f2}});var Hu=S((bde,rN)=>{"use strict";var p2=Qu(),m2=p2.getPromiseForActiveRequest;function h2(e,t,i){var n,r,o=[],a=m2(e,i);if(a!=null)o=[i];else{var s,l,u=e.getOperationTracker(),c=u.getPendingOperationsAffectingOwner(i);o=(s=c?.pendingOperations)!==null&&s!==void 0?s:[],a=(l=c?.promise)!==null&&l!==void 0?l:null}if(!a)return null;var d=(n=(r=o)===null||r===void 0?void 0:r.map(function(m){return m.node.params.name}).join(","))!==null&&n!==void 0?n:null;(d==null||d.length===0)&&(d="Unknown pending operation");var f=t.name,p=d===f?"Relay(".concat(d,")"):"Relay(".concat(d,":").concat(f,")");return a.displayName=p,e.__log({name:"pendingoperation.found",fragment:t,fragmentOwner:i,pendingOperations:o}),{promise:a,pendingOperations:o}}rN.exports=h2});var sy=S((Ede,oN)=>{"use strict";var v2=ty().default,g2=cr(),y2=ft(),_2=y2.getFragment,b2=Hu(),E2=vi(),S2=E2.handlePotentialSnapshotErrors,x2=pt(),w2=x2.getSelector,Lt=j();function k2(e,t,i){return ay.apply(this,arguments)}function ay(){return ay=v2(function*(e,t,i){var n;try{var r,o=yield new Promise(function(s,l){n=iN(e,t,i).subscribe({next:function(c){c.state==="ok"?s(c.value):c.state==="error"&&l(c.error)}})});return(r=n)===null||r===void 0||r.unsubscribe(),o}catch(s){var a;throw(a=n)===null||a===void 0||a.unsubscribe(),s}}),ay.apply(this,arguments)}function iN(e,t,i){var n,r=_2(t),o=w2(r,i);switch(((n=r.metadata)===null||n===void 0?void 0:n.hasClientEdges)!=null&&(process.env.NODE_ENV!=="production"?Lt(!1,"Client edges aren't supported yet."):Lt(!1)),o==null&&(process.env.NODE_ENV!=="production"?Lt(!1,"Expected a selector, got null."):Lt(!1)),o.kind){case"SingularReaderSelector":return R2(e,t,o);case"PluralReaderSelector":process.env.NODE_ENV!=="production"?Lt(!1,"Plural fragments are not supported"):Lt(!1)}process.env.NODE_ENV!=="production"?Lt(!1,"Unsupported fragment selector kind"):Lt(!1)}function R2(e,t,i){var n=e.lookup(i);return g2.create(function(r){r.next(nN(e,t,i.owner,n));var o=e.subscribe(n,function(a){r.next(nN(e,t,i.owner,a))});return function(){return o.dispose()}})}function nN(e,t,i,n){var r=n.missingLiveResolverFields!=null&&n.missingLiveResolverFields.length>0,o=n.missingClientEdges!=null&&n.missingClientEdges.length>0;if(r||o)return{state:"loading"};if(n.isMissingData){var a=b2(e,t,i);if(a!=null)return{state:"loading"}}try{S2(e,n.errorResponseFields)}catch(s){return{error:s,state:"error"}}return n.data==null&&(process.env.NODE_ENV!=="production"?Lt(!1,"Expected data to be non-null."):Lt(!1)),{state:"ok",value:n.data}}oN.exports={observeFragment:iN,waitForFragmentData:k2}});var sN=S((Sde,aN)=>{"use strict";var I2=ty().default,N2=sy(),O2=N2.observeFragment;function P2(e,t,i){return ly.apply(this,arguments)}function ly(){return ly=I2(function*(e,t,i){var n;try{var r,o=yield new Promise(function(s,l){n=O2(e,t,i).subscribe({next:function(c){c.state==="ok"?s(c.value):c.state==="error"&&l(c.error)}})});return(r=n)===null||r===void 0||r.unsubscribe(),o}catch(s){var a;throw(a=n)===null||a===void 0||a.unsubscribe(),s}}),ly.apply(this,arguments)}aN.exports={waitForFragmentData:P2}});var uN=S((xde,lN)=>{"use strict";var T2=BI(),C2=sy(),D2=C2.observeFragment,$2=sN(),A2=$2.waitForFragmentData;function q2(e){return e.ok===!0}function L2(e){return e.ok===!1}lN.exports={resolverDataInjector:T2,isValueResult:q2,isErrorResult:L2,observeFragment:D2,waitForFragmentData:A2}});var Ft=S((wde,cN)=>{"use strict";var F2={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_RELAY_RESOLVERS:!1,ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION:!1,ENABLE_FRIENDLY_QUERY_NAME_GQL_URL:!1,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_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS:!1,ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION:!1,ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES:!1,ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE:!1,PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION:!1,MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD:!1,ENABLE_CYLE_DETECTION_IN_VARIABLES:!1,ENABLE_ACTIVITY_COMPATIBILITY:!1,ENABLE_READ_TIME_RESOLVER_STORAGE_KEY_PREFIX:!0};cN.exports=F2});var uy=S((kde,mN)=>{"use strict";var dN=new Map,M2=1,j2=U2(),pN=" ",fN="\v";function U2(){for(var e=new Set,t=0;t<10;++t)e.add(t.toString());return e}function V2(e){return e[0]===pN&&j2.has(e[1])||e[0]===fN?fN+e:e}function z2(e,t){if(t==null||e.length<t)return V2(e);var i=dN.get(e);return i!=null||(i=pN+M2++,dN.set(e,i)),i}mN.exports={intern:z2}});var Et=S((Rde,vN)=>{"use strict";var hN=Ft(),B2=uy(),K2=B2.intern,$a="client:";function Z2(e,t,i){var n=hN.STRING_INTERN_LEVEL<=0?e:K2(e,hN.MAX_DATA_ID_LENGTH),r=n+":"+t;return i!=null&&(r+=":"+i),r.indexOf($a)!==0&&(r=$a+r),r}function Q2(e){return e.indexOf($a)===0}var H2=0;function G2(){return"".concat($a,"local:").concat(H2++)}function Y2(e,t,i){var n="".concat($a).concat(e,":").concat(t);return i!=null&&(n+=":"+i),n}vN.exports={generateClientID:Z2,generateClientObjectClientID:Y2,generateUniqueClientID:G2,isClientID:Q2}});var Gu=S((Ide,yN)=>{"use strict";var W2={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},gN={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"},J2={inject:function(t){gN=t},get:function(){return gN},isConnectionCall:function(t){return W2.hasOwnProperty(t.name)}};yN.exports=J2});var qa=S((Nde,xN)=>{"use strict";var X2=Et(),Aa=X2.generateClientID,eK=ye(),tK=eK.getStableStorageKey,EN=Lu(),Sn=Gu(),_N=j(),bN=ce(),SN="connection",Wu="__connection_next_edge_index";function rK(e,t){var i=e.get(t.dataID);if(i){var n=Sn.get(),r=n.EDGES,o=n.END_CURSOR,a=n.HAS_NEXT_PAGE,s=n.HAS_PREV_PAGE,l=n.PAGE_INFO,u=n.PAGE_INFO_TYPE,c=n.START_CURSOR,d=i.getLinkedRecord(t.fieldKey),f=d&&d.getLinkedRecord(l);if(!d){i.setValue(null,t.handleKey,void 0,i.getErrors(t.fieldKey));return}var p=Aa(i.getDataID(),t.handleKey),m=i.getLinkedRecord(t.handleKey),h=m??e.get(p),v=h&&h.getLinkedRecord(l);if(h){m==null&&i.setLinkedRecord(h,t.handleKey);var g=h,y=d.getLinkedRecords(r);y&&(y=y.map(function(Z){return cy(e,g,Z)}));var E=g.getLinkedRecords(r),x=g.getLinkedRecord(l);g.copyFieldsFrom(d),E&&g.setLinkedRecords(E,r),x&&g.setLinkedRecord(x,l);var k=[],w=t.args;if(E&&y)if(w.after!=null){var I,P=(I=v)===null||I===void 0?void 0:I.getValue(o),C=f?.getValue(o),T=v&&w.after===P,N=v&&P===C;if(T||N){var $=new Set;Yu(E,k,$),Yu(y,k,$)}else{process.env.NODE_ENV!=="production"&&bN(!1,"Relay: Unexpected after cursor `%s`, edges must be fetched from the end of the list (`%s`).",w.after,v&&v.getValue(o));return}}else if(w.before!=null)if(v&&w.before===v.getValue(c)){var M=new Set;Yu(y,k,M),Yu(E,k,M)}else{process.env.NODE_ENV!=="production"&&bN(!1,"Relay: Unexpected before cursor `%s`, edges must be fetched from the beginning of the list (`%s`).",w.before,v&&v.getValue(c));return}else k=y;else y?k=y:k=E;if(k!=null&&k!==E&&g.setLinkedRecords(k,r),v&&f){if(w.after==null&&w.before==null)v.copyFieldsFrom(f);else if(w.before!=null||w.after==null&&w.last){v.setValue(!!f.getValue(s),s);var U=f.getValue(c);typeof U=="string"&&v.setValue(U,c)}else if(w.after!=null||w.before==null&&w.first){v.setValue(!!f.getValue(a),a);var B=f.getValue(o);typeof B=="string"&&v.setValue(B,o)}}}else{var _=e.create(p,d.getType());_.setValue(0,Wu),_.copyFieldsFrom(d);var b=d.getLinkedRecords(r);b&&(b=b.map(function(Z){return cy(e,_,Z)}),_.setLinkedRecords(b,r)),i.setLinkedRecord(_,t.handleKey),v=e.create(Aa(_.getDataID(),l),u),v.setValue(!1,a),v.setValue(!1,s),v.setValue(null,o),v.setValue(null,c),f&&v.copyFieldsFrom(f),_.setLinkedRecord(v,l)}}}function nK(e,t,i){var n=EN(SN,t,null);return e.getLinkedRecord(n,i)}function iK(e,t,i){var n=EN(SN,t,null),r=tK(n,i);return Aa(e,r)}function oK(e,t,i){var n=Sn.get(),r=n.CURSOR,o=n.EDGES,a=e.getLinkedRecords(o);if(!a){e.setLinkedRecords([t],o);return}var s;if(i==null)s=a.concat(t);else{s=[];for(var l=!1,u=0;u<a.length;u++){var c=a[u];if(s.push(c),c!=null){var d=c.getValue(r);i===d&&(s.push(t),l=!0)}}l||s.push(t)}e.setLinkedRecords(s,o)}function aK(e,t,i,n){var r=Sn.get(),o=r.NODE,a=Aa(t.getDataID(),i.getDataID()),s=e.get(a);return s||(s=e.create(a,n)),s.setLinkedRecord(i,o),s.getValue("cursor")==null&&s.setValue(null,"cursor"),s}function sK(e,t,i){var n=Sn.get(),r=n.CURSOR,o=n.EDGES,a=e.getLinkedRecords(o);if(!a){e.setLinkedRecords([t],o);return}var s;if(i==null)s=[t].concat(a);else{s=[];for(var l=!1,u=0;u<a.length;u++){var c=a[u];if(c!=null){var d=c.getValue(r);i===d&&(s.push(t),l=!0)}s.push(c)}l||s.unshift(t)}e.setLinkedRecords(s,o)}function lK(e,t){var i=Sn.get(),n=i.EDGES,r=i.NODE,o=e.getLinkedRecords(n);if(o){for(var a,s=0;s<o.length;s++){var l=o[s],u=l&&l.getLinkedRecord(r);u!=null&&u.getDataID()===t?a===void 0&&(a=o.slice(0,s)):a!==void 0&&a.push(l)}a!==void 0&&e.setLinkedRecords(a,n)}}function cy(e,t,i){if(i==null)return i;var n=Sn.get(),r=n.EDGES,o=t.getValue(Wu);typeof o!="number"&&(process.env.NODE_ENV!=="production"?_N(!1,"ConnectionHandler: Expected %s to be a number, got `%s`.",Wu,o):_N(!1));var a=Aa(t.getDataID(),r,o),s=e.create(a,i.getType());return s.copyFieldsFrom(i),s.getValue("cursor")==null&&s.setValue(null,"cursor"),t.setValue(o+1,Wu),s}function Yu(e,t,i){for(var n=Sn.get(),r=n.NODE,o=0;o<e.length;o++){var a=e[o];if(a){var s=a.getLinkedRecord(r),l=s&&s.getDataID();if(l){if(i.has(l))continue;i.add(l)}t.push(a)}}}xN.exports={buildConnectionEdge:cy,createEdge:aK,deleteNode:lK,getConnection:nK,getConnectionID:iK,insertEdgeAfter:oK,insertEdgeBefore:sK,update:rK}});var dy=S((Ode,IN)=>{"use strict";var uK=K().default,La=uK(Re()),xn=qa(),wN=Gu(),mt=j(),Fa=ce(),cK={update:function(t,i){var n=t.get(i.dataID);if(n!=null){var r=n.getValue(i.fieldKey);typeof r=="string"?t.delete(r):Array.isArray(r)&&r.forEach(function(o){typeof o=="string"&&t.delete(o)})}}},dK={update:function(t,i){var n=t.get(i.dataID);if(n!=null){var r=i.handleArgs.connections;r==null&&(process.env.NODE_ENV!=="production"?mt(!1,"MutationHandlers: Expected connection IDs to be specified."):mt(!1));var o=n.getValue(i.fieldKey),a=Array.isArray(o)?o:[o];a.forEach(function(s){if(typeof s=="string"){var l=(0,La.default)(r),u;try{for(l.s();!(u=l.n()).done;){var c=u.value,d=t.get(c);if(d==null){process.env.NODE_ENV!=="production"&&Fa(!1,"[Relay] The connection with id `%s` doesn't exist.",c);continue}xn.deleteNode(d,s)}}catch(f){l.e(f)}finally{l.f()}}})}}},fK={update:kN(xn.insertEdgeAfter)},pK={update:kN(xn.insertEdgeBefore)},mK={update:RN(xn.insertEdgeAfter)},hK={update:RN(xn.insertEdgeBefore)};function kN(e){return function(t,i){var n,r=t.get(i.dataID);if(r!=null){var o=i.handleArgs.connections;o==null&&(process.env.NODE_ENV!=="production"?mt(!1,"MutationHandlers: Expected connection IDs to be specified."):mt(!1));var a,s;try{a=r.getLinkedRecord(i.fieldKey)}catch{}if(!a)try{s=r.getLinkedRecords(i.fieldKey)}catch{}if(a==null&&s==null){process.env.NODE_ENV!=="production"&&Fa(!1,"MutationHandlers: Expected the server edge to be non-null.");return}var l=wN.get(),u=l.NODE,c=l.EDGES,d=(n=s)!==null&&n!==void 0?n:[a],f=(0,La.default)(d),p;try{var m=function(){var b=p.value;if(b==null)return"continue";var g=b.getLinkedRecord("node");if(!g)return"continue";var y=g.getDataID(),E=(0,La.default)(o),x;try{for(E.s();!(x=E.n()).done;){var k=x.value,w=t.get(k);if(w==null){process.env.NODE_ENV!=="production"&&Fa(!1,"[Relay] The connection with id `%s` doesn't exist.",k);continue}var I=(h=w.getLinkedRecords(c))===null||h===void 0?void 0:h.some(function(C){var T;return(C==null||(T=C.getLinkedRecord(u))===null||T===void 0?void 0:T.getDataID())===y});if(!I){var P=xn.buildConnectionEdge(t,w,b);P==null&&(process.env.NODE_ENV!=="production"?mt(!1,"MutationHandlers: Failed to build the edge."):mt(!1)),e(w,P)}}}catch(C){E.e(C)}finally{E.f()}};for(f.s();!(p=f.n()).done;)var h,v=m()}catch(_){f.e(_)}finally{f.f()}}}}function RN(e){return function(t,i){var n,r=t.get(i.dataID);if(r!=null){var o=i.handleArgs,a=o.connections,s=o.edgeTypeName;a==null&&(process.env.NODE_ENV!=="production"?mt(!1,"MutationHandlers: Expected connection IDs to be specified."):mt(!1)),s==null&&(process.env.NODE_ENV!=="production"?mt(!1,"MutationHandlers: Expected edge typename to be specified."):mt(!1));var l,u;try{l=r.getLinkedRecord(i.fieldKey)}catch{}if(!l)try{u=r.getLinkedRecords(i.fieldKey)}catch{}if(l==null&&u==null){process.env.NODE_ENV!=="production"&&Fa(!1,"MutationHandlers: Expected target node to exist.");return}var c=wN.get(),d=c.NODE,f=c.EDGES,p=(n=u)!==null&&n!==void 0?n:[l],m=(0,La.default)(p),h;try{var v=function(){var y=h.value;if(y==null)return"continue";var E=y.getDataID(),x=(0,La.default)(a),k;try{for(x.s();!(k=x.n()).done;){var w=k.value,I=t.get(w);if(I==null){process.env.NODE_ENV!=="production"&&Fa(!1,"[Relay] The connection with id `%s` doesn't exist.",w);continue}var P=(_=I.getLinkedRecords(f))===null||_===void 0?void 0:_.some(function(T){var N;return(T==null||(N=T.getLinkedRecord(d))===null||N===void 0?void 0:N.getDataID())===E});if(!P){var C=xn.createEdge(t,I,y,s);C==null&&(process.env.NODE_ENV!=="production"?mt(!1,"MutationHandlers: Failed to build the edge."):mt(!1)),e(I,C)}}}catch(T){x.e(T)}finally{x.f()}};for(m.s();!(h=m.n()).done;)var _,b=v()}catch(g){m.e(g)}finally{m.f()}}}}IN.exports={AppendEdgeHandler:fK,DeleteRecordHandler:cK,PrependEdgeHandler:pK,AppendNodeHandler:mK,PrependNodeHandler:hK,DeleteEdgeHandler:dK}});var fy=S((Pde,ON)=>{"use strict";var vK=qa(),_i=dy(),NN=j();function gK(e){switch(e){case"connection":return vK;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}process.env.NODE_ENV!=="production"?NN(!1,"RelayDefaultHandlerProvider: No handler provided for `%s`.",e):NN(!1)}ON.exports=gK});var Ju=S((Tde,PN)=>{"use strict";function yK(e){return!!(e&&e["@@RelayModernEnvironment"])}PN.exports=yK});var wn=S((Cde,CN)=>{"use strict";function TN(e){return _K(e)&&(Object.freeze(e),Object.getOwnPropertyNames(e).forEach(function(t){var i=e[t];i&&typeof i=="object"&&!Object.isFrozen(i)&&TN(i)})),e}function _K(e){return e!=null&&(Array.isArray(e)||typeof e=="object"&&e.constructor===Object)}CN.exports=TN});var py=S((Dde,$N)=>{"use strict";var bK=qr(),EK=bK.stableCopy,DN=j();function SK(e,t){var i=e.cacheID!=null?e.cacheID:e.id;return i==null&&(process.env.NODE_ENV!=="production"?DN(!1,"getRequestIdentifier: Expected request `%s` to have either a valid `id` or `cacheID` property",e.name):DN(!1)),i+JSON.stringify(EK(t))}$N.exports=SK});var Lr=S(($de,FN)=>{"use strict";var xK=wn(),wK=py(),kK=Ft(),RK=qr(),IK=RK.hasCycle,NK=lr(),OK=NK.getOperationVariables,qN=pt(),PK=qN.createNormalizationSelector,TK=qN.createReaderSelector,CK=ye(),DK=CK.ROOT_ID,AN=j();function $K(e,t,i){var n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:DK,r=e.operation,o=OK(r,e.params.providedVariables,t);kK.ENABLE_CYLE_DETECTION_IN_VARIABLES&&IK(o)&&(process.env.NODE_ENV!=="production"?AN(!1,"Cycle detected in variables passed to operation `%s`.",e.operation.name):AN(!1));var a=LN(e,o,i),s={fragment:TK(e.fragment,n,o,a),request:a,root:PK(r,n,o)};return process.env.NODE_ENV!=="production"&&(Object.freeze(s.fragment),Object.freeze(s.root),Object.freeze(s)),s}function LN(e,t,i){var n={identifier:wK(e.params,t),node:e,variables:t,cacheConfig:i};return process.env.NODE_ENV!=="production"&&(xK(t),Object.freeze(e),Object.freeze(n)),n}FN.exports={createOperationDescriptor:$K,createRequestDescriptor:LN}});var Ma=S((Ade,MN)=>{"use strict";var AK=K().default,my=AK(Re()),bi=qa(),Ei=ce(),qK=Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"}),LK=Object.freeze({APPEND:"append",PREPEND:"prepend"});function FK(e,t,i,n){var r=i?[i]:[],o=n?[n]:[];return e.forEach(function(a){switch(a.type){case"NODE_DELETE":var s=MK(a,t);s&&(r.push(s),o.push(s));break;case"RANGE_ADD":var l=jK(a,t);l&&(r.push(l),o.push(l));break;case"RANGE_DELETE":var u=UK(a,t);u&&(r.push(u),o.push(u));break}}),{optimisticUpdater:function(s,l){r.forEach(function(u){u(s,l)})},updater:function(s,l){o.forEach(function(u){u(s,l)})}}}function MK(e,t){var i=e.deletedIDFieldName,n=hy(t);return n?function(r,o){var a=r.getRootField(n);if(a){var s=a.getValue(i),l=Array.isArray(s)?s:[s];l.forEach(function(u){u&&typeof u=="string"&&r.delete(u)})}}:null}function jK(e,t){var i=e.parentID,n=e.connectionInfo,r=e.edgeName;if(!i)return process.env.NODE_ENV!=="production"&&Ei(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_ADD to work you must include a parentID"),null;var o=hy(t);return!n||!o?null:function(a,s){var l=a.get(i);if(l){var u=a.getRootField(o);if(u){var c=u.getLinkedRecord(r),d=(0,my.default)(n),f;try{for(d.s();!(f=d.n()).done;){var p=f.value;if(c){var m=bi.getConnection(l,p.key,p.filters);if(m){var h=bi.buildConnectionEdge(a,m,c);if(h)switch(p.rangeBehavior){case"append":bi.insertEdgeAfter(m,h);break;case"prepend":bi.insertEdgeBefore(m,h);break;default:process.env.NODE_ENV!=="production"&&Ei(!1,"RelayDeclarativeMutationConfig: RANGE_ADD range behavior `%s` will not work as expected in RelayModern, supported range behaviors are 'append', 'prepend'.",p.rangeBehavior);break}}}}}catch(v){d.e(v)}finally{d.f()}}}}}function UK(e,t){var i=e.parentID,n=e.connectionKeys,r=e.pathToConnection,o=e.deletedIDFieldName;if(!i)return process.env.NODE_ENV!=="production"&&Ei(!1,"RelayDeclarativeMutationConfig: For mutation config RANGE_DELETE to work you must include a parentID"),null;var a=hy(t);return a?function(s,l){if(l){var u=[],c=l[a];if(c&&Array.isArray(o)){var d=(0,my.default)(o),f;try{for(d.s();!(f=d.n()).done;){var p=f.value;c&&typeof c=="object"&&(c=c[p])}}catch(m){d.e(m)}finally{d.f()}Array.isArray(c)?c.forEach(function(m){m&&m.id&&typeof m=="object"&&typeof m.id=="string"&&u.push(m.id)}):c&&c.id&&typeof c.id=="string"&&u.push(c.id)}else c&&typeof o=="string"&&typeof c=="object"&&(c=c[o],typeof c=="string"?u.push(c):Array.isArray(c)&&c.forEach(function(m){typeof m=="string"&&u.push(m)}));VK(i,n,r,s,u)}}:null}function VK(e,t,i,n,r){process.env.NODE_ENV!=="production"&&Ei(t!=null,"RelayDeclarativeMutationConfig: RANGE_DELETE must provide a connectionKeys");var o=n.get(e);if(o){if(i.length<2){process.env.NODE_ENV!=="production"&&Ei(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection must include at least parent and connection");return}for(var a=o,s=1;s<i.length-1;s++)a&&(a=a.getLinkedRecord(i[s]));if(!t||!a){process.env.NODE_ENV!=="production"&&Ei(!1,"RelayDeclarativeMutationConfig: RANGE_DELETE pathToConnection is incorrect. Unable to find connection with parentID: %s and path: %s",e,i.toString());return}var l=(0,my.default)(t),u;try{var c=function(){var f=u.value,p=bi.getConnection(a,f.key,f.filters);p&&r.forEach(function(m){bi.deleteNode(p,m)})};for(l.s();!(u=l.n()).done;)c()}catch(d){l.e(d)}finally{l.f()}}}function hy(e){return e.fragment.selections&&e.fragment.selections.length>0&&e.fragment.selections[0].kind==="LinkedField"?e.fragment.selections[0].name:null}MN.exports={MutationTypes:qK,RangeOperations:LK,convert:FK}});var VN=S((qde,UN)=>{"use strict";var zK=ft(),BK=zK.getRequest,KK=Ju(),ZK=Lr(),QK=ZK.createOperationDescriptor,HK=Ma(),jN=j();function GK(e,t){KK(e)||(process.env.NODE_ENV!=="production"?jN(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`."):jN(!1));var i=BK(t.mutation);if(i.params.operationKind!=="mutation")throw new Error("commitMutation: Expected mutation operation");var n=t.optimisticUpdater,r=t.configs,o=t.optimisticResponse,a=t.variables,s=QK(i,a);if(r){var l=HK.convert(r,i,n);n=l.optimisticUpdater}return e.applyMutation({operation:s,response:o,updater:n})}UN.exports=GK});var BN=S((Lde,zN)=>{"use strict";function YK(e,t){e.commitUpdate(t)}zN.exports=YK});var JN=S((Fde,WN)=>{"use strict";var WK=K().default,Si=WK(de()),KN=ce(),ZN=Object.prototype.hasOwnProperty,YN=function(){};process.env.NODE_ENV!=="production"&&(ja=function(t,i,n){var r=i;t.split(".").forEach(function(o,a,s){r[o]==null&&(r[o]={}),n&&a===s.length-1&&(r[o]="<scalar>"),r=r[o]})},YN=function(t,i,n){var r=i.operation.name,o={path:"ROOT",visitedPaths:new Set,variables:n||{},missingDiff:{},extraDiff:{},moduleImportPaths:new Set};xi(t,i.operation.selections,o),GN(t,o),process.env.NODE_ENV!=="production"&&KN(o.missingDiff.ROOT==null,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please define fields for all of\n%s",r,JSON.stringify(o.missingDiff.ROOT,null,2)),process.env.NODE_ENV!=="production"&&KN(o.extraDiff.ROOT==null,"Expected `optimisticResponse` to match structure of server response for mutation `%s`, please remove all fields of\n%s",r,JSON.stringify(o.extraDiff.ROOT,null,2))},xi=function(t,i,n){i.forEach(function(r){return QN(t,r,n)})},QN=function e(t,i,n){switch(i.kind){case"Condition":xi(t,i.selections,n);return;case"ClientComponent":case"FragmentSpread":xi(t,i.fragment.selections,n);return;case"ScalarField":case"LinkedField":return gy(t,i,n);case"ActorChange":return gy(t,i.linkedField,n);case"InlineFragment":var r=i.type,o=i.abstractKey==null;vy(n,i.abstractKey),i.selections.forEach(function(a){o&&t.__typename!==r||e(t,a,n)});return;case"ClientExtension":i.selections.forEach(function(a){e(t,a,n)});return;case"ModuleImport":return HN(n);case"TypeDiscriminator":return vy(n,i.abstractKey);case"RelayResolver":case"RelayLiveResolver":case"ClientEdgeToClientObject":case"LinkedHandle":case"ScalarHandle":case"Defer":case"Stream":return;default:return}},HN=function(t){t.moduleImportPaths.add(t.path)},vy=function(t,i){if(i!=null){var n="".concat(t.path,".").concat(i);t.visitedPaths.add(n)}},gy=function(t,i,n){var r=i.alias||i.name,o="".concat(n.path,".").concat(r);switch(n.visitedPaths.add(o),i.kind){case"ScalarField":ZN.call(t,r)===!1&&ja(o,n.missingDiff,!0);return;case"LinkedField":var a=i.selections;if(t[r]===null||ZN.call(t,r)&&t[r]===void 0)return;if(i.plural)if(Array.isArray(t[r])){t[r].forEach(function(s){s!==null&&xi(s,a,(0,Si.default)((0,Si.default)({},n),{},{path:o}))});return}else{ja(o,n.missingDiff);return}else if(t[r]instanceof Object){xi(t[r],a,(0,Si.default)((0,Si.default)({},n),{},{path:o}));return}else{ja(o,n.missingDiff);return}}},GN=function e(t,i){if(Array.isArray(t)){t.forEach(function(n){n instanceof Object&&e(n,i)});return}Object.keys(t).forEach(function(n){var r=t[n],o="".concat(i.path,".").concat(n);if(!i.moduleImportPaths.has(o)){if(!i.visitedPaths.has(o)){ja(o,i.extraDiff);return}r instanceof Object&&e(r,(0,Si.default)((0,Si.default)({},i),{},{path:o}))}})});var ja,xi,QN,HN,vy,gy,GN;WN.exports=YN});var rO=S((Mde,tO)=>{"use strict";var JK=K().default,XN=JK(qt()),XK=ft(),eZ=XK.getRequest,tZ=Et(),rZ=tZ.generateUniqueClientID,nZ=Ju(),iZ=Lr(),oZ=iZ.createOperationDescriptor,aZ=Ma(),sZ=JN(),eO=j(),lZ=ce();function uZ(e,t){nZ(e)||(process.env.NODE_ENV!=="production"?eO(!1,"commitMutation: expected `environment` to be an instance of `RelayModernEnvironment`."):eO(!1));var i=eZ(t.mutation);if(i.params.operationKind!=="mutation")throw new Error("commitMutation: Expected mutation operation");if(i.kind!=="Request")throw new Error("commitMutation: Expected mutation to be of type request");var n=t.optimisticResponse,r=t.optimisticUpdater,o=t.updater,a=t.configs,s=t.cacheConfig,l=t.onError,u=t.onUnsubscribe,c=t.variables,d=t.uploadables,f=oZ(i,c,s,rZ());if(typeof n=="function"&&(n=n(),process.env.NODE_ENV!=="production"&&lZ(!1,"commitMutation: Expected `optimisticResponse` to be an object, received a function.")),process.env.NODE_ENV!=="production"&&n instanceof Object&&sZ(n,i,c),a){var p=aZ.convert(a,i,r,o);r=p.optimisticUpdater,o=p.updater}var m=[],h=e.executeMutation({operation:f,optimisticResponse:n,optimisticUpdater:r,updater:o,uploadables:d}).subscribe({next:function(_){var b;Array.isArray(_)?_.forEach(function(g){g.errors&&m.push.apply(m,(0,XN.default)(g.errors))}):_.errors&&m.push.apply(m,(0,XN.default)(_.errors)),(b=t.onNext)===null||b===void 0||b.call(t)},complete:function(){var _=t.onCompleted;if(_){var b=e.lookup(f.fragment);_(b.data,m.length!==0?m:null)}},error:l,unsubscribe:u});return{dispose:h.unsubscribe}}tO.exports=uZ});var yy=S((jde,oO)=>{"use strict";var cZ=et(),dZ=ce(),nO=typeof WeakMap=="function",Xu=nO?new WeakMap:new Map;function iO(e,t){if(t!=null){var i={};return Object.assign(i,e),Object.keys(t).forEach(function(n){var r=t[n].get,o=r();if(!Xu.has(r))Xu.set(r,o),i[n]=o;else{var a=Xu.get(r);process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&dZ(cZ(o,a),"Relay: Expected function `%s` for provider `%s` to be a pure function, but got conflicting return values `%s` and `%s`",r.name,n,o,a),i[n]=a}}),i}else return e}iO.tests_only_resetDebugCache=process.env.NODE_ENV!=="production"?function(){Xu=nO?new WeakMap:new Map}:void 0;oO.exports=iO});var lO=S((Ude,sO)=>{"use strict";var aO=cr();function fZ(e){return function(i,n,r,o,a){var s=e(i,n,r,o,a);return s instanceof Error?aO.create(function(l){return l.error(s)}):aO.from(s)}}sO.exports={convertFetch:fZ}});var cO=S((Vde,uO)=>{"use strict";var pZ=yy(),mZ=lO(),hZ=mZ.convertFetch,wi=j();function vZ(e,t){var i=hZ(e);function n(r,o,a,s,l){var u=pZ(o,r.providedVariables);if(r.operationKind==="subscription")return t||(process.env.NODE_ENV!=="production"?wi(!1,"RelayNetwork: This network layer does not support Subscriptions. To use Subscriptions, provide a custom network layer."):wi(!1)),s&&(process.env.NODE_ENV!=="production"?wi(!1,"RelayNetwork: Cannot provide uploadables while subscribing."):wi(!1)),t(r,u,a);var c=a.poll;return c!=null?(s&&(process.env.NODE_ENV!=="production"?wi(!1,"RelayNetwork: Cannot provide uploadables while polling."):wi(!1)),i(r,u,{force:!0}).poll(c)):i(r,u,a,s,l)}return{execute:n}}uO.exports={create:vZ}});var pO=S((zde,fO)=>{"use strict";var gZ=K().default,Fr=gZ(de()),yZ=qr(),_Z=yZ.stableCopy,ec=j(),bZ=(function(){function e(i){var n=i.size,r=i.ttl;n>0||(process.env.NODE_ENV!=="production"?ec(!1,"RelayQueryResponseCache: Expected the max cache size to be > 0, got `%s`.",n):ec(!1)),r>0||(process.env.NODE_ENV!=="production"?ec(!1,"RelayQueryResponseCache: Expected the max ttl to be > 0, got `%s`.",r):ec(!1)),this._responses=new Map,this._size=n,this._ttl=r}var t=e.prototype;return t.clear=function(){this._responses.clear()},t.get=function(n,r){var o=this,a=dO(n,r);this._responses.forEach(function(l,u){EZ(l.fetchTime,o._ttl)||o._responses.delete(u)});var s=this._responses.get(a);return s==null?null:Array.isArray(s.payload)?s.payload.map(function(l){return(0,Fr.default)((0,Fr.default)({},l),{},{extensions:(0,Fr.default)((0,Fr.default)({},l.extensions),{},{cacheTimestamp:s.fetchTime})})}):(0,Fr.default)((0,Fr.default)({},s.payload),{},{extensions:(0,Fr.default)((0,Fr.default)({},s.payload.extensions),{},{cacheTimestamp:s.fetchTime})})},t.set=function(n,r,o){var a=Date.now(),s=dO(n,r);if(this._responses.delete(s),this._responses.set(s,{fetchTime:a,payload:o}),this._responses.size>this._size){var l=this._responses.keys().next();l.done||this._responses.delete(l.value)}},e})();function dO(e,t){return JSON.stringify(_Z({queryID:e,variables:t}))}function EZ(e,t){return e+t>=Date.now()}fO.exports=bZ});var gO=S((Bde,vO)=>{"use strict";var SZ=K().default,xZ=SZ(de()),wZ=cr(),kZ=Lr(),RZ=kZ.createOperationDescriptor,IZ=vi(),NZ=IZ.handlePotentialSnapshotErrors,OZ=Qu(),PZ=ft(),TZ=PZ.getRequest,mO=j();function CZ(e,t,i,n){var r,o=TZ(t);o.params.operationKind!=="query"&&(process.env.NODE_ENV!=="production"?mO(!1,"fetchQuery: Expected query operation"):mO(!1));var a=(0,xZ.default)({force:!0},n?.networkCacheConfig),s=RZ(o,i,a),l=(r=n?.fetchPolicy)!==null&&r!==void 0?r:"network-only";function u(c){return NZ(e,c.errorResponseFields),c.data}switch(l){case"network-only":return hO(e,s).map(u);case"store-or-network":return e.check(s).status==="available"?wZ.from(e.lookup(s.fragment)).map(u):hO(e,s).map(u);default:throw new Error("fetchQuery: Invalid fetchPolicy "+l)}}function hO(e,t){return OZ.fetchQuery(e,t).map(function(){return e.lookup(t.fragment)})}vO.exports=CZ});var _O=S((Kde,yO)=>{"use strict";var DZ=Lr(),$Z=DZ.createOperationDescriptor,AZ=ft(),qZ=AZ.getRequest;function LZ(e,t,i,n){var r=qZ(t);if(r.params.operationKind!=="query")throw new Error("fetchQuery: Expected query operation");var o=$Z(r,i,n);return e.execute({operation:o}).map(function(){return e.lookup(o.fragment).data}).toPromise()}yO.exports=LZ});var EO=S((Zde,bO)=>{"use strict";var FZ=(function(){function e(){this._preloadableQueries=new Map,this._callbacks=new Map}var t=e.prototype;return t.set=function(n,r){this._preloadableQueries.set(n,r);var o=this._callbacks.get(n);o?.forEach(function(a){try{a(r)}catch(s){setTimeout(function(){throw s},0)}})},t.get=function(n){return this._preloadableQueries.get(n)},t.onLoad=function(n,r){var o,a=(o=this._callbacks.get(n))!==null&&o!==void 0?o:new Set;a.add(r);var s=function(){a.delete(r)};return this._callbacks.set(n,a),{dispose:s}},t.clear=function(){this._preloadableQueries.clear()},e})(),MZ=new FZ;bO.exports=MZ});var _y=S((Qde,SO)=>{"use strict";function jZ(e,t){return e===t&&(e===null||typeof e!="object")}SO.exports=jZ});var Ua=S((Hde,xO)=>{"use strict";function UZ(e,t){return by(e,t,!0)}function by(e,t,i){if(e===t||typeof e!="object"||!e||e.constructor!==Object&&!Array.isArray(e)||typeof t!="object"||!t||t.constructor!==Object&&!Array.isArray(t))return t;var n=!1,r=Array.isArray(e)?e:null,o=Array.isArray(t)?t:null;if(r&&o){var a=i&&!Object.isFrozen(o);n=o.reduce(function(f,p,m){var h=r[m],v=by(h,p,a);return v!==o[m]&&a&&(o[m]=v),f&&v===r[m]},!0)&&r.length===o.length}else if(!r&&!o){var s=e,l=t,u=Object.keys(s),c=Object.keys(l),d=i&&!Object.isFrozen(l);n=c.reduce(function(f,p){var m=s[p],h=by(m,l[p],d);return h!==l[p]&&d&&(l[p]=h),f&&h===s[p]},!0)&&u.length===c.length}return n?e:t}xO.exports=UZ});var TO=S((Gde,PO)=>{"use strict";var IO=K().default,wO=IO(de()),Sy=IO(Ze()),VZ=Hu(),zZ=vi(),BZ=zZ.handlePotentialSnapshotErrors,KZ=_y(),ZZ=Ua(),NO=Ft(),QZ=Lr(),HZ=QZ.createRequestDescriptor,xy=pt(),GZ=xy.areEqualSelectors,YZ=xy.createReaderSelector,WZ=xy.getSelectorsFromObject,JZ=et(),tc=j(),kO=ce(),XZ=(function(){function e(i,n,r,o,a){var s=this;(0,Sy.default)(this,"_onChange",function(){s._stale=!0,typeof s._callback=="function"&&s._callback()}),this._callback=o,this._context=i,this._data={},this._fragments=n,this._props={},this._resolvers={},this._stale=!1,this._rootIsQueryRenderer=a,this.setProps(r)}var t=e.prototype;return t.dispose=function(){for(var n in this._resolvers)this._resolvers.hasOwnProperty(n)&&OO(this._resolvers[n])},t.resolve=function(){if(this._stale){var n=this._data,r;for(var o in this._resolvers)if(this._resolvers.hasOwnProperty(o)){var a=this._resolvers[o],s=n[o];if(a){var l=a.resolve();(r||l!==s)&&(r=r||(0,wO.default)({},n),r[o]=l)}else{var u=this._props[o],c=u!==void 0?u:null;(r||!KZ(c,s))&&(r=r||(0,wO.default)({},n),r[o]=c)}}this._data=r||n,this._stale=!1}return this._data},t.setCallback=function(n,r){this._callback=r,NO.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&this.setProps(n)},t.setProps=function(n){this._props={};var r=WZ(this._fragments,n);for(var o in r)if(r.hasOwnProperty(o)){var a=r[o],s=this._resolvers[o];a==null?(s?.dispose(),s=null):a.kind==="PluralReaderSelector"?s==null?s=new RO(this._context.environment,this._rootIsQueryRenderer,a,this._callback!=null,this._onChange):(s instanceof RO||(process.env.NODE_ENV!=="production"?tc(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an array.",o):tc(!1)),s.setSelector(a)):s==null?s=new Ey(this._context.environment,this._rootIsQueryRenderer,a,this._callback!=null,this._onChange):(s instanceof Ey||(process.env.NODE_ENV!=="production"?tc(!1,"RelayModernFragmentSpecResolver: Expected prop `%s` to always be an object.",o):tc(!1)),s.setSelector(a)),this._props[o]=n[o],this._resolvers[o]=s}this._stale=!0},t.setVariables=function(n,r){for(var o in this._resolvers)if(this._resolvers.hasOwnProperty(o)){var a=this._resolvers[o];a&&a.setVariables(n,r)}this._stale=!0},e})(),Ey=(function(){function e(i,n,r,o,a){var s=this;(0,Sy.default)(this,"_onChange",function(u){s._data=u.data,s._isMissingData=u.isMissingData,s._errorResponseFields=u.errorResponseFields,s._callback()});var l=i.lookup(r);this._callback=a,this._data=l.data,this._isMissingData=l.isMissingData,this._errorResponseFields=l.errorResponseFields,this._environment=i,this._rootIsQueryRenderer=n,this._selector=r,NO.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?o&&(this._subscription=i.subscribe(l,this._onChange)):this._subscription=i.subscribe(l,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},t.resolve=function(){if(this._isMissingData===!0){var n=VZ(this._environment,this._selector.node,this._selector.owner),r=n?.promise;if(r!=null)if(this._rootIsQueryRenderer)process.env.NODE_ENV!=="production"&&kO(!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);else{var o,a=(o=n?.pendingOperations)!==null&&o!==void 0?o:[];throw process.env.NODE_ENV!=="production"&&kO(!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}),r}}return BZ(this._environment,this._errorResponseFields),this._data},t.setSelector=function(n){if(!(this._subscription!=null&&GZ(n,this._selector))){this.dispose();var r=this._environment.lookup(n);this._data=ZZ(this._data,r.data),this._isMissingData=r.isMissingData,this._errorResponseFields=r.errorResponseFields,this._selector=n,this._subscription=this._environment.subscribe(r,this._onChange)}},t.setVariables=function(n,r){if(!JZ(n,this._selector.variables)){var o=HZ(r,n),a=YZ(this._selector.node,this._selector.dataID,n,o);this.setSelector(a)}},e})(),RO=(function(){function e(i,n,r,o,a){var s=this;(0,Sy.default)(this,"_onChange",function(l){s._stale=!0,s._callback()}),this._callback=a,this._data=[],this._environment=i,this._resolvers=[],this._stale=!0,this._rootIsQueryRenderer=n,this._subscribeOnConstruction=o,this.setSelector(r)}var t=e.prototype;return t.dispose=function(){this._resolvers.forEach(OO)},t.resolve=function(){if(this._stale){for(var n=this._data,r,o=0;o<this._resolvers.length;o++){var a=n[o],s=this._resolvers[o].resolve();(r||s!==a)&&(r=r||n.slice(0,o),r.push(s))}!r&&this._resolvers.length!==n.length&&(r=n.slice(0,this._resolvers.length)),this._data=r||n,this._stale=!1}return this._data},t.setSelector=function(n){for(var r=n.selectors;this._resolvers.length>r.length;){var o=this._resolvers.pop();o.dispose()}for(var a=0;a<r.length;a++)a<this._resolvers.length?this._resolvers[a].setSelector(r[a]):this._resolvers[a]=new Ey(this._environment,this._rootIsQueryRenderer,r[a],this._subscribeOnConstruction,this._onChange);this._stale=!0},t.setVariables=function(n,r){this._resolvers.forEach(function(o){return o.setVariables(n,r)}),this._stale=!0},e})();function OO(e){e&&e.dispose()}PO.exports=XZ});var DO=S((Yde,CO)=>{"use strict";var eQ=TO(),tQ=ce();function rQ(e,t,i,n,r,o){if(process.env.NODE_ENV!=="production"){var a=Object.keys(i);a.forEach(function(s){var l=n[s];process.env.NODE_ENV!=="production"&&tQ(l!==void 0,"createFragmentSpecResolver: Expected prop `%s` to be supplied to `%s`, but got `undefined`. Pass an explicit `null` if this is intentional.",s,t)})}return new eQ(e,i,n,o,r)}CO.exports=rQ});var LO=S((Wde,qO)=>{"use strict";var $O=j(),rc,AO;function nQ(e){return rc||(rc=e.createContext(null),process.env.NODE_ENV!=="production"&&(rc.displayName="RelayContext"),AO=e),e!==AO&&(process.env.NODE_ENV!=="production"?$O(!1,"[createRelayContext]: You are passing a different instance of React",e.version):$O(!1)),rc}qO.exports=nQ});var Va=S((Jde,MO)=>{"use strict";var FO=Object.freeze({__LIVE_RESOLVER_SUSPENSE_SENTINEL:!0});function iQ(){return FO}function oQ(e){return e===FO}MO.exports={isSuspenseSentinel:oQ,suspenseSentinel:iQ}});var kn=S((Xde,za)=>{"use strict";function aQ(e,t){if(e==null)return{};var i={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;i[n]=e[n]}return i}za.exports=aQ,za.exports.__esModule=!0,za.exports.default=za.exports});var Qe=S((efe,HO)=>{"use strict";var nc=K().default,sQ=nc(Ze()),jO=nc(kn()),UO=nc(Qg()),Mr=nc(de()),lQ=wn(),VO=Et(),zO=VO.generateClientObjectClientID,Ry=VO.isClientID,uQ=Va(),BO=uQ.isSuspenseSentinel,dr=ye(),ky=dr.ACTOR_IDENTIFIER_KEY,Ve=dr.ERRORS_KEY,Ur=dr.ID_KEY,cQ=dr.INVALIDATED_AT_KEY,Mt=dr.REF_KEY,Rn=dr.REFS_KEY,KO=dr.RELAY_RESOLVER_VALUE_KEY,Iy=dr.ROOT_ID,In=dr.TYPENAME_KEY,wy=et(),tt=j(),Nn=ce();function dQ(e){return(0,Mr.default)({},e)}function fQ(e,t){for(var i in e)e.hasOwnProperty(i)&&i!==Ur&&i!==In&&(t[i]=e[i])}function pQ(e,t){var i={};return i[Ur]=e,i[In]=t,i}function mQ(e){return e}function jr(e){return e[Ur]}function hQ(e){return Ve in e?Object.keys(e).filter(function(t){return t!==Ve}):Object.keys(e)}function ki(e){return e[In]}function vQ(e,t){var i;return(i=e[Ve])===null||i===void 0?void 0:i[t]}function Ny(e,t){var i=e[t];return i&&typeof i=="object"&&(!i.hasOwnProperty(Mt)&&!i.hasOwnProperty(Rn)||(process.env.NODE_ENV!=="production"?tt(!1,"RelayModernRecord.getValue(): Expected a scalar (non-link) value for `%s.%s` but found %s.",e[Ur],t,i.hasOwnProperty(Mt)?"a linked record":"plural linked records"):tt(!1))),i}function gQ(e,t){return t in e}function yQ(e,t){var i=e[t];if(i==null)return i;var n=i;return typeof n=="object"&&n&&typeof n[Mt]=="string"||(process.env.NODE_ENV!=="production"?tt(!1,"RelayModernRecord.getLinkedRecordID(): Expected `%s.%s` to be a linked ID, was `%s`.%s",e[Ur],t,JSON.stringify(n),typeof n=="object"&&n[Rn]!==void 0?" It appears to be a plural linked record: did you mean to call getLinkedRecords() instead of getLinkedRecord()?":""):tt(!1)),n[Mt]}function _Q(e,t){var i=e[t];if(i==null)return!1;var n=i;return typeof n=="object"&&n&&typeof n[Mt]=="string"}function bQ(e,t){var i=e[t];return i==null?i:(typeof i=="object"&&Array.isArray(i[Rn])||(process.env.NODE_ENV!=="production"?tt(!1,"RelayModernRecord.getLinkedRecordIDs(): Expected `%s.%s` to contain an array of linked IDs, got `%s`.%s",e[Ur],t,JSON.stringify(i),typeof i=="object"&&i[Mt]!==void 0?" It appears to be a singular linked record: did you mean to call getLinkedRecord() instead of getLinkedRecords()?":""):tt(!1)),i[Rn])}function EQ(e,t){var i=e[t];return i==null?!1:typeof i=="object"&&Array.isArray(i[Rn])&&i[Rn].every(function(n){return typeof n=="string"})}function SQ(e){if(e==null)return null;var t=e[cQ];return typeof t!="number"?null:t}function xQ(e,t){var i;if(process.env.NODE_ENV!=="production"){var n,r,o=jr(e),a=jr(t);process.env.NODE_ENV!=="production"&&Nn(o===a,"RelayModernRecord: Invalid record update, expected both versions of the record to have the same id, got `%s` and `%s`.",o,a);var s=(n=ki(e))!==null&&n!==void 0?n:null,l=(r=ki(t))!==null&&r!==void 0?r:null;process.env.NODE_ENV!=="production"&&Nn(Ry(a)&&a!==Iy||s===l,"RelayModernRecord: Invalid record update, expected both versions of record `%s` to have the same `%s` but got conflicting types `%s` and `%s`. The GraphQL server likely violated the globally unique id requirement by returning the same id for different objects.",o,In,s,l)}var u=e[Ve],c=t[Ve],d=null;if(u==null&&c==null){var f;for(var p in t)(d||!wy(e[p],t[p]))&&(d=d!==null?d:(0,Mr.default)({},e),d[p]=t[p]);return(f=d)!==null&&f!==void 0?f:e}for(var m in t)if(m!==Ve){var h=t[m],v=c?.[m];if(d==null){var _=e[m],b=u?.[m];if(wy(_,h)&&wy(b,v))continue;d=(0,Mr.default)({},e),u!=null&&(d[Ve]=(0,Mr.default)({},u))}QO(d,m,h),ZO(d,m,v)}return(i=d)!==null&&i!==void 0?i:e}function wQ(e,t){if(process.env.NODE_ENV!=="production"){var i,n,r=jr(e),o=jr(t);process.env.NODE_ENV!=="production"&&Nn(r===o,"RelayModernRecord: Invalid record merge, expected both versions of the record to have the same id, got `%s` and `%s`.",r,o);var a=(i=ki(e))!==null&&i!==void 0?i:null,s=(n=ki(t))!==null&&n!==void 0?n:null;process.env.NODE_ENV!=="production"&&Nn(Ry(o)&&o!==Iy||a===s,"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.",r,In,a,s)}if(Ve in e||Ve in t){var l=e[Ve],u=(0,jO.default)(e,[Ve].map(UO.default)),c=t[Ve],d=(0,jO.default)(t,[Ve].map(UO.default)),f=(0,Mr.default)((0,Mr.default)({},u),d);if(l==null&&c==null)return f;var p={};for(var m in l)d.hasOwnProperty(m)||(p[m]=l[m]);for(var h in c)p[h]=c[h];for(var v in p){f[Ve]=p;break}return f}else return(0,Mr.default)((0,Mr.default)({},e),t)}function kQ(e){lQ(e)}function ZO(e,t,i){process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&Nn(t in e,"RelayModernRecord: Invalid error update, `%s` should not be undefined.",t);var n=e[Ve];if(i!=null&&i.length>0)n==null?e[Ve]=(0,sQ.default)({},t,i):n[t]=i;else if(n!=null&&delete n[t]){for(var r in n)if(n.hasOwnProperty(r))return;delete e[Ve]}}function QO(e,t,i){if(process.env.NODE_ENV!=="production"){var n=jr(e);if(t===Ur)process.env.NODE_ENV!=="production"&&Nn(n===i,"RelayModernRecord: Invalid field update, expected both versions of the record to have the same id, got `%s` and `%s`.",n,i);else if(t===In){var r,o=(r=ki(e))!==null&&r!==void 0?r:null,a=i??null;process.env.NODE_ENV!=="production"&&Nn(Ry(jr(e))&&jr(e)!==Iy||o===a,"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,In,o,a)}}e[t]=i}function RQ(e,t,i){var n={};n[Mt]=i,e[t]=n}function IQ(e,t,i){var n={};n[Rn]=i,e[t]=n}function NQ(e,t,i,n){var r={};r[Mt]=n,r[ky]=i,e[t]=r}function OQ(e,t){var i=e[t];return i==null?i:(typeof i=="object"&&typeof i[Mt]=="string"&&i[ky]!=null||(process.env.NODE_ENV!=="production"?tt(!1,"RelayModernRecord.getActorLinkedRecordID(): Expected `%s.%s` to be an actor specific linked ID, was `%s`.",e[Ur],t,JSON.stringify(i)):tt(!1)),[i[ky],i[Mt]])}function PQ(e,t){var i=Ny(e,KO);return i==null||BO(i)?null:(typeof i=="object"&&(i=i.id),typeof i!="string"&&(process.env.NODE_ENV!=="production"?tt(!1,"RelayModernRecord.getResolverLinkedRecordID(): Expected value to be a linked ID, was `%s`.",JSON.stringify(i)):tt(!1)),zO(t,i))}function TQ(e,t){var i=Ny(e,KO);return i==null||BO(i)?null:(Array.isArray(i)||(process.env.NODE_ENV!=="production"?tt(!1,"RelayModernRecord.getResolverLinkedRecordIDs(): Expected value to be an array of linked IDs, was `%s`.",JSON.stringify(i)):tt(!1)),i.map(function(n){return n==null?null:(typeof n=="object"&&(n=n.id),typeof n!="string"&&(process.env.NODE_ENV!=="production"?tt(!1,"RelayModernRecord.getResolverLinkedRecordIDs(): Expected item within resolver linked field to be a DataID, was `%s`.",JSON.stringify(n)):tt(!1)),zO(t,n))}))}function CQ(e){return e}HO.exports={clone:dQ,copyFields:fQ,create:pQ,freeze:kQ,fromObject:mQ,getDataID:jr,getErrors:vQ,getFields:hQ,getInvalidationEpoch:SQ,getLinkedRecordID:yQ,getLinkedRecordIDs:bQ,getType:ki,getValue:Ny,hasValue:gQ,hasLinkedRecordID:_Q,hasLinkedRecordIDs:EQ,merge:wQ,setErrors:ZO,setValue:QO,setLinkedRecordID:RQ,setLinkedRecordIDs:IQ,update:xQ,getActorLinkedRecordID:OQ,setActorLinkedRecordID:NQ,getResolverLinkedRecordID:PQ,getResolverLinkedRecordIDs:TQ,toJSON:CQ}});var Ba=S((tfe,GO)=>{"use strict";var DQ={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"};GO.exports=DQ});var Vr=S((rfe,WO)=>{"use strict";var $Q=K().default,AQ=$Q(Re()),YO=Qe(),Oy=Ba(),qQ=Oy.EXISTENT,LQ=Oy.NONEXISTENT,FQ=Oy.UNKNOWN,MQ=(function(){function e(i){var n=this;this._records=new Map,i!=null&&Object.keys(i).forEach(function(r){var o=i[r],a=YO.fromObject(o);n._records.set(r,a)})}e.create=function(n){return new e(n)};var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(n){this._records.set(n,null)},t.get=function(n){return this._records.get(n)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(n){return this._records.has(n)?this._records.get(n)==null?LQ:qQ:FQ},t.has=function(n){return this._records.has(n)},t.remove=function(n){this._records.delete(n)},t.set=function(n,r){this._records.set(n,r)},t.size=function(){return this._records.size},t.toJSON=function(){var n={},r=(0,AQ.default)(this._records),o;try{for(r.s();!(o=r.n()).done;){var a=o.value,s=a[0],l=a[1];n[s]=YO.toJSON(l)}}catch(u){r.e(u)}finally{r.f()}return n},e})();WO.exports=MQ});var ic=S((nfe,e0)=>{"use strict";var JO=j(),XO="INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE";function jQ(e){e!==XO&&(process.env.NODE_ENV!=="production"?JO(!1,'Expected to use only internal version of the `actorIdentifier`. "%s" was provided.',e):JO(!1))}e0.exports={assertInternalActorIdentifier:jQ,getActorIdentifier:function(t){return t},getDefaultActorIdentifier:function(){throw new Error("Not Implemented")},INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE:XO}});var r0=S((ife,t0)=>{"use strict";var Py="actor_key",UQ=ic(),VQ=UQ.getActorIdentifier;function zQ(e){if(e!=null&&typeof e=="object"&&typeof e[Py]=="string")return VQ(e[Py])}t0.exports={ACTOR_IDENTIFIER_FIELD_NAME:Py,getActorIdentifierFromPayload:zQ}});var s0=S((ofe,a0)=>{"use strict";var ac=K().default,n0=ac(de()),BQ=ac(kn()),i0=ac(Re()),KQ=ac(qt()),ZQ=["path","locations"],oc=Symbol("$SELF");function QQ(e){if(e==null)return null;var t=new Map,i=(0,i0.default)(e),n;try{for(i.s();!(n=i.n()).done;){var r=n.value,o=r.path,a=r.locations,s=(0,BQ.default)(r,ZQ);if(o!=null){var l=o.length;if(l!==0){for(var u=l-1,c=t,d=0;d<u;d++){var f=o[d],p=c.get(f);if(p instanceof Map){c=p;continue}var m=new Map;Array.isArray(p)&&m.set(oc,p),c.set(f,m),c=m}var h=o[u],v=c.get(h);v instanceof Map&&(c=v,v=c.get(h),h=oc),Array.isArray(v)?v.push(s):c.set(h,[s])}}}}catch(_){i.e(_)}finally{i.f()}return t}function HQ(e,t){var i=e.get(t);if(i==null)return null;if(Array.isArray(i))return i;var n=[];return o0(i,n),n}function o0(e,t){var i=(0,i0.default)(e),n;try{for(i.s();!(n=i.n()).done;){var r=n.value,o=r[0],a=r[1],s=t.length;if(Array.isArray(a)?t.push.apply(t,(0,KQ.default)(a)):o0(a,t),o!==oc)for(var l=t.length,u=s;u<l;u++){var c=t[u];c.path==null?t[u]=(0,n0.default)((0,n0.default)({},c),{},{path:[o]}):c.path.unshift(o)}}}catch(d){i.e(d)}finally{i.f()}}function GQ(e,t){var i=e.get(t);return i instanceof Map?i:null}a0.exports={SELF:oc,buildErrorTrie:QQ,getNestedErrorTrieByKey:GQ,getErrorsByKey:HQ}});var Ka=S((afe,u0)=>{"use strict";var l0="client:__type:",YQ="__TypeSchema";function WQ(e){return l0+e}function JQ(e){return e.indexOf(l0)===0}u0.exports={generateTypeID:WQ,isTypeID:JQ,TYPE_SCHEMA_TYPE:YQ}});var Ly=S((sfe,v0)=>{"use strict";var f0=K().default,XQ=f0(Re()),Za=f0(qt()),p0=r0(),eH=p0.ACTOR_IDENTIFIER_FIELD_NAME,tH=p0.getActorIdentifierFromPayload,rH=Ft(),m0=Et(),Ty=m0.generateClientID,nH=m0.isClientID,iH=lr(),oH=iH.getLocalVariables,qy=s0(),aH=qy.buildErrorTrie,sH=qy.getErrorsByKey,c0=qy.getNestedErrorTrieByKey,ie=Qe(),lH=pt(),uH=lH.createNormalizationSelector,On=ye(),cH=On.ROOT_ID,Cy=On.TYPENAME_KEY,d0=On.getArgumentValues,dH=On.getHandleStorageKey,fH=On.getModuleComponentKey,pH=On.getModuleOperationKey,Dy=On.getStorageKey,h0=Ka(),$y=h0.TYPE_SCHEMA_TYPE,Ay=h0.generateTypeID,mH=et(),me=j(),zr=ce();function hH(e,t,i,n,r){var o=t.dataID,a=t.node,s=t.variables,l=new vH(e,s,n);return l.normalizeResponse(a,o,i,r)}var vH=(function(){function e(i,n,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,Za.default)(r.path):[],this._recordSource=i,this._variables=n,this._shouldProcessClientComponents=r.shouldProcessClientComponents}var t=e.prototype;return t.normalizeResponse=function(n,r,o,a){var s=this._recordSource.get(r);return s||(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer(): Expected root record `%s` to exist.",r):me(!1)),this._assignClientAbstractTypes(n),this._errorTrie=aH(a),this._traverseSelections(n,s,o),{errors:a,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,followupPayloads:this._followupPayloads,source:this._recordSource,isFinal:!1}},t._assignClientAbstractTypes=function(n){var r=n.clientAbstractTypes;if(r!=null)for(var o=0,a=Object.keys(r);o<a.length;o++){var s=a[o],l=(0,XQ.default)(r[s]),u;try{for(l.s();!(u=l.n()).done;){var c=u.value,d=Ay(c),f=this._recordSource.get(d);f==null&&(f=ie.create(d,$y),this._recordSource.set(d,f)),ie.setValue(f,s,!0)}}catch(p){l.e(p)}finally{l.f()}}},t._getVariableValue=function(n){return this._variables.hasOwnProperty(n)||(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer(): Undefined variable `%s`.",n):me(!1)),this._variables[n]},t._getRecordType=function(n){var r=n[Cy];return r==null&&(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer(): Expected a typename for record `%s`.",JSON.stringify(n,null,2)):me(!1)),r},t._traverseSelections=function(n,r,o){for(var a=0;a<n.selections.length;a++){var s=n.selections[a];switch(s.kind){case"ScalarField":case"LinkedField":this._normalizeField(s,r,o);break;case"Condition":var l=!!this._getVariableValue(s.condition);l===s.passingValue&&this._traverseSelections(s,r,o);break;case"FragmentSpread":{var u=this._variables;this._variables=oH(this._variables,s.fragment.argumentDefinitions,s.args),this._traverseSelections(s.fragment,r,o),this._variables=u;break}case"InlineFragment":{var c=s.abstractKey;if(c==null){var d=ie.getType(r);d===s.type&&this._traverseSelections(s,r,o)}else{var f=o.hasOwnProperty(c),p=ie.getType(r),m=Ay(p),h=this._recordSource.get(m);h==null&&(h=ie.create(m,$y),this._recordSource.set(m,h)),ie.setValue(h,c,f),f&&this._traverseSelections(s,r,o)}break}case"TypeDiscriminator":{var v=s.abstractKey,_=o.hasOwnProperty(v),b=ie.getType(r),g=Ay(b),y=this._recordSource.get(g);y==null&&(y=ie.create(g,$y),this._recordSource.set(g,y)),ie.setValue(y,v,_);break}case"LinkedHandle":case"ScalarHandle":var E=s.args?d0(s.args,this._variables):{},x=Dy(s,this._variables),k=dH(s,this._variables);this._handleFieldPayloads.push({args:E,dataID:ie.getDataID(r),fieldKey:x,handle:s.handle,handleKey:k,handleArgs:s.handleArgs?d0(s.handleArgs,this._variables):{}});break;case"ModuleImport":this._normalizeModuleImport(s,r,o);break;case"Defer":this._normalizeDefer(s,r,o);break;case"Stream":this._normalizeStream(s,r,o);break;case"ClientExtension":var w=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(s,r,o),this._isClientExtension=w;break;case"ClientComponent":if(this._shouldProcessClientComponents===!1)break;this._traverseSelections(s.fragment,r,o);break;case"ActorChange":this._normalizeActorChange(s,r,o);break;case"RelayResolver":this._normalizeResolver(s,r,o);break;case"RelayLiveResolver":this._normalizeResolver(s,r,o);break;case"ClientEdgeToClientObject":this._normalizeResolver(s.backingField,r,o);break;default:process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s`.",s.kind):me(!1)}}},t._normalizeResolver=function(n,r,o){n.fragment!=null&&this._traverseSelections(n.fragment,r,o)},t._normalizeDefer=function(n,r,o){var a=n.if===null||this._getVariableValue(n.if);process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&zr(typeof a=="boolean","RelayResponseNormalizer: Expected value for @defer `if` argument to be a boolean, got `%s`.",a),a===!1?this._traverseSelections(n,r,o):this._incrementalPlaceholders.push({kind:"defer",data:o,label:n.label,path:(0,Za.default)(this._path),selector:uH(n,ie.getDataID(r),this._variables),typeName:ie.getType(r),actorIdentifier:this._actorIdentifier})},t._normalizeStream=function(n,r,o){this._traverseSelections(n,r,o);var a=n.if===null||this._getVariableValue(n.if);process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&zr(typeof a=="boolean","RelayResponseNormalizer: Expected value for @stream `if` argument to be a boolean, got `%s`.",a),a===!0&&this._incrementalPlaceholders.push({kind:"stream",label:n.label,path:(0,Za.default)(this._path),parentID:ie.getDataID(r),node:n,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeModuleImport=function(n,r,o){typeof o=="object"&&o||(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer: Expected data for @module to be an object."):me(!1));var a=ie.getType(r),s=fH(n.documentName),l=n.componentModuleProvider||o[s];ie.setValue(r,s,l??null);var u=pH(n.documentName),c=n.operationModuleProvider||o[u];ie.setValue(r,u,c??null),c!=null&&this._followupPayloads.push({kind:"ModuleImportPayload",args:n.args,data:o,dataID:ie.getDataID(r),operationReference:c,path:(0,Za.default)(this._path),typeName:a,variables:this._variables,actorIdentifier:this._actorIdentifier})},t._normalizeField=function(n,r,o){typeof o=="object"&&o||(process.env.NODE_ENV!=="production"?me(!1,"writeField(): Expected data for field `%s` to be an object.",n.name):me(!1));var a=n.alias||n.name,s=Dy(n,this._variables),l=o[a];if(l==null||rH.ENABLE_NONCOMPLIANT_ERROR_HANDLING_ON_LISTS&&Array.isArray(l)&&l.length===0){if(l===void 0){var u=this._isClientExtension||this._isUnmatchedAbstractType;if(u)return;if(!this._treatMissingFieldsAsNull){process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&zr(!1,"RelayResponseNormalizer: Payload did not contain a value for field `%s: %s`. Check that you are parsing with the same query that was used to fetch the payload.",a,s);return}}process.env.NODE_ENV!=="production"&&n.kind==="ScalarField"&&this._validateConflictingFieldsWithIdenticalId(r,s,null),ie.setValue(r,s,null);var c=this._errorTrie;if(c!=null){var d=sH(c,a);d!=null&&ie.setErrors(r,s,d)}return}if(n.kind==="ScalarField")process.env.NODE_ENV!=="production"&&this._validateConflictingFieldsWithIdenticalId(r,s,l),ie.setValue(r,s,l);else if(n.kind==="LinkedField"){this._path.push(a);var f=this._errorTrie;this._errorTrie=f==null?null:c0(f,a),n.plural?this._normalizePluralLink(n,r,s,l):this._normalizeLink(n,r,s,l),this._errorTrie=f,this._path.pop()}else process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer(): Unexpected ast kind `%s` during normalization.",n.kind):me(!1)},t._normalizeActorChange=function(n,r,o){var a,s=n.linkedField;typeof o=="object"&&o||(process.env.NODE_ENV!=="production"?me(!1,"_normalizeActorChange(): Expected data for field `%s` to be an object.",s.name):me(!1));var l=s.alias||s.name,u=Dy(s,this._variables),c=o[l];if(c==null){if(c===void 0){var d=this._isClientExtension||this._isUnmatchedAbstractType;if(d)return;if(!this._treatMissingFieldsAsNull){process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&zr(!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.",l,u);return}}ie.setValue(r,u,null);return}var f=tH(c);if(f==null){process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&zr(!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`.",eH,JSON.stringify(c,null,2)),ie.setValue(r,u,null);return}var p=(a=s.concreteType)!==null&&a!==void 0?a:this._getRecordType(c),m=this._getDataId(c,p)||ie.getLinkedRecordID(r,u)||Ty(ie.getDataID(r),u);typeof m!="string"&&(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",u):me(!1)),ie.setActorLinkedRecordID(r,u,f,m),this._followupPayloads.push({kind:"ActorPayload",data:c,dataID:m,path:[].concat((0,Za.default)(this._path),[l]),typeName:p,variables:this._variables,node:s,actorIdentifier:f})},t._normalizeLink=function(n,r,o,a){var s;typeof a=="object"&&a||(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an object.",o):me(!1));var l=this._getDataId(a,(s=n.concreteType)!==null&&s!==void 0?s:this._getRecordType(a))||ie.getLinkedRecordID(r,o)||Ty(ie.getDataID(r),o);typeof l!="string"&&(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer: Expected id on field `%s` to be a string.",o):me(!1)),process.env.NODE_ENV!=="production"&&this._validateConflictingLinkedFieldsWithIdenticalId(ie.getLinkedRecordID(r,o),l,o),ie.setLinkedRecordID(r,o,l);var u=this._recordSource.get(l);if(u)process.env.NODE_ENV!=="production"&&this._validateRecordType(u,n,a);else{var c=n.concreteType||this._getRecordType(a);u=ie.create(l,c),this._recordSource.set(l,u)}this._traverseSelections(n,u,a)},t._normalizePluralLink=function(n,r,o,a){var s=this;Array.isArray(a)||(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer: Expected data for field `%s` to be an array of objects.",o):me(!1));var l=ie.getLinkedRecordIDs(r,o),u=[];a.forEach(function(c,d){var f;if(c==null){u.push(c);return}s._path.push(String(d));var p=s._errorTrie;s._errorTrie=p==null?null:c0(p,d),typeof c!="object"&&(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer: Expected elements for field `%s` to be objects.",o):me(!1));var m=s._getDataId(c,(f=n.concreteType)!==null&&f!==void 0?f:s._getRecordType(c))||l&&l[d]||Ty(ie.getDataID(r),o,d);typeof m!="string"&&(process.env.NODE_ENV!=="production"?me(!1,"RelayResponseNormalizer: Expected id of elements of field `%s` to be strings.",o):me(!1)),u.push(m);var h=s._recordSource.get(m);if(h)process.env.NODE_ENV!=="production"&&s._validateRecordType(h,n,c);else{var v=n.concreteType||s._getRecordType(c);h=ie.create(m,v),s._recordSource.set(m,h)}process.env.NODE_ENV!=="production"&&l&&s._validateConflictingLinkedFieldsWithIdenticalId(l[d],m,o),s._traverseSelections(n,h,c),s._errorTrie=p,s._path.pop()}),ie.setLinkedRecordIDs(r,o,u)},t._validateRecordType=function(n,r,o){var a,s=(a=r.concreteType)!==null&&a!==void 0?a:this._getRecordType(o),l=ie.getDataID(n);process.env.NODE_ENV!=="production"&&zr(nH(l)&&l!==cH||ie.getType(n)===s,"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.",l,Cy,ie.getType(n),s)},t._validateConflictingFieldsWithIdenticalId=function(n,r,o){if(process.env.NODE_ENV!=="production"){var a=ie.getDataID(n),s=ie.getValue(n,r);process.env.NODE_ENV!=="production"&&zr(r===Cy||s===void 0||mH(s,o),"RelayResponseNormalizer: Invalid record. The record contains two instances of the same id: `%s` with conflicting field, %s and its values: %s and %s. If two fields are different but share the same id, one field will overwrite the other.",a,r,s,o)}},t._validateConflictingLinkedFieldsWithIdenticalId=function(n,r,o){process.env.NODE_ENV!=="production"&&process.env.NODE_ENV!=="production"&&zr(n===void 0||n===r,"RelayResponseNormalizer: Invalid record. The record contains references to the conflicting field, %s and its id values: %s and %s. We need to make sure that the record the field points to remains consistent or one field will overwrite the other.",o,n,r)},e})();v0.exports={normalize:hH}});var Fy=S((lfe,y0)=>{"use strict";var sc=K().default,g0=sc(de()),gH=sc(Qe()),yH=sc(Vr()),_H=sc(Ly());function bH(e,t,i,n){var r,o=e.data,a=e.errors,s=yH.default.create(),l=gH.default.create(t.dataID,i);s.set(t.dataID,l);var u=_H.default.normalize(s,t,o,n,a);return(0,g0.default)((0,g0.default)({},u),{},{isFinal:((r=e.extensions)===null||r===void 0?void 0:r.is_final)===!0})}y0.exports=bH});var b0=S((ufe,_0)=>{"use strict";var EH=ft(),SH=EH.getInlineDataFragment,xH=ye(),wH=xH.FRAGMENTS_KEY,lc=j();function kH(e,t){var i,n=SH(e);if(t==null)return t;typeof t!="object"&&(process.env.NODE_ENV!=="production"?lc(!1,"readInlineData(): Expected an object, got `%s`.",typeof t):lc(!1));var r=(i=t[wH])===null||i===void 0?void 0:i[n.name];return r==null&&(process.env.NODE_ENV!=="production"?lc(!1,"readInlineData(): Expected fragment `%s` to be spread in the parent fragment.",n.name):lc(!1)),r}_0.exports=kH});var My=S((cfe,E0)=>{"use strict";var RH=1e5;function IH(){return RH++}E0.exports=IH});var x0=S((dfe,S0)=>{"use strict";var NH=My();function OH(e,t){return{execute:function(n,r,o,a){var s=NH(),l={start:function(d){e.__log({name:"network.start",networkRequestId:s,params:n,variables:r,cacheConfig:o})},next:function(d){e.__log({name:"network.next",networkRequestId:s,response:d})},error:function(d){e.__log({name:"network.error",networkRequestId:s,error:d})},complete:function(){e.__log({name:"network.complete",networkRequestId:s})},unsubscribe:function(){e.__log({name:"network.unsubscribe",networkRequestId:s})}},u=function(d){e.__log({name:"network.info",networkRequestId:s,info:d})};return t.execute(n,r,o,a,u).do(l)}}}S0.exports=OH});var jy=S((ffe,k0)=>{"use strict";var PH=K().default,Qa=PH(Re()),w0=j(),TH=(function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPendingPromise=new Map}var t=e.prototype;return t.update=function(n,r){if(r.size!==0){var o=n.identifier,a=new Set,s=(0,Qa.default)(r),l;try{for(s.s();!(l=s.n()).done;){var u=l.value,c=u.identifier,d=this._ownersToPendingOperations.get(c);d!=null?d.has(o)||(d.set(o,n),a.add(c)):(this._ownersToPendingOperations.set(c,new Map([[o,n]])),a.add(c))}}catch(v){s.e(v)}finally{s.f()}if(a.size!==0){var f=this._pendingOperationsToOwners.get(o)||new Set,p=(0,Qa.default)(a),m;try{for(p.s();!(m=p.n()).done;){var h=m.value;this._resolveOwnerResolvers(h),f.add(h)}}catch(v){p.e(v)}finally{p.f()}this._pendingOperationsToOwners.set(o,f)}}},t.complete=function(n){var r=n.identifier,o=this._pendingOperationsToOwners.get(r);if(o!=null){var a=new Set,s=new Set,l=(0,Qa.default)(o),u;try{for(l.s();!(u=l.n()).done;){var c=u.value,d=this._ownersToPendingOperations.get(c);d&&(d.delete(r),d.size>0?s.add(c):a.add(c))}}catch(b){l.e(b)}finally{l.f()}var f=(0,Qa.default)(a),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;this._resolveOwnerResolvers(m),this._ownersToPendingOperations.delete(m)}}catch(b){f.e(b)}finally{f.f()}var h=(0,Qa.default)(s),v;try{for(h.s();!(v=h.n()).done;){var _=v.value;this._resolveOwnerResolvers(_)}}catch(b){h.e(b)}finally{h.f()}this._pendingOperationsToOwners.delete(r)}},t._resolveOwnerResolvers=function(n){var r=this._ownersToPendingPromise.get(n);r?.resolve(),this._ownersToPendingPromise.delete(n)},t.getPendingOperationsAffectingOwner=function(n){var r=n.identifier,o=this._ownersToPendingOperations.get(r);if(o==null||o.size===0)return null;var a=this._ownersToPendingPromise.get(r);if(a!=null)return{promise:a.promise,pendingOperations:a.pendingOperations};var s,l=new Promise(function(c){s=c});s==null&&(process.env.NODE_ENV!=="production"?w0(!1,"RelayOperationTracker: Expected resolver to be defined. If youare seeing this, it is likely a bug in Relay."):w0(!1));var u=Array.from(o.values());return this._ownersToPendingPromise.set(r,{promise:l,resolve:s,pendingOperations:u}),{promise:l,pendingOperations:u}},e})();k0.exports=TH});var I0=S((pfe,R0)=>{"use strict";function CH(e){var t=typeof global<"u"?global:typeof window<"u"?window:void 0,i=t&&t.__RELAY_DEVTOOLS_HOOK__;i&&i.registerEnvironment(e)}R0.exports=CH});var uc=S((mfe,N0)=>{"use strict";var DH=Et(),$H=DH.generateClientID,AH=ye(),qH=AH.ROOT_ID,LH=$H(qH,"viewer"),FH="Viewer";N0.exports={VIEWER_ID:LH,VIEWER_TYPE:FH}});var Uy=S((hfe,P0)=>{"use strict";var O0=uc(),MH=O0.VIEWER_ID,jH=O0.VIEWER_TYPE;function UH(e,t){return t===jH&&e.id==null?MH:e.id}P0.exports=UH});var C0=S((vfe,T0)=>{"use strict";var VH=function(t){if(process.env.NODE_ENV!=="production"&&t.kind==="missing_required_field.log")throw new Error("Relay Environment Configuration Error (dev only): `@required(action: LOG)` requires that the Relay Environment be configured with a `relayFieldLogger`.")};T0.exports=VH});var cc=S((gfe,$0)=>{"use strict";var D0=or(),zH=D0.REQUEST,BH=D0.SPLIT_OPERATION;function KH(e){switch(e.kind){case zH:return e.operation;case BH:default:return e}}$0.exports=KH});var Vy=S((yfe,q0)=>{"use strict";function A0(e,t,i){for(var n=arguments.length,r=new Array(n>3?n-3:0),o=3;o<n;o++)r[o-3]=arguments[o];var a=0,s=i.replace(/%s/g,function(){return String(r[a++])}),l=new Error(s),u=Object.assign(l,{name:t,messageFormat:i,messageParams:r,type:e,taalOpcodes:[2,2]});if(u.stack===void 0)try{throw u}catch{}return u}q0.exports={create:function(t,i){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return A0.apply(void 0,["error",t,i].concat(r))},createWarning:function(t,i){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];return A0.apply(void 0,["warn",t,i].concat(r))}}});var M0=S((_fe,F0)=>{"use strict";var zy,By,ZH=typeof window<"u"&&typeof((zy=window)===null||zy===void 0||(By=zy.performance)===null||By===void 0?void 0:By.now)=="function";function L0(){return ZH?window.performance.now():Date.now()}function QH(e){var t=L0(),i=e();return[t,L0()-t,i]}F0.exports=QH});var Q0=S((bfe,Z0)=>{"use strict";var z0=K().default,Ha=z0(Re()),Ga=z0(qt()),Ky=cr(),HH=My(),Zy=cc(),GH=Vy(),dc=Ft(),YH=qr(),WH=YH.stableCopy,JH=M0(),B0=Et(),j0=B0.generateClientID,XH=B0.generateUniqueClientID,eG=lr(),tG=eG.getLocalVariables,fc=Qe(),K0=pt(),Qy=K0.createNormalizationSelector,rG=K0.createReaderSelector,Hy=Vr(),Yy=ye(),U0=Yy.ROOT_TYPE,nG=Yy.TYPENAME_KEY,iG=Yy.getStorageKey,ee=j(),Gy=ce();function oG(e){return new aG(e)}var aG=(function(){function e(i){var n=this,r=i.actorIdentifier,o=i.getDataID,a=i.getPublishQueue,s=i.getStore,l=i.isClientPayload,u=i.operation,c=i.operationExecutions,d=i.operationLoader,f=i.operationTracker,p=i.optimisticConfig,m=i.scheduler,h=i.shouldProcessClientComponents,v=i.sink,_=i.source,b=i.treatMissingFieldsAsNull,g=i.updater,y=i.log,E=i.normalizeResponse;this._actorIdentifier=r,this._getDataID=o,this._treatMissingFieldsAsNull=b,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._log=y,this._executeId=HH(),this._nextSubscriptionId=0,this._operation=u,this._operationExecutions=c,this._operationLoader=d,this._operationTracker=f,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._getPublishQueue=a,this._scheduler=m,this._sink=v,this._source=new Map,this._state="started",this._getStore=s,this._subscriptions=new Map,this._updater=g,this._isClientPayload=l===!0,this._isSubscriptionOperation=this._operation.request.node.params.operationKind==="subscription",this._shouldProcessClientComponents=h,this._retainDisposables=new Map,this._seenActors=new Set,this._completeFns=[],this._normalizeResponse=E;var x=this._nextSubscriptionId++;dc.PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION&&p!=null&&this._processOptimisticResponse(p.response!=null?{data:p.response}:null,p.updater,!1),_.subscribe({complete:function(){return n._complete(x)},error:function(w){return n._error(w)},next:function(w){try{n._next(x,w)}catch(I){v.error(I)}},start:function(w){var I;n._start(x,w),n._log({name:"execute.start",executeId:n._executeId,params:n._operation.request.node.params,variables:n._operation.request.variables,cacheConfig:(I=n._operation.request.cacheConfig)!==null&&I!==void 0?I:{}})}}),!dc.PROCESS_OPTIMISTIC_UPDATE_BEFORE_SUBSCRIPTION&&p!=null&&this._processOptimisticResponse(p.response!=null?{data:p.response}:null,p.updater,!1)}var t=e.prototype;return t.cancel=function(){var n=this;if(this._state!=="completed"){this._state="completed",this._operationExecutions.delete(this._operation.request.identifier),this._subscriptions.size!==0&&(this._subscriptions.forEach(function(o){return o.unsubscribe()}),this._subscriptions.clear());var r=this._optimisticUpdates;r!==null&&(this._optimisticUpdates=null,r.forEach(function(o){return n._getPublishQueueAndSaveActor().revertUpdate(o)}),this._runPublishQueue()),this._incrementalResults.clear(),this._asyncStoreUpdateDisposable!=null&&(this._asyncStoreUpdateDisposable.dispose(),this._asyncStoreUpdateDisposable=null),this._completeFns=[],this._completeOperationTracker(),this._disposeRetainedData()}},t._updateActiveState=function(){var n;switch(this._state){case"started":{n="active";break}case"loading_incremental":{n="active";break}case"completed":{n="inactive";break}case"loading_final":{n=this._pendingModulePayloadsCount>0?"active":"inactive";break}default:this._state,process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: invalid executor state."):ee(!1)}this._operationExecutions.set(this._operation.request.identifier,n)},t._schedule=function(n,r){var o=this,a=this._scheduler;if(a!=null){var s=this._nextSubscriptionId++;Ky.create(function(l){var u=a.schedule(function(){try{n(),l.complete()}catch(c){l.error(c)}},r);return function(){return a.cancel(u)}}).subscribe({complete:function(){return o._complete(s)},error:function(u){return o._error(u)},start:function(u){return o._start(s,u)}})}else n()},t._complete=function(n){this._subscriptions.delete(n),this._subscriptions.size===0&&(this.cancel(),this._sink.complete(),this._log({name:"execute.complete",executeId:this._executeId}))},t._error=function(n){this.cancel(),this._sink.error(n),this._log({name:"execute.error",executeId:this._executeId,error:n})},t._start=function(n,r){this._subscriptions.set(n,r),this._updateActiveState()},t._next=function(n,r){var o=this,a=this._state==="loading_incremental"?"low":"default";this._schedule(function(){o._log({name:"execute.next.start",executeId:o._executeId,response:r,operation:o._operation}),o._handleNext(r),o._maybeCompleteSubscriptionOperationTracking(),o._log({name:"execute.next.end",executeId:o._executeId,response:r,operation:o._operation})},a)},t._handleErrorResponse=function(n){var r=this,o=[];return n.forEach(function(a){if(!(a.data===null&&a.extensions!=null&&!a.hasOwnProperty("errors")))if(a.data==null){var s=a.hasOwnProperty("errors")&&a.errors!=null?a.errors:null,l=s?s.map(function(d){var f=d.message;return f}).join(`
|
|
144
|
-
`):"(No errors)",u=GH.create("RelayNetwork","No data returned for operation `"+r._operation.request.node.params.name+"`, got error(s):\n"+l+"\n\nSee the error `source` property for more information.");throw u.source={errors:s,operation:r._operation.request.node,variables:r._operation.request.variables},u.stack,u}else{var c=a;o.push(c)}}),o},t._handleOptimisticResponses=function(n){var r;if(n.length>1)return n.some(function(s){var l;return((l=s.extensions)===null||l===void 0?void 0:l.isOptimistic)===!0})&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Optimistic responses cannot be batched."):ee(!1)),!1;var o=n[0],a=((r=o.extensions)===null||r===void 0?void 0:r.isOptimistic)===!0;return a&&this._state!=="started"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: optimistic payload received after server payload."):ee(!1)),a?(this._processOptimisticResponse(o,null,this._treatMissingFieldsAsNull),this._sink.next(o),!0):!1},t._handleNext=function(n){if(this._state!=="completed"){this._seenActors.clear();var r=Array.isArray(n)?n:[n],o=this._handleErrorResponse(r);if(o.length===0){var a=r.some(function(v){var _;return((_=v.extensions)===null||_===void 0?void 0:_.is_final)===!0});a&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),this._sink.next(n);return}var s=this._handleOptimisticResponses(o);if(!s){var l=sG(o),u=l[0],c=l[1],d=u.length>0;if(d){if(this._isSubscriptionOperation){var f=XH();this._operation={request:this._operation.request,fragment:rG(this._operation.fragment.node,f,this._operation.fragment.variables,this._operation.fragment.owner),root:Qy(this._operation.root.node,f,this._operation.root.variables)}}var p=this._processResponses(u);this._processPayloadFollowups(p)}if(c.length>0){var m=this._processIncrementalResponses(c);this._processPayloadFollowups(m)}this._isSubscriptionOperation&&(o[0].extensions==null?o[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:o[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var h=this._runPublishQueue(d?this._operation:void 0);d&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(h),this._sink.next(n)}}},t._processOptimisticResponse=function(n,r,o){var a=this;if(this._optimisticUpdates!==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: environment.execute: only support one optimistic response per execute."):ee(!1)),!(n==null&&r==null)){var s=[];if(n){var l=this._normalizeResponse(n,this._operation.root,U0,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:o});V0(l),s.push({operation:this._operation,payload:l,updater:r}),this._processOptimisticFollowups(l,s)}else r&&s.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:Hy.create(),isFinal:!1},updater:r});this._optimisticUpdates=s,s.forEach(function(c){return a._getPublishQueueAndSaveActor().applyUpdate(c)});var u=this._runPublishQueue();dc.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(u)}},t._processOptimisticFollowups=function(n,r){if(n.followupPayloads&&n.followupPayloads.length){var o=n.followupPayloads,a=(0,Ha.default)(o),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;switch(l.kind){case"ModuleImportPayload":var u=this._expectOperationLoader(),c=u.get(l.operationReference);if(c==null)this._processAsyncOptimisticModuleImport(l);else{var d=this._processOptimisticModuleImport(c,l);r.push.apply(r,(0,Ga.default)(d))}break;case"ActorPayload":process.env.NODE_ENV!=="production"&&Gy(!1,"OperationExecutor: Unexpected optimistic ActorPayload. These updates are not supported.");break;default:process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Unexpected followup kind `%s`. when processing optimistic updates.",l.kind):ee(!1)}}}catch(f){a.e(f)}finally{a.f()}}},t._normalizeFollowupPayload=function(n,r){var o;r.kind==="SplitOperation"&&n.kind==="ModuleImportPayload"?o=tG(n.variables,r.argumentDefinitions,n.args):o=n.variables;var a=Qy(r,n.dataID,o);return this._normalizeResponse({data:n.data},a,n.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:n.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},t._processOptimisticModuleImport=function(n,r){var o=Zy(n),a=[],s=this._normalizeFollowupPayload(r,o);return V0(s),a.push({operation:this._operation,payload:s,updater:null}),this._processOptimisticFollowups(s,a),a},t._processAsyncOptimisticModuleImport=function(n){var r=this;this._expectOperationLoader().load(n.operationReference).then(function(o){if(!(o==null||r._state!=="started")){var a=r._processOptimisticModuleImport(o,n);if(a.forEach(function(l){return r._getPublishQueueAndSaveActor().applyUpdate(l)}),r._optimisticUpdates==null)process.env.NODE_ENV!=="production"&&Gy(!1,"OperationExecutor: Unexpected ModuleImport optimistic update in operation %s."+r._operation.request.node.params.name);else{var s;(s=r._optimisticUpdates).push.apply(s,(0,Ga.default)(a)),r._runPublishQueue()}}})},t._processResponses=function(n){var r=this;return this._log({name:"execute.normalize.start",operation:this._operation}),this._optimisticUpdates!==null&&(this._optimisticUpdates.forEach(function(o){r._getPublishQueueAndSaveActor().revertUpdate(o)}),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),n.map(function(o){var a=r._normalizeResponse(o,r._operation.root,U0,{actorIdentifier:r._actorIdentifier,getDataID:r._getDataID,path:[],treatMissingFieldsAsNull:r._treatMissingFieldsAsNull,shouldProcessClientComponents:r._shouldProcessClientComponents});return r._getPublishQueueAndSaveActor().commitPayload(r._operation,a,r._updater),r._log({name:"execute.normalize.end",operation:r._operation}),a})},t._processPayloadFollowups=function(n){var r=this;this._state!=="completed"&&n.forEach(function(o){var a=o.incrementalPlaceholders,s=o.followupPayloads,l=o.isFinal;if(r._state=l?"loading_final":"loading_incremental",r._updateActiveState(),l&&(r._incrementalPayloadsPending=!1),s&&s.length!==0&&s.forEach(function(c){var d,f=r._actorIdentifier;r._actorIdentifier=(d=c.actorIdentifier)!==null&&d!==void 0?d:r._actorIdentifier,r._processFollowupPayload(c),r._actorIdentifier=f}),a&&a.length!==0&&(r._incrementalPayloadsPending=r._state!=="loading_final",a.forEach(function(c){var d,f=r._actorIdentifier;r._actorIdentifier=(d=c.actorIdentifier)!==null&&d!==void 0?d:r._actorIdentifier,r._processIncrementalPlaceholder(o,c),r._actorIdentifier=f}),r._isClientPayload||r._state==="loading_final")){process.env.NODE_ENV!=="production"&&Gy(r._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.",r._operation.request.node.params.name);var u=[];a.forEach(function(c){c.kind==="defer"&&u.push(r._processDeferResponse(c.label,c.path,c,{data:c.data}))}),u.length>0&&r._processPayloadFollowups(u)}})},t._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&this._pendingModulePayloadsCount===0&&this._incrementalPayloadsPending===!1&&this._completeOperationTracker()},t._processFollowupPayload=function(n){var r=this;switch(n.kind){case"ModuleImportPayload":var o=this._expectOperationLoader(),a=o.get(n.operationReference);if(a!=null)this._processFollowupPayloadWithNormalizationNode(n,Zy(a));else{var s=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var l=function(){r._pendingModulePayloadsCount--,r._maybeCompleteSubscriptionOperationTracking()},u=Ky.from(new Promise(function(c,d){o.load(n.operationReference).then(c,d)}));Ky.create(function(c){var d,f=u.subscribe({next:function(m){if(m!=null){var h=function(){try{var b=Zy(m),g=dc.BATCH_ASYNC_MODULE_UPDATES_FN,y=g!=null&&r._pendingModulePayloadsCount>1,E=JH(function(){if(r._handleFollowupPayload(n,b),y)r._scheduleAsyncStoreUpdate(g,c.complete);else{var w=r._runPublishQueue();r._updateOperationTracker(w)}}),x=E[0],k=E[1];r._log({name:"execute.async.module",executeId:r._executeId,operationName:b.name,duration:k}),y||c.complete()}catch(w){c.error(w)}},v=r._scheduler;v==null?h():d=v.schedule(h)}else c.complete()},error:c.error});return function(){f.unsubscribe(),r._scheduler!=null&&d!=null&&r._scheduler.cancel(d)}}).subscribe({complete:function(){r._complete(s),l()},error:function(d){r._error(d),l()},start:function(d){return r._start(s,d)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(n,n.node);break;default:process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Unexpected followup kind `%s`.",n.kind):ee(!1)}},t._processFollowupPayloadWithNormalizationNode=function(n,r){this._handleFollowupPayload(n,r),this._maybeCompleteSubscriptionOperationTracking()},t._handleFollowupPayload=function(n,r){var o=this._normalizeFollowupPayload(n,r);this._getPublishQueueAndSaveActor().commitPayload(this._operation,o),this._processPayloadFollowups([o])},t._processIncrementalPlaceholder=function(n,r){var o,a=r.label,s=r.path,l=s.map(String).join("."),u=this._incrementalResults.get(a);u==null&&(u=new Map,this._incrementalResults.set(a,u));var c=u.get(l),d=c!=null&&c.kind==="response"?c.responses:null;u.set(l,{kind:"placeholder",placeholder:r});var f;r.kind==="stream"?f=r.parentID:r.kind==="defer"?f=r.selector.dataID:process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Unsupported incremental placeholder kind `%s`.",r.kind):ee(!1);var p=n.source.get(f),m=((o=n.fieldPayloads)!==null&&o!==void 0?o:[]).filter(function(E){var x=j0(E.dataID,E.fieldKey);return E.dataID===f||x===f});p==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected record `%s` to exist.",f):ee(!1));var h,v,_=this._source.get(f);if(_!=null){h=fc.update(_.record,p);var b=new Map,g=function(x){var k=lG(x);b.set(k,x)};_.fieldPayloads.forEach(g),m.forEach(g),v=Array.from(b.values())}else h=p,v=m;if(this._source.set(f,{record:h,fieldPayloads:v}),d!=null){var y=this._processIncrementalResponses(d);this._processPayloadFollowups(y)}},t._processIncrementalResponses=function(n){var r=this,o=[];return n.forEach(function(a){var s=a.label,l=a.path,u=a.response,c=r._incrementalResults.get(s);if(c==null&&(c=new Map,r._incrementalResults.set(s,c)),s.indexOf("$defer$")!==-1){var d=l.map(String).join("."),f=c.get(d);if(f==null){f={kind:"response",responses:[a]},c.set(d,f);return}else if(f.kind==="response"){f.responses.push(a);return}var p=f.placeholder;p.kind!=="defer"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected data for path `%s` for label `%s` to be data for @defer, was `@%s`.",d,s,p.kind):ee(!1)),o.push(r._processDeferResponse(s,l,p,u))}else{var m=l.slice(0,-2).map(String).join("."),h=c.get(m);if(h==null){h={kind:"response",responses:[a]},c.set(m,h);return}else if(h.kind==="response"){h.responses.push(a);return}var v=h.placeholder;v.kind!=="stream"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected data for path `%s` for label `%s` to be data for @stream, was `@%s`.",m,s,v.kind):ee(!1)),o.push(r._processStreamResponse(s,l,v,u))}}),o},t._processDeferResponse=function(n,r,o,a){var s,l=o.selector.dataID,u=this._actorIdentifier;this._actorIdentifier=(s=o.actorIdentifier)!==null&&s!==void 0?s:this._actorIdentifier;var c=this._normalizeResponse(a,o.selector,o.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:o.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,c);var d=this._source.get(l);d==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected the parent record `%s` for @defer data to exist.",l):ee(!1));var f=d.fieldPayloads;if(f.length!==0){var p,m={errors:null,fieldPayloads:f,incrementalPlaceholders:null,followupPayloads:null,source:Hy.create(),isFinal:((p=a.extensions)===null||p===void 0?void 0:p.is_final)===!0};this._getPublishQueueAndSaveActor().commitPayload(this._operation,m)}return this._actorIdentifier=u,c},t._processStreamResponse=function(n,r,o,a){var s=o.parentID,l=o.node,u=o.variables,c=o.actorIdentifier,d=this._actorIdentifier;this._actorIdentifier=c??this._actorIdentifier;var f=l.selections[0];f!=null&&f.kind==="LinkedField"&&f.plural===!0||(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected @stream to be used on a plural field."):ee(!1));var p=this._normalizeStreamItem(a,s,f,u,r,o.path),m=p.fieldPayloads,h=p.itemID,v=p.itemIndex,_=p.prevIDs,b=p.relayPayload,g=p.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,b,function(E){var x=E.get(s);if(x!=null){var k=x.getLinkedRecords(g);if(k!=null&&!(k.length!==_.length||k.some(function(I,P){return _[P]!==(I&&I.getDataID())}))){var w=(0,Ga.default)(k);w[v]=E.get(h),x.setLinkedRecords(w,g)}}}),m.length!==0){var y={errors:null,fieldPayloads:m,incrementalPlaceholders:null,followupPayloads:null,source:Hy.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,y)}return this._actorIdentifier=d,b},t._normalizeStreamItem=function(n,r,o,a,s,l){var u,c,d,f,p=n.data;typeof p!="object"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected the GraphQL @stream payload `data` value to be an object."):ee(!1));var m=(u=o.alias)!==null&&u!==void 0?u:o.name,h=iG(o,a),v=this._source.get(r);v==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected the parent record `%s` for @stream data to exist.",r):ee(!1));var _=v.record,b=v.fieldPayloads,g=fc.getLinkedRecordIDs(_,h);g==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected record `%s` to have fetched field `%s` with @stream.",r,o.name):ee(!1));var y=s[s.length-1],E=parseInt(y,10);E===y&&E>=0||(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected path for @stream to end in a positive integer index, got `%s`",y):ee(!1));var x=(c=o.concreteType)!==null&&c!==void 0?c:p[nG];typeof x!="string"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected @stream field `%s` to have a __typename.",o.name):ee(!1));var k=(d=(f=this._getDataID(p,x))!==null&&f!==void 0?f:g?.[E])!==null&&d!==void 0?d:j0(r,h,E);typeof k!="string"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected id of elements of field `%s` to be strings.",h):ee(!1));var w=Qy(o,k,a),I=fc.clone(_),P=(0,Ga.default)(g);P[E]=k,fc.setLinkedRecordIDs(I,h,P),this._source.set(r,{record:I,fieldPayloads:b});var C=this._normalizeResponse(n,w,x,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,Ga.default)(l),[m,String(E)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});return{fieldPayloads:b,itemID:k,itemIndex:E,prevIDs:g,relayPayload:C,storageKey:h}},t._scheduleAsyncStoreUpdate=function(n,r){var o=this;this._completeFns.push(r),this._asyncStoreUpdateDisposable==null&&(this._asyncStoreUpdateDisposable=n(function(){o._asyncStoreUpdateDisposable=null;var a=o._runPublishQueue();o._updateOperationTracker(a);var s=(0,Ha.default)(o._completeFns),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u()}}catch(c){s.e(c)}finally{s.f()}o._completeFns=[]}))},t._updateOperationTracker=function(n){n!=null&&n.length>0&&this._operationTracker.update(this._operation.request,new Set(n))},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 this._seenActors.size===0?new Set([this._actorIdentifier]):this._seenActors},t._runPublishQueue=function(n){var r=new Set,o=(0,Ha.default)(this._getActorsToVisit()),a;try{for(o.s();!(a=o.n()).done;){var s=a.value,l=this._getPublishQueue(s).run(n);l.forEach(function(u){return r.add(u)})}}catch(u){o.e(u)}finally{o.f()}return Array.from(r)},t._retainData=function(){var n=(0,Ha.default)(this._getActorsToVisit()),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;this._retainDisposables.has(o)||this._retainDisposables.set(o,this._getStore(o).retain(this._operation))}}catch(a){n.e(a)}finally{n.f()}},t._disposeRetainedData=function(){var n=(0,Ha.default)(this._retainDisposables.values()),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;o.dispose()}}catch(a){n.e(a)}finally{n.f()}this._retainDisposables.clear()},t._expectOperationLoader=function(){var n=this._operationLoader;return n||(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected an operationLoader to be configured when using `@match`."):ee(!1)),n},e})();function sG(e){var t=[],i=[];return e.forEach(function(n){if(n.path!=null||n.label!=null){var r=n.label,o=n.path;(r==null||o==null)&&(process.env.NODE_ENV!=="production"?ee(!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`."):ee(!1)),i.push({label:r,path:o,response:n})}else t.push(n)}),[t,i]}function lG(e){var t;return(t=JSON.stringify(WH(e)))!==null&&t!==void 0?t:""}function V0(e){var t=e.incrementalPlaceholders;t!=null&&t.length!==0&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: optimistic responses cannot be returned for operations that use incremental data delivery (@defer, @stream, and @stream_connection)."):ee(!1))}Z0.exports={execute:oG}});var Wy=S((Efe,G0)=>{"use strict";var Ie=Qe(),uG=Ba(),H0=uG.EXISTENT,Ri=j(),cG=(function(){function e(i,n){this.__sources=[n,i],this._base=i,this._sink=n}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(n){var r=this._base.get(n),o=this._sink.get(n);if(o===void 0){if(r==null)return r;var a=Ie.clone(r);return process.env.NODE_ENV!=="production"&&Ie.freeze(a),a}else{if(o===null)return null;if(r!=null){var s=Ie.update(r,o);return process.env.NODE_ENV!=="production"&&s!==r&&Ie.freeze(s),s}else{var l=Ie.clone(o);return process.env.NODE_ENV!=="production"&&Ie.freeze(l),l}}},t._getSinkRecord=function(n){var r=this._sink.get(n);if(!r){var o=this._base.get(n);o||(process.env.NODE_ENV!=="production"?Ri(!1,"RelayRecordSourceMutator: Cannot modify non-existent record `%s`.",n):Ri(!1)),r=Ie.create(n,Ie.getType(o)),this._sink.set(n,r)}return r},t.copyFields=function(n,r){var o=this._sink.get(n),a=this._base.get(n);o||a||(process.env.NODE_ENV!=="production"?Ri(!1,"RelayRecordSourceMutator#copyFields(): Cannot copy fields from non-existent record `%s`.",n):Ri(!1));var s=this._getSinkRecord(r);a&&Ie.copyFields(a,s),o&&Ie.copyFields(o,s)},t.copyFieldsFromRecord=function(n,r){var o=this._getSinkRecord(r);Ie.copyFields(n,o)},t.create=function(n,r){this._base.getStatus(n)!==H0&&this._sink.getStatus(n)!==H0||(process.env.NODE_ENV!=="production"?Ri(!1,"RelayRecordSourceMutator#create(): Cannot create a record with id `%s`, this record already exists.",n):Ri(!1));var o=Ie.create(n,r);this._sink.set(n,o)},t.delete=function(n){this._sink.delete(n)},t.getStatus=function(n){return this._sink.has(n)?this._sink.getStatus(n):this._base.getStatus(n)},t.getType=function(n){for(var r=0;r<this.__sources.length;r++){var o=this.__sources[r].get(n);if(o)return Ie.getType(o);if(o===null)return null}},t.getValue=function(n,r){for(var o=0;o<this.__sources.length;o++){var a=this.__sources[o].get(n);if(a){var s=Ie.getValue(a,r);if(s!==void 0)return s}else if(a===null)return null}},t.setValue=function(n,r,o){var a=this._getSinkRecord(n);Ie.setValue(a,r,o)},t.getErrors=function(n,r){for(var o=0;o<this.__sources.length;o++){var a=this.__sources[o].get(n);if(a){var s=Ie.getErrors(a,r);if(s!==void 0)return s}else if(a===null)return null}},t.setErrors=function(n,r,o){var a=this._getSinkRecord(n);Ie.setErrors(a,r,o)},t.getLinkedRecordID=function(n,r){for(var o=0;o<this.__sources.length;o++){var a=this.__sources[o].get(n);if(a){var s=Ie.getLinkedRecordID(a,r);if(s!==void 0)return s}else if(a===null)return null}},t.setLinkedRecordID=function(n,r,o){var a=this._getSinkRecord(n);Ie.setLinkedRecordID(a,r,o)},t.getLinkedRecordIDs=function(n,r){for(var o=0;o<this.__sources.length;o++){var a=this.__sources[o].get(n);if(a){var s=Ie.getLinkedRecordIDs(a,r);if(s!==void 0)return s}else if(a===null)return null}},t.setLinkedRecordIDs=function(n,r,o){var a=this._getSinkRecord(n);Ie.setLinkedRecordIDs(a,r,o)},e})();G0.exports=cG});var Jy=S((Sfe,Y0)=>{"use strict";var dG=K().default,pc=dG(Re()),fG=ye(),Ii=fG.getArgumentValues,pG=["id","__id","__typename","js"];function mG(e,t,i,n,r){var o={};return Ya(o,e,t,i,n,r),process.env.NODE_ENV!=="production"&&Object.freeze(o),o}function Ya(e,t,i,n,r,o){var a,s=(0,pc.default)(n),l;try{var u=function(){var p=l.value;switch(p.kind){case"LinkedField":p.plural?Object.defineProperty(e,(c=p.alias)!==null&&c!==void 0?c:p.name,{get:gG(p,i,t,r,o),set:hG(p,i,t,r)}):Object.defineProperty(e,(d=p.alias)!==null&&d!==void 0?d:p.name,{get:yG(p,i,t,r,o),set:vG(p,i,t,r)});break;case"ScalarField":var m=(a=p.alias)!==null&&a!==void 0?a:p.name;Object.defineProperty(e,m,{get:function(){var v,_=Ii((v=p.args)!==null&&v!==void 0?v:[],i),b=t.getValue(p.name,_);return b==null&&(b=EG(p,_,t,r,o)),b},set:pG.includes(p.name)?void 0:function(h){var v,_=Ii((v=p.args)!==null&&v!==void 0?v:[],i);t.setValue__UNSAFE(h,p.name,_)}});break;case"InlineFragment":t.getType()===p.type&&Ya(e,t,i,p.selections,r,o);break;case"ClientExtension":Ya(e,t,i,p.selections,r,o);break;case"FragmentSpread":break;case"Condition":case"ActorChange":case"InlineDataFragmentSpread":case"AliasedInlineFragmentSpread":case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":case"Defer":case"ModuleImport":case"RelayLiveResolver":case"RequiredField":case"CatchField":case"Stream":case"RelayResolver":throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.");default:throw p.kind,new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(s.s();!(l=s.n()).done;){var c,d;u()}}catch(f){s.e(f)}finally{s.f()}}function hG(e,t,i,n){return function(o){var a,s=Ii((a=e.args)!==null&&a!==void 0?a:[],t);if(o==null)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var l=o.map(function(u){if(u==null)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var c=u.__id;if(c==null)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var d=n.get(c);if(d==null)throw new Error("Did not find item with data id ".concat(c," in the store."));return d});i.setLinkedRecords(l,e.name,s)}}function vG(e,t,i,n){return function(o){var a,s=Ii((a=e.args)!==null&&a!==void 0?a:[],t);if(o==null)i.setValue(o,e.name,s);else{var l=o.__id;if(l==null)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var u=n.get(l);if(u==null)throw new Error("Did not find item with data id ".concat(l," in the store."));i.setLinkedRecord(u,e.name,s)}}}function gG(e,t,i,n,r){return function(){var o,a=Ii((o=e.args)!==null&&o!==void 0?o:[],t),s=i.getLinkedRecords(e.name,a);return s===void 0&&(s=bG(e,a,i,n,r)),s!=null?s.map(function(l){if(l!=null){var u={};return Ya(u,l,t,e.selections,n,r),process.env.NODE_ENV!=="production"&&Object.freeze(u),u}else return l}):s}}function yG(e,t,i,n,r){return function(){var o,a=Ii((o=e.args)!==null&&o!==void 0?o:[],t),s=i.getLinkedRecord(e.name,a);if(s===void 0&&(s=_G(e,a,i,n,r)),s!=null){var l={};return Ya(l,s,t,e.selections,n,r),process.env.NODE_ENV!=="production"&&Object.freeze(l),l}else return s}}function _G(e,t,i,n,r){var o=(0,pc.default)(r),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;if(s.kind==="linked"){var l=s.handle(e,i,t,n);if(l!=null)return n.get(l)}}}catch(u){o.e(u)}finally{o.f()}}function bG(e,t,i,n,r){var o=(0,pc.default)(r),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;if(s.kind==="pluralLinked"){var l=s.handle(e,i,t,n);if(l!=null)return l.map(function(u){if(u!=null)return n.get(u)})}}}catch(u){o.e(u)}finally{o.f()}}function EG(e,t,i,n,r){var o=(0,pc.default)(r),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;if(s.kind==="scalar"){var l=s.handle(e,i,t,n);if(l!==void 0)return l}}}catch(u){o.e(u)}finally{o.f()}}Y0.exports={createUpdatableProxy:mG}});var Xy=S((xfe,J0)=>{"use strict";var SG=ft(),xG=SG.getFragment,wG=pt(),kG=wG.getVariablesFromFragment,RG=ye(),IG=RG.ID_KEY,NG=Jy(),OG=NG.createUpdatableProxy,W0=j();function PG(e,t,i,n){var r=xG(e),o=kG(r,t),a=t[IG],s=i.get(a);return s==null&&(process.env.NODE_ENV!=="production"?W0(!1,"No record with ".concat(a," was found. This likely indicates a problem with Relay.")):W0(!1)),{updatableData:OG(s,o,r.selections,i,n)}}J0.exports={readUpdatableFragment:PG}});var e_=S((wfe,X0)=>{"use strict";var TG=ft(),CG=TG.getUpdatableQuery,DG=Jy(),$G=DG.createUpdatableProxy;function AG(e,t,i,n){var r=CG(e);return{updatableData:$G(i.getRoot(),t,r.fragment.selections,i,n)}}X0.exports={readUpdatableQuery:AG}});var rP=S((kfe,tP)=>{"use strict";var qG=Et(),LG=qG.generateClientID,FG=ye(),Br=FG.getStableStorageKey,Kr=j(),MG=(function(){function e(i,n,r){this._dataID=r,this._mutator=n,this._source=i}var t=e.prototype;return t.copyFieldsFrom=function(n){this._mutator.copyFields(n.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var n=this._mutator.getType(this._dataID);return n==null&&(process.env.NODE_ENV!=="production"?Kr(!1,"RelayRecordProxy: Cannot get the type of deleted record `%s`.",this._dataID):Kr(!1)),n},t.getValue=function(n,r){var o=Br(n,r);return this._mutator.getValue(this._dataID,o)},t.setValue=function(n,r,o,a){return eP(n)||(process.env.NODE_ENV!=="production"?Kr(!1,"RelayRecordProxy#setValue(): Expected a scalar or array of scalars, got `%s`.",JSON.stringify(n)):Kr(!1)),this.setValue__UNSAFE(n,r,o,a)},t.getErrors=function(n,r){var o=Br(n,r);return this._mutator.getErrors(this._dataID,o)},t.setValue__UNSAFE=function(n,r,o,a){var s=Br(r,o);return this._mutator.setValue(this._dataID,s,n),a!=null&&(a.length===0?this._mutator.setErrors(this._dataID,s):this._mutator.setErrors(this._dataID,s,a)),this},t.getLinkedRecord=function(n,r){var o=Br(n,r),a=this._mutator.getLinkedRecordID(this._dataID,o);return a!=null?this._source.get(a):a},t.setLinkedRecord=function(n,r,o){n instanceof e||(process.env.NODE_ENV!=="production"?Kr(!1,"RelayRecordProxy#setLinkedRecord(): Expected a record, got `%s`.",n):Kr(!1));var a=Br(r,o),s=n.getDataID();return this._mutator.setLinkedRecordID(this._dataID,a,s),this},t.getOrCreateLinkedRecord=function(n,r,o){var a=this.getLinkedRecord(n,o);if(!a){var s,l=Br(n,o),u=LG(this.getDataID(),l);a=(s=this._source.get(u))!==null&&s!==void 0?s:this._source.create(u,r),this.setLinkedRecord(a,n,o)}return a},t.getLinkedRecords=function(n,r){var o=this,a=Br(n,r),s=this._mutator.getLinkedRecordIDs(this._dataID,a);return s==null?s:s.map(function(l){return l!=null?o._source.get(l):l})},t.setLinkedRecords=function(n,r,o){Array.isArray(n)||(process.env.NODE_ENV!=="production"?Kr(!1,"RelayRecordProxy#setLinkedRecords(): Expected records to be an array, got `%s`.",n):Kr(!1));var a=Br(r,o),s=n.map(function(l){return l&&l.getDataID()});return this._mutator.setLinkedRecordIDs(this._dataID,a,s),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e})();function eP(e){return e==null||typeof e!="object"||Array.isArray(e)&&e.every(eP)}tP.exports=MG});var n_=S((Rfe,sP)=>{"use strict";var jG=Qe(),oP=Ba(),t_=oP.EXISTENT,nP=oP.NONEXISTENT,aP=ye(),r_=aP.ROOT_ID,iP=aP.ROOT_TYPE,UG=Xy(),VG=UG.readUpdatableFragment,zG=e_(),BG=zG.readUpdatableQuery,KG=rP(),Zr=j(),ZG=(function(){function e(i,n,r,o){this.__mutator=i,this._handlerProvider=r||null,this._proxies={},this._getDataID=n,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=o}var t=e.prototype;return t.publishSource=function(n,r){var o=this,a=n.getRecordIDs();a.forEach(function(s){var l=n.getStatus(s);if(l===t_){var u=n.get(s);u&&(o.__mutator.getStatus(s)!==t_&&o.create(s,jG.getType(u)),o.__mutator.copyFieldsFromRecord(u,s))}else l===nP&&o.delete(s)}),r&&r.length&&r.forEach(function(s){var l=o._handlerProvider&&o._handlerProvider(s.handle);l||(process.env.NODE_ENV!=="production"?Zr(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",s.handle):Zr(!1)),l.update(o,s)})},t.create=function(n,r){this.__mutator.create(n,r),delete this._proxies[n];var o=this.get(n);return o||(process.env.NODE_ENV!=="production"?Zr(!1,"RelayRecordSourceProxy#create(): Expected the created record to exist."):Zr(!1)),o},t.delete=function(n){n===r_&&(process.env.NODE_ENV!=="production"?Zr(!1,"RelayRecordSourceProxy#delete(): Cannot delete the root record."):Zr(!1)),delete this._proxies[n],this.__mutator.delete(n)},t.get=function(n){if(!this._proxies.hasOwnProperty(n)){var r=this.__mutator.getStatus(n);r===t_?this._proxies[n]=new KG(this,this.__mutator,n):this._proxies[n]=r===nP?null:void 0}return this._proxies[n]},t.getRoot=function(){var n=this.get(r_);return n||(n=this.create(r_,iP)),n&&n.getType()===iP||(process.env.NODE_ENV!=="production"?Zr(!1,"RelayRecordSourceProxy#getRoot(): Expected the source to contain a root record, %s.",n==null?"no root record found":"found a root record of type `".concat(n.getType(),"`")):Zr(!1)),n},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(n){this._idsMarkedForInvalidation.add(n)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery=function(n,r){return BG(n,r,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(n,r){return VG(n,r,this,this._missingFieldHandlers)},e})();sP.exports=ZG});var dP=S((Ife,cP)=>{"use strict";var uP=ye(),QG=uP.ROOT_TYPE,lP=uP.getStorageKey,HG=Xy(),GG=HG.readUpdatableFragment,YG=e_(),WG=YG.readUpdatableQuery,mc=j(),JG=(function(){function e(i,n,r,o){this.__mutator=i,this.__recordSource=n,this._readSelector=r,this._missingFieldHandlers=o}var t=e.prototype;return t.create=function(n,r){return this.__recordSource.create(n,r)},t.delete=function(n){this.__recordSource.delete(n)},t.get=function(n){return this.__recordSource.get(n)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var n=this.__recordSource.get(this._readSelector.dataID);return n||(n=this.__recordSource.create(this._readSelector.dataID,QG)),n},t._getRootField=function(n,r,o){var a=n.node.selections.find(function(s){return s.kind==="LinkedField"&&s.name===r||s.kind==="RequiredField"&&s.field.name===r});return a&&a.kind==="RequiredField"&&(a=a.field),a&&a.kind==="LinkedField"||(process.env.NODE_ENV!=="production"?mc(!1,"RelayRecordSourceSelectorProxy#getRootField(): Cannot find root field `%s`, no such field is defined on GraphQL document `%s`.",r,n.node.name):mc(!1)),a.plural!==o&&(process.env.NODE_ENV!=="production"?mc(!1,"RelayRecordSourceSelectorProxy#getRootField(): Expected root field `%s` to be %s.",r,o?"plural":"singular"):mc(!1)),a},t.getRootField=function(n){var r=this._getRootField(this._readSelector,n,!1),o=lP(r,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(o)},t.getPluralRootField=function(n){var r=this._getRootField(this._readSelector,n,!0),o=lP(r,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(o)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},t.readUpdatableQuery=function(n,r){return WG(n,r,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(n,r){return GG(n,r,this,this._missingFieldHandlers)},e})();cP.exports=JG});var pP=S((Nfe,fP)=>{"use strict";var XG=or(),eY=XG.RELAY_LIVE_RESOLVER,hc=j(),tY=(function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(n,r,o,a,s){r.kind===eY&&(process.env.NODE_ENV!=="production"?hc(!1,"This store does not support Live Resolvers"):hc(!1));var l=a(),u=l.resolverResult,c=l.snapshot,d=l.error;return[u,void 0,d,c,void 0,void 0]},t.invalidateDataIDs=function(n){},t.ensureClientRecord=function(n,r){process.env.NODE_ENV!=="production"?hc(!1,"Client Edges to Client Objects are not supported in this version of Relay Store"):hc(!1)},t.notifyUpdatedSubscribers=function(n){},e})();fP.exports={NoopResolverCache:tY}});var bc=S((Ofe,bP)=>{"use strict";var Ja=K().default,mP=Ja(de()),rY=Ja(Ze()),nY=Ja(kn()),Wa=Ja(Re()),hP=Ja(qt()),iY=["message"],oY=Va(),aY=oY.isSuspenseSentinel,sY=lr(),Me=Qe(),jt=ye(),lY=jt.CLIENT_EDGE_TRAVERSAL_PATH,uY=jt.FRAGMENT_OWNER_KEY,cY=jt.FRAGMENT_PROP_NAME_KEY,vc=jt.FRAGMENTS_KEY,gc=jt.ID_KEY,dY=jt.MODULE_COMPONENT_KEY,fY=jt.ROOT_ID,_c=jt.getArgumentValues,pY=jt.getModuleComponentKey,yc=jt.getStorageKey,mY=pP(),hY=mY.NoopResolverCache,yP=zu(),vY=yP.RESOLVER_FRAGMENT_ERRORED_SENTINEL,gY=yP.withResolverContext,yY=Ka(),_Y=yY.generateTypeID,te=j();function _P(e,t,i,n){var r=new bY(e,t,i??new hY,n);return r.read()}var bY=(function(){function e(i,n,r,o){var a,s;this._clientEdgeTraversalPath=(a=n.clientEdgeTraversalPath)!==null&&a!==void 0&&a.length?(0,hP.default)(n.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._errorResponseFields=null,this._owner=n.owner,this._useExecTimeResolvers=(s=this._owner.node.operation.use_exec_time_resolvers)!==null&&s!==void 0?s:!1,this._recordSource=i,this._seenRecords=new Set,this._selector=n,this._variables=n.variables,this._resolverCache=r,this._fragmentName=n.node.name,this._updatedDataIDs=new Set,this._resolverContext=o}var t=e.prototype;return t.read=function(){var n,r=this._selector,o=r.node,a=r.dataID,s=r.isWithinUnmatchedTypeRefinement,l=o.abstractKey,u=this._recordSource.get(a),c=!s;if(c&&l==null&&u!=null&&(this._recordMatchesTypeCondition(u,o.type)||(c=!1)),c&&l!=null&&u!=null){var d=this._implementsInterface(u,l);d===!1&&(c=!1)}this._isWithinUnmatchedTypeRefinement=!c;var f=this._traverse(o,a,null),p=(n=this._selector.node.metadata)===null||n===void 0?void 0:n.catchTo;return p!=null&&(f=this._catchErrors(f,p,null)),this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:f,isMissingData:this._isMissingData&&c,missingClientEdges:this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,errorResponseFields:this._errorResponseFields}},t._maybeAddErrorResponseFields=function(n,r){var o=Me.getErrors(n,r);if(o!=null){var a=this._fragmentName;this._errorResponseFields==null&&(this._errorResponseFields=[]);var s=(0,Wa.default)(o),l;try{for(s.s();!(l=s.n()).done;){var u,c,d,f=l.value;this._errorResponseFields.push({kind:"relay_field_payload.error",owner:a,fieldPath:((u=f.path)!==null&&u!==void 0?u:[]).join("."),error:f,shouldThrow:(c=(d=this._selector.node.metadata)===null||d===void 0?void 0:d.throwOnFieldError)!==null&&c!==void 0?c:!1,handled:!1})}}catch(p){s.e(p)}finally{s.f()}}},t._markDataAsMissing=function(n){var r,o;if(!this._isWithinUnmatchedTypeRefinement){this._errorResponseFields==null&&(this._errorResponseFields=[]);var a=this._fragmentName;if(this._errorResponseFields.push((r=(o=this._selector.node.metadata)===null||o===void 0?void 0:o.throwOnFieldError)!==null&&r!==void 0&&r?{kind:"missing_expected_data.throw",owner:a,fieldPath:n,handled:!1}:{kind:"missing_expected_data.log",owner:a,fieldPath:n}),this._isMissingData=!0,this._clientEdgeTraversalPath.length){var s=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];s!==null&&this._missingClientEdges.push({request:s.readerClientEdge.operation,clientEdgeDestinationID:s.clientEdgeDestinationID})}}},t._traverse=function(n,r,o){var a=this._recordSource.get(r);if(this._seenRecords.add(r),a==null)return a===void 0&&this._markDataAsMissing("<record>"),a;var s=o||{},l=this._traverseSelections(n.selections,a,s);return l?s:null},t._getVariableValue=function(n){return this._variables.hasOwnProperty(n)||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Undefined variable `%s`.",n):te(!1)),this._variables[n]},t._maybeReportUnexpectedNull=function(n){if(n.action!=="NONE"){var r=this._fragmentName;this._errorResponseFields==null&&(this._errorResponseFields=[]);var o;if(n.field.linkedField!=null){var a;o=(a=n.field.linkedField.alias)!==null&&a!==void 0?a:n.field.linkedField.name}else{var s;o=(s=n.field.alias)!==null&&s!==void 0?s:n.field.name}switch(n.action){case"THROW":this._errorResponseFields.push({kind:"missing_required_field.throw",fieldPath:o,owner:r,handled:!1});return;case"LOG":this._errorResponseFields.push({kind:"missing_required_field.log",fieldPath:o,owner:r});return;default:n.action}}},t._handleRequiredFieldValue=function(n,r){return r==null?(this._maybeReportUnexpectedNull(n),!1):!0},t._catchErrors=function(n,r,o){var a=n;switch(r){case"RESULT":a=this._asResult(n);break;case"NULL":this._errorResponseFields!=null&&this._errorResponseFields.length>0&&(a=null);break;default:}var s=this._errorResponseFields;if(this._errorResponseFields=o,s!=null){this._errorResponseFields==null&&(this._errorResponseFields=[]);for(var l=0;l<s.length;l++)this._errorResponseFields.push(vP(s[l]))}return a},t._asResult=function(n){if(this._errorResponseFields==null||this._errorResponseFields.length===0)return{ok:!0,value:n};var r=this._errorResponseFields.map(function(o){switch(o.kind){case"relay_field_payload.error":var a=o.error,s=a.message,l=(0,nY.default)(a,iY);return l;case"missing_expected_data.throw":case"missing_expected_data.log":return{path:o.fieldPath.split(".")};case"relay_resolver.error":return{message:"Relay: Error in resolver for field at ".concat(o.fieldPath," in ").concat(o.owner)};case"missing_required_field.throw":return{message:"Relay: Missing @required value at path '".concat(o.fieldPath,"' in '").concat(o.owner,"'.")};case"missing_required_field.log":return null;default:o.kind,process.env.NODE_ENV!=="production"?te(!1,"Unexpected error errorResponseField kind: %s",o.kind):te(!1)}}).filter(Boolean);return{ok:!1,errors:r}},t._traverseSelections=function(n,r,o){for(var a=0;a<n.length;a++){var s=n[a];switch(s.kind){case"RequiredField":var l=this._readClientSideDirectiveField(s,r,o);if(!this._handleRequiredFieldValue(s,l))return!1;break;case"CatchField":{var u,c,d,f=this._errorResponseFields;this._errorResponseFields=null;var p=this._readClientSideDirectiveField(s,r,o),m=(u=(c=s.field)===null||c===void 0?void 0:c.backingField)!==null&&u!==void 0?u:s.field,h=(d=m?.alias)!==null&&d!==void 0?d:m?.name;h==null&&(process.env.NODE_ENV!=="production"?te(!1,"Couldn't determine field name for this field. It might be a ReaderClientExtension - which is not yet supported."):te(!1)),o[h]=this._catchErrors(p,s.to,f);break}case"ScalarField":this._readScalar(s,r,o);break;case"LinkedField":s.plural?this._readPluralLink(s,r,o):this._readLink(s,r,o);break;case"Condition":var v=!!this._getVariableValue(s.condition);if(v===s.passingValue){var _=this._traverseSelections(s.selections,r,o);if(!_)return!1}break;case"InlineFragment":{var b=this._readInlineFragment(s,r,o,!1);if(b===!1)return!1;break}case"RelayLiveResolver":case"RelayResolver":{this._useExecTimeResolvers?this._readScalar(s,r,o):this._readResolverField(s,r,o);break}case"FragmentSpread":this._createFragmentPointer(s,r,o);break;case"AliasedInlineFragmentSpread":{this._readAliasedInlineFragment(s,r,o);break}case"ModuleImport":this._readModuleImport(s,r,o);break;case"InlineDataFragmentSpread":this._createInlineDataOrResolverFragmentPointer(s,r,o);break;case"Defer":case"ClientExtension":{var g=this._isMissingData,y=this._missingClientEdges.length;this._clientEdgeTraversalPath.push(null);var E=this._traverseSelections(s.selections,r,o);if(this._isMissingData=g||this._missingClientEdges.length>y||this._missingLiveResolverFields.length>0,this._clientEdgeTraversalPath.pop(),!E)return!1;break}case"Stream":{var x=this._traverseSelections(s.selections,r,o);if(!x)return!1;break}case"ActorChange":this._readActorChange(s,r,o);break;case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":if(this._useExecTimeResolvers&&(s.backingField.kind==="RelayResolver"||s.backingField.kind==="RelayLiveResolver")){var k=s.linkedField;k.plural?this._readPluralLink(k,r,o):this._readLink(k,r,o)}else this._readClientEdge(s,r,o);break;default:process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Unexpected ast kind `%s`.",s.kind):te(!1)}}return!0},t._readClientSideDirectiveField=function(n,r,o){switch(n.field.kind){case"ScalarField":return this._readScalar(n.field,r,o);case"LinkedField":return n.field.plural?this._readPluralLink(n.field,r,o):this._readLink(n.field,r,o);case"RelayResolver":return this._readResolverField(n.field,r,o);case"RelayLiveResolver":return this._readResolverField(n.field,r,o);case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":return this._readClientEdge(n.field,r,o);case"AliasedInlineFragmentSpread":return this._readAliasedInlineFragment(n.field,r,o);default:n.field.kind,process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Unexpected ast kind `%s`.",n.field.kind):te(!1)}},t._readResolverField=function(n,r,o){var a,s=Me.getDataID(r),l=this._errorResponseFields;this._errorResponseFields=null;var u=this._readResolverFieldImpl(n,s),c=(a=n.alias)!==null&&a!==void 0?a:n.name;return this._prependPreviousErrors(l,c),o[c]=u,u},t._readResolverFieldImpl=function(n,r){var o=this,a=n.fragment,s,l=function(b){return s!=null?{data:s.data,isMissingData:s.isMissingData,errorResponseFields:s.errorResponseFields}:(s=_P(o._recordSource,b,o._resolverCache),{data:s.data,isMissingData:s.isMissingData,errorResponseFields:s.errorResponseFields})},u=function(){if(a!=null){var b={__id:r,__fragmentOwner:o._owner,__fragments:(0,rY.default)({},a.name,a.args?_c(a.args,o._variables):{})},g={getDataForResolverFragment:l};return gY(g,function(){var k=gP(n,o._variables,b,o._resolverContext),w=k[0],I=k[1];return{resolverResult:w,snapshot:s,error:I}})}else{var y=gP(n,o._variables,null,o._resolverContext),E=y[0],x=y[1];return{resolverResult:E,snapshot:void 0,error:x}}},c=this._resolverCache.readFromCacheOrEvaluate(r,n,this._variables,u,l),d=c[0],f=c[1],p=c[2],m=c[3],h=c[4],v=c[5];return this._propagateResolverMetadata(n.path,m,p,f,h,v),d},t._propagateResolverMetadata=function(n,r,o,a,s,l){if(r!=null){if(r.missingClientEdges!=null){var u=(0,Wa.default)(r.missingClientEdges),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;this._missingClientEdges.push(d)}}catch(I){u.e(I)}finally{u.f()}}if(r.missingLiveResolverFields!=null){this._isMissingData=this._isMissingData||r.missingLiveResolverFields.length>0;var f=(0,Wa.default)(r.missingLiveResolverFields),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;this._missingLiveResolverFields.push(m)}}catch(I){f.e(I)}finally{f.f()}}if(r.errorResponseFields!=null){this._errorResponseFields==null&&(this._errorResponseFields=[]);var h=(0,Wa.default)(r.errorResponseFields),v;try{for(h.s();!(v=h.n()).done;){var _,b=v.value;((_=this._selector.node.metadata)===null||_===void 0?void 0:_.throwOnFieldError)===!0?this._errorResponseFields.push(b):this._errorResponseFields.push(vP(b))}}catch(I){h.e(I)}finally{h.f()}}this._isMissingData=this._isMissingData||r.isMissingData}if(o){var g,y,E={kind:"relay_resolver.error",fieldPath:n,owner:this._fragmentName,error:o,shouldThrow:(g=(y=this._selector.node.metadata)===null||y===void 0?void 0:y.throwOnFieldError)!==null&&g!==void 0?g:!1,handled:!1};this._errorResponseFields==null?this._errorResponseFields=[E]:this._errorResponseFields.push(E)}if(a!=null&&this._seenRecords.add(a),s!=null&&(this._isMissingData=!0,this._missingLiveResolverFields.push(s)),l!=null){var x=(0,Wa.default)(l),k;try{for(x.s();!(k=x.n()).done;){var w=k.value;this._updatedDataIDs.add(w)}}catch(I){x.e(I)}finally{x.f()}}},t._readClientEdge=function(n,r,o){var a=this,s,l=n.backingField;l.kind==="ClientExtension"&&(process.env.NODE_ENV!=="production"?te(!1,"Client extension client edges are not yet implemented."):te(!1));var u=(s=l.alias)!==null&&s!==void 0?s:l.name,c={};this._traverseSelections([l],r,c);var d=c[u];if(d==null||aY(d))return o[u]=d,d;if(n.linkedField.plural){Array.isArray(d)||(process.env.NODE_ENV!=="production"?te(!1,"Expected plural Client Edge Relay Resolver at `%s` in `%s` to return an array containing IDs or objects with shape {id}.",l.path,this._owner.identifier):te(!1));var f;n.kind!=="ClientEdgeToClientObject"&&(process.env.NODE_ENV!=="production"?te(!1,"Unexpected Client Edge to plural server type `%s`. This should be prevented by the compiler.",n.kind):te(!1)),n.backingField.normalizationInfo==null?f=d.map(function(I){var P,C=(P=n.concreteType)!==null&&P!==void 0?P:I.__typename;typeof C!="string"&&(process.env.NODE_ENV!=="production"?te(!1,"Expected resolver for field at `%s` in `%s` modeling an edge to an abstract type to return an object with a `__typename` property.",l.path,a._owner.identifier):te(!1));var T=i_(I,l.path,a._owner.identifier),N=a._resolverCache.ensureClientRecord(T,C),$=n.modelResolvers;if($!=null){var M=$[C];M===void 0&&(process.env.NODE_ENV!=="production"?te(!1,"Invalid `__typename` returned by resolver at `%s` in `%s`. Expected one of %s but got `%s`.",l.path,a._owner.identifier,Object.keys($).join(", "),C):te(!1));var U=a._readResolverFieldImpl(M,N);return U!=null?N:null}return N}):f=d.map(function(I){return i_(I,l.path,a._owner.identifier)}),this._clientEdgeTraversalPath.push(null);var p=this._readLinkedIds(n.linkedField,f,r,o);return this._clientEdgeTraversalPath.pop(),o[u]=p,p}else{var m,h=i_(d,l.path,this._owner.identifier),v,_=(m=n.concreteType)!==null&&m!==void 0?m:d.__typename,b;n.kind==="ClientEdgeToClientObject"?n.backingField.normalizationInfo==null?(typeof _!="string"&&(process.env.NODE_ENV!=="production"?te(!1,"Expected resolver for field at `%s` in `%s` modeling an edge to an abstract type to return an object with a `__typename` property.",l.path,this._owner.identifier):te(!1)),v=this._resolverCache.ensureClientRecord(h,_),b=null):(v=h,b=null):(v=h,b={readerClientEdge:n,clientEdgeDestinationID:h});var g=n.modelResolvers;if(g!=null){typeof _!="string"&&(process.env.NODE_ENV!=="production"?te(!1,"Expected resolver for field at `%s` in `%s` modeling an edge to an abstract type to return an object with a `__typename` property.",l.path,this._owner.identifier):te(!1));var y=g[_];y===void 0&&(process.env.NODE_ENV!=="production"?te(!1,"Invalid `__typename` returned by resolver at `%s` in `%s`. Expected one of %s but got `%s`.",l.path,this._owner.identifier,Object.keys(g).join(", "),_):te(!1));var E=this._readResolverFieldImpl(y,v);if(E==null)return o[u]=null,null}this._clientEdgeTraversalPath.push(b);var x=o[u];x==null||typeof x=="object"||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Expected data for field at `%s` in `%s` on record `%s` to be an object, got `%s`.",l.path,this._owner.identifier,Me.getDataID(r),x):te(!1));var k=this._errorResponseFields;this._errorResponseFields=null;var w=this._traverse(n.linkedField,v,x);return this._prependPreviousErrors(k,u),this._clientEdgeTraversalPath.pop(),o[u]=w,w}},t._readScalar=function(n,r,o){var a,s=(a=n.alias)!==null&&a!==void 0?a:n.name,l=yc(n,this._variables),u=Me.getValue(r,l);return u===null?this._maybeAddErrorResponseFields(r,l):u===void 0&&this._markDataAsMissing(s),o[s]=u,u},t._readLink=function(n,r,o){var a,s=(a=n.alias)!==null&&a!==void 0?a:n.name,l=yc(n,this._variables),u=Me.getLinkedRecordID(r,l);if(u==null)return o[s]=u,u===null?this._maybeAddErrorResponseFields(r,l):u===void 0&&this._markDataAsMissing(s),u;var c=o[s];c==null||typeof c=="object"||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Expected data for field `%s` at `%s` on record `%s` to be an object, got `%s`.",s,this._owner.identifier,Me.getDataID(r),c):te(!1));var d=this._errorResponseFields;this._errorResponseFields=null;var f=this._traverse(n,u,c);return this._prependPreviousErrors(d,s),o[s]=f,f},t._prependPreviousErrors=function(n,r){if(this._errorResponseFields!=null){for(var o=0;o<this._errorResponseFields.length;o++){var a=this._errorResponseFields[o];a.owner===this._fragmentName&&(a.kind==="missing_expected_data.throw"||a.kind==="missing_expected_data.log"||a.kind==="missing_required_field.throw"||a.kind==="missing_required_field.log")&&(a.fieldPath="".concat(r,".").concat(a.fieldPath))}if(n!=null){for(var s=this._errorResponseFields.length-1;s>=0;s--)n.push(this._errorResponseFields[s]);this._errorResponseFields=n}}else this._errorResponseFields=n},t._readActorChange=function(n,r,o){var a,s=(a=n.alias)!==null&&a!==void 0?a:n.name,l=yc(n,this._variables),u=Me.getActorLinkedRecordID(r,l);if(u==null)return o[s]=u,u===void 0?this._markDataAsMissing(s):u===null&&this._maybeAddErrorResponseFields(r,l),o[s];var c=u[0],d=u[1],f={};return this._createFragmentPointer(n.fragmentSpread,Me.fromObject({__id:d}),f),o[s]={__fragmentRef:f,__viewer:c},o[s]},t._readPluralLink=function(n,r,o){var a=yc(n,this._variables),s=Me.getLinkedRecordIDs(r,a);return s===null&&this._maybeAddErrorResponseFields(r,a),this._readLinkedIds(n,s,r,o)},t._readLinkedIds=function(n,r,o,a){var s=this,l,u=(l=n.alias)!==null&&l!==void 0?l:n.name;if(r==null)return a[u]=r,r===void 0&&this._markDataAsMissing(u),r;var c=a[u];c==null||Array.isArray(c)||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an array, got `%s`.",u,Me.getDataID(o),c):te(!1));var d=this._errorResponseFields;this._errorResponseFields=null;var f=c||[];return r.forEach(function(p,m){if(p==null){p===void 0&&s._markDataAsMissing(String(m)),f[m]=p;return}var h=f[m];h==null||typeof h=="object"||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",u,Me.getDataID(o),h):te(!1));var v=s._errorResponseFields;s._errorResponseFields=null,f[m]=s._traverse(n,p,h),s._prependPreviousErrors(v,m)}),this._prependPreviousErrors(d,u),a[u]=f,f},t._readModuleImport=function(n,r,o){var a,s=pY(n.documentName),l=(a=n.componentModuleProvider)!==null&&a!==void 0?a:Me.getValue(r,s);if(l==null){l===void 0&&this._markDataAsMissing("<module-import>");return}this._createFragmentPointer({kind:"FragmentSpread",name:n.fragmentName,args:n.args},r,o),o[cY]=n.fragmentPropName,o[dY]=l},t._readAliasedInlineFragment=function(n,r,o){var a=this._errorResponseFields;this._errorResponseFields=null;var s=this._readInlineFragment(n.fragment,r,{},!0);this._prependPreviousErrors(a,n.name),s===!1&&(s=null),o[n.name]=s},t._readInlineFragment=function(n,r,o,a){if(n.type==null){var s=this._traverseSelections(n.selections,r,o);return s===!1?!1:o}var l=n.abstractKey;if(l==null)if(this._recordMatchesTypeCondition(r,n.type)){var s=this._traverseSelections(n.selections,r,o);if(!s)return!1}else return null;else{var u=this._implementsInterface(r,l);if(u===!1&&a)return null;var c=this._isMissingData,d=this._isWithinUnmatchedTypeRefinement;this._isWithinUnmatchedTypeRefinement=d||u===!1;var f=this._traverseSelections(n.selections,r,o);if(this._isWithinUnmatchedTypeRefinement=d,u===!1)return this._isMissingData=c,null;if(u==null)return;if(f===!1)return!1}return o},t._recordMatchesTypeCondition=function(n,r){var o=Me.getType(n);return o!=null&&o===r||Me.getDataID(n)===fY},t._createFragmentPointer=function(n,r,o){var a=o[vc];a==null&&(a=o[vc]={}),typeof a=="object"&&a!=null||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",a):te(!1)),o[gc]==null&&(o[gc]=Me.getDataID(r)),a[n.name]=_c(n.args,this._variables,this._isWithinUnmatchedTypeRefinement),o[uY]=this._owner,this._clientEdgeTraversalPath.length>0&&this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]!==null&&(o[lY]=(0,hP.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(n,r,o){var a=o[vc];a==null&&(a=o[vc]={}),typeof a=="object"&&a!=null||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",a):te(!1)),o[gc]==null&&(o[gc]=Me.getDataID(r));var s={},l=this._fragmentName;this._fragmentName=n.name;var u=this._variables,c=n.args?_c(n.args,this._variables):{};this._variables=sY.getFragmentVariables(n,this._owner.variables,c),this._traverseSelections(n.selections,r,s),this._variables=u,this._fragmentName=l,a[n.name]=s},t._implementsInterface=function(n,r){var o=Me.getType(n),a=this._recordSource.get(_Y(o)),s=a!=null?Me.getValue(a,r):null;return s==null&&this._markDataAsMissing("<abstract-type-hint>"),s},e})();function vP(e){switch(e.kind){case"missing_expected_data.throw":case"missing_required_field.throw":case"relay_field_payload.error":case"relay_resolver.error":return(0,mP.default)((0,mP.default)({},e),{},{handled:!0});case"missing_expected_data.log":case"missing_required_field.log":return e;default:e.kind,process.env.NODE_ENV!=="production"?te(!1,"Unexpected error response field kind: %s",e.kind):te(!1)}}function gP(e,t,i,n){var r=typeof e.resolverModule=="function"?e.resolverModule:e.resolverModule.default,o=null,a=null;try{var s=[];e.fragment!=null&&s.push(i);var l=e.args?_c(e.args,t):void 0;s.push(l),s.push(n),o=r.apply(null,s)}catch(u){o=null,u!==vY&&(a=u)}return[o,a]}function i_(e,t,i){if(typeof e=="string")return e;if(typeof e=="object"&&e!=null&&typeof e.id=="string")return e.id;process.env.NODE_ENV!=="production"?te(!1,"Expected object returned from edge resolver to be a string or an object with an `id` property at path %s in %s,",t,i):te(!1)}bP.exports={read:_P}});var RP=S((Pfe,kP)=>{"use strict";var o_,a_,s_=Wy(),l_=n_(),EP=dP(),EY=bc(),SP=Vr(),Ni=j(),xP=ce(),u_=typeof global<"u"?global:typeof window<"u"?window:void 0,c_=(o_=u_==null||(a_=u_.ErrorUtils)===null||a_===void 0?void 0:a_.applyWithGuard)!==null&&o_!==void 0?o_:function(e,t,i,n,r){return e.apply(t,i)},SY=(function(){function e(i,n,r,o){this._hasStoreSnapshot=!1,this._handlerProvider=n||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=i,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=r,this._missingFieldHandlers=o}var t=e.prototype;return t.applyUpdate=function(n){!this._appliedOptimisticUpdates.has(n)&&!this._pendingOptimisticUpdates.has(n)||(process.env.NODE_ENV!=="production"?Ni(!1,"RelayPublishQueue: Cannot apply the same update function more than once concurrently."):Ni(!1)),this._pendingOptimisticUpdates.add(n)},t.revertUpdate=function(n){this._pendingOptimisticUpdates.has(n)?this._pendingOptimisticUpdates.delete(n):this._appliedOptimisticUpdates.has(n)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(n))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(n,r,o){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:n,payload:r,updater:o})},t.commitUpdate=function(n){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:n})},t.commitSource=function(n){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:n})},t.run=function(n){var r=this._appliedOptimisticUpdates===0&&!!this._gcHold,o=!this._pendingBackupRebase&&this._pendingOptimisticUpdates.size===0&&!r;if(process.env.NODE_ENV!=="production"&&(process.env.NODE_ENV!=="production"&&xP(!o,"RelayPublishQueue.run was called, but the call would have been a noop."),process.env.NODE_ENV!=="production"&&xP(this._isRunning!==!0,"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),o)return process.env.NODE_ENV!=="production"&&(this._isRunning=!1),[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var a=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),process.env.NODE_ENV!=="production"&&(this._isRunning=!1),this._store.notify(n,a)},t._publishSourceFromPayload=function(n){var r=this,o=n.payload,a=n.operation,s=n.updater,l=o.source,u=o.fieldPayloads,c=new s_(this._store.getSource(),l),d=new l_(c,this._getDataID,this._handlerProvider,this._missingFieldHandlers);if(u&&u.length&&u.forEach(function(v){var _=r._handlerProvider&&r._handlerProvider(v.handle);_||(process.env.NODE_ENV!=="production"?Ni(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",v.handle):Ni(!1)),_.update(d,v)}),s){var f=a.fragment;f==null&&(process.env.NODE_ENV!=="production"?Ni(!1,"RelayModernEnvironment: Expected a selector to be provided with updater function."):Ni(!1));var p=new EP(c,d,f,this._missingFieldHandlers),m=wP(l,f);s(p,m)}var h=d.getIDsMarkedForInvalidation();return this._store.publish(l,h),d.isStoreMarkedForInvalidation()},t._commitData=function(){var n=this;if(!this._pendingData.size)return!1;var r=!1;return this._pendingData.forEach(function(o){if(o.kind==="payload"){var a=n._publishSourceFromPayload(o);r=r||a}else if(o.kind==="source"){var s=o.source;n._store.publish(s)}else{var l=o.updater,u=SP.create(),c=new s_(n._store.getSource(),u),d=new l_(c,n._getDataID,n._handlerProvider,n._missingFieldHandlers);c_(l,null,[d],null,"RelayPublishQueue:commitData"),r=r||d.isStoreMarkedForInvalidation();var f=d.getIDsMarkedForInvalidation();n._store.publish(u,f)}}),this._pendingData.clear(),r},t._applyUpdates=function(){var n=this,r=SP.create(),o=new s_(this._store.getSource(),r),a=new l_(o,this._getDataID,this._handlerProvider,this._missingFieldHandlers),s=function(u){if(u.storeUpdater){var c=u.storeUpdater;c_(c,null,[a],null,"RelayPublishQueue:applyUpdates")}else{var d=u.operation,f=u.payload,p=u.updater,m=f.source,h=f.fieldPayloads;if(m&&a.publishSource(m,h),p){var v;m&&(v=wP(m,d.fragment));var _=new EP(o,a,d.fragment,n._missingFieldHandlers);c_(p,null,[_,v],null,"RelayPublishQueue:applyUpdates")}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(s),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach(function(l){s(l),n._appliedOptimisticUpdates.add(l)}),this._pendingOptimisticUpdates.clear()),this._store.publish(r)},e})();function wP(e,t){var i=EY.read(e,t).data;if(process.env.NODE_ENV!=="production"){var n=wn();i&&n(i)}return i}kP.exports=SY});var $P=S((Tfe,DP)=>{"use strict";var TP=K().default,xY=TP(de()),IP=TP(qt()),CP=function(){};process.env.NODE_ENV!=="production"&&(d_=!1,NP=function(){var t;d_||(d_=!0,window.devtoolsFormatters==null&&(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.'),(t=window.devtoolsFormatters).push.apply(t,(0,IP.default)(OP()))))},OP=function(){var t={style:"list-style-type: none; padding: 0; margin: 0 0 0 12px; font-style: normal"},i={style:"rgb(136, 19, 145)"},n={style:"color: #777"},r=function(f,p){return f==null?["span",n,"undefined"]:["object",{object:f,config:p}]},o=function(f){return["span",{style:"font-style: italic"},f.__typename,["span",n,' {id: "',f.__id,'", \u2026}']]},a=function(f){return f!=null&&typeof f.__id=="string"},s=function(f,p){this.key=f,this.value=p},l=function(f){var p=Object.keys(f).map(function(m){return["li",{},["object",{object:new s(m,f[m])}]]});return["ol",t].concat((0,IP.default)(p))},u={header:function(f){return a(f)?o(f):null},hasBody:function(f){return!0},body:function(f){return l(f)}},c={header:function(f){if(f instanceof s){var p=a(f.value)?o(f.value):r(f.value);return["span",i,f.key,": ",p]}return null},hasBody:function(f){return a(f.value)},body:function(f){return l(f.value)}};return[u,c]},PP=function e(t,i){var n=t.get(i);return n==null?n:new Proxy((0,xY.default)({},n),{get:function(o,a){var s=o[a];if(s==null)return s;if(typeof s=="object"){if(typeof s.__ref=="string")return e(t,s.__ref);if(Array.isArray(s.__refs))return s.__refs.map(function(l){return e(t,l)})}return s}})},CP=function(t,i){return NP(),PP(t.getStore().getSource(),i??"client:root")});var d_,NP,OP,PP;DP.exports={inspect:CP}});var VP=S((Cfe,UP)=>{"use strict";var wY=K().default,AP=wY(de()),kY=fy(),MP=ic(),qP=MP.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,Ec=MP.assertInternalActorIdentifier,f_=cr(),LP=x0(),RY=jy(),IY=I0(),NY=Uy(),OY=C0(),PY=Fy(),TY=Q0(),CY=RP(),DY=Vr(),FP=j(),jP=(function(){function e(i){var n=this,r,o,a,s,l,u,c,d,f,p;this.configName=i.configName,this._treatMissingFieldsAsNull=i.treatMissingFieldsAsNull===!0;var m=i.operationLoader;if(process.env.NODE_ENV!=="production"&&m!=null&&(typeof m=="object"&&typeof m.get=="function"&&typeof m.load=="function"||(process.env.NODE_ENV!=="production"?FP(!1,"RelayModernEnvironment: Expected `operationLoader` to be an object with get() and load() functions, got `%s`.",m):FP(!1))),this.__log=(r=i.log)!==null&&r!==void 0?r:AY,this.relayFieldLogger=(o=i.relayFieldLogger)!==null&&o!==void 0?o:OY,this._defaultRenderPolicy=(a=i.UNSTABLE_defaultRenderPolicy)!==null&&a!==void 0?a:"partial",this._operationLoader=m,this._operationExecutions=new Map,this._network=LP(this,i.network),this._getDataID=(s=i.getDataID)!==null&&s!==void 0?s:NY,this._missingFieldHandlers=(l=i.missingFieldHandlers)!==null&&l!==void 0?l:[],this._publishQueue=new CY(i.store,(u=i.handlerProvider)!==null&&u!==void 0?u:kY,this._getDataID,this._missingFieldHandlers),this._scheduler=(c=i.scheduler)!==null&&c!==void 0?c:null,this._store=i.store,this.options=i.options,this._isServer=(d=i.isServer)!==null&&d!==void 0?d:!1,this._normalizeResponse=(f=i.normalizeResponse)!==null&&f!==void 0?f:PY,this.__setNet=function(_){return n._network=LP(n,_)},process.env.NODE_ENV!=="production"){var h=$P(),v=h.inspect;this.DEBUG_inspect=function(_){return v(n,_)}}this._operationTracker=(p=i.operationTracker)!==null&&p!==void 0?p:new RY,this._shouldProcessClientComponents=i.shouldProcessClientComponents,IY(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(n){var r=this._operationExecutions.get(n);return r==="active"},t.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},t.applyUpdate=function(n){var r=this,o=function(){r._scheduleUpdates(function(){r._publishQueue.revertUpdate(n),r._publishQueue.run()})};return this._scheduleUpdates(function(){r._publishQueue.applyUpdate(n),r._publishQueue.run()}),{dispose:o}},t.revertUpdate=function(n){var r=this;this._scheduleUpdates(function(){r._publishQueue.revertUpdate(n),r._publishQueue.run()})},t.replaceUpdate=function(n,r){var o=this;this._scheduleUpdates(function(){o._publishQueue.revertUpdate(n),o._publishQueue.applyUpdate(r),o._publishQueue.run()})},t.applyMutation=function(n){var r=this._execute({createSource:function(){return f_.create(function(a){})},isClientPayload:!1,operation:n.operation,optimisticConfig:n,updater:null}).subscribe({});return{dispose:function(){return r.unsubscribe()}}},t.check=function(n){return this._missingFieldHandlers.length===0&&!$Y(n)?this._store.check(n):this._checkSelectorAndHandleMissingFields(n,this._missingFieldHandlers)},t.commitPayload=function(n,r){this._execute({createSource:function(){return f_.from({data:r})},isClientPayload:!0,operation:n,optimisticConfig:null,updater:null}).subscribe({})},t.commitUpdate=function(n){var r=this;this._scheduleUpdates(function(){r._publishQueue.commitUpdate(n),r._publishQueue.run()})},t.lookup=function(n){return this._store.lookup(n)},t.subscribe=function(n,r){return this._store.subscribe(n,r)},t.retain=function(n){return this._store.retain(n)},t.isServer=function(){return this._isServer},t._checkSelectorAndHandleMissingFields=function(n,r){var o=this,a=DY.create(),s=this._store.getSource(),l=this._store.check(n,{handlers:r,defaultActorIdentifier:qP,getSourceForActor:function(c){return Ec(c),s},getTargetForActor:function(c){return Ec(c),a}});return a.size()>0&&this._scheduleUpdates(function(){o._publishQueue.commitSource(a),o._publishQueue.run()}),l},t._scheduleUpdates=function(n){var r=this._scheduler;r!=null?r.schedule(n):n()},t.execute=function(n){var r=this,o=n.operation;return this._execute({createSource:function(){return r.getNetwork().execute(o.request.node.params,o.request.variables,o.request.cacheConfig||{},null)},isClientPayload:!1,operation:o,optimisticConfig:null,updater:null})},t.executeSubscription=function(n){var r=this,o=n.operation,a=n.updater;return this._execute({createSource:function(){return r.getNetwork().execute(o.request.node.params,o.request.variables,o.request.cacheConfig||{},null)},isClientPayload:!1,operation:o,optimisticConfig:null,updater:a})},t.executeMutation=function(n){var r=this,o=n.operation,a=n.optimisticResponse,s=n.optimisticUpdater,l=n.updater,u=n.uploadables,c;return(a||s)&&(c={operation:o,response:a,updater:s}),this._execute({createSource:function(){return r.getNetwork().execute(o.request.node.params,o.request.variables,(0,AP.default)((0,AP.default)({},o.request.cacheConfig),{},{force:!0}),u)},isClientPayload:!1,operation:o,optimisticConfig:c,updater:l})},t.executeWithSource=function(n){var r=n.operation,o=n.source;return this._execute({createSource:function(){return o},isClientPayload:!1,operation:r,optimisticConfig:null,updater:null})},t.toJSON=function(){var n;return"RelayModernEnvironment(".concat((n=this.configName)!==null&&n!==void 0?n:"",")")},t._execute=function(n){var r=this,o=n.createSource,a=n.isClientPayload,s=n.operation,l=n.optimisticConfig,u=n.updater,c=this._publishQueue,d=this._store;return f_.create(function(f){var p=TY.execute({actorIdentifier:qP,getDataID:r._getDataID,isClientPayload:a,log:r.__log,operation:s,operationExecutions:r._operationExecutions,operationLoader:r._operationLoader,operationTracker:r._operationTracker,optimisticConfig:l,getPublishQueue:function(h){return Ec(h),c},scheduler:r._scheduler,shouldProcessClientComponents:r._shouldProcessClientComponents,sink:f,source:o(),getStore:function(h){return Ec(h),d},treatMissingFieldsAsNull:r._treatMissingFieldsAsNull,updater:u,normalizeResponse:r._normalizeResponse});return function(){return p.cancel()}})},e})();function $Y(e){return e.root.node.kind==="Operation"&&e.root.node.clientAbstractTypes!=null}jP.prototype["@@RelayModernEnvironment"]=!0;function AY(){}UP.exports=jP});var BP=S((Dfe,zP)=>{"use strict";var qY=Promise.resolve();function LY(e){qY.then(e).catch(FY)}function FY(e){setTimeout(function(){throw e},0)}zP.exports=LY});var p_=S(($fe,QP)=>{"use strict";var MY=or(),KP=MY.LINKED_FIELD,jY=ye(),UY=jY.getHandleStorageKey,VY=et(),ZP=j();function zY(e,t,i){var n=t.find(function(o){return o.kind===KP&&o.name===e.name&&o.alias===e.alias&&VY(o.args,e.args)});n&&n.kind===KP||(process.env.NODE_ENV!=="production"?ZP(!1,"cloneRelayHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle):ZP(!1));var r=UY(e,i);return{kind:"LinkedField",alias:n.alias,name:r,storageKey:r,args:null,concreteType:n.concreteType,plural:n.plural,selections:n.selections}}QP.exports=zY});var WP=S((Afe,YP)=>{"use strict";var BY=or(),HP=BY.SCALAR_FIELD,KY=ye(),ZY=KY.getHandleStorageKey,QY=et(),GP=j();function HY(e,t,i){var n=t.find(function(o){return o.kind===HP&&o.name===e.name&&o.alias===e.alias&&QY(o.args,e.args)});n&&n.kind===HP||(process.env.NODE_ENV!=="production"?GP(!1,"cloneRelayScalarHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle):GP(!1));var r=ZY(e,i);return{kind:"ScalarField",alias:n.alias,name:r,storageKey:r,args:null}}YP.exports=HY});var nT=S((qfe,rT)=>{"use strict";var GY=K().default,Sc=GY(Re()),YY=Wy(),WY=n_(),JY=cc(),XY=Et(),eW=XY.isClientID,tW=p_(),rW=WP(),nW=lr(),JP=nW.getLocalVariables,XP=Qe(),eT=Ba(),m_=eT.EXISTENT,iW=eT.UNKNOWN,g_=ye(),tT=Ka(),oW=tT.TYPE_SCHEMA_TYPE,h_=tT.generateTypeID,Ut=j(),aW=g_.getModuleOperationKey,xc=g_.getStorageKey,v_=g_.getArgumentValues;function sW(e,t,i,n,r,o,a,s,l){l?.({name:"store.datachecker.start",selector:n});var u=n.dataID,c=n.node,d=n.variables,f=new lW(e,t,i,d,r,o,a,s),p=f.check(c,u);return l?.({name:"store.datachecker.end",selector:n}),p}var lW=(function(){function e(i,n,r,o,a,s,l,u){this._getSourceForActor=i,this._getTargetForActor=n,this._getDataID=l,this._source=i(r),this._mutatorRecordSourceProxyCache=new Map;var c=this._getMutatorAndRecordProxyForActor(r),d=c[0],f=c[1];this._mostRecentlyInvalidatedAt=null,this._handlers=a,this._mutator=d,this._operationLoader=s??null,this._recordSourceProxy=f,this._recordWasMissing=!1,this._variables=o,this._shouldProcessClientComponents=u}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(n){var r=this._mutatorRecordSourceProxyCache.get(n);if(r==null){var o=this._getTargetForActor(n),a=new YY(this._getSourceForActor(n),o),s=new WY(a,this._getDataID,void 0,this._handlers);r=[a,s],this._mutatorRecordSourceProxyCache.set(n,r)}return r},t.check=function(n,r){return this._assignClientAbstractTypes(n),this._traverse(n,r),this._recordWasMissing===!0?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(n){return this._variables.hasOwnProperty(n)||(process.env.NODE_ENV!=="production"?Ut(!1,"RelayAsyncLoader(): Undefined variable `%s`.",n):Ut(!1)),this._variables[n]},t._handleMissing=function(){this._recordWasMissing=!0},t._handleMissingScalarField=function(n,r){if(!(n.name==="id"&&n.alias==null&&eW(r))){var o=n.args!=null?v_(n.args,this._variables):{},a=(0,Sc.default)(this._handlers),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;if(l.kind==="scalar"){var u=l.handle(n,this._recordSourceProxy.get(r),o,this._recordSourceProxy);if(u!==void 0)return u}}}catch(c){a.e(c)}finally{a.f()}this._handleMissing()}},t._handleMissingLinkField=function(n,r){var o=n.args!=null?v_(n.args,this._variables):{},a=(0,Sc.default)(this._handlers),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;if(l.kind==="linked"){var u=l.handle(n,this._recordSourceProxy.get(r),o,this._recordSourceProxy);if(u!==void 0&&(u===null||this._mutator.getStatus(u)===m_))return u}}}catch(c){a.e(c)}finally{a.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(n,r){var o=this,a=n.args!=null?v_(n.args,this._variables):{},s=(0,Sc.default)(this._handlers),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;if(u.kind==="pluralLinked"){var c=u.handle(n,this._recordSourceProxy.get(r),a,this._recordSourceProxy);if(c!=null){var d=c.every(function(f){return f!=null&&o._mutator.getStatus(f)===m_});if(d)return c}else if(c===null)return null}}}catch(f){s.e(f)}finally{s.f()}this._handleMissing()},t._traverse=function(n,r){var o=this._mutator.getStatus(r);if(o===iW&&this._handleMissing(),o===m_){var a=this._source.get(r),s=XP.getInvalidationEpoch(a);s!=null&&(this._mostRecentlyInvalidatedAt=this._mostRecentlyInvalidatedAt!=null?Math.max(this._mostRecentlyInvalidatedAt,s):s),this._traverseSelections(n.selections,r)}},t._traverseSelections=function(n,r){var o=this;n.forEach(function(a){switch(a.kind){case"ScalarField":o._checkScalar(a,r);break;case"LinkedField":a.plural?o._checkPluralLink(a,r):o._checkLink(a,r);break;case"ActorChange":o._checkActorChange(a.linkedField,r);break;case"Condition":var s=!!o._getVariableValue(a.condition);s===a.passingValue&&o._traverseSelections(a.selections,r);break;case"InlineFragment":{var l=a.abstractKey;if(l==null){var u=o._mutator.getType(r);u===a.type&&o._traverseSelections(a.selections,r)}else{var c=o._mutator.getType(r);c==null&&(process.env.NODE_ENV!=="production"?Ut(!1,"DataChecker: Expected record `%s` to have a known type",r):Ut(!1));var d=h_(c),f=o._mutator.getValue(d,l);f===!0?o._traverseSelections(a.selections,r):f==null&&o._handleMissing()}break}case"LinkedHandle":{var p=tW(a,n,o._variables);p.plural?o._checkPluralLink(p,r):o._checkLink(p,r);break}case"ScalarHandle":{var m=rW(a,n,o._variables);o._checkScalar(m,r);break}case"ModuleImport":o._checkModuleImport(a,r);break;case"Defer":case"Stream":o._traverseSelections(a.selections,r);break;case"FragmentSpread":var h=o._variables;o._variables=JP(o._variables,a.fragment.argumentDefinitions,a.args),o._traverseSelections(a.fragment.selections,r),o._variables=h;break;case"ClientExtension":var v=o._recordWasMissing;o._traverseSelections(a.selections,r),o._recordWasMissing=v;break;case"TypeDiscriminator":var _=a.abstractKey,b=o._mutator.getType(r);b==null&&(process.env.NODE_ENV!=="production"?Ut(!1,"DataChecker: Expected record `%s` to have a known type",r):Ut(!1));var g=h_(b),y=o._mutator.getValue(g,_);y==null&&o._handleMissing();break;case"ClientComponent":if(o._shouldProcessClientComponents===!1)break;o._traverseSelections(a.fragment.selections,r);break;case"RelayResolver":o._checkResolver(a,r);break;case"RelayLiveResolver":o._checkResolver(a,r);break;case"ClientEdgeToClientObject":o._checkResolver(a.backingField,r);break;default:process.env.NODE_ENV!=="production"?Ut(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",a.kind):Ut(!1)}})},t._checkResolver=function(n,r){n.fragment&&this._traverseSelections([n.fragment],r)},t._checkModuleImport=function(n,r){var o=this._operationLoader;o===null&&(process.env.NODE_ENV!=="production"?Ut(!1,"DataChecker: Expected an operationLoader to be configured when using `@module`."):Ut(!1));var a=aW(n.documentName),s=this._mutator.getValue(r,a);if(s==null){s===void 0&&this._handleMissing();return}var l=o.get(s);if(l!=null){var u=JY(l),c=this._variables;this._variables=JP(this._variables,u.argumentDefinitions,n.args),this._traverse(u,r),this._variables=c}else this._handleMissing()},t._checkScalar=function(n,r){var o=xc(n,this._variables),a=this._mutator.getValue(r,o);a===void 0&&(a=this._handleMissingScalarField(n,r),a!==void 0&&this._mutator.setValue(r,o,a))},t._checkLink=function(n,r){var o=xc(n,this._variables),a=this._mutator.getLinkedRecordID(r,o);a===void 0&&(a=this._handleMissingLinkField(n,r),a!=null?this._mutator.setLinkedRecordID(r,o,a):a===null&&this._mutator.setValue(r,o,null)),a!=null&&this._traverse(n,a)},t._checkPluralLink=function(n,r){var o=this,a=xc(n,this._variables),s=this._mutator.getLinkedRecordIDs(r,a);s===void 0&&(s=this._handleMissingPluralLinkField(n,r),s!=null?this._mutator.setLinkedRecordIDs(r,a,s):s===null&&this._mutator.setValue(r,a,null)),s&&s.forEach(function(l){l!=null&&o._traverse(n,l)})},t._checkActorChange=function(n,r){var o=xc(n,this._variables),a=this._source.get(r),s=a!=null?XP.getActorLinkedRecordID(a,o):a;if(s==null)s===void 0&&this._handleMissing();else{var l=s[0],u=s[1],c=this._source,d=this._mutator,f=this._recordSourceProxy,p=this._getMutatorAndRecordProxyForActor(l),m=p[0],h=p[1];this._source=this._getSourceForActor(l),this._mutator=m,this._recordSourceProxy=h,this._assignClientAbstractTypes(n),this._traverse(n,u),this._source=c,this._mutator=d,this._recordSourceProxy=f}},t._assignClientAbstractTypes=function(n){var r=n.clientAbstractTypes;if(r!=null)for(var o=0,a=Object.keys(r);o<a.length;o++){var s=a[o],l=(0,Sc.default)(r[s]),u;try{for(l.s();!(u=l.n()).done;){var c=u.value,d=h_(c);this._source.get(d)==null&&this._mutator.create(d,oW),this._mutator.getValue(d,s)==null&&this._mutator.setValue(d,s,!0)}}catch(f){l.e(f)}finally{l.f()}}},e})();rT.exports={check:sW}});var oT=S((Lfe,iT)=>{"use strict";iT.exports=function(t){typeof t=="object"&&t!=null&&(Array.isArray(t)||t.constructor===Object)&&Object.freeze(t)}});var y_=S((Ffe,lT)=>{"use strict";var uW=Qe(),cW=ye(),aT=cW.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,sT=j();function dW(e){var t=uW.getValue(e,aT);return t==null?null:(t instanceof Set||(process.env.NODE_ENV!=="production"?sT(!1,"getOutputTypeRecordIDs: Expected the `%s` field on record `%s` to be of type Set. Instead, it is a %s.",aT,typeof t):sT(!1)),t)}lT.exports=dW});var cT=S((Mfe,uT)=>{"use strict";function fW(e){return e!=null&&typeof e=="object"&&typeof e.read=="function"&&typeof e.subscribe=="function"}uT.exports=fW});var ST=S((jfe,ET)=>{"use strict";var pW=K().default,Vt=pW(Re()),mW=Ua(),hW=or(),dT=hW.RELAY_LIVE_RESOLVER,vW=Ft(),fT=oT(),gT=Et(),wc=gT.generateClientID,__=gT.generateClientObjectClientID,G=Qe(),gW=pt(),yW=gW.createNormalizationSelector,kc=Vr(),_W=Ly(),bW=_W.normalize,Oi=ye(),b_=Oi.RELAY_RESOLVER_ERROR_KEY,k_=Oi.RELAY_RESOLVER_INVALIDATION_KEY,EW=Oi.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,E_=Oi.RELAY_RESOLVER_SNAPSHOT_KEY,S_=Oi.RELAY_RESOLVER_VALUE_KEY,pT=Oi.getStorageKey,SW=y_(),x_=cT(),xW=Va(),mT=xW.isSuspenseSentinel,be=j(),R_=ce(),I_="__resolverLiveStateSubscription",Rc="__resolverLiveStateValue",Ic="__resolverLiveStateDirty",yT="__RELAY_RESOLVER__",wW="__relay_model_instance";function w_(e,t,i){var n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(i)}var kW=(function(){function e(i,n){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=i,this._store=n,this._handlingBatch=!1,this._liveResolverBatchRecordSource=null}var t=e.prototype;return t.readFromCacheOrEvaluate=function(n,r,o,a,s){var l=this._getRecordSource(),u=Xa(l,n),c=pT(r,o),d=G.getLinkedRecordID(u,c),f=d==null?null:l.get(d),p;if(f==null||this._isInvalid(f,s)){var m;f!=null&&bT(f),d=(m=d)!==null&&m!==void 0?m:wc(n,c),f=G.create(d,yT);var h=a();if(G.setValue(f,E_,h.snapshot),G.setValue(f,b_,h.error),r.kind===dT){if(h.resolverResult!=null){process.env.NODE_ENV!=="production"&&(x_(h.resolverResult)||(process.env.NODE_ENV!=="production"?be(!1,'Expected the @live Relay Resolver backing the field "%s" to return a value that implements LiveState. Did you mean to remove the @live annotation on this resolver?',r.path):be(!1))),h.error!=null&&(process.env.NODE_ENV!=="production"?be(!1,"Did not expect resolver to have both a value and an error."):be(!1));var v=h.resolverResult;p=this._setLiveStateValue(f,d,v,r,o)}else if(process.env.NODE_ENV!=="production"){var _;h.error!=null||!((_=h.snapshot)===null||_===void 0)&&_.isMissingData||(process.env.NODE_ENV!=="production"?be(!1,'Expected the @live Relay Resolver backing the field "%s" to return a value that implements LiveState interface. The result for this field is `%s`, we also did not detect any errors, or missing data during resolver execution. Did you mean to remove the @live annotation on this resolver, or was there unexpected early return in the function?',r.path,String(h.resolverResult)):be(!1))}}else process.env.NODE_ENV!=="production"&&x_(h.resolverResult)&&(process.env.NODE_ENV!=="production"?be(!1,'Unexpected LiveState value returned from the non-@live Relay Resolver backing the field "%s". Did you intend to add @live to this resolver?',r.path):be(!1)),p=this._setResolverValue(f,h.resolverResult,r,o);l.set(d,f);var b=Xa(l,n),g=G.clone(b);if(G.setLinkedRecordID(g,c,d),l.set(n,g),r.fragment!=null){var y,E=pT(r.fragment,o),x=wc(n,E);w_(this._resolverIDToRecordIDs,x,d),w_(this._recordIDToResolverIDs,n,x);var k=(y=h.snapshot)===null||y===void 0?void 0:y.seenRecords;if(k!=null){var w=(0,Vt.default)(k),I;try{for(w.s();!(I=w.n()).done;){var P=I.value;w_(this._recordIDToResolverIDs,P,x)}}catch(Z){w.e(Z)}finally{w.f()}}}}else if(r.kind===dT&&G.getValue(f,Ic)){var C;d=(C=d)!==null&&C!==void 0?C:wc(n,c),f=G.clone(f);var T=G.getValue(f,Rc);x_(T)||(process.env.NODE_ENV!=="production"?be(!1,"Unexpected LiveState value returned from Relay Resolver internal field `RELAY_RESOLVER_LIVE_STATE_VALUE`. It is likely a bug in Relay, or a corrupt state of the relay store state Field Path `%s`. Record `%s`.",r.path,JSON.stringify(f)):be(!1)),p=this._setLiveResolverValue(f,T,r,o),G.setValue(f,Ic,!1),l.set(d,f)}var N=this._getResolverValue(f),$=G.getValue(f,E_),M=G.getValue(f,b_),U=null;if(mT(N)){var B;U=(B=d)!==null&&B!==void 0?B:wc(n,c)}return[N,d,M,$,U,p]},t.getLiveResolverPromise=function(n){var r=this._getRecordSource(),o=r.get(n);o==null&&(process.env.NODE_ENV!=="production"?be(!1,"Expected to find record for live resolver."):be(!1));var a=G.getValue(o,Rc);return new Promise(function(s){var l=a.subscribe(function(){l(),s()})})},t._setLiveStateValue=function(n,r,o,a,s){var l=this._makeLiveStateHandler(r),u=o.subscribe(l);G.setValue(n,Rc,o);var c=this._setLiveResolverValue(n,o,a,s);return G.setValue(n,Ic,!1),G.setValue(n,I_,u),c},t._makeLiveStateHandler=function(n){var r=this;return function(){var o=r._getRecordSource(),a=o.get(n);if(a){if(!G.hasValue(a,Rc)){process.env.NODE_ENV!=="production"&&R_(!1,"Unexpected callback for a incomplete live resolver record (__id: `%s`). The record has missing live state value. This is a no-op and indicates a memory leak, and possible bug in Relay Live Resolvers. Possible cause: The original record was GC-ed, or was created with the optimistic record source. Record details: `%s`.",n,JSON.stringify(a));return}var s=G.clone(a);G.setValue(s,Ic,!0),r._setLiveResolverUpdate(n,s)}}},t._setLiveResolverUpdate=function(n,r){if(this._handlingBatch)this._liveResolverBatchRecordSource==null&&(this._liveResolverBatchRecordSource=kc.create()),this._liveResolverBatchRecordSource.set(n,r);else{var o=kc.create();o.set(n,r),this._store.publish(o),this._store.notify()}},t.batchLiveStateUpdates=function(n){this._handlingBatch&&(process.env.NODE_ENV!=="production"?be(!1,"Unexpected nested call to batchLiveStateUpdates."):be(!1)),this._handlingBatch=!0;try{n()}finally{this._liveResolverBatchRecordSource!=null&&(this._store.publish(this._liveResolverBatchRecordSource),this._store.notify()),this._liveResolverBatchRecordSource=null,this._handlingBatch=!1}},t._setLiveResolverValue=function(n,r,o,a){var s=null,l=null;try{s=r.read()}catch(u){l=u}return G.setValue(n,b_,l),this._setResolverValue(n,s,o,a)},t._setResolverValue=function(n,r,o,a){var s=o.normalizationInfo,l=null;if(r!=null&&s!=null&&!mT(r)){var u,c=SW(n),d=new Set,f=this._getRecordSource();if(s.plural){Array.isArray(r)||(process.env.NODE_ENV!=="production"?be(!1,"_setResolverValue: Expected array value for plural @outputType resolver."):be(!1)),u=[];for(var p=kc.create(),m=0;m<r.length;m++){var h=r[m];if(h!=null){typeof h!="object"&&(process.env.NODE_ENV!=="production"?be(!1,"_setResolverValue: Expected object value as the payload for the @outputType resolver."):be(!1));var v=vT(s,h),_=__(v,G.getDataID(n),m),b=this._normalizeOutputTypeValue(_,h,a,s,[o.path,String(m)],v),g=(0,Vt.default)(b.getRecordIDs()),y;try{for(g.s();!(y=g.n()).done;){var E=y.value;p.set(E,Xa(b,E)),d.add(E)}}catch(T){g.e(T)}finally{g.f()}u.push(_)}}l=hT(f,p,c)}else{typeof r!="object"&&(process.env.NODE_ENV!=="production"?be(!1,"_setResolverValue: Expected object value as the payload for the @outputType resolver."):be(!1));var x=vT(s,r),k=__(x,G.getDataID(n)),w=this._normalizeOutputTypeValue(k,r,a,s,[o.path],x),I=(0,Vt.default)(w.getRecordIDs()),P;try{for(I.s();!(P=I.n()).done;){var C=P.value;d.add(C)}}catch(T){I.e(T)}finally{I.f()}u=k,l=hT(f,w,c)}G.setValue(n,EW,d),fT(u),G.setValue(n,S_,u)}else fT(r),G.setValue(n,S_,r);return l},t.notifyUpdatedSubscribers=function(n){this._store.__notifyUpdatedSubscribers(n)},t._getResolverValue=function(n){return G.getValue(n,S_)},t.invalidateDataIDs=function(n){for(var r=this._getRecordSource(),o=new Set,a=Array.from(n);a.length;){var s=a.pop();o.add(s),n.add(s);var l=this._recordIDToResolverIDs.get(s);if(l!=null){var u=(0,Vt.default)(l),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;if(!o.has(d)){o.add(d);var f=this._resolverIDToRecordIDs.get(d);if(f==null)continue;var p=(0,Vt.default)(f),m;try{for(p.s();!(m=p.n()).done;){var h=m.value;_T(h,r),o.has(h)||(o.add(h),a.push(h))}}catch(v){p.e(v)}finally{p.f()}}}}catch(v){u.e(v)}finally{u.f()}}}},t._isInvalid=function(n,r){if(!G.getValue(n,k_))return!1;var o=G.getValue(n,E_),a=o?.data,s=o?.selector;if(a==null||s==null)return process.env.NODE_ENV!=="production"&&R_(!1,"Expected previous inputs and reader selector on resolver record with ID %s, but they were missing.",G.getDataID(n)),!0;var l=r(s),u=l.data,c=mW(a,u);if(c!==a)return!0;if(vW.MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD){var d=G.clone(n);G.setValue(d,k_,!1);var f=this._getRecordSource();f.set(G.getDataID(n),d)}return!1},t._normalizeOutputTypeValue=function(n,r,o,a,s,l){var u=kc.create();switch(a.kind){case"OutputType":{var c=G.create(n,l);u.set(n,c);var d=yW(a.normalizationNode,n,o),f=this._store.__getNormalizationOptions(s);return bW(u,d,r,f).source}case"WeakModel":{var p=G.create(n,l);return G.setValue(p,wW,r),u.set(n,p),u}default:a.kind,process.env.NODE_ENV!=="production"?be(!1,"LiveResolverCache: Unexpected normalization info kind `%s`.",a.kind):be(!1)}},t.ensureClientRecord=function(n,r){var o=__(r,n),a=this._getRecordSource();if(!a.has(o)){var s=G.create(o,r);G.setValue(s,"id",n),a.set(o,s)}return o},t.unsubscribeFromLiveResolverRecords=function(n){return NW(this._getRecordSource(),n)},t.invalidateResolverRecords=function(n){if(n.size!==0){var r=(0,Vt.default)(n),o;try{for(r.s();!(o=r.n()).done;){var a=o.value,s=this._getRecordSource().get(a);s!=null&&N_(s)&&this._getRecordSource().delete(a)}}catch(l){r.e(l)}finally{r.f()}}},e})();function hT(e,t,i){var n=new Set;if(i!=null){var r=(0,Vt.default)(i),o;try{for(r.s();!(o=r.n()).done;){var a=o.value;t.has(a)||(n.add(a),e.remove(a))}}catch(p){r.e(p)}finally{r.f()}}var s=(0,Vt.default)(t.getRecordIDs()),l;try{for(s.s();!(l=s.n()).done;){var u=l.value,c=Xa(t,u);if(e.has(u)){var d=Xa(e,u),f=G.update(d,c);f!==d&&(n.add(u),e.set(u,f),IW(d,e))}else e.set(u,c)}}catch(p){s.e(p)}finally{s.f()}return n}function RW(e){var t=new Set;return G.getFields(e).forEach(function(i){if(G.hasLinkedRecordID(e,i)){var n=G.getLinkedRecordID(e,i);n!=null&&t.add(n)}else if(G.hasLinkedRecordIDs(e,i)){var r;(r=G.getLinkedRecordIDs(e,i))===null||r===void 0||r.forEach(function(o){o!=null&&t.add(o)})}}),t}function _T(e,t){var i=t.get(e);if(!i){process.env.NODE_ENV!=="production"&&R_(!1,"Expected a resolver record with ID %s, but it was missing.",e);return}var n=G.clone(i);G.setValue(n,k_,!0),t.set(e,n)}function IW(e,t){var i=RW(e),n=(0,Vt.default)(i),r;try{for(n.s();!(r=n.n()).done;){var o=r.value,a=t.get(o);a!=null&&N_(a)&&_T(o,t)}}catch(s){n.e(s)}finally{n.f()}}function NW(e,t){if(t.size!==0){var i=(0,Vt.default)(t),n;try{for(i.s();!(n=i.n()).done;){var r=n.value,o=e.get(r);o!=null&&N_(o)&&bT(o)}}catch(a){i.e(a)}finally{i.f()}}}function N_(e){return G.getType(e)===yT}function bT(e){var t=G.getValue(e,I_);t?.()}function Xa(e,t){var i=e.get(t);return i==null&&(process.env.NODE_ENV!=="production"?be(!1,"Expected a record with ID `%s` to exist in the record source.",t):be(!1)),i}function OW(e){return e}function vT(e,t){var i,n=(i=e.concreteType)!==null&&i!==void 0?i:t.__typename;return n==null&&(process.env.NODE_ENV!=="production"?be(!1,"normalizationInfo.concreteType should not be null, or the value returned from the resolver should include a __typename field, or the resolver should have a flow error. If not, this indicates a bug in Relay."):be(!1)),n}ET.exports={LiveResolverCache:kW,getUpdatedDataIDs:OW,RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY:I_}});var NT=S((Ufe,IT)=>{"use strict";var PW=K().default,TW=PW(de()),kT=Qe(),xT=Vr(),wT=j(),O_=kT.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),RT=(function(){function e(i){this._base=i,this._sink=xT.create()}var t=e.prototype;return t.has=function(n){if(this._sink.has(n)){var r=this._sink.get(n);return r!==O_}else return this._base.has(n)},t.get=function(n){if(this._sink.has(n)){var r=this._sink.get(n);return r===O_?void 0:r}else return this._base.get(n)},t.getStatus=function(n){var r=this.get(n);return r===void 0?"UNKNOWN":r===null?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=xT.create(),this._sink.clear()},t.delete=function(n){this._sink.delete(n)},t.remove=function(n){this._sink.set(n,O_)},t.set=function(n,r){this._sink.set(n,r)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var n=this,r=(0,TW.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach(function(o){var a=n.get(o);a===void 0?delete r[o]:r[o]=kT.toJSON(a)}),r},t.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e})();function CW(e){return new RT(e)}function DW(e){return e instanceof RT||(process.env.NODE_ENV!=="production"?wT(!1,"getOptimisticRecordIDs: Instance of RelayOptimisticRecordSource is expected"):wT(!1)),e.getOptimisticRecordIDs()}IT.exports={create:CW,getOptimisticRecordIDs:DW}});var DT=S((Vfe,CT)=>{"use strict";var $W=K().default,OT=$W(Re()),AW=cc(),qW=p_(),LW=y_(),FW=lr(),PT=FW.getLocalVariables,fr=Qe(),T_=ye(),MW=Ka(),TT=MW.generateTypeID,Pi=j(),P_=T_.getStorageKey,jW=T_.getModuleOperationKey;function UW(e,t,i,n,r){var o=t.dataID,a=t.node,s=t.variables,l=new VW(e,s,i,n,r);l.mark(a,o)}var VW=(function(){function e(i,n,r,o,a){this._operationLoader=o??null,this._operationName=null,this._recordSource=i,this._references=r,this._variables=n,this._shouldProcessClientComponents=a}var t=e.prototype;return t.mark=function(n,r){(n.kind==="Operation"||n.kind==="SplitOperation")&&(this._operationName=n.name),this._traverse(n,r)},t._traverse=function(n,r){this._references.add(r);var o=this._recordSource.get(r);o!=null&&this._traverseSelections(n.selections,o)},t._getVariableValue=function(n){return this._variables.hasOwnProperty(n)||(process.env.NODE_ENV!=="production"?Pi(!1,"RelayReferenceMarker(): Undefined variable `%s`.",n):Pi(!1)),this._variables[n]},t._traverseSelections=function(n,r){var o=this;n.forEach(function(a){switch(a.kind){case"ActorChange":o._traverseLink(a.linkedField,r);break;case"LinkedField":a.plural?o._traversePluralLink(a,r):o._traverseLink(a,r);break;case"Condition":var s=!!o._getVariableValue(a.condition);s===a.passingValue&&o._traverseSelections(a.selections,r);break;case"InlineFragment":if(a.abstractKey==null){var l=fr.getType(r);(l!=null&&l===a.type||l===T_.ROOT_TYPE)&&o._traverseSelections(a.selections,r)}else{var u=fr.getType(r),c=TT(u);o._references.add(c),o._traverseSelections(a.selections,r)}break;case"FragmentSpread":var d=o._variables;o._variables=PT(o._variables,a.fragment.argumentDefinitions,a.args),o._traverseSelections(a.fragment.selections,r),o._variables=d;break;case"LinkedHandle":var f=qW(a,n,o._variables);f.plural?o._traversePluralLink(f,r):o._traverseLink(f,r);break;case"Defer":case"Stream":o._traverseSelections(a.selections,r);break;case"ScalarField":case"ScalarHandle":break;case"TypeDiscriminator":{var p=fr.getType(r),m=TT(p);o._references.add(m);break}case"ModuleImport":o._traverseModuleImport(a,r);break;case"ClientExtension":o._traverseSelections(a.selections,r);break;case"ClientComponent":if(o._shouldProcessClientComponents===!1)break;o._traverseSelections(a.fragment.selections,r);break;case"RelayResolver":o._traverseResolverField(a,r);break;case"RelayLiveResolver":o._traverseResolverField(a,r);break;case"ClientEdgeToClientObject":o._traverseClientEdgeToClientObject(a,r);break;default:process.env.NODE_ENV!=="production"?Pi(!1,"RelayReferenceMarker: Unknown AST node `%s`.",a):Pi(!1)}})},t._traverseClientEdgeToClientObject=function(n,r){var o=this._traverseResolverField(n.backingField,r);if(o!=null){var a=this._recordSource.get(o);if(a!=null)if(n.backingField.isOutputType){var s=LW(a);if(s!=null){var l=(0,OT.default)(s),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;this._references.add(c)}}catch(b){l.e(b)}finally{l.f()}}}else{var d=n.linkedField,f=d.concreteType;if(f==null)return;if(d.plural){var p=fr.getResolverLinkedRecordIDs(a,f);if(p!=null){var m=(0,OT.default)(p),h;try{for(m.s();!(h=m.n()).done;){var v=h.value;v!=null&&this._traverse(d,v)}}catch(b){m.e(b)}finally{m.f()}}}else{var _=fr.getResolverLinkedRecordID(a,f);_!=null&&this._traverse(d,_)}}}},t._traverseResolverField=function(n,r){var o=P_(n,this._variables),a=fr.getLinkedRecordID(r,o);a!=null&&this._references.add(a);var s=n.fragment;return s!=null&&this._traverseSelections([s],r),a},t._traverseModuleImport=function(n,r){var o,a=this._operationLoader;a===null&&(process.env.NODE_ENV!=="production"?Pi(!1,"RelayReferenceMarker: Expected an operationLoader to be configured when using `@module`. Could not load fragment `%s` in operation `%s`.",n.fragmentName,(o=this._operationName)!==null&&o!==void 0?o:"(unknown)"):Pi(!1));var s=jW(n.documentName),l=fr.getValue(r,s);if(l!=null){var u=a.get(l);if(u!=null){var c=AW(u),d=this._variables;this._variables=PT(this._variables,c.argumentDefinitions,n.args),this._traverseSelections(c.selections,r),this._variables=d}}},t._traverseLink=function(n,r){var o=P_(n,this._variables),a=fr.getLinkedRecordID(r,o);a!=null&&this._traverse(n,a)},t._traversePluralLink=function(n,r){var o=this,a=P_(n,this._variables),s=fr.getLinkedRecordIDs(r,a);s?.forEach(function(l){l!=null&&o._traverse(n,l)})},e})();CT.exports={mark:UW}});var AT=S((zfe,$T)=>{"use strict";var zW=Symbol.iterator;function BW(e,t){for(var i=e[zW](),n=i.next();!n.done;){var r=n.value;if(t.has(r))return!0;n=i.next()}return!1}$T.exports=BW});var LT=S((Bfe,qT)=>{"use strict";var KW=ye(),ZW=KW.ROOT_ID,QW=uc(),HW=QW.VIEWER_ID,GW=Symbol.iterator;function YW(e,t){for(var i=e[GW](),n=i.next();!n.done;){var r=n.value;if(t.has(r)&&r!==ZW&&r!==HW)return!0;n=i.next()}return!1}qT.exports=YW});var VT=S((Kfe,UT)=>{"use strict";var WW=wn(),FT=Ua(),MT=Ft(),JW=AT(),XW=LT(),jT=bc(),eJ=(function(){function e(i,n,r){this._subscriptions=new Set,this.__log=i,this._resolverCache=n,this._resolverContext=r}var t=e.prototype;return t.subscribe=function(n,r){var o=this,a={backup:null,callback:r,snapshot:n,stale:!1},s=function(){o._subscriptions.delete(a)};return this._subscriptions.add(a),{dispose:s}},t.snapshotSubscriptions=function(n){var r=this;this._subscriptions.forEach(function(o){if(!o.stale){o.backup=o.snapshot;return}var a=o.snapshot,s=jT.read(n,a.selector,r._resolverCache,r._resolverContext),l=FT(a.data,s.data);s.data=l,o.backup=s})},t.restoreSubscriptions=function(){this._subscriptions.forEach(function(n){var r=n.backup;n.backup=null,r?(r.data!==n.snapshot.data&&(n.stale=!0),n.snapshot={data:n.snapshot.data,isMissingData:r.isMissingData,missingClientEdges:r.missingClientEdges,missingLiveResolverFields:r.missingLiveResolverFields,seenRecords:r.seenRecords,selector:r.selector,errorResponseFields:r.errorResponseFields}):n.stale=!0})},t.updateSubscriptions=function(n,r,o,a){var s=this,l=r.size!==0;this._subscriptions.forEach(function(u){var c=s._updateSubscription(n,u,r,l,a);c!=null&&o.push(c)})},t._updateSubscription=function(n,r,o,a,s){var l=r.backup,u=r.callback,c=r.snapshot,d=r.stale,f=a&&JW(c.seenRecords,o);if(!(!d&&!f)){var p=f||!l?jT.read(n,c.selector,this._resolverCache,this._resolverContext):l,m=FT(c.data,p.data);if(p={data:m,isMissingData:p.isMissingData,missingClientEdges:p.missingClientEdges,missingLiveResolverFields:p.missingLiveResolverFields,seenRecords:p.seenRecords,selector:p.selector,errorResponseFields:p.errorResponseFields},process.env.NODE_ENV!=="production"&&WW(p),r.snapshot=p,r.stale=!1,p.data!==c.data)return this.__log&&MT.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:s,snapshot:c,nextSnapshot:p}),u(p),c.selector.owner;if(MT.ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION&&(d||XW(c.seenRecords,o)))return c.selector.owner}},t.size=function(){return this._subscriptions.size},e})();UT.exports=eJ});var YT=S((Zfe,GT)=>{"use strict";var ZT=K().default,zT=ZT(Re()),tJ=ZT(Ze()),QT=ic(),rJ=QT.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,BT=QT.assertInternalActorIdentifier,nJ=wn(),iJ=BP(),oJ=nT(),aJ=Uy(),D_=ST(),sJ=D_.LiveResolverCache,lJ=D_.RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY,uJ=D_.getUpdatedDataIDs,zt=Qe(),KT=NT(),cJ=bc(),dJ=DT(),fJ=VT(),pJ=ye(),HT=ye(),C_=HT.ROOT_ID,mJ=HT.ROOT_TYPE,Nc=j(),hJ=10,vJ=(function(){function e(i,n){var r=this,o,a,s,l,u,c,d;if((0,tJ.default)(this,"_gcStep",function(){r._gcRun&&(r._gcRun.next().done?r._gcRun=null:r._gcScheduler(r._gcStep))}),process.env.NODE_ENV!=="production")for(var f=i.getRecordIDs(),p=0;p<f.length;p++){var m=i.get(f[p]);m&&zt.freeze(m)}this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=(o=n?.gcReleaseBufferSize)!==null&&o!==void 0?o:hJ,this._gcRun=null,this._gcScheduler=(a=n?.gcScheduler)!==null&&a!==void 0?a:iJ,this._getDataID=(s=n?.getDataID)!==null&&s!==void 0?s:aJ,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=(l=n?.log)!==null&&l!==void 0?l:null,this._queryCacheExpirationTime=n?.queryCacheExpirationTime,this._operationLoader=(u=n?.operationLoader)!==null&&u!==void 0?u:null,this._optimisticSource=null,this._recordSource=i,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new sJ(function(){return r._getMutableRecordSource()},this),this._storeSubscriptions=new fJ(n?.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=(c=n?.shouldProcessClientComponents)!==null&&c!==void 0?c:!1,this._resolverContext=n?.resolverContext,this._treatMissingFieldsAsNull=(d=n?.treatMissingFieldsAsNull)!==null&&d!==void 0?d:!1,this._actorIdentifier=n?.actorIdentifier,gJ(this._recordSource)}var t=e.prototype;return t.getSource=function(){var n;return(n=this._optimisticSource)!==null&&n!==void 0?n:this._recordSource},t.getOperationLoader=function(){return this._operationLoader},t._getMutableRecordSource=function(){var n;return(n=this._optimisticSource)!==null&&n!==void 0?n:this._recordSource},t.getLiveResolverPromise=function(n){return this._resolverCache.getLiveResolverPromise(n)},t.batchLiveStateUpdates=function(n){this.__log!=null&&this.__log({name:"liveresolver.batch.start"});try{this._resolverCache.batchLiveStateUpdates(n)}finally{this.__log!=null&&this.__log({name:"liveresolver.batch.end"})}},t.check=function(n,r){var o,a,s,l,u=n.root,c=this._getMutableRecordSource(),d=this._globalInvalidationEpoch,f=this._roots.get(n.request.identifier),p=f!=null?f.epoch:null;if(d!=null&&(p==null||p<=d))return{status:"stale"};var m=(o=r?.handlers)!==null&&o!==void 0?o:[],h=(a=r?.getSourceForActor)!==null&&a!==void 0?a:function(b){return BT(b),c},v=(s=r?.getTargetForActor)!==null&&s!==void 0?s:function(b){return BT(b),c},_=oJ.check(h,v,(l=r?.defaultActorIdentifier)!==null&&l!==void 0?l:rJ,u,m,this._operationLoader,this._getDataID,this._shouldProcessClientComponents,this.__log);return _J(_,p,f?.fetchTime,this._queryCacheExpirationTime)},t.retain=function(n){var r=this,o=n.request.identifier,a=!1,s=function(){if(!a){a=!0;var c=r._roots.get(o);if(c!=null&&(c.refCount--,c.refCount===0)){var d=r._queryCacheExpirationTime,f=c.fetchTime!=null&&d!=null&&c.fetchTime<=Date.now()-d;if(f)r._roots.delete(o),r.scheduleGC();else if(r._releaseBuffer.push(o),r._releaseBuffer.length>r._gcReleaseBufferSize){var p=r._releaseBuffer.shift();r._roots.delete(p),r.scheduleGC()}}}},l=this._roots.get(o);return l!=null?(l.refCount===0&&(this._releaseBuffer=this._releaseBuffer.filter(function(u){return u!==o})),l.refCount+=1):this._roots.set(o,{operation:n,refCount:1,epoch:null,fetchTime:null}),{dispose:s}},t.lookup=function(n){var r=this.__log;r?.({name:"store.lookup.start",selector:n});var o=this.getSource(),a=cJ.read(o,n,this._resolverCache,this._resolverContext);return process.env.NODE_ENV!=="production"&&nJ(a),r?.({name:"store.lookup.end",selector:n}),a},t.notify=function(n,r){var o=this,a=this.__log;a?.({name:"store.notify.start",sourceOperation:n}),this._currentWriteEpoch++,r===!0&&(this._globalInvalidationEpoch=this._currentWriteEpoch),this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var s=this.getSource(),l=[];if(this._storeSubscriptions.updateSubscriptions(s,this._updatedRecordIDs,l,n),this._invalidationSubscriptions.forEach(function(f){o._updateInvalidationSubscription(f,r===!0)}),n!=null){var u=n.request.identifier,c=this._roots.get(u);if(c!=null)c.epoch=this._currentWriteEpoch,c.fetchTime=Date.now();else if(n.request.node.params.operationKind==="query"&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var d={operation:n,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(u),this._roots.set(u,d)}}return a?.({name:"store.notify.complete",sourceOperation:n,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs,subscriptionsSize:this._storeSubscriptions.size(),updatedOwners:l}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),l},t.publish=function(n,r){var o=this._getMutableRecordSource();yJ(o,n,this._currentWriteEpoch+1,r,this._updatedRecordIDs,this._invalidatedRecordIDs);var a=this.__log;a?.({name:"store.publish",source:n,optimistic:o===this._optimisticSource})},t.subscribe=function(n,r){return this._storeSubscriptions.subscribe(n,r)},t.holdGC=function(){var n=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;var r=function(){n._gcHoldCounter>0&&(n._gcHoldCounter--,n._gcHoldCounter===0&&n._shouldScheduleGC&&(n.scheduleGC(),n._shouldScheduleGC=!1))};return{dispose:r}},t.toJSON=function(){return"RelayModernStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(n){var r=this,o=new Map;return n.forEach(function(a){var s,l=r.getSource().get(a);o.set(a,(s=zt.getInvalidationEpoch(l))!==null&&s!==void 0?s:null)}),o.set("global",this._globalInvalidationEpoch),{dataIDs:n,invalidations:o}},t.checkInvalidationState=function(n){var r=this.lookupInvalidationState(n.dataIDs),o=r.invalidations,a=n.invalidations;if(o.get("global")!==a.get("global"))return!0;var s=(0,zT.default)(n.dataIDs),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;if(o.get(u)!==a.get(u))return!0}}catch(c){s.e(c)}finally{s.f()}return!1},t.subscribeToInvalidationState=function(n,r){var o=this,a={callback:r,invalidationState:n},s=function(){o._invalidationSubscriptions.delete(a)};return this._invalidationSubscriptions.add(a),{dispose:s}},t._updateInvalidationSubscription=function(n,r){var o=this,a=n.callback,s=n.invalidationState,l=s.dataIDs,u=r||l.some(function(c){return o._invalidatedRecordIDs.has(c)});u&&a()},t.snapshot=function(){this._optimisticSource!=null&&(process.env.NODE_ENV!=="production"?Nc(!1,"RelayModernStore: Unexpected call to snapshot() while a previous snapshot exists."):Nc(!1));var n=this.__log;n?.({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=KT.create(this.getSource())},t.restore=function(){var n=this._optimisticSource;n||(process.env.NODE_ENV!=="production"?Nc(!1,"RelayModernStore: Unexpected call to restore(), expected a snapshot to exist (make sure to call snapshot())."):Nc(!1));var r=this.__log;r?.({name:"store.restore"});var o=KT.getOptimisticRecordIDs(n);this._resolverCache.unsubscribeFromLiveResolverRecords(o),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions(),this._resolverCache.invalidateResolverRecords(o)},t.scheduleGC=function(){if(this._gcHoldCounter>0){this._shouldScheduleGC=!0;return}this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(this._optimisticSource==null)for(var n=this._collect();!n.next().done;);},t._collect=function*(){var n=this.__log;e:for(;;){n?.({name:"store.gc.start"});var r=this._currentWriteEpoch,o=new Set,a=(0,zT.default)(this._roots.values()),s;try{for(a.s();!(s=a.n()).done;){var l=s.value.operation,u=l.root;if(dJ.mark(this._recordSource,u,o,this._operationLoader,this._shouldProcessClientComponents),yield,r!==this._currentWriteEpoch){n?.({name:"store.gc.interrupted"});continue e}}}catch(h){a.e(h)}finally{a.f()}if(o.size===0)this._recordSource.clear();else for(var c=this._recordSource.getRecordIDs(),d=0;d<c.length;d++){var f=c[d];if(!o.has(f)){var p=this._recordSource.get(f);if(p!=null){var m=zt.getValue(p,lJ);m?.()}this._recordSource.remove(f)}}n?.({name:"store.gc.end",references:o});return}},t.__getNormalizationOptions=function(n){return{path:n,getDataID:this._getDataID,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents,actorIdentifier:this._actorIdentifier}},t.__notifyUpdatedSubscribers=function(n){var r=uJ(n),o=this._updatedRecordIDs;this._updatedRecordIDs=r,this.notify(),this._updatedRecordIDs=o},e})();function gJ(e){if(!e.has(C_)){var t=zt.create(C_,mJ);e.set(C_,t)}}function yJ(e,t,i,n,r,o){n&&n.forEach(function(f){var p=e.get(f),m=t.get(f);if(m!==null){var h;p!=null?h=zt.clone(p):h=m!=null?zt.clone(m):null,h&&(zt.setValue(h,pJ.INVALIDATED_AT_KEY,i),o.add(f),e.set(f,h))}});for(var a=t.getRecordIDs(),s=0;s<a.length;s++){var l=a[s],u=t.get(l),c=e.get(l);if(process.env.NODE_ENV!=="production"&&u&&zt.freeze(u),u&&c){var d=zt.update(c,u);d!==c&&(process.env.NODE_ENV!=="production"&&zt.freeze(d),r.add(l),e.set(l,d))}else u===null?(e.delete(l),c!==null&&r.add(l)):u&&(e.set(l,u),r.add(l))}}function _J(e,t,i,n){var r=e.mostRecentlyInvalidatedAt,o=e.status;if(typeof r=="number"&&(t==null||r>t))return{status:"stale"};if(o==="missing")return{status:"missing"};if(i!=null&&n!=null){var a=i<=Date.now()-n;if(a)return{status:"stale"}}return{status:"available",fetchTime:i??null}}GT.exports=vJ});var JT=S((Qfe,WT)=>{"use strict";var bJ=Ma(),EJ=ft(),SJ=EJ.getRequest,xJ=Lr(),wJ=xJ.createOperationDescriptor,kJ=pt(),RJ=kJ.createReaderSelector,IJ=ce();function NJ(e,t){var i=SJ(t.subscription);if(i.params.operationKind!=="subscription")throw new Error("requestSubscription: Must use Subscription operation");var n=t.configs,r=t.onCompleted,o=t.onError,a=t.onNext,s=t.variables,l=t.cacheConfig,u=wJ(i,s,l);process.env.NODE_ENV!=="production"&&IJ(!(t.updater&&n),"requestSubscription: Expected only one of `updater` and `configs` to be provided");var c=n?bJ.convert(n,i,null,t.updater):t,d=c.updater,f=e.executeSubscription({operation:u,updater:d}).subscribe({next:function(m){if(a!=null){var h=u.fragment,v;if(Array.isArray(m)){var _,b;v=(_=m[0])===null||_===void 0||(b=_.extensions)===null||b===void 0?void 0:b.__relay_subscription_root_id}else{var g;v=(g=m.extensions)===null||g===void 0?void 0:g.__relay_subscription_root_id}typeof v=="string"&&(h=RJ(h.node,v,h.variables,h.owner));var y=e.lookup(h).data;a(y)}},error:o,complete:r});return{dispose:f.unsubscribe}}WT.exports=NJ});var tC=S((Hfe,eC)=>{"use strict";var OJ=K().default,PJ=OJ(de()),XT=ye(),TJ=XT.getModuleComponentKey,CJ=XT.getModuleOperationKey;function DJ(e,t,i,n){var r=(0,PJ.default)({},n);return r[TJ(e)]=i,r[CJ(e)]=t,r}eC.exports=DJ});var nC=S((Gfe,rC)=>{"use strict";var $J=Object.prototype.hasOwnProperty;function AJ(e){for(var t in e)if($J.call(e,t))return!1;return!0}rC.exports=AJ});var sC=S((Yfe,aC)=>{"use strict";var $_=pt(),qJ=$_.getDataIDsFromFragment,LJ=$_.getSelector,FJ=$_.getVariablesFromFragment,MJ=nC(),es=Ft(),jJ=qr(),iC=jJ.stableCopy,UJ=uy(),oC=UJ.intern;function VJ(e,t){var i=LJ(e,t),n=i==null?"null":i.kind==="SingularReaderSelector"?i.owner.identifier:"["+i.selectors.map(function(u){return u.owner.identifier}).join(",")+"]",r=FJ(e,t),o=qJ(e,t);if(es.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var a=typeof o>"u"?"missing":o==null?"null":Array.isArray(o)?"["+o.join(",")+"]":o;return a=es.STRING_INTERN_LEVEL<=1?a:oC(a,es.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+(r==null||MJ(r)?"{}":JSON.stringify(iC(r)))+"/"+a}else{var s,l=(s=JSON.stringify(o))!==null&&s!==void 0?s:"missing";return l=es.STRING_INTERN_LEVEL<=1?l:oC(l,es.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+JSON.stringify(iC(r))+"/"+l}}aC.exports=VJ});var A_=S((Wfe,lC)=>{"use strict";var Bt=j();function zJ(e,t){var i,n;((i=e.metadata)===null||i===void 0?void 0:i.plural)===!0&&(process.env.NODE_ENV!=="production"?Bt(!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):Bt(!1));var r=(n=e.metadata)===null||n===void 0?void 0:n.refetch;r==null&&(process.env.NODE_ENV!=="production"?Bt(!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):Bt(!1));var o=r.operation.default?r.operation.default:r.operation,a=r.fragmentPathInResult;typeof o=="string"&&(process.env.NODE_ENV!=="production"?Bt(!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):Bt(!1));var s=r.identifierInfo;return s!=null&&(s.identifierField==null||typeof s.identifierField=="string"||(process.env.NODE_ENV!=="production"?Bt(!1,"Relay: getRefetchMetadata(): Expected `identifierField` to be a string."):Bt(!1)),s.identifierQueryVariableName==null||typeof s.identifierQueryVariableName=="string"||(process.env.NODE_ENV!=="production"?Bt(!1,"Relay: getRefetchMetadata(): Expected `identifierQueryVariableName` to be a string."):Bt(!1))),{fragmentRefPathInResponse:a,identifierInfo:s,refetchableRequest:o,refetchMetadata:r}}lC.exports=zJ});var cC=S((Jfe,uC)=>{"use strict";var BJ=A_(),Ti=j();function KJ(e,t){var i,n,r=BJ(e,t),o=r.refetchableRequest,a=r.refetchMetadata,s=a.connection;s==null&&(process.env.NODE_ENV!=="production"?Ti(!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):Ti(!1));var l=s.path,u=((i=(n=e.metadata)===null||n===void 0?void 0:n.connection)!==null&&i!==void 0?i:[])[0];u==null&&(process.env.NODE_ENV!=="production"?Ti(!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):Ti(!1));var c=a.identifierInfo;return c?.identifierField==null||typeof c.identifierField=="string"||(process.env.NODE_ENV!=="production"?Ti(!1,"Relay: getRefetchMetadata(): Expected `identifierField` to be a string."):Ti(!1)),{connectionPathInFragmentData:l,identifierField:c?.identifierField,paginationRequest:o,paginationMetadata:s,stream:u.stream===!0}}uC.exports=KJ});var pC=S((Xfe,fC)=>{"use strict";var dC=K().default,Oc=dC(Ze()),Ci=dC(de()),Pc=j(),Tc=ce();function ZJ(e,t,i,n,r,o){var a,s=o.backward,l=o.forward;if(e==="backward"){var u;s!=null&&s.count!=null&&s.cursor!=null||(process.env.NODE_ENV!=="production"?Pc(!1,"Relay: Expected backward pagination metadata to be available. If you're seeing this, this is likely a bug in Relay."):Pc(!1)),process.env.NODE_ENV!=="production"&&Tc(!r.hasOwnProperty(s.cursor),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain cursor variable `%s`. This variable is automatically determined by Relay.",s.cursor),process.env.NODE_ENV!=="production"&&Tc(!r.hasOwnProperty(s.count),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain count variable `%s`. This variable is automatically determined by Relay.",s.count);var c=(0,Ci.default)((0,Ci.default)((0,Ci.default)({},n),r),{},(u={},(0,Oc.default)(u,s.cursor,i),(0,Oc.default)(u,s.count,t),u));return l&&l.cursor&&(c[l.cursor]=null),l&&l.count&&(c[l.count]=null),c}l!=null&&l.count!=null&&l.cursor!=null||(process.env.NODE_ENV!=="production"?Pc(!1,"Relay: Expected forward pagination metadata to be available. If you're seeing this, this is likely a bug in Relay."):Pc(!1)),process.env.NODE_ENV!=="production"&&Tc(!r.hasOwnProperty(l.cursor),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain cursor variable `%s`. This variable is automatically determined by Relay.",l.cursor),process.env.NODE_ENV!=="production"&&Tc(!r.hasOwnProperty(l.count),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain count variable `%s`. This variable is automatically determined by Relay.",l.count);var d=(0,Ci.default)((0,Ci.default)((0,Ci.default)({},n),r),{},(a={},(0,Oc.default)(a,l.cursor,i),(0,Oc.default)(a,l.count,t),a));return s&&s.cursor&&(d[s.cursor]=null),s&&s.count&&(d[s.count]=null),d}fC.exports=ZJ});var hC=S((epe,mC)=>{"use strict";var QJ=K().default,HJ=QJ(Re()),Cc=j();function GJ(e,t){var i=e,n=(0,HJ.default)(t),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(i==null)return null;typeof o=="number"?(Array.isArray(i)||(process.env.NODE_ENV!=="production"?Cc(!1,"Relay: Expected an array when extracting value at path. If you're seeing this, this is likely a bug in Relay."):Cc(!1)),i=i[o]):(typeof i=="object"&&!Array.isArray(i)||(process.env.NODE_ENV!=="production"?Cc(!1,"Relay: Expected an object when extracting value at path. If you're seeing this, this is likely a bug in Relay."):Cc(!1)),i=i[o])}}catch(a){n.e(a)}finally{n.f()}return i}mC.exports=GJ});var gC=S((tpe,vC)=>{"use strict";var Di={},YJ={stop:function(){}},WJ={profile:function(t,i){var n=Di[t];if(n&&n.length>0){for(var r=[],o=n.length-1;o>=0;o--){var a=n[o](t,i);r.unshift(a)}return{stop:function(l){r.forEach(function(u){return u(l)})}}}return YJ},attachProfileHandler:function(t,i){Di.hasOwnProperty(t)||(Di[t]=[]),Di[t].push(i)},detachProfileHandler:function(t,i){Di.hasOwnProperty(t)&&JJ(Di[t],i)}};function JJ(e,t){var i=e.indexOf(t);i!==-1&&e.splice(i,1)}vC.exports=WJ});var RC=S((rpe,kC)=>{"use strict";var SC=uN(),XJ=SC.isErrorResult,e8=SC.isValueResult,t8=qa(),r8=Gu(),n8=dy(),i8=fy(),o8=VN(),a8=BN(),s8=rO(),yC=Ma(),l8=cO(),u8=cr(),c8=pO(),d8=gO(),f8=_O(),Dc=Qu(),Kt=ft(),p8=EO(),j_=Et(),m8=j_.generateClientID,h8=j_.generateUniqueClientID,v8=j_.isClientID,g8=DO(),y8=LO(),_8=Ju(),xC=Va(),b8=xC.isSuspenseSentinel,E8=xC.suspenseSentinel,S8=Fy(),x8=b0(),_C=lr(),w8=VP(),bC=Lr(),k8=Qe(),st=pt(),R8=YT(),I8=jy(),N8=Vr(),ht=ye(),O8=zu(),EC=uc(),P8=JT(),T8=tC(),C8=wn(),D8=sC(),$8=cC(),A8=pC(),q8=Hu(),L8=A_(),F8=Lu(),M8=py(),j8=hC(),U8=vi(),V8=U8.handlePotentialSnapshotErrors,z8=ry(),B8=_y(),K8=Ua(),Z8=or(),Q8=Hg(),H8=Vy(),G8=Ft(),Y8=gC(),W8=ny(),wC=qr(),J8=wC.hasCycle,X8=wC.stableCopy,e3=yy();if(process.env.NODE_ENV!=="production"&&(q_=typeof Map!="function"?"Map":null,L_=typeof Set!="function"?"Set":null,F_=typeof Promise!="function"?"Promise":null,M_=typeof Object.assign!="function"?"Object.assign":null,q_||L_||F_||M_))throw new Error("relay-runtime requires ".concat([q_,L_,F_,M_].filter(Boolean).join(", and ")," to exist. ")+"Use a polyfill to provide these for older browsers.");var q_,L_,F_,M_;kC.exports={Environment:w8,Network:l8,Observable:u8,QueryResponseCache:c8,RecordSource:N8,Record:k8,ReplaySubject:W8,Store:R8,areEqualSelectors:st.areEqualSelectors,createFragmentSpecResolver:g8,createNormalizationSelector:st.createNormalizationSelector,createOperationDescriptor:bC.createOperationDescriptor,createReaderSelector:st.createReaderSelector,createRequestDescriptor:bC.createRequestDescriptor,getArgumentValues:ht.getArgumentValues,getDataIDsFromFragment:st.getDataIDsFromFragment,getDataIDsFromObject:st.getDataIDsFromObject,getNode:Kt.getNode,getFragment:Kt.getFragment,getInlineDataFragment:Kt.getInlineDataFragment,getModuleComponentKey:ht.getModuleComponentKey,getModuleOperationKey:ht.getModuleOperationKey,getPaginationFragment:Kt.getPaginationFragment,getPluralSelector:st.getPluralSelector,getRefetchableFragment:Kt.getRefetchableFragment,getRequest:Kt.getRequest,getRequestIdentifier:M8,getSelector:st.getSelector,getSelectorsFromObject:st.getSelectorsFromObject,getSingularSelector:st.getSingularSelector,getStorageKey:ht.getStorageKey,getVariablesFromFragment:st.getVariablesFromFragment,getVariablesFromObject:st.getVariablesFromObject,getVariablesFromPluralFragment:st.getVariablesFromPluralFragment,getVariablesFromSingularFragment:st.getVariablesFromSingularFragment,handlePotentialSnapshotErrors:V8,graphql:Kt.graphql,isErrorResult:XJ,isValueResult:e8,isFragment:Kt.isFragment,isInlineDataFragment:Kt.isInlineDataFragment,isSuspenseSentinel:b8,suspenseSentinel:E8,isRequest:Kt.isRequest,readInlineData:x8,MutationTypes:yC.MutationTypes,RangeOperations:yC.RangeOperations,DefaultHandlerProvider:i8,ConnectionHandler:t8,MutationHandlers:n8,VIEWER_ID:EC.VIEWER_ID,VIEWER_TYPE:EC.VIEWER_TYPE,applyOptimisticMutation:o8,commitLocalUpdate:a8,commitMutation:s8,fetchQuery:d8,fetchQuery_DEPRECATED:f8,isRelayModernEnvironment:_8,requestSubscription:P8,ConnectionInterface:r8,PreloadableQueryRegistry:p8,RelayProfiler:Y8,createPayloadFor3DField:T8,RelayConcreteNode:Z8,RelayError:H8,RelayFeatureFlags:G8,DEFAULT_HANDLE_KEY:Q8.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:ht.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:ht.FRAGMENT_OWNER_KEY,ID_KEY:ht.ID_KEY,REF_KEY:ht.REF_KEY,REFS_KEY:ht.REFS_KEY,ROOT_ID:ht.ROOT_ID,ROOT_TYPE:ht.ROOT_TYPE,TYPENAME_KEY:ht.TYPENAME_KEY,deepFreeze:C8,generateClientID:m8,generateUniqueClientID:h8,getRelayHandleKey:F8,isClientID:v8,isPromise:z8,isScalarAndEqual:B8,recycleNodesInto:K8,stableCopy:X8,hasCycle:J8,getFragmentIdentifier:D8,getRefetchMetadata:L8,getPaginationMetadata:$8,getPaginationVariables:A8,getPendingOperationsForFragment:q8,getValueAtPath:j8,__internal:{ResolverFragments:O8,OperationTracker:I8,createRelayContext:y8,getOperationVariables:_C.getOperationVariables,getLocalVariables:_C.getLocalVariables,fetchQuery:Dc.fetchQuery,fetchQueryDeduped:Dc.fetchQueryDeduped,getPromiseForActiveRequest:Dc.getPromiseForActiveRequest,getObservableForActiveRequest:Dc.getObservableForActiveRequest,normalizeResponse:S8,withProvidedVariables:e3}}});var re=S((npe,IC)=>{"use strict";IC.exports=RC()});var hr=S((Yge,jD)=>{"use strict";var k9=Q(),R9=re(),I9=R9.__internal.createRelayContext;jD.exports=I9(k9)});var os=S((Wge,vr)=>{"use strict";function ob(){return vr.exports=ob=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},vr.exports.__esModule=!0,vr.exports.default=vr.exports,ob.apply(null,arguments)}vr.exports=ob,vr.exports.__esModule=!0,vr.exports.default=vr.exports});var ss=S((Jge,as)=>{"use strict";function N9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}as.exports=N9,as.exports.__esModule=!0,as.exports.default=as.exports});var UD=S((Xge,gr)=>{"use strict";function ab(e,t){return gr.exports=ab=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},gr.exports.__esModule=!0,gr.exports.default=gr.exports,ab(e,t)}gr.exports=ab,gr.exports.__esModule=!0,gr.exports.default=gr.exports});var us=S((eye,ls)=>{"use strict";var O9=UD();function P9(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,O9(e,t)}ls.exports=P9,ls.exports.__esModule=!0,ls.exports.default=ls.exports});var zD=S((tye,VD)=>{"use strict";var od=j();function T9(e,t){t&&typeof t=="object"||(process.env.NODE_ENV!=="production"?od(!1,"Could not create Relay Container for `%s`. Expected a set of GraphQL fragments, got `%s` instead.",e,t):od(!1));for(var i in t)if(t.hasOwnProperty(i)){var n=t[i];n&&(typeof n=="object"||typeof n=="function")||(process.env.NODE_ENV!=="production"?od(!1,"Could not create Relay Container for `%s`. The value of fragment `%s` was expected to be a fragment, got `%s` instead.",e,i,n):od(!1))}}VD.exports=T9});var cs=S((rye,KD)=>{"use strict";function BD(e){return e.displayName||e.name||"Component"}function C9(e){return"Relay("+BD(e)+")"}KD.exports={getComponentName:BD,getContainerName:C9}});var ad=S((nye,ZD)=>{"use strict";var D9=Q();ZD.exports=D9.createContext({rootIsQueryRenderer:!1})});var sd=S((iye,YD)=>{"use strict";var $9=K().default,A9=$9(os()),q9=zD(),GD=cs(),L9=GD.getComponentName,F9=GD.getContainerName,M9=hr(),j9=ad(),QD=j(),sb=Q(),U9=re(),V9=U9.getFragment,HD=sb.useContext;function z9(e,t,i){var n=F9(e);q9(L9(e),t);var r={};for(var o in t)r[o]=V9(t[o]);var a=i(e,r);a.displayName=n;function s(u,c){var d,f=HD(M9);f==null&&(process.env.NODE_ENV!=="production"?QD(!1,"`%s` tried to render a context that was not valid this means that `%s` was rendered outside of a query renderer.",n,n):QD(!1));var p=HD(j9);return sb.createElement(a,(0,A9.default)({},u,{__relayContext:f,__rootIsQueryRenderer:(d=p?.rootIsQueryRenderer)!==null&&d!==void 0?d:!1,componentRef:u.componentRef||c}))}s.displayName=n;var l=sb.forwardRef(s);return process.env.NODE_ENV!=="production"&&(l.__ComponentClass=e,l.displayName=n),l}YD.exports=z9});var JD=S((oye,WD)=>{"use strict";function B9(e){return typeof e=="object"&&e!==null&&typeof e.check=="function"&&typeof e.lookup=="function"&&typeof e.retain=="function"&&typeof e.execute=="function"&&typeof e.subscribe=="function"}WD.exports=B9});var ld=S((aye,t$)=>{"use strict";var K9=JD(),XD=j();function Z9(e){return e$(e)||(process.env.NODE_ENV!=="production"?XD(!1,"RelayContext: Expected `context.relay` to be an object conforming to the `RelayContext` interface, got `%s`.",e):XD(!1)),e}function e$(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&K9(e.environment)}t$.exports={assertRelayContext:Z9,isRelayContext:e$}});var l$=S((sye,s$)=>{"use strict";var ds=K().default,Q9=ds(os()),H9=ds(kn()),G9=ds(ss()),Y9=ds(us()),r$=ds(Ze()),W9=["componentRef","__relayContext","__rootIsQueryRenderer"],J9=sd(),X9=cs(),eX=X9.getContainerName,tX=ld(),n$=tX.assertRelayContext,rX=et(),i$=Q(),lb=re(),o$=lb.createFragmentSpecResolver,a$=lb.getDataIDsFromObject,nX=lb.isScalarAndEqual;function iX(e,t){var i,n=eX(e);return i=(function(r){(0,Y9.default)(o,r);function o(s){var l,u;u=r.call(this,s)||this,(0,r$.default)((0,G9.default)(u),"_handleFragmentDataUpdate",function(){var p=u.state.resolver;u.setState(function(m){return p===m.resolver?{data:m.resolver.resolve(),relayProp:ud(m.relayProp.environment)}:null})});var c=n$(s.__relayContext),d=(l=s.__rootIsQueryRenderer)!==null&&l!==void 0?l:!1,f=o$(c,n,t,s,d);return u.state={data:f.resolve(),prevProps:s,prevPropsContext:c,relayProp:ud(c.environment),resolver:f},u}o.getDerivedStateFromProps=function(l,u){var c,d=u.prevProps,f=n$(l.__relayContext),p=(c=l.__rootIsQueryRenderer)!==null&&c!==void 0?c:!1,m=a$(t,d),h=a$(t,l),v=u.resolver;if(u.prevPropsContext.environment!==f.environment||!rX(m,h))return v=o$(f,n,t,l,p),{data:v.resolve(),prevPropsContext:f,prevProps:l,relayProp:ud(f.environment),resolver:v};v.setProps(l);var _=v.resolve();return _!==u.data?{data:_,prevProps:l,prevPropsContext:f,relayProp:ud(f.environment)}:null};var a=o.prototype;return a.componentDidMount=function(){this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},a.componentDidUpdate=function(l,u){this.state.resolver!==u.resolver?(u.resolver.dispose(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},a.componentWillUnmount=function(){this.state.resolver.dispose()},a.shouldComponentUpdate=function(l,u){if(u.data!==this.state.data)return!0;for(var c=Object.keys(l),d=0;d<c.length;d++){var f=c[d];if(f==="__relayContext"){if(u.prevPropsContext.environment!==this.state.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(f)&&!nX(l[f],this.props[f]))return!0}return!1},a._rerenderIfStoreHasChanged=function(){var l=this.state,u=l.data,c=l.resolver,d=c.resolve();u!==d&&this.setState({data:d})},a._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var l=this.state,u=l.data,c=l.resolver,d=c.resolve();c.setCallback(this.props,this._handleFragmentDataUpdate),u!==d&&this.setState({data:d})},a.render=function(){var l=this.props,u=l.componentRef,c=l.__relayContext,d=l.__rootIsQueryRenderer,f=(0,H9.default)(l,W9);return i$.createElement(e,(0,Q9.default)({},f,this.state.data,{ref:u,relay:this.state.relayProp}))},o})(i$.Component),(0,r$.default)(i,"displayName",n),i}function ud(e){return{environment:e}}function oX(e,t){return J9(e,t,iX)}s$.exports={createContainer:oX}});var d$=S((lye,c$)=>{"use strict";var aX=hr(),sX=ad(),lX=et(),qn=Q(),cb=re(),uX=cb.createOperationDescriptor,cX=cb.deepFreeze,dX=cb.getRequest,fX=qn.useLayoutEffect,pX=qn.useState,u$=qn.useRef,ub=qn.useMemo,mX={rootIsQueryRenderer:!0};function hX(e){var t=qn.useRef(e);return lX(t.current,e)||(process.env.NODE_ENV!=="production"&&cX(e),t.current=e),t.current}function vX(e){var t=e.environment,i=e.query,n=e.variables,r=e.render,o=hX(n),a=ub(function(){var p=dX(i);return uX(p,o)},[i,o]),s=ub(function(){return{environment:t}},[t]),l=u$(null),u=pX(null),c=u[1],d=u$(null),f=ub(function(){t.check(a);var p=t.lookup(a.fragment);l.current=p.data;var m=t.retain(a),h=t.subscribe(p,function(b){l.current=b.data,c(l.current)}),v=!1;function _(){v||(v=!0,d.current=null,m.dispose(),h.dispose())}return d.current&&d.current(),d.current=_,p},[t,a]);return fX(function(){var p=d.current;return function(){p&&p()}},[f]),qn.createElement(aX.Provider,{value:s},qn.createElement(sX.Provider,{value:mX},r({props:l.current})))}c$.exports=vX});var db=S((uye,p$)=>{"use strict";var gX=K().default,f$=gX(de()),yX=re(),_X=yX.getSelector;function bX(e,t){var i={};return Object.keys(e).forEach(function(n){var r,o,a,s=e[n],l=t[n],u=_X(s,l),c=u!=null&&u.kind==="PluralReaderSelector"?(r=(o=u.selectors[0])===null||o===void 0?void 0:o.owner.variables)!==null&&r!==void 0?r:{}:(a=u?.owner.variables)!==null&&a!==void 0?a:{};i=(0,f$.default)((0,f$.default)({},i),c)}),i}p$.exports=bX});var cd=S((cye,h$)=>{"use strict";var EX=K().default,m$=EX(Ze()),ji=j(),fb=re(),SX=fb.__internal.fetchQuery,xX=fb.createOperationDescriptor,wX=fb.isRelayModernEnvironment,kX=(function(){function e(i){(0,m$.default)(this,"_selectionReferences",[]),(0,m$.default)(this,"_didFetchFinish",!1),i!=null&&(this._cacheSelectionReference=i.cacheSelectionReference,this._selectionReferences=i.selectionReferences)}var t=e.prototype;return t.getSelectionReferences=function(){return{cacheSelectionReference:this._cacheSelectionReference,selectionReferences:this._selectionReferences}},t.lookupInStore=function(n,r,o){return(o==="store-and-network"||o==="store-or-network")&&n.check(r).status==="available"?(this._retainCachedOperation(n,r),n.lookup(r.fragment)):null},t.getFetchResult=function(){if(this._didFetchFinish){if(this._error!=null)return{error:this._error};if(this._snapshot!=null)return{snapshot:this._snapshot}}else return null},t.execute=function(n){var r=this,o=n.environment,a=n.operation,s=n.preservePreviousReferences,l=s===void 0?!1:s,u=o.retain(a),c=function(){r._selectionReferences=r._selectionReferences.concat(u)},d=function(){l||r.disposeSelectionReferences(),r._selectionReferences=r._selectionReferences.concat(u)},f=function(){r._selectionReferences=r._selectionReferences.concat(u)};return wX(o)?SX(o,a).do({error:c,complete:d,unsubscribe:f}):o.execute({operation:a}).do({error:c,complete:d,unsubscribe:f})},t.setOnDataChange=function(n){this._fetchOptions||(process.env.NODE_ENV!=="production"?ji(!1,"ReactRelayQueryFetcher: `setOnDataChange` should have been called after having called `fetch`"):ji(!1)),typeof n=="function"&&(this._fetchOptions.onDataChangeCallbacks=this._fetchOptions.onDataChangeCallbacks||[],this._fetchOptions.onDataChangeCallbacks.push(n),this._didFetchFinish&&(this._error!=null?n({error:this._error}):this._snapshot!=null&&n({snapshot:this._snapshot})))},t.fetch=function(n,r){var o=this,a=n.environment,s=n.operation,l=n.onDataChange,u=!1,c;this.disposeRequest();var d=this._fetchOptions&&this._fetchOptions.onDataChangeCallbacks;this._fetchOptions={environment:a,onDataChangeCallbacks:d||[],operation:s},l&&this._fetchOptions.onDataChangeCallbacks.indexOf(l)===-1&&this._fetchOptions.onDataChangeCallbacks.push(l);var f=r?xX(s.request.node,s.request.variables,r):s,p=this.execute({environment:a,operation:f}).finally(function(){o._pendingRequest=null}).subscribe({next:function(){o._didFetchFinish=!0,o._error=null,o._onQueryDataAvailable({notifyFirstResult:u})},error:function(h){o._didFetchFinish=!0,o._error=h,o._snapshot=null;var v=o._fetchOptions&&o._fetchOptions.onDataChangeCallbacks;u?v&&v.forEach(function(_){_({error:h})}):c=h}});if(this._pendingRequest={dispose:function(){p.unsubscribe()}},u=!0,c)throw c;return this._snapshot},t.retry=function(n){return this._fetchOptions||(process.env.NODE_ENV!=="production"?ji(!1,"ReactRelayQueryFetcher: `retry` should be called after having called `fetch`"):ji(!1)),this.fetch({environment:this._fetchOptions.environment,operation:this._fetchOptions.operation,onDataChange:null},n)},t.dispose=function(){this.disposeRequest(),this.disposeSelectionReferences()},t.disposeRequest=function(){this._error=null,this._snapshot=null,this._pendingRequest&&this._pendingRequest.dispose(),this._rootSubscription&&(this._rootSubscription.dispose(),this._rootSubscription=null)},t._retainCachedOperation=function(n,r){this._disposeCacheSelectionReference(),this._cacheSelectionReference=n.retain(r)},t._disposeCacheSelectionReference=function(){this._cacheSelectionReference&&this._cacheSelectionReference.dispose(),this._cacheSelectionReference=null},t.disposeSelectionReferences=function(){this._disposeCacheSelectionReference(),this._selectionReferences.forEach(function(n){return n.dispose()}),this._selectionReferences=[]},t._onQueryDataAvailable=function(n){var r=this,o=n.notifyFirstResult;this._fetchOptions||(process.env.NODE_ENV!=="production"?ji(!1,"ReactRelayQueryFetcher: `_onQueryDataAvailable` should have been called after having called `fetch`"):ji(!1));var a=this._fetchOptions,s=a.environment,l=a.onDataChangeCallbacks,u=a.operation;if(!this._snapshot&&(this._snapshot=s.lookup(u.fragment),this._rootSubscription=s.subscribe(this._snapshot,function(d){if(r._fetchOptions!=null){var f=r._fetchOptions.onDataChangeCallbacks;Array.isArray(f)&&f.forEach(function(p){return p({snapshot:d})})}}),this._snapshot&&o&&Array.isArray(l))){var c=this._snapshot;l.forEach(function(d){return d({snapshot:c})})}},e})();h$.exports=kX});var S$=S((dye,E$)=>{"use strict";var Ui=K().default,RX=Ui(os()),pb=Ui(kn()),fs=Ui(ss()),IX=Ui(us()),Ln=Ui(Ze()),He=Ui(de()),NX=["componentRef"],OX=["componentRef","__relayContext","__rootIsQueryRenderer"],PX=["componentRef","__relayContext","__rootIsQueryRenderer"],TX=sd(),mb=db(),b$=cs(),CX=b$.getComponentName,DX=b$.getContainerName,$X=hr(),AX=cd(),qX=ld(),hb=qX.assertRelayContext,vb=et(),Ce=j(),gb=Q(),yr=re(),v$=yr.ConnectionInterface,g$=yr.Observable,dd=yr.RelayFeatureFlags,fd=yr.createFragmentSpecResolver,LX=yr.createOperationDescriptor,y$=yr.getDataIDsFromObject,FX=yr.getRequest,MX=yr.getVariablesFromObject,jX=yr.isScalarAndEqual,yb=ce(),ps="forward";function UX(e){var t=e.path;return t||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Unable to synthesize a getConnectionFromProps function."):Ce(!1)),function(i){for(var n=i[e.fragmentName],r=0;r<t.length;r++){if(!n||typeof n!="object")return null;n=n[t[r]]}return n}}function VX(e){var t=e.count;return t||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Unable to synthesize a getFragmentVariables function."):Ce(!1)),function(i,n){return(0,He.default)((0,He.default)({},i),{},(0,Ln.default)({},t,n))}}function zX(e){var t=null,i=!1;for(var n in e){var r=e[n],o=r.metadata&&r.metadata.connection;r.metadata!==void 0&&(i=!0),o&&(o.length!==1&&(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Only a single @connection is supported, `%s` has %s.",n,o.length):Ce(!1)),t&&(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Only a single fragment with @connection is supported."):Ce(!1)),t=(0,He.default)((0,He.default)({},o[0]),{},{fragmentName:n}))}return!i||t!==null||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: A @connection directive must be present."):Ce(!1)),t||{}}function _$(e){return typeof e=="function"?{error:e,complete:e,unsubscribe:function(i){typeof e=="function"&&e()}}:e||{}}function BX(e,t,i){var n,r=CX(e),o=DX(e),a=zX(t),s=i.getConnectionFromProps||UX(a),l=i.direction||a.direction;l||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Unable to infer direction of the connection, possibly because both first and last are provided."):Ce(!1));var u=i.getFragmentVariables||VX(a);return n=(function(c){(0,IX.default)(d,c);function d(p){var m,h;h=c.call(this,p)||this,(0,Ln.default)((0,fs.default)(h),"_handleFragmentDataUpdate",function(){h.setState({data:h._resolver.resolve()})}),(0,Ln.default)((0,fs.default)(h),"_hasMore",function(){var b=h._getConnectionData();return!!(b&&b.hasMore&&b.cursor)}),(0,Ln.default)((0,fs.default)(h),"_isLoading",function(){return!!h._refetchSubscription}),(0,Ln.default)((0,fs.default)(h),"_refetchConnection",function(b,g,y){if(!h._canFetchPage("refetchConnection"))return{dispose:function(){}};h._refetchVariables=y;var E={count:b,cursor:null,totalCount:b},x=h._fetchPage(E,_$(g),{force:!0});return{dispose:x.unsubscribe}}),(0,Ln.default)((0,fs.default)(h),"_loadMore",function(b,g,y){if(!h._canFetchPage("loadMore"))return{dispose:function(){}};var E=_$(g),x=h._getConnectionData();if(!x)return g$.create(function($){return $.complete()}).subscribe(E),null;var k=x.edgeCount+b;if(y&&y.force)return h._refetchConnection(k,g);var w=v$.get(),I=w.END_CURSOR,P=w.START_CURSOR,C=x.cursor;process.env.NODE_ENV!=="production"&&yb(C!=null&&C!=="","ReactRelayPaginationContainer: Cannot `loadMore` without valid `%s` (got `%s`)",l===ps?I:P,C);var T={count:b,cursor:C,totalCount:k},N=h._fetchPage(T,E,y);return{dispose:N.unsubscribe}});var v=hb(p.__relayContext),_=(m=p.__rootIsQueryRenderer)!==null&&m!==void 0?m:!1;return h._isARequestInFlight=!1,h._refetchSubscription=null,h._refetchVariables=null,dd.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?h._resolver=fd(v,o,t,p,_):h._resolver=fd(v,o,t,p,_,h._handleFragmentDataUpdate),h.state={data:h._resolver.resolve(),prevContext:v,contextForChildren:v,relayProp:h._buildRelayProp(v),resolverGeneration:0},h._isUnmounted=!1,h._hasFetched=!1,h}var f=d.prototype;return f.componentDidMount=function(){this._isUnmounted=!1,dd.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},f.componentDidUpdate=function(m,h){dd.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&(h.resolverGeneration!==this.state.resolverGeneration?this._subscribeToNewResolverAndRerenderIfStoreHasChanged():this._rerenderIfStoreHasChanged())},f.UNSAFE_componentWillReceiveProps=function(m){var h=this,v,_=hb(m.__relayContext),b=(v=m.__rootIsQueryRenderer)!==null&&v!==void 0?v:!1,g=y$(t,this.props),y=y$(t,m),E=mb(t,this.props),x=mb(t,m);_.environment!==this.state.prevContext.environment||!vb(E,x)||!vb(g,y)?(this._cleanup(),dd.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?this._resolver=fd(_,o,t,m,b):this._resolver=fd(_,o,t,m,b,this._handleFragmentDataUpdate),this.setState(function(w){return{prevContext:_,contextForChildren:_,relayProp:h._buildRelayProp(_),resolverGeneration:w.resolverGeneration+1}})):this._hasFetched||this._resolver.setProps(m);var k=this._resolver.resolve();k!==this.state.data&&this.setState({data:k})},f.componentWillUnmount=function(){this._isUnmounted=!0,this._cleanup()},f.shouldComponentUpdate=function(m,h){if(h.data!==this.state.data||h.relayProp!==this.state.relayProp||h.resolverGeneration!==this.state.resolverGeneration)return!0;for(var v=Object.keys(m),_=0;_<v.length;_++){var b=v[_];if(b==="__relayContext"){if(h.prevContext.environment!==this.state.prevContext.environment)return!0}else if(!t.hasOwnProperty(b)&&!jX(m[b],this.props[b]))return!0}return!1},f._buildRelayProp=function(m){return{hasMore:this._hasMore,isLoading:this._isLoading,loadMore:this._loadMore,refetchConnection:this._refetchConnection,environment:m.environment}},f._rerenderIfStoreHasChanged=function(){var m=this.state.data,h=this._resolver.resolve();m!==h&&this.setState({data:h})},f._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var m=this.state.data,h=this._resolver.resolve();this._resolver.setCallback(this.props,this._handleFragmentDataUpdate),m!==h&&this.setState({data:h})},f._getConnectionData=function(){var m=this.props,h=m.componentRef,v=(0,pb.default)(m,NX),_=(0,He.default)((0,He.default)({},v),this.state.data),b=s(_);if(b==null)return null;var g=v$.get(),y=g.EDGES,E=g.PAGE_INFO,x=g.HAS_NEXT_PAGE,k=g.HAS_PREV_PAGE,w=g.END_CURSOR,I=g.START_CURSOR;typeof b!="object"&&(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Expected `getConnectionFromProps()` in `%s`to return `null` or a plain object with %s and %s properties, got `%s`.",r,y,E,b):Ce(!1));var P=b[y],C=b[E];if(P==null||C==null)return null;Array.isArray(P)||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Expected `getConnectionFromProps()` in `%s`to return an object with %s: Array, got `%s`.",r,y,P):Ce(!1)),typeof C!="object"&&(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Expected `getConnectionFromProps()` in `%s`to return an object with %s: Object, got `%s`.",r,E,C):Ce(!1));var T=l===ps?C[x]:C[k],N=l===ps?C[w]:C[I];return typeof T!="boolean"||P.length!==0&&typeof N>"u"?(process.env.NODE_ENV!=="production"&&yb(!1,"ReactRelayPaginationContainer: Cannot paginate without %s fields in `%s`. Be sure to fetch %s (got `%s`) and %s (got `%s`).",E,r,l===ps?x:k,T,l===ps?w:I,N),null):{cursor:N,edgeCount:P.length,hasMore:T}},f._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new AX),this._queryFetcher},f._canFetchPage=function(m){return this._isUnmounted?(process.env.NODE_ENV!=="production"&&yb(!1,"ReactRelayPaginationContainer: Unexpected call of `%s` on unmounted container `%s`. It looks like some instances of your container still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger `%s` call.",m,o,m),!1):!0},f._fetchPage=function(m,h,v){var _=this,b=hb(this.props.__relayContext),g=b.environment,y=this.props,E=y.componentRef,x=y.__relayContext,k=y.__rootIsQueryRenderer,w=(0,pb.default)(y,OX),I=(0,He.default)((0,He.default)({},w),this.state.data),P,C=mb(t,w);P=MX(t,w),P=(0,He.default)((0,He.default)((0,He.default)({},C),P),this._refetchVariables);var T=i.getVariables(I,{count:m.count,cursor:m.cursor},P);typeof T=="object"&&T!==null||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Expected `getVariables()` to return an object, got `%s` in `%s`.",T,r):Ce(!1)),T=(0,He.default)((0,He.default)({},T),this._refetchVariables),P=(0,He.default)((0,He.default)({},T),P);var N=v?{force:!!v.force}:void 0;N!=null&&v?.metadata!=null&&(N.metadata=v?.metadata);var $=FX(i.query),M=LX($,T,N),U=null;this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._hasFetched=!0;var B=function(oe,H){var he=_._resolver.resolve();_._resolver.setVariables(u(P,m.totalCount),M.request.node);var le=_._resolver.resolve();vb(he,le)?H():_.setState({data:le,contextForChildren:{environment:_.props.__relayContext.environment}},H)},Z=function(){_._refetchSubscription===U&&(_._refetchSubscription=null,_._isARequestInFlight=!1)};return this._isARequestInFlight=!0,U=this._getQueryFetcher().execute({environment:g,operation:M,preservePreviousReferences:!0}).mergeMap(function(J){return g$.create(function(oe){B(J,function(){oe.next(),oe.complete()})})}).do({error:Z,complete:Z,unsubscribe:Z}).subscribe(h||{}),this._refetchSubscription=this._isARequestInFlight?U:null,U},f._cleanup=function(){this._resolver.dispose(),this._refetchVariables=null,this._hasFetched=!1,this._refetchSubscription&&(this._refetchSubscription.unsubscribe(),this._refetchSubscription=null,this._isARequestInFlight=!1),this._queryFetcher&&this._queryFetcher.dispose()},f.render=function(){var m=this.props,h=m.componentRef,v=m.__relayContext,_=m.__rootIsQueryRenderer,b=(0,pb.default)(m,PX);return gb.createElement($X.Provider,{value:this.state.contextForChildren},gb.createElement(e,(0,RX.default)({},b,this.state.data,{ref:h,relay:this.state.relayProp})))},d})(gb.Component),(0,Ln.default)(n,"displayName",o),n}function KX(e,t,i){return TX(e,t,function(n,r){return BX(n,r,i)})}E$.exports={createContainer:KX}});var I$=S((fye,R$)=>{"use strict";var hd=K().default,w$=hd(de()),ZX=hd(ss()),QX=hd(us()),HX=hd(Ze()),GX=hr(),md=cd(),YX=ad(),WX=et(),_b=Q(),Eb=re(),JX=Eb.createOperationDescriptor,XX=Eb.deepFreeze,Sb=Eb.getRequest,vt={},e5={rootIsQueryRenderer:!0},t5=(function(e){(0,QX.default)(t,e);function t(n){var r;r=e.call(this,n)||this,(0,HX.default)((0,ZX.default)(r),"_handleDataChange",function(c){var d=c.error==null?null:c.error,f=c.snapshot==null?null:c.snapshot;r.setState(function(p){var m=p.requestCacheKey;return m&&delete vt[m],f===p.snapshot&&d===p.error?null:{renderProps:pd(d,f,p.queryFetcher,p.retryCallbacks),snapshot:f,requestCacheKey:null}})});var o={handleDataChange:null,handleRetryAfterError:null},a,s;if(n.query){var l=n.query,u=Sb(l);s=xb(u.params,n.variables),a=vt[s]?vt[s].queryFetcher:new md}else a=new md;return r._maybeHiddenOrFastRefresh=!1,r.state=(0,w$.default)({prevPropsEnvironment:n.environment,prevPropsVariables:n.variables,prevQuery:n.query,queryFetcher:a,retryCallbacks:o},k$(n,a,o,s)),r}t.getDerivedStateFromProps=function(r,o){return o.prevQuery!==r.query||o.prevPropsEnvironment!==r.environment||!WX(o.prevPropsVariables,r.variables)?x$(r,o):null};var i=t.prototype;return i.componentDidMount=function(){var r=this;if(this._maybeHiddenOrFastRefresh===!0){this._maybeHiddenOrFastRefresh=!1,this.setState(function(u){var c=x$(r.props,u),d=c.requestCacheKey,f=c.queryFetcher;return d!=null&&vt[d]!=null&&f.setOnDataChange(r._handleDataChange),c});return}var o=this.state,a=o.retryCallbacks,s=o.queryFetcher,l=o.requestCacheKey;l&&delete vt[l],a.handleDataChange=this._handleDataChange,a.handleRetryAfterError=function(u){return r.setState(function(c){var d=c.requestCacheKey;return d&&delete vt[d],{renderProps:bb(),requestCacheKey:null}})},this.props.query&&s.setOnDataChange(this._handleDataChange)},i.componentDidUpdate=function(r,o){var a=this.state,s=a.queryFetcher,l=a.requestCacheKey;l&&(delete vt[l],delete this.state.requestCacheKey),this.props.query&&s!==o.queryFetcher&&s.setOnDataChange(this._handleDataChange)},i.componentWillUnmount=function(){this.state.queryFetcher.dispose(),this._maybeHiddenOrFastRefresh=!0},i.shouldComponentUpdate=function(r,o){return r.render!==this.props.render||o.renderProps!==this.state.renderProps},i.render=function(){var r=this.state,o=r.renderProps,a=r.relayContext;return process.env.NODE_ENV!=="production"&&XX(o),_b.createElement(GX.Provider,{value:a},_b.createElement(YX.Provider,{value:e5},this.props.render(o)))},t})(_b.Component);function bb(){return{error:null,props:null,retry:null}}function r5(){return{error:null,props:{},retry:null}}function pd(e,t,i,n){return{error:e||null,props:t?t.data:null,retry:function(o){var a=i.retry(o);a&&typeof n.handleDataChange=="function"?n.handleDataChange({snapshot:a}):e&&typeof n.handleRetryAfterError=="function"&&n.handleRetryAfterError(e)}}}function xb(e,t){return JSON.stringify({id:e.cacheID?e.cacheID:e.id,variables:t})}function x$(e,t){var i=e.query,n=t.queryFetcher.getSelectionReferences();t.queryFetcher.disposeRequest();var r;if(i){var o=Sb(i),a=xb(o.params,e.variables);r=vt[a]?vt[a].queryFetcher:new md(n)}else r=new md(n);return(0,w$.default)({prevQuery:e.query,prevPropsEnvironment:e.environment,prevPropsVariables:e.variables,queryFetcher:r},k$(e,r,t.retryCallbacks))}function k$(e,t,i,n){var r=e.environment,o=e.query,a=e.variables,s=e.cacheConfig,l=r;if(o){var u=Sb(o),c=JX(u,a,s),d={environment:l};if(typeof n=="string"&&vt[n]){var f=vt[n].snapshot;return f?{error:null,relayContext:d,renderProps:pd(null,f,t,i),snapshot:f,requestCacheKey:n}:{error:null,relayContext:d,renderProps:bb(),snapshot:null,requestCacheKey:n}}try{var p=t.lookupInStore(l,c,e.fetchPolicy),m=t.fetch({environment:l,onDataChange:null,operation:c}),h=m||p;return n=n||xb(u.params,e.variables),vt[n]={queryFetcher:t,snapshot:h},h?{error:null,relayContext:d,renderProps:pd(null,h,t,i),snapshot:h,requestCacheKey:n}:{error:null,relayContext:d,renderProps:bb(),snapshot:null,requestCacheKey:n}}catch(_){return{error:_,relayContext:d,renderProps:pd(_,null,t,i),snapshot:null,requestCacheKey:n}}}else{t.dispose();var v={environment:l};return{error:null,relayContext:v,renderProps:r5(),requestCacheKey:null}}}R$.exports=t5});var $$=S((pye,D$)=>{"use strict";var zi=K().default,n5=zi(os()),i5=zi(kn()),Vi=zi(de()),N$=zi(ss()),o5=zi(us()),wb=zi(Ze()),a5=["componentRef","__relayContext","__rootIsQueryRenderer"],s5=sd(),kb=db(),l5=cs(),u5=l5.getContainerName,c5=hr(),d5=cd(),f5=ld(),Rb=f5.assertRelayContext,O$=et(),Ib=Q(),Fn=re(),p5=Fn.Observable,P$=Fn.createFragmentSpecResolver,m5=Fn.createOperationDescriptor,T$=Fn.getDataIDsFromObject,h5=Fn.getRequest,v5=Fn.getVariablesFromObject,g5=Fn.isScalarAndEqual,y5=ce();function _5(e,t,i){var n,r=u5(e);return n=(function(o){(0,o5.default)(a,o);function a(l){var u,c;c=o.call(this,l)||this,(0,wb.default)((0,N$.default)(c),"_handleFragmentDataUpdate",function(){var m=c.state.resolver;c.setState(function(h){return m===h.resolver?{data:h.resolver.resolve()}:null})}),(0,wb.default)((0,N$.default)(c),"_refetch",function(m,h,v,_){if(c._isUnmounted)return process.env.NODE_ENV!=="production"&&y5(!1,"ReactRelayRefetchContainer: Unexpected call of `refetch` on unmounted container `%s`. It looks like some instances of your container still trying to refetch the data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger `refetch`.",r),{dispose:function(){}};var b=Rb(c.props.__relayContext),g=b.environment,y=kb(t,c.props),E=typeof m=="function"?m(c._getFragmentVariables()):m;E=(0,Vi.default)((0,Vi.default)({},y),E);var x=h?(0,Vi.default)((0,Vi.default)({},E),h):E,k=_?{force:!!_.force}:void 0;k!=null&&_?.metadata!=null&&(k.metadata=_?.metadata);var w=typeof v=="function"?{next:v,error:v}:v||{},I=h5(i),P=m5(I,E,k);c.state.localVariables=E,c._refetchSubscription&&c._refetchSubscription.unsubscribe();var C,T=c._getQueryFetcher().lookupInStore(g,P,_?.fetchPolicy);return T!=null?(c.state.resolver.setVariables(x,P.request.node),c.setState(function(N){return{data:N.resolver.resolve(),contextForChildren:{environment:c.props.__relayContext.environment}}},function(){w.next&&w.next(),w.complete&&w.complete()}),{dispose:function(){}}):(c._getQueryFetcher().execute({environment:g,operation:P,preservePreviousReferences:!0}).mergeMap(function(N){return c.state.resolver.setVariables(x,P.request.node),p5.create(function($){return c.setState(function(M){return{data:M.resolver.resolve(),contextForChildren:{environment:c.props.__relayContext.environment}}},function(){$.next(),$.complete()})})}).finally(function(){c._refetchSubscription===C&&(c._refetchSubscription=null)}).subscribe((0,Vi.default)((0,Vi.default)({},w),{},{start:function($){c._refetchSubscription=C=$,w.start&&w.start($)}})),{dispose:function(){C&&C.unsubscribe()}})});var d=Rb(l.__relayContext),f=(u=l.__rootIsQueryRenderer)!==null&&u!==void 0?u:!1;c._refetchSubscription=null;var p=P$(d,r,t,l,f);return c.state={data:p.resolve(),localVariables:null,prevProps:l,prevPropsContext:d,contextForChildren:d,relayProp:C$(d.environment,c._refetch),resolver:p},c._isUnmounted=!1,c}var s=a.prototype;return s.componentDidMount=function(){this._isUnmounted=!1,this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},s.componentDidUpdate=function(u,c){this.state.resolver!==c.resolver?(c.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},a.getDerivedStateFromProps=function(u,c){var d,f=c.prevProps,p=Rb(u.__relayContext),m=(d=u.__rootIsQueryRenderer)!==null&&d!==void 0?d:!1,h=T$(t,f),v=T$(t,u),_=kb(t,f),b=kb(t,u),g=c.resolver;if(c.prevPropsContext.environment!==p.environment||!O$(_,b)||!O$(h,v))return g=P$(p,r,t,u,m),{data:g.resolve(),localVariables:null,prevProps:u,prevPropsContext:p,contextForChildren:p,relayProp:C$(p.environment,c.relayProp.refetch),resolver:g};c.localVariables||g.setProps(u);var y=g.resolve();return y!==c.data?{data:y,prevProps:u}:null},s.componentWillUnmount=function(){this._isUnmounted=!0,this.state.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe()},s.shouldComponentUpdate=function(u,c){if(c.data!==this.state.data||c.relayProp!==this.state.relayProp)return!0;for(var d=Object.keys(u),f=0;f<d.length;f++){var p=d[f];if(p==="__relayContext"){if(this.state.prevPropsContext.environment!==c.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(p)&&!g5(u[p],this.props[p]))return!0}return!1},s._rerenderIfStoreHasChanged=function(){var u=this.state,c=u.data,d=u.resolver,f=d.resolve();c!==f&&this.setState({data:f})},s._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var u=this.state,c=u.data,d=u.resolver,f=d.resolve();d.setCallback(this.props,this._handleFragmentDataUpdate),c!==f&&this.setState({data:f})},s._getFragmentVariables=function(){return v5(t,this.props)},s._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new d5),this._queryFetcher},s.render=function(){var u=this.props,c=u.componentRef,d=u.__relayContext,f=u.__rootIsQueryRenderer,p=(0,i5.default)(u,a5),m=this.state,h=m.relayProp,v=m.contextForChildren;return Ib.createElement(c5.Provider,{value:v},Ib.createElement(e,(0,n5.default)({},p,this.state.data,{ref:c,relay:h})))},a})(Ib.Component),(0,wb.default)(n,"displayName",r),n}function C$(e,t){return{environment:e,refetch:t}}function b5(e,t,i){return s5(e,t,function(n,r){return _5(n,r,i)})}D$.exports={createContainer:b5}});var ms=S((mye,A$)=>{"use strict";var E5=Q(),S5=E5.createContext({wrapPrepareQueryResource:function(t){return t()}});A$.exports=S5});var Le=S((hye,L$)=>{"use strict";var x5=hr(),q$=j(),w5=Q(),k5=w5.useContext;function R5(){var e=k5(x5);return e==null&&(process.env.NODE_ENV!=="production"?q$(!1,"useRelayEnvironment: Expected to have found a Relay environment provided by a `RelayEnvironmentProvider` component. This usually means that useRelayEnvironment was used in a component that is not a descendant of a `RelayEnvironmentProvider`. Please make sure a `RelayEnvironmentProvider` has been rendered somewhere as a parent or ancestor of your component."):q$(!1)),e.environment}L$.exports=R5});var j$=S((vye,M$)=>{"use strict";var I5=ms(),N5=Le(),O5=Q(),F$=Q(),P5=F$.useContext,T5=F$.useEffect,C5=ce();function D5(e){var t=e.entryPointReference,i=e.props;process.env.NODE_ENV!=="production"&&C5(t.isDisposed===!1,"<EntryPointContainer>: Expected entryPointReference to not be disposed yet. This is because disposing the entrypoint marks it for future garbage collection, and as such may no longer be present in the Relay store. In the future, this will become a hard error.");var n=t.getComponent,r=t.queries,o=t.entryPoints,a=t.extraProps,s=t.rootModuleID,l=n(),u=P5(I5),c=N5();return T5(function(){c.__log({name:"entrypoint.root.consume",profilerContext:u,rootModuleID:s})},[c,u,s]),O5.createElement(l,{entryPoints:o,extraProps:a,props:i,queries:r})}M$.exports=D5});var hs=S((gye,G$)=>{"use strict";var $5=K().default,U$=$5(de()),V$=j(),Mn=re(),z$=Mn.__internal.fetchQueryDeduped,B$=Mn.Observable,K$=Mn.PreloadableQueryRegistry,Z$=Mn.ReplaySubject,Q$=Mn.createOperationDescriptor,A5=Mn.getRequest,q5=Mn.getRequestIdentifier,H$=100001;function L5(e,t,i,n,r){var o;H$++;var a=(o=n?.fetchPolicy)!==null&&o!==void 0?o:"store-or-network",s=(0,U$.default)((0,U$.default)({},n?.networkCacheConfig),{},{force:!0}),l,u=!1,c=function(oe,H){return u=!0,e.executeWithSource({operation:oe,source:H})},d=new Z$,f=B$.create(function(J){return d.subscribe(J)}),p,m=null,h=!1,v=function(oe){h=!0;var H=new Z$,he="raw-network-request-"+q5(oe,i),le=z$(e,he,function(){var ve=e.getNetwork();return ve.execute(oe,i,s)}),Ee=le.subscribe({error:function(Be){m=Be,H.error(Be)},next:function(Be){H.next(Be)},complete:function(){H.complete()}}),we=Ee.unsubscribe;return p=we,B$.create(function(ve){var Be=H.subscribe(ve);return function(){Be.unsubscribe(),p()}})},_,b=function(oe,H){h=!0;var he=z$(e,oe.request.identifier,H).subscribe({error:function(Ee){d.error(Ee)},next:function(Ee){d.next(Ee)},complete:function(){d.complete()}});_=he.unsubscribe},g=function(oe){var H=Q$(oe,i,s);if(l=e.retain(H),a!=="store-only"){var he=a!=="store-or-network"||e.check(H).status!=="available";he&&b(H,function(){var le=v(oe.params),Ee=c(H,le);return Ee})}},y,E,x;if(t.kind==="PreloadableConcreteRequest"){var k=t;y=k.params;var w=y;x=w.id,x===null&&(process.env.NODE_ENV!=="production"?V$(!1,"Relay: `loadQuery` requires that preloadable query `%s` has a persisted query id",y.name):V$(!1));var I=K$.get(x);if(I!=null)g(I);else{var P=a==="store-only"?null:v(y),C=K$.onLoad(x,function(J){E();var oe=Q$(J,i,s);l=e.retain(oe),P!=null&&b(oe,function(){return c(oe,P)})});E=C.dispose}}else{var T=t,N=A5(T);y=N.params,x=y.cacheID!=null?y.cacheID:y.id,g(N)}var $=!1,M=!1,U=!1,B=function(){M||(l&&l.dispose(),M=!0)},Z=function(){U||(u?_&&_():p&&p(),E&&E(),U=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:r,dispose:function(){$||(B(),Z(),$=!0)},releaseQuery:B,cancelNetworkRequest:Z,fetchKey:H$,id:x,get isDisposed(){return $||M},get networkError(){return m},name:y.name,networkCacheConfig:s,fetchPolicy:a,source:h?f:void 0,variables:i}}G$.exports={loadQuery:L5}});var Nb=S((yye,W$)=>{"use strict";var F5=hs(),M5=F5.loadQuery;function Y$(e,t,i){var n=null;t.root.getModuleIfRequired()==null&&(n=t.root.load());var r=t.getPreloadProps(i),o=r.queries,a=r.entryPoints,s=r.extraProps,l={},u={};if(o!=null){var c=Object.keys(o);c.forEach(function(p){var m=o[p];if(m!=null){var h=m.environmentProviderOptions,v=m.options,_=m.parameters,b=m.variables,g=e.getEnvironment(h);l[p]=M5(g,_,b,{fetchPolicy:v?.fetchPolicy,networkCacheConfig:v?.networkCacheConfig,__nameForWarning:"loadEntryPoint"},h)}})}if(a!=null){var d=Object.keys(a);d.forEach(function(p){var m=a[p];if(m!=null){var h=m.entryPoint,v=m.entryPointParams;u[p]=Y$(e,h,v)}})}var f=!1;return{dispose:function(){f||(l!=null&&Object.values(l).forEach(function(m){var h=m.dispose;h()}),u!=null&&Object.values(u).forEach(function(m){var h=m.dispose;h()}),f=!0)},entryPoints:u,extraProps:s??null,getComponent:function(){var m=t.root.getModuleIfRequired();if(m==null){var h;throw n=(h=n)!==null&&h!==void 0?h:t.root.load(),n}var v=m.default!=null?m.default:m;return v},get isDisposed(){return f},queries:l,rootModuleID:t.root.getModuleId()}}W$.exports=Y$});var eA=S((_ye,X$)=>{"use strict";var j5=hr(),J$=Q(),U5=J$.useMemo;function V5(e){var t=e.children,i=e.environment,n=e.getEnvironmentForActor,r=U5(function(){return{environment:i,getEnvironmentForActor:n}},[i,n]);return J$.createElement(j5.Provider,{value:r},t)}X$.exports=V5});var nA=S((bye,rA)=>{"use strict";var tA=j(),z5=(function(){function e(i){this._capacity=i,this._capacity>0||(process.env.NODE_ENV!=="production"?tA(!1,"LRUCache: Unable to create instance of cache with zero or negative capacity."):tA(!1)),this._map=new Map}var t=e.prototype;return t.set=function(n,r){if(this._map.delete(n),this._map.set(n,r),this._map.size>this._capacity){var o=this._map.keys().next();o.done||this._map.delete(o.value)}},t.get=function(n){var r=this._map.get(n);return r!=null&&(this._map.delete(n),this._map.set(n,r)),r},t.has=function(n){return this._map.has(n)},t.delete=function(n){this._map.delete(n)},t.size=function(){return this._map.size},t.capacity=function(){return this._capacity-this._map.size},t.clear=function(){this._map.clear()},e})();function B5(e){return new z5(e)}rA.exports={create:B5}});var oA=S((Eye,iA)=>{"use strict";var K5=K().default,Ob=K5(Ze()),Z5=ce(),Q5=300*1e3,H5=(function(){function e(i){var n=this;(0,Ob.default)(this,"_retainCount",0),(0,Ob.default)(this,"_retainDisposable",null),(0,Ob.default)(this,"_releaseTemporaryRetain",null),this._retain=function(r){return n._retainCount++,n._retainCount===1&&(n._retainDisposable=i(r)),{dispose:function(){n._retainCount=Math.max(0,n._retainCount-1),n._retainCount===0&&(n._retainDisposable!=null?(n._retainDisposable.dispose(),n._retainDisposable=null):process.env.NODE_ENV!=="production"&&Z5(!1,"Relay: Expected disposable to release query to be defined.If you're seeing this, this is likely a bug in Relay."))}}}}var t=e.prototype;return t.temporaryRetain=function(n){var r=this,o;if(n.isServer())return{dispose:function(){}};var a=this._retain(n),s=null,l=function(){clearTimeout(s),s=null,r._releaseTemporaryRetain=null,a.dispose()};return s=setTimeout(l,Q5),(o=this._releaseTemporaryRetain)===null||o===void 0||o.call(this),this._releaseTemporaryRetain=l,{dispose:function(){var c;(c=r._releaseTemporaryRetain)===null||c===void 0||c.call(r)}}},t.permanentRetain=function(n){var r=this._retain(n);return this.releaseTemporaryRetain(),r},t.releaseTemporaryRetain=function(){var n;(n=this._releaseTemporaryRetain)===null||n===void 0||n.call(this),this._releaseTemporaryRetain=null},t.getRetainCount=function(){return this._retainCount},e})();iA.exports=H5});var Bi=S((Sye,mA)=>{"use strict";var uA=K().default,vd=uA(de()),cA=uA(Ze()),G5=nA(),Y5=oA(),aA=j(),W5=re(),J5=W5.isPromise,X5=ce(),e7=1e3,dA="store-or-network",fA="store-and-network",t7=typeof WeakMap=="function";function gd(e){return e.request.node.params.metadata.live!==void 0}function Tb(e,t,i,n,r){var o=i??(gd(t)?fA:dA),a=n??e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(o,"-").concat(a,"-").concat(t.request.identifier);return r!=null?"".concat(s,"-").concat(r):s}function sA(e,t){var i={__id:e.fragment.dataID,__fragments:(0,cA.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:t,fragmentNode:e.request.node.fragment,fragmentRef:i,operation:e}}var r7=2e5;function Pb(e,t,i,n,r,o){var a=gd(t),s=n,l=r,u=new Y5(function(d){var f=d.retain(t);return{dispose:function(){a&&l!=null&&l.unsubscribe(),f.dispose(),o(c)}}}),c={cacheIdentifier:e,id:r7++,processedPayloadsCount:0,operationAvailability:i,getValue:function(){return s},setValue:function(f){s=f},setNetworkSubscription:function(f){a&&l!=null&&l.unsubscribe(),l=f},temporaryRetain:function(f){return u.temporaryRetain(f)},permanentRetain:function(f){return u.permanentRetain(f)},releaseTemporaryRetain:function(){u.releaseTemporaryRetain()}};return c}var n7=(function(){function e(i){var n=this;(0,cA.default)(this,"_clearCacheEntry",function(r){n._cache.delete(r.cacheIdentifier)}),this._environment=i,this._cache=G5.create(e7)}var t=e.prototype;return t.prepare=function(n,r,o,a,s,l,u){var c=Tb(this._environment,n,o,a,l);return this.prepareWithIdentifier(c,n,r,o,a,s,u)},t.prepareWithIdentifier=function(n,r,o,a,s,l,u){var c=this._environment,d=a??(gd(r)?fA:dA),f=s??c.UNSTABLE_getDefaultRenderPolicy(),p=this._cache.get(n),m=null,h=p!=null;p==null&&(p=this._fetchAndSaveQuery(n,r,o,d,f,u,(0,vd.default)((0,vd.default)({},l),{},{unsubscribe:function(b){m?.dispose();var g=l?.unsubscribe;g&&g(b)}}))),m=p.temporaryRetain(c);var v=p.getValue();if(J5(v))throw c.__log({name:"suspense.query",fetchPolicy:d,isPromiseCached:h,operation:r,queryAvailability:p.operationAvailability,renderPolicy:f}),v;if(v instanceof Error)throw v;return v},t.retain=function(n,r){var o=this._environment,a=n.cacheIdentifier,s=n.operation,l=this._getOrCreateCacheEntry(a,s,null,n,null),u=l.permanentRetain(o);return o.__log({name:"queryresource.retain",profilerContext:r,resourceID:l.id}),{dispose:function(){u.dispose()}}},t.releaseTemporaryRetain=function(n){var r=this._cache.get(n.cacheIdentifier);r?.releaseTemporaryRetain()},t.TESTS_ONLY__getCacheEntry=function(n,r,o,a){var s=this._environment,l=Tb(s,n,r,o,a);return this._cache.get(l)},t._getOrCreateCacheEntry=function(n,r,o,a,s){var l=this._cache.get(n);return l==null&&(l=Pb(n,r,o,a,s,this._clearCacheEntry),this._cache.set(n,l)),l},t._fetchAndSaveQuery=function(n,r,o,a,s,l,u){var c=this,d=this._environment,f=d.check(r),p=f.status,m=p==="available",h=m||s==="partial"&&p!=="stale",v,_,b=function(){};switch(a){case"store-only":{v=!1,_=!0;break}case"store-or-network":{v=!m,_=h;break}case"store-and-network":{v=!0,_=h;break}case"network-only":default:{v=!0,_=!1;break}}if(_){var g=sA(r,n),y=Pb(n,r,f,g,null,this._clearCacheEntry);this._cache.set(n,y)}if(v){var E=sA(r,n),x;o.subscribe({start:function(T){x=T;var N=c._cache.get(n);N&&N.setNetworkSubscription(x);var $=u?.start;if($){var M=(0,vd.default)((0,vd.default)({},T),{},{unsubscribe:function(){gd(r)&&T.unsubscribe()}});$(M)}},next:function(){var T=c._getOrCreateCacheEntry(n,r,f,E,x);T.processedPayloadsCount+=1,T.setValue(E),b();var N=u?.next;if(N!=null){var $=d.lookup(r.fragment);N($)}},error:function(T){var N=c._getOrCreateCacheEntry(n,r,f,T,x);N.processedPayloadsCount===0?N.setValue(T):process.env.NODE_ENV!=="production"&&X5(!1,"QueryResource: An incremental payload for query `%s` returned an error: `%s`.",r.fragment.node.name,String(T.message)),b(),x=null,N.setNetworkSubscription(null);var $=u?.error;$&&$(T)},complete:function(){b(),x=null;var T=c._cache.get(n);T&&T.setNetworkSubscription(null);var N=u?.complete;N&&N()},unsubscribe:u?.unsubscribe});var k=this._cache.get(n);if(!k){var w=new Promise(function(C){b=C});w.displayName="Relay("+r.fragment.node.name+")",k=Pb(n,r,f,w,x,this._clearCacheEntry),this._cache.set(n,k)}}else{var I=u?.complete;I&&I()}var P=this._cache.get(n);return P==null&&(process.env.NODE_ENV!=="production"?aA(!1,"Relay: Expected to have cached a result when attempting to fetch query.If you're seeing this, this is likely a bug in Relay."):aA(!1)),d.__log({name:"queryresource.fetch",resourceID:P.id,operation:r,profilerContext:l,fetchPolicy:a,renderPolicy:s,queryAvailability:f,shouldFetch:v}),P},e})();function pA(e){return new n7(e)}var lA=t7?new WeakMap:new Map;function i7(e){var t=lA.get(e);if(t)return t;var i=pA(e);return lA.set(e,i),i}mA.exports={createQueryResource:pA,getQueryResourceForEnvironment:i7,getQueryCacheIdentifier:Tb}});var Cb=S((xye,hA)=>{"use strict";var o7=Q(),a7=o7.useMemo;function s7(e){return a7(function(){return{current:e}},[])}hA.exports=s7});var $b=S((wye,yA)=>{"use strict";var vA=Cb(),gA=Q(),Db=gA.useCallback,l7=gA.useEffect;function u7(){var e=vA(null),t=vA(!1),i=Db(function(){e.current!=null&&(e.current.unsubscribe(),e.current=null),t.current=!1},[]),n=Db(function(o){e.current=o,t.current=!0},[]),r=Db(function(){e.current=null,t.current=!1},[]);return l7(function(){return i},[i]),{isFetchingRef:t,startFetch:n,disposeFetch:i,completeFetch:r}}yA.exports=u7});var OA=S((kye,NA)=>{"use strict";var Lb=K().default,_A=Lb(de()),Gr=Lb(Re()),c7=Lb(qt()),d7=Bi(),RA=d7.getQueryResourceForEnvironment,f7=Le(),nt=j(),vs=Q(),p7=vs.useDebugValue,Ab=vs.useEffect,qb=vs.useMemo,bA=vs.useRef,yd=vs.useState,_r=re(),IA=_r.__internal,m7=IA.fetchQuery,h7=IA.getPromiseForActiveRequest,EA=_r.RelayFeatureFlags,SA=_r.areEqualSelectors,v7=_r.createOperationDescriptor,g7=_r.getPendingOperationsForFragment,y7=_r.getSelector,_7=_r.getVariablesFromFragment,xA=_r.handlePotentialSnapshotErrors,wA=_r.recycleNodesInto,b7=ce();function E7(e){return e.kind==="bailout"?!1:e.kind==="singular"?e.snapshot.isMissingData:e.snapshots.some(function(t){return t.isMissingData})}function S7(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingClientEdges)!==null&&t!==void 0?t:null}else{var i=null,n=(0,Gr.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingClientEdges){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,Gr.default)(o.missingClientEdges),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function x7(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingLiveResolverFields)!==null&&t!==void 0?t:null}else{var i=null,n=(0,Gr.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingLiveResolverFields){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,Gr.default)(o.missingLiveResolverFields),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function w7(e,t){if(t.kind==="singular")xA(e,t.snapshot.errorResponseFields);else if(t.kind==="plural"){var i=(0,Gr.default)(t.snapshots),n;try{for(i.s();!(n=i.n()).done;){var r=n.value;xA(e,r.errorResponseFields)}}catch(o){i.e(o)}finally{i.f()}}}function _d(e,t){if(t.kind==="bailout")return null;var i=e.getStore().getEpoch();if(i===t.epoch)return null;if(t.kind==="singular"){var n=e.lookup(t.snapshot.selector),r=wA(t.snapshot.data,n.data),o={data:r,isMissingData:n.isMissingData,missingClientEdges:n.missingClientEdges,missingLiveResolverFields:n.missingLiveResolverFields,seenRecords:n.seenRecords,selector:n.selector,errorResponseFields:n.errorResponseFields};return[r!==t.snapshot.data,{kind:"singular",snapshot:o,epoch:i}]}else{for(var a=!1,s=[],l=0;l<t.snapshots.length;l++){var u=t.snapshots[l],c=e.lookup(u.selector),d=wA(u.data,c.data),f={data:d,isMissingData:c.isMissingData,missingClientEdges:c.missingClientEdges,missingLiveResolverFields:c.missingLiveResolverFields,seenRecords:c.seenRecords,selector:c.selector,errorResponseFields:c.errorResponseFields};d!==u.data&&(a=!0),s.push(f)}return s.length!==t.snapshots.length&&(process.env.NODE_ENV!=="production"?nt(!1,"Expected same number of snapshots"):nt(!1)),[a,{kind:"plural",snapshots:s,epoch:i}]}}function k7(e,t,i,n,r){var o=_7(t,i),a=(0,_A.default)((0,_A.default)({},o),{},{id:n.clientEdgeDestinationID}),s=v7(n.request,a,r?.networkCacheConfig),l=RA(e),u=l.prepare(s,m7(e,s),r?.fetchPolicy);return[u,h7(e,s.request)]}function R7(e,t,i,n){if(t.kind==="bailout")return function(){};if(t.kind==="singular"){var r=e.subscribe(t.snapshot,function(a){i(function(s){if(s.kind!=="singular"||s.snapshot.selector!==a.selector){var l=_d(e,s);if(l!=null){var u=l[0],c=l[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:u}),n.current=u,u?c:s}else return s}return n.current=!0,{kind:"singular",snapshot:a,epoch:e.getStore().getEpoch()}})});return function(){r.dispose()}}else{var o=t.snapshots.map(function(a,s){return e.subscribe(a,function(l){i(function(u){var c;if(u.kind!=="plural"||((c=u.snapshots[s])===null||c===void 0?void 0:c.selector)!==l.selector){var d=_d(e,u);if(d!=null){var f=d[0],p=d[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:f}),n.current=n.current||f,f?p:u}else return u}var m=(0,c7.default)(u.snapshots);return m[s]=l,n.current=!0,{kind:"plural",snapshots:m,epoch:e.getStore().getEpoch()}})})});return function(){var a=(0,Gr.default)(o),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;l.dispose()}}catch(u){a.e(u)}finally{a.f()}}}}function kA(e,t){return t==null?{kind:"bailout"}:t.kind==="PluralReaderSelector"?{kind:"plural",snapshots:t.selectors.map(function(i){return e.lookup(i)}),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(t),epoch:e.getStore().getEpoch()}}function I7(e,t,i,n){var r,o,a=qb(function(){return y7(e,t)},[e,t]),s=(e==null||(r=e.metadata)===null||r===void 0?void 0:r.plural)===!0;s?t==null||Array.isArray(t)||(process.env.NODE_ENV!=="production"?nt(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,typeof t,e.name):nt(!1)):Array.isArray(t)&&(process.env.NODE_ENV!=="production"?nt(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",e.name,typeof t,e.name):nt(!1)),t==null||s&&Array.isArray(t)&&t.length===0||a!=null||(process.env.NODE_ENV!=="production"?nt(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",e.name,e.name,i,e.name,i):nt(!1));var l=f7(),u=yd(function(){return kA(l,a)}),c=u[0],d=u[1],f=c,p=yd(f),m=p[0],h=p[1],v=m,_=yd(a),b=_[0],g=_[1],y=yd(l),E=y[0],x=y[1];if(!SA(a,b)||l!==E){g(a),x(l);var k=kA(l,a);d(k),h(k),f=k,v=k}var w=bA(!1);if(Ab(function(){w.current=a},[a]),((o=e.metadata)===null||o===void 0?void 0:o.hasClientEdges)===!0){var I=qb(function(){var H=S7(f),he,le=[];if(H!=null&&H.length){he=[];var Ee=(0,Gr.default)(H),we;try{for(Ee.s();!(we=Ee.n()).done;){var ve=we.value,Be=k7(l,e,t,ve,n),Ge=Be[0],gt=Be[1];he.push(Ge),gt!=null&&le.push(gt)}}catch(Ld){Ee.e(Ld)}finally{Ee.f()}}return[he,le]},[f,l,e,t,n]),P=I[0],C=I[1];if(C.length)throw Promise.all(C);Ab(function(){var H=RA(l);if(P!=null&&P.length){var he=[],le=(0,Gr.default)(P),Ee;try{for(le.s();!(Ee=le.n()).done;){var we=Ee.value;he.push(H.retain(we))}}catch(ve){le.e(ve)}finally{le.f()}return function(){for(var ve=0,Be=he;ve<Be.length;ve++){var Ge=Be[ve];Ge.dispose()}}}},[l,P])}if(E7(f)){var T=x7(f);if(T!=null&&T.length>0)throw Promise.all(T.map(function(H){return l.getStore().getLiveResolverPromise(H)}));if(EA.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||l!==E||!w.current||!SA(w.current,a)){a==null&&(process.env.NODE_ENV!=="production"?nt(!1,"refinement, see invariants above"):nt(!1));var N=a.kind==="PluralReaderSelector"?a.selectors[0].owner:a.owner,$=g7(l,e,N);if($)throw $.promise}}w7(l,f);var M=bA(!1);if(Ab(function(){var H=v,he=_d(l,v);if(he!==null){var le=he[0],Ee=he[1];le&&d(Ee),H=Ee}return R7(l,H,d,M)},[l,v]),M.current){var U=_d(l,f);if(U!=null){var B=U[0],Z=U[1];B&&(d(Z),f=Z)}M.current=!1}var J;if(s){var oe=t==null;J=qb(function(){return f.kind==="bailout"?oe?null:[]:(f.kind!=="plural"&&(process.env.NODE_ENV!=="production"?nt(!1,"Expected state to be plural because fragment is plural"):nt(!1)),f.snapshots.map(function(H){return H.data}))},[f,oe])}else f.kind==="bailout"?J=null:(f.kind!=="singular"&&(process.env.NODE_ENV!=="production"?nt(!1,"Expected state to be singular because fragment is singular"):nt(!1)),J=f.snapshot.data);return(EA.LOG_MISSING_RECORDS_IN_PROD||process.env.NODE_ENV!=="production")&&t!=null&&(J===void 0||Array.isArray(J)&&J.length>0&&J.every(function(H){return H===void 0}))&&process.env.NODE_ENV!=="production"&&b7(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",e.name,i,i),process.env.NODE_ENV!=="production"&&p7({fragment:e.name,data:J}),J}NA.exports=I7});var UA=S((Rye,jA)=>{"use strict";var jb=K().default,PA=jb(de()),Yr=jb(Re()),N7=jb(qt()),O7=Bi(),FA=O7.getQueryResourceForEnvironment,P7=Le(),it=j(),gs=Q(),T7=gs.useDebugValue,bd=gs.useEffect,Fb=gs.useMemo,TA=gs.useRef,C7=gs.useState,br=re(),MA=br.__internal,D7=MA.fetchQuery,$7=MA.getPromiseForActiveRequest,CA=br.RelayFeatureFlags,DA=br.areEqualSelectors,A7=br.createOperationDescriptor,q7=br.getPendingOperationsForFragment,L7=br.getSelector,F7=br.getVariablesFromFragment,$A=br.handlePotentialSnapshotErrors,AA=br.recycleNodesInto,M7=ce();function j7(e){return e.kind==="bailout"?!1:e.kind==="singular"?e.snapshot.isMissingData:e.snapshots.some(function(t){return t.isMissingData})}function U7(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingClientEdges)!==null&&t!==void 0?t:null}else{var i=null,n=(0,Yr.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingClientEdges){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,Yr.default)(o.missingClientEdges),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function V7(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingLiveResolverFields)!==null&&t!==void 0?t:null}else{var i=null,n=(0,Yr.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingLiveResolverFields){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,Yr.default)(o.missingLiveResolverFields),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function z7(e,t){if(t.kind==="singular")$A(e,t.snapshot.errorResponseFields);else if(t.kind==="plural"){var i=(0,Yr.default)(t.snapshots),n;try{for(i.s();!(n=i.n()).done;){var r=n.value;$A(e,r.errorResponseFields)}}catch(o){i.e(o)}finally{i.f()}}}function Mb(e,t){if(t.kind==="bailout")return null;var i=e.getStore().getEpoch();if(i===t.epoch)return null;if(t.kind==="singular"){var n=e.lookup(t.snapshot.selector),r=AA(t.snapshot.data,n.data),o={data:r,isMissingData:n.isMissingData,missingClientEdges:n.missingClientEdges,missingLiveResolverFields:n.missingLiveResolverFields,seenRecords:n.seenRecords,selector:n.selector,errorResponseFields:n.errorResponseFields};return[r!==t.snapshot.data,{kind:"singular",snapshot:o,epoch:i,selector:t.selector,environment:t.environment}]}else{for(var a=!1,s=[],l=0;l<t.snapshots.length;l++){var u=t.snapshots[l],c=e.lookup(u.selector),d=AA(u.data,c.data),f={data:d,isMissingData:c.isMissingData,missingClientEdges:c.missingClientEdges,missingLiveResolverFields:c.missingLiveResolverFields,seenRecords:c.seenRecords,selector:c.selector,errorResponseFields:c.errorResponseFields};d!==u.data&&(a=!0),s.push(f)}return s.length!==t.snapshots.length&&(process.env.NODE_ENV!=="production"?it(!1,"Expected same number of snapshots"):it(!1)),[a,{kind:"plural",snapshots:s,epoch:i,selector:t.selector,environment:t.environment}]}}function B7(e,t,i,n,r){var o=F7(t,i),a=(0,PA.default)((0,PA.default)({},o),{},{id:n.clientEdgeDestinationID}),s=A7(n.request,a,r?.networkCacheConfig),l=FA(e),u=l.prepare(s,D7(e,s),r?.fetchPolicy);return[u,$7(e,s.request)]}function qA(e,t,i){if(t.kind==="bailout")return function(){};if(t.kind==="singular"){var n=e.subscribe(t.snapshot,function(o){i(function(a){var s=null;if(a.kind!=="singular"||a.snapshot.selector!==o.selector||a.environment!==e){var l=Mb(a.environment,a);if(l!=null){var u=l[0],c=l[1];e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:u}),s=u?c:a}else s=a}else s={kind:"singular",snapshot:o,epoch:e.getStore().getEpoch(),selector:t.selector,environment:t.environment};return s})});return function(){n.dispose()}}else{var r=t.snapshots.map(function(o,a){return e.subscribe(o,function(s){i(function(l){var u,c=null;if(l.kind!=="plural"||((u=l.snapshots[a])===null||u===void 0?void 0:u.selector)!==s.selector||l.environment!==e){var d=Mb(l.environment,l);if(d!=null){var f=d[0],p=d[1];e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:f}),c=f?p:l}else c=l}else{var m=(0,N7.default)(l.snapshots);m[a]=s,c={kind:"plural",snapshots:m,epoch:e.getStore().getEpoch(),selector:t.selector,environment:t.environment}}return c})})});return function(){var o=(0,Yr.default)(r),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;s.dispose()}}catch(l){o.e(l)}finally{o.f()}}}}function LA(e,t){return t==null?{kind:"bailout",environment:e}:t.kind==="PluralReaderSelector"?{kind:"plural",snapshots:t.selectors.map(function(i){return e.lookup(i)}),epoch:e.getStore().getEpoch(),selector:t,environment:e}:{kind:"singular",snapshot:e.lookup(t),epoch:e.getStore().getEpoch(),selector:t,environment:e}}function K7(e,t,i,n){var r,o,a=Fb(function(){return L7(e,t)},[e,t]),s=(e==null||(r=e.metadata)===null||r===void 0?void 0:r.plural)===!0;s?t==null||Array.isArray(t)||(process.env.NODE_ENV!=="production"?it(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,typeof t,e.name):it(!1)):Array.isArray(t)&&(process.env.NODE_ENV!=="production"?it(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",e.name,typeof t,e.name):it(!1)),t==null||s&&Array.isArray(t)&&t.length===0||a!=null||(process.env.NODE_ENV!=="production"?it(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",e.name,e.name,i,e.name,i):it(!1));var l=P7(),u=C7(function(){return LA(l,a)}),c=u[0],d=u[1],f=c,p=f.environment;if(!DA(a,f.selector)||l!==f.environment){var m=LA(l,a);d(m),f=m}var h=TA(!1);if(bd(function(){h.current=a},[a]),((o=e.metadata)===null||o===void 0?void 0:o.hasClientEdges)===!0){var v=Fb(function(){var I=U7(f),P,C=[];if(I!=null&&I.length){P=[];var T=(0,Yr.default)(I),N;try{for(T.s();!(N=T.n()).done;){var $=N.value,M=B7(l,e,t,$,n),U=M[0],B=M[1];P.push(U),B!=null&&C.push(B)}}catch(Z){T.e(Z)}finally{T.f()}}return[P,C]},[f,l,e,t,n]),_=v[0],b=v[1];if(b.length)throw Promise.all(b);bd(function(){var I=FA(l);if(_!=null&&_.length){var P=[],C=(0,Yr.default)(_),T;try{for(C.s();!(T=C.n()).done;){var N=T.value;P.push(I.retain(N))}}catch($){C.e($)}finally{C.f()}return function(){for(var $=0,M=P;$<M.length;$++){var U=M[$];U.dispose()}}}},[l,_])}if(j7(f)){var g=V7(f);if(g!=null&&g.length>0)throw Promise.all(g.map(function(I){return l.getStore().getLiveResolverPromise(I)}));if(CA.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||l!==p||!h.current||!DA(h.current,a)){a==null&&(process.env.NODE_ENV!=="production"?it(!1,"refinement, see invariants above"):it(!1));var y=a.kind==="PluralReaderSelector"?a.selectors[0].owner:a.owner,E=q7(l,e,y);if(E)throw E.promise}}z7(l,f);var x=TA(null);bd(function(){var I=x.current;if(I!=null){if(f.environment===I.environment&&f.selector===I.selector)return;I.dispose()}if(f.kind!=="bailout"){var P=f,C=Mb(f.environment,f);if(C!==null){var T=C[0],N=C[1];if(T){d(N);return}P=N}var $=qA(f.environment,P,d);x.current={dispose:$,selector:f.selector,environment:f.environment}}},[f]),bd(function(){if(x.current==null&&f.kind!=="bailout"){var I=qA(f.environment,f,d);x.current={dispose:I,selector:f.selector,environment:f.environment}}return function(){var P;(P=x.current)===null||P===void 0||P.dispose(),x.current=null}},[]);var k;if(s){var w=t==null;k=Fb(function(){return f.kind==="bailout"?w?null:[]:(f.kind!=="plural"&&(process.env.NODE_ENV!=="production"?it(!1,"Expected state to be plural because fragment is plural"):it(!1)),f.snapshots.map(function(I){return I.data}))},[f,w])}else f.kind==="bailout"?k=null:(f.kind!=="singular"&&(process.env.NODE_ENV!=="production"?it(!1,"Expected state to be singular because fragment is singular"):it(!1)),k=f.snapshot.data);return(CA.LOG_MISSING_RECORDS_IN_PROD||process.env.NODE_ENV!=="production")&&t!=null&&(k===void 0||Array.isArray(k)&&k.length>0&&k.every(function(I){return I===void 0}))&&process.env.NODE_ENV!=="production"&&M7(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",e.name,i,i),process.env.NODE_ENV!=="production"&&T7({fragment:e.name,data:k}),k}jA.exports=K7});var Ed=S((Iye,zA)=>{"use strict";var VA=K().default,Z7=VA(OA()),Q7=VA(UA()),H7=re();function G7(e,t,i,n){return H7.RelayFeatureFlags.ENABLE_ACTIVITY_COMPATIBILITY?(0,Q7.default)(e,t,i,n):(0,Z7.default)(e,t,i,n)}zA.exports=G7});var Vb=S((Nye,KA)=>{"use strict";var Y7=ms(),BA=Bi(),W7=BA.getQueryCacheIdentifier,J7=BA.getQueryResourceForEnvironment,X7=$b(),eee=Ed(),tee=Le(),Sd=Q(),ree=Sd.useContext,Ub=Sd.useEffect,nee=Sd.useState,iee=Sd.useRef;function oee(e){var t=e.query,i=e.componentDisplayName,n=e.fetchObservable,r=e.fetchPolicy,o=e.fetchKey,a=e.renderPolicy,s=tee(),l=ree(Y7),u=J7(s),c=nee(0),d=c[0],f=c[1],p=X7(),m=p.startFetch,h=p.completeFetch,v="".concat(d,"-").concat(o??""),_=W7(s,t,r,a,v),b=l.wrapPrepareQueryResource(function(){return u.prepareWithIdentifier(_,t,n,r,a,{start:m,complete:h,error:h},l)}),g=iee(!1);Ub(function(){return function(){g.current=!0}},[]),Ub(function(){if(g.current===!0){g.current=!1,f(function(w){return w+1});return}var k=u.retain(b,l);return function(){k.dispose()}},[s,_]),Ub(function(){u.releaseTemporaryRetain(b)});var y=b.fragmentNode,E=b.fragmentRef,x=eee(y,E,i);return x}KA.exports=oee});var QA=S((Oye,ZA)=>{"use strict";var aee=et(),see=Q(),lee=see.useState;function uee(e){var t=lee(e),i=t[0],n=t[1];return aee(e,i)?i:(n(e),e)}ZA.exports=uee});var zb=S((Pye,YA)=>{"use strict";var HA=QA(),cee=Q(),GA=re(),dee=GA.createOperationDescriptor,fee=GA.getRequest,pee=cee.useMemo;function mee(e,t,i){var n=HA(t),r=HA(i||{});return pee(function(){return dee(fee(e),n,r)},[e,n,r])}YA.exports=mee});var Bb=S((Tye,WA)=>{"use strict";var hee=Vb(),vee=zb(),gee=Le(),yee=re(),_ee=yee.__internal.fetchQuery;function bee(e,t,i){var n=gee(),r=vee(e,t,i&&i.networkCacheConfig?i.networkCacheConfig:{force:!0}),o=hee({componentDisplayName:"useLazyLoadQuery()",fetchKey:i?.fetchKey,fetchObservable:_ee(n,r),fetchPolicy:i?.fetchPolicy,query:r,renderPolicy:i?.UNSTABLE_renderPolicy});return o}WA.exports=bee});var eq=S((Cye,XA)=>{"use strict";var Eee=K().default,JA=Eee(de()),See=Bb();function xee(e,t,i){var n=e;return See(n,t,(0,JA.default)((0,JA.default)({},i),{},{fetchPolicy:"store-only"}))}XA.exports=xee});var Wr=S((Dye,rq)=>{"use strict";var tq=Q(),wee=tq.useEffect,kee=tq.useRef;function Ree(){var e=kee(!0);return wee(function(){return e.current=!0,function(){e.current=!1}},[]),e}rq.exports=Ree});var lq=S(($ye,sq)=>{"use strict";var Iee=K().default,nq=Iee(Re()),Nee=Nb(),Oee=Wr(),xd=Q(),iq=xd.useCallback,Kb=xd.useEffect,oq=xd.useRef,aq=xd.useState,Pee={kind:"NullEntryPointReference"};function Tee(e,t,i){var n,r,o,a,s=(n=i==null||(r=i.TEST_ONLY__initialEntryPointData)===null||r===void 0?void 0:r.entryPointReference)!==null&&n!==void 0?n:Pee,l=(o=i==null||(a=i.TEST_ONLY__initialEntryPointData)===null||a===void 0?void 0:a.entryPointParams)!==null&&o!==void 0?o:null,u=Oee(),c=oq(new Set([s])),d=aq(s),f=d[0],p=d[1],m=aq(l),h=m[0],v=m[1],_=iq(function(){if(u.current){var y={kind:"NullEntryPointReference"};c.current.add(y),p(y)}},[p,u]),b=iq(function(y){if(u.current){var E=Nee(e,t,y);c.current.add(E),p(E),v(y)}},[e,t,p,u]),g=oq(!1);return Kb(function(){return function(){g.current=!0}},[]),Kb(function(){if(g.current===!0){g.current=!1,f.kind!=="NullEntryPointReference"&&h!=null&&b(h);return}var y=c.current;if(u.current){var E=(0,nq.default)(y),x;try{for(E.s();!(x=E.n()).done;){var k=x.value;if(k===f)break;y.delete(k),k.kind!=="NullEntryPointReference"&&k.dispose()}}catch(w){E.e(w)}finally{E.f()}}},[f,h,b,u]),Kb(function(){return function(){var E=(0,nq.default)(c.current),x;try{for(E.s();!(x=E.n()).done;){var k=x.value;k.kind!=="NullEntryPointReference"&&k.dispose()}}catch(w){E.e(w)}finally{E.f()}}},[]),[f.kind==="NullEntryPointReference"?null:f,b,_]}sq.exports=Tee});var ys=S((Aye,uq)=>{"use strict";var Cee=Cb(),Dee=ce();function $ee(e,t){if(process.env.NODE_ENV!=="production"){var i=Cee(e.name);process.env.NODE_ENV!=="production"&&Dee(i.current===e.name,"Relay: The %s has to remain the same over the lifetime of a component. Changing it is not supported and will result in unexpected behavior.",t)}}uq.exports=$ee});var Zb=S((qye,cq)=>{"use strict";var Aee=Ed(),qee=ys(),Lee=Q(),Fee=Lee.useDebugValue,Mee=re(),jee=Mee.getFragment;function Uee(e,t){var i=jee(e);qee(i,"first argument of useFragment()");var n=Aee(i,t,"useFragment()");return process.env.NODE_ENV!=="production"&&Fee({fragment:i.name,data:n}),n}cq.exports=Uee});var mq=S((Lye,pq)=>{"use strict";var Vee=K().default,dq=Vee(de()),zee=Wr(),Bee=Le(),wd=Q(),Kee=re(),Zee=Kee.commitMutation,Qee=wd.useState,Hee=wd.useEffect,Qb=wd.useRef,fq=wd.useCallback;function Gee(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zee,i=Bee(),n=zee(),r=Qb(i),o=Qb(e),a=Qb(new Set),s=Qee(!1),l=s[0],u=s[1],c=fq(function(f){r.current===i&&o.current===e&&(a.current.delete(f),n.current&&u(a.current.size>0))},[i,n,e]);Hee(function(){(r.current!==i||o.current!==e)&&(a.current=new Set,n.current&&u(!1),r.current=i,o.current=e)},[i,n,e]);var d=fq(function(f){n.current&&u(!0);var p=t(i,(0,dq.default)((0,dq.default)({},f),{},{mutation:e,onCompleted:function(h,v){var _;c(p),(_=f.onCompleted)===null||_===void 0||_.call(f,h,v)},onError:function(h){var v;c(p),(v=f.onError)===null||v===void 0||v.call(f,h)},onUnsubscribe:function(){var h;c(p),(h=f.onUnsubscribe)===null||h===void 0||h.call(f)},onNext:function(){var h;(h=f.onNext)===null||h===void 0||h.call(f)}}));return a.current.add(p),p},[c,t,i,n,e]);return[d,l]}pq.exports=Gee});var Hb=S((Fye,vq)=>{"use strict";var Jr=j(),hq=re(),Yee=hq.ConnectionInterface,Wee=hq.getValueAtPath;function Jee(e,t,i,n){var r,o,a=Yee.get(),s=a.EDGES,l=a.PAGE_INFO,u=a.HAS_NEXT_PAGE,c=a.HAS_PREV_PAGE,d=a.END_CURSOR,f=a.START_CURSOR,p=Wee(i,n);if(p==null)return{cursor:null,hasMore:!1};typeof p!="object"&&(process.env.NODE_ENV!=="production"?Jr(!1,"Relay: Expected connection in fragment `%s` to have been `null`, or a plain object with %s and %s properties. Instead got `%s`.",t.name,s,l,p):Jr(!1));var m=p[s],h=p[l];if(m==null||h==null)return{cursor:null,hasMore:!1};Array.isArray(m)||(process.env.NODE_ENV!=="production"?Jr(!1,"Relay: Expected connection in fragment `%s` to have a plural `%s` field. Instead got `%s`.",t.name,s,m):Jr(!1)),typeof h!="object"&&(process.env.NODE_ENV!=="production"?Jr(!1,"Relay: Expected connection in fragment `%s` to have a `%s` field. Instead got `%s`.",t.name,l,h):Jr(!1));var v=e==="forward"?(r=h[d])!==null&&r!==void 0?r:null:(o=h[f])!==null&&o!==void 0?o:null;v===null||typeof v=="string"||(process.env.NODE_ENV!=="production"?Jr(!1,"Relay: Expected page info for connection in fragment `%s` to have a valid `%s`. Instead got `%s`.",t.name,f,v):Jr(!1));var _;return e==="forward"?_=v!=null&&h[u]===!0:_=v!=null&&h[c]===!0,{cursor:v,hasMore:_}}vq.exports=Jee});var Yb=S((Mye,_q)=>{"use strict";var Xee=Le(),gq=j(),Gb=Q(),yq=re(),ete=yq.__internal.getObservableForActiveRequest,tte=yq.getSelector,rte=Gb.useEffect,nte=Gb.useState,ite=Gb.useMemo;function ote(e,t){var i=Xee(),n=ite(function(){var s=tte(e,t);return s==null?null:(s.kind!=="SingularReaderSelector"&&(process.env.NODE_ENV!=="production"?gq(!1,"useIsOperationNodeActive: Plural fragments are not supported."):gq(!1)),ete(i,s.owner))},[i,e,t]),r=nte(n!=null),o=r[0],a=r[1];return rte(function(){var s;if(a(n!=null),n!=null){var l=function(){a(!1)};s=n.subscribe({complete:l,error:l})}return function(){s&&s.unsubscribe()}},[n]),o}_q.exports=ote});var wq=S((jye,xq)=>{"use strict";var ate=K().default,_s=ate(de()),ste=Hb(),lte=Wr(),ute=Yb(),cte=Le(),bq=j(),Jb=Q(),Eq=Jb.useCallback,dte=Jb.useRef,Sq=Jb.useState,bs=re(),fte=bs.__internal.fetchQuery,pte=bs.createOperationDescriptor,mte=bs.getPaginationVariables,hte=bs.getRefetchMetadata,vte=bs.getSelector,Wb=ce();function gte(e){var t=e.direction,i=e.fragmentNode,n=e.fragmentRef,r=e.fragmentIdentifier,o=e.fragmentData,a=e.connectionPathInFragmentData,s=e.paginationRequest,l=e.paginationMetadata,u=e.componentDisplayName,c=e.observer,d=e.onReset,f=cte(),p=hte(i,u),m=p.identifierInfo,h=m?.identifierField!=null&&o!=null&&typeof o=="object"?o[m.identifierField]:null,v=dte({kind:"none"}),_=Sq(f),b=_[0],g=_[1],y=Sq(r),E=y[0],x=y[1],k=ute(i,n),w=Eq(function(){v.current.kind==="fetching"&&v.current.subscription.unsubscribe(),v.current={kind:"none"}},[]),I=f!==b||r!==E;I&&(w(),d(),g(f),x(r));var P=ste(t,i,o,a),C=P.cursor,T=P.hasMore,N=lte(),$=Eq(function(M,U){var B=U?.onComplete;if(N.current!==!0)return process.env.NODE_ENV!=="production"&&Wb(!1,"Relay: Unexpected fetch on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",i.name,u),{dispose:function(){}};var Z=vte(i,n);if(v.current.kind==="fetching"||o==null||k)return Z==null&&process.env.NODE_ENV!=="production"&&Wb(!1,"Relay: Unexpected fetch while using a null fragment ref for fragment `%s` in `%s`. When fetching more items, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before paginating.",i.name,u,u),B&&B(null),{dispose:function(){}};Z!=null&&Z.kind!=="PluralReaderSelector"||(process.env.NODE_ENV!=="production"?bq(!1,"Relay: Expected to be able to find a non-plural fragment owner for fragment `%s` when using `%s`. If you're seeing this, this is likely a bug in Relay.",i.name,u):bq(!1));var J=Z.owner.variables,oe=Z.variables,H=U?.UNSTABLE_extraVariables,he=(0,_s.default)((0,_s.default)({},J),oe),le=mte(t,M,C,he,(0,_s.default)({},H),l);m!=null&&(typeof h!="string"&&process.env.NODE_ENV!=="production"&&Wb(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",m.identifierField,h),le[m.identifierQueryVariableName]=h);var Ee=pte(s,le,{force:!0});return fte(f,Ee).subscribe((0,_s.default)((0,_s.default)({},c),{},{start:function(ve){v.current={kind:"fetching",subscription:ve},c.start&&c.start(ve)},complete:function(){v.current={kind:"none"},c.complete&&c.complete(),B&&B(null)},error:function(ve){v.current={kind:"none"},c.complete&&c.complete(),B&&B(ve)}})),{dispose:function(){}}},[f,h,t,C,k,o,i.name,n,u]);return[$,T,w]}xq.exports=gte});var tE=S((Uye,Iq)=>{"use strict";var yte=K().default,Es=yte(de()),_te=Hb(),bte=$b(),Ete=Wr(),Ste=Yb(),xte=wq(),wte=Le(),kq=j(),eE=Q(),kte=eE.useCallback,Rte=eE.useEffect,Rq=eE.useState,Ki=re(),Ite=Ki.__internal.fetchQuery,Nte=Ki.RelayFeatureFlags,Ote=Ki.createOperationDescriptor,Pte=Ki.getPaginationVariables,Tte=Ki.getRefetchMetadata,Cte=Ki.getSelector,Xb=ce();function Dte(e){return Nte.ENABLE_ACTIVITY_COMPATIBILITY?xte(e):$te(e)}function $te(e){var t=e.direction,i=e.fragmentNode,n=e.fragmentRef,r=e.fragmentIdentifier,o=e.fragmentData,a=e.connectionPathInFragmentData,s=e.paginationRequest,l=e.paginationMetadata,u=e.componentDisplayName,c=e.observer,d=e.onReset,f=wte(),p=bte(),m=p.isFetchingRef,h=p.startFetch,v=p.disposeFetch,_=p.completeFetch,b=Tte(i,u),g=b.identifierInfo,y=g?.identifierField!=null&&o!=null&&typeof o=="object"?o[g.identifierField]:null,E=Ete(),x=Rq(f),k=x[0],w=x[1],I=Rq(r),P=I[0],C=I[1],T=Ste(i,n),N=f!==k||r!==P;N&&(v(),d(),w(f),C(r));var $=_te(t,i,o,a),M=$.cursor,U=$.hasMore;Rte(function(){return function(){v()}},[v]);var B=kte(function(Z,J){var oe=J?.onComplete;if(E.current!==!0)return process.env.NODE_ENV!=="production"&&Xb(!1,"Relay: Unexpected fetch on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",i.name,u),{dispose:function(){}};var H=Cte(i,n);if(m.current===!0||o==null||T)return H==null&&process.env.NODE_ENV!=="production"&&Xb(!1,"Relay: Unexpected fetch while using a null fragment ref for fragment `%s` in `%s`. When fetching more items, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before paginating.",i.name,u,u),oe&&oe(null),{dispose:function(){}};H!=null&&H.kind!=="PluralReaderSelector"||(process.env.NODE_ENV!=="production"?kq(!1,"Relay: Expected to be able to find a non-plural fragment owner for fragment `%s` when using `%s`. If you're seeing this, this is likely a bug in Relay.",i.name,u):kq(!1));var he=H.owner.variables,le=H.variables,Ee=J?.UNSTABLE_extraVariables,we=(0,Es.default)((0,Es.default)({},he),le),ve=Pte(t,Z,M,we,(0,Es.default)({},Ee),l);g!=null&&(typeof y!="string"&&process.env.NODE_ENV!=="production"&&Xb(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",g.identifierField,y),ve[g.identifierQueryVariableName]=y);var Be=Ote(s,ve,{force:!0});return Ite(f,Be).subscribe((0,Es.default)((0,Es.default)({},c),{},{start:function(gt){h(gt),c.start&&c.start(gt)},complete:function(){_(),c.complete&&c.complete(),oe&&oe(null)},error:function(gt){_(),c.error&&c.error(gt),oe&&oe(gt)}})),{dispose:v}},[f,y,t,M,h,v,_,m,T,o,i.name,n,u]);return[B,U,v]}Iq.exports=Dte});var Cq=S((Vye,Tq)=>{"use strict";var Pq=K().default,Nq=Pq(de()),kd=Pq(Re()),Ate=Bi(),qte=Ate.getQueryResourceForEnvironment,Xr=j(),jn=re(),Lte=jn.__internal.fetchQuery,Fte=jn.RelayFeatureFlags,Mte=jn.createOperationDescriptor,jte=jn.getPendingOperationsForFragment,Ute=jn.getSelector,Vte=jn.getVariablesFromFragment,Oq=jn.handlePotentialSnapshotErrors,zte=ce();function Bte(e){return e.kind==="bailout"?!1:e.kind==="singular"?e.snapshot.isMissingData:e.snapshots.some(function(t){return t.isMissingData})}function Kte(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingClientEdges)!==null&&t!==void 0?t:null}else{var i=null,n=(0,kd.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingClientEdges){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,kd.default)(o.missingClientEdges),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function Zte(e,t){if(t.kind==="singular")Oq(e,t.snapshot.errorResponseFields);else if(t.kind==="plural"){var i=(0,kd.default)(t.snapshots),n;try{for(i.s();!(n=i.n()).done;){var r=n.value;Oq(e,r.errorResponseFields)}}catch(o){i.e(o)}finally{i.f()}}}function Qte(e,t,i,n,r){var o=Vte(t,i),a=(0,Nq.default)((0,Nq.default)({},o),{},{id:n.clientEdgeDestinationID}),s=Mte(n.request,a,r?.networkCacheConfig),l=qte(e);return l.prepare(s,Lte(e,s),r?.fetchPolicy)}function Hte(e,t){return t==null?{kind:"bailout"}:t.kind==="PluralReaderSelector"?t.selectors.length===0?{kind:"bailout"}:{kind:"plural",snapshots:t.selectors.map(function(i){return e.lookup(i)}),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(t),epoch:e.getStore().getEpoch()}}function Gte(e,t,i,n,r,o){var a,s,l=Ute(t,i),u=(t==null||(a=t.metadata)===null||a===void 0?void 0:a.plural)===!0;u?i==null||Array.isArray(i)||(process.env.NODE_ENV!=="production"?Xr(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",o!=null?" for key `".concat(o,"`"):"",t.name,typeof i,t.name):Xr(!1)):Array.isArray(i)&&(process.env.NODE_ENV!=="production"?Xr(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",o!=null?" for key `".concat(o,"`"):"",t.name,typeof i,t.name):Xr(!1)),i==null||u&&Array.isArray(i)&&i.length===0||l!=null||(process.env.NODE_ENV!=="production"?Xr(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",t.name,t.name,n,t.name,o==null?"a fragment reference":"the `".concat(o,"`"),n):Xr(!1));var c=Hte(e,l),d=null;if(((s=t.metadata)===null||s===void 0?void 0:s.hasClientEdges)===!0){var f=Kte(c);if(f!=null&&f.length){d=[];var p=(0,kd.default)(f),m;try{for(p.s();!(m=p.n()).done;){var h=m.value;d.push(Qte(e,t,i,h,r))}}catch(g){p.e(g)}finally{p.f()}}}if(Bte(c)){l==null&&(process.env.NODE_ENV!=="production"?Xr(!1,"refinement, see invariants above"):Xr(!1));var v=l.kind==="PluralReaderSelector"?l.selectors[0].owner:l.owner,_=jte(e,t,v);if(_)throw _.promise;Zte(e,c)}var b;return c.kind==="bailout"?b=u?[]:null:c.kind==="singular"?b=c.snapshot.data:b=c.snapshots.map(function(g){return g.data}),(Fte.LOG_MISSING_RECORDS_IN_PROD||process.env.NODE_ENV!=="production")&&i!=null&&(b===void 0||Array.isArray(b)&&b.length>0&&b.every(function(g){return g===void 0}))&&process.env.NODE_ENV!=="production"&&zte(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",t.name,n,n),{data:b,clientEdgeQueries:d}}Tq.exports=Gte});var qq=S((zye,Aq)=>{"use strict";var Yte=K().default,Wte=Yte(Re()),Jte=hs(),Xte=Jte.loadQuery,ere=Wr(),tre=Le(),Ss=Q(),rE=Ss.useCallback,rre=Ss.useEffect,nre=Ss.useInsertionEffect,Dq=Ss.useRef,$q=Ss.useState,ire=re(),ore=ire.getRequest,nE={kind:"NullQueryReference"};function are(e){if(e.kind==="PreloadableConcreteRequest")return e.params.metadata.live!==void 0;var t=ore(e);return t.params.metadata.live!==void 0}var sre=1e3*60*5;function lre(e,t){var i=t??nE,n=tre(),r=ere(),o=Dq(null);o.current==null&&(o.current=new Set([i]));var a=$q(function(){return i}),s=a[0],l=a[1],u=$q(function(){return i}),c=u[0],d=u[1];if(i!==c){var f;(f=o.current)===null||f===void 0||f.add(i),d(i),l(i)}var p=rE(function(){if(r.current){var _;(_=o.current)===null||_===void 0||_.add(nE),l(nE)}},[r]),m=rE(function(_,b){var g,y;if(r.current){var E=b!=null&&b.hasOwnProperty("__environment")?{fetchPolicy:b.fetchPolicy,networkCacheConfig:b.networkCacheConfig,__nameForWarning:b.__nameForWarning}:b,x=Xte((g=b?.__environment)!==null&&g!==void 0?g:n,e,_,E);(y=o.current)===null||y===void 0||y.add(x),l(x)}},[n,e,l,r]),h=rE(function(b,g){var y,E=(y=o.current)!==null&&y!==void 0?y:new Set,x=(0,Wte.default)(E),k;try{for(x.s();!(k=x.n()).done;){var w=k.value;w!==g&&w.kind!=="NullQueryReference"&&(are(b)?w.dispose&&w.dispose():w.releaseQuery&&w.releaseQuery())}}catch(I){x.e(I)}finally{x.f()}},[]),v=Dq(null);return rre(function(){return h(e,s),v.current!=null&&(clearTimeout(v.current),v.current=null),function(){v.current=setTimeout(function(){h(e,null)},sre)}},[e,s]),nre(function(){return function(){v.current&&clearTimeout(v.current),v.current=null,h(e,null)}},[e]),[s.kind==="NullQueryReference"?null:s,m,p]}Aq.exports=lre});var aE=S((Bye,zq)=>{"use strict";var ure=K().default,Lq=ure(Re()),cre=hs(),dre=cre.loadQuery,fre=Wr(),pre=qq(),mre=Le(),Rd=Q(),Fq=Rd.useCallback,iE=Rd.useEffect,Mq=Rd.useRef,jq=Rd.useState,Vq=re(),hre=Vq.RelayFeatureFlags,vre=Vq.getRequest,oE={kind:"NullQueryReference"};function Uq(e){if(e.kind==="PreloadableConcreteRequest")return e.params.metadata.live!==void 0;var t=vre(e);return t.params.metadata.live!==void 0}function gre(e,t){return hre.ENABLE_ACTIVITY_COMPATIBILITY?pre(e,t):yre(e,t)}function yre(e,t){var i=t??oE,n=mre(),r=fre(),o=Mq(new Set([i])),a=jq(function(){return i}),s=a[0],l=a[1],u=jq(function(){return i}),c=u[0],d=u[1];i!==c&&(o.current.add(i),d(i),l(i));var f=Fq(function(){r.current&&(o.current.add(oE),l(oE))},[r]),p=Fq(function(h,v){var _=v!=null&&v.hasOwnProperty("__environment")?{fetchPolicy:v.fetchPolicy,networkCacheConfig:v.networkCacheConfig,__nameForWarning:v.__nameForWarning}:v;if(r.current){var b,g=dre((b=v?.__environment)!==null&&b!==void 0?b:n,e,h,_);o.current.add(g),l(g)}},[n,e,l,r]),m=Mq(!1);return iE(function(){return function(){m.current=!0}},[]),iE(function(){if(m.current===!0){m.current=!1,s.kind!=="NullQueryReference"&&p(s.variables,{fetchPolicy:s.fetchPolicy,networkCacheConfig:s.networkCacheConfig});return}var h=o.current;if(r.current){var v=(0,Lq.default)(h),_;try{for(v.s();!(_=v.n()).done;){var b=_.value;if(b===s)break;h.delete(b),b.kind!=="NullQueryReference"&&(Uq(e)?b.dispose&&b.dispose():b.releaseQuery&&b.releaseQuery())}}catch(g){v.e(g)}finally{v.f()}}},[s,r,p,e]),iE(function(){return function(){var v=(0,Lq.default)(o.current),_;try{for(v.s();!(_=v.n()).done;){var b=_.value;b.kind!=="NullQueryReference"&&(Uq(e)?b.dispose&&b.dispose():b.releaseQuery&&b.releaseQuery())}}catch(g){v.e(g)}finally{v.f()}}},[e]),[s.kind==="NullQueryReference"?null:s,p,f]}zq.exports=gre});var Nd=S((Kye,Kq)=>{"use strict";var _re=K().default,xs=_re(de()),bre=ms(),Ere=Bi(),Sre=Ere.getQueryResourceForEnvironment,xre=Cq(),wre=Ed(),kre=Wr(),Rre=aE(),Ire=Le(),Bq=j(),sE=Q(),Nre=sE.useCallback,Ore=sE.useContext,Pre=sE.useReducer,Zi=re(),Tre=Zi.__internal.fetchQuery,Cre=Zi.createOperationDescriptor,Dre=Zi.getFragmentIdentifier,$re=Zi.getRefetchMetadata,Are=Zi.getSelector,qre=Zi.getValueAtPath,ws=ce();function Lre(e,t){switch(t.type){case"refetch":{var i;return(0,xs.default)((0,xs.default)({},e),{},{fetchPolicy:t.fetchPolicy,mirroredEnvironment:(i=t.refetchEnvironment)!==null&&i!==void 0?i:e.mirroredEnvironment,onComplete:t.onComplete,refetchEnvironment:t.refetchEnvironment,refetchQuery:t.refetchQuery,renderPolicy:t.renderPolicy})}case"reset":return{fetchPolicy:void 0,mirroredEnvironment:t.environment,mirroredFragmentIdentifier:t.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw t.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}function Fre(e,t,i){var n=Ire(),r=$re(e,i),o=r.refetchableRequest,a=r.fragmentRefPathInResponse,s=r.identifierInfo,l=Dre(e,t),u=Pre(Lre,{fetchPolicy:void 0,mirroredEnvironment:n,mirroredFragmentIdentifier:l,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),c=u[0],d=u[1],f=c.fetchPolicy,p=c.mirroredEnvironment,m=c.mirroredFragmentIdentifier,h=c.onComplete,v=c.refetchEnvironment,_=c.refetchQuery,b=c.renderPolicy,g=v??n,y=Sre(g),E=Ore(bre),x=g!==p||l!==m,k=Rre(o),w=k[0],I=k[1],P=k[2],C=t;if(x)d({type:"reset",environment:g,fragmentIdentifier:l}),P();else if(_!=null&&w!=null){var T;process.env.NODE_ENV!=="production"&&(T=Id.getInitialIDAndType(_.request.variables,a,s?.identifierQueryVariableName,g));var N=function(H){h&&h(H??null)},$=w.source!=null?w.source:Tre(g,_),M=E.wrapPrepareQueryResource(function(){return y.prepare(_,$,f,b,{error:N,complete:function(){process.env.NODE_ENV!=="production"&&Id.checkSameTypeAfterRefetch(T,g,e,i),N()}},w.fetchKey,E)}),U=xre(g,M.fragmentNode,M.fragmentRef,i).data;U==null&&(process.env.NODE_ENV!=="production"?Bq(!1,"Relay: Expected to be able to read refetch query response. If you're seeing this, this is likely a bug in Relay."):Bq(!1));var B=qre(U,a);C=B,process.env.NODE_ENV!=="production"&&Id.checkSameIDAfterRefetch(T,C,e,i)}var Z=wre(e,C,i),J=Mre(i,d,P,Z,l,e,a,s,I,t,o);return{fragmentData:Z,fragmentRef:C,refetch:J}}function Mre(e,t,i,n,r,o,a,s,l,u,c){var d=kre(),f=s?.identifierField!=null&&n!=null&&typeof n=="object"?n[s.identifierField]:null;return Nre(function(p,m){if(d.current!==!0)return process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Unexpected call to `refetch` on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",o.name,e),{dispose:function(){}};u==null&&process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Unexpected call to `refetch` while using a null fragment ref for fragment `%s` in `%s`. When calling `refetch`, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before calling `refetch`, or make sure you pass all required variables to `refetch`.",o.name,e,e);var h=m?.__environment,v=m?.fetchPolicy,_=m?.UNSTABLE_renderPolicy,b=m?.onComplete,g=Are(o,u),y,E;if(g==null)y={},E={};else if(g.kind==="PluralReaderSelector"){var x,k,w,I;y=(x=(k=g.selectors[0])===null||k===void 0?void 0:k.owner.variables)!==null&&x!==void 0?x:{},E=(w=(I=g.selectors[0])===null||I===void 0?void 0:I.variables)!==null&&w!==void 0?w:{}}else y=g.owner.variables,E=g.variables;var P=(0,xs.default)((0,xs.default)((0,xs.default)({},y),E),p);s!=null&&!p.hasOwnProperty(s.identifierQueryVariableName)&&(typeof f!="string"&&process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",s.identifierField,f),P[s.identifierQueryVariableName]=f);var C=Cre(c,P,{force:!0});return l(C.request.variables,{fetchPolicy:v,__environment:h,__nameForWarning:"refetch"}),t({type:"refetch",fetchPolicy:v,onComplete:b,refetchEnvironment:h,refetchQuery:C,renderPolicy:_}),{dispose:i}},[r,t,i,f,l])}var Id;process.env.NODE_ENV!=="production"&&(Id={getInitialIDAndType:function(t,i,n,r){var o=re(),a=o.Record,s=t?.[n??"id"];if(i.length!==1||i[0]!=="node"||s==null)return null;var l=r.getStore().getSource(),u=l.get(s),c=u==null?null:a.getType(u);return c==null?null:{id:s,typename:c}},checkSameTypeAfterRefetch:function(t,i,n,r){var o=re(),a=o.Record;if(t){var s=i.getStore().getSource(),l=s.get(t.id),u=l&&a.getType(l);u!==t.typename&&process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Call to `refetch` returned data with a different __typename: was `%s`, now `%s`, on `%s` in `%s`. Please make sure the server correctly implementsunique id requirement.",t.typename,u,n.name,r)}},checkSameIDAfterRefetch:function(t,i,n,r){if(t!=null){var o=re(),a=o.ID_KEY,s=i[a];s!=null&&s!==t.id&&process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Call to `refetch` returned a different id, expected `%s`, got `%s`, on `%s` in `%s`. Please make sure the server correctly implements unique id requirement.",s,t.id,n.name,r)}}});Kq.exports=Fre});var Hq=S((Zye,Qq)=>{"use strict";var jre=K().default,Od=jre(de()),Ure=tE(),Vre=Nd(),zre=Le(),Bre=ys(),lE=Q(),Kre=lE.useCallback,Zre=lE.useDebugValue,Qre=lE.useState,uE=re(),Hre=uE.getFragment,Gre=uE.getFragmentIdentifier,Yre=uE.getPaginationMetadata;function Wre(e,t){var i=Hre(e);Bre(i,"first argument of usePaginationFragment()");var n="usePaginationFragment()",r=Yre(i,n),o=r.connectionPathInFragmentData,a=r.paginationRequest,s=r.paginationMetadata,l=Vre(i,t,n),u=l.fragmentData,c=l.fragmentRef,d=l.refetch,f=Gre(i,c),p=Zq({componentDisplayName:n,connectionPathInFragmentData:o,direction:"backward",fragmentData:u,fragmentIdentifier:f,fragmentNode:i,fragmentRef:c,paginationMetadata:s,paginationRequest:a}),m=p[0],h=p[1],v=p[2],_=p[3],b=Zq({componentDisplayName:n,connectionPathInFragmentData:o,direction:"forward",fragmentData:u,fragmentIdentifier:f,fragmentNode:i,fragmentRef:c,paginationMetadata:s,paginationRequest:a}),g=b[0],y=b[1],E=b[2],x=b[3],k=Kre(function(w,I){return x(),_(),d(w,(0,Od.default)((0,Od.default)({},I),{},{__environment:void 0}))},[x,_,d]);return process.env.NODE_ENV!=="production"&&Zre({fragment:i.name,data:u,hasNext:y,isLoadingNext:E,hasPrevious:h,isLoadingPrevious:v}),{data:u,loadNext:g,loadPrevious:m,hasNext:y,hasPrevious:h,isLoadingNext:E,isLoadingPrevious:v,refetch:k}}function Zq(e){var t=zre(),i=Qre(!1),n=i[0],r=i[1],o=function(p){var m,h=(m=t.getScheduler())===null||m===void 0?void 0:m.schedule;h?h(function(){r(p)}):r(p)},a={start:function(){return o(!0)},complete:function(){return o(!1)},error:function(){return o(!1)}},s=function(){return o(!1)},l=Ure((0,Od.default)((0,Od.default)({},e),{},{observer:a,onReset:s})),u=l[0],c=l[1],d=l[2];return[u,c,n,d]}Qq.exports=Wre});var Xq=S((Qye,Jq)=>{"use strict";var Jre=K().default,Gq=Jre(de()),Xre=Zb(),ene=tE(),tne=Nd(),rne=Le(),nne=ys(),Qi=j(),Un=Q(),Pd=Un.useCallback,ine=Un.useDebugValue,one=Un.useEffect,ane=Un.useLayoutEffect,cE=Un.useMemo,Yq=Un.useRef,dE=Un.useState,fE=re(),sne=fE.getFragment,lne=fE.getFragmentIdentifier,une=fE.getPaginationMetadata,pE=re(),cne=pE.ConnectionInterface,Wq=pE.getSelector,dne=pE.getValueAtPath;function fne(e,t,i,n,r){var o,a,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1,l=sne(e);nne(l,"first argument of usePrefetchableForwardPaginationFragment_EXPERIMENTAL()");var u="usePrefetchableForwardPaginationFragment_EXPERIMENTAL()",c=une(l,u),d=c.connectionPathInFragmentData,f=c.paginationRequest,p=c.paginationMetadata,m=tne(l,t,u),h=m.fragmentData,v=m.fragmentRef,_=m.refetch,b=lne(l,v),g=cE(function(){var Se=dne(h,d);if(Se==null)return null;var De=cne.get(),ut=De.EDGES;return Se[ut]},[d,h]),y=g==null?-1:g.length,E=dE(n??y),x=E[0],k=E[1],w=x;x===-1&&y!==-1&&(w=n??y,k(w));var I=rne(),P=dE(!1),C=P[0],T=P[1],N=dE(!1),$=N[0],M=N[1],U=Yq(0),B=Pd(function(Se){var De,ut=(De=I.getScheduler())===null||De===void 0?void 0:De.schedule;ut?ut(function(){T(Se)}):T(Se)},[I]),Z=Yq(!1),J=cE(function(){return{start:function(){Z.current=!0,T(!0)},complete:function(){Z.current=!1,B(!1)},error:function(){Z.current=!1,B(!1)}}},[B]),oe=Pd(function(){if(!$){var Se,De=(Se=I.getScheduler())===null||Se===void 0?void 0:Se.schedule;De?De(function(){k(-1)}):k(-1)}Z.current=!1,B(!1)},[I,$,B]),H=ene({componentDisplayName:u,connectionPathInFragmentData:d,direction:"forward",fragmentData:h,fragmentIdentifier:b,fragmentNode:l,fragmentRef:v,paginationMetadata:p,paginationRequest:f,observer:J,onReset:oe}),he=H[0],le=H[1],Ee=H[2];ane(function(){U.current=y-w},[w,y]);var we=r?.UNSTABLE_extraVariables,ve=r?.onComplete,Be=Pd(function(Se,De){(!Z.current||U.current>=0)&&(U.current-=Se,k(function(ut){return ut+Se}),!Z.current&&U.current<0&&he(Math.max(s,Math.min(Se,i-U.current)),De??{onComplete:ve,UNSTABLE_extraVariables:typeof we=="function"?we({hasNext:le,data:h,getServerEdges:function(){var en=Wq(Ge,g);return en==null?[]:(en.kind!=="PluralReaderSelector"&&(process.env.NODE_ENV!=="production"?Qi(!1,"Expected a plural selector"):Qi(!1)),en.selectors.map(function(Yi){return I.lookup(Yi).data}))}}):we}))},[i,he,s,g,h,we,ve]),Ge=(o=e.metadata)===null||o===void 0||(a=o.refetch)===null||a===void 0?void 0:a.edgesFragment;Ge==null&&(process.env.NODE_ENV!=="production"?Qi(!1,"usePrefetchableForwardPaginationFragment_EXPERIMENTAL: Expected the edge fragment to be defined, please make sure you have added `prefetchable_pagination: true` to `@connection`"):Qi(!1)),one(function(){if(!Z.current&&!C&&!$&&le&&(y-w<i||w>y)){var Se=ve;he(Math.max(i-Math.max(y-w,0),w-y,s),{onComplete:Se,UNSTABLE_extraVariables:typeof we=="function"?we({hasNext:le,data:h,getServerEdges:function(){var ut=Wq(Ge,g);return ut==null?[]:(ut.kind!=="PluralReaderSelector"&&(process.env.NODE_ENV!=="production"?Qi(!1,"Expected a plural selector"):Qi(!1)),ut.selectors.map(function(en){return I.lookup(en).data}))}}):we})}},[le,i,$,he,w,we,ve,y,g,C,s,I,Ge]);var gt=Math.min(w,y),Ld=cE(function(){var Se;return(Se=g?.slice(0,gt))!==null&&Se!==void 0?Se:[]},[g,gt]),EL=Xre(Ge,Ld),SL=Pd(function(Se,De){return Ee(),M(!0),_(Se,(0,Gq.default)((0,Gq.default)({},De),{},{onComplete:function(en){var Yi,Fd,yE=(Yi=I.getScheduler())===null||Yi===void 0?void 0:Yi.schedule;yE?yE(function(){M(!1),k(-1)}):(M(!1),k(-1)),De==null||(Fd=De.onComplete)===null||Fd===void 0||Fd.call(De,en)},__environment:void 0}))},[Ee,I,_]);return process.env.NODE_ENV!=="production"&&ine({fragment:l.name,data:h,hasNext:le,isLoadingNext:C}),{edges:EL,data:h,loadNext:Be,hasNext:le||y>w,isLoadingNext:C&&w>y,refetch:SL}}Jq.exports=fne});var iL=S((Hye,nL)=>{"use strict";var pne=Vb(),mne=zb(),hne=Le(),eL=j(),vne=Q(),gne=vne.useDebugValue,yne=re(),rL=yne.__internal,_ne=rL.fetchQueryDeduped,bne=rL.fetchQuery,tL=ce();function Ene(e,t,i){var n=hne(),r=t.fetchKey,o=t.fetchPolicy,a=t.source,s=t.variables,l=t.networkCacheConfig,u=mne(e,s,l),c;if(t.kind==="PreloadedQuery_DEPRECATED")u.request.node.params.name!==t.name&&(process.env.NODE_ENV!=="production"?eL(!1,"usePreloadedQuery(): Expected data to be prefetched for query `%s`, got prefetch results for query `%s`.",u.request.node.params.name,t.name):eL(!1)),c={componentDisplayName:"usePreloadedQuery()",fetchKey:r,fetchObservable:_ne(n,u.request.identifier,function(){return n===t.environment&&a!=null?n.executeWithSource({operation:u,source:a}):n.execute({operation:u})}),fetchPolicy:o,query:u,renderPolicy:i?.UNSTABLE_renderPolicy};else{process.env.NODE_ENV!=="production"&&tL(t.isDisposed===!1,"usePreloadedQuery(): Expected preloadedQuery to not be disposed yet. This is because disposing the query marks it for future garbage collection, and as such query results may no longer be present in the Relay store. In the future, this will become a hard error.");var d=bne(n,u),f;a!=null&&n===t.environment?f=a.ifEmpty(d):(n!==t.environment&&process.env.NODE_ENV!=="production"&&tL(!1,"usePreloadedQuery(): usePreloadedQuery was passed a preloaded query that was created with a different environment than the one that is currently in context. In the future, this will become a hard error."),f=d),c={componentDisplayName:"usePreloadedQuery()",fetchObservable:f,fetchKey:r,fetchPolicy:o,query:u,renderPolicy:i?.UNSTABLE_renderPolicy}}var p=pne(c);return process.env.NODE_ENV!=="production"&&gne({query:t.name,variables:t.variables,data:p,fetchKey:r,fetchPolicy:o,renderPolicy:i?.UNSTABLE_renderPolicy}),p}nL.exports=Ene});var aL=S((Gye,oL)=>{"use strict";var Sne=Nd(),xne=ys(),wne=Q(),kne=wne.useDebugValue,Rne=re(),Ine=Rne.getFragment;function Nne(e,t){var i=Ine(e);xne(i,"first argument of useRefetchableFragment()");var n=Sne(i,t,"useRefetchableFragment()"),r=n.fragmentData,o=n.refetch;return process.env.NODE_ENV!=="production"&&kne({fragment:i.name,data:r}),[r,o]}oL.exports=Nne});var uL=S((Yye,lL)=>{"use strict";var One=Le(),sL=Q(),Pne=sL.useEffect,Tne=sL.useRef;function Cne(e,t){var i=One(),n=Tne(null),r=Array.from(e).sort().join("");return Pne(function(){var o=i.getStore(),a=o.lookupInvalidationState(e),s=o.subscribeToInvalidationState(a,t);return n.current=s,function(){return s.dispose()}},[r,t,i]),{dispose:function(){n.current!=null&&n.current.dispose()}}}lL.exports=Cne});var dL=S((Wye,cL)=>{"use strict";var Dne=Le(),$ne=Q(),Ane=$ne.useEffect,qne=re(),Lne=qne.requestSubscription;function Fne(e,t){var i=t??Lne,n=Dne();Ane(function(){var r=i(n,e),o=r.dispose;return o},[n,e,i])}cL.exports=Fne});var pL=S((Jye,fL)=>{"use strict";var Mne=hr(),jne=l$(),Une=d$(),Vne=S$(),zne=I$(),Bne=$$(),Kne=j$(),Zne=Nb(),Qne=hs(),Hne=Qne.loadQuery,Gne=ms(),Yne=eA(),Wne=eq(),Jne=lq(),Xne=Zb(),eie=Bb(),tie=mq(),rie=Hq(),nie=Xq(),iie=iL(),oie=aE(),aie=aL(),sie=Le(),lie=uL(),uie=dL(),kt=re();fL.exports={ConnectionHandler:kt.ConnectionHandler,QueryRenderer:zne,LocalQueryRenderer:Une,MutationTypes:kt.MutationTypes,RangeOperations:kt.RangeOperations,ReactRelayContext:Mne,applyOptimisticMutation:kt.applyOptimisticMutation,commitLocalUpdate:kt.commitLocalUpdate,commitMutation:kt.commitMutation,createFragmentContainer:jne.createContainer,createPaginationContainer:Vne.createContainer,createRefetchContainer:Bne.createContainer,fetchQuery_DEPRECATED:kt.fetchQuery_DEPRECATED,graphql:kt.graphql,readInlineData:kt.readInlineData,requestSubscription:kt.requestSubscription,EntryPointContainer:Kne,RelayEnvironmentProvider:Yne,ProfilerContext:Gne,fetchQuery:kt.fetchQuery,loadQuery:Hne,loadEntryPoint:Zne,useClientQuery:Wne,useFragment:Xne,useLazyLoadQuery:eie,useEntryPointLoader:Jne,useQueryLoader:oie,useMutation:tie,usePaginationFragment:rie,usePreloadedQuery:iie,useRefetchableFragment:aie,usePrefetchableForwardPaginationFragment_EXPERIMENTAL:nie,useRelayEnvironment:sie,useSubscribeToInvalidationState:lie,useSubscription:uie}});var hL=S((Xye,mL)=>{"use strict";mL.exports=pL()});import*as _E from"@sentry/node";import{nodeProfilingIntegration as xL}from"@sentry/profiling-node";var rn="0.1.4";_E.init({dsn:"https://00036a1647f788d0139d4b9da5d05e4a@o4511344082878464.ingest.de.sentry.io/4511530752278608",integrations:[xL()],release:`@binclusive/cli@${rn}`,environment:rn.includes("-dev")?"development":"production",enableLogs:!0,tracesSampleRate:1,profileSessionSampleRate:1,profileLifecycle:"trace"});import*as qd from"@sentry/node";import{existsSync as af,mkdirSync as uF,readFileSync as cF,renameSync as dF,rmSync as LE,writeFileSync as fF}from"fs";import{homedir as pF}from"os";import{join as Ps}from"path";import{createHash as eF,randomBytes as $E}from"crypto";import{createServer as tF}from"http";import PE from"process";import{Buffer as TE}from"buffer";import CE from"path";import{fileURLToPath as QL}from"url";import{promisify as HL}from"util";import DE from"child_process";import GL,{constants as YL}from"fs/promises";import xE from"process";import wE,{constants as OL}from"fs/promises";import SE from"process";import NL from"os";import Vd from"fs";import RL from"fs";import bE from"fs";var Md;function wL(){try{return bE.statSync("/.dockerenv"),!0}catch{return!1}}function kL(){try{return bE.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}function jd(){return Md===void 0&&(Md=wL()||kL()),Md}var Ud,IL=()=>{try{return RL.statSync("/run/.containerenv"),!0}catch{return!1}};function nn(){return Ud===void 0&&(Ud=IL()||jd()),Ud}var EE=()=>{if(SE.platform!=="linux")return!1;if(NL.release().toLowerCase().includes("microsoft"))return!nn();try{if(Vd.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft"))return!nn()}catch{}return Vd.existsSync("/proc/sys/fs/binfmt_misc/WSLInterop")||Vd.existsSync("/run/WSL")?!nn():!1},Er=SE.env.__IS_WSL_TEST__?EE:EE();var PL=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let i="/etc/wsl.conf",n=!1;try{await wE.access(i,OL.F_OK),n=!0}catch{}if(!n)return e;let r=await wE.readFile(i,{encoding:"utf8"}),o=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(r);return o?(t=o.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),TL=async()=>`${await PL()}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`,zd=async()=>Er?TL():`${xE.env.SYSTEMROOT||xE.env.windir||String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;function Sr(e,t,i){let n=r=>Object.defineProperty(e,t,{value:r,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let r=i();return n(r),r},set(r){n(r)}}),e}import{promisify as zL}from"util";import Hd from"process";import{execFile as BL}from"child_process";import{promisify as CL}from"util";import DL from"process";import{execFile as $L}from"child_process";var AL=CL($L);async function Bd(){if(DL.platform!=="darwin")throw new Error("macOS only");let{stdout:e}=await AL("defaults",["read","com.apple.LaunchServices/com.apple.launchservices.secure","LSHandlers"]),i=/LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(e)?.groups.id??"com.apple.Safari";return i==="com.apple.safari"?"com.apple.Safari":i}import qL from"process";import{promisify as LL}from"util";import{execFile as FL,execFileSync as Bie}from"child_process";var ML=LL(FL);async function kE(e,{humanReadableOutput:t=!0,signal:i}={}){if(qL.platform!=="darwin")throw new Error("macOS only");let n=t?[]:["-ss"],r={};i&&(r.signal=i);let{stdout:o}=await ML("osascript",["-e",e,n],r);return o.trim()}async function Kd(e){return kE(`tell application "Finder" to set app_path to application file id "${e}" as string
|
|
144
|
+
`):"(No errors)",u=GH.create("RelayNetwork","No data returned for operation `"+r._operation.request.node.params.name+"`, got error(s):\n"+l+"\n\nSee the error `source` property for more information.");throw u.source={errors:s,operation:r._operation.request.node,variables:r._operation.request.variables},u.stack,u}else{var c=a;o.push(c)}}),o},t._handleOptimisticResponses=function(n){var r;if(n.length>1)return n.some(function(s){var l;return((l=s.extensions)===null||l===void 0?void 0:l.isOptimistic)===!0})&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Optimistic responses cannot be batched."):ee(!1)),!1;var o=n[0],a=((r=o.extensions)===null||r===void 0?void 0:r.isOptimistic)===!0;return a&&this._state!=="started"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: optimistic payload received after server payload."):ee(!1)),a?(this._processOptimisticResponse(o,null,this._treatMissingFieldsAsNull),this._sink.next(o),!0):!1},t._handleNext=function(n){if(this._state!=="completed"){this._seenActors.clear();var r=Array.isArray(n)?n:[n],o=this._handleErrorResponse(r);if(o.length===0){var a=r.some(function(v){var _;return((_=v.extensions)===null||_===void 0?void 0:_.is_final)===!0});a&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),this._sink.next(n);return}var s=this._handleOptimisticResponses(o);if(!s){var l=sG(o),u=l[0],c=l[1],d=u.length>0;if(d){if(this._isSubscriptionOperation){var f=XH();this._operation={request:this._operation.request,fragment:rG(this._operation.fragment.node,f,this._operation.fragment.variables,this._operation.fragment.owner),root:Qy(this._operation.root.node,f,this._operation.root.variables)}}var p=this._processResponses(u);this._processPayloadFollowups(p)}if(c.length>0){var m=this._processIncrementalResponses(c);this._processPayloadFollowups(m)}this._isSubscriptionOperation&&(o[0].extensions==null?o[0].extensions={__relay_subscription_root_id:this._operation.fragment.dataID}:o[0].extensions.__relay_subscription_root_id=this._operation.fragment.dataID);var h=this._runPublishQueue(d?this._operation:void 0);d&&this._incrementalPayloadsPending&&this._retainData(),this._updateOperationTracker(h),this._sink.next(n)}}},t._processOptimisticResponse=function(n,r,o){var a=this;if(this._optimisticUpdates!==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: environment.execute: only support one optimistic response per execute."):ee(!1)),!(n==null&&r==null)){var s=[];if(n){var l=this._normalizeResponse(n,this._operation.root,U0,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[],shouldProcessClientComponents:this._shouldProcessClientComponents,treatMissingFieldsAsNull:o});V0(l),s.push({operation:this._operation,payload:l,updater:r}),this._processOptimisticFollowups(l,s)}else r&&s.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,followupPayloads:null,source:Hy.create(),isFinal:!1},updater:r});this._optimisticUpdates=s,s.forEach(function(c){return a._getPublishQueueAndSaveActor().applyUpdate(c)});var u=this._runPublishQueue();dc.ENABLE_OPERATION_TRACKER_OPTIMISTIC_UPDATES&&this._updateOperationTracker(u)}},t._processOptimisticFollowups=function(n,r){if(n.followupPayloads&&n.followupPayloads.length){var o=n.followupPayloads,a=(0,Ha.default)(o),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;switch(l.kind){case"ModuleImportPayload":var u=this._expectOperationLoader(),c=u.get(l.operationReference);if(c==null)this._processAsyncOptimisticModuleImport(l);else{var d=this._processOptimisticModuleImport(c,l);r.push.apply(r,(0,Ga.default)(d))}break;case"ActorPayload":process.env.NODE_ENV!=="production"&&Gy(!1,"OperationExecutor: Unexpected optimistic ActorPayload. These updates are not supported.");break;default:process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Unexpected followup kind `%s`. when processing optimistic updates.",l.kind):ee(!1)}}}catch(f){a.e(f)}finally{a.f()}}},t._normalizeFollowupPayload=function(n,r){var o;r.kind==="SplitOperation"&&n.kind==="ModuleImportPayload"?o=tG(n.variables,r.argumentDefinitions,n.args):o=n.variables;var a=Qy(r,n.dataID,o);return this._normalizeResponse({data:n.data},a,n.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:n.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents})},t._processOptimisticModuleImport=function(n,r){var o=Zy(n),a=[],s=this._normalizeFollowupPayload(r,o);return V0(s),a.push({operation:this._operation,payload:s,updater:null}),this._processOptimisticFollowups(s,a),a},t._processAsyncOptimisticModuleImport=function(n){var r=this;this._expectOperationLoader().load(n.operationReference).then(function(o){if(!(o==null||r._state!=="started")){var a=r._processOptimisticModuleImport(o,n);if(a.forEach(function(l){return r._getPublishQueueAndSaveActor().applyUpdate(l)}),r._optimisticUpdates==null)process.env.NODE_ENV!=="production"&&Gy(!1,"OperationExecutor: Unexpected ModuleImport optimistic update in operation %s."+r._operation.request.node.params.name);else{var s;(s=r._optimisticUpdates).push.apply(s,(0,Ga.default)(a)),r._runPublishQueue()}}})},t._processResponses=function(n){var r=this;return this._log({name:"execute.normalize.start",operation:this._operation}),this._optimisticUpdates!==null&&(this._optimisticUpdates.forEach(function(o){r._getPublishQueueAndSaveActor().revertUpdate(o)}),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),n.map(function(o){var a=r._normalizeResponse(o,r._operation.root,U0,{actorIdentifier:r._actorIdentifier,getDataID:r._getDataID,path:[],treatMissingFieldsAsNull:r._treatMissingFieldsAsNull,shouldProcessClientComponents:r._shouldProcessClientComponents});return r._getPublishQueueAndSaveActor().commitPayload(r._operation,a,r._updater),r._log({name:"execute.normalize.end",operation:r._operation}),a})},t._processPayloadFollowups=function(n){var r=this;this._state!=="completed"&&n.forEach(function(o){var a=o.incrementalPlaceholders,s=o.followupPayloads,l=o.isFinal;if(r._state=l?"loading_final":"loading_incremental",r._updateActiveState(),l&&(r._incrementalPayloadsPending=!1),s&&s.length!==0&&s.forEach(function(c){var d,f=r._actorIdentifier;r._actorIdentifier=(d=c.actorIdentifier)!==null&&d!==void 0?d:r._actorIdentifier,r._processFollowupPayload(c),r._actorIdentifier=f}),a&&a.length!==0&&(r._incrementalPayloadsPending=r._state!=="loading_final",a.forEach(function(c){var d,f=r._actorIdentifier;r._actorIdentifier=(d=c.actorIdentifier)!==null&&d!==void 0?d:r._actorIdentifier,r._processIncrementalPlaceholder(o,c),r._actorIdentifier=f}),r._isClientPayload||r._state==="loading_final")){process.env.NODE_ENV!=="production"&&Gy(r._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.",r._operation.request.node.params.name);var u=[];a.forEach(function(c){c.kind==="defer"&&u.push(r._processDeferResponse(c.label,c.path,c,{data:c.data}))}),u.length>0&&r._processPayloadFollowups(u)}})},t._maybeCompleteSubscriptionOperationTracking=function(){this._isSubscriptionOperation&&this._pendingModulePayloadsCount===0&&this._incrementalPayloadsPending===!1&&this._completeOperationTracker()},t._processFollowupPayload=function(n){var r=this;switch(n.kind){case"ModuleImportPayload":var o=this._expectOperationLoader(),a=o.get(n.operationReference);if(a!=null)this._processFollowupPayloadWithNormalizationNode(n,Zy(a));else{var s=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var l=function(){r._pendingModulePayloadsCount--,r._maybeCompleteSubscriptionOperationTracking()},u=Ky.from(new Promise(function(c,d){o.load(n.operationReference).then(c,d)}));Ky.create(function(c){var d,f=u.subscribe({next:function(m){if(m!=null){var h=function(){try{var b=Zy(m),g=dc.BATCH_ASYNC_MODULE_UPDATES_FN,y=g!=null&&r._pendingModulePayloadsCount>1,E=JH(function(){if(r._handleFollowupPayload(n,b),y)r._scheduleAsyncStoreUpdate(g,c.complete);else{var w=r._runPublishQueue();r._updateOperationTracker(w)}}),x=E[0],k=E[1];r._log({name:"execute.async.module",executeId:r._executeId,operationName:b.name,duration:k}),y||c.complete()}catch(w){c.error(w)}},v=r._scheduler;v==null?h():d=v.schedule(h)}else c.complete()},error:c.error});return function(){f.unsubscribe(),r._scheduler!=null&&d!=null&&r._scheduler.cancel(d)}}).subscribe({complete:function(){r._complete(s),l()},error:function(d){r._error(d),l()},start:function(d){return r._start(s,d)}})}break;case"ActorPayload":this._processFollowupPayloadWithNormalizationNode(n,n.node);break;default:process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Unexpected followup kind `%s`.",n.kind):ee(!1)}},t._processFollowupPayloadWithNormalizationNode=function(n,r){this._handleFollowupPayload(n,r),this._maybeCompleteSubscriptionOperationTracking()},t._handleFollowupPayload=function(n,r){var o=this._normalizeFollowupPayload(n,r);this._getPublishQueueAndSaveActor().commitPayload(this._operation,o),this._processPayloadFollowups([o])},t._processIncrementalPlaceholder=function(n,r){var o,a=r.label,s=r.path,l=s.map(String).join("."),u=this._incrementalResults.get(a);u==null&&(u=new Map,this._incrementalResults.set(a,u));var c=u.get(l),d=c!=null&&c.kind==="response"?c.responses:null;u.set(l,{kind:"placeholder",placeholder:r});var f;r.kind==="stream"?f=r.parentID:r.kind==="defer"?f=r.selector.dataID:process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Unsupported incremental placeholder kind `%s`.",r.kind):ee(!1);var p=n.source.get(f),m=((o=n.fieldPayloads)!==null&&o!==void 0?o:[]).filter(function(E){var x=j0(E.dataID,E.fieldKey);return E.dataID===f||x===f});p==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected record `%s` to exist.",f):ee(!1));var h,v,_=this._source.get(f);if(_!=null){h=fc.update(_.record,p);var b=new Map,g=function(x){var k=lG(x);b.set(k,x)};_.fieldPayloads.forEach(g),m.forEach(g),v=Array.from(b.values())}else h=p,v=m;if(this._source.set(f,{record:h,fieldPayloads:v}),d!=null){var y=this._processIncrementalResponses(d);this._processPayloadFollowups(y)}},t._processIncrementalResponses=function(n){var r=this,o=[];return n.forEach(function(a){var s=a.label,l=a.path,u=a.response,c=r._incrementalResults.get(s);if(c==null&&(c=new Map,r._incrementalResults.set(s,c)),s.indexOf("$defer$")!==-1){var d=l.map(String).join("."),f=c.get(d);if(f==null){f={kind:"response",responses:[a]},c.set(d,f);return}else if(f.kind==="response"){f.responses.push(a);return}var p=f.placeholder;p.kind!=="defer"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected data for path `%s` for label `%s` to be data for @defer, was `@%s`.",d,s,p.kind):ee(!1)),o.push(r._processDeferResponse(s,l,p,u))}else{var m=l.slice(0,-2).map(String).join("."),h=c.get(m);if(h==null){h={kind:"response",responses:[a]},c.set(m,h);return}else if(h.kind==="response"){h.responses.push(a);return}var v=h.placeholder;v.kind!=="stream"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected data for path `%s` for label `%s` to be data for @stream, was `@%s`.",m,s,v.kind):ee(!1)),o.push(r._processStreamResponse(s,l,v,u))}}),o},t._processDeferResponse=function(n,r,o,a){var s,l=o.selector.dataID,u=this._actorIdentifier;this._actorIdentifier=(s=o.actorIdentifier)!==null&&s!==void 0?s:this._actorIdentifier;var c=this._normalizeResponse(a,o.selector,o.typeName,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:o.path,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});this._getPublishQueueAndSaveActor().commitPayload(this._operation,c);var d=this._source.get(l);d==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected the parent record `%s` for @defer data to exist.",l):ee(!1));var f=d.fieldPayloads;if(f.length!==0){var p,m={errors:null,fieldPayloads:f,incrementalPlaceholders:null,followupPayloads:null,source:Hy.create(),isFinal:((p=a.extensions)===null||p===void 0?void 0:p.is_final)===!0};this._getPublishQueueAndSaveActor().commitPayload(this._operation,m)}return this._actorIdentifier=u,c},t._processStreamResponse=function(n,r,o,a){var s=o.parentID,l=o.node,u=o.variables,c=o.actorIdentifier,d=this._actorIdentifier;this._actorIdentifier=c??this._actorIdentifier;var f=l.selections[0];f!=null&&f.kind==="LinkedField"&&f.plural===!0||(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected @stream to be used on a plural field."):ee(!1));var p=this._normalizeStreamItem(a,s,f,u,r,o.path),m=p.fieldPayloads,h=p.itemID,v=p.itemIndex,_=p.prevIDs,b=p.relayPayload,g=p.storageKey;if(this._getPublishQueueAndSaveActor().commitPayload(this._operation,b,function(E){var x=E.get(s);if(x!=null){var k=x.getLinkedRecords(g);if(k!=null&&!(k.length!==_.length||k.some(function(I,P){return _[P]!==(I&&I.getDataID())}))){var w=(0,Ga.default)(k);w[v]=E.get(h),x.setLinkedRecords(w,g)}}}),m.length!==0){var y={errors:null,fieldPayloads:m,incrementalPlaceholders:null,followupPayloads:null,source:Hy.create(),isFinal:!1};this._getPublishQueueAndSaveActor().commitPayload(this._operation,y)}return this._actorIdentifier=d,b},t._normalizeStreamItem=function(n,r,o,a,s,l){var u,c,d,f,p=n.data;typeof p!="object"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected the GraphQL @stream payload `data` value to be an object."):ee(!1));var m=(u=o.alias)!==null&&u!==void 0?u:o.name,h=iG(o,a),v=this._source.get(r);v==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected the parent record `%s` for @stream data to exist.",r):ee(!1));var _=v.record,b=v.fieldPayloads,g=fc.getLinkedRecordIDs(_,h);g==null&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected record `%s` to have fetched field `%s` with @stream.",r,o.name):ee(!1));var y=s[s.length-1],E=parseInt(y,10);E===y&&E>=0||(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected path for @stream to end in a positive integer index, got `%s`",y):ee(!1));var x=(c=o.concreteType)!==null&&c!==void 0?c:p[nG];typeof x!="string"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected @stream field `%s` to have a __typename.",o.name):ee(!1));var k=(d=(f=this._getDataID(p,x))!==null&&f!==void 0?f:g?.[E])!==null&&d!==void 0?d:j0(r,h,E);typeof k!="string"&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected id of elements of field `%s` to be strings.",h):ee(!1));var w=Qy(o,k,a),I=fc.clone(_),P=(0,Ga.default)(g);P[E]=k,fc.setLinkedRecordIDs(I,h,P),this._source.set(r,{record:I,fieldPayloads:b});var C=this._normalizeResponse(n,w,x,{actorIdentifier:this._actorIdentifier,getDataID:this._getDataID,path:[].concat((0,Ga.default)(l),[m,String(E)]),treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents});return{fieldPayloads:b,itemID:k,itemIndex:E,prevIDs:g,relayPayload:C,storageKey:h}},t._scheduleAsyncStoreUpdate=function(n,r){var o=this;this._completeFns.push(r),this._asyncStoreUpdateDisposable==null&&(this._asyncStoreUpdateDisposable=n(function(){o._asyncStoreUpdateDisposable=null;var a=o._runPublishQueue();o._updateOperationTracker(a);var s=(0,Ha.default)(o._completeFns),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;u()}}catch(c){s.e(c)}finally{s.f()}o._completeFns=[]}))},t._updateOperationTracker=function(n){n!=null&&n.length>0&&this._operationTracker.update(this._operation.request,new Set(n))},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 this._seenActors.size===0?new Set([this._actorIdentifier]):this._seenActors},t._runPublishQueue=function(n){var r=new Set,o=(0,Ha.default)(this._getActorsToVisit()),a;try{for(o.s();!(a=o.n()).done;){var s=a.value,l=this._getPublishQueue(s).run(n);l.forEach(function(u){return r.add(u)})}}catch(u){o.e(u)}finally{o.f()}return Array.from(r)},t._retainData=function(){var n=(0,Ha.default)(this._getActorsToVisit()),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;this._retainDisposables.has(o)||this._retainDisposables.set(o,this._getStore(o).retain(this._operation))}}catch(a){n.e(a)}finally{n.f()}},t._disposeRetainedData=function(){var n=(0,Ha.default)(this._retainDisposables.values()),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;o.dispose()}}catch(a){n.e(a)}finally{n.f()}this._retainDisposables.clear()},t._expectOperationLoader=function(){var n=this._operationLoader;return n||(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: Expected an operationLoader to be configured when using `@match`."):ee(!1)),n},e})();function sG(e){var t=[],i=[];return e.forEach(function(n){if(n.path!=null||n.label!=null){var r=n.label,o=n.path;(r==null||o==null)&&(process.env.NODE_ENV!=="production"?ee(!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`."):ee(!1)),i.push({label:r,path:o,response:n})}else t.push(n)}),[t,i]}function lG(e){var t;return(t=JSON.stringify(WH(e)))!==null&&t!==void 0?t:""}function V0(e){var t=e.incrementalPlaceholders;t!=null&&t.length!==0&&(process.env.NODE_ENV!=="production"?ee(!1,"OperationExecutor: optimistic responses cannot be returned for operations that use incremental data delivery (@defer, @stream, and @stream_connection)."):ee(!1))}Z0.exports={execute:oG}});var Wy=S((Efe,G0)=>{"use strict";var Ie=Qe(),uG=Ba(),H0=uG.EXISTENT,Ri=j(),cG=(function(){function e(i,n){this.__sources=[n,i],this._base=i,this._sink=n}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(n){var r=this._base.get(n),o=this._sink.get(n);if(o===void 0){if(r==null)return r;var a=Ie.clone(r);return process.env.NODE_ENV!=="production"&&Ie.freeze(a),a}else{if(o===null)return null;if(r!=null){var s=Ie.update(r,o);return process.env.NODE_ENV!=="production"&&s!==r&&Ie.freeze(s),s}else{var l=Ie.clone(o);return process.env.NODE_ENV!=="production"&&Ie.freeze(l),l}}},t._getSinkRecord=function(n){var r=this._sink.get(n);if(!r){var o=this._base.get(n);o||(process.env.NODE_ENV!=="production"?Ri(!1,"RelayRecordSourceMutator: Cannot modify non-existent record `%s`.",n):Ri(!1)),r=Ie.create(n,Ie.getType(o)),this._sink.set(n,r)}return r},t.copyFields=function(n,r){var o=this._sink.get(n),a=this._base.get(n);o||a||(process.env.NODE_ENV!=="production"?Ri(!1,"RelayRecordSourceMutator#copyFields(): Cannot copy fields from non-existent record `%s`.",n):Ri(!1));var s=this._getSinkRecord(r);a&&Ie.copyFields(a,s),o&&Ie.copyFields(o,s)},t.copyFieldsFromRecord=function(n,r){var o=this._getSinkRecord(r);Ie.copyFields(n,o)},t.create=function(n,r){this._base.getStatus(n)!==H0&&this._sink.getStatus(n)!==H0||(process.env.NODE_ENV!=="production"?Ri(!1,"RelayRecordSourceMutator#create(): Cannot create a record with id `%s`, this record already exists.",n):Ri(!1));var o=Ie.create(n,r);this._sink.set(n,o)},t.delete=function(n){this._sink.delete(n)},t.getStatus=function(n){return this._sink.has(n)?this._sink.getStatus(n):this._base.getStatus(n)},t.getType=function(n){for(var r=0;r<this.__sources.length;r++){var o=this.__sources[r].get(n);if(o)return Ie.getType(o);if(o===null)return null}},t.getValue=function(n,r){for(var o=0;o<this.__sources.length;o++){var a=this.__sources[o].get(n);if(a){var s=Ie.getValue(a,r);if(s!==void 0)return s}else if(a===null)return null}},t.setValue=function(n,r,o){var a=this._getSinkRecord(n);Ie.setValue(a,r,o)},t.getErrors=function(n,r){for(var o=0;o<this.__sources.length;o++){var a=this.__sources[o].get(n);if(a){var s=Ie.getErrors(a,r);if(s!==void 0)return s}else if(a===null)return null}},t.setErrors=function(n,r,o){var a=this._getSinkRecord(n);Ie.setErrors(a,r,o)},t.getLinkedRecordID=function(n,r){for(var o=0;o<this.__sources.length;o++){var a=this.__sources[o].get(n);if(a){var s=Ie.getLinkedRecordID(a,r);if(s!==void 0)return s}else if(a===null)return null}},t.setLinkedRecordID=function(n,r,o){var a=this._getSinkRecord(n);Ie.setLinkedRecordID(a,r,o)},t.getLinkedRecordIDs=function(n,r){for(var o=0;o<this.__sources.length;o++){var a=this.__sources[o].get(n);if(a){var s=Ie.getLinkedRecordIDs(a,r);if(s!==void 0)return s}else if(a===null)return null}},t.setLinkedRecordIDs=function(n,r,o){var a=this._getSinkRecord(n);Ie.setLinkedRecordIDs(a,r,o)},e})();G0.exports=cG});var Jy=S((Sfe,Y0)=>{"use strict";var dG=K().default,pc=dG(Re()),fG=ye(),Ii=fG.getArgumentValues,pG=["id","__id","__typename","js"];function mG(e,t,i,n,r){var o={};return Ya(o,e,t,i,n,r),process.env.NODE_ENV!=="production"&&Object.freeze(o),o}function Ya(e,t,i,n,r,o){var a,s=(0,pc.default)(n),l;try{var u=function(){var p=l.value;switch(p.kind){case"LinkedField":p.plural?Object.defineProperty(e,(c=p.alias)!==null&&c!==void 0?c:p.name,{get:gG(p,i,t,r,o),set:hG(p,i,t,r)}):Object.defineProperty(e,(d=p.alias)!==null&&d!==void 0?d:p.name,{get:yG(p,i,t,r,o),set:vG(p,i,t,r)});break;case"ScalarField":var m=(a=p.alias)!==null&&a!==void 0?a:p.name;Object.defineProperty(e,m,{get:function(){var v,_=Ii((v=p.args)!==null&&v!==void 0?v:[],i),b=t.getValue(p.name,_);return b==null&&(b=EG(p,_,t,r,o)),b},set:pG.includes(p.name)?void 0:function(h){var v,_=Ii((v=p.args)!==null&&v!==void 0?v:[],i);t.setValue__UNSAFE(h,p.name,_)}});break;case"InlineFragment":t.getType()===p.type&&Ya(e,t,i,p.selections,r,o);break;case"ClientExtension":Ya(e,t,i,p.selections,r,o);break;case"FragmentSpread":break;case"Condition":case"ActorChange":case"InlineDataFragmentSpread":case"AliasedInlineFragmentSpread":case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":case"Defer":case"ModuleImport":case"RelayLiveResolver":case"RequiredField":case"CatchField":case"Stream":case"RelayResolver":throw new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.");default:throw p.kind,new Error("Encountered an unexpected ReaderSelection variant in RelayRecordSourceProxy. This indicates a bug in Relay.")}};for(s.s();!(l=s.n()).done;){var c,d;u()}}catch(f){s.e(f)}finally{s.f()}}function hG(e,t,i,n){return function(o){var a,s=Ii((a=e.args)!==null&&a!==void 0?a:[],t);if(o==null)throw new Error("Do not assign null to plural linked fields; assign an empty array instead.");var l=o.map(function(u){if(u==null)throw new Error("When assigning an array of items, none of the items should be null or undefined.");var c=u.__id;if(c==null)throw new Error("The __id field must be present on each item passed to the setter. This indicates a bug in Relay.");var d=n.get(c);if(d==null)throw new Error("Did not find item with data id ".concat(c," in the store."));return d});i.setLinkedRecords(l,e.name,s)}}function vG(e,t,i,n){return function(o){var a,s=Ii((a=e.args)!==null&&a!==void 0?a:[],t);if(o==null)i.setValue(o,e.name,s);else{var l=o.__id;if(l==null)throw new Error("The __id field must be present on the argument. This indicates a bug in Relay.");var u=n.get(l);if(u==null)throw new Error("Did not find item with data id ".concat(l," in the store."));i.setLinkedRecord(u,e.name,s)}}}function gG(e,t,i,n,r){return function(){var o,a=Ii((o=e.args)!==null&&o!==void 0?o:[],t),s=i.getLinkedRecords(e.name,a);return s===void 0&&(s=bG(e,a,i,n,r)),s!=null?s.map(function(l){if(l!=null){var u={};return Ya(u,l,t,e.selections,n,r),process.env.NODE_ENV!=="production"&&Object.freeze(u),u}else return l}):s}}function yG(e,t,i,n,r){return function(){var o,a=Ii((o=e.args)!==null&&o!==void 0?o:[],t),s=i.getLinkedRecord(e.name,a);if(s===void 0&&(s=_G(e,a,i,n,r)),s!=null){var l={};return Ya(l,s,t,e.selections,n,r),process.env.NODE_ENV!=="production"&&Object.freeze(l),l}else return s}}function _G(e,t,i,n,r){var o=(0,pc.default)(r),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;if(s.kind==="linked"){var l=s.handle(e,i,t,n);if(l!=null)return n.get(l)}}}catch(u){o.e(u)}finally{o.f()}}function bG(e,t,i,n,r){var o=(0,pc.default)(r),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;if(s.kind==="pluralLinked"){var l=s.handle(e,i,t,n);if(l!=null)return l.map(function(u){if(u!=null)return n.get(u)})}}}catch(u){o.e(u)}finally{o.f()}}function EG(e,t,i,n,r){var o=(0,pc.default)(r),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;if(s.kind==="scalar"){var l=s.handle(e,i,t,n);if(l!==void 0)return l}}}catch(u){o.e(u)}finally{o.f()}}Y0.exports={createUpdatableProxy:mG}});var Xy=S((xfe,J0)=>{"use strict";var SG=ft(),xG=SG.getFragment,wG=pt(),kG=wG.getVariablesFromFragment,RG=ye(),IG=RG.ID_KEY,NG=Jy(),OG=NG.createUpdatableProxy,W0=j();function PG(e,t,i,n){var r=xG(e),o=kG(r,t),a=t[IG],s=i.get(a);return s==null&&(process.env.NODE_ENV!=="production"?W0(!1,"No record with ".concat(a," was found. This likely indicates a problem with Relay.")):W0(!1)),{updatableData:OG(s,o,r.selections,i,n)}}J0.exports={readUpdatableFragment:PG}});var e_=S((wfe,X0)=>{"use strict";var TG=ft(),CG=TG.getUpdatableQuery,DG=Jy(),$G=DG.createUpdatableProxy;function AG(e,t,i,n){var r=CG(e);return{updatableData:$G(i.getRoot(),t,r.fragment.selections,i,n)}}X0.exports={readUpdatableQuery:AG}});var rP=S((kfe,tP)=>{"use strict";var qG=Et(),LG=qG.generateClientID,FG=ye(),Br=FG.getStableStorageKey,Kr=j(),MG=(function(){function e(i,n,r){this._dataID=r,this._mutator=n,this._source=i}var t=e.prototype;return t.copyFieldsFrom=function(n){this._mutator.copyFields(n.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var n=this._mutator.getType(this._dataID);return n==null&&(process.env.NODE_ENV!=="production"?Kr(!1,"RelayRecordProxy: Cannot get the type of deleted record `%s`.",this._dataID):Kr(!1)),n},t.getValue=function(n,r){var o=Br(n,r);return this._mutator.getValue(this._dataID,o)},t.setValue=function(n,r,o,a){return eP(n)||(process.env.NODE_ENV!=="production"?Kr(!1,"RelayRecordProxy#setValue(): Expected a scalar or array of scalars, got `%s`.",JSON.stringify(n)):Kr(!1)),this.setValue__UNSAFE(n,r,o,a)},t.getErrors=function(n,r){var o=Br(n,r);return this._mutator.getErrors(this._dataID,o)},t.setValue__UNSAFE=function(n,r,o,a){var s=Br(r,o);return this._mutator.setValue(this._dataID,s,n),a!=null&&(a.length===0?this._mutator.setErrors(this._dataID,s):this._mutator.setErrors(this._dataID,s,a)),this},t.getLinkedRecord=function(n,r){var o=Br(n,r),a=this._mutator.getLinkedRecordID(this._dataID,o);return a!=null?this._source.get(a):a},t.setLinkedRecord=function(n,r,o){n instanceof e||(process.env.NODE_ENV!=="production"?Kr(!1,"RelayRecordProxy#setLinkedRecord(): Expected a record, got `%s`.",n):Kr(!1));var a=Br(r,o),s=n.getDataID();return this._mutator.setLinkedRecordID(this._dataID,a,s),this},t.getOrCreateLinkedRecord=function(n,r,o){var a=this.getLinkedRecord(n,o);if(!a){var s,l=Br(n,o),u=LG(this.getDataID(),l);a=(s=this._source.get(u))!==null&&s!==void 0?s:this._source.create(u,r),this.setLinkedRecord(a,n,o)}return a},t.getLinkedRecords=function(n,r){var o=this,a=Br(n,r),s=this._mutator.getLinkedRecordIDs(this._dataID,a);return s==null?s:s.map(function(l){return l!=null?o._source.get(l):l})},t.setLinkedRecords=function(n,r,o){Array.isArray(n)||(process.env.NODE_ENV!=="production"?Kr(!1,"RelayRecordProxy#setLinkedRecords(): Expected records to be an array, got `%s`.",n):Kr(!1));var a=Br(r,o),s=n.map(function(l){return l&&l.getDataID()});return this._mutator.setLinkedRecordIDs(this._dataID,a,s),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e})();function eP(e){return e==null||typeof e!="object"||Array.isArray(e)&&e.every(eP)}tP.exports=MG});var n_=S((Rfe,sP)=>{"use strict";var jG=Qe(),oP=Ba(),t_=oP.EXISTENT,nP=oP.NONEXISTENT,aP=ye(),r_=aP.ROOT_ID,iP=aP.ROOT_TYPE,UG=Xy(),VG=UG.readUpdatableFragment,zG=e_(),BG=zG.readUpdatableQuery,KG=rP(),Zr=j(),ZG=(function(){function e(i,n,r,o){this.__mutator=i,this._handlerProvider=r||null,this._proxies={},this._getDataID=n,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set,this._missingFieldHandlers=o}var t=e.prototype;return t.publishSource=function(n,r){var o=this,a=n.getRecordIDs();a.forEach(function(s){var l=n.getStatus(s);if(l===t_){var u=n.get(s);u&&(o.__mutator.getStatus(s)!==t_&&o.create(s,jG.getType(u)),o.__mutator.copyFieldsFromRecord(u,s))}else l===nP&&o.delete(s)}),r&&r.length&&r.forEach(function(s){var l=o._handlerProvider&&o._handlerProvider(s.handle);l||(process.env.NODE_ENV!=="production"?Zr(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",s.handle):Zr(!1)),l.update(o,s)})},t.create=function(n,r){this.__mutator.create(n,r),delete this._proxies[n];var o=this.get(n);return o||(process.env.NODE_ENV!=="production"?Zr(!1,"RelayRecordSourceProxy#create(): Expected the created record to exist."):Zr(!1)),o},t.delete=function(n){n===r_&&(process.env.NODE_ENV!=="production"?Zr(!1,"RelayRecordSourceProxy#delete(): Cannot delete the root record."):Zr(!1)),delete this._proxies[n],this.__mutator.delete(n)},t.get=function(n){if(!this._proxies.hasOwnProperty(n)){var r=this.__mutator.getStatus(n);r===t_?this._proxies[n]=new KG(this,this.__mutator,n):this._proxies[n]=r===nP?null:void 0}return this._proxies[n]},t.getRoot=function(){var n=this.get(r_);return n||(n=this.create(r_,iP)),n&&n.getType()===iP||(process.env.NODE_ENV!=="production"?Zr(!1,"RelayRecordSourceProxy#getRoot(): Expected the source to contain a root record, %s.",n==null?"no root record found":"found a root record of type `".concat(n.getType(),"`")):Zr(!1)),n},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(n){this._idsMarkedForInvalidation.add(n)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},t.readUpdatableQuery=function(n,r){return BG(n,r,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(n,r){return VG(n,r,this,this._missingFieldHandlers)},e})();sP.exports=ZG});var dP=S((Ife,cP)=>{"use strict";var uP=ye(),QG=uP.ROOT_TYPE,lP=uP.getStorageKey,HG=Xy(),GG=HG.readUpdatableFragment,YG=e_(),WG=YG.readUpdatableQuery,mc=j(),JG=(function(){function e(i,n,r,o){this.__mutator=i,this.__recordSource=n,this._readSelector=r,this._missingFieldHandlers=o}var t=e.prototype;return t.create=function(n,r){return this.__recordSource.create(n,r)},t.delete=function(n){this.__recordSource.delete(n)},t.get=function(n){return this.__recordSource.get(n)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var n=this.__recordSource.get(this._readSelector.dataID);return n||(n=this.__recordSource.create(this._readSelector.dataID,QG)),n},t._getRootField=function(n,r,o){var a=n.node.selections.find(function(s){return s.kind==="LinkedField"&&s.name===r||s.kind==="RequiredField"&&s.field.name===r});return a&&a.kind==="RequiredField"&&(a=a.field),a&&a.kind==="LinkedField"||(process.env.NODE_ENV!=="production"?mc(!1,"RelayRecordSourceSelectorProxy#getRootField(): Cannot find root field `%s`, no such field is defined on GraphQL document `%s`.",r,n.node.name):mc(!1)),a.plural!==o&&(process.env.NODE_ENV!=="production"?mc(!1,"RelayRecordSourceSelectorProxy#getRootField(): Expected root field `%s` to be %s.",r,o?"plural":"singular"):mc(!1)),a},t.getRootField=function(n){var r=this._getRootField(this._readSelector,n,!1),o=lP(r,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(o)},t.getPluralRootField=function(n){var r=this._getRootField(this._readSelector,n,!0),o=lP(r,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(o)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},t.readUpdatableQuery=function(n,r){return WG(n,r,this,this._missingFieldHandlers)},t.readUpdatableFragment=function(n,r){return GG(n,r,this,this._missingFieldHandlers)},e})();cP.exports=JG});var pP=S((Nfe,fP)=>{"use strict";var XG=or(),eY=XG.RELAY_LIVE_RESOLVER,hc=j(),tY=(function(){function e(){}var t=e.prototype;return t.readFromCacheOrEvaluate=function(n,r,o,a,s){r.kind===eY&&(process.env.NODE_ENV!=="production"?hc(!1,"This store does not support Live Resolvers"):hc(!1));var l=a(),u=l.resolverResult,c=l.snapshot,d=l.error;return[u,void 0,d,c,void 0,void 0]},t.invalidateDataIDs=function(n){},t.ensureClientRecord=function(n,r){process.env.NODE_ENV!=="production"?hc(!1,"Client Edges to Client Objects are not supported in this version of Relay Store"):hc(!1)},t.notifyUpdatedSubscribers=function(n){},e})();fP.exports={NoopResolverCache:tY}});var bc=S((Ofe,bP)=>{"use strict";var Ja=K().default,mP=Ja(de()),rY=Ja(Ze()),nY=Ja(kn()),Wa=Ja(Re()),hP=Ja(qt()),iY=["message"],oY=Va(),aY=oY.isSuspenseSentinel,sY=lr(),Me=Qe(),jt=ye(),lY=jt.CLIENT_EDGE_TRAVERSAL_PATH,uY=jt.FRAGMENT_OWNER_KEY,cY=jt.FRAGMENT_PROP_NAME_KEY,vc=jt.FRAGMENTS_KEY,gc=jt.ID_KEY,dY=jt.MODULE_COMPONENT_KEY,fY=jt.ROOT_ID,_c=jt.getArgumentValues,pY=jt.getModuleComponentKey,yc=jt.getStorageKey,mY=pP(),hY=mY.NoopResolverCache,yP=zu(),vY=yP.RESOLVER_FRAGMENT_ERRORED_SENTINEL,gY=yP.withResolverContext,yY=Ka(),_Y=yY.generateTypeID,te=j();function _P(e,t,i,n){var r=new bY(e,t,i??new hY,n);return r.read()}var bY=(function(){function e(i,n,r,o){var a,s;this._clientEdgeTraversalPath=(a=n.clientEdgeTraversalPath)!==null&&a!==void 0&&a.length?(0,hP.default)(n.clientEdgeTraversalPath):[],this._missingClientEdges=[],this._missingLiveResolverFields=[],this._isMissingData=!1,this._isWithinUnmatchedTypeRefinement=!1,this._errorResponseFields=null,this._owner=n.owner,this._useExecTimeResolvers=(s=this._owner.node.operation.use_exec_time_resolvers)!==null&&s!==void 0?s:!1,this._recordSource=i,this._seenRecords=new Set,this._selector=n,this._variables=n.variables,this._resolverCache=r,this._fragmentName=n.node.name,this._updatedDataIDs=new Set,this._resolverContext=o}var t=e.prototype;return t.read=function(){var n,r=this._selector,o=r.node,a=r.dataID,s=r.isWithinUnmatchedTypeRefinement,l=o.abstractKey,u=this._recordSource.get(a),c=!s;if(c&&l==null&&u!=null&&(this._recordMatchesTypeCondition(u,o.type)||(c=!1)),c&&l!=null&&u!=null){var d=this._implementsInterface(u,l);d===!1&&(c=!1)}this._isWithinUnmatchedTypeRefinement=!c;var f=this._traverse(o,a,null),p=(n=this._selector.node.metadata)===null||n===void 0?void 0:n.catchTo;return p!=null&&(f=this._catchErrors(f,p,null)),this._updatedDataIDs.size>0&&(this._resolverCache.notifyUpdatedSubscribers(this._updatedDataIDs),this._updatedDataIDs.clear()),{data:f,isMissingData:this._isMissingData&&c,missingClientEdges:this._missingClientEdges.length?this._missingClientEdges:null,missingLiveResolverFields:this._missingLiveResolverFields,seenRecords:this._seenRecords,selector:this._selector,errorResponseFields:this._errorResponseFields}},t._maybeAddErrorResponseFields=function(n,r){var o=Me.getErrors(n,r);if(o!=null){var a=this._fragmentName;this._errorResponseFields==null&&(this._errorResponseFields=[]);var s=(0,Wa.default)(o),l;try{for(s.s();!(l=s.n()).done;){var u,c,d,f=l.value;this._errorResponseFields.push({kind:"relay_field_payload.error",owner:a,fieldPath:((u=f.path)!==null&&u!==void 0?u:[]).join("."),error:f,shouldThrow:(c=(d=this._selector.node.metadata)===null||d===void 0?void 0:d.throwOnFieldError)!==null&&c!==void 0?c:!1,handled:!1})}}catch(p){s.e(p)}finally{s.f()}}},t._markDataAsMissing=function(n){var r,o;if(!this._isWithinUnmatchedTypeRefinement){this._errorResponseFields==null&&(this._errorResponseFields=[]);var a=this._fragmentName;if(this._errorResponseFields.push((r=(o=this._selector.node.metadata)===null||o===void 0?void 0:o.throwOnFieldError)!==null&&r!==void 0&&r?{kind:"missing_expected_data.throw",owner:a,fieldPath:n,handled:!1}:{kind:"missing_expected_data.log",owner:a,fieldPath:n}),this._isMissingData=!0,this._clientEdgeTraversalPath.length){var s=this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1];s!==null&&this._missingClientEdges.push({request:s.readerClientEdge.operation,clientEdgeDestinationID:s.clientEdgeDestinationID})}}},t._traverse=function(n,r,o){var a=this._recordSource.get(r);if(this._seenRecords.add(r),a==null)return a===void 0&&this._markDataAsMissing("<record>"),a;var s=o||{},l=this._traverseSelections(n.selections,a,s);return l?s:null},t._getVariableValue=function(n){return this._variables.hasOwnProperty(n)||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Undefined variable `%s`.",n):te(!1)),this._variables[n]},t._maybeReportUnexpectedNull=function(n){if(n.action!=="NONE"){var r=this._fragmentName;this._errorResponseFields==null&&(this._errorResponseFields=[]);var o;if(n.field.linkedField!=null){var a;o=(a=n.field.linkedField.alias)!==null&&a!==void 0?a:n.field.linkedField.name}else{var s;o=(s=n.field.alias)!==null&&s!==void 0?s:n.field.name}switch(n.action){case"THROW":this._errorResponseFields.push({kind:"missing_required_field.throw",fieldPath:o,owner:r,handled:!1});return;case"LOG":this._errorResponseFields.push({kind:"missing_required_field.log",fieldPath:o,owner:r});return;default:n.action}}},t._handleRequiredFieldValue=function(n,r){return r==null?(this._maybeReportUnexpectedNull(n),!1):!0},t._catchErrors=function(n,r,o){var a=n;switch(r){case"RESULT":a=this._asResult(n);break;case"NULL":this._errorResponseFields!=null&&this._errorResponseFields.length>0&&(a=null);break;default:}var s=this._errorResponseFields;if(this._errorResponseFields=o,s!=null){this._errorResponseFields==null&&(this._errorResponseFields=[]);for(var l=0;l<s.length;l++)this._errorResponseFields.push(vP(s[l]))}return a},t._asResult=function(n){if(this._errorResponseFields==null||this._errorResponseFields.length===0)return{ok:!0,value:n};var r=this._errorResponseFields.map(function(o){switch(o.kind){case"relay_field_payload.error":var a=o.error,s=a.message,l=(0,nY.default)(a,iY);return l;case"missing_expected_data.throw":case"missing_expected_data.log":return{path:o.fieldPath.split(".")};case"relay_resolver.error":return{message:"Relay: Error in resolver for field at ".concat(o.fieldPath," in ").concat(o.owner)};case"missing_required_field.throw":return{message:"Relay: Missing @required value at path '".concat(o.fieldPath,"' in '").concat(o.owner,"'.")};case"missing_required_field.log":return null;default:o.kind,process.env.NODE_ENV!=="production"?te(!1,"Unexpected error errorResponseField kind: %s",o.kind):te(!1)}}).filter(Boolean);return{ok:!1,errors:r}},t._traverseSelections=function(n,r,o){for(var a=0;a<n.length;a++){var s=n[a];switch(s.kind){case"RequiredField":var l=this._readClientSideDirectiveField(s,r,o);if(!this._handleRequiredFieldValue(s,l))return!1;break;case"CatchField":{var u,c,d,f=this._errorResponseFields;this._errorResponseFields=null;var p=this._readClientSideDirectiveField(s,r,o),m=(u=(c=s.field)===null||c===void 0?void 0:c.backingField)!==null&&u!==void 0?u:s.field,h=(d=m?.alias)!==null&&d!==void 0?d:m?.name;h==null&&(process.env.NODE_ENV!=="production"?te(!1,"Couldn't determine field name for this field. It might be a ReaderClientExtension - which is not yet supported."):te(!1)),o[h]=this._catchErrors(p,s.to,f);break}case"ScalarField":this._readScalar(s,r,o);break;case"LinkedField":s.plural?this._readPluralLink(s,r,o):this._readLink(s,r,o);break;case"Condition":var v=!!this._getVariableValue(s.condition);if(v===s.passingValue){var _=this._traverseSelections(s.selections,r,o);if(!_)return!1}break;case"InlineFragment":{var b=this._readInlineFragment(s,r,o,!1);if(b===!1)return!1;break}case"RelayLiveResolver":case"RelayResolver":{this._useExecTimeResolvers?this._readScalar(s,r,o):this._readResolverField(s,r,o);break}case"FragmentSpread":this._createFragmentPointer(s,r,o);break;case"AliasedInlineFragmentSpread":{this._readAliasedInlineFragment(s,r,o);break}case"ModuleImport":this._readModuleImport(s,r,o);break;case"InlineDataFragmentSpread":this._createInlineDataOrResolverFragmentPointer(s,r,o);break;case"Defer":case"ClientExtension":{var g=this._isMissingData,y=this._missingClientEdges.length;this._clientEdgeTraversalPath.push(null);var E=this._traverseSelections(s.selections,r,o);if(this._isMissingData=g||this._missingClientEdges.length>y||this._missingLiveResolverFields.length>0,this._clientEdgeTraversalPath.pop(),!E)return!1;break}case"Stream":{var x=this._traverseSelections(s.selections,r,o);if(!x)return!1;break}case"ActorChange":this._readActorChange(s,r,o);break;case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":if(this._useExecTimeResolvers&&(s.backingField.kind==="RelayResolver"||s.backingField.kind==="RelayLiveResolver")){var k=s.linkedField;k.plural?this._readPluralLink(k,r,o):this._readLink(k,r,o)}else this._readClientEdge(s,r,o);break;default:process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Unexpected ast kind `%s`.",s.kind):te(!1)}}return!0},t._readClientSideDirectiveField=function(n,r,o){switch(n.field.kind){case"ScalarField":return this._readScalar(n.field,r,o);case"LinkedField":return n.field.plural?this._readPluralLink(n.field,r,o):this._readLink(n.field,r,o);case"RelayResolver":return this._readResolverField(n.field,r,o);case"RelayLiveResolver":return this._readResolverField(n.field,r,o);case"ClientEdgeToClientObject":case"ClientEdgeToServerObject":return this._readClientEdge(n.field,r,o);case"AliasedInlineFragmentSpread":return this._readAliasedInlineFragment(n.field,r,o);default:n.field.kind,process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Unexpected ast kind `%s`.",n.field.kind):te(!1)}},t._readResolverField=function(n,r,o){var a,s=Me.getDataID(r),l=this._errorResponseFields;this._errorResponseFields=null;var u=this._readResolverFieldImpl(n,s),c=(a=n.alias)!==null&&a!==void 0?a:n.name;return this._prependPreviousErrors(l,c),o[c]=u,u},t._readResolverFieldImpl=function(n,r){var o=this,a=n.fragment,s,l=function(b){return s!=null?{data:s.data,isMissingData:s.isMissingData,errorResponseFields:s.errorResponseFields}:(s=_P(o._recordSource,b,o._resolverCache),{data:s.data,isMissingData:s.isMissingData,errorResponseFields:s.errorResponseFields})},u=function(){if(a!=null){var b={__id:r,__fragmentOwner:o._owner,__fragments:(0,rY.default)({},a.name,a.args?_c(a.args,o._variables):{})},g={getDataForResolverFragment:l};return gY(g,function(){var k=gP(n,o._variables,b,o._resolverContext),w=k[0],I=k[1];return{resolverResult:w,snapshot:s,error:I}})}else{var y=gP(n,o._variables,null,o._resolverContext),E=y[0],x=y[1];return{resolverResult:E,snapshot:void 0,error:x}}},c=this._resolverCache.readFromCacheOrEvaluate(r,n,this._variables,u,l),d=c[0],f=c[1],p=c[2],m=c[3],h=c[4],v=c[5];return this._propagateResolverMetadata(n.path,m,p,f,h,v),d},t._propagateResolverMetadata=function(n,r,o,a,s,l){if(r!=null){if(r.missingClientEdges!=null){var u=(0,Wa.default)(r.missingClientEdges),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;this._missingClientEdges.push(d)}}catch(I){u.e(I)}finally{u.f()}}if(r.missingLiveResolverFields!=null){this._isMissingData=this._isMissingData||r.missingLiveResolverFields.length>0;var f=(0,Wa.default)(r.missingLiveResolverFields),p;try{for(f.s();!(p=f.n()).done;){var m=p.value;this._missingLiveResolverFields.push(m)}}catch(I){f.e(I)}finally{f.f()}}if(r.errorResponseFields!=null){this._errorResponseFields==null&&(this._errorResponseFields=[]);var h=(0,Wa.default)(r.errorResponseFields),v;try{for(h.s();!(v=h.n()).done;){var _,b=v.value;((_=this._selector.node.metadata)===null||_===void 0?void 0:_.throwOnFieldError)===!0?this._errorResponseFields.push(b):this._errorResponseFields.push(vP(b))}}catch(I){h.e(I)}finally{h.f()}}this._isMissingData=this._isMissingData||r.isMissingData}if(o){var g,y,E={kind:"relay_resolver.error",fieldPath:n,owner:this._fragmentName,error:o,shouldThrow:(g=(y=this._selector.node.metadata)===null||y===void 0?void 0:y.throwOnFieldError)!==null&&g!==void 0?g:!1,handled:!1};this._errorResponseFields==null?this._errorResponseFields=[E]:this._errorResponseFields.push(E)}if(a!=null&&this._seenRecords.add(a),s!=null&&(this._isMissingData=!0,this._missingLiveResolverFields.push(s)),l!=null){var x=(0,Wa.default)(l),k;try{for(x.s();!(k=x.n()).done;){var w=k.value;this._updatedDataIDs.add(w)}}catch(I){x.e(I)}finally{x.f()}}},t._readClientEdge=function(n,r,o){var a=this,s,l=n.backingField;l.kind==="ClientExtension"&&(process.env.NODE_ENV!=="production"?te(!1,"Client extension client edges are not yet implemented."):te(!1));var u=(s=l.alias)!==null&&s!==void 0?s:l.name,c={};this._traverseSelections([l],r,c);var d=c[u];if(d==null||aY(d))return o[u]=d,d;if(n.linkedField.plural){Array.isArray(d)||(process.env.NODE_ENV!=="production"?te(!1,"Expected plural Client Edge Relay Resolver at `%s` in `%s` to return an array containing IDs or objects with shape {id}.",l.path,this._owner.identifier):te(!1));var f;n.kind!=="ClientEdgeToClientObject"&&(process.env.NODE_ENV!=="production"?te(!1,"Unexpected Client Edge to plural server type `%s`. This should be prevented by the compiler.",n.kind):te(!1)),n.backingField.normalizationInfo==null?f=d.map(function(I){var P,C=(P=n.concreteType)!==null&&P!==void 0?P:I.__typename;typeof C!="string"&&(process.env.NODE_ENV!=="production"?te(!1,"Expected resolver for field at `%s` in `%s` modeling an edge to an abstract type to return an object with a `__typename` property.",l.path,a._owner.identifier):te(!1));var T=i_(I,l.path,a._owner.identifier),N=a._resolverCache.ensureClientRecord(T,C),$=n.modelResolvers;if($!=null){var M=$[C];M===void 0&&(process.env.NODE_ENV!=="production"?te(!1,"Invalid `__typename` returned by resolver at `%s` in `%s`. Expected one of %s but got `%s`.",l.path,a._owner.identifier,Object.keys($).join(", "),C):te(!1));var U=a._readResolverFieldImpl(M,N);return U!=null?N:null}return N}):f=d.map(function(I){return i_(I,l.path,a._owner.identifier)}),this._clientEdgeTraversalPath.push(null);var p=this._readLinkedIds(n.linkedField,f,r,o);return this._clientEdgeTraversalPath.pop(),o[u]=p,p}else{var m,h=i_(d,l.path,this._owner.identifier),v,_=(m=n.concreteType)!==null&&m!==void 0?m:d.__typename,b;n.kind==="ClientEdgeToClientObject"?n.backingField.normalizationInfo==null?(typeof _!="string"&&(process.env.NODE_ENV!=="production"?te(!1,"Expected resolver for field at `%s` in `%s` modeling an edge to an abstract type to return an object with a `__typename` property.",l.path,this._owner.identifier):te(!1)),v=this._resolverCache.ensureClientRecord(h,_),b=null):(v=h,b=null):(v=h,b={readerClientEdge:n,clientEdgeDestinationID:h});var g=n.modelResolvers;if(g!=null){typeof _!="string"&&(process.env.NODE_ENV!=="production"?te(!1,"Expected resolver for field at `%s` in `%s` modeling an edge to an abstract type to return an object with a `__typename` property.",l.path,this._owner.identifier):te(!1));var y=g[_];y===void 0&&(process.env.NODE_ENV!=="production"?te(!1,"Invalid `__typename` returned by resolver at `%s` in `%s`. Expected one of %s but got `%s`.",l.path,this._owner.identifier,Object.keys(g).join(", "),_):te(!1));var E=this._readResolverFieldImpl(y,v);if(E==null)return o[u]=null,null}this._clientEdgeTraversalPath.push(b);var x=o[u];x==null||typeof x=="object"||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Expected data for field at `%s` in `%s` on record `%s` to be an object, got `%s`.",l.path,this._owner.identifier,Me.getDataID(r),x):te(!1));var k=this._errorResponseFields;this._errorResponseFields=null;var w=this._traverse(n.linkedField,v,x);return this._prependPreviousErrors(k,u),this._clientEdgeTraversalPath.pop(),o[u]=w,w}},t._readScalar=function(n,r,o){var a,s=(a=n.alias)!==null&&a!==void 0?a:n.name,l=yc(n,this._variables),u=Me.getValue(r,l);return u===null?this._maybeAddErrorResponseFields(r,l):u===void 0&&this._markDataAsMissing(s),o[s]=u,u},t._readLink=function(n,r,o){var a,s=(a=n.alias)!==null&&a!==void 0?a:n.name,l=yc(n,this._variables),u=Me.getLinkedRecordID(r,l);if(u==null)return o[s]=u,u===null?this._maybeAddErrorResponseFields(r,l):u===void 0&&this._markDataAsMissing(s),u;var c=o[s];c==null||typeof c=="object"||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Expected data for field `%s` at `%s` on record `%s` to be an object, got `%s`.",s,this._owner.identifier,Me.getDataID(r),c):te(!1));var d=this._errorResponseFields;this._errorResponseFields=null;var f=this._traverse(n,u,c);return this._prependPreviousErrors(d,s),o[s]=f,f},t._prependPreviousErrors=function(n,r){if(this._errorResponseFields!=null){for(var o=0;o<this._errorResponseFields.length;o++){var a=this._errorResponseFields[o];a.owner===this._fragmentName&&(a.kind==="missing_expected_data.throw"||a.kind==="missing_expected_data.log"||a.kind==="missing_required_field.throw"||a.kind==="missing_required_field.log")&&(a.fieldPath="".concat(r,".").concat(a.fieldPath))}if(n!=null){for(var s=this._errorResponseFields.length-1;s>=0;s--)n.push(this._errorResponseFields[s]);this._errorResponseFields=n}}else this._errorResponseFields=n},t._readActorChange=function(n,r,o){var a,s=(a=n.alias)!==null&&a!==void 0?a:n.name,l=yc(n,this._variables),u=Me.getActorLinkedRecordID(r,l);if(u==null)return o[s]=u,u===void 0?this._markDataAsMissing(s):u===null&&this._maybeAddErrorResponseFields(r,l),o[s];var c=u[0],d=u[1],f={};return this._createFragmentPointer(n.fragmentSpread,Me.fromObject({__id:d}),f),o[s]={__fragmentRef:f,__viewer:c},o[s]},t._readPluralLink=function(n,r,o){var a=yc(n,this._variables),s=Me.getLinkedRecordIDs(r,a);return s===null&&this._maybeAddErrorResponseFields(r,a),this._readLinkedIds(n,s,r,o)},t._readLinkedIds=function(n,r,o,a){var s=this,l,u=(l=n.alias)!==null&&l!==void 0?l:n.name;if(r==null)return a[u]=r,r===void 0&&this._markDataAsMissing(u),r;var c=a[u];c==null||Array.isArray(c)||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an array, got `%s`.",u,Me.getDataID(o),c):te(!1));var d=this._errorResponseFields;this._errorResponseFields=null;var f=c||[];return r.forEach(function(p,m){if(p==null){p===void 0&&s._markDataAsMissing(String(m)),f[m]=p;return}var h=f[m];h==null||typeof h=="object"||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader(): Expected data for field `%s` on record `%s` to be an object, got `%s`.",u,Me.getDataID(o),h):te(!1));var v=s._errorResponseFields;s._errorResponseFields=null,f[m]=s._traverse(n,p,h),s._prependPreviousErrors(v,m)}),this._prependPreviousErrors(d,u),a[u]=f,f},t._readModuleImport=function(n,r,o){var a,s=pY(n.documentName),l=(a=n.componentModuleProvider)!==null&&a!==void 0?a:Me.getValue(r,s);if(l==null){l===void 0&&this._markDataAsMissing("<module-import>");return}this._createFragmentPointer({kind:"FragmentSpread",name:n.fragmentName,args:n.args},r,o),o[cY]=n.fragmentPropName,o[dY]=l},t._readAliasedInlineFragment=function(n,r,o){var a=this._errorResponseFields;this._errorResponseFields=null;var s=this._readInlineFragment(n.fragment,r,{},!0);this._prependPreviousErrors(a,n.name),s===!1&&(s=null),o[n.name]=s},t._readInlineFragment=function(n,r,o,a){if(n.type==null){var s=this._traverseSelections(n.selections,r,o);return s===!1?!1:o}var l=n.abstractKey;if(l==null)if(this._recordMatchesTypeCondition(r,n.type)){var s=this._traverseSelections(n.selections,r,o);if(!s)return!1}else return null;else{var u=this._implementsInterface(r,l);if(u===!1&&a)return null;var c=this._isMissingData,d=this._isWithinUnmatchedTypeRefinement;this._isWithinUnmatchedTypeRefinement=d||u===!1;var f=this._traverseSelections(n.selections,r,o);if(this._isWithinUnmatchedTypeRefinement=d,u===!1)return this._isMissingData=c,null;if(u==null)return;if(f===!1)return!1}return o},t._recordMatchesTypeCondition=function(n,r){var o=Me.getType(n);return o!=null&&o===r||Me.getDataID(n)===fY},t._createFragmentPointer=function(n,r,o){var a=o[vc];a==null&&(a=o[vc]={}),typeof a=="object"&&a!=null||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",a):te(!1)),o[gc]==null&&(o[gc]=Me.getDataID(r)),a[n.name]=_c(n.args,this._variables,this._isWithinUnmatchedTypeRefinement),o[uY]=this._owner,this._clientEdgeTraversalPath.length>0&&this._clientEdgeTraversalPath[this._clientEdgeTraversalPath.length-1]!==null&&(o[lY]=(0,hP.default)(this._clientEdgeTraversalPath))},t._createInlineDataOrResolverFragmentPointer=function(n,r,o){var a=o[vc];a==null&&(a=o[vc]={}),typeof a=="object"&&a!=null||(process.env.NODE_ENV!=="production"?te(!1,"RelayReader: Expected fragment spread data to be an object, got `%s`.",a):te(!1)),o[gc]==null&&(o[gc]=Me.getDataID(r));var s={},l=this._fragmentName;this._fragmentName=n.name;var u=this._variables,c=n.args?_c(n.args,this._variables):{};this._variables=sY.getFragmentVariables(n,this._owner.variables,c),this._traverseSelections(n.selections,r,s),this._variables=u,this._fragmentName=l,a[n.name]=s},t._implementsInterface=function(n,r){var o=Me.getType(n),a=this._recordSource.get(_Y(o)),s=a!=null?Me.getValue(a,r):null;return s==null&&this._markDataAsMissing("<abstract-type-hint>"),s},e})();function vP(e){switch(e.kind){case"missing_expected_data.throw":case"missing_required_field.throw":case"relay_field_payload.error":case"relay_resolver.error":return(0,mP.default)((0,mP.default)({},e),{},{handled:!0});case"missing_expected_data.log":case"missing_required_field.log":return e;default:e.kind,process.env.NODE_ENV!=="production"?te(!1,"Unexpected error response field kind: %s",e.kind):te(!1)}}function gP(e,t,i,n){var r=typeof e.resolverModule=="function"?e.resolverModule:e.resolverModule.default,o=null,a=null;try{var s=[];e.fragment!=null&&s.push(i);var l=e.args?_c(e.args,t):void 0;s.push(l),s.push(n),o=r.apply(null,s)}catch(u){o=null,u!==vY&&(a=u)}return[o,a]}function i_(e,t,i){if(typeof e=="string")return e;if(typeof e=="object"&&e!=null&&typeof e.id=="string")return e.id;process.env.NODE_ENV!=="production"?te(!1,"Expected object returned from edge resolver to be a string or an object with an `id` property at path %s in %s,",t,i):te(!1)}bP.exports={read:_P}});var RP=S((Pfe,kP)=>{"use strict";var o_,a_,s_=Wy(),l_=n_(),EP=dP(),EY=bc(),SP=Vr(),Ni=j(),xP=ce(),u_=typeof global<"u"?global:typeof window<"u"?window:void 0,c_=(o_=u_==null||(a_=u_.ErrorUtils)===null||a_===void 0?void 0:a_.applyWithGuard)!==null&&o_!==void 0?o_:function(e,t,i,n,r){return e.apply(t,i)},SY=(function(){function e(i,n,r,o){this._hasStoreSnapshot=!1,this._handlerProvider=n||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=i,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=r,this._missingFieldHandlers=o}var t=e.prototype;return t.applyUpdate=function(n){!this._appliedOptimisticUpdates.has(n)&&!this._pendingOptimisticUpdates.has(n)||(process.env.NODE_ENV!=="production"?Ni(!1,"RelayPublishQueue: Cannot apply the same update function more than once concurrently."):Ni(!1)),this._pendingOptimisticUpdates.add(n)},t.revertUpdate=function(n){this._pendingOptimisticUpdates.has(n)?this._pendingOptimisticUpdates.delete(n):this._appliedOptimisticUpdates.has(n)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(n))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(n,r,o){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:n,payload:r,updater:o})},t.commitUpdate=function(n){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:n})},t.commitSource=function(n){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:n})},t.run=function(n){var r=this._appliedOptimisticUpdates===0&&!!this._gcHold,o=!this._pendingBackupRebase&&this._pendingOptimisticUpdates.size===0&&!r;if(process.env.NODE_ENV!=="production"&&(process.env.NODE_ENV!=="production"&&xP(!o,"RelayPublishQueue.run was called, but the call would have been a noop."),process.env.NODE_ENV!=="production"&&xP(this._isRunning!==!0,"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),o)return process.env.NODE_ENV!=="production"&&(this._isRunning=!1),[];this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var a=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),process.env.NODE_ENV!=="production"&&(this._isRunning=!1),this._store.notify(n,a)},t._publishSourceFromPayload=function(n){var r=this,o=n.payload,a=n.operation,s=n.updater,l=o.source,u=o.fieldPayloads,c=new s_(this._store.getSource(),l),d=new l_(c,this._getDataID,this._handlerProvider,this._missingFieldHandlers);if(u&&u.length&&u.forEach(function(v){var _=r._handlerProvider&&r._handlerProvider(v.handle);_||(process.env.NODE_ENV!=="production"?Ni(!1,"RelayModernEnvironment: Expected a handler to be provided for handle `%s`.",v.handle):Ni(!1)),_.update(d,v)}),s){var f=a.fragment;f==null&&(process.env.NODE_ENV!=="production"?Ni(!1,"RelayModernEnvironment: Expected a selector to be provided with updater function."):Ni(!1));var p=new EP(c,d,f,this._missingFieldHandlers),m=wP(l,f);s(p,m)}var h=d.getIDsMarkedForInvalidation();return this._store.publish(l,h),d.isStoreMarkedForInvalidation()},t._commitData=function(){var n=this;if(!this._pendingData.size)return!1;var r=!1;return this._pendingData.forEach(function(o){if(o.kind==="payload"){var a=n._publishSourceFromPayload(o);r=r||a}else if(o.kind==="source"){var s=o.source;n._store.publish(s)}else{var l=o.updater,u=SP.create(),c=new s_(n._store.getSource(),u),d=new l_(c,n._getDataID,n._handlerProvider,n._missingFieldHandlers);c_(l,null,[d],null,"RelayPublishQueue:commitData"),r=r||d.isStoreMarkedForInvalidation();var f=d.getIDsMarkedForInvalidation();n._store.publish(u,f)}}),this._pendingData.clear(),r},t._applyUpdates=function(){var n=this,r=SP.create(),o=new s_(this._store.getSource(),r),a=new l_(o,this._getDataID,this._handlerProvider,this._missingFieldHandlers),s=function(u){if(u.storeUpdater){var c=u.storeUpdater;c_(c,null,[a],null,"RelayPublishQueue:applyUpdates")}else{var d=u.operation,f=u.payload,p=u.updater,m=f.source,h=f.fieldPayloads;if(m&&a.publishSource(m,h),p){var v;m&&(v=wP(m,d.fragment));var _=new EP(o,a,d.fragment,n._missingFieldHandlers);c_(p,null,[_,v],null,"RelayPublishQueue:applyUpdates")}}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(s),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach(function(l){s(l),n._appliedOptimisticUpdates.add(l)}),this._pendingOptimisticUpdates.clear()),this._store.publish(r)},e})();function wP(e,t){var i=EY.read(e,t).data;if(process.env.NODE_ENV!=="production"){var n=wn();i&&n(i)}return i}kP.exports=SY});var $P=S((Tfe,DP)=>{"use strict";var TP=K().default,xY=TP(de()),IP=TP(qt()),CP=function(){};process.env.NODE_ENV!=="production"&&(d_=!1,NP=function(){var t;d_||(d_=!0,window.devtoolsFormatters==null&&(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.'),(t=window.devtoolsFormatters).push.apply(t,(0,IP.default)(OP()))))},OP=function(){var t={style:"list-style-type: none; padding: 0; margin: 0 0 0 12px; font-style: normal"},i={style:"rgb(136, 19, 145)"},n={style:"color: #777"},r=function(f,p){return f==null?["span",n,"undefined"]:["object",{object:f,config:p}]},o=function(f){return["span",{style:"font-style: italic"},f.__typename,["span",n,' {id: "',f.__id,'", \u2026}']]},a=function(f){return f!=null&&typeof f.__id=="string"},s=function(f,p){this.key=f,this.value=p},l=function(f){var p=Object.keys(f).map(function(m){return["li",{},["object",{object:new s(m,f[m])}]]});return["ol",t].concat((0,IP.default)(p))},u={header:function(f){return a(f)?o(f):null},hasBody:function(f){return!0},body:function(f){return l(f)}},c={header:function(f){if(f instanceof s){var p=a(f.value)?o(f.value):r(f.value);return["span",i,f.key,": ",p]}return null},hasBody:function(f){return a(f.value)},body:function(f){return l(f.value)}};return[u,c]},PP=function e(t,i){var n=t.get(i);return n==null?n:new Proxy((0,xY.default)({},n),{get:function(o,a){var s=o[a];if(s==null)return s;if(typeof s=="object"){if(typeof s.__ref=="string")return e(t,s.__ref);if(Array.isArray(s.__refs))return s.__refs.map(function(l){return e(t,l)})}return s}})},CP=function(t,i){return NP(),PP(t.getStore().getSource(),i??"client:root")});var d_,NP,OP,PP;DP.exports={inspect:CP}});var VP=S((Cfe,UP)=>{"use strict";var wY=K().default,AP=wY(de()),kY=fy(),MP=ic(),qP=MP.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,Ec=MP.assertInternalActorIdentifier,f_=cr(),LP=x0(),RY=jy(),IY=I0(),NY=Uy(),OY=C0(),PY=Fy(),TY=Q0(),CY=RP(),DY=Vr(),FP=j(),jP=(function(){function e(i){var n=this,r,o,a,s,l,u,c,d,f,p;this.configName=i.configName,this._treatMissingFieldsAsNull=i.treatMissingFieldsAsNull===!0;var m=i.operationLoader;if(process.env.NODE_ENV!=="production"&&m!=null&&(typeof m=="object"&&typeof m.get=="function"&&typeof m.load=="function"||(process.env.NODE_ENV!=="production"?FP(!1,"RelayModernEnvironment: Expected `operationLoader` to be an object with get() and load() functions, got `%s`.",m):FP(!1))),this.__log=(r=i.log)!==null&&r!==void 0?r:AY,this.relayFieldLogger=(o=i.relayFieldLogger)!==null&&o!==void 0?o:OY,this._defaultRenderPolicy=(a=i.UNSTABLE_defaultRenderPolicy)!==null&&a!==void 0?a:"partial",this._operationLoader=m,this._operationExecutions=new Map,this._network=LP(this,i.network),this._getDataID=(s=i.getDataID)!==null&&s!==void 0?s:NY,this._missingFieldHandlers=(l=i.missingFieldHandlers)!==null&&l!==void 0?l:[],this._publishQueue=new CY(i.store,(u=i.handlerProvider)!==null&&u!==void 0?u:kY,this._getDataID,this._missingFieldHandlers),this._scheduler=(c=i.scheduler)!==null&&c!==void 0?c:null,this._store=i.store,this.options=i.options,this._isServer=(d=i.isServer)!==null&&d!==void 0?d:!1,this._normalizeResponse=(f=i.normalizeResponse)!==null&&f!==void 0?f:PY,this.__setNet=function(_){return n._network=LP(n,_)},process.env.NODE_ENV!=="production"){var h=$P(),v=h.inspect;this.DEBUG_inspect=function(_){return v(n,_)}}this._operationTracker=(p=i.operationTracker)!==null&&p!==void 0?p:new RY,this._shouldProcessClientComponents=i.shouldProcessClientComponents,IY(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(n){var r=this._operationExecutions.get(n);return r==="active"},t.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},t.applyUpdate=function(n){var r=this,o=function(){r._scheduleUpdates(function(){r._publishQueue.revertUpdate(n),r._publishQueue.run()})};return this._scheduleUpdates(function(){r._publishQueue.applyUpdate(n),r._publishQueue.run()}),{dispose:o}},t.revertUpdate=function(n){var r=this;this._scheduleUpdates(function(){r._publishQueue.revertUpdate(n),r._publishQueue.run()})},t.replaceUpdate=function(n,r){var o=this;this._scheduleUpdates(function(){o._publishQueue.revertUpdate(n),o._publishQueue.applyUpdate(r),o._publishQueue.run()})},t.applyMutation=function(n){var r=this._execute({createSource:function(){return f_.create(function(a){})},isClientPayload:!1,operation:n.operation,optimisticConfig:n,updater:null}).subscribe({});return{dispose:function(){return r.unsubscribe()}}},t.check=function(n){return this._missingFieldHandlers.length===0&&!$Y(n)?this._store.check(n):this._checkSelectorAndHandleMissingFields(n,this._missingFieldHandlers)},t.commitPayload=function(n,r){this._execute({createSource:function(){return f_.from({data:r})},isClientPayload:!0,operation:n,optimisticConfig:null,updater:null}).subscribe({})},t.commitUpdate=function(n){var r=this;this._scheduleUpdates(function(){r._publishQueue.commitUpdate(n),r._publishQueue.run()})},t.lookup=function(n){return this._store.lookup(n)},t.subscribe=function(n,r){return this._store.subscribe(n,r)},t.retain=function(n){return this._store.retain(n)},t.isServer=function(){return this._isServer},t._checkSelectorAndHandleMissingFields=function(n,r){var o=this,a=DY.create(),s=this._store.getSource(),l=this._store.check(n,{handlers:r,defaultActorIdentifier:qP,getSourceForActor:function(c){return Ec(c),s},getTargetForActor:function(c){return Ec(c),a}});return a.size()>0&&this._scheduleUpdates(function(){o._publishQueue.commitSource(a),o._publishQueue.run()}),l},t._scheduleUpdates=function(n){var r=this._scheduler;r!=null?r.schedule(n):n()},t.execute=function(n){var r=this,o=n.operation;return this._execute({createSource:function(){return r.getNetwork().execute(o.request.node.params,o.request.variables,o.request.cacheConfig||{},null)},isClientPayload:!1,operation:o,optimisticConfig:null,updater:null})},t.executeSubscription=function(n){var r=this,o=n.operation,a=n.updater;return this._execute({createSource:function(){return r.getNetwork().execute(o.request.node.params,o.request.variables,o.request.cacheConfig||{},null)},isClientPayload:!1,operation:o,optimisticConfig:null,updater:a})},t.executeMutation=function(n){var r=this,o=n.operation,a=n.optimisticResponse,s=n.optimisticUpdater,l=n.updater,u=n.uploadables,c;return(a||s)&&(c={operation:o,response:a,updater:s}),this._execute({createSource:function(){return r.getNetwork().execute(o.request.node.params,o.request.variables,(0,AP.default)((0,AP.default)({},o.request.cacheConfig),{},{force:!0}),u)},isClientPayload:!1,operation:o,optimisticConfig:c,updater:l})},t.executeWithSource=function(n){var r=n.operation,o=n.source;return this._execute({createSource:function(){return o},isClientPayload:!1,operation:r,optimisticConfig:null,updater:null})},t.toJSON=function(){var n;return"RelayModernEnvironment(".concat((n=this.configName)!==null&&n!==void 0?n:"",")")},t._execute=function(n){var r=this,o=n.createSource,a=n.isClientPayload,s=n.operation,l=n.optimisticConfig,u=n.updater,c=this._publishQueue,d=this._store;return f_.create(function(f){var p=TY.execute({actorIdentifier:qP,getDataID:r._getDataID,isClientPayload:a,log:r.__log,operation:s,operationExecutions:r._operationExecutions,operationLoader:r._operationLoader,operationTracker:r._operationTracker,optimisticConfig:l,getPublishQueue:function(h){return Ec(h),c},scheduler:r._scheduler,shouldProcessClientComponents:r._shouldProcessClientComponents,sink:f,source:o(),getStore:function(h){return Ec(h),d},treatMissingFieldsAsNull:r._treatMissingFieldsAsNull,updater:u,normalizeResponse:r._normalizeResponse});return function(){return p.cancel()}})},e})();function $Y(e){return e.root.node.kind==="Operation"&&e.root.node.clientAbstractTypes!=null}jP.prototype["@@RelayModernEnvironment"]=!0;function AY(){}UP.exports=jP});var BP=S((Dfe,zP)=>{"use strict";var qY=Promise.resolve();function LY(e){qY.then(e).catch(FY)}function FY(e){setTimeout(function(){throw e},0)}zP.exports=LY});var p_=S(($fe,QP)=>{"use strict";var MY=or(),KP=MY.LINKED_FIELD,jY=ye(),UY=jY.getHandleStorageKey,VY=et(),ZP=j();function zY(e,t,i){var n=t.find(function(o){return o.kind===KP&&o.name===e.name&&o.alias===e.alias&&VY(o.args,e.args)});n&&n.kind===KP||(process.env.NODE_ENV!=="production"?ZP(!1,"cloneRelayHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle):ZP(!1));var r=UY(e,i);return{kind:"LinkedField",alias:n.alias,name:r,storageKey:r,args:null,concreteType:n.concreteType,plural:n.plural,selections:n.selections}}QP.exports=zY});var WP=S((Afe,YP)=>{"use strict";var BY=or(),HP=BY.SCALAR_FIELD,KY=ye(),ZY=KY.getHandleStorageKey,QY=et(),GP=j();function HY(e,t,i){var n=t.find(function(o){return o.kind===HP&&o.name===e.name&&o.alias===e.alias&&QY(o.args,e.args)});n&&n.kind===HP||(process.env.NODE_ENV!=="production"?GP(!1,"cloneRelayScalarHandleSourceField: Expected a corresponding source field for handle `%s`.",e.handle):GP(!1));var r=ZY(e,i);return{kind:"ScalarField",alias:n.alias,name:r,storageKey:r,args:null}}YP.exports=HY});var nT=S((qfe,rT)=>{"use strict";var GY=K().default,Sc=GY(Re()),YY=Wy(),WY=n_(),JY=cc(),XY=Et(),eW=XY.isClientID,tW=p_(),rW=WP(),nW=lr(),JP=nW.getLocalVariables,XP=Qe(),eT=Ba(),m_=eT.EXISTENT,iW=eT.UNKNOWN,g_=ye(),tT=Ka(),oW=tT.TYPE_SCHEMA_TYPE,h_=tT.generateTypeID,Ut=j(),aW=g_.getModuleOperationKey,xc=g_.getStorageKey,v_=g_.getArgumentValues;function sW(e,t,i,n,r,o,a,s,l){l?.({name:"store.datachecker.start",selector:n});var u=n.dataID,c=n.node,d=n.variables,f=new lW(e,t,i,d,r,o,a,s),p=f.check(c,u);return l?.({name:"store.datachecker.end",selector:n}),p}var lW=(function(){function e(i,n,r,o,a,s,l,u){this._getSourceForActor=i,this._getTargetForActor=n,this._getDataID=l,this._source=i(r),this._mutatorRecordSourceProxyCache=new Map;var c=this._getMutatorAndRecordProxyForActor(r),d=c[0],f=c[1];this._mostRecentlyInvalidatedAt=null,this._handlers=a,this._mutator=d,this._operationLoader=s??null,this._recordSourceProxy=f,this._recordWasMissing=!1,this._variables=o,this._shouldProcessClientComponents=u}var t=e.prototype;return t._getMutatorAndRecordProxyForActor=function(n){var r=this._mutatorRecordSourceProxyCache.get(n);if(r==null){var o=this._getTargetForActor(n),a=new YY(this._getSourceForActor(n),o),s=new WY(a,this._getDataID,void 0,this._handlers);r=[a,s],this._mutatorRecordSourceProxyCache.set(n,r)}return r},t.check=function(n,r){return this._assignClientAbstractTypes(n),this._traverse(n,r),this._recordWasMissing===!0?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(n){return this._variables.hasOwnProperty(n)||(process.env.NODE_ENV!=="production"?Ut(!1,"RelayAsyncLoader(): Undefined variable `%s`.",n):Ut(!1)),this._variables[n]},t._handleMissing=function(){this._recordWasMissing=!0},t._handleMissingScalarField=function(n,r){if(!(n.name==="id"&&n.alias==null&&eW(r))){var o=n.args!=null?v_(n.args,this._variables):{},a=(0,Sc.default)(this._handlers),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;if(l.kind==="scalar"){var u=l.handle(n,this._recordSourceProxy.get(r),o,this._recordSourceProxy);if(u!==void 0)return u}}}catch(c){a.e(c)}finally{a.f()}this._handleMissing()}},t._handleMissingLinkField=function(n,r){var o=n.args!=null?v_(n.args,this._variables):{},a=(0,Sc.default)(this._handlers),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;if(l.kind==="linked"){var u=l.handle(n,this._recordSourceProxy.get(r),o,this._recordSourceProxy);if(u!==void 0&&(u===null||this._mutator.getStatus(u)===m_))return u}}}catch(c){a.e(c)}finally{a.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(n,r){var o=this,a=n.args!=null?v_(n.args,this._variables):{},s=(0,Sc.default)(this._handlers),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;if(u.kind==="pluralLinked"){var c=u.handle(n,this._recordSourceProxy.get(r),a,this._recordSourceProxy);if(c!=null){var d=c.every(function(f){return f!=null&&o._mutator.getStatus(f)===m_});if(d)return c}else if(c===null)return null}}}catch(f){s.e(f)}finally{s.f()}this._handleMissing()},t._traverse=function(n,r){var o=this._mutator.getStatus(r);if(o===iW&&this._handleMissing(),o===m_){var a=this._source.get(r),s=XP.getInvalidationEpoch(a);s!=null&&(this._mostRecentlyInvalidatedAt=this._mostRecentlyInvalidatedAt!=null?Math.max(this._mostRecentlyInvalidatedAt,s):s),this._traverseSelections(n.selections,r)}},t._traverseSelections=function(n,r){var o=this;n.forEach(function(a){switch(a.kind){case"ScalarField":o._checkScalar(a,r);break;case"LinkedField":a.plural?o._checkPluralLink(a,r):o._checkLink(a,r);break;case"ActorChange":o._checkActorChange(a.linkedField,r);break;case"Condition":var s=!!o._getVariableValue(a.condition);s===a.passingValue&&o._traverseSelections(a.selections,r);break;case"InlineFragment":{var l=a.abstractKey;if(l==null){var u=o._mutator.getType(r);u===a.type&&o._traverseSelections(a.selections,r)}else{var c=o._mutator.getType(r);c==null&&(process.env.NODE_ENV!=="production"?Ut(!1,"DataChecker: Expected record `%s` to have a known type",r):Ut(!1));var d=h_(c),f=o._mutator.getValue(d,l);f===!0?o._traverseSelections(a.selections,r):f==null&&o._handleMissing()}break}case"LinkedHandle":{var p=tW(a,n,o._variables);p.plural?o._checkPluralLink(p,r):o._checkLink(p,r);break}case"ScalarHandle":{var m=rW(a,n,o._variables);o._checkScalar(m,r);break}case"ModuleImport":o._checkModuleImport(a,r);break;case"Defer":case"Stream":o._traverseSelections(a.selections,r);break;case"FragmentSpread":var h=o._variables;o._variables=JP(o._variables,a.fragment.argumentDefinitions,a.args),o._traverseSelections(a.fragment.selections,r),o._variables=h;break;case"ClientExtension":var v=o._recordWasMissing;o._traverseSelections(a.selections,r),o._recordWasMissing=v;break;case"TypeDiscriminator":var _=a.abstractKey,b=o._mutator.getType(r);b==null&&(process.env.NODE_ENV!=="production"?Ut(!1,"DataChecker: Expected record `%s` to have a known type",r):Ut(!1));var g=h_(b),y=o._mutator.getValue(g,_);y==null&&o._handleMissing();break;case"ClientComponent":if(o._shouldProcessClientComponents===!1)break;o._traverseSelections(a.fragment.selections,r);break;case"RelayResolver":o._checkResolver(a,r);break;case"RelayLiveResolver":o._checkResolver(a,r);break;case"ClientEdgeToClientObject":o._checkResolver(a.backingField,r);break;default:process.env.NODE_ENV!=="production"?Ut(!1,"RelayAsyncLoader(): Unexpected ast kind `%s`.",a.kind):Ut(!1)}})},t._checkResolver=function(n,r){n.fragment&&this._traverseSelections([n.fragment],r)},t._checkModuleImport=function(n,r){var o=this._operationLoader;o===null&&(process.env.NODE_ENV!=="production"?Ut(!1,"DataChecker: Expected an operationLoader to be configured when using `@module`."):Ut(!1));var a=aW(n.documentName),s=this._mutator.getValue(r,a);if(s==null){s===void 0&&this._handleMissing();return}var l=o.get(s);if(l!=null){var u=JY(l),c=this._variables;this._variables=JP(this._variables,u.argumentDefinitions,n.args),this._traverse(u,r),this._variables=c}else this._handleMissing()},t._checkScalar=function(n,r){var o=xc(n,this._variables),a=this._mutator.getValue(r,o);a===void 0&&(a=this._handleMissingScalarField(n,r),a!==void 0&&this._mutator.setValue(r,o,a))},t._checkLink=function(n,r){var o=xc(n,this._variables),a=this._mutator.getLinkedRecordID(r,o);a===void 0&&(a=this._handleMissingLinkField(n,r),a!=null?this._mutator.setLinkedRecordID(r,o,a):a===null&&this._mutator.setValue(r,o,null)),a!=null&&this._traverse(n,a)},t._checkPluralLink=function(n,r){var o=this,a=xc(n,this._variables),s=this._mutator.getLinkedRecordIDs(r,a);s===void 0&&(s=this._handleMissingPluralLinkField(n,r),s!=null?this._mutator.setLinkedRecordIDs(r,a,s):s===null&&this._mutator.setValue(r,a,null)),s&&s.forEach(function(l){l!=null&&o._traverse(n,l)})},t._checkActorChange=function(n,r){var o=xc(n,this._variables),a=this._source.get(r),s=a!=null?XP.getActorLinkedRecordID(a,o):a;if(s==null)s===void 0&&this._handleMissing();else{var l=s[0],u=s[1],c=this._source,d=this._mutator,f=this._recordSourceProxy,p=this._getMutatorAndRecordProxyForActor(l),m=p[0],h=p[1];this._source=this._getSourceForActor(l),this._mutator=m,this._recordSourceProxy=h,this._assignClientAbstractTypes(n),this._traverse(n,u),this._source=c,this._mutator=d,this._recordSourceProxy=f}},t._assignClientAbstractTypes=function(n){var r=n.clientAbstractTypes;if(r!=null)for(var o=0,a=Object.keys(r);o<a.length;o++){var s=a[o],l=(0,Sc.default)(r[s]),u;try{for(l.s();!(u=l.n()).done;){var c=u.value,d=h_(c);this._source.get(d)==null&&this._mutator.create(d,oW),this._mutator.getValue(d,s)==null&&this._mutator.setValue(d,s,!0)}}catch(f){l.e(f)}finally{l.f()}}},e})();rT.exports={check:sW}});var oT=S((Lfe,iT)=>{"use strict";iT.exports=function(t){typeof t=="object"&&t!=null&&(Array.isArray(t)||t.constructor===Object)&&Object.freeze(t)}});var y_=S((Ffe,lT)=>{"use strict";var uW=Qe(),cW=ye(),aT=cW.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,sT=j();function dW(e){var t=uW.getValue(e,aT);return t==null?null:(t instanceof Set||(process.env.NODE_ENV!=="production"?sT(!1,"getOutputTypeRecordIDs: Expected the `%s` field on record `%s` to be of type Set. Instead, it is a %s.",aT,typeof t):sT(!1)),t)}lT.exports=dW});var cT=S((Mfe,uT)=>{"use strict";function fW(e){return e!=null&&typeof e=="object"&&typeof e.read=="function"&&typeof e.subscribe=="function"}uT.exports=fW});var ST=S((jfe,ET)=>{"use strict";var pW=K().default,Vt=pW(Re()),mW=Ua(),hW=or(),dT=hW.RELAY_LIVE_RESOLVER,vW=Ft(),fT=oT(),gT=Et(),wc=gT.generateClientID,__=gT.generateClientObjectClientID,G=Qe(),gW=pt(),yW=gW.createNormalizationSelector,kc=Vr(),_W=Ly(),bW=_W.normalize,Oi=ye(),b_=Oi.RELAY_RESOLVER_ERROR_KEY,k_=Oi.RELAY_RESOLVER_INVALIDATION_KEY,EW=Oi.RELAY_RESOLVER_OUTPUT_TYPE_RECORD_IDS,E_=Oi.RELAY_RESOLVER_SNAPSHOT_KEY,S_=Oi.RELAY_RESOLVER_VALUE_KEY,pT=Oi.getStorageKey,SW=y_(),x_=cT(),xW=Va(),mT=xW.isSuspenseSentinel,be=j(),R_=ce(),I_="__resolverLiveStateSubscription",Rc="__resolverLiveStateValue",Ic="__resolverLiveStateDirty",yT="__RELAY_RESOLVER__",wW="__relay_model_instance";function w_(e,t,i){var n=e.get(t);n||(n=new Set,e.set(t,n)),n.add(i)}var kW=(function(){function e(i,n){this._resolverIDToRecordIDs=new Map,this._recordIDToResolverIDs=new Map,this._getRecordSource=i,this._store=n,this._handlingBatch=!1,this._liveResolverBatchRecordSource=null}var t=e.prototype;return t.readFromCacheOrEvaluate=function(n,r,o,a,s){var l=this._getRecordSource(),u=Xa(l,n),c=pT(r,o),d=G.getLinkedRecordID(u,c),f=d==null?null:l.get(d),p;if(f==null||this._isInvalid(f,s)){var m;f!=null&&bT(f),d=(m=d)!==null&&m!==void 0?m:wc(n,c),f=G.create(d,yT);var h=a();if(G.setValue(f,E_,h.snapshot),G.setValue(f,b_,h.error),r.kind===dT){if(h.resolverResult!=null){process.env.NODE_ENV!=="production"&&(x_(h.resolverResult)||(process.env.NODE_ENV!=="production"?be(!1,'Expected the @live Relay Resolver backing the field "%s" to return a value that implements LiveState. Did you mean to remove the @live annotation on this resolver?',r.path):be(!1))),h.error!=null&&(process.env.NODE_ENV!=="production"?be(!1,"Did not expect resolver to have both a value and an error."):be(!1));var v=h.resolverResult;p=this._setLiveStateValue(f,d,v,r,o)}else if(process.env.NODE_ENV!=="production"){var _;h.error!=null||!((_=h.snapshot)===null||_===void 0)&&_.isMissingData||(process.env.NODE_ENV!=="production"?be(!1,'Expected the @live Relay Resolver backing the field "%s" to return a value that implements LiveState interface. The result for this field is `%s`, we also did not detect any errors, or missing data during resolver execution. Did you mean to remove the @live annotation on this resolver, or was there unexpected early return in the function?',r.path,String(h.resolverResult)):be(!1))}}else process.env.NODE_ENV!=="production"&&x_(h.resolverResult)&&(process.env.NODE_ENV!=="production"?be(!1,'Unexpected LiveState value returned from the non-@live Relay Resolver backing the field "%s". Did you intend to add @live to this resolver?',r.path):be(!1)),p=this._setResolverValue(f,h.resolverResult,r,o);l.set(d,f);var b=Xa(l,n),g=G.clone(b);if(G.setLinkedRecordID(g,c,d),l.set(n,g),r.fragment!=null){var y,E=pT(r.fragment,o),x=wc(n,E);w_(this._resolverIDToRecordIDs,x,d),w_(this._recordIDToResolverIDs,n,x);var k=(y=h.snapshot)===null||y===void 0?void 0:y.seenRecords;if(k!=null){var w=(0,Vt.default)(k),I;try{for(w.s();!(I=w.n()).done;){var P=I.value;w_(this._recordIDToResolverIDs,P,x)}}catch(Z){w.e(Z)}finally{w.f()}}}}else if(r.kind===dT&&G.getValue(f,Ic)){var C;d=(C=d)!==null&&C!==void 0?C:wc(n,c),f=G.clone(f);var T=G.getValue(f,Rc);x_(T)||(process.env.NODE_ENV!=="production"?be(!1,"Unexpected LiveState value returned from Relay Resolver internal field `RELAY_RESOLVER_LIVE_STATE_VALUE`. It is likely a bug in Relay, or a corrupt state of the relay store state Field Path `%s`. Record `%s`.",r.path,JSON.stringify(f)):be(!1)),p=this._setLiveResolverValue(f,T,r,o),G.setValue(f,Ic,!1),l.set(d,f)}var N=this._getResolverValue(f),$=G.getValue(f,E_),M=G.getValue(f,b_),U=null;if(mT(N)){var B;U=(B=d)!==null&&B!==void 0?B:wc(n,c)}return[N,d,M,$,U,p]},t.getLiveResolverPromise=function(n){var r=this._getRecordSource(),o=r.get(n);o==null&&(process.env.NODE_ENV!=="production"?be(!1,"Expected to find record for live resolver."):be(!1));var a=G.getValue(o,Rc);return new Promise(function(s){var l=a.subscribe(function(){l(),s()})})},t._setLiveStateValue=function(n,r,o,a,s){var l=this._makeLiveStateHandler(r),u=o.subscribe(l);G.setValue(n,Rc,o);var c=this._setLiveResolverValue(n,o,a,s);return G.setValue(n,Ic,!1),G.setValue(n,I_,u),c},t._makeLiveStateHandler=function(n){var r=this;return function(){var o=r._getRecordSource(),a=o.get(n);if(a){if(!G.hasValue(a,Rc)){process.env.NODE_ENV!=="production"&&R_(!1,"Unexpected callback for a incomplete live resolver record (__id: `%s`). The record has missing live state value. This is a no-op and indicates a memory leak, and possible bug in Relay Live Resolvers. Possible cause: The original record was GC-ed, or was created with the optimistic record source. Record details: `%s`.",n,JSON.stringify(a));return}var s=G.clone(a);G.setValue(s,Ic,!0),r._setLiveResolverUpdate(n,s)}}},t._setLiveResolverUpdate=function(n,r){if(this._handlingBatch)this._liveResolverBatchRecordSource==null&&(this._liveResolverBatchRecordSource=kc.create()),this._liveResolverBatchRecordSource.set(n,r);else{var o=kc.create();o.set(n,r),this._store.publish(o),this._store.notify()}},t.batchLiveStateUpdates=function(n){this._handlingBatch&&(process.env.NODE_ENV!=="production"?be(!1,"Unexpected nested call to batchLiveStateUpdates."):be(!1)),this._handlingBatch=!0;try{n()}finally{this._liveResolverBatchRecordSource!=null&&(this._store.publish(this._liveResolverBatchRecordSource),this._store.notify()),this._liveResolverBatchRecordSource=null,this._handlingBatch=!1}},t._setLiveResolverValue=function(n,r,o,a){var s=null,l=null;try{s=r.read()}catch(u){l=u}return G.setValue(n,b_,l),this._setResolverValue(n,s,o,a)},t._setResolverValue=function(n,r,o,a){var s=o.normalizationInfo,l=null;if(r!=null&&s!=null&&!mT(r)){var u,c=SW(n),d=new Set,f=this._getRecordSource();if(s.plural){Array.isArray(r)||(process.env.NODE_ENV!=="production"?be(!1,"_setResolverValue: Expected array value for plural @outputType resolver."):be(!1)),u=[];for(var p=kc.create(),m=0;m<r.length;m++){var h=r[m];if(h!=null){typeof h!="object"&&(process.env.NODE_ENV!=="production"?be(!1,"_setResolverValue: Expected object value as the payload for the @outputType resolver."):be(!1));var v=vT(s,h),_=__(v,G.getDataID(n),m),b=this._normalizeOutputTypeValue(_,h,a,s,[o.path,String(m)],v),g=(0,Vt.default)(b.getRecordIDs()),y;try{for(g.s();!(y=g.n()).done;){var E=y.value;p.set(E,Xa(b,E)),d.add(E)}}catch(T){g.e(T)}finally{g.f()}u.push(_)}}l=hT(f,p,c)}else{typeof r!="object"&&(process.env.NODE_ENV!=="production"?be(!1,"_setResolverValue: Expected object value as the payload for the @outputType resolver."):be(!1));var x=vT(s,r),k=__(x,G.getDataID(n)),w=this._normalizeOutputTypeValue(k,r,a,s,[o.path],x),I=(0,Vt.default)(w.getRecordIDs()),P;try{for(I.s();!(P=I.n()).done;){var C=P.value;d.add(C)}}catch(T){I.e(T)}finally{I.f()}u=k,l=hT(f,w,c)}G.setValue(n,EW,d),fT(u),G.setValue(n,S_,u)}else fT(r),G.setValue(n,S_,r);return l},t.notifyUpdatedSubscribers=function(n){this._store.__notifyUpdatedSubscribers(n)},t._getResolverValue=function(n){return G.getValue(n,S_)},t.invalidateDataIDs=function(n){for(var r=this._getRecordSource(),o=new Set,a=Array.from(n);a.length;){var s=a.pop();o.add(s),n.add(s);var l=this._recordIDToResolverIDs.get(s);if(l!=null){var u=(0,Vt.default)(l),c;try{for(u.s();!(c=u.n()).done;){var d=c.value;if(!o.has(d)){o.add(d);var f=this._resolverIDToRecordIDs.get(d);if(f==null)continue;var p=(0,Vt.default)(f),m;try{for(p.s();!(m=p.n()).done;){var h=m.value;_T(h,r),o.has(h)||(o.add(h),a.push(h))}}catch(v){p.e(v)}finally{p.f()}}}}catch(v){u.e(v)}finally{u.f()}}}},t._isInvalid=function(n,r){if(!G.getValue(n,k_))return!1;var o=G.getValue(n,E_),a=o?.data,s=o?.selector;if(a==null||s==null)return process.env.NODE_ENV!=="production"&&R_(!1,"Expected previous inputs and reader selector on resolver record with ID %s, but they were missing.",G.getDataID(n)),!0;var l=r(s),u=l.data,c=mW(a,u);if(c!==a)return!0;if(vW.MARK_RESOLVER_VALUES_AS_CLEAN_AFTER_FRAGMENT_REREAD){var d=G.clone(n);G.setValue(d,k_,!1);var f=this._getRecordSource();f.set(G.getDataID(n),d)}return!1},t._normalizeOutputTypeValue=function(n,r,o,a,s,l){var u=kc.create();switch(a.kind){case"OutputType":{var c=G.create(n,l);u.set(n,c);var d=yW(a.normalizationNode,n,o),f=this._store.__getNormalizationOptions(s);return bW(u,d,r,f).source}case"WeakModel":{var p=G.create(n,l);return G.setValue(p,wW,r),u.set(n,p),u}default:a.kind,process.env.NODE_ENV!=="production"?be(!1,"LiveResolverCache: Unexpected normalization info kind `%s`.",a.kind):be(!1)}},t.ensureClientRecord=function(n,r){var o=__(r,n),a=this._getRecordSource();if(!a.has(o)){var s=G.create(o,r);G.setValue(s,"id",n),a.set(o,s)}return o},t.unsubscribeFromLiveResolverRecords=function(n){return NW(this._getRecordSource(),n)},t.invalidateResolverRecords=function(n){if(n.size!==0){var r=(0,Vt.default)(n),o;try{for(r.s();!(o=r.n()).done;){var a=o.value,s=this._getRecordSource().get(a);s!=null&&N_(s)&&this._getRecordSource().delete(a)}}catch(l){r.e(l)}finally{r.f()}}},e})();function hT(e,t,i){var n=new Set;if(i!=null){var r=(0,Vt.default)(i),o;try{for(r.s();!(o=r.n()).done;){var a=o.value;t.has(a)||(n.add(a),e.remove(a))}}catch(p){r.e(p)}finally{r.f()}}var s=(0,Vt.default)(t.getRecordIDs()),l;try{for(s.s();!(l=s.n()).done;){var u=l.value,c=Xa(t,u);if(e.has(u)){var d=Xa(e,u),f=G.update(d,c);f!==d&&(n.add(u),e.set(u,f),IW(d,e))}else e.set(u,c)}}catch(p){s.e(p)}finally{s.f()}return n}function RW(e){var t=new Set;return G.getFields(e).forEach(function(i){if(G.hasLinkedRecordID(e,i)){var n=G.getLinkedRecordID(e,i);n!=null&&t.add(n)}else if(G.hasLinkedRecordIDs(e,i)){var r;(r=G.getLinkedRecordIDs(e,i))===null||r===void 0||r.forEach(function(o){o!=null&&t.add(o)})}}),t}function _T(e,t){var i=t.get(e);if(!i){process.env.NODE_ENV!=="production"&&R_(!1,"Expected a resolver record with ID %s, but it was missing.",e);return}var n=G.clone(i);G.setValue(n,k_,!0),t.set(e,n)}function IW(e,t){var i=RW(e),n=(0,Vt.default)(i),r;try{for(n.s();!(r=n.n()).done;){var o=r.value,a=t.get(o);a!=null&&N_(a)&&_T(o,t)}}catch(s){n.e(s)}finally{n.f()}}function NW(e,t){if(t.size!==0){var i=(0,Vt.default)(t),n;try{for(i.s();!(n=i.n()).done;){var r=n.value,o=e.get(r);o!=null&&N_(o)&&bT(o)}}catch(a){i.e(a)}finally{i.f()}}}function N_(e){return G.getType(e)===yT}function bT(e){var t=G.getValue(e,I_);t?.()}function Xa(e,t){var i=e.get(t);return i==null&&(process.env.NODE_ENV!=="production"?be(!1,"Expected a record with ID `%s` to exist in the record source.",t):be(!1)),i}function OW(e){return e}function vT(e,t){var i,n=(i=e.concreteType)!==null&&i!==void 0?i:t.__typename;return n==null&&(process.env.NODE_ENV!=="production"?be(!1,"normalizationInfo.concreteType should not be null, or the value returned from the resolver should include a __typename field, or the resolver should have a flow error. If not, this indicates a bug in Relay."):be(!1)),n}ET.exports={LiveResolverCache:kW,getUpdatedDataIDs:OW,RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY:I_}});var NT=S((Ufe,IT)=>{"use strict";var PW=K().default,TW=PW(de()),kT=Qe(),xT=Vr(),wT=j(),O_=kT.fromObject(Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0})),RT=(function(){function e(i){this._base=i,this._sink=xT.create()}var t=e.prototype;return t.has=function(n){if(this._sink.has(n)){var r=this._sink.get(n);return r!==O_}else return this._base.has(n)},t.get=function(n){if(this._sink.has(n)){var r=this._sink.get(n);return r===O_?void 0:r}else return this._base.get(n)},t.getStatus=function(n){var r=this.get(n);return r===void 0?"UNKNOWN":r===null?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=xT.create(),this._sink.clear()},t.delete=function(n){this._sink.delete(n)},t.remove=function(n){this._sink.set(n,O_)},t.set=function(n,r){this._sink.set(n,r)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var n=this,r=(0,TW.default)({},this._base.toJSON());return this._sink.getRecordIDs().forEach(function(o){var a=n.get(o);a===void 0?delete r[o]:r[o]=kT.toJSON(a)}),r},t.getOptimisticRecordIDs=function(){return new Set(this._sink.getRecordIDs())},e})();function CW(e){return new RT(e)}function DW(e){return e instanceof RT||(process.env.NODE_ENV!=="production"?wT(!1,"getOptimisticRecordIDs: Instance of RelayOptimisticRecordSource is expected"):wT(!1)),e.getOptimisticRecordIDs()}IT.exports={create:CW,getOptimisticRecordIDs:DW}});var DT=S((Vfe,CT)=>{"use strict";var $W=K().default,OT=$W(Re()),AW=cc(),qW=p_(),LW=y_(),FW=lr(),PT=FW.getLocalVariables,fr=Qe(),T_=ye(),MW=Ka(),TT=MW.generateTypeID,Pi=j(),P_=T_.getStorageKey,jW=T_.getModuleOperationKey;function UW(e,t,i,n,r){var o=t.dataID,a=t.node,s=t.variables,l=new VW(e,s,i,n,r);l.mark(a,o)}var VW=(function(){function e(i,n,r,o,a){this._operationLoader=o??null,this._operationName=null,this._recordSource=i,this._references=r,this._variables=n,this._shouldProcessClientComponents=a}var t=e.prototype;return t.mark=function(n,r){(n.kind==="Operation"||n.kind==="SplitOperation")&&(this._operationName=n.name),this._traverse(n,r)},t._traverse=function(n,r){this._references.add(r);var o=this._recordSource.get(r);o!=null&&this._traverseSelections(n.selections,o)},t._getVariableValue=function(n){return this._variables.hasOwnProperty(n)||(process.env.NODE_ENV!=="production"?Pi(!1,"RelayReferenceMarker(): Undefined variable `%s`.",n):Pi(!1)),this._variables[n]},t._traverseSelections=function(n,r){var o=this;n.forEach(function(a){switch(a.kind){case"ActorChange":o._traverseLink(a.linkedField,r);break;case"LinkedField":a.plural?o._traversePluralLink(a,r):o._traverseLink(a,r);break;case"Condition":var s=!!o._getVariableValue(a.condition);s===a.passingValue&&o._traverseSelections(a.selections,r);break;case"InlineFragment":if(a.abstractKey==null){var l=fr.getType(r);(l!=null&&l===a.type||l===T_.ROOT_TYPE)&&o._traverseSelections(a.selections,r)}else{var u=fr.getType(r),c=TT(u);o._references.add(c),o._traverseSelections(a.selections,r)}break;case"FragmentSpread":var d=o._variables;o._variables=PT(o._variables,a.fragment.argumentDefinitions,a.args),o._traverseSelections(a.fragment.selections,r),o._variables=d;break;case"LinkedHandle":var f=qW(a,n,o._variables);f.plural?o._traversePluralLink(f,r):o._traverseLink(f,r);break;case"Defer":case"Stream":o._traverseSelections(a.selections,r);break;case"ScalarField":case"ScalarHandle":break;case"TypeDiscriminator":{var p=fr.getType(r),m=TT(p);o._references.add(m);break}case"ModuleImport":o._traverseModuleImport(a,r);break;case"ClientExtension":o._traverseSelections(a.selections,r);break;case"ClientComponent":if(o._shouldProcessClientComponents===!1)break;o._traverseSelections(a.fragment.selections,r);break;case"RelayResolver":o._traverseResolverField(a,r);break;case"RelayLiveResolver":o._traverseResolverField(a,r);break;case"ClientEdgeToClientObject":o._traverseClientEdgeToClientObject(a,r);break;default:process.env.NODE_ENV!=="production"?Pi(!1,"RelayReferenceMarker: Unknown AST node `%s`.",a):Pi(!1)}})},t._traverseClientEdgeToClientObject=function(n,r){var o=this._traverseResolverField(n.backingField,r);if(o!=null){var a=this._recordSource.get(o);if(a!=null)if(n.backingField.isOutputType){var s=LW(a);if(s!=null){var l=(0,OT.default)(s),u;try{for(l.s();!(u=l.n()).done;){var c=u.value;this._references.add(c)}}catch(b){l.e(b)}finally{l.f()}}}else{var d=n.linkedField,f=d.concreteType;if(f==null)return;if(d.plural){var p=fr.getResolverLinkedRecordIDs(a,f);if(p!=null){var m=(0,OT.default)(p),h;try{for(m.s();!(h=m.n()).done;){var v=h.value;v!=null&&this._traverse(d,v)}}catch(b){m.e(b)}finally{m.f()}}}else{var _=fr.getResolverLinkedRecordID(a,f);_!=null&&this._traverse(d,_)}}}},t._traverseResolverField=function(n,r){var o=P_(n,this._variables),a=fr.getLinkedRecordID(r,o);a!=null&&this._references.add(a);var s=n.fragment;return s!=null&&this._traverseSelections([s],r),a},t._traverseModuleImport=function(n,r){var o,a=this._operationLoader;a===null&&(process.env.NODE_ENV!=="production"?Pi(!1,"RelayReferenceMarker: Expected an operationLoader to be configured when using `@module`. Could not load fragment `%s` in operation `%s`.",n.fragmentName,(o=this._operationName)!==null&&o!==void 0?o:"(unknown)"):Pi(!1));var s=jW(n.documentName),l=fr.getValue(r,s);if(l!=null){var u=a.get(l);if(u!=null){var c=AW(u),d=this._variables;this._variables=PT(this._variables,c.argumentDefinitions,n.args),this._traverseSelections(c.selections,r),this._variables=d}}},t._traverseLink=function(n,r){var o=P_(n,this._variables),a=fr.getLinkedRecordID(r,o);a!=null&&this._traverse(n,a)},t._traversePluralLink=function(n,r){var o=this,a=P_(n,this._variables),s=fr.getLinkedRecordIDs(r,a);s?.forEach(function(l){l!=null&&o._traverse(n,l)})},e})();CT.exports={mark:UW}});var AT=S((zfe,$T)=>{"use strict";var zW=Symbol.iterator;function BW(e,t){for(var i=e[zW](),n=i.next();!n.done;){var r=n.value;if(t.has(r))return!0;n=i.next()}return!1}$T.exports=BW});var LT=S((Bfe,qT)=>{"use strict";var KW=ye(),ZW=KW.ROOT_ID,QW=uc(),HW=QW.VIEWER_ID,GW=Symbol.iterator;function YW(e,t){for(var i=e[GW](),n=i.next();!n.done;){var r=n.value;if(t.has(r)&&r!==ZW&&r!==HW)return!0;n=i.next()}return!1}qT.exports=YW});var VT=S((Kfe,UT)=>{"use strict";var WW=wn(),FT=Ua(),MT=Ft(),JW=AT(),XW=LT(),jT=bc(),eJ=(function(){function e(i,n,r){this._subscriptions=new Set,this.__log=i,this._resolverCache=n,this._resolverContext=r}var t=e.prototype;return t.subscribe=function(n,r){var o=this,a={backup:null,callback:r,snapshot:n,stale:!1},s=function(){o._subscriptions.delete(a)};return this._subscriptions.add(a),{dispose:s}},t.snapshotSubscriptions=function(n){var r=this;this._subscriptions.forEach(function(o){if(!o.stale){o.backup=o.snapshot;return}var a=o.snapshot,s=jT.read(n,a.selector,r._resolverCache,r._resolverContext),l=FT(a.data,s.data);s.data=l,o.backup=s})},t.restoreSubscriptions=function(){this._subscriptions.forEach(function(n){var r=n.backup;n.backup=null,r?(r.data!==n.snapshot.data&&(n.stale=!0),n.snapshot={data:n.snapshot.data,isMissingData:r.isMissingData,missingClientEdges:r.missingClientEdges,missingLiveResolverFields:r.missingLiveResolverFields,seenRecords:r.seenRecords,selector:r.selector,errorResponseFields:r.errorResponseFields}):n.stale=!0})},t.updateSubscriptions=function(n,r,o,a){var s=this,l=r.size!==0;this._subscriptions.forEach(function(u){var c=s._updateSubscription(n,u,r,l,a);c!=null&&o.push(c)})},t._updateSubscription=function(n,r,o,a,s){var l=r.backup,u=r.callback,c=r.snapshot,d=r.stale,f=a&&JW(c.seenRecords,o);if(!(!d&&!f)){var p=f||!l?jT.read(n,c.selector,this._resolverCache,this._resolverContext):l,m=FT(c.data,p.data);if(p={data:m,isMissingData:p.isMissingData,missingClientEdges:p.missingClientEdges,missingLiveResolverFields:p.missingLiveResolverFields,seenRecords:p.seenRecords,selector:p.selector,errorResponseFields:p.errorResponseFields},process.env.NODE_ENV!=="production"&&WW(p),r.snapshot=p,r.stale=!1,p.data!==c.data)return this.__log&&MT.ENABLE_NOTIFY_SUBSCRIPTION&&this.__log({name:"store.notify.subscription",sourceOperation:s,snapshot:c,nextSnapshot:p}),u(p),c.selector.owner;if(MT.ENABLE_LOOSE_SUBSCRIPTION_ATTRIBUTION&&(d||XW(c.seenRecords,o)))return c.selector.owner}},t.size=function(){return this._subscriptions.size},e})();UT.exports=eJ});var YT=S((Zfe,GT)=>{"use strict";var ZT=K().default,zT=ZT(Re()),tJ=ZT(Ze()),QT=ic(),rJ=QT.INTERNAL_ACTOR_IDENTIFIER_DO_NOT_USE,BT=QT.assertInternalActorIdentifier,nJ=wn(),iJ=BP(),oJ=nT(),aJ=Uy(),D_=ST(),sJ=D_.LiveResolverCache,lJ=D_.RELAY_RESOLVER_LIVE_STATE_SUBSCRIPTION_KEY,uJ=D_.getUpdatedDataIDs,zt=Qe(),KT=NT(),cJ=bc(),dJ=DT(),fJ=VT(),pJ=ye(),HT=ye(),C_=HT.ROOT_ID,mJ=HT.ROOT_TYPE,Nc=j(),hJ=10,vJ=(function(){function e(i,n){var r=this,o,a,s,l,u,c,d;if((0,tJ.default)(this,"_gcStep",function(){r._gcRun&&(r._gcRun.next().done?r._gcRun=null:r._gcScheduler(r._gcStep))}),process.env.NODE_ENV!=="production")for(var f=i.getRecordIDs(),p=0;p<f.length;p++){var m=i.get(f[p]);m&&zt.freeze(m)}this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=(o=n?.gcReleaseBufferSize)!==null&&o!==void 0?o:hJ,this._gcRun=null,this._gcScheduler=(a=n?.gcScheduler)!==null&&a!==void 0?a:iJ,this._getDataID=(s=n?.getDataID)!==null&&s!==void 0?s:aJ,this._globalInvalidationEpoch=null,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this.__log=(l=n?.log)!==null&&l!==void 0?l:null,this._queryCacheExpirationTime=n?.queryCacheExpirationTime,this._operationLoader=(u=n?.operationLoader)!==null&&u!==void 0?u:null,this._optimisticSource=null,this._recordSource=i,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._resolverCache=new sJ(function(){return r._getMutableRecordSource()},this),this._storeSubscriptions=new fJ(n?.log,this._resolverCache),this._updatedRecordIDs=new Set,this._shouldProcessClientComponents=(c=n?.shouldProcessClientComponents)!==null&&c!==void 0?c:!1,this._resolverContext=n?.resolverContext,this._treatMissingFieldsAsNull=(d=n?.treatMissingFieldsAsNull)!==null&&d!==void 0?d:!1,this._actorIdentifier=n?.actorIdentifier,gJ(this._recordSource)}var t=e.prototype;return t.getSource=function(){var n;return(n=this._optimisticSource)!==null&&n!==void 0?n:this._recordSource},t.getOperationLoader=function(){return this._operationLoader},t._getMutableRecordSource=function(){var n;return(n=this._optimisticSource)!==null&&n!==void 0?n:this._recordSource},t.getLiveResolverPromise=function(n){return this._resolverCache.getLiveResolverPromise(n)},t.batchLiveStateUpdates=function(n){this.__log!=null&&this.__log({name:"liveresolver.batch.start"});try{this._resolverCache.batchLiveStateUpdates(n)}finally{this.__log!=null&&this.__log({name:"liveresolver.batch.end"})}},t.check=function(n,r){var o,a,s,l,u=n.root,c=this._getMutableRecordSource(),d=this._globalInvalidationEpoch,f=this._roots.get(n.request.identifier),p=f!=null?f.epoch:null;if(d!=null&&(p==null||p<=d))return{status:"stale"};var m=(o=r?.handlers)!==null&&o!==void 0?o:[],h=(a=r?.getSourceForActor)!==null&&a!==void 0?a:function(b){return BT(b),c},v=(s=r?.getTargetForActor)!==null&&s!==void 0?s:function(b){return BT(b),c},_=oJ.check(h,v,(l=r?.defaultActorIdentifier)!==null&&l!==void 0?l:rJ,u,m,this._operationLoader,this._getDataID,this._shouldProcessClientComponents,this.__log);return _J(_,p,f?.fetchTime,this._queryCacheExpirationTime)},t.retain=function(n){var r=this,o=n.request.identifier,a=!1,s=function(){if(!a){a=!0;var c=r._roots.get(o);if(c!=null&&(c.refCount--,c.refCount===0)){var d=r._queryCacheExpirationTime,f=c.fetchTime!=null&&d!=null&&c.fetchTime<=Date.now()-d;if(f)r._roots.delete(o),r.scheduleGC();else if(r._releaseBuffer.push(o),r._releaseBuffer.length>r._gcReleaseBufferSize){var p=r._releaseBuffer.shift();r._roots.delete(p),r.scheduleGC()}}}},l=this._roots.get(o);return l!=null?(l.refCount===0&&(this._releaseBuffer=this._releaseBuffer.filter(function(u){return u!==o})),l.refCount+=1):this._roots.set(o,{operation:n,refCount:1,epoch:null,fetchTime:null}),{dispose:s}},t.lookup=function(n){var r=this.__log;r?.({name:"store.lookup.start",selector:n});var o=this.getSource(),a=cJ.read(o,n,this._resolverCache,this._resolverContext);return process.env.NODE_ENV!=="production"&&nJ(a),r?.({name:"store.lookup.end",selector:n}),a},t.notify=function(n,r){var o=this,a=this.__log;a?.({name:"store.notify.start",sourceOperation:n}),this._currentWriteEpoch++,r===!0&&(this._globalInvalidationEpoch=this._currentWriteEpoch),this._resolverCache.invalidateDataIDs(this._updatedRecordIDs);var s=this.getSource(),l=[];if(this._storeSubscriptions.updateSubscriptions(s,this._updatedRecordIDs,l,n),this._invalidationSubscriptions.forEach(function(f){o._updateInvalidationSubscription(f,r===!0)}),n!=null){var u=n.request.identifier,c=this._roots.get(u);if(c!=null)c.epoch=this._currentWriteEpoch,c.fetchTime=Date.now();else if(n.request.node.params.operationKind==="query"&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var d={operation:n,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(u),this._roots.set(u,d)}}return a?.({name:"store.notify.complete",sourceOperation:n,updatedRecordIDs:this._updatedRecordIDs,invalidatedRecordIDs:this._invalidatedRecordIDs,subscriptionsSize:this._storeSubscriptions.size(),updatedOwners:l}),this._updatedRecordIDs.clear(),this._invalidatedRecordIDs.clear(),l},t.publish=function(n,r){var o=this._getMutableRecordSource();yJ(o,n,this._currentWriteEpoch+1,r,this._updatedRecordIDs,this._invalidatedRecordIDs);var a=this.__log;a?.({name:"store.publish",source:n,optimistic:o===this._optimisticSource})},t.subscribe=function(n,r){return this._storeSubscriptions.subscribe(n,r)},t.holdGC=function(){var n=this;this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._gcHoldCounter++;var r=function(){n._gcHoldCounter>0&&(n._gcHoldCounter--,n._gcHoldCounter===0&&n._shouldScheduleGC&&(n.scheduleGC(),n._shouldScheduleGC=!1))};return{dispose:r}},t.toJSON=function(){return"RelayModernStore()"},t.getEpoch=function(){return this._currentWriteEpoch},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t.lookupInvalidationState=function(n){var r=this,o=new Map;return n.forEach(function(a){var s,l=r.getSource().get(a);o.set(a,(s=zt.getInvalidationEpoch(l))!==null&&s!==void 0?s:null)}),o.set("global",this._globalInvalidationEpoch),{dataIDs:n,invalidations:o}},t.checkInvalidationState=function(n){var r=this.lookupInvalidationState(n.dataIDs),o=r.invalidations,a=n.invalidations;if(o.get("global")!==a.get("global"))return!0;var s=(0,zT.default)(n.dataIDs),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;if(o.get(u)!==a.get(u))return!0}}catch(c){s.e(c)}finally{s.f()}return!1},t.subscribeToInvalidationState=function(n,r){var o=this,a={callback:r,invalidationState:n},s=function(){o._invalidationSubscriptions.delete(a)};return this._invalidationSubscriptions.add(a),{dispose:s}},t._updateInvalidationSubscription=function(n,r){var o=this,a=n.callback,s=n.invalidationState,l=s.dataIDs,u=r||l.some(function(c){return o._invalidatedRecordIDs.has(c)});u&&a()},t.snapshot=function(){this._optimisticSource!=null&&(process.env.NODE_ENV!=="production"?Nc(!1,"RelayModernStore: Unexpected call to snapshot() while a previous snapshot exists."):Nc(!1));var n=this.__log;n?.({name:"store.snapshot"}),this._storeSubscriptions.snapshotSubscriptions(this.getSource()),this._gcRun&&(this._gcRun=null,this._shouldScheduleGC=!0),this._optimisticSource=KT.create(this.getSource())},t.restore=function(){var n=this._optimisticSource;n||(process.env.NODE_ENV!=="production"?Nc(!1,"RelayModernStore: Unexpected call to restore(), expected a snapshot to exist (make sure to call snapshot())."):Nc(!1));var r=this.__log;r?.({name:"store.restore"});var o=KT.getOptimisticRecordIDs(n);this._resolverCache.unsubscribeFromLiveResolverRecords(o),this._optimisticSource=null,this._shouldScheduleGC&&this.scheduleGC(),this._storeSubscriptions.restoreSubscriptions(),this._resolverCache.invalidateResolverRecords(o)},t.scheduleGC=function(){if(this._gcHoldCounter>0){this._shouldScheduleGC=!0;return}this._gcRun||(this._gcRun=this._collect(),this._gcScheduler(this._gcStep))},t.__gc=function(){if(this._optimisticSource==null)for(var n=this._collect();!n.next().done;);},t._collect=function*(){var n=this.__log;e:for(;;){n?.({name:"store.gc.start"});var r=this._currentWriteEpoch,o=new Set,a=(0,zT.default)(this._roots.values()),s;try{for(a.s();!(s=a.n()).done;){var l=s.value.operation,u=l.root;if(dJ.mark(this._recordSource,u,o,this._operationLoader,this._shouldProcessClientComponents),yield,r!==this._currentWriteEpoch){n?.({name:"store.gc.interrupted"});continue e}}}catch(h){a.e(h)}finally{a.f()}if(o.size===0)this._recordSource.clear();else for(var c=this._recordSource.getRecordIDs(),d=0;d<c.length;d++){var f=c[d];if(!o.has(f)){var p=this._recordSource.get(f);if(p!=null){var m=zt.getValue(p,lJ);m?.()}this._recordSource.remove(f)}}n?.({name:"store.gc.end",references:o});return}},t.__getNormalizationOptions=function(n){return{path:n,getDataID:this._getDataID,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull,shouldProcessClientComponents:this._shouldProcessClientComponents,actorIdentifier:this._actorIdentifier}},t.__notifyUpdatedSubscribers=function(n){var r=uJ(n),o=this._updatedRecordIDs;this._updatedRecordIDs=r,this.notify(),this._updatedRecordIDs=o},e})();function gJ(e){if(!e.has(C_)){var t=zt.create(C_,mJ);e.set(C_,t)}}function yJ(e,t,i,n,r,o){n&&n.forEach(function(f){var p=e.get(f),m=t.get(f);if(m!==null){var h;p!=null?h=zt.clone(p):h=m!=null?zt.clone(m):null,h&&(zt.setValue(h,pJ.INVALIDATED_AT_KEY,i),o.add(f),e.set(f,h))}});for(var a=t.getRecordIDs(),s=0;s<a.length;s++){var l=a[s],u=t.get(l),c=e.get(l);if(process.env.NODE_ENV!=="production"&&u&&zt.freeze(u),u&&c){var d=zt.update(c,u);d!==c&&(process.env.NODE_ENV!=="production"&&zt.freeze(d),r.add(l),e.set(l,d))}else u===null?(e.delete(l),c!==null&&r.add(l)):u&&(e.set(l,u),r.add(l))}}function _J(e,t,i,n){var r=e.mostRecentlyInvalidatedAt,o=e.status;if(typeof r=="number"&&(t==null||r>t))return{status:"stale"};if(o==="missing")return{status:"missing"};if(i!=null&&n!=null){var a=i<=Date.now()-n;if(a)return{status:"stale"}}return{status:"available",fetchTime:i??null}}GT.exports=vJ});var JT=S((Qfe,WT)=>{"use strict";var bJ=Ma(),EJ=ft(),SJ=EJ.getRequest,xJ=Lr(),wJ=xJ.createOperationDescriptor,kJ=pt(),RJ=kJ.createReaderSelector,IJ=ce();function NJ(e,t){var i=SJ(t.subscription);if(i.params.operationKind!=="subscription")throw new Error("requestSubscription: Must use Subscription operation");var n=t.configs,r=t.onCompleted,o=t.onError,a=t.onNext,s=t.variables,l=t.cacheConfig,u=wJ(i,s,l);process.env.NODE_ENV!=="production"&&IJ(!(t.updater&&n),"requestSubscription: Expected only one of `updater` and `configs` to be provided");var c=n?bJ.convert(n,i,null,t.updater):t,d=c.updater,f=e.executeSubscription({operation:u,updater:d}).subscribe({next:function(m){if(a!=null){var h=u.fragment,v;if(Array.isArray(m)){var _,b;v=(_=m[0])===null||_===void 0||(b=_.extensions)===null||b===void 0?void 0:b.__relay_subscription_root_id}else{var g;v=(g=m.extensions)===null||g===void 0?void 0:g.__relay_subscription_root_id}typeof v=="string"&&(h=RJ(h.node,v,h.variables,h.owner));var y=e.lookup(h).data;a(y)}},error:o,complete:r});return{dispose:f.unsubscribe}}WT.exports=NJ});var tC=S((Hfe,eC)=>{"use strict";var OJ=K().default,PJ=OJ(de()),XT=ye(),TJ=XT.getModuleComponentKey,CJ=XT.getModuleOperationKey;function DJ(e,t,i,n){var r=(0,PJ.default)({},n);return r[TJ(e)]=i,r[CJ(e)]=t,r}eC.exports=DJ});var nC=S((Gfe,rC)=>{"use strict";var $J=Object.prototype.hasOwnProperty;function AJ(e){for(var t in e)if($J.call(e,t))return!1;return!0}rC.exports=AJ});var sC=S((Yfe,aC)=>{"use strict";var $_=pt(),qJ=$_.getDataIDsFromFragment,LJ=$_.getSelector,FJ=$_.getVariablesFromFragment,MJ=nC(),es=Ft(),jJ=qr(),iC=jJ.stableCopy,UJ=uy(),oC=UJ.intern;function VJ(e,t){var i=LJ(e,t),n=i==null?"null":i.kind==="SingularReaderSelector"?i.owner.identifier:"["+i.selectors.map(function(u){return u.owner.identifier}).join(",")+"]",r=FJ(e,t),o=qJ(e,t);if(es.ENABLE_GETFRAGMENTIDENTIFIER_OPTIMIZATION){var a=typeof o>"u"?"missing":o==null?"null":Array.isArray(o)?"["+o.join(",")+"]":o;return a=es.STRING_INTERN_LEVEL<=1?a:oC(a,es.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+(r==null||MJ(r)?"{}":JSON.stringify(iC(r)))+"/"+a}else{var s,l=(s=JSON.stringify(o))!==null&&s!==void 0?s:"missing";return l=es.STRING_INTERN_LEVEL<=1?l:oC(l,es.MAX_DATA_ID_LENGTH),n+"/"+e.name+"/"+JSON.stringify(iC(r))+"/"+l}}aC.exports=VJ});var A_=S((Wfe,lC)=>{"use strict";var Bt=j();function zJ(e,t){var i,n;((i=e.metadata)===null||i===void 0?void 0:i.plural)===!0&&(process.env.NODE_ENV!=="production"?Bt(!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):Bt(!1));var r=(n=e.metadata)===null||n===void 0?void 0:n.refetch;r==null&&(process.env.NODE_ENV!=="production"?Bt(!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):Bt(!1));var o=r.operation.default?r.operation.default:r.operation,a=r.fragmentPathInResult;typeof o=="string"&&(process.env.NODE_ENV!=="production"?Bt(!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):Bt(!1));var s=r.identifierInfo;return s!=null&&(s.identifierField==null||typeof s.identifierField=="string"||(process.env.NODE_ENV!=="production"?Bt(!1,"Relay: getRefetchMetadata(): Expected `identifierField` to be a string."):Bt(!1)),s.identifierQueryVariableName==null||typeof s.identifierQueryVariableName=="string"||(process.env.NODE_ENV!=="production"?Bt(!1,"Relay: getRefetchMetadata(): Expected `identifierQueryVariableName` to be a string."):Bt(!1))),{fragmentRefPathInResponse:a,identifierInfo:s,refetchableRequest:o,refetchMetadata:r}}lC.exports=zJ});var cC=S((Jfe,uC)=>{"use strict";var BJ=A_(),Ti=j();function KJ(e,t){var i,n,r=BJ(e,t),o=r.refetchableRequest,a=r.refetchMetadata,s=a.connection;s==null&&(process.env.NODE_ENV!=="production"?Ti(!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):Ti(!1));var l=s.path,u=((i=(n=e.metadata)===null||n===void 0?void 0:n.connection)!==null&&i!==void 0?i:[])[0];u==null&&(process.env.NODE_ENV!=="production"?Ti(!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):Ti(!1));var c=a.identifierInfo;return c?.identifierField==null||typeof c.identifierField=="string"||(process.env.NODE_ENV!=="production"?Ti(!1,"Relay: getRefetchMetadata(): Expected `identifierField` to be a string."):Ti(!1)),{connectionPathInFragmentData:l,identifierField:c?.identifierField,paginationRequest:o,paginationMetadata:s,stream:u.stream===!0}}uC.exports=KJ});var pC=S((Xfe,fC)=>{"use strict";var dC=K().default,Oc=dC(Ze()),Ci=dC(de()),Pc=j(),Tc=ce();function ZJ(e,t,i,n,r,o){var a,s=o.backward,l=o.forward;if(e==="backward"){var u;s!=null&&s.count!=null&&s.cursor!=null||(process.env.NODE_ENV!=="production"?Pc(!1,"Relay: Expected backward pagination metadata to be available. If you're seeing this, this is likely a bug in Relay."):Pc(!1)),process.env.NODE_ENV!=="production"&&Tc(!r.hasOwnProperty(s.cursor),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain cursor variable `%s`. This variable is automatically determined by Relay.",s.cursor),process.env.NODE_ENV!=="production"&&Tc(!r.hasOwnProperty(s.count),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain count variable `%s`. This variable is automatically determined by Relay.",s.count);var c=(0,Ci.default)((0,Ci.default)((0,Ci.default)({},n),r),{},(u={},(0,Oc.default)(u,s.cursor,i),(0,Oc.default)(u,s.count,t),u));return l&&l.cursor&&(c[l.cursor]=null),l&&l.count&&(c[l.count]=null),c}l!=null&&l.count!=null&&l.cursor!=null||(process.env.NODE_ENV!=="production"?Pc(!1,"Relay: Expected forward pagination metadata to be available. If you're seeing this, this is likely a bug in Relay."):Pc(!1)),process.env.NODE_ENV!=="production"&&Tc(!r.hasOwnProperty(l.cursor),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain cursor variable `%s`. This variable is automatically determined by Relay.",l.cursor),process.env.NODE_ENV!=="production"&&Tc(!r.hasOwnProperty(l.count),"Relay: `UNSTABLE_extraVariables` provided by caller should not contain count variable `%s`. This variable is automatically determined by Relay.",l.count);var d=(0,Ci.default)((0,Ci.default)((0,Ci.default)({},n),r),{},(a={},(0,Oc.default)(a,l.cursor,i),(0,Oc.default)(a,l.count,t),a));return s&&s.cursor&&(d[s.cursor]=null),s&&s.count&&(d[s.count]=null),d}fC.exports=ZJ});var hC=S((epe,mC)=>{"use strict";var QJ=K().default,HJ=QJ(Re()),Cc=j();function GJ(e,t){var i=e,n=(0,HJ.default)(t),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(i==null)return null;typeof o=="number"?(Array.isArray(i)||(process.env.NODE_ENV!=="production"?Cc(!1,"Relay: Expected an array when extracting value at path. If you're seeing this, this is likely a bug in Relay."):Cc(!1)),i=i[o]):(typeof i=="object"&&!Array.isArray(i)||(process.env.NODE_ENV!=="production"?Cc(!1,"Relay: Expected an object when extracting value at path. If you're seeing this, this is likely a bug in Relay."):Cc(!1)),i=i[o])}}catch(a){n.e(a)}finally{n.f()}return i}mC.exports=GJ});var gC=S((tpe,vC)=>{"use strict";var Di={},YJ={stop:function(){}},WJ={profile:function(t,i){var n=Di[t];if(n&&n.length>0){for(var r=[],o=n.length-1;o>=0;o--){var a=n[o](t,i);r.unshift(a)}return{stop:function(l){r.forEach(function(u){return u(l)})}}}return YJ},attachProfileHandler:function(t,i){Di.hasOwnProperty(t)||(Di[t]=[]),Di[t].push(i)},detachProfileHandler:function(t,i){Di.hasOwnProperty(t)&&JJ(Di[t],i)}};function JJ(e,t){var i=e.indexOf(t);i!==-1&&e.splice(i,1)}vC.exports=WJ});var RC=S((rpe,kC)=>{"use strict";var SC=uN(),XJ=SC.isErrorResult,e8=SC.isValueResult,t8=qa(),r8=Gu(),n8=dy(),i8=fy(),o8=VN(),a8=BN(),s8=rO(),yC=Ma(),l8=cO(),u8=cr(),c8=pO(),d8=gO(),f8=_O(),Dc=Qu(),Kt=ft(),p8=EO(),j_=Et(),m8=j_.generateClientID,h8=j_.generateUniqueClientID,v8=j_.isClientID,g8=DO(),y8=LO(),_8=Ju(),xC=Va(),b8=xC.isSuspenseSentinel,E8=xC.suspenseSentinel,S8=Fy(),x8=b0(),_C=lr(),w8=VP(),bC=Lr(),k8=Qe(),st=pt(),R8=YT(),I8=jy(),N8=Vr(),ht=ye(),O8=zu(),EC=uc(),P8=JT(),T8=tC(),C8=wn(),D8=sC(),$8=cC(),A8=pC(),q8=Hu(),L8=A_(),F8=Lu(),M8=py(),j8=hC(),U8=vi(),V8=U8.handlePotentialSnapshotErrors,z8=ry(),B8=_y(),K8=Ua(),Z8=or(),Q8=Hg(),H8=Vy(),G8=Ft(),Y8=gC(),W8=ny(),wC=qr(),J8=wC.hasCycle,X8=wC.stableCopy,e3=yy();if(process.env.NODE_ENV!=="production"&&(q_=typeof Map!="function"?"Map":null,L_=typeof Set!="function"?"Set":null,F_=typeof Promise!="function"?"Promise":null,M_=typeof Object.assign!="function"?"Object.assign":null,q_||L_||F_||M_))throw new Error("relay-runtime requires ".concat([q_,L_,F_,M_].filter(Boolean).join(", and ")," to exist. ")+"Use a polyfill to provide these for older browsers.");var q_,L_,F_,M_;kC.exports={Environment:w8,Network:l8,Observable:u8,QueryResponseCache:c8,RecordSource:N8,Record:k8,ReplaySubject:W8,Store:R8,areEqualSelectors:st.areEqualSelectors,createFragmentSpecResolver:g8,createNormalizationSelector:st.createNormalizationSelector,createOperationDescriptor:bC.createOperationDescriptor,createReaderSelector:st.createReaderSelector,createRequestDescriptor:bC.createRequestDescriptor,getArgumentValues:ht.getArgumentValues,getDataIDsFromFragment:st.getDataIDsFromFragment,getDataIDsFromObject:st.getDataIDsFromObject,getNode:Kt.getNode,getFragment:Kt.getFragment,getInlineDataFragment:Kt.getInlineDataFragment,getModuleComponentKey:ht.getModuleComponentKey,getModuleOperationKey:ht.getModuleOperationKey,getPaginationFragment:Kt.getPaginationFragment,getPluralSelector:st.getPluralSelector,getRefetchableFragment:Kt.getRefetchableFragment,getRequest:Kt.getRequest,getRequestIdentifier:M8,getSelector:st.getSelector,getSelectorsFromObject:st.getSelectorsFromObject,getSingularSelector:st.getSingularSelector,getStorageKey:ht.getStorageKey,getVariablesFromFragment:st.getVariablesFromFragment,getVariablesFromObject:st.getVariablesFromObject,getVariablesFromPluralFragment:st.getVariablesFromPluralFragment,getVariablesFromSingularFragment:st.getVariablesFromSingularFragment,handlePotentialSnapshotErrors:V8,graphql:Kt.graphql,isErrorResult:XJ,isValueResult:e8,isFragment:Kt.isFragment,isInlineDataFragment:Kt.isInlineDataFragment,isSuspenseSentinel:b8,suspenseSentinel:E8,isRequest:Kt.isRequest,readInlineData:x8,MutationTypes:yC.MutationTypes,RangeOperations:yC.RangeOperations,DefaultHandlerProvider:i8,ConnectionHandler:t8,MutationHandlers:n8,VIEWER_ID:EC.VIEWER_ID,VIEWER_TYPE:EC.VIEWER_TYPE,applyOptimisticMutation:o8,commitLocalUpdate:a8,commitMutation:s8,fetchQuery:d8,fetchQuery_DEPRECATED:f8,isRelayModernEnvironment:_8,requestSubscription:P8,ConnectionInterface:r8,PreloadableQueryRegistry:p8,RelayProfiler:Y8,createPayloadFor3DField:T8,RelayConcreteNode:Z8,RelayError:H8,RelayFeatureFlags:G8,DEFAULT_HANDLE_KEY:Q8.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:ht.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:ht.FRAGMENT_OWNER_KEY,ID_KEY:ht.ID_KEY,REF_KEY:ht.REF_KEY,REFS_KEY:ht.REFS_KEY,ROOT_ID:ht.ROOT_ID,ROOT_TYPE:ht.ROOT_TYPE,TYPENAME_KEY:ht.TYPENAME_KEY,deepFreeze:C8,generateClientID:m8,generateUniqueClientID:h8,getRelayHandleKey:F8,isClientID:v8,isPromise:z8,isScalarAndEqual:B8,recycleNodesInto:K8,stableCopy:X8,hasCycle:J8,getFragmentIdentifier:D8,getRefetchMetadata:L8,getPaginationMetadata:$8,getPaginationVariables:A8,getPendingOperationsForFragment:q8,getValueAtPath:j8,__internal:{ResolverFragments:O8,OperationTracker:I8,createRelayContext:y8,getOperationVariables:_C.getOperationVariables,getLocalVariables:_C.getLocalVariables,fetchQuery:Dc.fetchQuery,fetchQueryDeduped:Dc.fetchQueryDeduped,getPromiseForActiveRequest:Dc.getPromiseForActiveRequest,getObservableForActiveRequest:Dc.getObservableForActiveRequest,normalizeResponse:S8,withProvidedVariables:e3}}});var re=S((npe,IC)=>{"use strict";IC.exports=RC()});var hr=S((Yge,jD)=>{"use strict";var k9=Q(),R9=re(),I9=R9.__internal.createRelayContext;jD.exports=I9(k9)});var os=S((Wge,vr)=>{"use strict";function ob(){return vr.exports=ob=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var i=arguments[t];for(var n in i)({}).hasOwnProperty.call(i,n)&&(e[n]=i[n])}return e},vr.exports.__esModule=!0,vr.exports.default=vr.exports,ob.apply(null,arguments)}vr.exports=ob,vr.exports.__esModule=!0,vr.exports.default=vr.exports});var ss=S((Jge,as)=>{"use strict";function N9(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}as.exports=N9,as.exports.__esModule=!0,as.exports.default=as.exports});var UD=S((Xge,gr)=>{"use strict";function ab(e,t){return gr.exports=ab=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(i,n){return i.__proto__=n,i},gr.exports.__esModule=!0,gr.exports.default=gr.exports,ab(e,t)}gr.exports=ab,gr.exports.__esModule=!0,gr.exports.default=gr.exports});var us=S((eye,ls)=>{"use strict";var O9=UD();function P9(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,O9(e,t)}ls.exports=P9,ls.exports.__esModule=!0,ls.exports.default=ls.exports});var zD=S((tye,VD)=>{"use strict";var od=j();function T9(e,t){t&&typeof t=="object"||(process.env.NODE_ENV!=="production"?od(!1,"Could not create Relay Container for `%s`. Expected a set of GraphQL fragments, got `%s` instead.",e,t):od(!1));for(var i in t)if(t.hasOwnProperty(i)){var n=t[i];n&&(typeof n=="object"||typeof n=="function")||(process.env.NODE_ENV!=="production"?od(!1,"Could not create Relay Container for `%s`. The value of fragment `%s` was expected to be a fragment, got `%s` instead.",e,i,n):od(!1))}}VD.exports=T9});var cs=S((rye,KD)=>{"use strict";function BD(e){return e.displayName||e.name||"Component"}function C9(e){return"Relay("+BD(e)+")"}KD.exports={getComponentName:BD,getContainerName:C9}});var ad=S((nye,ZD)=>{"use strict";var D9=Q();ZD.exports=D9.createContext({rootIsQueryRenderer:!1})});var sd=S((iye,YD)=>{"use strict";var $9=K().default,A9=$9(os()),q9=zD(),GD=cs(),L9=GD.getComponentName,F9=GD.getContainerName,M9=hr(),j9=ad(),QD=j(),sb=Q(),U9=re(),V9=U9.getFragment,HD=sb.useContext;function z9(e,t,i){var n=F9(e);q9(L9(e),t);var r={};for(var o in t)r[o]=V9(t[o]);var a=i(e,r);a.displayName=n;function s(u,c){var d,f=HD(M9);f==null&&(process.env.NODE_ENV!=="production"?QD(!1,"`%s` tried to render a context that was not valid this means that `%s` was rendered outside of a query renderer.",n,n):QD(!1));var p=HD(j9);return sb.createElement(a,(0,A9.default)({},u,{__relayContext:f,__rootIsQueryRenderer:(d=p?.rootIsQueryRenderer)!==null&&d!==void 0?d:!1,componentRef:u.componentRef||c}))}s.displayName=n;var l=sb.forwardRef(s);return process.env.NODE_ENV!=="production"&&(l.__ComponentClass=e,l.displayName=n),l}YD.exports=z9});var JD=S((oye,WD)=>{"use strict";function B9(e){return typeof e=="object"&&e!==null&&typeof e.check=="function"&&typeof e.lookup=="function"&&typeof e.retain=="function"&&typeof e.execute=="function"&&typeof e.subscribe=="function"}WD.exports=B9});var ld=S((aye,t$)=>{"use strict";var K9=JD(),XD=j();function Z9(e){return e$(e)||(process.env.NODE_ENV!=="production"?XD(!1,"RelayContext: Expected `context.relay` to be an object conforming to the `RelayContext` interface, got `%s`.",e):XD(!1)),e}function e$(e){return typeof e=="object"&&e!==null&&!Array.isArray(e)&&K9(e.environment)}t$.exports={assertRelayContext:Z9,isRelayContext:e$}});var l$=S((sye,s$)=>{"use strict";var ds=K().default,Q9=ds(os()),H9=ds(kn()),G9=ds(ss()),Y9=ds(us()),r$=ds(Ze()),W9=["componentRef","__relayContext","__rootIsQueryRenderer"],J9=sd(),X9=cs(),eX=X9.getContainerName,tX=ld(),n$=tX.assertRelayContext,rX=et(),i$=Q(),lb=re(),o$=lb.createFragmentSpecResolver,a$=lb.getDataIDsFromObject,nX=lb.isScalarAndEqual;function iX(e,t){var i,n=eX(e);return i=(function(r){(0,Y9.default)(o,r);function o(s){var l,u;u=r.call(this,s)||this,(0,r$.default)((0,G9.default)(u),"_handleFragmentDataUpdate",function(){var p=u.state.resolver;u.setState(function(m){return p===m.resolver?{data:m.resolver.resolve(),relayProp:ud(m.relayProp.environment)}:null})});var c=n$(s.__relayContext),d=(l=s.__rootIsQueryRenderer)!==null&&l!==void 0?l:!1,f=o$(c,n,t,s,d);return u.state={data:f.resolve(),prevProps:s,prevPropsContext:c,relayProp:ud(c.environment),resolver:f},u}o.getDerivedStateFromProps=function(l,u){var c,d=u.prevProps,f=n$(l.__relayContext),p=(c=l.__rootIsQueryRenderer)!==null&&c!==void 0?c:!1,m=a$(t,d),h=a$(t,l),v=u.resolver;if(u.prevPropsContext.environment!==f.environment||!rX(m,h))return v=o$(f,n,t,l,p),{data:v.resolve(),prevPropsContext:f,prevProps:l,relayProp:ud(f.environment),resolver:v};v.setProps(l);var _=v.resolve();return _!==u.data?{data:_,prevProps:l,prevPropsContext:f,relayProp:ud(f.environment)}:null};var a=o.prototype;return a.componentDidMount=function(){this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},a.componentDidUpdate=function(l,u){this.state.resolver!==u.resolver?(u.resolver.dispose(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},a.componentWillUnmount=function(){this.state.resolver.dispose()},a.shouldComponentUpdate=function(l,u){if(u.data!==this.state.data)return!0;for(var c=Object.keys(l),d=0;d<c.length;d++){var f=c[d];if(f==="__relayContext"){if(u.prevPropsContext.environment!==this.state.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(f)&&!nX(l[f],this.props[f]))return!0}return!1},a._rerenderIfStoreHasChanged=function(){var l=this.state,u=l.data,c=l.resolver,d=c.resolve();u!==d&&this.setState({data:d})},a._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var l=this.state,u=l.data,c=l.resolver,d=c.resolve();c.setCallback(this.props,this._handleFragmentDataUpdate),u!==d&&this.setState({data:d})},a.render=function(){var l=this.props,u=l.componentRef,c=l.__relayContext,d=l.__rootIsQueryRenderer,f=(0,H9.default)(l,W9);return i$.createElement(e,(0,Q9.default)({},f,this.state.data,{ref:u,relay:this.state.relayProp}))},o})(i$.Component),(0,r$.default)(i,"displayName",n),i}function ud(e){return{environment:e}}function oX(e,t){return J9(e,t,iX)}s$.exports={createContainer:oX}});var d$=S((lye,c$)=>{"use strict";var aX=hr(),sX=ad(),lX=et(),qn=Q(),cb=re(),uX=cb.createOperationDescriptor,cX=cb.deepFreeze,dX=cb.getRequest,fX=qn.useLayoutEffect,pX=qn.useState,u$=qn.useRef,ub=qn.useMemo,mX={rootIsQueryRenderer:!0};function hX(e){var t=qn.useRef(e);return lX(t.current,e)||(process.env.NODE_ENV!=="production"&&cX(e),t.current=e),t.current}function vX(e){var t=e.environment,i=e.query,n=e.variables,r=e.render,o=hX(n),a=ub(function(){var p=dX(i);return uX(p,o)},[i,o]),s=ub(function(){return{environment:t}},[t]),l=u$(null),u=pX(null),c=u[1],d=u$(null),f=ub(function(){t.check(a);var p=t.lookup(a.fragment);l.current=p.data;var m=t.retain(a),h=t.subscribe(p,function(b){l.current=b.data,c(l.current)}),v=!1;function _(){v||(v=!0,d.current=null,m.dispose(),h.dispose())}return d.current&&d.current(),d.current=_,p},[t,a]);return fX(function(){var p=d.current;return function(){p&&p()}},[f]),qn.createElement(aX.Provider,{value:s},qn.createElement(sX.Provider,{value:mX},r({props:l.current})))}c$.exports=vX});var db=S((uye,p$)=>{"use strict";var gX=K().default,f$=gX(de()),yX=re(),_X=yX.getSelector;function bX(e,t){var i={};return Object.keys(e).forEach(function(n){var r,o,a,s=e[n],l=t[n],u=_X(s,l),c=u!=null&&u.kind==="PluralReaderSelector"?(r=(o=u.selectors[0])===null||o===void 0?void 0:o.owner.variables)!==null&&r!==void 0?r:{}:(a=u?.owner.variables)!==null&&a!==void 0?a:{};i=(0,f$.default)((0,f$.default)({},i),c)}),i}p$.exports=bX});var cd=S((cye,h$)=>{"use strict";var EX=K().default,m$=EX(Ze()),ji=j(),fb=re(),SX=fb.__internal.fetchQuery,xX=fb.createOperationDescriptor,wX=fb.isRelayModernEnvironment,kX=(function(){function e(i){(0,m$.default)(this,"_selectionReferences",[]),(0,m$.default)(this,"_didFetchFinish",!1),i!=null&&(this._cacheSelectionReference=i.cacheSelectionReference,this._selectionReferences=i.selectionReferences)}var t=e.prototype;return t.getSelectionReferences=function(){return{cacheSelectionReference:this._cacheSelectionReference,selectionReferences:this._selectionReferences}},t.lookupInStore=function(n,r,o){return(o==="store-and-network"||o==="store-or-network")&&n.check(r).status==="available"?(this._retainCachedOperation(n,r),n.lookup(r.fragment)):null},t.getFetchResult=function(){if(this._didFetchFinish){if(this._error!=null)return{error:this._error};if(this._snapshot!=null)return{snapshot:this._snapshot}}else return null},t.execute=function(n){var r=this,o=n.environment,a=n.operation,s=n.preservePreviousReferences,l=s===void 0?!1:s,u=o.retain(a),c=function(){r._selectionReferences=r._selectionReferences.concat(u)},d=function(){l||r.disposeSelectionReferences(),r._selectionReferences=r._selectionReferences.concat(u)},f=function(){r._selectionReferences=r._selectionReferences.concat(u)};return wX(o)?SX(o,a).do({error:c,complete:d,unsubscribe:f}):o.execute({operation:a}).do({error:c,complete:d,unsubscribe:f})},t.setOnDataChange=function(n){this._fetchOptions||(process.env.NODE_ENV!=="production"?ji(!1,"ReactRelayQueryFetcher: `setOnDataChange` should have been called after having called `fetch`"):ji(!1)),typeof n=="function"&&(this._fetchOptions.onDataChangeCallbacks=this._fetchOptions.onDataChangeCallbacks||[],this._fetchOptions.onDataChangeCallbacks.push(n),this._didFetchFinish&&(this._error!=null?n({error:this._error}):this._snapshot!=null&&n({snapshot:this._snapshot})))},t.fetch=function(n,r){var o=this,a=n.environment,s=n.operation,l=n.onDataChange,u=!1,c;this.disposeRequest();var d=this._fetchOptions&&this._fetchOptions.onDataChangeCallbacks;this._fetchOptions={environment:a,onDataChangeCallbacks:d||[],operation:s},l&&this._fetchOptions.onDataChangeCallbacks.indexOf(l)===-1&&this._fetchOptions.onDataChangeCallbacks.push(l);var f=r?xX(s.request.node,s.request.variables,r):s,p=this.execute({environment:a,operation:f}).finally(function(){o._pendingRequest=null}).subscribe({next:function(){o._didFetchFinish=!0,o._error=null,o._onQueryDataAvailable({notifyFirstResult:u})},error:function(h){o._didFetchFinish=!0,o._error=h,o._snapshot=null;var v=o._fetchOptions&&o._fetchOptions.onDataChangeCallbacks;u?v&&v.forEach(function(_){_({error:h})}):c=h}});if(this._pendingRequest={dispose:function(){p.unsubscribe()}},u=!0,c)throw c;return this._snapshot},t.retry=function(n){return this._fetchOptions||(process.env.NODE_ENV!=="production"?ji(!1,"ReactRelayQueryFetcher: `retry` should be called after having called `fetch`"):ji(!1)),this.fetch({environment:this._fetchOptions.environment,operation:this._fetchOptions.operation,onDataChange:null},n)},t.dispose=function(){this.disposeRequest(),this.disposeSelectionReferences()},t.disposeRequest=function(){this._error=null,this._snapshot=null,this._pendingRequest&&this._pendingRequest.dispose(),this._rootSubscription&&(this._rootSubscription.dispose(),this._rootSubscription=null)},t._retainCachedOperation=function(n,r){this._disposeCacheSelectionReference(),this._cacheSelectionReference=n.retain(r)},t._disposeCacheSelectionReference=function(){this._cacheSelectionReference&&this._cacheSelectionReference.dispose(),this._cacheSelectionReference=null},t.disposeSelectionReferences=function(){this._disposeCacheSelectionReference(),this._selectionReferences.forEach(function(n){return n.dispose()}),this._selectionReferences=[]},t._onQueryDataAvailable=function(n){var r=this,o=n.notifyFirstResult;this._fetchOptions||(process.env.NODE_ENV!=="production"?ji(!1,"ReactRelayQueryFetcher: `_onQueryDataAvailable` should have been called after having called `fetch`"):ji(!1));var a=this._fetchOptions,s=a.environment,l=a.onDataChangeCallbacks,u=a.operation;if(!this._snapshot&&(this._snapshot=s.lookup(u.fragment),this._rootSubscription=s.subscribe(this._snapshot,function(d){if(r._fetchOptions!=null){var f=r._fetchOptions.onDataChangeCallbacks;Array.isArray(f)&&f.forEach(function(p){return p({snapshot:d})})}}),this._snapshot&&o&&Array.isArray(l))){var c=this._snapshot;l.forEach(function(d){return d({snapshot:c})})}},e})();h$.exports=kX});var S$=S((dye,E$)=>{"use strict";var Ui=K().default,RX=Ui(os()),pb=Ui(kn()),fs=Ui(ss()),IX=Ui(us()),Ln=Ui(Ze()),He=Ui(de()),NX=["componentRef"],OX=["componentRef","__relayContext","__rootIsQueryRenderer"],PX=["componentRef","__relayContext","__rootIsQueryRenderer"],TX=sd(),mb=db(),b$=cs(),CX=b$.getComponentName,DX=b$.getContainerName,$X=hr(),AX=cd(),qX=ld(),hb=qX.assertRelayContext,vb=et(),Ce=j(),gb=Q(),yr=re(),v$=yr.ConnectionInterface,g$=yr.Observable,dd=yr.RelayFeatureFlags,fd=yr.createFragmentSpecResolver,LX=yr.createOperationDescriptor,y$=yr.getDataIDsFromObject,FX=yr.getRequest,MX=yr.getVariablesFromObject,jX=yr.isScalarAndEqual,yb=ce(),ps="forward";function UX(e){var t=e.path;return t||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Unable to synthesize a getConnectionFromProps function."):Ce(!1)),function(i){for(var n=i[e.fragmentName],r=0;r<t.length;r++){if(!n||typeof n!="object")return null;n=n[t[r]]}return n}}function VX(e){var t=e.count;return t||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Unable to synthesize a getFragmentVariables function."):Ce(!1)),function(i,n){return(0,He.default)((0,He.default)({},i),{},(0,Ln.default)({},t,n))}}function zX(e){var t=null,i=!1;for(var n in e){var r=e[n],o=r.metadata&&r.metadata.connection;r.metadata!==void 0&&(i=!0),o&&(o.length!==1&&(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Only a single @connection is supported, `%s` has %s.",n,o.length):Ce(!1)),t&&(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Only a single fragment with @connection is supported."):Ce(!1)),t=(0,He.default)((0,He.default)({},o[0]),{},{fragmentName:n}))}return!i||t!==null||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: A @connection directive must be present."):Ce(!1)),t||{}}function _$(e){return typeof e=="function"?{error:e,complete:e,unsubscribe:function(i){typeof e=="function"&&e()}}:e||{}}function BX(e,t,i){var n,r=CX(e),o=DX(e),a=zX(t),s=i.getConnectionFromProps||UX(a),l=i.direction||a.direction;l||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Unable to infer direction of the connection, possibly because both first and last are provided."):Ce(!1));var u=i.getFragmentVariables||VX(a);return n=(function(c){(0,IX.default)(d,c);function d(p){var m,h;h=c.call(this,p)||this,(0,Ln.default)((0,fs.default)(h),"_handleFragmentDataUpdate",function(){h.setState({data:h._resolver.resolve()})}),(0,Ln.default)((0,fs.default)(h),"_hasMore",function(){var b=h._getConnectionData();return!!(b&&b.hasMore&&b.cursor)}),(0,Ln.default)((0,fs.default)(h),"_isLoading",function(){return!!h._refetchSubscription}),(0,Ln.default)((0,fs.default)(h),"_refetchConnection",function(b,g,y){if(!h._canFetchPage("refetchConnection"))return{dispose:function(){}};h._refetchVariables=y;var E={count:b,cursor:null,totalCount:b},x=h._fetchPage(E,_$(g),{force:!0});return{dispose:x.unsubscribe}}),(0,Ln.default)((0,fs.default)(h),"_loadMore",function(b,g,y){if(!h._canFetchPage("loadMore"))return{dispose:function(){}};var E=_$(g),x=h._getConnectionData();if(!x)return g$.create(function($){return $.complete()}).subscribe(E),null;var k=x.edgeCount+b;if(y&&y.force)return h._refetchConnection(k,g);var w=v$.get(),I=w.END_CURSOR,P=w.START_CURSOR,C=x.cursor;process.env.NODE_ENV!=="production"&&yb(C!=null&&C!=="","ReactRelayPaginationContainer: Cannot `loadMore` without valid `%s` (got `%s`)",l===ps?I:P,C);var T={count:b,cursor:C,totalCount:k},N=h._fetchPage(T,E,y);return{dispose:N.unsubscribe}});var v=hb(p.__relayContext),_=(m=p.__rootIsQueryRenderer)!==null&&m!==void 0?m:!1;return h._isARequestInFlight=!1,h._refetchSubscription=null,h._refetchVariables=null,dd.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?h._resolver=fd(v,o,t,p,_):h._resolver=fd(v,o,t,p,_,h._handleFragmentDataUpdate),h.state={data:h._resolver.resolve(),prevContext:v,contextForChildren:v,relayProp:h._buildRelayProp(v),resolverGeneration:0},h._isUnmounted=!1,h._hasFetched=!1,h}var f=d.prototype;return f.componentDidMount=function(){this._isUnmounted=!1,dd.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},f.componentDidUpdate=function(m,h){dd.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0&&(h.resolverGeneration!==this.state.resolverGeneration?this._subscribeToNewResolverAndRerenderIfStoreHasChanged():this._rerenderIfStoreHasChanged())},f.UNSAFE_componentWillReceiveProps=function(m){var h=this,v,_=hb(m.__relayContext),b=(v=m.__rootIsQueryRenderer)!==null&&v!==void 0?v:!1,g=y$(t,this.props),y=y$(t,m),E=mb(t,this.props),x=mb(t,m);_.environment!==this.state.prevContext.environment||!vb(E,x)||!vb(g,y)?(this._cleanup(),dd.ENABLE_CONTAINERS_SUBSCRIBE_ON_COMMIT===!0?this._resolver=fd(_,o,t,m,b):this._resolver=fd(_,o,t,m,b,this._handleFragmentDataUpdate),this.setState(function(w){return{prevContext:_,contextForChildren:_,relayProp:h._buildRelayProp(_),resolverGeneration:w.resolverGeneration+1}})):this._hasFetched||this._resolver.setProps(m);var k=this._resolver.resolve();k!==this.state.data&&this.setState({data:k})},f.componentWillUnmount=function(){this._isUnmounted=!0,this._cleanup()},f.shouldComponentUpdate=function(m,h){if(h.data!==this.state.data||h.relayProp!==this.state.relayProp||h.resolverGeneration!==this.state.resolverGeneration)return!0;for(var v=Object.keys(m),_=0;_<v.length;_++){var b=v[_];if(b==="__relayContext"){if(h.prevContext.environment!==this.state.prevContext.environment)return!0}else if(!t.hasOwnProperty(b)&&!jX(m[b],this.props[b]))return!0}return!1},f._buildRelayProp=function(m){return{hasMore:this._hasMore,isLoading:this._isLoading,loadMore:this._loadMore,refetchConnection:this._refetchConnection,environment:m.environment}},f._rerenderIfStoreHasChanged=function(){var m=this.state.data,h=this._resolver.resolve();m!==h&&this.setState({data:h})},f._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var m=this.state.data,h=this._resolver.resolve();this._resolver.setCallback(this.props,this._handleFragmentDataUpdate),m!==h&&this.setState({data:h})},f._getConnectionData=function(){var m=this.props,h=m.componentRef,v=(0,pb.default)(m,NX),_=(0,He.default)((0,He.default)({},v),this.state.data),b=s(_);if(b==null)return null;var g=v$.get(),y=g.EDGES,E=g.PAGE_INFO,x=g.HAS_NEXT_PAGE,k=g.HAS_PREV_PAGE,w=g.END_CURSOR,I=g.START_CURSOR;typeof b!="object"&&(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Expected `getConnectionFromProps()` in `%s`to return `null` or a plain object with %s and %s properties, got `%s`.",r,y,E,b):Ce(!1));var P=b[y],C=b[E];if(P==null||C==null)return null;Array.isArray(P)||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Expected `getConnectionFromProps()` in `%s`to return an object with %s: Array, got `%s`.",r,y,P):Ce(!1)),typeof C!="object"&&(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Expected `getConnectionFromProps()` in `%s`to return an object with %s: Object, got `%s`.",r,E,C):Ce(!1));var T=l===ps?C[x]:C[k],N=l===ps?C[w]:C[I];return typeof T!="boolean"||P.length!==0&&typeof N>"u"?(process.env.NODE_ENV!=="production"&&yb(!1,"ReactRelayPaginationContainer: Cannot paginate without %s fields in `%s`. Be sure to fetch %s (got `%s`) and %s (got `%s`).",E,r,l===ps?x:k,T,l===ps?w:I,N),null):{cursor:N,edgeCount:P.length,hasMore:T}},f._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new AX),this._queryFetcher},f._canFetchPage=function(m){return this._isUnmounted?(process.env.NODE_ENV!=="production"&&yb(!1,"ReactRelayPaginationContainer: Unexpected call of `%s` on unmounted container `%s`. It looks like some instances of your container still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger `%s` call.",m,o,m),!1):!0},f._fetchPage=function(m,h,v){var _=this,b=hb(this.props.__relayContext),g=b.environment,y=this.props,E=y.componentRef,x=y.__relayContext,k=y.__rootIsQueryRenderer,w=(0,pb.default)(y,OX),I=(0,He.default)((0,He.default)({},w),this.state.data),P,C=mb(t,w);P=MX(t,w),P=(0,He.default)((0,He.default)((0,He.default)({},C),P),this._refetchVariables);var T=i.getVariables(I,{count:m.count,cursor:m.cursor},P);typeof T=="object"&&T!==null||(process.env.NODE_ENV!=="production"?Ce(!1,"ReactRelayPaginationContainer: Expected `getVariables()` to return an object, got `%s` in `%s`.",T,r):Ce(!1)),T=(0,He.default)((0,He.default)({},T),this._refetchVariables),P=(0,He.default)((0,He.default)({},T),P);var N=v?{force:!!v.force}:void 0;N!=null&&v?.metadata!=null&&(N.metadata=v?.metadata);var $=FX(i.query),M=LX($,T,N),U=null;this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._hasFetched=!0;var B=function(oe,H){var he=_._resolver.resolve();_._resolver.setVariables(u(P,m.totalCount),M.request.node);var le=_._resolver.resolve();vb(he,le)?H():_.setState({data:le,contextForChildren:{environment:_.props.__relayContext.environment}},H)},Z=function(){_._refetchSubscription===U&&(_._refetchSubscription=null,_._isARequestInFlight=!1)};return this._isARequestInFlight=!0,U=this._getQueryFetcher().execute({environment:g,operation:M,preservePreviousReferences:!0}).mergeMap(function(J){return g$.create(function(oe){B(J,function(){oe.next(),oe.complete()})})}).do({error:Z,complete:Z,unsubscribe:Z}).subscribe(h||{}),this._refetchSubscription=this._isARequestInFlight?U:null,U},f._cleanup=function(){this._resolver.dispose(),this._refetchVariables=null,this._hasFetched=!1,this._refetchSubscription&&(this._refetchSubscription.unsubscribe(),this._refetchSubscription=null,this._isARequestInFlight=!1),this._queryFetcher&&this._queryFetcher.dispose()},f.render=function(){var m=this.props,h=m.componentRef,v=m.__relayContext,_=m.__rootIsQueryRenderer,b=(0,pb.default)(m,PX);return gb.createElement($X.Provider,{value:this.state.contextForChildren},gb.createElement(e,(0,RX.default)({},b,this.state.data,{ref:h,relay:this.state.relayProp})))},d})(gb.Component),(0,Ln.default)(n,"displayName",o),n}function KX(e,t,i){return TX(e,t,function(n,r){return BX(n,r,i)})}E$.exports={createContainer:KX}});var I$=S((fye,R$)=>{"use strict";var hd=K().default,w$=hd(de()),ZX=hd(ss()),QX=hd(us()),HX=hd(Ze()),GX=hr(),md=cd(),YX=ad(),WX=et(),_b=Q(),Eb=re(),JX=Eb.createOperationDescriptor,XX=Eb.deepFreeze,Sb=Eb.getRequest,vt={},e5={rootIsQueryRenderer:!0},t5=(function(e){(0,QX.default)(t,e);function t(n){var r;r=e.call(this,n)||this,(0,HX.default)((0,ZX.default)(r),"_handleDataChange",function(c){var d=c.error==null?null:c.error,f=c.snapshot==null?null:c.snapshot;r.setState(function(p){var m=p.requestCacheKey;return m&&delete vt[m],f===p.snapshot&&d===p.error?null:{renderProps:pd(d,f,p.queryFetcher,p.retryCallbacks),snapshot:f,requestCacheKey:null}})});var o={handleDataChange:null,handleRetryAfterError:null},a,s;if(n.query){var l=n.query,u=Sb(l);s=xb(u.params,n.variables),a=vt[s]?vt[s].queryFetcher:new md}else a=new md;return r._maybeHiddenOrFastRefresh=!1,r.state=(0,w$.default)({prevPropsEnvironment:n.environment,prevPropsVariables:n.variables,prevQuery:n.query,queryFetcher:a,retryCallbacks:o},k$(n,a,o,s)),r}t.getDerivedStateFromProps=function(r,o){return o.prevQuery!==r.query||o.prevPropsEnvironment!==r.environment||!WX(o.prevPropsVariables,r.variables)?x$(r,o):null};var i=t.prototype;return i.componentDidMount=function(){var r=this;if(this._maybeHiddenOrFastRefresh===!0){this._maybeHiddenOrFastRefresh=!1,this.setState(function(u){var c=x$(r.props,u),d=c.requestCacheKey,f=c.queryFetcher;return d!=null&&vt[d]!=null&&f.setOnDataChange(r._handleDataChange),c});return}var o=this.state,a=o.retryCallbacks,s=o.queryFetcher,l=o.requestCacheKey;l&&delete vt[l],a.handleDataChange=this._handleDataChange,a.handleRetryAfterError=function(u){return r.setState(function(c){var d=c.requestCacheKey;return d&&delete vt[d],{renderProps:bb(),requestCacheKey:null}})},this.props.query&&s.setOnDataChange(this._handleDataChange)},i.componentDidUpdate=function(r,o){var a=this.state,s=a.queryFetcher,l=a.requestCacheKey;l&&(delete vt[l],delete this.state.requestCacheKey),this.props.query&&s!==o.queryFetcher&&s.setOnDataChange(this._handleDataChange)},i.componentWillUnmount=function(){this.state.queryFetcher.dispose(),this._maybeHiddenOrFastRefresh=!0},i.shouldComponentUpdate=function(r,o){return r.render!==this.props.render||o.renderProps!==this.state.renderProps},i.render=function(){var r=this.state,o=r.renderProps,a=r.relayContext;return process.env.NODE_ENV!=="production"&&XX(o),_b.createElement(GX.Provider,{value:a},_b.createElement(YX.Provider,{value:e5},this.props.render(o)))},t})(_b.Component);function bb(){return{error:null,props:null,retry:null}}function r5(){return{error:null,props:{},retry:null}}function pd(e,t,i,n){return{error:e||null,props:t?t.data:null,retry:function(o){var a=i.retry(o);a&&typeof n.handleDataChange=="function"?n.handleDataChange({snapshot:a}):e&&typeof n.handleRetryAfterError=="function"&&n.handleRetryAfterError(e)}}}function xb(e,t){return JSON.stringify({id:e.cacheID?e.cacheID:e.id,variables:t})}function x$(e,t){var i=e.query,n=t.queryFetcher.getSelectionReferences();t.queryFetcher.disposeRequest();var r;if(i){var o=Sb(i),a=xb(o.params,e.variables);r=vt[a]?vt[a].queryFetcher:new md(n)}else r=new md(n);return(0,w$.default)({prevQuery:e.query,prevPropsEnvironment:e.environment,prevPropsVariables:e.variables,queryFetcher:r},k$(e,r,t.retryCallbacks))}function k$(e,t,i,n){var r=e.environment,o=e.query,a=e.variables,s=e.cacheConfig,l=r;if(o){var u=Sb(o),c=JX(u,a,s),d={environment:l};if(typeof n=="string"&&vt[n]){var f=vt[n].snapshot;return f?{error:null,relayContext:d,renderProps:pd(null,f,t,i),snapshot:f,requestCacheKey:n}:{error:null,relayContext:d,renderProps:bb(),snapshot:null,requestCacheKey:n}}try{var p=t.lookupInStore(l,c,e.fetchPolicy),m=t.fetch({environment:l,onDataChange:null,operation:c}),h=m||p;return n=n||xb(u.params,e.variables),vt[n]={queryFetcher:t,snapshot:h},h?{error:null,relayContext:d,renderProps:pd(null,h,t,i),snapshot:h,requestCacheKey:n}:{error:null,relayContext:d,renderProps:bb(),snapshot:null,requestCacheKey:n}}catch(_){return{error:_,relayContext:d,renderProps:pd(_,null,t,i),snapshot:null,requestCacheKey:n}}}else{t.dispose();var v={environment:l};return{error:null,relayContext:v,renderProps:r5(),requestCacheKey:null}}}R$.exports=t5});var $$=S((pye,D$)=>{"use strict";var zi=K().default,n5=zi(os()),i5=zi(kn()),Vi=zi(de()),N$=zi(ss()),o5=zi(us()),wb=zi(Ze()),a5=["componentRef","__relayContext","__rootIsQueryRenderer"],s5=sd(),kb=db(),l5=cs(),u5=l5.getContainerName,c5=hr(),d5=cd(),f5=ld(),Rb=f5.assertRelayContext,O$=et(),Ib=Q(),Fn=re(),p5=Fn.Observable,P$=Fn.createFragmentSpecResolver,m5=Fn.createOperationDescriptor,T$=Fn.getDataIDsFromObject,h5=Fn.getRequest,v5=Fn.getVariablesFromObject,g5=Fn.isScalarAndEqual,y5=ce();function _5(e,t,i){var n,r=u5(e);return n=(function(o){(0,o5.default)(a,o);function a(l){var u,c;c=o.call(this,l)||this,(0,wb.default)((0,N$.default)(c),"_handleFragmentDataUpdate",function(){var m=c.state.resolver;c.setState(function(h){return m===h.resolver?{data:h.resolver.resolve()}:null})}),(0,wb.default)((0,N$.default)(c),"_refetch",function(m,h,v,_){if(c._isUnmounted)return process.env.NODE_ENV!=="production"&&y5(!1,"ReactRelayRefetchContainer: Unexpected call of `refetch` on unmounted container `%s`. It looks like some instances of your container still trying to refetch the data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger `refetch`.",r),{dispose:function(){}};var b=Rb(c.props.__relayContext),g=b.environment,y=kb(t,c.props),E=typeof m=="function"?m(c._getFragmentVariables()):m;E=(0,Vi.default)((0,Vi.default)({},y),E);var x=h?(0,Vi.default)((0,Vi.default)({},E),h):E,k=_?{force:!!_.force}:void 0;k!=null&&_?.metadata!=null&&(k.metadata=_?.metadata);var w=typeof v=="function"?{next:v,error:v}:v||{},I=h5(i),P=m5(I,E,k);c.state.localVariables=E,c._refetchSubscription&&c._refetchSubscription.unsubscribe();var C,T=c._getQueryFetcher().lookupInStore(g,P,_?.fetchPolicy);return T!=null?(c.state.resolver.setVariables(x,P.request.node),c.setState(function(N){return{data:N.resolver.resolve(),contextForChildren:{environment:c.props.__relayContext.environment}}},function(){w.next&&w.next(),w.complete&&w.complete()}),{dispose:function(){}}):(c._getQueryFetcher().execute({environment:g,operation:P,preservePreviousReferences:!0}).mergeMap(function(N){return c.state.resolver.setVariables(x,P.request.node),p5.create(function($){return c.setState(function(M){return{data:M.resolver.resolve(),contextForChildren:{environment:c.props.__relayContext.environment}}},function(){$.next(),$.complete()})})}).finally(function(){c._refetchSubscription===C&&(c._refetchSubscription=null)}).subscribe((0,Vi.default)((0,Vi.default)({},w),{},{start:function($){c._refetchSubscription=C=$,w.start&&w.start($)}})),{dispose:function(){C&&C.unsubscribe()}})});var d=Rb(l.__relayContext),f=(u=l.__rootIsQueryRenderer)!==null&&u!==void 0?u:!1;c._refetchSubscription=null;var p=P$(d,r,t,l,f);return c.state={data:p.resolve(),localVariables:null,prevProps:l,prevPropsContext:d,contextForChildren:d,relayProp:C$(d.environment,c._refetch),resolver:p},c._isUnmounted=!1,c}var s=a.prototype;return s.componentDidMount=function(){this._isUnmounted=!1,this._subscribeToNewResolverAndRerenderIfStoreHasChanged()},s.componentDidUpdate=function(u,c){this.state.resolver!==c.resolver?(c.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe(),this._subscribeToNewResolverAndRerenderIfStoreHasChanged()):this._rerenderIfStoreHasChanged()},a.getDerivedStateFromProps=function(u,c){var d,f=c.prevProps,p=Rb(u.__relayContext),m=(d=u.__rootIsQueryRenderer)!==null&&d!==void 0?d:!1,h=T$(t,f),v=T$(t,u),_=kb(t,f),b=kb(t,u),g=c.resolver;if(c.prevPropsContext.environment!==p.environment||!O$(_,b)||!O$(h,v))return g=P$(p,r,t,u,m),{data:g.resolve(),localVariables:null,prevProps:u,prevPropsContext:p,contextForChildren:p,relayProp:C$(p.environment,c.relayProp.refetch),resolver:g};c.localVariables||g.setProps(u);var y=g.resolve();return y!==c.data?{data:y,prevProps:u}:null},s.componentWillUnmount=function(){this._isUnmounted=!0,this.state.resolver.dispose(),this._queryFetcher&&this._queryFetcher.dispose(),this._refetchSubscription&&this._refetchSubscription.unsubscribe()},s.shouldComponentUpdate=function(u,c){if(c.data!==this.state.data||c.relayProp!==this.state.relayProp)return!0;for(var d=Object.keys(u),f=0;f<d.length;f++){var p=d[f];if(p==="__relayContext"){if(this.state.prevPropsContext.environment!==c.prevPropsContext.environment)return!0}else if(!t.hasOwnProperty(p)&&!g5(u[p],this.props[p]))return!0}return!1},s._rerenderIfStoreHasChanged=function(){var u=this.state,c=u.data,d=u.resolver,f=d.resolve();c!==f&&this.setState({data:f})},s._subscribeToNewResolverAndRerenderIfStoreHasChanged=function(){var u=this.state,c=u.data,d=u.resolver,f=d.resolve();d.setCallback(this.props,this._handleFragmentDataUpdate),c!==f&&this.setState({data:f})},s._getFragmentVariables=function(){return v5(t,this.props)},s._getQueryFetcher=function(){return this._queryFetcher||(this._queryFetcher=new d5),this._queryFetcher},s.render=function(){var u=this.props,c=u.componentRef,d=u.__relayContext,f=u.__rootIsQueryRenderer,p=(0,i5.default)(u,a5),m=this.state,h=m.relayProp,v=m.contextForChildren;return Ib.createElement(c5.Provider,{value:v},Ib.createElement(e,(0,n5.default)({},p,this.state.data,{ref:c,relay:h})))},a})(Ib.Component),(0,wb.default)(n,"displayName",r),n}function C$(e,t){return{environment:e,refetch:t}}function b5(e,t,i){return s5(e,t,function(n,r){return _5(n,r,i)})}D$.exports={createContainer:b5}});var ms=S((mye,A$)=>{"use strict";var E5=Q(),S5=E5.createContext({wrapPrepareQueryResource:function(t){return t()}});A$.exports=S5});var Le=S((hye,L$)=>{"use strict";var x5=hr(),q$=j(),w5=Q(),k5=w5.useContext;function R5(){var e=k5(x5);return e==null&&(process.env.NODE_ENV!=="production"?q$(!1,"useRelayEnvironment: Expected to have found a Relay environment provided by a `RelayEnvironmentProvider` component. This usually means that useRelayEnvironment was used in a component that is not a descendant of a `RelayEnvironmentProvider`. Please make sure a `RelayEnvironmentProvider` has been rendered somewhere as a parent or ancestor of your component."):q$(!1)),e.environment}L$.exports=R5});var j$=S((vye,M$)=>{"use strict";var I5=ms(),N5=Le(),O5=Q(),F$=Q(),P5=F$.useContext,T5=F$.useEffect,C5=ce();function D5(e){var t=e.entryPointReference,i=e.props;process.env.NODE_ENV!=="production"&&C5(t.isDisposed===!1,"<EntryPointContainer>: Expected entryPointReference to not be disposed yet. This is because disposing the entrypoint marks it for future garbage collection, and as such may no longer be present in the Relay store. In the future, this will become a hard error.");var n=t.getComponent,r=t.queries,o=t.entryPoints,a=t.extraProps,s=t.rootModuleID,l=n(),u=P5(I5),c=N5();return T5(function(){c.__log({name:"entrypoint.root.consume",profilerContext:u,rootModuleID:s})},[c,u,s]),O5.createElement(l,{entryPoints:o,extraProps:a,props:i,queries:r})}M$.exports=D5});var hs=S((gye,G$)=>{"use strict";var $5=K().default,U$=$5(de()),V$=j(),Mn=re(),z$=Mn.__internal.fetchQueryDeduped,B$=Mn.Observable,K$=Mn.PreloadableQueryRegistry,Z$=Mn.ReplaySubject,Q$=Mn.createOperationDescriptor,A5=Mn.getRequest,q5=Mn.getRequestIdentifier,H$=100001;function L5(e,t,i,n,r){var o;H$++;var a=(o=n?.fetchPolicy)!==null&&o!==void 0?o:"store-or-network",s=(0,U$.default)((0,U$.default)({},n?.networkCacheConfig),{},{force:!0}),l,u=!1,c=function(oe,H){return u=!0,e.executeWithSource({operation:oe,source:H})},d=new Z$,f=B$.create(function(J){return d.subscribe(J)}),p,m=null,h=!1,v=function(oe){h=!0;var H=new Z$,he="raw-network-request-"+q5(oe,i),le=z$(e,he,function(){var ve=e.getNetwork();return ve.execute(oe,i,s)}),Ee=le.subscribe({error:function(Be){m=Be,H.error(Be)},next:function(Be){H.next(Be)},complete:function(){H.complete()}}),we=Ee.unsubscribe;return p=we,B$.create(function(ve){var Be=H.subscribe(ve);return function(){Be.unsubscribe(),p()}})},_,b=function(oe,H){h=!0;var he=z$(e,oe.request.identifier,H).subscribe({error:function(Ee){d.error(Ee)},next:function(Ee){d.next(Ee)},complete:function(){d.complete()}});_=he.unsubscribe},g=function(oe){var H=Q$(oe,i,s);if(l=e.retain(H),a!=="store-only"){var he=a!=="store-or-network"||e.check(H).status!=="available";he&&b(H,function(){var le=v(oe.params),Ee=c(H,le);return Ee})}},y,E,x;if(t.kind==="PreloadableConcreteRequest"){var k=t;y=k.params;var w=y;x=w.id,x===null&&(process.env.NODE_ENV!=="production"?V$(!1,"Relay: `loadQuery` requires that preloadable query `%s` has a persisted query id",y.name):V$(!1));var I=K$.get(x);if(I!=null)g(I);else{var P=a==="store-only"?null:v(y),C=K$.onLoad(x,function(J){E();var oe=Q$(J,i,s);l=e.retain(oe),P!=null&&b(oe,function(){return c(oe,P)})});E=C.dispose}}else{var T=t,N=A5(T);y=N.params,x=y.cacheID!=null?y.cacheID:y.id,g(N)}var $=!1,M=!1,U=!1,B=function(){M||(l&&l.dispose(),M=!0)},Z=function(){U||(u?_&&_():p&&p(),E&&E(),U=!0)};return{kind:"PreloadedQuery",environment:e,environmentProviderOptions:r,dispose:function(){$||(B(),Z(),$=!0)},releaseQuery:B,cancelNetworkRequest:Z,fetchKey:H$,id:x,get isDisposed(){return $||M},get networkError(){return m},name:y.name,networkCacheConfig:s,fetchPolicy:a,source:h?f:void 0,variables:i}}G$.exports={loadQuery:L5}});var Nb=S((yye,W$)=>{"use strict";var F5=hs(),M5=F5.loadQuery;function Y$(e,t,i){var n=null;t.root.getModuleIfRequired()==null&&(n=t.root.load());var r=t.getPreloadProps(i),o=r.queries,a=r.entryPoints,s=r.extraProps,l={},u={};if(o!=null){var c=Object.keys(o);c.forEach(function(p){var m=o[p];if(m!=null){var h=m.environmentProviderOptions,v=m.options,_=m.parameters,b=m.variables,g=e.getEnvironment(h);l[p]=M5(g,_,b,{fetchPolicy:v?.fetchPolicy,networkCacheConfig:v?.networkCacheConfig,__nameForWarning:"loadEntryPoint"},h)}})}if(a!=null){var d=Object.keys(a);d.forEach(function(p){var m=a[p];if(m!=null){var h=m.entryPoint,v=m.entryPointParams;u[p]=Y$(e,h,v)}})}var f=!1;return{dispose:function(){f||(l!=null&&Object.values(l).forEach(function(m){var h=m.dispose;h()}),u!=null&&Object.values(u).forEach(function(m){var h=m.dispose;h()}),f=!0)},entryPoints:u,extraProps:s??null,getComponent:function(){var m=t.root.getModuleIfRequired();if(m==null){var h;throw n=(h=n)!==null&&h!==void 0?h:t.root.load(),n}var v=m.default!=null?m.default:m;return v},get isDisposed(){return f},queries:l,rootModuleID:t.root.getModuleId()}}W$.exports=Y$});var eA=S((_ye,X$)=>{"use strict";var j5=hr(),J$=Q(),U5=J$.useMemo;function V5(e){var t=e.children,i=e.environment,n=e.getEnvironmentForActor,r=U5(function(){return{environment:i,getEnvironmentForActor:n}},[i,n]);return J$.createElement(j5.Provider,{value:r},t)}X$.exports=V5});var nA=S((bye,rA)=>{"use strict";var tA=j(),z5=(function(){function e(i){this._capacity=i,this._capacity>0||(process.env.NODE_ENV!=="production"?tA(!1,"LRUCache: Unable to create instance of cache with zero or negative capacity."):tA(!1)),this._map=new Map}var t=e.prototype;return t.set=function(n,r){if(this._map.delete(n),this._map.set(n,r),this._map.size>this._capacity){var o=this._map.keys().next();o.done||this._map.delete(o.value)}},t.get=function(n){var r=this._map.get(n);return r!=null&&(this._map.delete(n),this._map.set(n,r)),r},t.has=function(n){return this._map.has(n)},t.delete=function(n){this._map.delete(n)},t.size=function(){return this._map.size},t.capacity=function(){return this._capacity-this._map.size},t.clear=function(){this._map.clear()},e})();function B5(e){return new z5(e)}rA.exports={create:B5}});var oA=S((Eye,iA)=>{"use strict";var K5=K().default,Ob=K5(Ze()),Z5=ce(),Q5=300*1e3,H5=(function(){function e(i){var n=this;(0,Ob.default)(this,"_retainCount",0),(0,Ob.default)(this,"_retainDisposable",null),(0,Ob.default)(this,"_releaseTemporaryRetain",null),this._retain=function(r){return n._retainCount++,n._retainCount===1&&(n._retainDisposable=i(r)),{dispose:function(){n._retainCount=Math.max(0,n._retainCount-1),n._retainCount===0&&(n._retainDisposable!=null?(n._retainDisposable.dispose(),n._retainDisposable=null):process.env.NODE_ENV!=="production"&&Z5(!1,"Relay: Expected disposable to release query to be defined.If you're seeing this, this is likely a bug in Relay."))}}}}var t=e.prototype;return t.temporaryRetain=function(n){var r=this,o;if(n.isServer())return{dispose:function(){}};var a=this._retain(n),s=null,l=function(){clearTimeout(s),s=null,r._releaseTemporaryRetain=null,a.dispose()};return s=setTimeout(l,Q5),(o=this._releaseTemporaryRetain)===null||o===void 0||o.call(this),this._releaseTemporaryRetain=l,{dispose:function(){var c;(c=r._releaseTemporaryRetain)===null||c===void 0||c.call(r)}}},t.permanentRetain=function(n){var r=this._retain(n);return this.releaseTemporaryRetain(),r},t.releaseTemporaryRetain=function(){var n;(n=this._releaseTemporaryRetain)===null||n===void 0||n.call(this),this._releaseTemporaryRetain=null},t.getRetainCount=function(){return this._retainCount},e})();iA.exports=H5});var Bi=S((Sye,mA)=>{"use strict";var uA=K().default,vd=uA(de()),cA=uA(Ze()),G5=nA(),Y5=oA(),aA=j(),W5=re(),J5=W5.isPromise,X5=ce(),e7=1e3,dA="store-or-network",fA="store-and-network",t7=typeof WeakMap=="function";function gd(e){return e.request.node.params.metadata.live!==void 0}function Tb(e,t,i,n,r){var o=i??(gd(t)?fA:dA),a=n??e.UNSTABLE_getDefaultRenderPolicy(),s="".concat(o,"-").concat(a,"-").concat(t.request.identifier);return r!=null?"".concat(s,"-").concat(r):s}function sA(e,t){var i={__id:e.fragment.dataID,__fragments:(0,cA.default)({},e.fragment.node.name,e.request.variables),__fragmentOwner:e.request};return{cacheIdentifier:t,fragmentNode:e.request.node.fragment,fragmentRef:i,operation:e}}var r7=2e5;function Pb(e,t,i,n,r,o){var a=gd(t),s=n,l=r,u=new Y5(function(d){var f=d.retain(t);return{dispose:function(){a&&l!=null&&l.unsubscribe(),f.dispose(),o(c)}}}),c={cacheIdentifier:e,id:r7++,processedPayloadsCount:0,operationAvailability:i,getValue:function(){return s},setValue:function(f){s=f},setNetworkSubscription:function(f){a&&l!=null&&l.unsubscribe(),l=f},temporaryRetain:function(f){return u.temporaryRetain(f)},permanentRetain:function(f){return u.permanentRetain(f)},releaseTemporaryRetain:function(){u.releaseTemporaryRetain()}};return c}var n7=(function(){function e(i){var n=this;(0,cA.default)(this,"_clearCacheEntry",function(r){n._cache.delete(r.cacheIdentifier)}),this._environment=i,this._cache=G5.create(e7)}var t=e.prototype;return t.prepare=function(n,r,o,a,s,l,u){var c=Tb(this._environment,n,o,a,l);return this.prepareWithIdentifier(c,n,r,o,a,s,u)},t.prepareWithIdentifier=function(n,r,o,a,s,l,u){var c=this._environment,d=a??(gd(r)?fA:dA),f=s??c.UNSTABLE_getDefaultRenderPolicy(),p=this._cache.get(n),m=null,h=p!=null;p==null&&(p=this._fetchAndSaveQuery(n,r,o,d,f,u,(0,vd.default)((0,vd.default)({},l),{},{unsubscribe:function(b){m?.dispose();var g=l?.unsubscribe;g&&g(b)}}))),m=p.temporaryRetain(c);var v=p.getValue();if(J5(v))throw c.__log({name:"suspense.query",fetchPolicy:d,isPromiseCached:h,operation:r,queryAvailability:p.operationAvailability,renderPolicy:f}),v;if(v instanceof Error)throw v;return v},t.retain=function(n,r){var o=this._environment,a=n.cacheIdentifier,s=n.operation,l=this._getOrCreateCacheEntry(a,s,null,n,null),u=l.permanentRetain(o);return o.__log({name:"queryresource.retain",profilerContext:r,resourceID:l.id}),{dispose:function(){u.dispose()}}},t.releaseTemporaryRetain=function(n){var r=this._cache.get(n.cacheIdentifier);r?.releaseTemporaryRetain()},t.TESTS_ONLY__getCacheEntry=function(n,r,o,a){var s=this._environment,l=Tb(s,n,r,o,a);return this._cache.get(l)},t._getOrCreateCacheEntry=function(n,r,o,a,s){var l=this._cache.get(n);return l==null&&(l=Pb(n,r,o,a,s,this._clearCacheEntry),this._cache.set(n,l)),l},t._fetchAndSaveQuery=function(n,r,o,a,s,l,u){var c=this,d=this._environment,f=d.check(r),p=f.status,m=p==="available",h=m||s==="partial"&&p!=="stale",v,_,b=function(){};switch(a){case"store-only":{v=!1,_=!0;break}case"store-or-network":{v=!m,_=h;break}case"store-and-network":{v=!0,_=h;break}case"network-only":default:{v=!0,_=!1;break}}if(_){var g=sA(r,n),y=Pb(n,r,f,g,null,this._clearCacheEntry);this._cache.set(n,y)}if(v){var E=sA(r,n),x;o.subscribe({start:function(T){x=T;var N=c._cache.get(n);N&&N.setNetworkSubscription(x);var $=u?.start;if($){var M=(0,vd.default)((0,vd.default)({},T),{},{unsubscribe:function(){gd(r)&&T.unsubscribe()}});$(M)}},next:function(){var T=c._getOrCreateCacheEntry(n,r,f,E,x);T.processedPayloadsCount+=1,T.setValue(E),b();var N=u?.next;if(N!=null){var $=d.lookup(r.fragment);N($)}},error:function(T){var N=c._getOrCreateCacheEntry(n,r,f,T,x);N.processedPayloadsCount===0?N.setValue(T):process.env.NODE_ENV!=="production"&&X5(!1,"QueryResource: An incremental payload for query `%s` returned an error: `%s`.",r.fragment.node.name,String(T.message)),b(),x=null,N.setNetworkSubscription(null);var $=u?.error;$&&$(T)},complete:function(){b(),x=null;var T=c._cache.get(n);T&&T.setNetworkSubscription(null);var N=u?.complete;N&&N()},unsubscribe:u?.unsubscribe});var k=this._cache.get(n);if(!k){var w=new Promise(function(C){b=C});w.displayName="Relay("+r.fragment.node.name+")",k=Pb(n,r,f,w,x,this._clearCacheEntry),this._cache.set(n,k)}}else{var I=u?.complete;I&&I()}var P=this._cache.get(n);return P==null&&(process.env.NODE_ENV!=="production"?aA(!1,"Relay: Expected to have cached a result when attempting to fetch query.If you're seeing this, this is likely a bug in Relay."):aA(!1)),d.__log({name:"queryresource.fetch",resourceID:P.id,operation:r,profilerContext:l,fetchPolicy:a,renderPolicy:s,queryAvailability:f,shouldFetch:v}),P},e})();function pA(e){return new n7(e)}var lA=t7?new WeakMap:new Map;function i7(e){var t=lA.get(e);if(t)return t;var i=pA(e);return lA.set(e,i),i}mA.exports={createQueryResource:pA,getQueryResourceForEnvironment:i7,getQueryCacheIdentifier:Tb}});var Cb=S((xye,hA)=>{"use strict";var o7=Q(),a7=o7.useMemo;function s7(e){return a7(function(){return{current:e}},[])}hA.exports=s7});var $b=S((wye,yA)=>{"use strict";var vA=Cb(),gA=Q(),Db=gA.useCallback,l7=gA.useEffect;function u7(){var e=vA(null),t=vA(!1),i=Db(function(){e.current!=null&&(e.current.unsubscribe(),e.current=null),t.current=!1},[]),n=Db(function(o){e.current=o,t.current=!0},[]),r=Db(function(){e.current=null,t.current=!1},[]);return l7(function(){return i},[i]),{isFetchingRef:t,startFetch:n,disposeFetch:i,completeFetch:r}}yA.exports=u7});var OA=S((kye,NA)=>{"use strict";var Lb=K().default,_A=Lb(de()),Gr=Lb(Re()),c7=Lb(qt()),d7=Bi(),RA=d7.getQueryResourceForEnvironment,f7=Le(),nt=j(),vs=Q(),p7=vs.useDebugValue,Ab=vs.useEffect,qb=vs.useMemo,bA=vs.useRef,yd=vs.useState,_r=re(),IA=_r.__internal,m7=IA.fetchQuery,h7=IA.getPromiseForActiveRequest,EA=_r.RelayFeatureFlags,SA=_r.areEqualSelectors,v7=_r.createOperationDescriptor,g7=_r.getPendingOperationsForFragment,y7=_r.getSelector,_7=_r.getVariablesFromFragment,xA=_r.handlePotentialSnapshotErrors,wA=_r.recycleNodesInto,b7=ce();function E7(e){return e.kind==="bailout"?!1:e.kind==="singular"?e.snapshot.isMissingData:e.snapshots.some(function(t){return t.isMissingData})}function S7(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingClientEdges)!==null&&t!==void 0?t:null}else{var i=null,n=(0,Gr.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingClientEdges){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,Gr.default)(o.missingClientEdges),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function x7(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingLiveResolverFields)!==null&&t!==void 0?t:null}else{var i=null,n=(0,Gr.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingLiveResolverFields){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,Gr.default)(o.missingLiveResolverFields),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function w7(e,t){if(t.kind==="singular")xA(e,t.snapshot.errorResponseFields);else if(t.kind==="plural"){var i=(0,Gr.default)(t.snapshots),n;try{for(i.s();!(n=i.n()).done;){var r=n.value;xA(e,r.errorResponseFields)}}catch(o){i.e(o)}finally{i.f()}}}function _d(e,t){if(t.kind==="bailout")return null;var i=e.getStore().getEpoch();if(i===t.epoch)return null;if(t.kind==="singular"){var n=e.lookup(t.snapshot.selector),r=wA(t.snapshot.data,n.data),o={data:r,isMissingData:n.isMissingData,missingClientEdges:n.missingClientEdges,missingLiveResolverFields:n.missingLiveResolverFields,seenRecords:n.seenRecords,selector:n.selector,errorResponseFields:n.errorResponseFields};return[r!==t.snapshot.data,{kind:"singular",snapshot:o,epoch:i}]}else{for(var a=!1,s=[],l=0;l<t.snapshots.length;l++){var u=t.snapshots[l],c=e.lookup(u.selector),d=wA(u.data,c.data),f={data:d,isMissingData:c.isMissingData,missingClientEdges:c.missingClientEdges,missingLiveResolverFields:c.missingLiveResolverFields,seenRecords:c.seenRecords,selector:c.selector,errorResponseFields:c.errorResponseFields};d!==u.data&&(a=!0),s.push(f)}return s.length!==t.snapshots.length&&(process.env.NODE_ENV!=="production"?nt(!1,"Expected same number of snapshots"):nt(!1)),[a,{kind:"plural",snapshots:s,epoch:i}]}}function k7(e,t,i,n,r){var o=_7(t,i),a=(0,_A.default)((0,_A.default)({},o),{},{id:n.clientEdgeDestinationID}),s=v7(n.request,a,r?.networkCacheConfig),l=RA(e),u=l.prepare(s,m7(e,s),r?.fetchPolicy);return[u,h7(e,s.request)]}function R7(e,t,i,n){if(t.kind==="bailout")return function(){};if(t.kind==="singular"){var r=e.subscribe(t.snapshot,function(a){i(function(s){if(s.kind!=="singular"||s.snapshot.selector!==a.selector){var l=_d(e,s);if(l!=null){var u=l[0],c=l[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:u}),n.current=u,u?c:s}else return s}return n.current=!0,{kind:"singular",snapshot:a,epoch:e.getStore().getEpoch()}})});return function(){r.dispose()}}else{var o=t.snapshots.map(function(a,s){return e.subscribe(a,function(l){i(function(u){var c;if(u.kind!=="plural"||((c=u.snapshots[s])===null||c===void 0?void 0:c.selector)!==l.selector){var d=_d(e,u);if(d!=null){var f=d[0],p=d[1];return e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:f}),n.current=n.current||f,f?p:u}else return u}var m=(0,c7.default)(u.snapshots);return m[s]=l,n.current=!0,{kind:"plural",snapshots:m,epoch:e.getStore().getEpoch()}})})});return function(){var a=(0,Gr.default)(o),s;try{for(a.s();!(s=a.n()).done;){var l=s.value;l.dispose()}}catch(u){a.e(u)}finally{a.f()}}}}function kA(e,t){return t==null?{kind:"bailout"}:t.kind==="PluralReaderSelector"?{kind:"plural",snapshots:t.selectors.map(function(i){return e.lookup(i)}),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(t),epoch:e.getStore().getEpoch()}}function I7(e,t,i,n){var r,o,a=qb(function(){return y7(e,t)},[e,t]),s=(e==null||(r=e.metadata)===null||r===void 0?void 0:r.plural)===!0;s?t==null||Array.isArray(t)||(process.env.NODE_ENV!=="production"?nt(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,typeof t,e.name):nt(!1)):Array.isArray(t)&&(process.env.NODE_ENV!=="production"?nt(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",e.name,typeof t,e.name):nt(!1)),t==null||s&&Array.isArray(t)&&t.length===0||a!=null||(process.env.NODE_ENV!=="production"?nt(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",e.name,e.name,i,e.name,i):nt(!1));var l=f7(),u=yd(function(){return kA(l,a)}),c=u[0],d=u[1],f=c,p=yd(f),m=p[0],h=p[1],v=m,_=yd(a),b=_[0],g=_[1],y=yd(l),E=y[0],x=y[1];if(!SA(a,b)||l!==E){g(a),x(l);var k=kA(l,a);d(k),h(k),f=k,v=k}var w=bA(!1);if(Ab(function(){w.current=a},[a]),((o=e.metadata)===null||o===void 0?void 0:o.hasClientEdges)===!0){var I=qb(function(){var H=S7(f),he,le=[];if(H!=null&&H.length){he=[];var Ee=(0,Gr.default)(H),we;try{for(Ee.s();!(we=Ee.n()).done;){var ve=we.value,Be=k7(l,e,t,ve,n),Ge=Be[0],gt=Be[1];he.push(Ge),gt!=null&&le.push(gt)}}catch(Ld){Ee.e(Ld)}finally{Ee.f()}}return[he,le]},[f,l,e,t,n]),P=I[0],C=I[1];if(C.length)throw Promise.all(C);Ab(function(){var H=RA(l);if(P!=null&&P.length){var he=[],le=(0,Gr.default)(P),Ee;try{for(le.s();!(Ee=le.n()).done;){var we=Ee.value;he.push(H.retain(we))}}catch(ve){le.e(ve)}finally{le.f()}return function(){for(var ve=0,Be=he;ve<Be.length;ve++){var Ge=Be[ve];Ge.dispose()}}}},[l,P])}if(E7(f)){var T=x7(f);if(T!=null&&T.length>0)throw Promise.all(T.map(function(H){return l.getStore().getLiveResolverPromise(H)}));if(EA.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||l!==E||!w.current||!SA(w.current,a)){a==null&&(process.env.NODE_ENV!=="production"?nt(!1,"refinement, see invariants above"):nt(!1));var N=a.kind==="PluralReaderSelector"?a.selectors[0].owner:a.owner,$=g7(l,e,N);if($)throw $.promise}}w7(l,f);var M=bA(!1);if(Ab(function(){var H=v,he=_d(l,v);if(he!==null){var le=he[0],Ee=he[1];le&&d(Ee),H=Ee}return R7(l,H,d,M)},[l,v]),M.current){var U=_d(l,f);if(U!=null){var B=U[0],Z=U[1];B&&(d(Z),f=Z)}M.current=!1}var J;if(s){var oe=t==null;J=qb(function(){return f.kind==="bailout"?oe?null:[]:(f.kind!=="plural"&&(process.env.NODE_ENV!=="production"?nt(!1,"Expected state to be plural because fragment is plural"):nt(!1)),f.snapshots.map(function(H){return H.data}))},[f,oe])}else f.kind==="bailout"?J=null:(f.kind!=="singular"&&(process.env.NODE_ENV!=="production"?nt(!1,"Expected state to be singular because fragment is singular"):nt(!1)),J=f.snapshot.data);return(EA.LOG_MISSING_RECORDS_IN_PROD||process.env.NODE_ENV!=="production")&&t!=null&&(J===void 0||Array.isArray(J)&&J.length>0&&J.every(function(H){return H===void 0}))&&process.env.NODE_ENV!=="production"&&b7(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",e.name,i,i),process.env.NODE_ENV!=="production"&&p7({fragment:e.name,data:J}),J}NA.exports=I7});var UA=S((Rye,jA)=>{"use strict";var jb=K().default,PA=jb(de()),Yr=jb(Re()),N7=jb(qt()),O7=Bi(),FA=O7.getQueryResourceForEnvironment,P7=Le(),it=j(),gs=Q(),T7=gs.useDebugValue,bd=gs.useEffect,Fb=gs.useMemo,TA=gs.useRef,C7=gs.useState,br=re(),MA=br.__internal,D7=MA.fetchQuery,$7=MA.getPromiseForActiveRequest,CA=br.RelayFeatureFlags,DA=br.areEqualSelectors,A7=br.createOperationDescriptor,q7=br.getPendingOperationsForFragment,L7=br.getSelector,F7=br.getVariablesFromFragment,$A=br.handlePotentialSnapshotErrors,AA=br.recycleNodesInto,M7=ce();function j7(e){return e.kind==="bailout"?!1:e.kind==="singular"?e.snapshot.isMissingData:e.snapshots.some(function(t){return t.isMissingData})}function U7(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingClientEdges)!==null&&t!==void 0?t:null}else{var i=null,n=(0,Yr.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingClientEdges){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,Yr.default)(o.missingClientEdges),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function V7(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingLiveResolverFields)!==null&&t!==void 0?t:null}else{var i=null,n=(0,Yr.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingLiveResolverFields){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,Yr.default)(o.missingLiveResolverFields),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function z7(e,t){if(t.kind==="singular")$A(e,t.snapshot.errorResponseFields);else if(t.kind==="plural"){var i=(0,Yr.default)(t.snapshots),n;try{for(i.s();!(n=i.n()).done;){var r=n.value;$A(e,r.errorResponseFields)}}catch(o){i.e(o)}finally{i.f()}}}function Mb(e,t){if(t.kind==="bailout")return null;var i=e.getStore().getEpoch();if(i===t.epoch)return null;if(t.kind==="singular"){var n=e.lookup(t.snapshot.selector),r=AA(t.snapshot.data,n.data),o={data:r,isMissingData:n.isMissingData,missingClientEdges:n.missingClientEdges,missingLiveResolverFields:n.missingLiveResolverFields,seenRecords:n.seenRecords,selector:n.selector,errorResponseFields:n.errorResponseFields};return[r!==t.snapshot.data,{kind:"singular",snapshot:o,epoch:i,selector:t.selector,environment:t.environment}]}else{for(var a=!1,s=[],l=0;l<t.snapshots.length;l++){var u=t.snapshots[l],c=e.lookup(u.selector),d=AA(u.data,c.data),f={data:d,isMissingData:c.isMissingData,missingClientEdges:c.missingClientEdges,missingLiveResolverFields:c.missingLiveResolverFields,seenRecords:c.seenRecords,selector:c.selector,errorResponseFields:c.errorResponseFields};d!==u.data&&(a=!0),s.push(f)}return s.length!==t.snapshots.length&&(process.env.NODE_ENV!=="production"?it(!1,"Expected same number of snapshots"):it(!1)),[a,{kind:"plural",snapshots:s,epoch:i,selector:t.selector,environment:t.environment}]}}function B7(e,t,i,n,r){var o=F7(t,i),a=(0,PA.default)((0,PA.default)({},o),{},{id:n.clientEdgeDestinationID}),s=A7(n.request,a,r?.networkCacheConfig),l=FA(e),u=l.prepare(s,D7(e,s),r?.fetchPolicy);return[u,$7(e,s.request)]}function qA(e,t,i){if(t.kind==="bailout")return function(){};if(t.kind==="singular"){var n=e.subscribe(t.snapshot,function(o){i(function(a){var s=null;if(a.kind!=="singular"||a.snapshot.selector!==o.selector||a.environment!==e){var l=Mb(a.environment,a);if(l!=null){var u=l[0],c=l[1];e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:u}),s=u?c:a}else s=a}else s={kind:"singular",snapshot:o,epoch:e.getStore().getEpoch(),selector:t.selector,environment:t.environment};return s})});return function(){n.dispose()}}else{var r=t.snapshots.map(function(o,a){return e.subscribe(o,function(s){i(function(l){var u,c=null;if(l.kind!=="plural"||((u=l.snapshots[a])===null||u===void 0?void 0:u.selector)!==s.selector||l.environment!==e){var d=Mb(l.environment,l);if(d!=null){var f=d[0],p=d[1];e.__log({name:"useFragment.subscription.missedUpdates",hasDataChanges:f}),c=f?p:l}else c=l}else{var m=(0,N7.default)(l.snapshots);m[a]=s,c={kind:"plural",snapshots:m,epoch:e.getStore().getEpoch(),selector:t.selector,environment:t.environment}}return c})})});return function(){var o=(0,Yr.default)(r),a;try{for(o.s();!(a=o.n()).done;){var s=a.value;s.dispose()}}catch(l){o.e(l)}finally{o.f()}}}}function LA(e,t){return t==null?{kind:"bailout",environment:e}:t.kind==="PluralReaderSelector"?{kind:"plural",snapshots:t.selectors.map(function(i){return e.lookup(i)}),epoch:e.getStore().getEpoch(),selector:t,environment:e}:{kind:"singular",snapshot:e.lookup(t),epoch:e.getStore().getEpoch(),selector:t,environment:e}}function K7(e,t,i,n){var r,o,a=Fb(function(){return L7(e,t)},[e,t]),s=(e==null||(r=e.metadata)===null||r===void 0?void 0:r.plural)===!0;s?t==null||Array.isArray(t)||(process.env.NODE_ENV!=="production"?it(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",e.name,typeof t,e.name):it(!1)):Array.isArray(t)&&(process.env.NODE_ENV!=="production"?it(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",e.name,typeof t,e.name):it(!1)),t==null||s&&Array.isArray(t)&&t.length===0||a!=null||(process.env.NODE_ENV!=="production"?it(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",e.name,e.name,i,e.name,i):it(!1));var l=P7(),u=C7(function(){return LA(l,a)}),c=u[0],d=u[1],f=c,p=f.environment;if(!DA(a,f.selector)||l!==f.environment){var m=LA(l,a);d(m),f=m}var h=TA(!1);if(bd(function(){h.current=a},[a]),((o=e.metadata)===null||o===void 0?void 0:o.hasClientEdges)===!0){var v=Fb(function(){var I=U7(f),P,C=[];if(I!=null&&I.length){P=[];var T=(0,Yr.default)(I),N;try{for(T.s();!(N=T.n()).done;){var $=N.value,M=B7(l,e,t,$,n),U=M[0],B=M[1];P.push(U),B!=null&&C.push(B)}}catch(Z){T.e(Z)}finally{T.f()}}return[P,C]},[f,l,e,t,n]),_=v[0],b=v[1];if(b.length)throw Promise.all(b);bd(function(){var I=FA(l);if(_!=null&&_.length){var P=[],C=(0,Yr.default)(_),T;try{for(C.s();!(T=C.n()).done;){var N=T.value;P.push(I.retain(N))}}catch($){C.e($)}finally{C.f()}return function(){for(var $=0,M=P;$<M.length;$++){var U=M[$];U.dispose()}}}},[l,_])}if(j7(f)){var g=V7(f);if(g!=null&&g.length>0)throw Promise.all(g.map(function(I){return l.getStore().getLiveResolverPromise(I)}));if(CA.ENABLE_RELAY_OPERATION_TRACKER_SUSPENSE||l!==p||!h.current||!DA(h.current,a)){a==null&&(process.env.NODE_ENV!=="production"?it(!1,"refinement, see invariants above"):it(!1));var y=a.kind==="PluralReaderSelector"?a.selectors[0].owner:a.owner,E=q7(l,e,y);if(E)throw E.promise}}z7(l,f);var x=TA(null);bd(function(){var I=x.current;if(I!=null){if(f.environment===I.environment&&f.selector===I.selector)return;I.dispose()}if(f.kind!=="bailout"){var P=f,C=Mb(f.environment,f);if(C!==null){var T=C[0],N=C[1];if(T){d(N);return}P=N}var $=qA(f.environment,P,d);x.current={dispose:$,selector:f.selector,environment:f.environment}}},[f]),bd(function(){if(x.current==null&&f.kind!=="bailout"){var I=qA(f.environment,f,d);x.current={dispose:I,selector:f.selector,environment:f.environment}}return function(){var P;(P=x.current)===null||P===void 0||P.dispose(),x.current=null}},[]);var k;if(s){var w=t==null;k=Fb(function(){return f.kind==="bailout"?w?null:[]:(f.kind!=="plural"&&(process.env.NODE_ENV!=="production"?it(!1,"Expected state to be plural because fragment is plural"):it(!1)),f.snapshots.map(function(I){return I.data}))},[f,w])}else f.kind==="bailout"?k=null:(f.kind!=="singular"&&(process.env.NODE_ENV!=="production"?it(!1,"Expected state to be singular because fragment is singular"):it(!1)),k=f.snapshot.data);return(CA.LOG_MISSING_RECORDS_IN_PROD||process.env.NODE_ENV!=="production")&&t!=null&&(k===void 0||Array.isArray(k)&&k.length>0&&k.every(function(I){return I===void 0}))&&process.env.NODE_ENV!=="production"&&M7(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",e.name,i,i),process.env.NODE_ENV!=="production"&&T7({fragment:e.name,data:k}),k}jA.exports=K7});var Ed=S((Iye,zA)=>{"use strict";var VA=K().default,Z7=VA(OA()),Q7=VA(UA()),H7=re();function G7(e,t,i,n){return H7.RelayFeatureFlags.ENABLE_ACTIVITY_COMPATIBILITY?(0,Q7.default)(e,t,i,n):(0,Z7.default)(e,t,i,n)}zA.exports=G7});var Vb=S((Nye,KA)=>{"use strict";var Y7=ms(),BA=Bi(),W7=BA.getQueryCacheIdentifier,J7=BA.getQueryResourceForEnvironment,X7=$b(),eee=Ed(),tee=Le(),Sd=Q(),ree=Sd.useContext,Ub=Sd.useEffect,nee=Sd.useState,iee=Sd.useRef;function oee(e){var t=e.query,i=e.componentDisplayName,n=e.fetchObservable,r=e.fetchPolicy,o=e.fetchKey,a=e.renderPolicy,s=tee(),l=ree(Y7),u=J7(s),c=nee(0),d=c[0],f=c[1],p=X7(),m=p.startFetch,h=p.completeFetch,v="".concat(d,"-").concat(o??""),_=W7(s,t,r,a,v),b=l.wrapPrepareQueryResource(function(){return u.prepareWithIdentifier(_,t,n,r,a,{start:m,complete:h,error:h},l)}),g=iee(!1);Ub(function(){return function(){g.current=!0}},[]),Ub(function(){if(g.current===!0){g.current=!1,f(function(w){return w+1});return}var k=u.retain(b,l);return function(){k.dispose()}},[s,_]),Ub(function(){u.releaseTemporaryRetain(b)});var y=b.fragmentNode,E=b.fragmentRef,x=eee(y,E,i);return x}KA.exports=oee});var QA=S((Oye,ZA)=>{"use strict";var aee=et(),see=Q(),lee=see.useState;function uee(e){var t=lee(e),i=t[0],n=t[1];return aee(e,i)?i:(n(e),e)}ZA.exports=uee});var zb=S((Pye,YA)=>{"use strict";var HA=QA(),cee=Q(),GA=re(),dee=GA.createOperationDescriptor,fee=GA.getRequest,pee=cee.useMemo;function mee(e,t,i){var n=HA(t),r=HA(i||{});return pee(function(){return dee(fee(e),n,r)},[e,n,r])}YA.exports=mee});var Bb=S((Tye,WA)=>{"use strict";var hee=Vb(),vee=zb(),gee=Le(),yee=re(),_ee=yee.__internal.fetchQuery;function bee(e,t,i){var n=gee(),r=vee(e,t,i&&i.networkCacheConfig?i.networkCacheConfig:{force:!0}),o=hee({componentDisplayName:"useLazyLoadQuery()",fetchKey:i?.fetchKey,fetchObservable:_ee(n,r),fetchPolicy:i?.fetchPolicy,query:r,renderPolicy:i?.UNSTABLE_renderPolicy});return o}WA.exports=bee});var eq=S((Cye,XA)=>{"use strict";var Eee=K().default,JA=Eee(de()),See=Bb();function xee(e,t,i){var n=e;return See(n,t,(0,JA.default)((0,JA.default)({},i),{},{fetchPolicy:"store-only"}))}XA.exports=xee});var Wr=S((Dye,rq)=>{"use strict";var tq=Q(),wee=tq.useEffect,kee=tq.useRef;function Ree(){var e=kee(!0);return wee(function(){return e.current=!0,function(){e.current=!1}},[]),e}rq.exports=Ree});var lq=S(($ye,sq)=>{"use strict";var Iee=K().default,nq=Iee(Re()),Nee=Nb(),Oee=Wr(),xd=Q(),iq=xd.useCallback,Kb=xd.useEffect,oq=xd.useRef,aq=xd.useState,Pee={kind:"NullEntryPointReference"};function Tee(e,t,i){var n,r,o,a,s=(n=i==null||(r=i.TEST_ONLY__initialEntryPointData)===null||r===void 0?void 0:r.entryPointReference)!==null&&n!==void 0?n:Pee,l=(o=i==null||(a=i.TEST_ONLY__initialEntryPointData)===null||a===void 0?void 0:a.entryPointParams)!==null&&o!==void 0?o:null,u=Oee(),c=oq(new Set([s])),d=aq(s),f=d[0],p=d[1],m=aq(l),h=m[0],v=m[1],_=iq(function(){if(u.current){var y={kind:"NullEntryPointReference"};c.current.add(y),p(y)}},[p,u]),b=iq(function(y){if(u.current){var E=Nee(e,t,y);c.current.add(E),p(E),v(y)}},[e,t,p,u]),g=oq(!1);return Kb(function(){return function(){g.current=!0}},[]),Kb(function(){if(g.current===!0){g.current=!1,f.kind!=="NullEntryPointReference"&&h!=null&&b(h);return}var y=c.current;if(u.current){var E=(0,nq.default)(y),x;try{for(E.s();!(x=E.n()).done;){var k=x.value;if(k===f)break;y.delete(k),k.kind!=="NullEntryPointReference"&&k.dispose()}}catch(w){E.e(w)}finally{E.f()}}},[f,h,b,u]),Kb(function(){return function(){var E=(0,nq.default)(c.current),x;try{for(E.s();!(x=E.n()).done;){var k=x.value;k.kind!=="NullEntryPointReference"&&k.dispose()}}catch(w){E.e(w)}finally{E.f()}}},[]),[f.kind==="NullEntryPointReference"?null:f,b,_]}sq.exports=Tee});var ys=S((Aye,uq)=>{"use strict";var Cee=Cb(),Dee=ce();function $ee(e,t){if(process.env.NODE_ENV!=="production"){var i=Cee(e.name);process.env.NODE_ENV!=="production"&&Dee(i.current===e.name,"Relay: The %s has to remain the same over the lifetime of a component. Changing it is not supported and will result in unexpected behavior.",t)}}uq.exports=$ee});var Zb=S((qye,cq)=>{"use strict";var Aee=Ed(),qee=ys(),Lee=Q(),Fee=Lee.useDebugValue,Mee=re(),jee=Mee.getFragment;function Uee(e,t){var i=jee(e);qee(i,"first argument of useFragment()");var n=Aee(i,t,"useFragment()");return process.env.NODE_ENV!=="production"&&Fee({fragment:i.name,data:n}),n}cq.exports=Uee});var mq=S((Lye,pq)=>{"use strict";var Vee=K().default,dq=Vee(de()),zee=Wr(),Bee=Le(),wd=Q(),Kee=re(),Zee=Kee.commitMutation,Qee=wd.useState,Hee=wd.useEffect,Qb=wd.useRef,fq=wd.useCallback;function Gee(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Zee,i=Bee(),n=zee(),r=Qb(i),o=Qb(e),a=Qb(new Set),s=Qee(!1),l=s[0],u=s[1],c=fq(function(f){r.current===i&&o.current===e&&(a.current.delete(f),n.current&&u(a.current.size>0))},[i,n,e]);Hee(function(){(r.current!==i||o.current!==e)&&(a.current=new Set,n.current&&u(!1),r.current=i,o.current=e)},[i,n,e]);var d=fq(function(f){n.current&&u(!0);var p=t(i,(0,dq.default)((0,dq.default)({},f),{},{mutation:e,onCompleted:function(h,v){var _;c(p),(_=f.onCompleted)===null||_===void 0||_.call(f,h,v)},onError:function(h){var v;c(p),(v=f.onError)===null||v===void 0||v.call(f,h)},onUnsubscribe:function(){var h;c(p),(h=f.onUnsubscribe)===null||h===void 0||h.call(f)},onNext:function(){var h;(h=f.onNext)===null||h===void 0||h.call(f)}}));return a.current.add(p),p},[c,t,i,n,e]);return[d,l]}pq.exports=Gee});var Hb=S((Fye,vq)=>{"use strict";var Jr=j(),hq=re(),Yee=hq.ConnectionInterface,Wee=hq.getValueAtPath;function Jee(e,t,i,n){var r,o,a=Yee.get(),s=a.EDGES,l=a.PAGE_INFO,u=a.HAS_NEXT_PAGE,c=a.HAS_PREV_PAGE,d=a.END_CURSOR,f=a.START_CURSOR,p=Wee(i,n);if(p==null)return{cursor:null,hasMore:!1};typeof p!="object"&&(process.env.NODE_ENV!=="production"?Jr(!1,"Relay: Expected connection in fragment `%s` to have been `null`, or a plain object with %s and %s properties. Instead got `%s`.",t.name,s,l,p):Jr(!1));var m=p[s],h=p[l];if(m==null||h==null)return{cursor:null,hasMore:!1};Array.isArray(m)||(process.env.NODE_ENV!=="production"?Jr(!1,"Relay: Expected connection in fragment `%s` to have a plural `%s` field. Instead got `%s`.",t.name,s,m):Jr(!1)),typeof h!="object"&&(process.env.NODE_ENV!=="production"?Jr(!1,"Relay: Expected connection in fragment `%s` to have a `%s` field. Instead got `%s`.",t.name,l,h):Jr(!1));var v=e==="forward"?(r=h[d])!==null&&r!==void 0?r:null:(o=h[f])!==null&&o!==void 0?o:null;v===null||typeof v=="string"||(process.env.NODE_ENV!=="production"?Jr(!1,"Relay: Expected page info for connection in fragment `%s` to have a valid `%s`. Instead got `%s`.",t.name,f,v):Jr(!1));var _;return e==="forward"?_=v!=null&&h[u]===!0:_=v!=null&&h[c]===!0,{cursor:v,hasMore:_}}vq.exports=Jee});var Yb=S((Mye,_q)=>{"use strict";var Xee=Le(),gq=j(),Gb=Q(),yq=re(),ete=yq.__internal.getObservableForActiveRequest,tte=yq.getSelector,rte=Gb.useEffect,nte=Gb.useState,ite=Gb.useMemo;function ote(e,t){var i=Xee(),n=ite(function(){var s=tte(e,t);return s==null?null:(s.kind!=="SingularReaderSelector"&&(process.env.NODE_ENV!=="production"?gq(!1,"useIsOperationNodeActive: Plural fragments are not supported."):gq(!1)),ete(i,s.owner))},[i,e,t]),r=nte(n!=null),o=r[0],a=r[1];return rte(function(){var s;if(a(n!=null),n!=null){var l=function(){a(!1)};s=n.subscribe({complete:l,error:l})}return function(){s&&s.unsubscribe()}},[n]),o}_q.exports=ote});var wq=S((jye,xq)=>{"use strict";var ate=K().default,_s=ate(de()),ste=Hb(),lte=Wr(),ute=Yb(),cte=Le(),bq=j(),Jb=Q(),Eq=Jb.useCallback,dte=Jb.useRef,Sq=Jb.useState,bs=re(),fte=bs.__internal.fetchQuery,pte=bs.createOperationDescriptor,mte=bs.getPaginationVariables,hte=bs.getRefetchMetadata,vte=bs.getSelector,Wb=ce();function gte(e){var t=e.direction,i=e.fragmentNode,n=e.fragmentRef,r=e.fragmentIdentifier,o=e.fragmentData,a=e.connectionPathInFragmentData,s=e.paginationRequest,l=e.paginationMetadata,u=e.componentDisplayName,c=e.observer,d=e.onReset,f=cte(),p=hte(i,u),m=p.identifierInfo,h=m?.identifierField!=null&&o!=null&&typeof o=="object"?o[m.identifierField]:null,v=dte({kind:"none"}),_=Sq(f),b=_[0],g=_[1],y=Sq(r),E=y[0],x=y[1],k=ute(i,n),w=Eq(function(){v.current.kind==="fetching"&&v.current.subscription.unsubscribe(),v.current={kind:"none"}},[]),I=f!==b||r!==E;I&&(w(),d(),g(f),x(r));var P=ste(t,i,o,a),C=P.cursor,T=P.hasMore,N=lte(),$=Eq(function(M,U){var B=U?.onComplete;if(N.current!==!0)return process.env.NODE_ENV!=="production"&&Wb(!1,"Relay: Unexpected fetch on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",i.name,u),{dispose:function(){}};var Z=vte(i,n);if(v.current.kind==="fetching"||o==null||k)return Z==null&&process.env.NODE_ENV!=="production"&&Wb(!1,"Relay: Unexpected fetch while using a null fragment ref for fragment `%s` in `%s`. When fetching more items, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before paginating.",i.name,u,u),B&&B(null),{dispose:function(){}};Z!=null&&Z.kind!=="PluralReaderSelector"||(process.env.NODE_ENV!=="production"?bq(!1,"Relay: Expected to be able to find a non-plural fragment owner for fragment `%s` when using `%s`. If you're seeing this, this is likely a bug in Relay.",i.name,u):bq(!1));var J=Z.owner.variables,oe=Z.variables,H=U?.UNSTABLE_extraVariables,he=(0,_s.default)((0,_s.default)({},J),oe),le=mte(t,M,C,he,(0,_s.default)({},H),l);m!=null&&(typeof h!="string"&&process.env.NODE_ENV!=="production"&&Wb(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",m.identifierField,h),le[m.identifierQueryVariableName]=h);var Ee=pte(s,le,{force:!0});return fte(f,Ee).subscribe((0,_s.default)((0,_s.default)({},c),{},{start:function(ve){v.current={kind:"fetching",subscription:ve},c.start&&c.start(ve)},complete:function(){v.current={kind:"none"},c.complete&&c.complete(),B&&B(null)},error:function(ve){v.current={kind:"none"},c.complete&&c.complete(),B&&B(ve)}})),{dispose:function(){}}},[f,h,t,C,k,o,i.name,n,u]);return[$,T,w]}xq.exports=gte});var tE=S((Uye,Iq)=>{"use strict";var yte=K().default,Es=yte(de()),_te=Hb(),bte=$b(),Ete=Wr(),Ste=Yb(),xte=wq(),wte=Le(),kq=j(),eE=Q(),kte=eE.useCallback,Rte=eE.useEffect,Rq=eE.useState,Ki=re(),Ite=Ki.__internal.fetchQuery,Nte=Ki.RelayFeatureFlags,Ote=Ki.createOperationDescriptor,Pte=Ki.getPaginationVariables,Tte=Ki.getRefetchMetadata,Cte=Ki.getSelector,Xb=ce();function Dte(e){return Nte.ENABLE_ACTIVITY_COMPATIBILITY?xte(e):$te(e)}function $te(e){var t=e.direction,i=e.fragmentNode,n=e.fragmentRef,r=e.fragmentIdentifier,o=e.fragmentData,a=e.connectionPathInFragmentData,s=e.paginationRequest,l=e.paginationMetadata,u=e.componentDisplayName,c=e.observer,d=e.onReset,f=wte(),p=bte(),m=p.isFetchingRef,h=p.startFetch,v=p.disposeFetch,_=p.completeFetch,b=Tte(i,u),g=b.identifierInfo,y=g?.identifierField!=null&&o!=null&&typeof o=="object"?o[g.identifierField]:null,E=Ete(),x=Rq(f),k=x[0],w=x[1],I=Rq(r),P=I[0],C=I[1],T=Ste(i,n),N=f!==k||r!==P;N&&(v(),d(),w(f),C(r));var $=_te(t,i,o,a),M=$.cursor,U=$.hasMore;Rte(function(){return function(){v()}},[v]);var B=kte(function(Z,J){var oe=J?.onComplete;if(E.current!==!0)return process.env.NODE_ENV!=="production"&&Xb(!1,"Relay: Unexpected fetch on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",i.name,u),{dispose:function(){}};var H=Cte(i,n);if(m.current===!0||o==null||T)return H==null&&process.env.NODE_ENV!=="production"&&Xb(!1,"Relay: Unexpected fetch while using a null fragment ref for fragment `%s` in `%s`. When fetching more items, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before paginating.",i.name,u,u),oe&&oe(null),{dispose:function(){}};H!=null&&H.kind!=="PluralReaderSelector"||(process.env.NODE_ENV!=="production"?kq(!1,"Relay: Expected to be able to find a non-plural fragment owner for fragment `%s` when using `%s`. If you're seeing this, this is likely a bug in Relay.",i.name,u):kq(!1));var he=H.owner.variables,le=H.variables,Ee=J?.UNSTABLE_extraVariables,we=(0,Es.default)((0,Es.default)({},he),le),ve=Pte(t,Z,M,we,(0,Es.default)({},Ee),l);g!=null&&(typeof y!="string"&&process.env.NODE_ENV!=="production"&&Xb(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",g.identifierField,y),ve[g.identifierQueryVariableName]=y);var Be=Ote(s,ve,{force:!0});return Ite(f,Be).subscribe((0,Es.default)((0,Es.default)({},c),{},{start:function(gt){h(gt),c.start&&c.start(gt)},complete:function(){_(),c.complete&&c.complete(),oe&&oe(null)},error:function(gt){_(),c.error&&c.error(gt),oe&&oe(gt)}})),{dispose:v}},[f,y,t,M,h,v,_,m,T,o,i.name,n,u]);return[B,U,v]}Iq.exports=Dte});var Cq=S((Vye,Tq)=>{"use strict";var Pq=K().default,Nq=Pq(de()),kd=Pq(Re()),Ate=Bi(),qte=Ate.getQueryResourceForEnvironment,Xr=j(),jn=re(),Lte=jn.__internal.fetchQuery,Fte=jn.RelayFeatureFlags,Mte=jn.createOperationDescriptor,jte=jn.getPendingOperationsForFragment,Ute=jn.getSelector,Vte=jn.getVariablesFromFragment,Oq=jn.handlePotentialSnapshotErrors,zte=ce();function Bte(e){return e.kind==="bailout"?!1:e.kind==="singular"?e.snapshot.isMissingData:e.snapshots.some(function(t){return t.isMissingData})}function Kte(e){if(e.kind==="bailout")return null;if(e.kind==="singular"){var t;return(t=e.snapshot.missingClientEdges)!==null&&t!==void 0?t:null}else{var i=null,n=(0,kd.default)(e.snapshots),r;try{for(n.s();!(r=n.n()).done;){var o=r.value;if(o.missingClientEdges){var a;i=(a=i)!==null&&a!==void 0?a:[];var s=(0,kd.default)(o.missingClientEdges),l;try{for(s.s();!(l=s.n()).done;){var u=l.value;i.push(u)}}catch(c){s.e(c)}finally{s.f()}}}}catch(c){n.e(c)}finally{n.f()}return i}}function Zte(e,t){if(t.kind==="singular")Oq(e,t.snapshot.errorResponseFields);else if(t.kind==="plural"){var i=(0,kd.default)(t.snapshots),n;try{for(i.s();!(n=i.n()).done;){var r=n.value;Oq(e,r.errorResponseFields)}}catch(o){i.e(o)}finally{i.f()}}}function Qte(e,t,i,n,r){var o=Vte(t,i),a=(0,Nq.default)((0,Nq.default)({},o),{},{id:n.clientEdgeDestinationID}),s=Mte(n.request,a,r?.networkCacheConfig),l=qte(e);return l.prepare(s,Lte(e,s),r?.fetchPolicy)}function Hte(e,t){return t==null?{kind:"bailout"}:t.kind==="PluralReaderSelector"?t.selectors.length===0?{kind:"bailout"}:{kind:"plural",snapshots:t.selectors.map(function(i){return e.lookup(i)}),epoch:e.getStore().getEpoch()}:{kind:"singular",snapshot:e.lookup(t),epoch:e.getStore().getEpoch()}}function Gte(e,t,i,n,r,o){var a,s,l=Ute(t,i),u=(t==null||(a=t.metadata)===null||a===void 0?void 0:a.plural)===!0;u?i==null||Array.isArray(i)||(process.env.NODE_ENV!=="production"?Xr(!1,"Relay: Expected fragment pointer%s for fragment `%s` to be an array, instead got `%s`. Remove `@relay(plural: true)` from fragment `%s` to allow the prop to be an object.",o!=null?" for key `".concat(o,"`"):"",t.name,typeof i,t.name):Xr(!1)):Array.isArray(i)&&(process.env.NODE_ENV!=="production"?Xr(!1,"Relay: Expected fragment pointer%s for fragment `%s` not to be an array, instead got `%s`. Add `@relay(plural: true)` to fragment `%s` to allow the prop to be an array.",o!=null?" for key `".concat(o,"`"):"",t.name,typeof i,t.name):Xr(!1)),i==null||u&&Array.isArray(i)&&i.length===0||l!=null||(process.env.NODE_ENV!=="production"?Xr(!1,"Relay: Expected to receive an object where `...%s` was spread, but the fragment reference was not found`. This is most likely the result of:\n- Forgetting to spread `%s` in `%s`'s parent's fragment.\n- Conditionally fetching `%s` but unconditionally passing %s prop to `%s`. If the parent fragment only fetches the fragment conditionally - with e.g. `@include`, `@skip`, or inside a `... on SomeType { }` spread - then the fragment reference will not exist. In this case, pass `null` if the conditions for evaluating the fragment are not met (e.g. if the `@include(if)` value is false.)",t.name,t.name,n,t.name,o==null?"a fragment reference":"the `".concat(o,"`"),n):Xr(!1));var c=Hte(e,l),d=null;if(((s=t.metadata)===null||s===void 0?void 0:s.hasClientEdges)===!0){var f=Kte(c);if(f!=null&&f.length){d=[];var p=(0,kd.default)(f),m;try{for(p.s();!(m=p.n()).done;){var h=m.value;d.push(Qte(e,t,i,h,r))}}catch(g){p.e(g)}finally{p.f()}}}if(Bte(c)){l==null&&(process.env.NODE_ENV!=="production"?Xr(!1,"refinement, see invariants above"):Xr(!1));var v=l.kind==="PluralReaderSelector"?l.selectors[0].owner:l.owner,_=jte(e,t,v);if(_)throw _.promise;Zte(e,c)}var b;return c.kind==="bailout"?b=u?[]:null:c.kind==="singular"?b=c.snapshot.data:b=c.snapshots.map(function(g){return g.data}),(Fte.LOG_MISSING_RECORDS_IN_PROD||process.env.NODE_ENV!=="production")&&i!=null&&(b===void 0||Array.isArray(b)&&b.length>0&&b.every(function(g){return g===void 0}))&&process.env.NODE_ENV!=="production"&&zte(!1,"Relay: Expected to have been able to read non-null data for fragment `%s` declared in `%s`, since fragment reference was non-null. Make sure that that `%s`'s parent isn't holding on to and/or passing a fragment reference for data that has been deleted.",t.name,n,n),{data:b,clientEdgeQueries:d}}Tq.exports=Gte});var qq=S((zye,Aq)=>{"use strict";var Yte=K().default,Wte=Yte(Re()),Jte=hs(),Xte=Jte.loadQuery,ere=Wr(),tre=Le(),Ss=Q(),rE=Ss.useCallback,rre=Ss.useEffect,nre=Ss.useInsertionEffect,Dq=Ss.useRef,$q=Ss.useState,ire=re(),ore=ire.getRequest,nE={kind:"NullQueryReference"};function are(e){if(e.kind==="PreloadableConcreteRequest")return e.params.metadata.live!==void 0;var t=ore(e);return t.params.metadata.live!==void 0}var sre=1e3*60*5;function lre(e,t){var i=t??nE,n=tre(),r=ere(),o=Dq(null);o.current==null&&(o.current=new Set([i]));var a=$q(function(){return i}),s=a[0],l=a[1],u=$q(function(){return i}),c=u[0],d=u[1];if(i!==c){var f;(f=o.current)===null||f===void 0||f.add(i),d(i),l(i)}var p=rE(function(){if(r.current){var _;(_=o.current)===null||_===void 0||_.add(nE),l(nE)}},[r]),m=rE(function(_,b){var g,y;if(r.current){var E=b!=null&&b.hasOwnProperty("__environment")?{fetchPolicy:b.fetchPolicy,networkCacheConfig:b.networkCacheConfig,__nameForWarning:b.__nameForWarning}:b,x=Xte((g=b?.__environment)!==null&&g!==void 0?g:n,e,_,E);(y=o.current)===null||y===void 0||y.add(x),l(x)}},[n,e,l,r]),h=rE(function(b,g){var y,E=(y=o.current)!==null&&y!==void 0?y:new Set,x=(0,Wte.default)(E),k;try{for(x.s();!(k=x.n()).done;){var w=k.value;w!==g&&w.kind!=="NullQueryReference"&&(are(b)?w.dispose&&w.dispose():w.releaseQuery&&w.releaseQuery())}}catch(I){x.e(I)}finally{x.f()}},[]),v=Dq(null);return rre(function(){return h(e,s),v.current!=null&&(clearTimeout(v.current),v.current=null),function(){v.current=setTimeout(function(){h(e,null)},sre)}},[e,s]),nre(function(){return function(){v.current&&clearTimeout(v.current),v.current=null,h(e,null)}},[e]),[s.kind==="NullQueryReference"?null:s,m,p]}Aq.exports=lre});var aE=S((Bye,zq)=>{"use strict";var ure=K().default,Lq=ure(Re()),cre=hs(),dre=cre.loadQuery,fre=Wr(),pre=qq(),mre=Le(),Rd=Q(),Fq=Rd.useCallback,iE=Rd.useEffect,Mq=Rd.useRef,jq=Rd.useState,Vq=re(),hre=Vq.RelayFeatureFlags,vre=Vq.getRequest,oE={kind:"NullQueryReference"};function Uq(e){if(e.kind==="PreloadableConcreteRequest")return e.params.metadata.live!==void 0;var t=vre(e);return t.params.metadata.live!==void 0}function gre(e,t){return hre.ENABLE_ACTIVITY_COMPATIBILITY?pre(e,t):yre(e,t)}function yre(e,t){var i=t??oE,n=mre(),r=fre(),o=Mq(new Set([i])),a=jq(function(){return i}),s=a[0],l=a[1],u=jq(function(){return i}),c=u[0],d=u[1];i!==c&&(o.current.add(i),d(i),l(i));var f=Fq(function(){r.current&&(o.current.add(oE),l(oE))},[r]),p=Fq(function(h,v){var _=v!=null&&v.hasOwnProperty("__environment")?{fetchPolicy:v.fetchPolicy,networkCacheConfig:v.networkCacheConfig,__nameForWarning:v.__nameForWarning}:v;if(r.current){var b,g=dre((b=v?.__environment)!==null&&b!==void 0?b:n,e,h,_);o.current.add(g),l(g)}},[n,e,l,r]),m=Mq(!1);return iE(function(){return function(){m.current=!0}},[]),iE(function(){if(m.current===!0){m.current=!1,s.kind!=="NullQueryReference"&&p(s.variables,{fetchPolicy:s.fetchPolicy,networkCacheConfig:s.networkCacheConfig});return}var h=o.current;if(r.current){var v=(0,Lq.default)(h),_;try{for(v.s();!(_=v.n()).done;){var b=_.value;if(b===s)break;h.delete(b),b.kind!=="NullQueryReference"&&(Uq(e)?b.dispose&&b.dispose():b.releaseQuery&&b.releaseQuery())}}catch(g){v.e(g)}finally{v.f()}}},[s,r,p,e]),iE(function(){return function(){var v=(0,Lq.default)(o.current),_;try{for(v.s();!(_=v.n()).done;){var b=_.value;b.kind!=="NullQueryReference"&&(Uq(e)?b.dispose&&b.dispose():b.releaseQuery&&b.releaseQuery())}}catch(g){v.e(g)}finally{v.f()}}},[e]),[s.kind==="NullQueryReference"?null:s,p,f]}zq.exports=gre});var Nd=S((Kye,Kq)=>{"use strict";var _re=K().default,xs=_re(de()),bre=ms(),Ere=Bi(),Sre=Ere.getQueryResourceForEnvironment,xre=Cq(),wre=Ed(),kre=Wr(),Rre=aE(),Ire=Le(),Bq=j(),sE=Q(),Nre=sE.useCallback,Ore=sE.useContext,Pre=sE.useReducer,Zi=re(),Tre=Zi.__internal.fetchQuery,Cre=Zi.createOperationDescriptor,Dre=Zi.getFragmentIdentifier,$re=Zi.getRefetchMetadata,Are=Zi.getSelector,qre=Zi.getValueAtPath,ws=ce();function Lre(e,t){switch(t.type){case"refetch":{var i;return(0,xs.default)((0,xs.default)({},e),{},{fetchPolicy:t.fetchPolicy,mirroredEnvironment:(i=t.refetchEnvironment)!==null&&i!==void 0?i:e.mirroredEnvironment,onComplete:t.onComplete,refetchEnvironment:t.refetchEnvironment,refetchQuery:t.refetchQuery,renderPolicy:t.renderPolicy})}case"reset":return{fetchPolicy:void 0,mirroredEnvironment:t.environment,mirroredFragmentIdentifier:t.fragmentIdentifier,onComplete:void 0,refetchQuery:null,renderPolicy:void 0};default:throw t.type,new Error("useRefetchableFragmentNode: Unexpected action type")}}function Fre(e,t,i){var n=Ire(),r=$re(e,i),o=r.refetchableRequest,a=r.fragmentRefPathInResponse,s=r.identifierInfo,l=Dre(e,t),u=Pre(Lre,{fetchPolicy:void 0,mirroredEnvironment:n,mirroredFragmentIdentifier:l,onComplete:void 0,refetchEnvironment:null,refetchQuery:null,renderPolicy:void 0}),c=u[0],d=u[1],f=c.fetchPolicy,p=c.mirroredEnvironment,m=c.mirroredFragmentIdentifier,h=c.onComplete,v=c.refetchEnvironment,_=c.refetchQuery,b=c.renderPolicy,g=v??n,y=Sre(g),E=Ore(bre),x=g!==p||l!==m,k=Rre(o),w=k[0],I=k[1],P=k[2],C=t;if(x)d({type:"reset",environment:g,fragmentIdentifier:l}),P();else if(_!=null&&w!=null){var T;process.env.NODE_ENV!=="production"&&(T=Id.getInitialIDAndType(_.request.variables,a,s?.identifierQueryVariableName,g));var N=function(H){h&&h(H??null)},$=w.source!=null?w.source:Tre(g,_),M=E.wrapPrepareQueryResource(function(){return y.prepare(_,$,f,b,{error:N,complete:function(){process.env.NODE_ENV!=="production"&&Id.checkSameTypeAfterRefetch(T,g,e,i),N()}},w.fetchKey,E)}),U=xre(g,M.fragmentNode,M.fragmentRef,i).data;U==null&&(process.env.NODE_ENV!=="production"?Bq(!1,"Relay: Expected to be able to read refetch query response. If you're seeing this, this is likely a bug in Relay."):Bq(!1));var B=qre(U,a);C=B,process.env.NODE_ENV!=="production"&&Id.checkSameIDAfterRefetch(T,C,e,i)}var Z=wre(e,C,i),J=Mre(i,d,P,Z,l,e,a,s,I,t,o);return{fragmentData:Z,fragmentRef:C,refetch:J}}function Mre(e,t,i,n,r,o,a,s,l,u,c){var d=kre(),f=s?.identifierField!=null&&n!=null&&typeof n=="object"?n[s.identifierField]:null;return Nre(function(p,m){if(d.current!==!0)return process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Unexpected call to `refetch` on unmounted component for fragment `%s` in `%s`. It looks like some instances of your component are still trying to fetch data but they already unmounted. Please make sure you clear all timers, intervals, async calls, etc that may trigger a fetch.",o.name,e),{dispose:function(){}};u==null&&process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Unexpected call to `refetch` while using a null fragment ref for fragment `%s` in `%s`. When calling `refetch`, we expect initial fragment data to be non-null. Please make sure you're passing a valid fragment ref to `%s` before calling `refetch`, or make sure you pass all required variables to `refetch`.",o.name,e,e);var h=m?.__environment,v=m?.fetchPolicy,_=m?.UNSTABLE_renderPolicy,b=m?.onComplete,g=Are(o,u),y,E;if(g==null)y={},E={};else if(g.kind==="PluralReaderSelector"){var x,k,w,I;y=(x=(k=g.selectors[0])===null||k===void 0?void 0:k.owner.variables)!==null&&x!==void 0?x:{},E=(w=(I=g.selectors[0])===null||I===void 0?void 0:I.variables)!==null&&w!==void 0?w:{}}else y=g.owner.variables,E=g.variables;var P=(0,xs.default)((0,xs.default)((0,xs.default)({},y),E),p);s!=null&&!p.hasOwnProperty(s.identifierQueryVariableName)&&(typeof f!="string"&&process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Expected result to have a string `%s` in order to refetch, got `%s`.",s.identifierField,f),P[s.identifierQueryVariableName]=f);var C=Cre(c,P,{force:!0});return l(C.request.variables,{fetchPolicy:v,__environment:h,__nameForWarning:"refetch"}),t({type:"refetch",fetchPolicy:v,onComplete:b,refetchEnvironment:h,refetchQuery:C,renderPolicy:_}),{dispose:i}},[r,t,i,f,l])}var Id;process.env.NODE_ENV!=="production"&&(Id={getInitialIDAndType:function(t,i,n,r){var o=re(),a=o.Record,s=t?.[n??"id"];if(i.length!==1||i[0]!=="node"||s==null)return null;var l=r.getStore().getSource(),u=l.get(s),c=u==null?null:a.getType(u);return c==null?null:{id:s,typename:c}},checkSameTypeAfterRefetch:function(t,i,n,r){var o=re(),a=o.Record;if(t){var s=i.getStore().getSource(),l=s.get(t.id),u=l&&a.getType(l);u!==t.typename&&process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Call to `refetch` returned data with a different __typename: was `%s`, now `%s`, on `%s` in `%s`. Please make sure the server correctly implementsunique id requirement.",t.typename,u,n.name,r)}},checkSameIDAfterRefetch:function(t,i,n,r){if(t!=null){var o=re(),a=o.ID_KEY,s=i[a];s!=null&&s!==t.id&&process.env.NODE_ENV!=="production"&&ws(!1,"Relay: Call to `refetch` returned a different id, expected `%s`, got `%s`, on `%s` in `%s`. Please make sure the server correctly implements unique id requirement.",s,t.id,n.name,r)}}});Kq.exports=Fre});var Hq=S((Zye,Qq)=>{"use strict";var jre=K().default,Od=jre(de()),Ure=tE(),Vre=Nd(),zre=Le(),Bre=ys(),lE=Q(),Kre=lE.useCallback,Zre=lE.useDebugValue,Qre=lE.useState,uE=re(),Hre=uE.getFragment,Gre=uE.getFragmentIdentifier,Yre=uE.getPaginationMetadata;function Wre(e,t){var i=Hre(e);Bre(i,"first argument of usePaginationFragment()");var n="usePaginationFragment()",r=Yre(i,n),o=r.connectionPathInFragmentData,a=r.paginationRequest,s=r.paginationMetadata,l=Vre(i,t,n),u=l.fragmentData,c=l.fragmentRef,d=l.refetch,f=Gre(i,c),p=Zq({componentDisplayName:n,connectionPathInFragmentData:o,direction:"backward",fragmentData:u,fragmentIdentifier:f,fragmentNode:i,fragmentRef:c,paginationMetadata:s,paginationRequest:a}),m=p[0],h=p[1],v=p[2],_=p[3],b=Zq({componentDisplayName:n,connectionPathInFragmentData:o,direction:"forward",fragmentData:u,fragmentIdentifier:f,fragmentNode:i,fragmentRef:c,paginationMetadata:s,paginationRequest:a}),g=b[0],y=b[1],E=b[2],x=b[3],k=Kre(function(w,I){return x(),_(),d(w,(0,Od.default)((0,Od.default)({},I),{},{__environment:void 0}))},[x,_,d]);return process.env.NODE_ENV!=="production"&&Zre({fragment:i.name,data:u,hasNext:y,isLoadingNext:E,hasPrevious:h,isLoadingPrevious:v}),{data:u,loadNext:g,loadPrevious:m,hasNext:y,hasPrevious:h,isLoadingNext:E,isLoadingPrevious:v,refetch:k}}function Zq(e){var t=zre(),i=Qre(!1),n=i[0],r=i[1],o=function(p){var m,h=(m=t.getScheduler())===null||m===void 0?void 0:m.schedule;h?h(function(){r(p)}):r(p)},a={start:function(){return o(!0)},complete:function(){return o(!1)},error:function(){return o(!1)}},s=function(){return o(!1)},l=Ure((0,Od.default)((0,Od.default)({},e),{},{observer:a,onReset:s})),u=l[0],c=l[1],d=l[2];return[u,c,n,d]}Qq.exports=Wre});var Xq=S((Qye,Jq)=>{"use strict";var Jre=K().default,Gq=Jre(de()),Xre=Zb(),ene=tE(),tne=Nd(),rne=Le(),nne=ys(),Qi=j(),Un=Q(),Pd=Un.useCallback,ine=Un.useDebugValue,one=Un.useEffect,ane=Un.useLayoutEffect,cE=Un.useMemo,Yq=Un.useRef,dE=Un.useState,fE=re(),sne=fE.getFragment,lne=fE.getFragmentIdentifier,une=fE.getPaginationMetadata,pE=re(),cne=pE.ConnectionInterface,Wq=pE.getSelector,dne=pE.getValueAtPath;function fne(e,t,i,n,r){var o,a,s=arguments.length>5&&arguments[5]!==void 0?arguments[5]:1,l=sne(e);nne(l,"first argument of usePrefetchableForwardPaginationFragment_EXPERIMENTAL()");var u="usePrefetchableForwardPaginationFragment_EXPERIMENTAL()",c=une(l,u),d=c.connectionPathInFragmentData,f=c.paginationRequest,p=c.paginationMetadata,m=tne(l,t,u),h=m.fragmentData,v=m.fragmentRef,_=m.refetch,b=lne(l,v),g=cE(function(){var Se=dne(h,d);if(Se==null)return null;var De=cne.get(),ut=De.EDGES;return Se[ut]},[d,h]),y=g==null?-1:g.length,E=dE(n??y),x=E[0],k=E[1],w=x;x===-1&&y!==-1&&(w=n??y,k(w));var I=rne(),P=dE(!1),C=P[0],T=P[1],N=dE(!1),$=N[0],M=N[1],U=Yq(0),B=Pd(function(Se){var De,ut=(De=I.getScheduler())===null||De===void 0?void 0:De.schedule;ut?ut(function(){T(Se)}):T(Se)},[I]),Z=Yq(!1),J=cE(function(){return{start:function(){Z.current=!0,T(!0)},complete:function(){Z.current=!1,B(!1)},error:function(){Z.current=!1,B(!1)}}},[B]),oe=Pd(function(){if(!$){var Se,De=(Se=I.getScheduler())===null||Se===void 0?void 0:Se.schedule;De?De(function(){k(-1)}):k(-1)}Z.current=!1,B(!1)},[I,$,B]),H=ene({componentDisplayName:u,connectionPathInFragmentData:d,direction:"forward",fragmentData:h,fragmentIdentifier:b,fragmentNode:l,fragmentRef:v,paginationMetadata:p,paginationRequest:f,observer:J,onReset:oe}),he=H[0],le=H[1],Ee=H[2];ane(function(){U.current=y-w},[w,y]);var we=r?.UNSTABLE_extraVariables,ve=r?.onComplete,Be=Pd(function(Se,De){(!Z.current||U.current>=0)&&(U.current-=Se,k(function(ut){return ut+Se}),!Z.current&&U.current<0&&he(Math.max(s,Math.min(Se,i-U.current)),De??{onComplete:ve,UNSTABLE_extraVariables:typeof we=="function"?we({hasNext:le,data:h,getServerEdges:function(){var en=Wq(Ge,g);return en==null?[]:(en.kind!=="PluralReaderSelector"&&(process.env.NODE_ENV!=="production"?Qi(!1,"Expected a plural selector"):Qi(!1)),en.selectors.map(function(Yi){return I.lookup(Yi).data}))}}):we}))},[i,he,s,g,h,we,ve]),Ge=(o=e.metadata)===null||o===void 0||(a=o.refetch)===null||a===void 0?void 0:a.edgesFragment;Ge==null&&(process.env.NODE_ENV!=="production"?Qi(!1,"usePrefetchableForwardPaginationFragment_EXPERIMENTAL: Expected the edge fragment to be defined, please make sure you have added `prefetchable_pagination: true` to `@connection`"):Qi(!1)),one(function(){if(!Z.current&&!C&&!$&&le&&(y-w<i||w>y)){var Se=ve;he(Math.max(i-Math.max(y-w,0),w-y,s),{onComplete:Se,UNSTABLE_extraVariables:typeof we=="function"?we({hasNext:le,data:h,getServerEdges:function(){var ut=Wq(Ge,g);return ut==null?[]:(ut.kind!=="PluralReaderSelector"&&(process.env.NODE_ENV!=="production"?Qi(!1,"Expected a plural selector"):Qi(!1)),ut.selectors.map(function(en){return I.lookup(en).data}))}}):we})}},[le,i,$,he,w,we,ve,y,g,C,s,I,Ge]);var gt=Math.min(w,y),Ld=cE(function(){var Se;return(Se=g?.slice(0,gt))!==null&&Se!==void 0?Se:[]},[g,gt]),EL=Xre(Ge,Ld),SL=Pd(function(Se,De){return Ee(),M(!0),_(Se,(0,Gq.default)((0,Gq.default)({},De),{},{onComplete:function(en){var Yi,Fd,yE=(Yi=I.getScheduler())===null||Yi===void 0?void 0:Yi.schedule;yE?yE(function(){M(!1),k(-1)}):(M(!1),k(-1)),De==null||(Fd=De.onComplete)===null||Fd===void 0||Fd.call(De,en)},__environment:void 0}))},[Ee,I,_]);return process.env.NODE_ENV!=="production"&&ine({fragment:l.name,data:h,hasNext:le,isLoadingNext:C}),{edges:EL,data:h,loadNext:Be,hasNext:le||y>w,isLoadingNext:C&&w>y,refetch:SL}}Jq.exports=fne});var iL=S((Hye,nL)=>{"use strict";var pne=Vb(),mne=zb(),hne=Le(),eL=j(),vne=Q(),gne=vne.useDebugValue,yne=re(),rL=yne.__internal,_ne=rL.fetchQueryDeduped,bne=rL.fetchQuery,tL=ce();function Ene(e,t,i){var n=hne(),r=t.fetchKey,o=t.fetchPolicy,a=t.source,s=t.variables,l=t.networkCacheConfig,u=mne(e,s,l),c;if(t.kind==="PreloadedQuery_DEPRECATED")u.request.node.params.name!==t.name&&(process.env.NODE_ENV!=="production"?eL(!1,"usePreloadedQuery(): Expected data to be prefetched for query `%s`, got prefetch results for query `%s`.",u.request.node.params.name,t.name):eL(!1)),c={componentDisplayName:"usePreloadedQuery()",fetchKey:r,fetchObservable:_ne(n,u.request.identifier,function(){return n===t.environment&&a!=null?n.executeWithSource({operation:u,source:a}):n.execute({operation:u})}),fetchPolicy:o,query:u,renderPolicy:i?.UNSTABLE_renderPolicy};else{process.env.NODE_ENV!=="production"&&tL(t.isDisposed===!1,"usePreloadedQuery(): Expected preloadedQuery to not be disposed yet. This is because disposing the query marks it for future garbage collection, and as such query results may no longer be present in the Relay store. In the future, this will become a hard error.");var d=bne(n,u),f;a!=null&&n===t.environment?f=a.ifEmpty(d):(n!==t.environment&&process.env.NODE_ENV!=="production"&&tL(!1,"usePreloadedQuery(): usePreloadedQuery was passed a preloaded query that was created with a different environment than the one that is currently in context. In the future, this will become a hard error."),f=d),c={componentDisplayName:"usePreloadedQuery()",fetchObservable:f,fetchKey:r,fetchPolicy:o,query:u,renderPolicy:i?.UNSTABLE_renderPolicy}}var p=pne(c);return process.env.NODE_ENV!=="production"&&gne({query:t.name,variables:t.variables,data:p,fetchKey:r,fetchPolicy:o,renderPolicy:i?.UNSTABLE_renderPolicy}),p}nL.exports=Ene});var aL=S((Gye,oL)=>{"use strict";var Sne=Nd(),xne=ys(),wne=Q(),kne=wne.useDebugValue,Rne=re(),Ine=Rne.getFragment;function Nne(e,t){var i=Ine(e);xne(i,"first argument of useRefetchableFragment()");var n=Sne(i,t,"useRefetchableFragment()"),r=n.fragmentData,o=n.refetch;return process.env.NODE_ENV!=="production"&&kne({fragment:i.name,data:r}),[r,o]}oL.exports=Nne});var uL=S((Yye,lL)=>{"use strict";var One=Le(),sL=Q(),Pne=sL.useEffect,Tne=sL.useRef;function Cne(e,t){var i=One(),n=Tne(null),r=Array.from(e).sort().join("");return Pne(function(){var o=i.getStore(),a=o.lookupInvalidationState(e),s=o.subscribeToInvalidationState(a,t);return n.current=s,function(){return s.dispose()}},[r,t,i]),{dispose:function(){n.current!=null&&n.current.dispose()}}}lL.exports=Cne});var dL=S((Wye,cL)=>{"use strict";var Dne=Le(),$ne=Q(),Ane=$ne.useEffect,qne=re(),Lne=qne.requestSubscription;function Fne(e,t){var i=t??Lne,n=Dne();Ane(function(){var r=i(n,e),o=r.dispose;return o},[n,e,i])}cL.exports=Fne});var pL=S((Jye,fL)=>{"use strict";var Mne=hr(),jne=l$(),Une=d$(),Vne=S$(),zne=I$(),Bne=$$(),Kne=j$(),Zne=Nb(),Qne=hs(),Hne=Qne.loadQuery,Gne=ms(),Yne=eA(),Wne=eq(),Jne=lq(),Xne=Zb(),eie=Bb(),tie=mq(),rie=Hq(),nie=Xq(),iie=iL(),oie=aE(),aie=aL(),sie=Le(),lie=uL(),uie=dL(),kt=re();fL.exports={ConnectionHandler:kt.ConnectionHandler,QueryRenderer:zne,LocalQueryRenderer:Une,MutationTypes:kt.MutationTypes,RangeOperations:kt.RangeOperations,ReactRelayContext:Mne,applyOptimisticMutation:kt.applyOptimisticMutation,commitLocalUpdate:kt.commitLocalUpdate,commitMutation:kt.commitMutation,createFragmentContainer:jne.createContainer,createPaginationContainer:Vne.createContainer,createRefetchContainer:Bne.createContainer,fetchQuery_DEPRECATED:kt.fetchQuery_DEPRECATED,graphql:kt.graphql,readInlineData:kt.readInlineData,requestSubscription:kt.requestSubscription,EntryPointContainer:Kne,RelayEnvironmentProvider:Yne,ProfilerContext:Gne,fetchQuery:kt.fetchQuery,loadQuery:Hne,loadEntryPoint:Zne,useClientQuery:Wne,useFragment:Xne,useLazyLoadQuery:eie,useEntryPointLoader:Jne,useQueryLoader:oie,useMutation:tie,usePaginationFragment:rie,usePreloadedQuery:iie,useRefetchableFragment:aie,usePrefetchableForwardPaginationFragment_EXPERIMENTAL:nie,useRelayEnvironment:sie,useSubscribeToInvalidationState:lie,useSubscription:uie}});var hL=S((Xye,mL)=>{"use strict";mL.exports=pL()});import*as _E from"@sentry/node";import{nodeProfilingIntegration as xL}from"@sentry/profiling-node";var rn="0.1.5";_E.init({dsn:"https://00036a1647f788d0139d4b9da5d05e4a@o4511344082878464.ingest.de.sentry.io/4511530752278608",integrations:[xL()],release:`@binclusive/cli@${rn}`,environment:rn.includes("-dev")?"development":"production",enableLogs:!0,tracesSampleRate:1,profileSessionSampleRate:1,profileLifecycle:"trace"});import*as qd from"@sentry/node";import{existsSync as af,mkdirSync as uF,readFileSync as cF,renameSync as dF,rmSync as LE,writeFileSync as fF}from"fs";import{homedir as pF}from"os";import{join as Ps}from"path";import{createHash as eF,randomBytes as $E}from"crypto";import{createServer as tF}from"http";import PE from"process";import{Buffer as TE}from"buffer";import CE from"path";import{fileURLToPath as QL}from"url";import{promisify as HL}from"util";import DE from"child_process";import GL,{constants as YL}from"fs/promises";import xE from"process";import wE,{constants as OL}from"fs/promises";import SE from"process";import NL from"os";import Vd from"fs";import RL from"fs";import bE from"fs";var Md;function wL(){try{return bE.statSync("/.dockerenv"),!0}catch{return!1}}function kL(){try{return bE.readFileSync("/proc/self/cgroup","utf8").includes("docker")}catch{return!1}}function jd(){return Md===void 0&&(Md=wL()||kL()),Md}var Ud,IL=()=>{try{return RL.statSync("/run/.containerenv"),!0}catch{return!1}};function nn(){return Ud===void 0&&(Ud=IL()||jd()),Ud}var EE=()=>{if(SE.platform!=="linux")return!1;if(NL.release().toLowerCase().includes("microsoft"))return!nn();try{if(Vd.readFileSync("/proc/version","utf8").toLowerCase().includes("microsoft"))return!nn()}catch{}return Vd.existsSync("/proc/sys/fs/binfmt_misc/WSLInterop")||Vd.existsSync("/run/WSL")?!nn():!1},Er=SE.env.__IS_WSL_TEST__?EE:EE();var PL=(()=>{let e="/mnt/",t;return async function(){if(t)return t;let i="/etc/wsl.conf",n=!1;try{await wE.access(i,OL.F_OK),n=!0}catch{}if(!n)return e;let r=await wE.readFile(i,{encoding:"utf8"}),o=/(?<!#.*)root\s*=\s*(?<mountPoint>.*)/g.exec(r);return o?(t=o.groups.mountPoint.trim(),t=t.endsWith("/")?t:`${t}/`,t):e}})(),TL=async()=>`${await PL()}c/Windows/System32/WindowsPowerShell/v1.0/powershell.exe`,zd=async()=>Er?TL():`${xE.env.SYSTEMROOT||xE.env.windir||String.raw`C:\Windows`}\\System32\\WindowsPowerShell\\v1.0\\powershell.exe`;function Sr(e,t,i){let n=r=>Object.defineProperty(e,t,{value:r,enumerable:!0,writable:!0});return Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get(){let r=i();return n(r),r},set(r){n(r)}}),e}import{promisify as zL}from"util";import Hd from"process";import{execFile as BL}from"child_process";import{promisify as CL}from"util";import DL from"process";import{execFile as $L}from"child_process";var AL=CL($L);async function Bd(){if(DL.platform!=="darwin")throw new Error("macOS only");let{stdout:e}=await AL("defaults",["read","com.apple.LaunchServices/com.apple.launchservices.secure","LSHandlers"]),i=/LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(e)?.groups.id??"com.apple.Safari";return i==="com.apple.safari"?"com.apple.Safari":i}import qL from"process";import{promisify as LL}from"util";import{execFile as FL,execFileSync as Bie}from"child_process";var ML=LL(FL);async function kE(e,{humanReadableOutput:t=!0,signal:i}={}){if(qL.platform!=="darwin")throw new Error("macOS only");let n=t?[]:["-ss"],r={};i&&(r.signal=i);let{stdout:o}=await ML("osascript",["-e",e,n],r);return o.trim()}async function Kd(e){return kE(`tell application "Finder" to set app_path to application file id "${e}" as string
|
|
145
145
|
tell application "System Events" to get value of property list item "CFBundleName" of property list file (app_path & ":Contents:Info.plist")`)}import{promisify as jL}from"util";import{execFile as UL}from"child_process";var VL=jL(UL),Rs={MSEdgeHTM:{name:"Edge",id:"com.microsoft.edge"},MSEdgeBHTML:{name:"Edge Beta",id:"com.microsoft.edge.beta"},MSEdgeDHTML:{name:"Edge Dev",id:"com.microsoft.edge.dev"},AppXq0fevzme2pys62n3e0fbqa7peapykr8v:{name:"Edge",id:"com.microsoft.edge.old"},ChromeHTML:{name:"Chrome",id:"com.google.chrome"},ChromeBHTML:{name:"Chrome Beta",id:"com.google.chrome.beta"},ChromeDHTML:{name:"Chrome Dev",id:"com.google.chrome.dev"},ChromiumHTM:{name:"Chromium",id:"org.chromium.Chromium"},BraveHTML:{name:"Brave",id:"com.brave.Browser"},BraveBHTML:{name:"Brave Beta",id:"com.brave.Browser.beta"},BraveDHTML:{name:"Brave Dev",id:"com.brave.Browser.dev"},BraveSSHTM:{name:"Brave Nightly",id:"com.brave.Browser.nightly"},FirefoxURL:{name:"Firefox",id:"org.mozilla.firefox"},OperaStable:{name:"Opera",id:"com.operasoftware.Opera"},VivaldiHTM:{name:"Vivaldi",id:"com.vivaldi.Vivaldi"},"IE.HTTP":{name:"Internet Explorer",id:"com.microsoft.ie"}},Yie=new Map(Object.entries(Rs)),Zd=class extends Error{};async function Qd(e=VL){let{stdout:t}=await e("reg",["QUERY"," HKEY_CURRENT_USER\\Software\\Microsoft\\Windows\\Shell\\Associations\\UrlAssociations\\http\\UserChoice","/v","ProgId"]),i=/ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(t);if(!i)throw new Zd(`Cannot find Windows browser in stdout: ${JSON.stringify(t)}`);let{id:n}=i.groups,r=n.lastIndexOf("."),o=n.lastIndexOf("-"),a=r===-1?void 0:n.slice(0,r),s=o===-1?void 0:n.slice(0,o);return Rs[n]??Rs[a]??Rs[s]??{name:n,id:n}}var KL=zL(BL),ZL=e=>e.toLowerCase().replaceAll(/(?:^|\s|-)\S/g,t=>t.toUpperCase());async function Gd(){if(Hd.platform==="darwin"){let e=await Bd();return{name:await Kd(e),id:e}}if(Hd.platform==="linux"){let{stdout:e}=await KL("xdg-mime",["query","default","x-scheme-handler/http"]),t=e.trim();return{name:ZL(t.replace(/.desktop$/,"").replace("-"," ")),id:t}}if(Hd.platform==="win32")return Qd();throw new Error("Only macOS, Linux, and Windows are supported")}var WL=HL(DE.execFile),Yd=CE.dirname(QL(import.meta.url)),RE=CE.join(Yd,"xdg-open"),{platform:zn,arch:IE}=PE;async function JL(){let e=await zd(),t=String.raw`(Get-ItemProperty -Path "HKCU:\Software\Microsoft\Windows\Shell\Associations\UrlAssociations\http\UserChoice").ProgId`,i=TE.from(t,"utf16le").toString("base64"),{stdout:n}=await WL(e,["-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-EncodedCommand",i],{encoding:"utf8"}),r=n.trim(),o={ChromeHTML:"com.google.chrome",BraveHTML:"com.brave.Browser",MSEdgeHTM:"com.microsoft.edge",FirefoxURL:"org.mozilla.firefox"};return o[r]?{id:o[r]}:{}}var NE=async(e,t)=>{let i;for(let n of e)try{return await t(n)}catch(r){i=r}throw i},Is=async e=>{if(e={wait:!1,background:!1,newInstance:!1,allowNonzeroExitCode:!1,...e},Array.isArray(e.app))return NE(e.app,s=>Is({...e,app:s}));let{name:t,arguments:i=[]}=e.app??{};if(i=[...i],Array.isArray(t))return NE(t,s=>Is({...e,app:{name:s,arguments:i}}));if(t==="browser"||t==="browserPrivate"){let s={"com.google.chrome":"chrome","google-chrome.desktop":"chrome","com.brave.Browser":"brave","org.mozilla.firefox":"firefox","firefox.desktop":"firefox","com.microsoft.msedge":"edge","com.microsoft.edge":"edge","com.microsoft.edgemac":"edge","microsoft-edge.desktop":"edge"},l={chrome:"--incognito",brave:"--incognito",firefox:"--private-window",edge:"--inPrivate"},u=Er?await JL():await Gd();if(u.id in s){let c=s[u.id];return t==="browserPrivate"&&i.push(l[c]),Is({...e,app:{name:on[c],arguments:i}})}throw new Error(`${u.name} is not supported as a default browser`)}let n,r=[],o={};if(zn==="darwin")n="open",e.wait&&r.push("--wait-apps"),e.background&&r.push("--background"),e.newInstance&&r.push("--new"),t&&r.push("-a",t);else if(zn==="win32"||Er&&!nn()&&!t){n=await zd(),r.push("-NoProfile","-NonInteractive","-ExecutionPolicy","Bypass","-EncodedCommand"),Er||(o.windowsVerbatimArguments=!0);let s=["Start"];e.wait&&s.push("-Wait"),t?(s.push(`"\`"${t}\`""`),e.target&&i.push(e.target)):e.target&&s.push(`"${e.target}"`),i.length>0&&(i=i.map(l=>`"\`"${l}\`""`),s.push("-ArgumentList",i.join(","))),e.target=TE.from(s.join(" "),"utf16le").toString("base64")}else{if(t)n=t;else{let s=!Yd||Yd==="/",l=!1;try{await GL.access(RE,YL.X_OK),l=!0}catch{}n=PE.versions.electron??(zn==="android"||s||!l)?"xdg-open":RE}i.length>0&&r.push(...i),e.wait||(o.stdio="ignore",o.detached=!0)}zn==="darwin"&&i.length>0&&r.push("--args",...i),e.target&&r.push(e.target);let a=DE.spawn(n,r,o);return e.wait?new Promise((s,l)=>{a.once("error",l),a.once("close",u=>{if(!e.allowNonzeroExitCode&&u>0){l(new Error(`Exited with code ${u}`));return}s(a)})}):(a.unref(),a)},XL=(e,t)=>{if(typeof e!="string")throw new TypeError("Expected a `target`");return Is({...t,target:e})};function OE(e){if(typeof e=="string"||Array.isArray(e))return e;let{[IE]:t}=e;if(!t)throw new Error(`${IE} is not supported`);return t}function Ns({[zn]:e},{wsl:t}){if(t&&Er)return OE(t);if(!e)throw new Error(`${zn} is not supported`);return OE(e)}var on={};Sr(on,"chrome",()=>Ns({darwin:"google chrome",win32:"chrome",linux:["google-chrome","google-chrome-stable","chromium"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe",x64:["/mnt/c/Program Files/Google/Chrome/Application/chrome.exe","/mnt/c/Program Files (x86)/Google/Chrome/Application/chrome.exe"]}}));Sr(on,"brave",()=>Ns({darwin:"brave browser",win32:"brave",linux:["brave-browser","brave"]},{wsl:{ia32:"/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe",x64:["/mnt/c/Program Files/BraveSoftware/Brave-Browser/Application/brave.exe","/mnt/c/Program Files (x86)/BraveSoftware/Brave-Browser/Application/brave.exe"]}}));Sr(on,"firefox",()=>Ns({darwin:"firefox",win32:String.raw`C:\Program Files\Mozilla Firefox\firefox.exe`,linux:"firefox"},{wsl:"/mnt/c/Program Files/Mozilla Firefox/firefox.exe"}));Sr(on,"edge",()=>Ns({darwin:"microsoft edge",win32:"msedge",linux:["microsoft-edge","microsoft-edge-dev"]},{wsl:"/mnt/c/Program Files (x86)/Microsoft/Edge/Application/msedge.exe"}));Sr(on,"browser",()=>"browser");Sr(on,"browserPrivate",()=>"browserPrivate");var Os=XL;var Xd=process.env.B8E_PASAPORT_URL??"https://pasaport.binclusive.io",ef="b8e-cli",rF=["openid","profile","email","offline_access"],nF=3e5,Jd="127.0.0.1",Wd=[8765,8766,8767,8768,8769,8770,8771,8772,8773,8774];function iF(){return tf($E(32))}function oF(e){return tf(eF("sha256").update(e).digest())}function tf(e){return e.toString("base64").replaceAll("+","-").replaceAll("/","_").replaceAll("=","")}function aF(){return tf($E(16))}function sF(e){return new Promise((t,i)=>{let n=new Promise((r,o)=>{let a=tF((u,c)=>{if(!u.url){c.writeHead(400),c.end();return}let d=new URL(u.url,`http://${Jd}`);if(d.pathname!=="/callback"){c.writeHead(404),c.end();return}let f=d.searchParams.get("error"),p=d.searchParams.get("error_description");if(f){c.writeHead(200,{"Content-Type":"text/html"}),c.end("<html><body><h1>Login failed</h1><p>You can close this tab.</p></body></html>"),a.close(),o(new Error(`Authorization failed: ${f}${p?` \u2014 ${p}`:""}`));return}let m=d.searchParams.get("code"),h=d.searchParams.get("state");if(!m||!h){c.writeHead(400),c.end("Missing code or state"),a.close(),o(new Error("Authorization callback missing code or state"));return}if(h!==e){c.writeHead(400),c.end("State mismatch"),a.close(),o(new Error("Authorization callback state mismatch \u2014 possible CSRF"));return}c.writeHead(200,{"Content-Type":"text/html"}),c.end("<html><body><h1>Logged in!</h1><p>You can close this tab.</p></body></html>"),a.close(),r({code:m,state:h})}),s=u=>{if(u>=Wd.length){i(new Error(`Could not bind any of the registered loopback ports (${Wd.join(", ")}). Close other b8e CLI sessions and retry.`));return}let c=Wd[u];a.once("error",d=>{d.code==="EADDRINUSE"?s(u+1):i(d)}),a.listen(c,Jd,()=>{a.removeAllListeners("error"),a.on("error",d=>o(d)),t({port:c,result:n})})};s(0),setTimeout(()=>{a.close(),o(new Error("Login timed out after 5 minutes"))},nF).unref()})})}async function lF(e){let t=new URLSearchParams({grant_type:"authorization_code",code:e.code,redirect_uri:e.redirectUri,client_id:ef,code_verifier:e.codeVerifier}),i=await fetch(`${Xd}/api/auth/oauth2/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t.toString()});if(!i.ok){let r=await i.text();throw new Error(`Token exchange failed (${i.status}): ${r}`)}let n=await i.json();return{accessToken:n.access_token,refreshToken:n.refresh_token,expiresAt:Date.now()+n.expires_in*1e3}}async function AE(e){let t=new URLSearchParams({grant_type:"refresh_token",refresh_token:e,client_id:ef}),i=await fetch(`${Xd}/api/auth/oauth2/token`,{method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t.toString()});if(i.status===400||i.status===401)return null;if(!i.ok){let r=await i.text();throw new Error(`Refresh failed (${i.status}): ${r}`)}let n=await i.json();return{accessToken:n.access_token,refreshToken:n.refresh_token??e,expiresAt:Date.now()+n.expires_in*1e3}}async function rf(){let e=iF(),t=oF(e),i=aF(),{port:n,result:r}=await sF(i),o=`http://${Jd}:${n}/callback`,a=new URL(`${Xd}/api/auth/oauth2/authorize`);a.searchParams.set("response_type","code"),a.searchParams.set("client_id",ef),a.searchParams.set("redirect_uri",o),a.searchParams.set("scope",rF.join(" ")),a.searchParams.set("state",i),a.searchParams.set("code_challenge",t),a.searchParams.set("code_challenge_method","S256"),console.log("Opening browser for login..."),console.log(`If browser doesn't open, visit: ${a.toString()}`),Os(a.toString()).catch(()=>{});let{code:s}=await r;return lF({code:s,codeVerifier:e,redirectUri:o})}var sf="credentials.json",nf=2,mF=3e4,qE="b8e_";function lf(){return Ps(pF(),".config","b8e")}function hF(){let e=process.env.B8E_TOKEN;if(!e)return null;if(!e.startsWith(qE))throw new Error(`B8E_TOKEN does not look like a dashboard API key (expected a "${qE}\u2026" key). If you pasted an OAuth login token, create a dashboard-issued API key instead.`);return e}function of(e){let t=e??lf(),i=Ps(t,sf);if(!af(i))return null;try{let n=cF(i,"utf-8"),r=JSON.parse(n);return r.version!==nf||!r.auth?.accessToken?null:{version:nf,auth:{accessToken:r.auth.accessToken,refreshToken:r.auth.refreshToken,expiresAt:r.auth.expiresAt},context:r.context??{}}}catch{return null}}function vF(e,t){let i=t??lf();uF(i,{recursive:!0});let n=Ps(i,sf),r=`${n}.${process.pid}.tmp`;try{fF(r,JSON.stringify(e,null,2),{mode:384}),dF(r,n)}finally{af(r)&&LE(r,{force:!0})}}function Ot(e){return of(e)}function Wi(e,t){vF(e,t)}function uf(e){let t=e??lf(),i=Ps(t,sf);af(i)&&LE(i)}async function xr(e){let t=hF();if(t)return t;let i=of(e);if(!i)return null;if(!i.auth.expiresAt||Date.now()<i.auth.expiresAt-mF)return i.auth.accessToken;if(!i.auth.refreshToken)return null;let n=await AE(i.auth.refreshToken);if(!n){let r=of(e);return r&&r.auth.refreshToken!==i.auth.refreshToken?r.auth.accessToken:(uf(e),null)}return Wi({...i,auth:{accessToken:n.accessToken,refreshToken:n.refreshToken,expiresAt:n.expiresAt}},e),n.accessToken}function FE(e,t){return{version:nf,auth:{accessToken:e.accessToken,refreshToken:e.refreshToken,expiresAt:e.expiresAt},context:t}}import{writeFileSync as g9}from"fs";var TD=V(Q(),1);var Iw=V(Rw(),1);import{existsSync as BV,readFileSync as KV}from"fs";import{join as ZV}from"path";function Nw(e={}){let t=e.cwd??process.cwd(),i=e.args??{},n=i.config??ZV(t,".b8e.yml"),r={};if(BV(n)){let l=KV(n,"utf-8");r=(0,Iw.parse)(l)??{}}let o=i.ci===!0||process.env.CI==="true"||process.env.CI==="1",a=i.journeys?.split(",").map(l=>l.trim()),s=i.format??r.format??"pretty";return{project:i.project??r.project,journeys:a??r.journeys,failOn:i.failOn??r.fail_on,maxViolations:i.maxViolations??r.max_violations,format:s,output:i.output,timeout:i.timeout??r.timeout,ci:o,verbose:i.verbose??!1}}import Il from"crypto";function Po(e){if(!ti(e))throw new Error("Parameter was not an error")}function ti(e){return!!e&&typeof e=="object"&&QV(e)==="[object Error]"||e instanceof Error}function QV(e){return Object.prototype.toString.call(e)}var HV="Layerr",GV=HV;function Bp(){return GV}function Ow(e){let t,i="";if(e.length===0)t={};else if(ti(e[0]))t={cause:e[0]},i=e.slice(1).join(" ")||"";else if(e[0]&&typeof e[0]=="object")t=Object.assign({},e[0]),i=e.slice(1).join(" ")||"";else if(typeof e[0]=="string")t={},i=i=e.join(" ")||"";else throw new Error("Invalid arguments passed to Layerr");return{options:t,shortMessage:i}}var bt=class e extends Error{constructor(t,i){let n=[...arguments],{options:r,shortMessage:o}=Ow(n),a=o;if(r.cause&&(a=`${a}: ${r.cause.message}`),super(a),this.message=a,r.name&&typeof r.name=="string"?this.name=r.name:this.name=Bp(),r.cause&&Object.defineProperty(this,"_cause",{value:r.cause}),Object.defineProperty(this,"_info",{value:{}}),r.info&&typeof r.info=="object"&&Object.assign(this._info,r.info),Error.captureStackTrace){let s=r.constructorOpt||this.constructor;Error.captureStackTrace(this,s)}}static cause(t){return Po(t),t._cause&&ti(t._cause)?t._cause:null}static fullStack(t){Po(t);let i=e.cause(t);return i?`${t.stack}
|
|
146
146
|
caused by: ${e.fullStack(i)}`:t.stack??""}static info(t){Po(t);let i={},n=e.cause(t);return n&&Object.assign(i,e.info(n)),t._info&&Object.assign(i,t._info),i}toString(){let t=this.name||this.constructor.name||this.constructor.prototype.name;return this.message&&(t=`${t}: ${this.message}`),t}};var To="0123456789ABCDEFGHJKMNPQRSTVWXYZ",ri=32,Pw=0xffffffffffff,Tw=10,YV=16,fn=Object.freeze({source:"ulid"});function WV(e){let t=e||JV(),i=t&&(t.crypto||t.msCrypto)||(typeof Il<"u"?Il:null);if(typeof i?.getRandomValues=="function")return()=>{let n=new Uint8Array(1);return i.getRandomValues(n),n[0]/255};if(typeof i?.randomBytes=="function")return()=>i.randomBytes(1).readUInt8()/255;if(Il?.randomBytes)return()=>Il.randomBytes(1).readUInt8()/255;throw new bt({info:{code:"PRNG_DETECT",...fn}},"Failed to find a reliable PRNG")}function JV(){return tz()?self:typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:null}function XV(e,t){let i="";for(;e>0;e--)i=rz(t)+i;return i}function Cw(e,t){if(isNaN(e))throw new bt({info:{code:"ENC_TIME_NAN",...fn}},`Time must be a number: ${e}`);if(e>Pw)throw new bt({info:{code:"ENC_TIME_SIZE_EXCEED",...fn}},`Cannot encode a time larger than ${Pw}: ${e}`);if(e<0)throw new bt({info:{code:"ENC_TIME_NEG",...fn}},`Time must be positive: ${e}`);if(Number.isInteger(e)===!1)throw new bt({info:{code:"ENC_TIME_TYPE",...fn}},`Time must be an integer: ${e}`);let i,n="";for(let r=t;r>0;r--)i=e%ri,n=To.charAt(i)+n,e=(e-i)/ri;return n}function ez(e){let t,i=e.length,n,r,o=e,a=ri-1;for(;!t&&i-->=0;){if(n=o[i],r=To.indexOf(n),r===-1)throw new bt({info:{code:"B32_INC_ENC",...fn}},"Incorrectly encoded string");if(r===a){o=Dw(o,i,To[0]);continue}t=Dw(o,i,To[r+1])}if(typeof t=="string")return t;throw new bt({info:{code:"B32_INC_INVALID",...fn}},"Failed incrementing string")}function tz(){return typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope}function $w(e){let t=e||WV(),i=0,n;return function(o){let a=isNaN(o)?Date.now():o;if(a<=i){let l=n=ez(n);return Cw(i,Tw)+l}i=a;let s=n=XV(YV,t);return Cw(a,Tw)+s}}function rz(e){let t=Math.floor(e()*ri);return t===ri&&(t=ri-1),To.charAt(t)}function Dw(e,t,i){return t>e.length-1?e:e.substr(0,t)+i+e.substr(t+1)}var pse=$w();var Aw="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/132.0.0.0 Safari/537.36";function Ae(e){let t=[];return e.role==="heading"&&e.level?t.push(`heading level ${e.level}`):e.role!=="text"&&e.role!=="StaticText"&&e.role!=="none"&&t.push(e.role),e.name&&t.push(e.name),e.value&&t.push(`value: ${e.value}`),e.required&&t.push("required"),e.disabled&&t.push("disabled"),e.readonly&&t.push("read only"),e.invalid&&t.push("invalid"),e.focused&&t.push("focused"),e.checked===!0?t.push("checked"):e.checked===!1?t.push("not checked"):e.checked==="mixed"&&t.push("partially checked"),e.expanded===!0?t.push("expanded"):e.expanded===!1&&t.push("collapsed"),e.selected&&t.push("selected"),e.hasPopup&&t.push(`has popup ${e.hasPopup}`),e.description&&t.push(e.description),t.join(", ")||"empty"}function Lw(e,t=0){let i=[],n=e.children??[];i.push({role:e.role??"none",name:e.name??"",value:e.value,description:e.description,focused:e.focused,disabled:e.disabled,backendNodeId:e.backendNodeId,level:e.level,depth:t,childrenCount:n.length,required:e.required,checked:e.checked,expanded:e.expanded,selected:e.selected,readonly:e.readonly,multiselectable:e.multiselectable,hasPopup:e.haspopup,invalid:e.invalid,autocomplete:e.autocomplete,orientation:e.orientation});for(let r of n)i.push(...Lw(r,t+1));return i}var nz=new Set(["heading","link","button","textbox","checkbox","radio","combobox","slider","spinbutton","switch","tab","menuitem","menuitemcheckbox","menuitemradio","treeitem","option","listitem","row","cell","columnheader","rowheader","img","figure","table","list","navigation","main","banner","contentinfo","complementary","form","search","region","alert","dialog","alertdialog","status","progressbar","separator","toolbar","menu","menubar","tablist","tree","grid","treegrid","group"]),qw={heading:["heading"],link:["link"],button:["button"],landmark:["navigation","main","banner","contentinfo","complementary","form","search","region"],"form control":["textbox","checkbox","radio","combobox","slider","spinbutton","switch","listbox","searchbox"],list:["list"],table:["table","grid","treegrid"],image:["img","figure"]};var Co=class{adapter;nodes=[];_cursorIndex=0;_spokenLog=[];_tablePosition=null;_highlightStyleInjected=!1;_lastHighlightedBackendNodeId;onCursorMove;onScreenshot;constructor(t){this.adapter=t}async injectHighlightStyles(){this._highlightStyleInjected||(await this.adapter.evaluate(`(() => {
|
|
147
147
|
if (document.getElementById("b8e-cursor-style")) return;
|