UNPKG

107 kBJavaScriptView Raw
1/**
2 * Relay v9.1.0
3 *
4 * Copyright (c) Facebook, Inc. and its affiliates.
5 *
6 * This source code is licensed under the MIT license found in the
7 * LICENSE file in the root directory of this source tree.
8 */
9!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t(require("fbjs/lib/invariant"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/ErrorUtils")):"function"==typeof define&&define.amd?define(["fbjs/lib/invariant","fbjs/lib/warning","@babel/runtime/helpers/interopRequireDefault","@babel/runtime/helpers/defineProperty","@babel/runtime/helpers/toConsumableArray","fbjs/lib/areEqual","fbjs/lib/ErrorUtils"],t):"object"==typeof exports?exports.RelayRuntime=t(require("fbjs/lib/invariant"),require("fbjs/lib/warning"),require("@babel/runtime/helpers/interopRequireDefault"),require("@babel/runtime/helpers/defineProperty"),require("@babel/runtime/helpers/toConsumableArray"),require("fbjs/lib/areEqual"),require("fbjs/lib/ErrorUtils")):e.RelayRuntime=t(e["fbjs/lib/invariant"],e["fbjs/lib/warning"],e["@babel/runtime/helpers/interopRequireDefault"],e["@babel/runtime/helpers/defineProperty"],e["@babel/runtime/helpers/toConsumableArray"],e["fbjs/lib/areEqual"],e["fbjs/lib/ErrorUtils"])}(window,(function(e,t,r,n,i,o,a){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=42)}([function(t,r){t.exports=e},function(e,t,r){"use strict";var n=r(3)(r(16)),i=r(7),o=r(21),a=r(0),s=r(9),u=i.VARIABLE,c=i.LITERAL,l=i.OBJECT_VALUE,f=i.LIST_VALUE;function d(e,t){if(e.kind===u)return function(e,t){return t.hasOwnProperty(e)||a(!1),s(t[e])}(e.variableName,t);if(e.kind===c)return e.value;if(e.kind===l){var r={};return e.fields.forEach((function(e){r[e.name]=d(e,t)})),r}if(e.kind===f){var n=[];return e.items.forEach((function(e){null!=e&&n.push(d(e,t))})),n}}function p(e,t){var r={};return e.forEach((function(e){r[e.name]=d(e,t)})),r}function h(e,t){if(!t)return e;var r=[];for(var n in t)if(t.hasOwnProperty(n)){var i,o=t[n];if(null!=o)r.push(n+":"+(null!==(i=JSON.stringify(o))&&void 0!==i?i:"undefined"))}return 0===r.length?e:e+"(".concat(r.join(","),")")}var _={FRAGMENTS_KEY:"__fragments",FRAGMENT_OWNER_KEY:"__fragmentOwner",FRAGMENT_PROP_NAME_KEY:"__fragmentPropName",MODULE_COMPONENT_KEY:"__module_component",ID_KEY:"__id",REF_KEY:"__ref",REFS_KEY:"__refs",ROOT_ID:"client:root",ROOT_TYPE:"__Root",TYPENAME_KEY:"__typename",INVALIDATED_AT_KEY:"__invalidated_at",formatStorageKey:h,getArgumentValue:d,getArgumentValues:p,getHandleStorageKey:function(e,t){var r=e.dynamicKey,i=e.handle,a=e.key,s=e.name,u=e.args,c=e.filters,l=o(i,a,s),f=null;return u&&c&&0!==u.length&&0!==c.length&&(f=u.filter((function(e){return c.indexOf(e.name)>-1}))),r&&(f=null!=f?[r].concat((0,n.default)(f)):[r]),null===f?l:h(l,p(f,t))},getStorageKey:function(e,t){if(e.storageKey)return e.storageKey;var r=e.args,n=e.name;return r&&0!==r.length?h(n,p(r,t)):n},getStableStorageKey:function(e,t){return h(e,s(t))},getModuleComponentKey:function(e){return"".concat("__module_component_").concat(e)},getModuleOperationKey:function(e){return"".concat("__module_operation_").concat(e)}};e.exports=_},function(e,r){e.exports=t},function(e,t){e.exports=r},function(e,t){e.exports=n},function(e,t,r){"use strict";var n=0;e.exports={generateClientID:function(e,t,r){var n=e+":"+t;return null!=r&&(n+=":"+r),0!==n.indexOf("client:")&&(n="client:"+n),n},generateUniqueClientID:function(){return"".concat("client:","local:").concat(n++)},isClientID:function(e){return 0===e.indexOf("client:")}}},function(e,t,r){"use strict";var n=r(3)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(17),s=r(18),u=r(0),c=(r(2),r(5).isClientID,r(1)),l=c.ID_KEY,f=c.REF_KEY,d=c.REFS_KEY,p=c.TYPENAME_KEY,h=c.INVALIDATED_AT_KEY;c.ROOT_ID;e.exports={clone:function(e){return o({},e)},copyFields:function(e,t){for(var r in e)e.hasOwnProperty(r)&&r!==l&&r!==p&&(t[r]=e[r])},create:function(e,t){var r={};return r[l]=e,r[p]=t,r},freeze:function(e){s(e)},getDataID:function(e){return e[l]},getInvalidationEpoch:function(e){if(null==e)return null;var t=e[h];return"number"!=typeof t?null:t},getLinkedRecordID:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&r&&"string"==typeof r[f]||u(!1),r[f])},getLinkedRecordIDs:function(e,t){var r=e[t];return null==r?r:("object"==typeof r&&Array.isArray(r[d])||u(!1),r[d])},getType:function(e){return e[p]},getValue:function(e,t){var r=e[t];return r&&"object"==typeof r&&(r.hasOwnProperty(f)||r.hasOwnProperty(d))&&u(!1),r},merge:function(e,t){return Object.assign({},e,t)},setValue:function(e,t,r){e[t]=r},setLinkedRecordID:function(e,t,r){var n={};n[f]=r,e[t]=n},setLinkedRecordIDs:function(e,t,r){var n={};n[d]=r,e[t]=n},update:function(e,t){for(var r=null,n=Object.keys(t),i=0;i<n.length;i++){var s=n[i];!r&&a(e[s],t[s])||((r=null!==r?r:o({},e))[s]=t[s])}return null!==r?r:e}}},function(e,t,r){"use strict";e.exports={CONDITION:"Condition",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",OBJECT_VALUE:"ObjectValue",OPERATION:"Operation",REQUEST:"Request",ROOT_ARGUMENT:"RootArgument",SCALAR_FIELD:"ScalarField",SCALAR_HANDLE:"ScalarHandle",SPLIT_OPERATION:"SplitOperation",STREAM:"Stream",VARIABLE:"Variable"}},function(e,t,r){"use strict";var n=r(7),i=r(0);r(2);function o(e){var t=e;return"function"==typeof t?t=t():t.default&&(t=t.default),t}function a(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.FRAGMENT}function s(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.REQUEST}function u(e){var t=o(e);return"object"==typeof t&&null!==t&&t.kind===n.INLINE_DATA_FRAGMENT}function c(e){var t=o(e);return a(t)||i(!1),t}e.exports={getFragment:c,getPaginationFragment:function(e){var t,r=c(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch,i=null==n?void 0:n.connection;return null===n||"object"!=typeof n||null===i||"object"!=typeof i?null:r},getRefetchableFragment:function(e){var t,r=c(e),n=null===(t=r.metadata)||void 0===t?void 0:t.refetch;return null===n||"object"!=typeof n?null:r},getRequest:function(e){var t=o(e);return s(t)||i(!1),t},getInlineDataFragment:function(e){var t=o(e);return u(t)||i(!1),t},graphql:function(e){i(!1)},isFragment:a,isRequest:s,isInlineDataFragment:u}},function(e,t,r){"use strict";e.exports=function e(t){if(!t||"object"!=typeof t)return t;if(Array.isArray(t))return t.map(e);for(var r=Object.keys(t).sort(),n={},i=0;i<r.length;i++)n[r[i]]=e(t[r[i]]);return n}},function(e,t,r){"use strict";var n=r(29),i=function(e,t){},o=function(){function e(e){this._source=e}e.create=function(t){return new e(t)},e.onUnhandledError=function(e){i=e},e.from=function(e){return function(e){return"object"==typeof e&&null!==e&&"function"==typeof e.subscribe}(e)?a(e):n(e)?s(e):u(e)};var t=e.prototype;return t.catch=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:function(r){try{t(r).subscribe({start:function(e){n=e},next:e.next,complete:e.complete,error:e.error})}catch(t){e.error(t,!0)}}}),function(){return n.unsubscribe()}}))},t.concat=function(t){var r=this;return e.create((function(e){var n;return r.subscribe({start:function(e){n=e},next:e.next,error:e.error,complete:function(){n=t.subscribe(e)}}),function(){n&&n.unsubscribe()}}))},t.do=function(t){var r=this;return e.create((function(e){var n=function(r){return function(){try{t[r]&&t[r].apply(t,arguments)}catch(e){i(e,!0)}e[r]&&e[r].apply(e,arguments)}};return r.subscribe({start:n("start"),next:n("next"),error:n("error"),complete:n("complete"),unsubscribe:n("unsubscribe")})}))},t.finally=function(t){var r=this;return e.create((function(e){var n=r.subscribe(e);return function(){n.unsubscribe(),t()}}))},t.ifEmpty=function(t){var r=this;return e.create((function(e){var n=!1,i=r.subscribe({next:function(t){n=!0,e.next(t)},error:e.error,complete:function(){n?e.complete():i=t.subscribe(e)}});return function(){i.unsubscribe()}}))},t.subscribe=function(e){return function(e,t){var r,n=!1,o=function(e){return Object.defineProperty(e,"closed",{get:function(){return n}})};function a(){if(r){if(r.unsubscribe)r.unsubscribe();else try{r()}catch(e){i(e,!0)}r=void 0}}var s=o({unsubscribe:function(){if(!n){n=!0;try{t.unsubscribe&&t.unsubscribe(s)}catch(e){i(e,!0)}finally{a()}}}});try{t.start&&t.start(s)}catch(e){i(e,!0)}if(n)return s;var u=o({next:function(e){if(!n&&t.next)try{t.next(e)}catch(e){i(e,!0)}},error:function(e,r){if(n||!t.error)n=!0,i(e,r||!1),a();else{n=!0;try{t.error(e)}catch(e){i(e,!0)}finally{a()}}},complete:function(){if(!n){n=!0;try{t.complete&&t.complete()}catch(e){i(e,!0)}finally{a()}}}});try{r=e(u)}catch(e){u.error(e,!0)}0;n&&a();return s}(this._source,e)},t.map=function(t){var r=this;return e.create((function(e){var n=r.subscribe({complete:e.complete,error:e.error,next:function(r){try{var n=t(r);e.next(n)}catch(t){e.error(t,!0)}}});return function(){n.unsubscribe()}}))},t.mergeMap=function(t){var r=this;return e.create((function(n){var i=[];function o(e){this._sub=e,i.push(e)}function a(){i.splice(i.indexOf(this._sub),1),0===i.length&&n.complete()}return r.subscribe({start:o,next:function(r){try{n.closed||e.from(t(r)).subscribe({start:o,next:n.next,error:n.error,complete:a})}catch(e){n.error(e,!0)}},error:n.error,complete:a}),function(){i.forEach((function(e){return e.unsubscribe()})),i.length=0}}))},t.poll=function(t){var r=this;return e.create((function(e){var n,i;return function o(){n=r.subscribe({next:e.next,error:e.error,complete:function(){i=setTimeout(o,t)}})}(),function(){clearTimeout(i),n.unsubscribe()}}))},t.toPromise=function(){var e=this;return new Promise((function(t,r){var n=!1;e.subscribe({next:function(e){n||(n=!0,t(e))},error:r,complete:t})}))},e}();function a(e){return e instanceof o?e:o.create((function(t){return e.subscribe(t)}))}function s(e){return o.create((function(t){e.then((function(e){t.next(e),t.complete()}),t.error)}))}function u(e){return o.create((function(t){t.next(e),t.complete()}))}e.exports=o},function(e,t,r){"use strict";var n=r(17),i=r(0),o=(r(2),r(22).getFragmentVariables),a=r(1),s=a.FRAGMENT_OWNER_KEY,u=a.FRAGMENTS_KEY,c=a.ID_KEY;function l(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1);var r=t[c],n=t[u],a=t[s];if("string"==typeof r&&"object"==typeof n&&null!==n&&"object"==typeof n[e.name]&&null!==n[e.name]&&"object"==typeof a&&null!==a){var l=a,f=n[e.name];return b(e,r,o(e,l.variables,f),l)}return null}function f(e,t){var r=null;return t.forEach((function(t,n){var i=null!=t?l(e,t):null;null!=i&&(r=r||[]).push(i)})),null==r?null:{kind:"PluralReaderSelector",selectors:r}}function d(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1),f(e,t)):(Array.isArray(t)&&i(!1),l(e,t))}function p(e,t){return null==t?t:e.metadata&&!0===e.metadata.plural?(Array.isArray(t)||i(!1),function(e,t){var r=null;return t.forEach((function(t){var n=null!=t?h(e,t):null;null!=n&&(r=r||[]).push(n)})),r}(e,t)):(Array.isArray(t)&&i(!1),h(e,t))}function h(e,t){("object"!=typeof t||null===t||Array.isArray(t))&&i(!1);var r=t[c];return"string"==typeof r?r:null}function _(e,t){var r;return null==t?{}:!0===(null===(r=e.metadata)||void 0===r?void 0:r.plural)?(Array.isArray(t)||i(!1),g(e,t)):(Array.isArray(t)&&i(!1),v(e,t)||{})}function v(e,t){var r=l(e,t);return r?r.variables:null}function g(e,t){var r={};return t.forEach((function(t,n){if(null!=t){var i=v(e,t);null!=i&&Object.assign(r,i)}})),r}function b(e,t,r,n){return{kind:"SingularReaderSelector",dataID:t,node:e,variables:r,owner:n}}e.exports={areEqualSelectors:function(e,t){return e.owner===t.owner&&e.dataID===t.dataID&&e.node===t.node&&n(e.variables,t.variables)},createReaderSelector:b,createNormalizationSelector:function(e,t,r){return{dataID:t,node:e,variables:r}},getDataIDsFromFragment:p,getDataIDsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=t[n];r[n]=p(i,o)}return r},getSingularSelector:l,getPluralSelector:f,getSelector:d,getSelectorsFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=e[n],o=t[n];r[n]=d(i,o)}return r},getVariablesFromSingularFragment:v,getVariablesFromPluralFragment:g,getVariablesFromFragment:_,getVariablesFromObject:function(e,t){var r={};for(var n in e)if(e.hasOwnProperty(n)){var i=_(e[n],t[n]);Object.assign(r,i)}return r}}},function(e,t,r){"use strict";r(18);var n=r(36),i=r(22).getOperationVariables,o=r(11),a=o.createNormalizationSelector,s=o.createReaderSelector,u=r(1).ROOT_ID;function c(e,t){return{identifier:n(e.params,t),node:e,variables:t}}e.exports={createOperationDescriptor:function(e,t){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:u,n=e.operation,o=i(n,t),l=c(e,o),f={fragment:s(e.fragment,r,o,l),request:l,root:a(n,r,o)};return f},createRequestDescriptor:c}},function(e,t,r){"use strict";var n=r(46),i=function(){function e(t){return e.create(t)}return e.create=function(e){return new n(e)},e}();e.exports=i},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(20),a=(r(2),Object.freeze({RANGE_ADD:"RANGE_ADD",RANGE_DELETE:"RANGE_DELETE",NODE_DELETE:"NODE_DELETE"})),s=Object.freeze({APPEND:"append",PREPEND:"prepend"});function u(e){return e.fragment.selections&&e.fragment.selections.length>0&&"LinkedField"===e.fragment.selections[0].kind?e.fragment.selections[0].name:null}e.exports={MutationTypes:a,RangeOperations:s,convert:function(e,t,r,i){var a=r?[r]:[],s=i?[i]:[];return e.forEach((function(e){switch(e.type){case"NODE_DELETE":var r=function(e,t){var r=e.deletedIDFieldName,n=u(t);if(!n)return null;return function(e,t){var i=e.getRootField(n);if(i){var o=i.getValue(r);(Array.isArray(o)?o:[o]).forEach((function(t){t&&"string"==typeof t&&e.delete(t)}))}}}(e,t);r&&(a.push(r),s.push(r));break;case"RANGE_ADD":var i=function(e,t){var r=e.parentID,i=e.connectionInfo,a=e.edgeName;if(!r)return null;var s=u(t);if(!i||!s)return null;return function(e,t){var u=e.get(r);if(u){var c=e.getRootField(s);if(c){var l,f=c.getLinkedRecord(a),d=n(i);try{for(d.s();!(l=d.n()).done;){var p=l.value;if(f){var h=o.getConnection(u,p.key,p.filters);if(h){var _=o.buildConnectionEdge(e,h,f);if(_)switch(p.rangeBehavior){case"append":o.insertEdgeAfter(h,_);break;case"prepend":o.insertEdgeBefore(h,_)}}}}}catch(e){d.e(e)}finally{d.f()}}}}}(e,t);i&&(a.push(i),s.push(i));break;case"RANGE_DELETE":var c=function(e,t){var r=e.parentID,i=e.connectionKeys,a=e.pathToConnection,s=e.deletedIDFieldName;if(!r)return null;var c=u(t);if(!c)return null;return function(e,t){if(t){var u=[],l=t[c];if(l&&Array.isArray(s)){var f,d=n(s);try{for(d.s();!(f=d.n()).done;){var p=f.value;l&&"object"==typeof l&&(l=l[p])}}catch(e){d.e(e)}finally{d.f()}Array.isArray(l)?l.forEach((function(e){e&&e.id&&"object"==typeof e&&"string"==typeof e.id&&u.push(e.id)})):l&&l.id&&"string"==typeof l.id&&u.push(l.id)}else l&&"string"==typeof s&&"object"==typeof l&&("string"==typeof(l=l[s])?u.push(l):Array.isArray(l)&&l.forEach((function(e){"string"==typeof e&&u.push(e)})));!function(e,t,r,i,a){var s=i.get(e);if(!s)return;if(r.length<2)return;for(var u=s,c=1;c<r.length-1;c++)u&&(u=u.getLinkedRecord(r[c]));if(!t||!u)return;var l,f=n(t);try{var d=function(){var e=l.value,t=o.getConnection(u,e.key,e.filters);t&&a.forEach((function(e){o.deleteNode(t,e)}))};for(f.s();!(l=f.n()).done;)d()}catch(e){f.e(e)}finally{f.f()}}(r,i,a,e,u)}}}(e,t);c&&(a.push(c),s.push(c))}})),{optimisticUpdater:function(e,t){a.forEach((function(r){r(e,t)}))},updater:function(e,t){s.forEach((function(r){r(e,t)}))}}}}},function(e,t,r){"use strict";e.exports={ENABLE_VARIABLE_CONNECTION_KEY:!1,ENABLE_PARTIAL_RENDERING_DEFAULT:!1,ENABLE_RELAY_CONTAINERS_SUSPENSE:!1,ENABLE_UNIQUE_MUTATION_ROOT:!0}},function(e,t){e.exports=i},function(e,t){e.exports=o},function(e,t,r){"use strict";e.exports=function e(t){return Object.freeze(t),Object.getOwnPropertyNames(t).forEach((function(r){var n=t[r];n&&"object"==typeof n&&!Object.isFrozen(n)&&e(n)})),t}},function(e,t,r){"use strict";e.exports={EXISTENT:"EXISTENT",NONEXISTENT:"NONEXISTENT",UNKNOWN:"UNKNOWN"}},function(e,t,r){"use strict";var n=r(25),i=r(21),o=r(0),a=(r(2),r(5).generateClientID);function s(e,t,r){if(null==r)return r;var i=n.get().EDGES,s=t.getValue("__connection_next_edge_index");"number"!=typeof s&&o(!1);var u=a(t.getDataID(),i,s),c=e.create(u,r.getType());return c.copyFieldsFrom(r),t.setValue(s+1,"__connection_next_edge_index"),c}function u(e,t,r){for(var i=n.get().NODE,o=0;o<e.length;o++){var a=e[o];if(a){var s=a.getLinkedRecord(i),u=s&&s.getDataID();if(u){if(r.has(u))continue;r.add(u)}t.push(a)}}}e.exports={buildConnectionEdge:s,createEdge:function(e,t,r,i){var o=n.get().NODE,s=a(t.getDataID(),r.getDataID()),u=e.get(s);return u||(u=e.create(s,i)),u.setLinkedRecord(r,o),u},deleteNode:function(e,t){var r=n.get(),i=r.EDGES,o=r.NODE,a=e.getLinkedRecords(i);if(a){for(var s,u=0;u<a.length;u++){var c=a[u],l=c&&c.getLinkedRecord(o);null!=l&&l.getDataID()===t?void 0===s&&(s=a.slice(0,u)):void 0!==s&&s.push(c)}void 0!==s&&e.setLinkedRecords(s,i)}},getConnection:function(e,t,r){var n=i("connection",t,null);return e.getLinkedRecord(n,r)},insertEdgeAfter:function(e,t,r){var i=n.get(),o=i.CURSOR,a=i.EDGES,s=e.getLinkedRecords(a);if(s){var u;if(null==r)u=s.concat(t);else{u=[];for(var c=!1,l=0;l<s.length;l++){var f=s[l];if(u.push(f),null!=f)r===f.getValue(o)&&(u.push(t),c=!0)}c||u.push(t)}e.setLinkedRecords(u,a)}else e.setLinkedRecords([t],a)},insertEdgeBefore:function(e,t,r){var i=n.get(),o=i.CURSOR,a=i.EDGES,s=e.getLinkedRecords(a);if(s){var u;if(null==r)u=[t].concat(s);else{u=[];for(var c=!1,l=0;l<s.length;l++){var f=s[l];if(null!=f)r===f.getValue(o)&&(u.push(t),c=!0);u.push(f)}c||u.unshift(t)}e.setLinkedRecords(u,a)}else e.setLinkedRecords([t],a)},update:function(e,t){var r=e.get(t.dataID);if(r){var i=n.get(),o=i.EDGES,c=i.END_CURSOR,l=i.HAS_NEXT_PAGE,f=i.HAS_PREV_PAGE,d=i.PAGE_INFO,p=i.PAGE_INFO_TYPE,h=i.START_CURSOR,_=r.getLinkedRecord(t.fieldKey),v=_&&_.getLinkedRecord(d);if(_){var g=a(r.getDataID(),t.handleKey),b=r.getLinkedRecord(t.handleKey),m=null!=b?b:e.get(g),y=m&&m.getLinkedRecord(d);if(m){null==b&&r.setLinkedRecord(m,t.handleKey);var E=m,D=_.getLinkedRecords(o);D&&(D=D.map((function(t){return s(e,E,t)})));var O=E.getLinkedRecords(o),S=E.getLinkedRecord(d);E.copyFieldsFrom(_),O&&E.setLinkedRecords(O,o),S&&E.setLinkedRecord(S,d);var I=[],R=t.args;if(O&&D)if(null!=R.after){if(!y||R.after!==y.getValue(c))return;var k=new Set;u(O,I,k),u(D,I,k)}else if(null!=R.before){if(!y||R.before!==y.getValue(h))return;var P=new Set;u(D,I,P),u(O,I,P)}else I=D;else I=D||O;if(null!=I&&I!==O&&E.setLinkedRecords(I,o),y&&v)if(null==R.after&&null==R.before)y.copyFieldsFrom(v);else if(null!=R.before||null==R.after&&R.last){y.setValue(!!v.getValue(f),f);var A=v.getValue(h);"string"==typeof A&&y.setValue(A,h)}else if(null!=R.after||null==R.before&&R.first){y.setValue(!!v.getValue(l),l);var N=v.getValue(c);"string"==typeof N&&y.setValue(N,c)}}else{var T=e.create(g,_.getType());T.setValue(0,"__connection_next_edge_index"),T.copyFieldsFrom(_);var w=_.getLinkedRecords(o);w&&(w=w.map((function(t){return s(e,T,t)})),T.setLinkedRecords(w,o)),r.setLinkedRecord(T,t.handleKey),(y=e.create(a(T.getDataID(),d),p)).setValue(!1,l),y.setValue(!1,f),y.setValue(null,c),y.setValue(null,h),v&&y.copyFieldsFrom(v),T.setLinkedRecord(y,d)}}else r.setValue(null,t.handleKey)}}}},function(e,t,r){"use strict";var n=r(0),i=r(26).DEFAULT_HANDLE_KEY;e.exports=function(e,t,r){return t&&t!==i?"__".concat(t,"_").concat(e):(null==r&&n(!1),"__".concat(r,"_").concat(e))}},function(e,t,r){"use strict";var n=r(3)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(0);e.exports={getFragmentVariables:function(e,t,r){var a;return e.argumentDefinitions.forEach((function(e){if(!r.hasOwnProperty(e.name))switch(a=a||function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r),e.kind){case"LocalArgument":a[e.name]=e.defaultValue;break;case"RootArgument":if(!t.hasOwnProperty(e.name)){a[e.name]=void 0;break}a[e.name]=t[e.name];break;default:o(!1)}})),a||r},getOperationVariables:function(e,t){var r={};return e.argumentDefinitions.forEach((function(e){var n=e.defaultValue;null!=t[e.name]&&(n=t[e.name]),r[e.name]=n})),r}}},function(e,t,r){"use strict";function n(){}var i={"*":[]},o={"*":[]},a={},s={stop:n},u=function(e){return"@"!==e.charAt(0)},c={instrumentMethods:function(e,t){for(var r in t)t.hasOwnProperty(r)&&"function"==typeof e[r]&&(e[r]=c.instrument(t[r],e[r]))},instrument:function(e,t){if(!u(e))return t.attachHandler=n,t.detachHandler=n,t;i.hasOwnProperty(e)||(i[e]=[]);var r=i["*"],o=i[e],s=[],c=[],f=function n(){var i=c[c.length-1];i[0]?(i[0]--,r[i[0]](e,n)):i[1]?(i[1]--,o[i[1]](e,n)):i[2]?(i[2]--,s[i[2]](e,n)):i[5]=t.apply(i[3],i[4])},d=function(){var e;if(0===o.length&&0===s.length&&0===r.length)e=t.apply(this,arguments);else{c.push([r.length,o.length,s.length,this,arguments,a]),f();var n=c.pop();if((e=n[5])===a)throw new Error("RelayProfiler: Handler did not invoke original function.")}return e};return d.attachHandler=function(e){s.push(e)},d.detachHandler=function(e){l(s,e)},d.displayName="(instrumented "+e+")",d},attachAggregateHandler:function(e,t){u(e)&&(i.hasOwnProperty(e)||(i[e]=[]),i[e].push(t))},detachAggregateHandler:function(e,t){u(e)&&i.hasOwnProperty(e)&&l(i[e],t)},profile:function(e,t){var r=o["*"].length>0,n=o.hasOwnProperty(e);if(n||r){for(var i,a=n&&r?o[e].concat(o["*"]):n?o[e]:o["*"],u=a.length-1;u>=0;u--){var c=(0,a[u])(e,t);(i=i||[]).unshift(c)}return{stop:function(e){i&&i.forEach((function(t){return t(e)}))}}}return s},attachProfileHandler:function(e,t){u(e)&&(o.hasOwnProperty(e)||(o[e]=[]),o[e].push(t))},detachProfileHandler:function(e,t){u(e)&&o.hasOwnProperty(e)&&l(o[e],t)}};function l(e,t){var r=e.indexOf(t);-1!==r&&e.splice(r,1)}e.exports=c},function(e,t,r){"use strict";e.exports=function(e){return Boolean(e&&e["@@RelayModernEnvironment"])}},function(e,t,r){"use strict";var n={after:!0,before:!0,find:!0,first:!0,last:!0,surrounds:!0},i={CLIENT_MUTATION_ID:"clientMutationId",CURSOR:"cursor",EDGES:"edges",END_CURSOR:"endCursor",HAS_NEXT_PAGE:"hasNextPage",HAS_PREV_PAGE:"hasPreviousPage",NODE:"node",PAGE_INFO_TYPE:"PageInfo",PAGE_INFO:"pageInfo",START_CURSOR:"startCursor"},o={inject:function(e){i=e},get:function(){return i},isConnectionCall:function(e){return n.hasOwnProperty(e.name)}};e.exports=o},function(e,t,r){"use strict";e.exports={DEFAULT_HANDLE_KEY:""}},function(e,t,r){"use strict";var n=r(20),i=r(0);e.exports=function(e){switch(e){case"connection":return n}i(!1)}},function(e,t,r){"use strict";function n(e,t,r){var n=new Error(r);return n.name=t,n.type=e,n.framesToPop=2,n}e.exports={create:function(e,t){return n("error",e,t)},createWarning:function(e,t){return n("warn",e,t)}}},function(e,t,r){"use strict";e.exports=function(e){return!!e&&"function"==typeof e.then}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(0),a=function(){function e(){this._ownersToPendingOperations=new Map,this._pendingOperationsToOwners=new Map,this._ownersToPromise=new Map}var t=e.prototype;return t.update=function(e,t){if(0!==t.size){var r,i=new Set,o=n(t);try{for(o.s();!(r=o.n()).done;){var a=r.value,s=this._ownersToPendingOperations.get(a);null!=s?s.has(e)||(s.add(e),i.add(a)):(this._ownersToPendingOperations.set(a,new Set([e])),i.add(a))}}catch(e){o.e(e)}finally{o.f()}if(0!==i.size){var u,c=this._pendingOperationsToOwners.get(e)||new Set,l=n(i);try{for(l.s();!(u=l.n()).done;){var f=u.value;this._resolveOwnerResolvers(f),c.add(f)}}catch(e){l.e(e)}finally{l.f()}this._pendingOperationsToOwners.set(e,c)}}},t.complete=function(e){var t=this._pendingOperationsToOwners.get(e);if(null!=t){var r,i=new Set,o=new Set,a=n(t);try{for(a.s();!(r=a.n()).done;){var s=r.value,u=this._ownersToPendingOperations.get(s);u&&(u.delete(e),u.size>0?o.add(s):i.add(s))}}catch(e){a.e(e)}finally{a.f()}var c,l=n(i);try{for(l.s();!(c=l.n()).done;){var f=c.value;this._resolveOwnerResolvers(f),this._ownersToPendingOperations.delete(f)}}catch(e){l.e(e)}finally{l.f()}var d,p=n(o);try{for(p.s();!(d=p.n()).done;){var h=d.value;this._resolveOwnerResolvers(h)}}catch(e){p.e(e)}finally{p.f()}this._pendingOperationsToOwners.delete(e)}},t._resolveOwnerResolvers=function(e){var t=this._ownersToPromise.get(e);null!=t&&t.resolve(),this._ownersToPromise.delete(e)},t.getPromiseForPendingOperationsAffectingOwner=function(e){if(!this._ownersToPendingOperations.has(e))return null;var t,r=this._ownersToPromise.get(e);if(null!=r)return r.promise;var n=new Promise((function(e){t=e}));return null==t&&o(!1),this._ownersToPromise.set(e,{promise:n,resolve:t}),n},e}();e.exports=a},function(e,t,r){"use strict";var n=r(6),i=r(0),o=r(7),a=o.CLIENT_EXTENSION,s=o.CONDITION,u=o.DEFER,c=o.FRAGMENT_SPREAD,l=o.INLINE_DATA_FRAGMENT_SPREAD,f=o.INLINE_FRAGMENT,d=o.LINKED_FIELD,p=o.MODULE_IMPORT,h=o.SCALAR_FIELD,_=o.STREAM,v=r(1),g=v.FRAGMENTS_KEY,b=v.FRAGMENT_OWNER_KEY,m=v.FRAGMENT_PROP_NAME_KEY,y=v.ID_KEY,E=v.MODULE_COMPONENT_KEY,D=v.getArgumentValues,O=v.getStorageKey,S=v.getModuleComponentKey;var I=function(){function e(e,t){this._isMissingData=!1,this._owner=t.owner,this._recordSource=e,this._seenRecords={},this._selector=t,this._variables=t.variables}var t=e.prototype;return t.read=function(){var e=this._selector,t=e.node,r=e.dataID;return{data:this._traverse(t,r,null),isMissingData:this._isMissingData,seenRecords:this._seenRecords,selector:this._selector}},t._traverse=function(e,t,r){var n=this._recordSource.get(t);if(this._seenRecords[t]=n,null==n)return void 0===n&&(this._isMissingData=!0),n;var i=r||{};return this._traverseSelections(e.selections,n,i),i},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||i(!1),this._variables[e]},t._traverseSelections=function(e,t,r){for(var o=0;o<e.length;o++){var v=e[o];switch(v.kind){case h:this._readScalar(v,t,r);break;case d:v.plural?this._readPluralLink(v,t,r):this._readLink(v,t,r);break;case s:this._getVariableValue(v.condition)===v.passingValue&&this._traverseSelections(v.selections,t,r);break;case f:var g=n.getType(t);null!=g&&g===v.type&&this._traverseSelections(v.selections,t,r);break;case c:this._createFragmentPointer(v,t,r);break;case p:this._readModuleImport(v,t,r);break;case l:this._createInlineDataFragmentPointer(v,t,r);break;case u:case a:var b=this._isMissingData;this._traverseSelections(v.selections,t,r),this._isMissingData=b;break;case _:this._traverseSelections(v.selections,t,r);break;default:i(!1)}}},t._readScalar=function(e,t,r){var i,o=null!==(i=e.alias)&&void 0!==i?i:e.name,a=O(e,this._variables),s=n.getValue(t,a);void 0===s&&(this._isMissingData=!0),r[o]=s},t._readLink=function(e,t,r){var o,a=null!==(o=e.alias)&&void 0!==o?o:e.name,s=O(e,this._variables),u=n.getLinkedRecordID(t,s);if(null==u)return r[a]=u,void(void 0===u&&(this._isMissingData=!0));var c=r[a];null!=c&&"object"!=typeof c&&i(!1),r[a]=this._traverse(e,u,c)},t._readPluralLink=function(e,t,r){var o,a=this,s=null!==(o=e.alias)&&void 0!==o?o:e.name,u=O(e,this._variables),c=n.getLinkedRecordIDs(t,u);if(null==c)return r[s]=c,void(void 0===c&&(this._isMissingData=!0));var l=r[s];null==l||Array.isArray(l)||i(!1);var f=l||[];c.forEach((function(t,r){if(null==t)return void 0===t&&(a._isMissingData=!0),void(f[r]=t);var n=f[r];null!=n&&"object"!=typeof n&&i(!1),f[r]=a._traverse(e,t,n)})),r[s]=f},t._readModuleImport=function(e,t,r){var i=S(e.documentName),o=n.getValue(t,i);null!=o?(this._createFragmentPointer({kind:"FragmentSpread",name:e.fragmentName,args:null},t,r),r[m]=e.fragmentPropName,r[E]=o):void 0===o&&(this._isMissingData=!0)},t._createFragmentPointer=function(e,t,r){var o=r[g];null==o&&(o=r[g]={}),("object"!=typeof o||null==o)&&i(!1),null==r[y]&&(r[y]=n.getDataID(t)),o[e.name]=e.args?D(e.args,this._variables):{},r[b]=this._owner},t._createInlineDataFragmentPointer=function(e,t,r){var o=r[g];null==o&&(o=r[g]={}),("object"!=typeof o||null==o)&&i(!1),null==r[y]&&(r[y]=n.getDataID(t));var a={};this._traverseSelections(e.selections,t,a),o[e.name]=a},e}();e.exports={read:function(e,t){return new I(e,t).read()}}},function(e,t,r){"use strict";var n=r(6),i=r(0),o=r(19).EXISTENT,a=function(){function e(e,t){this.__sources=[t,e],this._base=e,this._sink=t}var t=e.prototype;return t.unstable_getRawRecordWithChanges=function(e){var t=this._base.get(e),r=this._sink.get(e);return void 0===r?null==t?t:n.clone(t):null===r?null:null!=t?n.update(t,r):n.clone(r)},t._getSinkRecord=function(e){var t=this._sink.get(e);if(!t){var r=this._base.get(e);r||i(!1),t=n.create(e,n.getType(r)),this._sink.set(e,t)}return t},t.copyFields=function(e,t){var r=this._sink.get(e),o=this._base.get(e);r||o||i(!1);var a=this._getSinkRecord(t);o&&n.copyFields(o,a),r&&n.copyFields(r,a)},t.copyFieldsFromRecord=function(e,t){var r=this._getSinkRecord(t);n.copyFields(e,r)},t.create=function(e,t){(this._base.getStatus(e)===o||this._sink.getStatus(e)===o)&&i(!1);var r=n.create(e,t);this._sink.set(e,r)},t.delete=function(e){this._sink.delete(e)},t.getStatus=function(e){return this._sink.has(e)?this._sink.getStatus(e):this._base.getStatus(e)},t.getType=function(e){for(var t=0;t<this.__sources.length;t++){var r=this.__sources[t].get(e);if(r)return n.getType(r);if(null===r)return null}},t.getValue=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var o=n.getValue(i,t);if(void 0!==o)return o}else if(null===i)return null}},t.setValue=function(e,t,r){var i=this._getSinkRecord(e);n.setValue(i,t,r)},t.getLinkedRecordID=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var o=n.getLinkedRecordID(i,t);if(void 0!==o)return o}else if(null===i)return null}},t.setLinkedRecordID=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordID(i,t,r)},t.getLinkedRecordIDs=function(e,t){for(var r=0;r<this.__sources.length;r++){var i=this.__sources[r].get(e);if(i){var o=n.getLinkedRecordIDs(i,t);if(void 0!==o)return o}else if(null===i)return null}},t.setLinkedRecordIDs=function(e,t,r){var i=this._getSinkRecord(e);n.setLinkedRecordIDs(i,t,r)},e}();e.exports=a},function(e,t,r){"use strict";var n=r(6),i=r(50),o=r(0),a=r(19),s=a.EXISTENT,u=a.NONEXISTENT,c=r(1),l=c.ROOT_ID,f=c.ROOT_TYPE,d=function(){function e(e,t,r){this.__mutator=e,this._handlerProvider=r||null,this._proxies={},this._getDataID=t,this._invalidatedStore=!1,this._idsMarkedForInvalidation=new Set}var t=e.prototype;return t.publishSource=function(e,t){var r=this;e.getRecordIDs().forEach((function(t){var i=e.getStatus(t);if(i===s){var o=e.get(t);o&&(r.__mutator.getStatus(t)!==s&&r.create(t,n.getType(o)),r.__mutator.copyFieldsFromRecord(o,t))}else i===u&&r.delete(t)})),t&&t.length&&t.forEach((function(e){var t=r._handlerProvider&&r._handlerProvider(e.handle);t||o(!1),t.update(r,e)}))},t.create=function(e,t){this.__mutator.create(e,t),delete this._proxies[e];var r=this.get(e);return r||o(!1),r},t.delete=function(e){e===l&&o(!1),delete this._proxies[e],this.__mutator.delete(e)},t.get=function(e){if(!this._proxies.hasOwnProperty(e)){var t=this.__mutator.getStatus(e);this._proxies[e]=t===s?new i(this,this.__mutator,e):t===u?null:void 0}return this._proxies[e]},t.getRoot=function(){var e=this.get(l);return e||(e=this.create(l,f)),e&&e.getType()===f||o(!1),e},t.invalidateStore=function(){this._invalidatedStore=!0},t.isStoreMarkedForInvalidation=function(){return this._invalidatedStore},t.markIDForInvalidation=function(e){this._idsMarkedForInvalidation.add(e)},t.getIDsMarkedForInvalidation=function(){return this._idsMarkedForInvalidation},e}();e.exports=d},function(e,t,r){"use strict";var n=r(35),i=n.VIEWER_ID,o=n.VIEWER_TYPE;e.exports=function(e,t){return t===o&&null==e.id?i:e.id}},function(e,t,r){"use strict";var n=(0,r(5).generateClientID)(r(1).ROOT_ID,"viewer");e.exports={VIEWER_ID:n,VIEWER_TYPE:"Viewer"}},function(e,t,r){"use strict";var n=r(0),i=r(9);e.exports=function(e,t){var r=null!=e.id?e.id:e.text;return null==r&&n(!1),r+JSON.stringify(i(t))}},function(e,t,r){"use strict";var n=r(17),i=r(0),o=r(7).LINKED_FIELD,a=r(1).getHandleStorageKey;e.exports=function(e,t,r){var s=t.find((function(t){return t.kind===o&&t.name===e.name&&t.alias===e.alias&&n(t.args,e.args)}));s&&s.kind===o||i(!1);var u=a(e,r);return{kind:"LinkedField",alias:s.alias,name:u,storageKey:u,args:null,concreteType:s.concreteType,plural:s.plural,selections:s.selections}}},function(e,t,r){"use strict";e.exports=function e(t,r){if(t===r||"object"!=typeof t||!t||"object"!=typeof r||!r)return r;var n=!1,i=Array.isArray(t)?t:null,o=Array.isArray(r)?r:null;if(i&&o)n=o.reduce((function(t,r,n){var a=e(i[n],r);return a!==o[n]&&(o[n]=a),t&&a===i[n]}),!0)&&i.length===o.length;else if(!i&&!o){var a=t,s=r,u=Object.keys(a),c=Object.keys(s);n=c.reduce((function(t,r){var n=e(a[r],s[r]);return n!==s[r]&&(s[r]=n),t&&n===a[r]}),!0)&&u.length===c.length}return n?t:r}},function(e,t,r){"use strict";var n=r(3)(r(4)),i=r(10),o=r(0),a=function(){function e(){var e=this;(0,n.default)(this,"_complete",!1),(0,n.default)(this,"_events",[]),(0,n.default)(this,"_sinks",new Set),(0,n.default)(this,"_subscription",null),this._observable=i.create((function(t){e._sinks.add(t);for(var r=e._events,n=0;n<r.length&&!t.closed;n++){var i=r[n];switch(i.kind){case"complete":t.complete();break;case"error":t.error(i.error);break;case"next":t.next(i.data);break;default:i.kind,o(!1)}}return function(){e._sinks.delete(t)}}))}var t=e.prototype;return t.complete=function(){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"complete"}),this._sinks.forEach((function(e){return e.complete()})))},t.error=function(e){!0!==this._complete&&(this._complete=!0,this._events.push({kind:"error",error:e}),this._sinks.forEach((function(t){return t.error(e)})))},t.next=function(e){!0!==this._complete&&(this._events.push({kind:"next",data:e}),this._sinks.forEach((function(t){return t.next(e)})))},t.subscribe=function(e){return this._subscription=this._observable.subscribe(e),this._subscription},t.unsubscribe=function(){this._subscription&&this._subscription.unsubscribe()},t.getObserverCount=function(){return this._sinks.size},e}();e.exports=a},function(e,t,r){"use strict";e.exports=function(e,t){return e===t&&(null===e||"object"!=typeof e)}},function(e,t,r){"use strict";var n=r(10),i=r(39),o=r(0),a="function"==typeof WeakMap?new WeakMap:new Map;function s(e,t,r){return n.create((function(a){var s=c(e),u=t.identifier,f=s.get(u);return f||r().finally((function(){return s.delete(u)})).subscribe({start:function(e){f={identifier:u,subject:new i,subjectForInFlightStatus:new i,subscription:e},s.set(u,f)},next:function(e){var t=l(s,u);t.subject.next(e),t.subjectForInFlightStatus.next(e)},error:function(e){var t=l(s,u);t.subject.error(e),t.subjectForInFlightStatus.error(e)},complete:function(){var e=l(s,u);e.subject.complete(),e.subjectForInFlightStatus.complete()},unsubscribe:function(e){var t=l(s,u);t.subject.unsubscribe(),t.subjectForInFlightStatus.unsubscribe()}}),null==f&&o(!1),function(e,t){return n.create((function(r){var n=t.subject.subscribe(r);return function(){n.unsubscribe();var r=e.get(t.identifier);if(r){var i=r.subscription;null!=i&&0===r.subject.getObserverCount()&&(i.unsubscribe(),e.delete(t.identifier))}}}))}(s,f).subscribe(a)}))}function u(e,t,r){return n.create((function(t){var n=r.subjectForInFlightStatus.subscribe({error:t.error,next:function(n){e.isRequestActive(r.identifier)?t.next():t.complete()},complete:t.complete,unsubscribe:t.complete});return function(){n.unsubscribe()}}))}function c(e){var t=a.get(e);if(null!=t)return t;var r=new Map;return a.set(e,r),r}function l(e,t){var r=e.get(t);return null==r&&o(!1),r}e.exports={fetchQuery:function(e,t,r){return s(e,t.request,(function(){return e.execute({operation:t,cacheConfig:null==r?void 0:r.networkCacheConfig})}))},fetchQueryDeduped:s,getPromiseForActiveRequest:function(e,t){var r=c(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?new Promise((function(t,r){var i=!1;u(e,0,n).subscribe({complete:t,error:r,next:function(e){i&&t(e)}}),i=!0})):null},getObservableForActiveRequest:function(e,t){var r=c(e),n=r.get(t.identifier);return n&&e.isRequestActive(n.identifier)?u(e,0,n):null}}},function(e,t,r){"use strict";var n=r(20),i=r(25),o=r(8),a=r(7),s=r(22),u=r(14),c=r(26),l=r(27),f=r(28),d=r(15),p=r(43),h=r(12),_=r(6),v=r(11),g=r(53),b=r(59),m=r(10),y=r(30),E=r(23),D=r(61),O=r(13),S=r(39),I=r(1),R=r(35),k=r(62),P=r(63),A=r(64),N=r(66),T=r(68),w=r(69),F=r(18),L=r(70),M=r(41),x=r(71),j=r(21),C=r(36),U=r(29),V=r(24),K=r(40),q=r(72),G=r(38),Y=r(73),z=r(9),Q=r(5),H=Q.generateClientID,B=Q.generateUniqueClientID,W=Q.isClientID;e.exports={Environment:p,Network:b,Observable:m,QueryResponseCache:D,RecordSource:O,Record:_,ReplaySubject:S,Store:g,areEqualSelectors:v.areEqualSelectors,createFragmentSpecResolver:N,createNormalizationSelector:v.createNormalizationSelector,createOperationDescriptor:h.createOperationDescriptor,createReaderSelector:v.createReaderSelector,createRequestDescriptor:h.createRequestDescriptor,getDataIDsFromFragment:v.getDataIDsFromFragment,getDataIDsFromObject:v.getDataIDsFromObject,getFragment:o.getFragment,getInlineDataFragment:o.getInlineDataFragment,getModuleComponentKey:I.getModuleComponentKey,getModuleOperationKey:I.getModuleOperationKey,getPaginationFragment:o.getPaginationFragment,getPluralSelector:v.getPluralSelector,getRefetchableFragment:o.getRefetchableFragment,getRequest:o.getRequest,getRequestIdentifier:C,getSelector:v.getSelector,getSelectorsFromObject:v.getSelectorsFromObject,getSingularSelector:v.getSingularSelector,getStorageKey:I.getStorageKey,getVariablesFromFragment:v.getVariablesFromFragment,getVariablesFromObject:v.getVariablesFromObject,getVariablesFromPluralFragment:v.getVariablesFromPluralFragment,getVariablesFromSingularFragment:v.getVariablesFromSingularFragment,graphql:o.graphql,readInlineData:q,MutationTypes:u.MutationTypes,RangeOperations:u.RangeOperations,DefaultHandlerProvider:l,ConnectionHandler:n,VIEWER_ID:R.VIEWER_ID,VIEWER_TYPE:R.VIEWER_TYPE,applyOptimisticMutation:k,commitLocalUpdate:P,commitMutation:A,fetchQuery:L,isRelayModernEnvironment:V,requestSubscription:Y,ConnectionInterface:i,RelayProfiler:E,createPayloadFor3DField:T,RelayConcreteNode:a,RelayError:f,RelayFeatureFlags:d,DEFAULT_HANDLE_KEY:c.DEFAULT_HANDLE_KEY,FRAGMENTS_KEY:I.FRAGMENTS_KEY,FRAGMENT_OWNER_KEY:I.FRAGMENT_OWNER_KEY,ID_KEY:I.ID_KEY,REF_KEY:I.REF_KEY,REFS_KEY:I.REFS_KEY,ROOT_ID:I.ROOT_ID,ROOT_TYPE:I.ROOT_TYPE,TYPENAME_KEY:I.TYPENAME_KEY,deepFreeze:F,generateClientID:H,generateUniqueClientID:B,getRelayHandleKey:j,isClientID:W,isPromise:U,isScalarAndEqual:K,recycleNodesInto:G,stableCopy:z,getFragmentIdentifier:x,__internal:{OperationTracker:y,createRelayContext:w,getOperationVariables:s.getOperationVariables,fetchQuery:M.fetchQuery,fetchQueryDeduped:M.fetchQueryDeduped,getPromiseForActiveRequest:M.getPromiseForActiveRequest,getObservableForActiveRequest:M.getObservableForActiveRequest}}},function(e,t,r){"use strict";(function(t){var n=r(3)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(27),a=r(15),s=r(45),u=r(10),c=r(30),l=r(48),f=r(13),d=r(34),p=r(52),h=(r(0),function(){function e(e){var r,n,i,s,u,f,p=this;this.configName=e.configName;var h=e.handlerProvider?e.handlerProvider:o;this._treatMissingFieldsAsNull=!0===e.treatMissingFieldsAsNull;var v=e.operationLoader;this.__log=null!==(r=e.log)&&void 0!==r?r:_,this._defaultRenderPolicy=(null!==(n=e.UNSTABLE_defaultRenderPolicy)&&void 0!==n?n:!0===a.ENABLE_PARTIAL_RENDERING_DEFAULT)?"partial":"full",this._operationLoader=v,this._operationExecutions=new Map,this._network=e.network,this._getDataID=null!==(i=e.UNSTABLE_DO_NOT_USE_getDataID)&&void 0!==i?i:d,this._publishQueue=new l(e.store,h,this._getDataID),this._scheduler=null!==(s=e.scheduler)&&void 0!==s?s:null,this._store=e.store,this.options=e.options,this._isServer=null!==(u=e.isServer)&&void 0!==u&&u,this.__setNet=function(e){return p._network=e};var g=void 0!==t?t:"undefined"!=typeof window?window:void 0,b=g&&g.__RELAY_DEVTOOLS_HOOK__;b&&b.registerEnvironment(this),this._missingFieldHandlers=e.missingFieldHandlers,this._operationTracker=null!==(f=e.operationTracker)&&void 0!==f?f:new c}var r=e.prototype;return r.getStore=function(){return this._store},r.getNetwork=function(){return this._network},r.getOperationTracker=function(){return this._operationTracker},r.isRequestActive=function(e){return"active"===this._operationExecutions.get(e)},r.UNSTABLE_getDefaultRenderPolicy=function(){return this._defaultRenderPolicy},r.applyUpdate=function(e){var t=this;return this._publishQueue.applyUpdate(e),this._publishQueue.run(),{dispose:function(){t._publishQueue.revertUpdate(e),t._publishQueue.run()}}},r.revertUpdate=function(e){this._publishQueue.revertUpdate(e),this._publishQueue.run()},r.replaceUpdate=function(e,t){this._publishQueue.revertUpdate(e),this._publishQueue.applyUpdate(t),this._publishQueue.run()},r.applyMutation=function(e){var t=this,r=u.create((function(r){var n=u.create((function(e){})),i=s.execute({operation:e.operation,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:e,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:r,source:n,store:t._store,updater:null,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return i.cancel()}})).subscribe({});return{dispose:function(){return r.unsubscribe()}}},r.check=function(e){return null==this._missingFieldHandlers||0===this._missingFieldHandlers.length?this._store.check(e):this._checkSelectorAndHandleMissingFields(e,this._missingFieldHandlers)},r.commitPayload=function(e,t){var r=this;u.create((function(n){var i=s.execute({operation:e,operationExecutions:r._operationExecutions,operationLoader:r._operationLoader,optimisticConfig:null,publishQueue:r._publishQueue,scheduler:null,sink:n,source:u.from({data:t}),store:r._store,updater:null,operationTracker:r._operationTracker,getDataID:r._getDataID,isClientPayload:!0,treatMissingFieldsAsNull:r._treatMissingFieldsAsNull});return function(){return i.cancel()}})).subscribe({})},r.commitUpdate=function(e){this._publishQueue.commitUpdate(e),this._publishQueue.run()},r.lookup=function(e){return this._store.lookup(e)},r.subscribe=function(e,t){return this._store.subscribe(e,t)},r.retain=function(e){return this._store.retain(e)},r.isServer=function(){return this._isServer},r._checkSelectorAndHandleMissingFields=function(e,t){var r=f.create(),n=this._store.check(e,{target:r,handlers:t});return r.size()>0&&(this._publishQueue.commitSource(r),this._publishQueue.run()),n},r.execute=function(e){var t=this,r=e.operation,n=e.cacheConfig,i=e.updater,o=this.__createLogObserver(r.request.node.params,r.request.variables),a=o[0],c=o[1];return u.create((function(e){var o=t._network.execute(r.request.node.params,r.request.variables,n||{},null,c),a=s.execute({operation:r,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:null,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:o,store:t._store,updater:i,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return a.cancel()}})).do(a)},r.executeMutation=function(e){var t=this,r=e.cacheConfig,o=e.operation,a=e.optimisticResponse,c=e.optimisticUpdater,l=e.updater,f=e.uploadables,d=this.__createLogObserver(o.request.node.params,o.request.variables),p=d[0],h=d[1];return u.create((function(e){var u;(a||c)&&(u={operation:o,response:a,updater:c});var d=t._network.execute(o.request.node.params,o.request.variables,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},r,{force:!0}),f,h),p=s.execute({operation:o,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,optimisticConfig:u,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:d,store:t._store,updater:l,operationTracker:t._operationTracker,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return p.cancel()}})).do(p)},r.executeWithSource=function(e){var t=this,r=e.operation,n=e.source;return u.create((function(e){var i=s.execute({operation:r,operationExecutions:t._operationExecutions,operationLoader:t._operationLoader,operationTracker:t._operationTracker,optimisticConfig:null,publishQueue:t._publishQueue,scheduler:t._scheduler,sink:e,source:n,store:t._store,getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull});return function(){return i.cancel()}}))},r.toJSON=function(){var e;return"RelayModernEnvironment(".concat(null!==(e=this.configName)&&void 0!==e?e:"",")")},r.__createLogObserver=function(e,t){var r=p(),n=this.__log;return[{start:function(i){n({name:"execute.start",transactionID:r,params:e,variables:t})},next:function(e){n({name:"execute.next",transactionID:r,response:e})},error:function(e){n({name:"execute.error",transactionID:r,error:e})},complete:function(){n({name:"execute.complete",transactionID:r})},unsubscribe:function(){n({name:"execute.unsubscribe",transactionID:r})}},function(e){n({name:"execute.info",transactionID:r,info:e})}]},e}());function _(){}h.prototype["@@RelayModernEnvironment"]=!0,e.exports=h}).call(this,r(44))},function(e,t){var r;r=function(){return this}();try{r=r||new Function("return this")()}catch(e){"object"==typeof window&&(r=window)}e.exports=r},function(e,t,r){"use strict";var n=r(3),i=n(r(4)),o=n(r(16));function a(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,i,o=!0,a=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return o=e.done,e},e:function(e){a=!0,i=e},f:function(){try{o||null==n.return||n.return()}finally{if(a)throw i}}}}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var c=r(28),l=r(6),f=r(10),d=r(13),p=r(47),h=r(0),_=r(9),v=(r(2),r(5).generateClientID),g=r(11).createNormalizationSelector,b=r(1),m=b.ROOT_TYPE,y=b.TYPENAME_KEY,E=b.getStorageKey;var D=function(){function e(e){var t=this,r=e.operation,n=e.operationExecutions,i=e.operationLoader,o=e.optimisticConfig,a=e.publishQueue,s=e.scheduler,u=e.sink,c=e.source,l=e.store,f=e.updater,d=e.operationTracker,p=e.treatMissingFieldsAsNull,h=e.getDataID,_=e.isClientPayload;this._getDataID=h,this._treatMissingFieldsAsNull=p,this._incrementalPayloadsPending=!1,this._incrementalResults=new Map,this._nextSubscriptionId=0,this._operation=r,this._operationExecutions=n,this._operationLoader=i,this._operationTracker=d,this._operationUpdateEpochs=new Map,this._optimisticUpdates=null,this._pendingModulePayloadsCount=0,this._publishQueue=a,this._scheduler=s,this._sink=u,this._source=new Map,this._state="started",this._store=l,this._subscriptions=new Map,this._updater=f,this._isClientPayload=!0===_;var v=this._nextSubscriptionId++;c.subscribe({complete:function(){return t._complete(v)},error:function(e){return t._error(e)},next:function(e){try{t._next(v,e)}catch(e){u.error(e)}},start:function(e){return t._start(v,e)}}),null!=o&&this._processOptimisticResponse(null!=o.response?{data:o.response}:null,o.updater,!1)}var t=e.prototype;return t.cancel=function(){var e=this;if("completed"!==this._state){this._state="completed",this._operationExecutions.delete(this._operation.request.identifier),0!==this._subscriptions.size&&(this._subscriptions.forEach((function(e){return e.unsubscribe()})),this._subscriptions.clear());var t=this._optimisticUpdates;null!==t&&(this._optimisticUpdates=null,t.forEach((function(t){return e._publishQueue.revertUpdate(t)})),this._publishQueue.run()),this._incrementalResults.clear(),this._completeOperationTracker()}},t._updateActiveState=function(){var e;switch(this._state){case"started":case"loading_incremental":e="active";break;case"completed":e="inactive";break;case"loading_final":e=this._pendingModulePayloadsCount>0?"active":"inactive";break;default:this._state,h(!1)}this._operationExecutions.set(this._operation.request.identifier,e)},t._schedule=function(e){var t=this,r=this._scheduler;if(null!=r){var n=this._nextSubscriptionId++;f.create((function(t){var n=r.schedule((function(){try{e(),t.complete()}catch(e){t.error(e)}}));return function(){return r.cancel(n)}})).subscribe({complete:function(){return t._complete(n)},error:function(e){return t._error(e)},start:function(e){return t._start(n,e)}})}else e()},t._complete=function(e){this._subscriptions.delete(e),0===this._subscriptions.size&&(this.cancel(),this._sink.complete())},t._error=function(e){this.cancel(),this._sink.error(e)},t._start=function(e,t){this._subscriptions.set(e,t),this._updateActiveState()},t._next=function(e,t){var r=this;this._schedule((function(){r._handleNext(t),r._maybeCompleteSubscriptionOperationTracking()}))},t._handleErrorResponse=function(e){var t=this,r=[];return e.forEach((function(e){if(null!==e.data||null==e.extensions||e.hasOwnProperty("errors")){if(null==e.data){var n=e.hasOwnProperty("errors")&&null!=e.errors?e.errors:null,i=n?n.map((function(e){return e.message})).join("\n"):"(No errors)",o=c.create("RelayNetwork","No data returned for operation `"+t._operation.request.node.params.name+"`, got error(s):\n"+i+"\n\nSee the error `source` property for more information.");throw o.source={errors:n,operation:t._operation.request.node,variables:t._operation.request.variables},o}var a=e;r.push(a)}})),r},t._handleOptimisticResponses=function(e){var t;if(e.length>1)return e.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.isOptimistic)}))&&h(!1),!1;var r=e[0],n=!0===(null===(t=r.extensions)||void 0===t?void 0:t.isOptimistic);return n&&"started"!==this._state&&h(!1),!!n&&(this._processOptimisticResponse(r,null,this._treatMissingFieldsAsNull),this._sink.next(r),!0)},t._handleNext=function(e){if("completed"!==this._state){var t=Array.isArray(e)?e:[e],r=this._handleErrorResponse(t);if(0===r.length)return t.some((function(e){var t;return!0===(null===(t=e.extensions)||void 0===t?void 0:t.is_final)}))&&(this._state="loading_final",this._updateActiveState(),this._incrementalPayloadsPending=!1),void this._sink.next(e);if(!this._handleOptimisticResponses(r)){var n=function(e){var t=[],r=[];return e.forEach((function(e){if(null!=e.path||null!=e.label){var n=e.label,i=e.path;null!=n&&null!=i||h(!1),r.push({label:n,path:i,response:e})}else t.push(e)})),[t,r]}(r),i=n[0],o=n[1];if(i.length>0){var a=this._processResponses(i),s=this._publishQueue.run(this._operation);this._updateOperationTracker(s),this._processPayloadFollowups(a)}if(o.length>0){var u=this._processIncrementalResponses(o),c=this._publishQueue.run();this._updateOperationTracker(c),this._processPayloadFollowups(u)}this._sink.next(e)}}},t._processOptimisticResponse=function(e,t,r){var n=this;if(null!==this._optimisticUpdates&&h(!1),null!=e||null!=t){var i=[];if(e){var o=O(e,this._operation.root,m,{getDataID:this._getDataID,path:[],request:this._operation.request,treatMissingFieldsAsNull:r});S(o),i.push({operation:this._operation,payload:o,updater:t}),this._processOptimisticFollowups(o,i)}else t&&i.push({operation:this._operation,payload:{errors:null,fieldPayloads:null,incrementalPlaceholders:null,moduleImportPayloads:null,source:d.create(),isFinal:!1},updater:t});this._optimisticUpdates=i,i.forEach((function(e){return n._publishQueue.applyUpdate(e)})),this._publishQueue.run()}},t._processOptimisticFollowups=function(e,t){if(e.moduleImportPayloads&&e.moduleImportPayloads.length){var r=e.moduleImportPayloads,n=this._operationLoader;n||h(!1);var i,a=s(r);try{for(a.s();!(i=a.n()).done;){var u=i.value,c=n.get(u.operationReference);if(null==c)this._processAsyncOptimisticModuleImport(n,u);else{var l=this._processOptimisticModuleImport(c,u);t.push.apply(t,(0,o.default)(l))}}}catch(e){a.e(e)}finally{a.f()}}},t._normalizeModuleImport=function(e,t){var r=g(t,e.dataID,e.variables);return O({data:e.data},r,e.typeName,{getDataID:this._getDataID,path:e.path,request:this._operation.request,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull})},t._processOptimisticModuleImport=function(e,t){var r=[],n=this._normalizeModuleImport(t,e);return S(n),r.push({operation:this._operation,payload:n,updater:null}),this._processOptimisticFollowups(n,r),r},t._processAsyncOptimisticModuleImport=function(e,t){var r=this;e.load(t.operationReference).then((function(e){if(null!=e&&"started"===r._state){var n,i=r._processOptimisticModuleImport(e,t);if(i.forEach((function(e){return r._publishQueue.applyUpdate(e)})),null==r._optimisticUpdates);else(n=r._optimisticUpdates).push.apply(n,(0,o.default)(i)),r._publishQueue.run()}}))},t._processResponses=function(e){var t=this;return null!==this._optimisticUpdates&&(this._optimisticUpdates.forEach((function(e){return t._publishQueue.revertUpdate(e)})),this._optimisticUpdates=null),this._incrementalPayloadsPending=!1,this._incrementalResults.clear(),this._source.clear(),e.map((function(e){var r=O(e,t._operation.root,m,{getDataID:t._getDataID,treatMissingFieldsAsNull:t._treatMissingFieldsAsNull,path:[],request:t._operation.request});return t._publishQueue.commitPayload(t._operation,r,t._updater),r}))},t._processPayloadFollowups=function(e){var t=this;"completed"!==this._state&&e.forEach((function(e){var r=e.incrementalPlaceholders,n=e.moduleImportPayloads,i=e.isFinal;if(t._state=i?"loading_final":"loading_incremental",t._updateActiveState(),i&&(t._incrementalPayloadsPending=!1),n&&0!==n.length){var o=t._operationLoader;o||h(!1),n.forEach((function(e){t._processModuleImportPayload(e,o)}))}if(r&&0!==r.length&&(t._incrementalPayloadsPending="loading_final"!==t._state,r.forEach((function(r){t._processIncrementalPlaceholder(e,r)})),t._isClientPayload||"loading_final"===t._state)){var a=[];if(r.forEach((function(e){"defer"===e.kind&&a.push(t._processDeferResponse(e.label,e.path,e,{data:e.data}))})),a.length>0){var s=t._publishQueue.run();t._updateOperationTracker(s),t._processPayloadFollowups(a)}}}))},t._maybeCompleteSubscriptionOperationTracking=function(){"subscription"===this._operation.request.node.params.operationKind&&0===this._pendingModulePayloadsCount&&!1===this._incrementalPayloadsPending&&this._completeOperationTracker()},t._processModuleImportPayload=function(e,t){var r=this,n=t.get(e.operationReference);if(null!=n)this._schedule((function(){r._handleModuleImportPayload(e,n),r._maybeCompleteSubscriptionOperationTracking()}));else{var i=this._nextSubscriptionId++;this._pendingModulePayloadsCount++;var o=function(){r._pendingModulePayloadsCount--,r._maybeCompleteSubscriptionOperationTracking()};f.from(new Promise((function(r,n){t.load(e.operationReference).then(r,n)}))).map((function(t){null!=t&&r._schedule((function(){r._handleModuleImportPayload(e,t)}))})).subscribe({complete:function(){r._complete(i),o()},error:function(e){r._error(e),o()},start:function(e){return r._start(i,e)}})}},t._handleModuleImportPayload=function(e,t){var r=this._normalizeModuleImport(e,t);this._publishQueue.commitPayload(this._operation,r);var n=this._publishQueue.run();this._updateOperationTracker(n),this._processPayloadFollowups([r])},t._processIncrementalPlaceholder=function(e,t){var r,n=this,i=t.label,o=t.path.map(String).join("."),a=this._incrementalResults.get(i);null==a&&(a=new Map,this._incrementalResults.set(i,a));var s,u=a.get(o),c=null!=u&&"response"===u.kind?u.responses:null;a.set(o,{kind:"placeholder",placeholder:t}),"stream"===t.kind?s=t.parentID:"defer"===t.kind?s=t.selector.dataID:h(!1);var f,d,p=e.source.get(s),g=(null!==(r=e.fieldPayloads)&&void 0!==r?r:[]).filter((function(e){var t=v(e.dataID,e.fieldKey);return(e.dataID===s||t===s)}));null==p&&h(!1);var b=this._source.get(s);if(null!=b){f=l.update(b.record,p);var m=new Map,y=function(e){var t,r,n=(t=e,null!==(r=JSON.stringify(_(t)))&&void 0!==r?r:"");m.set(n,e)};b.fieldPayloads.forEach(y),g.forEach(y),d=Array.from(m.values())}else f=p,d=g;this._source.set(s,{record:f,fieldPayloads:d}),null!=c&&this._schedule((function(){var e=n._processIncrementalResponses(c),t=n._publishQueue.run();n._updateOperationTracker(t),n._processPayloadFollowups(e)}))},t._processIncrementalResponses=function(e){var t=this,r=[];return e.forEach((function(e){var n=e.label,i=e.path,o=e.response,a=t._incrementalResults.get(n);if(null==a&&(a=new Map,t._incrementalResults.set(n,a)),-1!==n.indexOf("$defer$")){var s=i.map(String).join("."),u=a.get(s);if(null==u)return u={kind:"response",responses:[e]},void a.set(s,u);if("response"===u.kind)return void u.responses.push(e);var c=u.placeholder;"defer"!==c.kind&&h(!1),r.push(t._processDeferResponse(n,i,c,o))}else{var l=i.slice(0,-2).map(String).join("."),f=a.get(l);if(null==f)return f={kind:"response",responses:[e]},void a.set(l,f);if("response"===f.kind)return void f.responses.push(e);var d=f.placeholder;"stream"!==d.kind&&h(!1),r.push(t._processStreamResponse(n,i,d,o))}})),r},t._processDeferResponse=function(e,t,r,n){var i=r.selector.dataID,o=O(n,r.selector,r.typeName,{getDataID:this._getDataID,path:r.path,request:this._operation.request,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull});this._publishQueue.commitPayload(this._operation,o);var a=this._source.get(i);null==a&&h(!1);var s=a.fieldPayloads;if(0!==s.length){var u,c={errors:null,fieldPayloads:s,incrementalPlaceholders:null,moduleImportPayloads:null,source:d.create(),isFinal:!0===(null===(u=n.extensions)||void 0===u?void 0:u.is_final)};this._publishQueue.commitPayload(this._operation,c)}return o},t._processStreamResponse=function(e,t,r,n){var i=r.parentID,a=r.node,s=r.variables,u=a.selections[0];(null==u||"LinkedField"!==u.kind||!0!==u.plural)&&h(!1);var c=this._normalizeStreamItem(n,i,u,s,t,r.path),l=c.fieldPayloads,f=c.itemID,p=c.itemIndex,_=c.prevIDs,v=c.relayPayload,g=c.storageKey;if(this._publishQueue.commitPayload(this._operation,v,(function(e){var t=e.get(i);if(null!=t){var r=t.getLinkedRecords(g);if(null!=r&&r.length===_.length&&!r.some((function(e,t){return _[t]!==(e&&e.getDataID())}))){var n=(0,o.default)(r);n[p]=e.get(f),t.setLinkedRecords(n,g)}}})),0!==l.length){var b={errors:null,fieldPayloads:l,incrementalPlaceholders:null,moduleImportPayloads:null,source:d.create(),isFinal:!1};this._publishQueue.commitPayload(this._operation,b)}return v},t._normalizeStreamItem=function(e,t,r,n,i,a){var s,u,c,f=e.data;"object"!=typeof f&&h(!1);var d=null!==(s=r.alias)&&void 0!==s?s:r.name,p=E(r,n),_=this._source.get(t);null==_&&h(!1);var b=_.record,m=_.fieldPayloads,D=l.getLinkedRecordIDs(b,p);null==D&&h(!1);var S=i[i.length-1],I=parseInt(S,10);I===S&&I>=0||h(!1);var R=null!==(u=r.concreteType)&&void 0!==u?u:f[y];"string"!=typeof R&&h(!1);var k=(null!==(c=this._getDataID(f,R))&&void 0!==c?c:D&&D[I])||v(t,p,I);"string"!=typeof k&&h(!1);var P=g(r,k,n),A=l.clone(b),N=(0,o.default)(D);return N[I]=k,l.setLinkedRecordIDs(A,p,N),this._source.set(t,{record:A,fieldPayloads:m}),{fieldPayloads:m,itemID:k,itemIndex:I,prevIDs:D,relayPayload:O(e,P,R,{getDataID:this._getDataID,path:[].concat((0,o.default)(a),[d,String(I)]),request:this._operation.request,treatMissingFieldsAsNull:this._treatMissingFieldsAsNull}),storageKey:p}},t._updateOperationTracker=function(e){null!=this._operationTracker&&null!=e&&e.length>0&&this._operationTracker.update(this._operation.request,new Set(e))},t._completeOperationTracker=function(){null!=this._operationTracker&&this._operationTracker.complete(this._operation.request)},e}();function O(e,t,r,n){var o,s=e.data,u=e.errors,c=d.create(),f=l.create(t.dataID,r);return c.set(t.dataID,f),function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?a(Object(r),!0).forEach((function(t){(0,i.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):a(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},p.normalize(c,t,s,n),{errors:u,isFinal:!0===(null===(o=e.extensions)||void 0===o?void 0:o.is_final)})}function S(e){var t=e.incrementalPlaceholders;null!=t&&0!==t.length&&h(!1)}e.exports={execute:function(e){return new D(e)}}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(19),a=o.EXISTENT,s=o.NONEXISTENT,u=o.UNKNOWN,c=function(){function e(e){var t=this;this._records=new Map,null!=e&&Object.keys(e).forEach((function(r){t._records.set(r,e[r])}))}var t=e.prototype;return t.clear=function(){this._records=new Map},t.delete=function(e){this._records.set(e,null)},t.get=function(e){return this._records.get(e)},t.getRecordIDs=function(){return Array.from(this._records.keys())},t.getStatus=function(e){return this._records.has(e)?null==this._records.get(e)?s:a:u},t.has=function(e){return this._records.has(e)},t.remove=function(e){this._records.delete(e)},t.set=function(e,t){this._records.set(e,t)},t.size=function(){return this._records.size},t.toJSON=function(){var e,t={},r=n(this._records);try{for(r.s();!(e=r.n()).done;){var i=e.value,o=i[0],a=i[1];t[o]=a}}catch(e){r.e(e)}finally{r.f()}return t},e}();e.exports=c},function(e,t,r){"use strict";var n=r(3)(r(16)),i=r(6),o=r(23),a=r(0),s=(r(2),r(7)),u=s.CONDITION,c=s.CLIENT_EXTENSION,l=s.DEFER,f=s.INLINE_FRAGMENT,d=s.LINKED_FIELD,p=s.LINKED_HANDLE,h=s.MODULE_IMPORT,_=s.SCALAR_FIELD,v=s.SCALAR_HANDLE,g=s.STREAM,b=r(5),m=b.generateClientID,y=(b.isClientID,r(11).createNormalizationSelector),E=r(1),D=E.getArgumentValues,O=E.getHandleStorageKey,S=E.getModuleComponentKey,I=E.getModuleOperationKey,R=E.getStorageKey,k=E.TYPENAME_KEY;E.ROOT_ID;var P=function(){function e(e,t,r){this._getDataId=r.getDataID,this._handleFieldPayloads=[],this._treatMissingFieldsAsNull=r.treatMissingFieldsAsNull,this._incrementalPlaceholders=[],this._isClientExtension=!1,this._moduleImportPayloads=[],this._path=r.path?(0,n.default)(r.path):[],this._recordSource=e,this._request=r.request,this._variables=t}var t=e.prototype;return t.normalizeResponse=function(e,t,r){var n=this._recordSource.get(t);return n||a(!1),this._traverseSelections(e,n,r),{errors:null,fieldPayloads:this._handleFieldPayloads,incrementalPlaceholders:this._incrementalPlaceholders,moduleImportPayloads:this._moduleImportPayloads,source:this._recordSource,isFinal:!1}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||a(!1),this._variables[e]},t._getRecordType=function(e){var t=e[k];return null==t&&a(!1),t},t._traverseSelections=function(e,t,r){for(var n=0;n<e.selections.length;n++){var o=e.selections[n];switch(o.kind){case _:case d:this._normalizeField(e,o,t,r);break;case u:this._getVariableValue(o.condition)===o.passingValue&&this._traverseSelections(o,t,r);break;case f:i.getType(t)===o.type&&this._traverseSelections(o,t,r);break;case p:case v:var s=o.args?D(o.args,this._variables):{},b=R(o,this._variables),m=O(o,this._variables);this._handleFieldPayloads.push({args:s,dataID:i.getDataID(t),fieldKey:b,handle:o.handle,handleKey:m});break;case h:this._normalizeModuleImport(e,o,t,r);break;case l:this._normalizeDefer(o,t,r);break;case g:this._normalizeStream(o,t,r);break;case c:var y=this._isClientExtension;this._isClientExtension=!0,this._traverseSelections(o,t,r),this._isClientExtension=y;break;default:a(!1)}}},t._normalizeDefer=function(e,t,r){!1===(null===e.if||this._getVariableValue(e.if))?this._traverseSelections(e,t,r):this._incrementalPlaceholders.push({kind:"defer",data:r,label:e.label,path:(0,n.default)(this._path),selector:y(e,i.getDataID(t),this._variables),typeName:i.getType(t)})},t._normalizeStream=function(e,t,r){this._traverseSelections(e,t,r),!0===(null===e.if||this._getVariableValue(e.if))&&this._incrementalPlaceholders.push({kind:"stream",label:e.label,path:(0,n.default)(this._path),parentID:i.getDataID(t),node:e,variables:this._variables})},t._normalizeModuleImport=function(e,t,r,o){"object"==typeof o&&o||a(!1);var s=i.getType(r),u=S(t.documentName),c=o[u];i.setValue(r,u,null!=c?c:null);var l=I(t.documentName),f=o[l];i.setValue(r,l,null!=f?f:null),null!=f&&this._moduleImportPayloads.push({data:o,dataID:i.getDataID(r),operationReference:f,path:(0,n.default)(this._path),typeName:s,variables:this._variables})},t._normalizeField=function(e,t,r,n){"object"==typeof n&&n||a(!1);var o=t.alias||t.name,s=R(t,this._variables),u=n[o];if(null==u)return this._treatMissingFieldsAsNull||void 0!==u?void i.setValue(r,s,null):void 0;t.kind===_?i.setValue(r,s,u):t.kind===d?(this._path.push(o),t.plural?this._normalizePluralLink(t,r,s,u):this._normalizeLink(t,r,s,u),this._path.pop()):a(!1)},t._normalizeLink=function(e,t,r,n){var o;"object"==typeof n&&n||a(!1);var s=this._getDataId(n,null!==(o=e.concreteType)&&void 0!==o?o:this._getRecordType(n))||i.getLinkedRecordID(t,r)||m(i.getDataID(t),r);"string"!=typeof s&&a(!1),i.setLinkedRecordID(t,r,s);var u=this._recordSource.get(s);if(u)0;else{var c=e.concreteType||this._getRecordType(n);u=i.create(s,c),this._recordSource.set(s,u)}this._traverseSelections(e,u,n)},t._normalizePluralLink=function(e,t,r,n){var o=this;Array.isArray(n)||a(!1);var s=i.getLinkedRecordIDs(t,r),u=[];n.forEach((function(n,c){var l;if(null!=n){o._path.push(String(c)),"object"!=typeof n&&a(!1);var f=o._getDataId(n,null!==(l=e.concreteType)&&void 0!==l?l:o._getRecordType(n))||s&&s[c]||m(i.getDataID(t),r,c);"string"!=typeof f&&a(!1),u.push(f);var d=o._recordSource.get(f);if(d)0;else{var p=e.concreteType||o._getRecordType(n);d=i.create(f,p),o._recordSource.set(f,d)}o._traverseSelections(e,d,n),o._path.pop()}else u.push(n)})),i.setLinkedRecordIDs(t,r,u)},t._validateRecordType=function(e,t,r){var n;null!==(n=t.concreteType)&&void 0!==n||this._getRecordType(r),i.getDataID(e)},e}(),A=o.instrument("RelayResponseNormalizer.normalize",(function(e,t,r,n){var i=t.dataID,o=t.node,a=t.variables;return new P(e,a,n).normalizeResponse(o,i,r)}));e.exports={normalize:A}},function(e,t,r){"use strict";var n=r(49),i=r(31),o=r(13),a=r(32),s=r(33),u=r(51),c=r(0),l=(r(2),function(){function e(e,t,r){this._hasStoreSnapshot=!1,this._handlerProvider=t||null,this._pendingBackupRebase=!1,this._pendingData=new Set,this._pendingOptimisticUpdates=new Set,this._store=e,this._appliedOptimisticUpdates=new Set,this._gcHold=null,this._getDataID=r}var t=e.prototype;return t.applyUpdate=function(e){(this._appliedOptimisticUpdates.has(e)||this._pendingOptimisticUpdates.has(e))&&c(!1),this._pendingOptimisticUpdates.add(e)},t.revertUpdate=function(e){this._pendingOptimisticUpdates.has(e)?this._pendingOptimisticUpdates.delete(e):this._appliedOptimisticUpdates.has(e)&&(this._pendingBackupRebase=!0,this._appliedOptimisticUpdates.delete(e))},t.revertAll=function(){this._pendingBackupRebase=!0,this._pendingOptimisticUpdates.clear(),this._appliedOptimisticUpdates.clear()},t.commitPayload=function(e,t,r){this._pendingBackupRebase=!0,this._pendingData.add({kind:"payload",operation:e,payload:t,updater:r})},t.commitUpdate=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"updater",updater:e})},t.commitSource=function(e){this._pendingBackupRebase=!0,this._pendingData.add({kind:"source",source:e})},t.run=function(e){this._pendingBackupRebase&&this._hasStoreSnapshot&&(this._store.restore(),this._hasStoreSnapshot=!1);var t=this._commitData();return(this._pendingOptimisticUpdates.size||this._pendingBackupRebase&&this._appliedOptimisticUpdates.size)&&(this._hasStoreSnapshot||(this._store.snapshot(),this._hasStoreSnapshot=!0),this._applyUpdates()),this._pendingBackupRebase=!1,this._appliedOptimisticUpdates.size>0?this._gcHold||(this._gcHold=this._store.holdGC()):this._gcHold&&(this._gcHold.dispose(),this._gcHold=null),this._store.notify(e,t)},t._publishSourceFromPayload=function(e){var t=this,r=e.payload,n=e.operation,i=e.updater,o=r.source,l=r.fieldPayloads,d=new a(this._store.getSource(),o),p=new s(d,this._getDataID);if(l&&l.length&&l.forEach((function(e){var r=t._handlerProvider&&t._handlerProvider(e.handle);r||c(!1),r.update(p,e)})),i){var h=n.fragment;null==h&&c(!1),i(new u(d,p,h),f(o,h))}var _=p.getIDsMarkedForInvalidation();return this._store.publish(o,_),p.isStoreMarkedForInvalidation()},t._commitData=function(){var e=this;if(!this._pendingData.size)return!1;var t=!1;return this._pendingData.forEach((function(r){if("payload"===r.kind){var i=e._publishSourceFromPayload(r);t=t||i}else if("source"===r.kind){var u=r.source;e._store.publish(u)}else{var c=r.updater,l=o.create(),f=new a(e._store.getSource(),l),d=new s(f,e._getDataID);n.applyWithGuard(c,null,[d],null,"RelayPublishQueue:commitData"),t=t||d.isStoreMarkedForInvalidation();var p=d.getIDsMarkedForInvalidation();e._store.publish(l,p)}})),this._pendingData.clear(),t},t._applyUpdates=function(){var e=this,t=o.create(),r=new a(this._store.getSource(),t),i=new s(r,this._getDataID,this._handlerProvider),c=function(e){if(e.storeUpdater){var t=e.storeUpdater;n.applyWithGuard(t,null,[i],null,"RelayPublishQueue:applyUpdates")}else{var o,a=e.operation,s=e.payload,c=e.updater,l=s.source,d=s.fieldPayloads,p=new u(r,i,a.fragment);l&&(i.publishSource(l,d),o=f(l,a.fragment)),c&&n.applyWithGuard(c,null,[p,o],null,"RelayPublishQueue:applyUpdates")}};this._pendingBackupRebase&&this._appliedOptimisticUpdates.size&&this._appliedOptimisticUpdates.forEach(c),this._pendingOptimisticUpdates.size&&(this._pendingOptimisticUpdates.forEach((function(t){c(t),e._appliedOptimisticUpdates.add(t)})),this._pendingOptimisticUpdates.clear()),this._store.publish(t)},e}());function f(e,t){return i.read(e,t).data}e.exports=l},function(e,t){e.exports=a},function(e,t,r){"use strict";var n=r(0),i=r(5).generateClientID,o=r(1).getStableStorageKey,a=function(){function e(e,t,r){this._dataID=r,this._mutator=t,this._source=e}var t=e.prototype;return t.copyFieldsFrom=function(e){this._mutator.copyFields(e.getDataID(),this._dataID)},t.getDataID=function(){return this._dataID},t.getType=function(){var e=this._mutator.getType(this._dataID);return null==e&&n(!1),e},t.getValue=function(e,t){var r=o(e,t);return this._mutator.getValue(this._dataID,r)},t.setValue=function(e,t,r){s(e)||n(!1);var i=o(t,r);return this._mutator.setValue(this._dataID,i,e),this},t.getLinkedRecord=function(e,t){var r=o(e,t),n=this._mutator.getLinkedRecordID(this._dataID,r);return null!=n?this._source.get(n):n},t.setLinkedRecord=function(t,r,i){t instanceof e||n(!1);var a=o(r,i),s=t.getDataID();return this._mutator.setLinkedRecordID(this._dataID,a,s),this},t.getOrCreateLinkedRecord=function(e,t,r){var n=this.getLinkedRecord(e,r);if(!n){var a,s=o(e,r),u=i(this.getDataID(),s);n=null!==(a=this._source.get(u))&&void 0!==a?a:this._source.create(u,t),this.setLinkedRecord(n,e,r)}return n},t.getLinkedRecords=function(e,t){var r=this,n=o(e,t),i=this._mutator.getLinkedRecordIDs(this._dataID,n);return null==i?i:i.map((function(e){return null!=e?r._source.get(e):e}))},t.setLinkedRecords=function(e,t,r){Array.isArray(e)||n(!1);var i=o(t,r),a=e.map((function(e){return e&&e.getDataID()}));return this._mutator.setLinkedRecordIDs(this._dataID,i,a),this},t.invalidateRecord=function(){this._source.markIDForInvalidation(this._dataID)},e}();function s(e){return null==e||"object"!=typeof e||Array.isArray(e)&&e.every(s)}e.exports=a},function(e,t,r){"use strict";var n=r(0),i=r(1),o=i.getStorageKey,a=i.ROOT_TYPE,s=function(){function e(e,t,r){this.__mutator=e,this.__recordSource=t,this._readSelector=r}var t=e.prototype;return t.create=function(e,t){return this.__recordSource.create(e,t)},t.delete=function(e){this.__recordSource.delete(e)},t.get=function(e){return this.__recordSource.get(e)},t.getRoot=function(){return this.__recordSource.getRoot()},t.getOperationRoot=function(){var e=this.__recordSource.get(this._readSelector.dataID);return e||(e=this.__recordSource.create(this._readSelector.dataID,a)),e},t._getRootField=function(e,t,r){var i=e.node.selections.find((function(e){return"LinkedField"===e.kind&&e.name===t}));return i&&"LinkedField"===i.kind||n(!1),i.plural!==r&&n(!1),i},t.getRootField=function(e){var t=this._getRootField(this._readSelector,e,!1),r=o(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecord(r)},t.getPluralRootField=function(e){var t=this._getRootField(this._readSelector,e,!0),r=o(t,this._readSelector.variables);return this.getOperationRoot().getLinkedRecords(r)},t.invalidateStore=function(){this.__recordSource.invalidateStore()},e}();e.exports=s},function(e,t,r){"use strict";var n=1e5;e.exports=function(){return n++}},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(54),a=r(6),s=r(55),u=r(23),c=r(31),l=r(56),f=r(1),d=(r(18),r(34)),p=r(57),h=r(0),_=r(38),v=r(58),g=r(1),b=g.ROOT_ID,m=g.ROOT_TYPE,y=function(){function e(e,t){var r,n,i,o;this._currentWriteEpoch=0,this._gcHoldCounter=0,this._gcReleaseBufferSize=null!==(r=null==t?void 0:t.gcReleaseBufferSize)&&void 0!==r?r:0,this._gcScheduler=null!==(n=null==t?void 0:t.gcScheduler)&&void 0!==n?n:v,this._getDataID=null!==(i=null==t?void 0:t.UNSTABLE_DO_NOT_USE_getDataID)&&void 0!==i?i:d,this._globalInvalidationEpoch=null,this._hasScheduledGC=!1,this._index=0,this._invalidationSubscriptions=new Set,this._invalidatedRecordIDs=new Set,this._queryCacheExpirationTime=null==t?void 0:t.queryCacheExpirationTime,this._operationLoader=null!==(o=null==t?void 0:t.operationLoader)&&void 0!==o?o:null,this._optimisticSource=null,this._recordSource=e,this._releaseBuffer=[],this._roots=new Map,this._shouldScheduleGC=!1,this._subscriptions=new Set,this._updatedRecordIDs={},function(e){if(!e.has(b)){var t=a.create(b,m);e.set(b,t)}}(this._recordSource)}var t=e.prototype;return t.getSource=function(){var e;return null!==(e=this._optimisticSource)&&void 0!==e?e:this._recordSource},t.check=function(e,t){var r,n,i,a=e.root,s=null!==(r=this._optimisticSource)&&void 0!==r?r:this._recordSource,u=this._globalInvalidationEpoch,c=this._roots.get(e.request.identifier),l=null!=c?c.epoch:null;if(null!=u&&(null==l||l<=u))return{status:"stale"};var f=null!==(n=null==t?void 0:t.target)&&void 0!==n?n:s,d=null!==(i=null==t?void 0:t.handlers)&&void 0!==i?i:[];return function(e,t,r,n){var i=e.mostRecentlyInvalidatedAt,o=e.status;if("number"==typeof i&&(null==t||i>t))return{status:"stale"};if("missing"===o)return{status:"missing"};if(null!=r&&null!=n){if(r<=Date.now()-n)return{status:"stale"}}return{status:"available",fetchTime:null!=r?r:null}}(o.check(s,f,a,d,this._operationLoader,this._getDataID),l,null==c?void 0:c.fetchTime,this._queryCacheExpirationTime)},t.retain=function(e){var t=this,r=e.request.identifier,n=!1,i=this._roots.get(r);return null!=i?(0===i.refCount&&(this._releaseBuffer=this._releaseBuffer.filter((function(e){return e!==r}))),i.refCount+=1):this._roots.set(r,{operation:e,refCount:1,epoch:null,fetchTime:null}),{dispose:function(){if(!n){n=!0;var e=t._roots.get(r);if(null!=e&&(e.refCount--,0===e.refCount)){var i=t._queryCacheExpirationTime;if(null!=e.fetchTime&&null!=i&&e.fetchTime<=Date.now()-i)t._roots.delete(r),t._scheduleGC();else if(t._releaseBuffer.push(r),t._releaseBuffer.length>t._gcReleaseBufferSize){var o=t._releaseBuffer.shift();t._roots.delete(o),t._scheduleGC()}}}}}},t.lookup=function(e){var t=this.getSource();return c.read(t,e)},t.notify=function(e,t){var r=this;this._currentWriteEpoch++,!0===t&&(this._globalInvalidationEpoch=this._currentWriteEpoch);var n=this.getSource(),i=[];if(this._subscriptions.forEach((function(e){var t=r._updateSubscription(n,e);null!=t&&i.push(t)})),this._invalidationSubscriptions.forEach((function(e){r._updateInvalidationSubscription(e,!0===t)})),this._updatedRecordIDs={},this._invalidatedRecordIDs.clear(),null!=e){var o=e.request.identifier,a=this._roots.get(o);if(null!=a)a.epoch=this._currentWriteEpoch,a.fetchTime=Date.now();else if("query"===e.request.node.params.operationKind&&this._gcReleaseBufferSize>0&&this._releaseBuffer.length<this._gcReleaseBufferSize){var s={operation:e,refCount:0,epoch:this._currentWriteEpoch,fetchTime:Date.now()};this._releaseBuffer.push(o),this._roots.set(o,s)}}return i},t.publish=function(e,t){var r;!function(e,t,r,n,i,o){n&&n.forEach((function(n){var i,s=e.get(n),u=t.get(n);null!==u&&((i=null!=s?a.clone(s):null!=u?a.clone(u):null)&&(a.setValue(i,f.INVALIDATED_AT_KEY,r),o.add(n),e.set(n,i)))}));for(var s=t.getRecordIDs(),u=0;u<s.length;u++){var c=s[u],l=t.get(c),d=e.get(c);if(l&&d){var p=a.update(d,l);p!==d&&(i[c]=!0,e.set(c,p))}else null===l?(e.delete(c),null!==d&&(i[c]=!0)):l&&(e.set(c,l),i[c]=!0)}}(null!==(r=this._optimisticSource)&&void 0!==r?r:this._recordSource,e,this._currentWriteEpoch+1,t,this._updatedRecordIDs,this._invalidatedRecordIDs)},t.subscribe=function(e,t){var r=this,n={backup:null,callback:t,snapshot:e,stale:!1};return this._subscriptions.add(n),{dispose:function(){r._subscriptions.delete(n)}}},t.holdGC=function(){var e=this;this._gcHoldCounter++;return{dispose:function(){e._gcHoldCounter>0&&(e._gcHoldCounter--,0===e._gcHoldCounter&&e._shouldScheduleGC&&(e._scheduleGC(),e._shouldScheduleGC=!1))}}},t.toJSON=function(){return"RelayModernStore()"},t.__getUpdatedRecordIDs=function(){return this._updatedRecordIDs},t._updateSubscription=function(e,t){var r=t.backup,n=t.callback,i=t.snapshot,o=t.stale,a=p(i.seenRecords,this._updatedRecordIDs);if(o||a){var s=a||!r?c.read(e,i.selector):r;return s={data:_(i.data,s.data),isMissingData:s.isMissingData,seenRecords:s.seenRecords,selector:s.selector},t.snapshot=s,t.stale=!1,s.data!==i.data?(n(s),i.selector.owner):void 0}},t.lookupInvalidationState=function(e){var t=this,r=new Map;return e.forEach((function(e){var n,i=t.getSource().get(e);r.set(e,null!==(n=a.getInvalidationEpoch(i))&&void 0!==n?n:null)})),r.set("global",this._globalInvalidationEpoch),{dataIDs:e,invalidations:r}},t.checkInvalidationState=function(e){var t=this.lookupInvalidationState(e.dataIDs).invalidations,r=e.invalidations;if(t.get("global")!==r.get("global"))return!0;var i,o=n(e.dataIDs);try{for(o.s();!(i=o.n()).done;){var a=i.value;if(t.get(a)!==r.get(a))return!0}}catch(e){o.e(e)}finally{o.f()}return!1},t.subscribeToInvalidationState=function(e,t){var r=this,n={callback:t,invalidationState:e};return this._invalidationSubscriptions.add(n),{dispose:function(){r._invalidationSubscriptions.delete(n)}}},t._updateInvalidationSubscription=function(e,t){var r=this,n=e.callback,i=e.invalidationState.dataIDs;(t||i.some((function(e){return r._invalidatedRecordIDs.has(e)})))&&n()},t.snapshot=function(){var e=this;null!=this._optimisticSource&&h(!1),this._subscriptions.forEach((function(t){if(t.stale){var r=t.snapshot,n=c.read(e.getSource(),r.selector),i=_(r.data,n.data);n.data=i,t.backup=n}else t.backup=t.snapshot})),this._optimisticSource=s.create(this.getSource())},t.restore=function(){null==this._optimisticSource&&h(!1),this._optimisticSource=null,this._subscriptions.forEach((function(e){var t=e.backup;e.backup=null,t?(t.data!==e.snapshot.data&&(e.stale=!0),e.snapshot={data:e.snapshot.data,isMissingData:t.isMissingData,seenRecords:t.seenRecords,selector:t.selector}):e.stale=!0}))},t._scheduleGC=function(){var e=this;this._gcHoldCounter>0?this._shouldScheduleGC=!0:this._hasScheduledGC||(this._hasScheduledGC=!0,this._gcScheduler((function(){e.__gc(),e._hasScheduledGC=!1})))},t.__gc=function(){var e=this;if(null==this._optimisticSource){var t=new Set;if(this._roots.forEach((function(r){var n=r.operation.root;l.mark(e._recordSource,n,t,e._operationLoader)})),0===t.size)this._recordSource.clear();else for(var r=this._recordSource.getRecordIDs(),n=0;n<r.length;n++){var i=r[n];t.has(i)||this._recordSource.remove(i)}}},e}();u.instrumentMethods(y.prototype,{lookup:"RelayModernStore.prototype.lookup",notify:"RelayModernStore.prototype.notify",publish:"RelayModernStore.prototype.publish",__gc:"RelayModernStore.prototype.__gc"}),e.exports=y},function(e,t,r){"use strict";function n(e){if("undefined"==typeof Symbol||null==e[Symbol.iterator]){if(Array.isArray(e)||(e=function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return i(e,t)}(e))){var t=0,r=function(){};return{s:r,n:function(){return t>=e.length?{done:!0}:{done:!1,value:e[t++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var n,o,a=!0,s=!1;return{s:function(){n=e[Symbol.iterator]()},n:function(){var e=n.next();return a=e.done,e},e:function(e){s=!0,o=e},f:function(){try{a||null==n.return||n.return()}finally{if(s)throw o}}}}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var o=r(7),a=r(6),s=r(32),u=r(33),c=r(1),l=r(37),f=r(0),d=r(5).isClientID,p=r(19),h=p.EXISTENT,_=p.UNKNOWN,v=o.CONDITION,g=o.CLIENT_EXTENSION,b=o.DEFER,m=o.FRAGMENT_SPREAD,y=o.INLINE_FRAGMENT,E=o.LINKED_FIELD,D=o.LINKED_HANDLE,O=o.MODULE_IMPORT,S=o.SCALAR_FIELD,I=o.SCALAR_HANDLE,R=o.STREAM,k=c.getModuleOperationKey,P=c.getStorageKey,A=c.getArgumentValues;var N=function(){function e(e,t,r,n,i,o){var a=new s(e,t);this._mostRecentlyInvalidatedAt=null,this._handlers=n,this._mutator=a,this._operationLoader=null!=i?i:null,this._recordSourceProxy=new u(a,o),this._recordWasMissing=!1,this._source=e,this._variables=r}var t=e.prototype;return t.check=function(e,t){return this._traverse(e,t),!0===this._recordWasMissing?{status:"missing",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}:{status:"available",mostRecentlyInvalidatedAt:this._mostRecentlyInvalidatedAt}},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||f(!1),this._variables[e]},t._handleMissing=function(){this._recordWasMissing=!0},t._getDataForHandlers=function(e,t){return{args:e.args?A(e.args,this._variables):{},record:this._source.get(t)}},t._handleMissingScalarField=function(e,t){if("id"!==e.name||null!=e.alias||!d(t)){var r,i=this._getDataForHandlers(e,t),o=i.args,a=i.record,s=n(this._handlers);try{for(s.s();!(r=s.n()).done;){var u=r.value;if("scalar"===u.kind){var c=u.handle(e,a,o,this._recordSourceProxy);if(void 0!==c)return c}}}catch(e){s.e(e)}finally{s.f()}this._handleMissing()}},t._handleMissingLinkField=function(e,t){var r,i=this._getDataForHandlers(e,t),o=i.args,a=i.record,s=n(this._handlers);try{for(s.s();!(r=s.n()).done;){var u=r.value;if("linked"===u.kind){var c=u.handle(e,a,o,this._recordSourceProxy);if(null!=c&&this._mutator.getStatus(c)===h)return c}}}catch(e){s.e(e)}finally{s.f()}this._handleMissing()},t._handleMissingPluralLinkField=function(e,t){var r,i=this,o=this._getDataForHandlers(e,t),a=o.args,s=o.record,u=n(this._handlers);try{for(u.s();!(r=u.n()).done;){var c=r.value;if("pluralLinked"===c.kind){var l=c.handle(e,s,a,this._recordSourceProxy);if(null!=l)if(l.every((function(e){return null!=e&&i._mutator.getStatus(e)===h})))return l}}}catch(e){u.e(e)}finally{u.f()}this._handleMissing()},t._traverse=function(e,t){var r=this._mutator.getStatus(t);if(r===_&&this._handleMissing(),r===h){var n=this._source.get(t),i=a.getInvalidationEpoch(n);null!=i&&(this._mostRecentlyInvalidatedAt=null!=this._mostRecentlyInvalidatedAt?Math.max(this._mostRecentlyInvalidatedAt,i):i),this._traverseSelections(e.selections,t)}},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case S:r._checkScalar(n,t);break;case E:n.plural?r._checkPluralLink(n,t):r._checkLink(n,t);break;case v:r._getVariableValue(n.condition)===n.passingValue&&r._traverseSelections(n.selections,t);break;case y:var i=r._mutator.getType(t);null!=i&&i===n.type&&r._traverseSelections(n.selections,t);break;case D:var o=l(n,e,r._variables);o.plural?r._checkPluralLink(o,t):r._checkLink(o,t);break;case O:r._checkModuleImport(n,t);break;case b:case R:r._traverseSelections(n.selections,t);break;case I:case m:f(!1);break;case g:var a=r._recordWasMissing;r._traverseSelections(n.selections,t),r._recordWasMissing=a;break;default:f(!1)}}))},t._checkModuleImport=function(e,t){var r=this._operationLoader;null===r&&f(!1);var n=k(e.documentName),i=this._mutator.getValue(t,n);if(null!=i){var o=r.get(i);null!=o?this._traverse(o,t):this._handleMissing()}else void 0===i&&this._handleMissing()},t._checkScalar=function(e,t){var r=P(e,this._variables),n=this._mutator.getValue(t,r);void 0===n&&void 0!==(n=this._handleMissingScalarField(e,t))&&this._mutator.setValue(t,r,n)},t._checkLink=function(e,t){var r=P(e,this._variables),n=this._mutator.getLinkedRecordID(t,r);void 0===n&&null!=(n=this._handleMissingLinkField(e,t))&&this._mutator.setLinkedRecordID(t,r,n),null!=n&&this._traverse(e,n)},t._checkPluralLink=function(e,t){var r=this,n=P(e,this._variables),i=this._mutator.getLinkedRecordIDs(t,n);void 0===i&&null!=(i=this._handleMissingPluralLinkField(e,t))&&this._mutator.setLinkedRecordIDs(t,n,i),i&&i.forEach((function(t){null!=t&&r._traverse(e,t)}))},e}();e.exports={check:function(e,t,r,n,i,o){var a=r.dataID,s=r.node,u=r.variables;return new N(e,t,u,n,i,o).check(s,a)}}},function(e,t,r){"use strict";var n=r(3)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(13),a=Object.freeze({__UNPUBLISH_RECORD_SENTINEL:!0}),s=function(){function e(e){this._base=e,this._sink=o.create()}var t=e.prototype;return t.has=function(e){return this._sink.has(e)?this._sink.get(e)!==a:this._base.has(e)},t.get=function(e){if(this._sink.has(e)){var t=this._sink.get(e);return t===a?void 0:t}return this._base.get(e)},t.getStatus=function(e){var t=this.get(e);return void 0===t?"UNKNOWN":null===t?"NONEXISTENT":"EXISTENT"},t.clear=function(){this._base=o.create(),this._sink.clear()},t.delete=function(e){this._sink.delete(e)},t.remove=function(e){this._sink.set(e,a)},t.set=function(e,t){this._sink.set(e,t)},t.getRecordIDs=function(){return Object.keys(this.toJSON())},t.size=function(){return Object.keys(this.toJSON()).length},t.toJSON=function(){var e=this,t=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},this._base.toJSON());return this._sink.getRecordIDs().forEach((function(r){var n=e.get(r);void 0===n?delete t[r]:t[r]=n})),t},e}();e.exports={create:function(e){return new s(e)}}},function(e,t,r){"use strict";var n=r(7),i=r(6),o=r(1),a=r(37),s=r(0),u=n.CONDITION,c=n.CLIENT_EXTENSION,l=n.DEFER,f=n.FRAGMENT_SPREAD,d=n.INLINE_FRAGMENT,p=n.LINKED_FIELD,h=n.MODULE_IMPORT,_=n.LINKED_HANDLE,v=n.SCALAR_FIELD,g=n.SCALAR_HANDLE,b=n.STREAM,m=o.getStorageKey,y=o.getModuleOperationKey;var E=function(){function e(e,t,r,n){this._operationLoader=null!=n?n:null,this._recordSource=e,this._references=r,this._variables=t}var t=e.prototype;return t.mark=function(e,t){this._traverse(e,t)},t._traverse=function(e,t){this._references.add(t);var r=this._recordSource.get(t);null!=r&&this._traverseSelections(e.selections,r)},t._getVariableValue=function(e){return this._variables.hasOwnProperty(e)||s(!1),this._variables[e]},t._traverseSelections=function(e,t){var r=this;e.forEach((function(n){switch(n.kind){case p:n.plural?r._traversePluralLink(n,t):r._traverseLink(n,t);break;case u:r._getVariableValue(n.condition)===n.passingValue&&r._traverseSelections(n.selections,t);break;case d:var o=i.getType(t);null!=o&&o===n.type&&r._traverseSelections(n.selections,t);break;case f:s(!1);case _:var m=a(n,e,r._variables);m.plural?r._traversePluralLink(m,t):r._traverseLink(m,t);break;case l:case b:r._traverseSelections(n.selections,t);break;case v:case g:break;case h:r._traverseModuleImport(n,t);break;case c:r._traverseSelections(n.selections,t);break;default:s(!1)}}))},t._traverseModuleImport=function(e,t){var r=this._operationLoader;null===r&&s(!1);var n=y(e.documentName),o=i.getValue(t,n);if(null!=o){var a=r.get(o);null!=a&&this._traverseSelections(a.selections,t)}},t._traverseLink=function(e,t){var r=m(e,this._variables),n=i.getLinkedRecordID(t,r);null!=n&&this._traverse(e,n)},t._traversePluralLink=function(e,t){var r=this,n=m(e,this._variables),o=i.getLinkedRecordIDs(t,n);null!=o&&o.forEach((function(t){null!=t&&r._traverse(e,t)}))},e}();e.exports={mark:function(e,t,r,n){var i=t.dataID,o=t.node,a=t.variables;new E(e,a,r,n).mark(o,i)}}},function(e,t,r){"use strict";var n=Object.prototype.hasOwnProperty;e.exports=function(e,t){for(var r in e)if(n.call(e,r)&&n.call(t,r))return!0;return!1}},function(e,t,r){"use strict";var n=Promise.resolve();function i(e){setTimeout((function(){throw e}),0)}e.exports=function(e){n.then(e).catch(i)}},function(e,t,r){"use strict";var n=r(0),i=r(60).convertFetch;e.exports={create:function(e,t){var r=i(e);return{execute:function(e,i,o,a,s){if("subscription"===e.operationKind)return t||n(!1),a&&n(!1),t(e,i,o);var u=o.poll;return null!=u?(a&&n(!1),r(e,i,{force:!0}).poll(u)):r(e,i,o,a,s)}}}}},function(e,t,r){"use strict";var n=r(10);e.exports={convertFetch:function(e){return function(t,r,i,o,a){var s=e(t,r,i,o,a);return s instanceof Error?n.create((function(e){return e.error(s)})):n.from(s)}}}},function(e,t,r){"use strict";var n=r(3)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(0),s=r(9),u=function(){function e(e){var t=e.size,r=e.ttl;t>0||a(!1),r>0||a(!1),this._responses=new Map,this._size=t,this._ttl=r}var t=e.prototype;return t.clear=function(){this._responses.clear()},t.get=function(e,t){var r=this,n=c(e,t);this._responses.forEach((function(e,t){var n,i;n=e.fetchTime,i=r._ttl,n+i>=Date.now()||r._responses.delete(t)}));var i=this._responses.get(n);return null!=i?o({},i.payload,{extensions:o({},i.payload.extensions,{cacheTimestamp:i.fetchTime})}):null},t.set=function(e,t,r){var n=Date.now(),i=c(e,t);if(this._responses.delete(i),this._responses.set(i,{fetchTime:n,payload:r}),this._responses.size>this._size){var o=this._responses.keys().next();o.done||this._responses.delete(o.value)}},e}();function c(e,t){return JSON.stringify(s({queryID:e,variables:t}))}e.exports=u},function(e,t,r){"use strict";var n=r(14),i=r(0),o=r(24),a=r(8).getRequest,s=r(12).createOperationDescriptor;e.exports=function(e,t){o(e)||i(!1);var r=a(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");var u=t.optimisticUpdater,c=t.configs,l=t.optimisticResponse,f=t.variables,d=s(r,f);return c&&(u=n.convert(c,r,u).optimisticUpdater),e.applyMutation({operation:d,response:l,updater:u})}},function(e,t,r){"use strict";e.exports=function(e,t){e.commitUpdate(t)}},function(e,t,r){"use strict";var n=r(3)(r(16)),i=r(14),o=r(15),a=r(0),s=r(24),u=(r(65),r(2),r(8).getRequest),c=r(5).generateUniqueClientID,l=r(12).createOperationDescriptor;e.exports=function(e,t){s(e)||a(!1);var r=u(t.mutation);if("mutation"!==r.params.operationKind)throw new Error("commitMutation: Expected mutation operation");if("Request"!==r.kind)throw new Error("commitMutation: Expected mutation to be of type request");var f=t.optimisticResponse,d=t.optimisticUpdater,p=t.updater,h=t.configs,_=t.cacheConfig,v=t.onError,g=t.onUnsubscribe,b=t.variables,m=t.uploadables,y=l(r,b,o.ENABLE_UNIQUE_MUTATION_ROOT?c():void 0);if("function"==typeof f&&(f=f()),h){var E=i.convert(h,r,d,p);d=E.optimisticUpdater,p=E.updater}var D=[];return{dispose:e.executeMutation({cacheConfig:_,operation:y,optimisticResponse:f,optimisticUpdater:d,updater:p,uploadables:m}).subscribe({next:function(e){Array.isArray(e)?e.forEach((function(e){e.errors&&D.push.apply(D,(0,n.default)(e.errors))})):e.errors&&D.push.apply(D,(0,n.default)(e.errors))},complete:function(){var r=t.onCompleted;r&&r(e.lookup(y.fragment).data,0!==D.length?D:null)},error:v,unsubscribe:g}).unsubscribe}}},function(e,t,r){"use strict";r(3)(r(4));r(2);e.exports=function(){}},function(e,t,r){"use strict";var n=r(67);r(2);e.exports=function(e,t,r,i,o){return new n(e,r,i,o)}},function(e,t,r){"use strict";var n=r(3)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function o(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var a=r(15),s=r(17),u=r(0),c=r(40),l=(r(2),r(41).getPromiseForActiveRequest),f=r(12).createRequestDescriptor,d=r(11),p=d.areEqualSelectors,h=d.createReaderSelector,_=d.getSelectorsFromObject,v=function(){function e(e,t,r,i){var o=this;(0,n.default)(this,"_onChange",(function(){o._stale=!0,"function"==typeof o._callback&&o._callback()})),this._callback=i,this._context=e,this._data={},this._fragments=t,this._props={},this._resolvers={},this._stale=!1,this.setProps(r)}var t=e.prototype;return t.dispose=function(){for(var e in this._resolvers)this._resolvers.hasOwnProperty(e)&&m(this._resolvers[e])},t.resolve=function(){if(this._stale){var e,t=this._data;for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r],i=t[r];if(n){var a=n.resolve();(e||a!==i)&&((e=e||o({},t))[r]=a)}else{var s=this._props[r],u=void 0!==s?s:null;!e&&c(u,i)||((e=e||o({},t))[r]=u)}}this._data=e||t,this._stale=!1}return this._data},t.setCallback=function(e){this._callback=e},t.setProps=function(e){var t=_(this._fragments,e);for(var r in this._props={},t)if(t.hasOwnProperty(r)){var n=t[r],i=this._resolvers[r];null==n?(null!=i&&i.dispose(),i=null):"PluralReaderSelector"===n.kind?null==i?i=new b(this._context.environment,n,this._onChange):(i instanceof b||u(!1),i.setSelector(n)):null==i?i=new g(this._context.environment,n,this._onChange):(i instanceof g||u(!1),i.setSelector(n)),this._props[r]=e[r],this._resolvers[r]=i}this._stale=!0},t.setVariables=function(e,t){for(var r in this._resolvers)if(this._resolvers.hasOwnProperty(r)){var n=this._resolvers[r];n&&n.setVariables(e,t)}this._stale=!0},e}(),g=function(){function e(e,t,r){var i=this;(0,n.default)(this,"_onChange",(function(e){i._data=e.data,i._isMissingData=e.isMissingData,i._callback()}));var o=e.lookup(t);this._callback=r,this._data=o.data,this._isMissingData=o.isMissingData,this._environment=e,this._selector=t,this._subscription=e.subscribe(o,this._onChange)}var t=e.prototype;return t.dispose=function(){this._subscription&&(this._subscription.dispose(),this._subscription=null)},t.resolve=function(){if(!0===a.ENABLE_RELAY_CONTAINERS_SUSPENSE&&!0===this._isMissingData){var e,t=null!==(e=l(this._environment,this._selector.owner))&&void 0!==e?e:this._environment.getOperationTracker().getPromiseForPendingOperationsAffectingOwner(this._selector.owner);if(null!=t)throw t}return this._data},t.setSelector=function(e){if(null==this._subscription||!p(e,this._selector)){this.dispose();var t=this._environment.lookup(e);this._data=t.data,this._isMissingData=t.isMissingData,this._selector=e,this._subscription=this._environment.subscribe(t,this._onChange)}},t.setVariables=function(e,t){if(!s(e,this._selector.variables)){var r=f(t,e),n=h(this._selector.node,this._selector.dataID,e,r);this.setSelector(n)}},e}(),b=function(){function e(e,t,r){var i=this;(0,n.default)(this,"_onChange",(function(e){i._stale=!0,i._callback()})),this._callback=r,this._data=[],this._environment=e,this._resolvers=[],this._stale=!0,this.setSelector(t)}var t=e.prototype;return t.dispose=function(){this._resolvers.forEach(m)},t.resolve=function(){if(this._stale){for(var e,t=this._data,r=0;r<this._resolvers.length;r++){var n=t[r],i=this._resolvers[r].resolve();(e||i!==n)&&(e=e||t.slice(0,r)).push(i)}e||this._resolvers.length===t.length||(e=t.slice(0,this._resolvers.length)),this._data=e||t,this._stale=!1}return this._data},t.setSelector=function(e){for(var t=e.selectors;this._resolvers.length>t.length;){this._resolvers.pop().dispose()}for(var r=0;r<t.length;r++)r<this._resolvers.length?this._resolvers[r].setSelector(t[r]):this._resolvers[r]=new g(this._environment,t[r],this._onChange);this._stale=!0},t.setVariables=function(e,t){this._resolvers.forEach((function(r){return r.setVariables(e,t)})),this._stale=!0},e}();function m(e){e&&e.dispose()}e.exports=v},function(e,t,r){"use strict";var n=r(3)(r(4));function i(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}var o=r(1),a=o.getModuleComponentKey,s=o.getModuleOperationKey;e.exports=function(e,t,r,o){var u=function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?i(Object(r),!0).forEach((function(t){(0,n.default)(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):i(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}({},o);return u[a(e)]=r,u[s(e)]=t,u}},function(e,t,r){"use strict";var n,i,o=r(0);e.exports=function(e){return n||(n=e.createContext(null),i=e),e!==i&&o(!1),n}},function(e,t,r){"use strict";var n=r(12).createOperationDescriptor,i=r(8).getRequest;e.exports=function(e,t,r,o){var a=i(t);if("query"!==a.params.operationKind)throw new Error("fetchQuery: Expected query operation");var s=n(a,r);return e.execute({operation:s,cacheConfig:o}).map((function(){return e.lookup(s.fragment).data})).toPromise()}},function(e,t,r){"use strict";var n=r(9),i=r(11),o=i.getDataIDsFromFragment,a=i.getVariablesFromFragment,s=i.getSelector;e.exports=function(e,t){var r,i=s(e,t),u=null==i?"null":"SingularReaderSelector"===i.kind?i.owner.identifier:"["+i.selectors.map((function(e){return e.owner.identifier})).join(",")+"]",c=a(e,t),l=o(e,t);return u+"/"+e.name+"/"+JSON.stringify(n(c))+"/"+(null!==(r=JSON.stringify(l))&&void 0!==r?r:"missing")}},function(e,t,r){"use strict";var n=r(0),i=r(8).getInlineDataFragment,o=r(1).FRAGMENTS_KEY;e.exports=function(e,t){var r,a=i(e);if(null==t)return t;"object"!=typeof t&&n(!1);var s=null===(r=t[o])||void 0===r?void 0:r[a.name];return null==s&&n(!1),s}},function(e,t,r){"use strict";var n=r(14),i=(r(2),r(8).getRequest),o=r(12).createOperationDescriptor;e.exports=function(e,t){var r=i(t.subscription);if("subscription"!==r.params.operationKind)throw new Error("requestSubscription: Must use Subscription operation");var a=t.configs,s=t.onCompleted,u=t.onError,c=t.onNext,l=t.variables,f=t.cacheConfig,d=o(r,l),p=(a?n.convert(a,r,null,t.updater):t).updater;return{dispose:e.execute({operation:d,updater:p,cacheConfig:f}).map((function(){return e.lookup(d.fragment).data})).subscribe({next:c,error:u,complete:s}).unsubscribe}}}])}));
\No newline at end of file