PageSourceSearch

https://victussports.com/_next/static/chunks/3a256hpz87yhl.js?dpl=dpl_EcGyYicmSSZzFsjLLso5nw6q1BNT

js victussports.com collected 2026-10-04 10:04:36 UTC 173,816 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,79873,(e,t,r)=>{"use strict";t.exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=void 0,t.exports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,t.exports.__SERVER_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=void 0,Object.assign(t.exports,e.r(71645))},71258,82587,30207,60702,75739,90690,87081,75625,e=>{"use strict";var t,r=e.i(90571),n="Invariant Violation",i=Object.setPrototypeOf,a=void 0===i?function(e,t){return e.__proto__=t,e}:i,o=function(e){function t(r){void 0===r&&(r=n);var i=e.call(this,"number"==typeof r?n+": "+r+" (see https://github.com/apollographql/invariant-packages)":r)||this;return i.framesToPop=1,i.name=n,a(i,t.prototype),i}return(0,r.__extends)(t,e),t}(Error);function s(e,t){if(!e)throw new o(t)}var u=["debug","log","warn","error","silent"],c=u.indexOf("log");function l(e){return function(){if(u.indexOf(e)>=c)return(console[e]||console.log).apply(console,arguments)}}(t=s||(s={})).debug=l("debug"),t.log=l("log"),t.warn=l("warn"),t.error=l("error");var f="3.13.8";function h(e){try{return e()}catch(e){}}e.s(["version",0,f],82587),e.s(["maybe",0,h],30207);let p=h(function(){return globalThis})||h(function(){return window})||h(function(){return self})||h(function(){return e.g})||h(function(){return h.constructor("return this")()});e.s(["default",0,p],60702);var d=new Map;function v(e){var t=d.get(e)||1;return d.set(e,t+1),"".concat(e,":").concat(t,":").concat(Math.random().toString(36).slice(2))}function y(e,t){void 0===t&&(t=0);var r=v("stringifyForDisplay");return JSON.stringify(e,function(e,t){return void 0===t?r:t},t).split(JSON.stringify(r)).join("<undefined>")}function m(e){return function(t){for(var r=[],n=1;n<arguments.length;n++)r[n-1]=arguments[n];if("number"==typeof t){var i=t;(t=w(i))||(t=O(i,r),r=[])}e.apply(void 0,[t].concat(r))}}e.s(["makeUniqueId",0,v],75739),e.s(["stringifyForDisplay",0,y],90690);var g=Object.assign(function(e,t){for(var r=[],n=2;n<arguments.length;n++)r[n-2]=arguments[n];e||s(e,w(t,r)||O(t,r))},{debug:m(s.debug),log:m(s.log),warn:m(s.warn),error:m(s.error)}),b=Symbol.for("ApolloErrorMessageHandler_"+f);function _(e){if("string"==typeof e)return e;try{return y(e,2).slice(0,1e3)}catch(e){return"<non-serializable>"}}function w(e,t){if(void 0===t&&(t=[]),e)return p[b]&&p[b](e,t.map(_))}function O(e,t){if(void 0===t&&(t=[]),e)return"An error occurred! For more details, see the full error text at https://go.apollo.dev/c/err#".concat(encodeURIComponent(JSON.stringify({version:f,message:e,args:t.map(_)})))}e.s(["invariant",0,g,"newInvariantError",0,function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];return new o(w(e,t)||O(e,t))}],87081),e.s([],71258);var k="ReactNative"==h(function(){return navigator.product}),S="function"==typeof WeakMap&&!(k&&!e.g.HermesInternal),E="function"==typeof WeakSet,D="function"==typeof Symbol&&"function"==typeof Symbol.for,R=D&&Symbol.asyncIterator,F="function"==typeof h(function(){return window.document.createElement}),T=h(function(){return navigator.userAgent.indexOf("jsdom")>=0})||!1,N=(F||k)&&!T;e.s(["canUseAsyncIteratorSymbol",0,R,"canUseDOM",0,F,"canUseLayoutEffect",0,N,"canUseSymbol",0,D,"canUseWeakMap",0,S,"canUseWeakSet",0,E],75625)},69981,e=>{"use strict";let{toString:t,hasOwnProperty:r}=Object.prototype,n=Function.prototype.toString,i=new Map;function a(e,a){try{return function e(i,a){if(i===a)return!0;let s=t.call(i);if(s!==t.call(a))return!1;switch(s){case"[object Array]":if(i.length!==a.length)break;case"[object Object]":{if(c(i,a))return!0;let t=o(i),n=o(a),s=t.length;if(s!==n.length)return!1;for(let e=0;e<s;++e)if(!r.call(a,t[e]))return!1;for(let r=0;r<s;++r){let n=t[r];if(!e(i[n],a[n]))return!1}return!0}case"[object Error]":return i.name===a.name&&i.message===a.message;case"[object Number]":if(i!=i)return a!=a;case"[object Boolean]":case"[object Date]":return+i==+a;case"[object RegExp]":case"[object String]":return i==`${a}`;case"[object Map]":case"[object Set]":{if(i.size!==a.size)return!1;if(c(i,a))return!0;let t=i.entries(),r="[object Map]"===s;for(;;){let n=t.next();if(n.done)break;let[i,o]=n.value;if(!a.has(i)||r&&!e(o,a.get(i)))return!1}return!0}case"[object Uint16Array]":case"[object Uint8Array]":case"[object Uint32Array]":case"[object Int32Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object ArrayBuffer]":i=new Uint8Array(i),a=new Uint8Array(a);case"[object DataView]":{let e=i.byteLength;if(e===a.byteLength)for(;e--&&i[e]===a[e];);return -1===e}case"[object AsyncFunction]":case"[object GeneratorFunction]":case"[object AsyncGeneratorFunction]":case"[object Function]":{var l,f;let e,t=n.call(i);if(t!==n.call(a))return!1;return l=t,f=u,!((e=l.length-f.length)>=0)||l.indexOf(f,e)!==e}}return!1}(e,a)}finally{i.clear()}}function o(e){return Object.keys(e).filter(s,e)}function s(e){return void 0!==this[e]}let u="{ [native code] }";function c(e,t){let r=i.get(e);if(r){if(r.has(t))return!0}else i.set(e,r=new Set);return r.add(t),!1}e.s(["default",0,a,"equal",0,a])},36433,e=>{"use strict";e.s(["compact",0,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=Object.create(null);return e.forEach(function(e){e&&Object.keys(e).forEach(function(t){var n=e[t];void 0!==n&&(r[t]=n)})}),r}])},6195,e=>{"use strict";var t=e.i(90571),r=e.i(36433);e.s(["mergeOptions",0,function(e,n){return(0,r.compact)(e,n,n.variables&&{variables:(0,r.compact)((0,t.__assign)((0,t.__assign)({},e&&e.variables),n.variables))})}])},18247,e=>{"use strict";var t=e.i(79873),r=e.i(75625);e.i(71258);var n=e.i(87081),i=r.canUseSymbol?Symbol.for("__APOLLO_CONTEXT__"):"__APOLLO_CONTEXT__";e.s(["getApolloContext",0,function(){(0,n.invariant)("createContext"in t,54);var e=t.createContext[i];return e||(Object.defineProperty(t.createContext,i,{value:e=t.createContext({}
1),enumerable:!1,writable:!1,configurable:!0}),e.displayName="ApolloContext"),e}])},19983,e=>{"use strict";e.s(["isNonNullObject",0,function(e){return null!==e&&"object"==typeof e}])},21110,e=>{"use strict";var t=e.i(90571);e.i(71258);var r=e.i(19983),n=Symbol(),i=function(e){var n=(0,t.__spreadArray)((0,t.__spreadArray)((0,t.__spreadArray)([],e.graphQLErrors,!0),e.clientErrors,!0),e.protocolErrors,!0);return e.networkError&&n.push(e.networkError),n.map(function(e){return(0,r.isNonNullObject)(e)&&e.message||"Error message not found."}).join("\n")},a=function(e){function r(n){var a=n.graphQLErrors,o=n.protocolErrors,s=n.clientErrors,u=n.networkError,c=n.errorMessage,l=n.extraInfo,f=e.call(this,c)||this;return f.name="ApolloError",f.graphQLErrors=a||[],f.protocolErrors=o||[],f.clientErrors=s||[],f.networkError=u||null,f.message=c||i(f),f.extraInfo=l,f.cause=(0,t.__spreadArray)((0,t.__spreadArray)((0,t.__spreadArray)([u],a||[],!0),o||[],!0),s||[],!0).find(function(e){return!!e})||null,f.__proto__=r.prototype,f}return(0,t.__extends)(r,e),r}(Error);e.s(["ApolloError",0,a,"PROTOCOL_ERRORS_SYMBOL",0,n,"graphQLResultHasProtocolErrors",0,function(e){return!!e.extensions&&Array.isArray(e.extensions[n])},"isApolloError",0,function(e){return e.hasOwnProperty("graphQLErrors")}])},7799,95077,e=>{"use strict";(t=r||(r={}))[t.loading=1]="loading",t[t.setVariables=2]="setVariables",t[t.fetchMore=3]="fetchMore",t[t.refetch=4]="refetch",t[t.poll=6]="poll",t[t.ready=7]="ready",t[t.error=8]="error",e.s(["NetworkStatus",0,r,"isNetworkRequestInFlight",0,function(e){return!!e&&e<7}],7799);var t,r,n=Object.prototype.toString;e.s(["cloneDeep",0,function(e){return function e(t,r){switch(n.call(t)){case"[object Array]":if((r=r||new Map).has(t))return r.get(t);var i=t.slice(0);return r.set(t,i),i.forEach(function(t,n){i[n]=e(t,r)}),i;case"[object Object]":if((r=r||new Map).has(t))return r.get(t);var a=Object.create(Object.getPrototypeOf(t));return r.set(t,a),Object.keys(t).forEach(function(n){a[n]=e(t[n],r)}),a;default:return t}}(e)}],95077)},58350,98943,61518,52812,65842,34049,72243,20871,49987,53949,e=>{"use strict";e.i(71258);var t,r=e.i(87081),n=e.i(19983),i=e.i(90571),a=e.i(36535),o=e.i(41888),s=e.i(20064),u=e.i(85809);let c=Object.freeze({});function l(e,t,r=s.QueryDocumentKeys){let n,i,f,h=new Map;for(let e of Object.values(u.Kind))h.set(e,function(e,t){let r=e[t];return"object"==typeof r?r:"function"==typeof r?{enter:r,leave:void 0}:{enter:e.enter,leave:e.leave}}(t,e));let p=Array.isArray(e),d=[e],v=-1,y=[],m=e,g=[],b=[];do{var _,w,O;let e,u=++v===d.length,l=u&&0!==y.length;if(u){if(i=0===b.length?void 0:g[g.length-1],m=f,f=b.pop(),l)if(p){m=m.slice();let e=0;for(let[t,r]of y){let n=t-e;null===r?(m.splice(n,1),e++):m[n]=r}}else for(let[e,t]of(m={...m},y))m[e]=t;v=n.index,d=n.keys,y=n.edits,p=n.inArray,n=n.prev}else if(f){if(null==(m=f[i=p?v:d[v]]))continue;g.push(i)}if(!Array.isArray(m)){(0,s.isNode)(m)||(0,a.devAssert)(!1,`Invalid AST Node: ${(0,o.inspect)(m)}.`);let r=u?null==(_=h.get(m.kind))?void 0:_.leave:null==(w=h.get(m.kind))?void 0:w.enter;if((e=null==r?void 0:r.call(t,m,i,f,g,b))===c)break;if(!1===e){if(!u){g.pop();continue}}else if(void 0!==e&&(y.push([i,e]),!u))if((0,s.isNode)(e))m=e;else{g.pop();continue}}void 0===e&&l&&y.push([i,m]),u?g.pop():(n={inArray:p,index:v,keys:d,edits:y,prev:n},d=(p=Array.isArray(m))?m:null!=(O=r[m.kind])?O:[],v=-1,y=[],f&&b.push(f),f=m)}while(void 0!==n)return 0!==y.length?y[y.length-1][1]:e}function f(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var i=t&&t[n];return(0,r.invariant)(i,87,n),i||null;default:return null}}function h(){}e.s(["BREAK",0,c,"visit",0,l],98943),e.s(["createFragmentMap",0,function(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t},"getFragmentFromSelection",0,f,"getFragmentQueryDocument",0,function(e,t){var n=t,a=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,r.newInvariantError)(85,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&a.push(e)}),void 0===n&&((0,r.invariant)(1===a.length,86,a.length),n=a[0].name.value),(0,i.__assign)((0,i.__assign)({},e),{definitions:(0,i.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})},"isFullyUnmaskedOperation",0,function(e){var t=!0;return l(e,{FragmentSpread:function(e){if(!(t=!!e.directives&&e.directives.some(function(e){return"unmask"===e.name.value})))return c}}),t}],61518);let p="u">typeof WeakRef?WeakRef:function(e){return{deref:()=>e}}
1,d="u">typeof WeakMap?WeakMap:Map,v="u">typeof FinalizationRegistry?FinalizationRegistry:function(){return{register:h,unregister:h}};class y{constructor(e=1/0,t=h){this.max=e,this.dispose=t,this.map=new d,this.newest=null,this.oldest=null,this.unfinalizedNodes=new Set,this.finalizationScheduled=!1,this.size=0,this.finalize=()=>{let e=this.unfinalizedNodes.values();for(let t=0;t<10024;t++){let t=e.next().value;if(!t)break;this.unfinalizedNodes.delete(t);let r=t.key;delete t.key,t.keyRef=new p(r),this.registry.register(r,t,t)}this.unfinalizedNodes.size>0?queueMicrotask(this.finalize):this.finalizationScheduled=!1},this.registry=new v(this.deleteNode.bind(this))}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.scheduleFinalization(r),this.map.set(e,r),this.size++,r.value)}clean(){for(;this.oldest&&this.size>this.max;)this.deleteNode(this.oldest)}deleteNode(e){e===this.newest&&(this.newest=e.older),e===this.oldest&&(this.oldest=e.newer),e.newer&&(e.newer.older=e.older),e.older&&(e.older.newer=e.newer),this.size--;let t=e.key||e.keyRef&&e.keyRef.deref();this.dispose(e.value,t),e.keyRef?this.registry.unregister(e):this.unfinalizedNodes.delete(e),t&&this.map.delete(t)}delete(e){let t=this.map.get(e);return!!t&&(this.deleteNode(t),!0)}scheduleFinalization(e){this.unfinalizedNodes.add(e),this.finalizationScheduled||(this.finalizationScheduled=!0,queueMicrotask(this.finalize))}}function m(){}e.s(["WeakCache",0,y],52812);class g{constructor(e=1/0,t=m){this.max=e,this.dispose=t,this.map=new Map,this.newest=null,this.oldest=null}has(e){return this.map.has(e)}get(e){let t=this.getNode(e);return t&&t.value}get size(){return this.map.size}getNode(e){let t=this.map.get(e);if(t&&t!==this.newest){let{older:e,newer:r}=t;r&&(r.older=e),e&&(e.newer=r),t.older=this.newest,t.older.newer=t,t.newer=null,this.newest=t,t===this.oldest&&(this.oldest=r)}return t}set(e,t){let r=this.getNode(e);return r?r.value=t:(r={key:e,value:t,newer:null,older:this.newest},this.newest&&(this.newest.newer=r),this.newest=r,this.oldest=this.oldest||r,this.map.set(e,r),r.value)}clean(){for(;this.oldest&&this.map.size>this.max;)this.delete(this.oldest.key)}delete(e){let t=this.map.get(e);return!!t&&(t===this.newest&&(this.newest=t.older),t===this.oldest&&(this.oldest=t.newer),t.newer&&(t.newer.older=t.older),t.older&&(t.older.newer=t.newer),this.map.delete(e),this.dispose(t.value,e),!0)}}e.s(["StrongCache",0,g],65842);var b=new WeakSet;function _(e){!(e.size<=(e.max||-1))&&(b.has(e)||(b.add(e),setTimeout(function(){e.clean(),b.delete(e)},100)))}var w=function(e,t){var r=new g(e,t);return r.set=function(e,t){var r=g.prototype.set.call(this,e,t);return _(this),r},r};e.s(["AutoCleanedStrongCache",0,w,"AutoCleanedWeakCache",0,function(e,t){var r=new y(e,t);return r.set=function(e,t){var r=y.prototype.set.call(this,e,t);return _(this),r},r}],34049);var O=e.i(60702),O=O,k=Symbol.for("apollo.cacheSize"),S=(0,i.__assign)({},O.default[k]);e.s(["cacheSizes",0,S],72243);var E={};function D(e,t){E[e]=t}var R=!1!==globalThis.__DEV__?function(){var e,t,r,n,a;if(!1===globalThis.__DEV__)throw Error("only supported in development mode");return{limits:Object.fromEntries(Object.entries({parser:1e3,canonicalStringify:1e3,print:2e3,"documentTransform.cache":2e3,"queryManager.getDocumentInfo":2e3,"PersistedQueryLink.persistedQueryHashes":2e3,"fragmentRegistry.transform":2e3,"fragmentRegistry.lookup":1e3,"fragmentRegistry.findFragmentSpreads":4e3,"cache.fragmentQueryDocuments":1e3,"removeTypenameFromVariables.getVariableDefinitions":2e3,"inMemoryCache.maybeBroadcastWatch":5e3,"inMemoryCache.executeSelectionSet":5e4,"inMemoryCache.executeSubSelectedArray":1e4}).map(function(e){var t=e[0],r=e[1];return[t,S[t]||r]})),sizes:(0,i.__assign)({print:null==(e=E.print)?void 0:e.call(E),parser:null==(t=E.parser)?void 0:t.call(E),canonicalStringify:null==(r=E.canonicalStringify)?void 0:r.call(E),links:function e(t){var r;return t?(0,i.__spreadArray)((0,i.__spreadArray)([null==(r=null==t?void 0:t.getMemoryInternals)?void 0:r.call(t)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(I):[]}(this.link),queryManager:{getDocumentInfo:this.queryManager.transformCache.size,documentTransforms:M(this.queryManager.documentTransform)}},null==(a=(n=this.cache).getMemoryInternals)?void 0:a.call(n))}}:void 0,F=!1!==globalThis.__DEV__?function(){var e=this.config.fragments;return(0,i.__assign)((0,i.__assign)({},N.apply(this)),{addTypenameDocumentTransform:M(this.addTypenameTransform),inMemoryCache:{executeSelectionSet:x(this.storeReader.executeSelectionSet),executeSubSelectedArray:x(this.storeReader.executeSubSelectedArray),maybeBroadcastWatch:x(this.maybeBroadcastWatch)},fragmentRegistry:{findFragmentSpreads:x(null==e?void 0:e.findFragmentSpreads),lookup:x(null==e?void 0:e.lookup),transform:x(null==e?void 0:e.transform)}})}:void 0,T=!1!==globalThis.__DEV__?N:void 0;function N(){return{cache:{fragmentQueryDocuments:x(this.getFragmentDoc)}}}function x(e){return e&&"dirtyKey"in e?e.size:void 0}function I(e){return null!=e}function M(e){return(function e(t){return t?(0,i.__spreadArray)((0,i.__spreadArray)([x(null==t?void 0:t.performWork)],e(null==t?void 0:t.left),!0),e(null==t?void 0:t.right),!0).filter(I):[]})(e).map(function(e){return{cache:e}})}e.s(["getApolloCacheMemoryInternals",0,T,"getApolloClientMemoryInternals",0,R,"getInMemoryCacheMemoryInternals",0,F,"registerGlobalCache",0,D],20871);var q=Object.assign(function(e){return JSON.stringify(e,C)},{reset:function(){t=new w(S.canonicalStringify||1e3)}});function C(e,r){if(r&&"object"==typeof r){var n=Object.getPrototypeOf(r);if(n===Object.prototype||null===n){var i=Object.keys(r);if(i.every(A))return r;var a=JSON.stringify(i),o=t.get(a);if(!o){i.sort();var s=JSON.stringify(i);o=t.get(s)||i,t.set(a,o),t.set(s,o)}var u=Object.create(n);return o.forEach(function(e){u[e]=r[e]}),u}}return r}function A(e,t,r){return 0===t||r[t-1]<=e}function j(e,t,n,i){if("IntValue"===n.kind||"FloatValue"===n.kind)e[t.value]=Number(n.value);else if("BooleanValue"===n.kind||"StringValue"===n.kind)e[t.value]=n.value;else if("ObjectValue"===n.kind){var a={};n.fields.map(function(e){return j(a,e.name,e.value,i)}),e[t.value]=a}
1else if("Variable"===n.kind){var o=(i||{})[n.name.value];e[t.value]=o}else if("ListValue"===n.kind)e[t.value]=n.values.map(function(e){var r={};return j(r,t,e,i),r[t.value]});else if("EnumValue"===n.kind)e[t.value]=n.value;else if("NullValue"===n.kind)e[t.value]=null;else throw(0,r.newInvariantError)(96,t.value,n.kind)}!1!==globalThis.__DEV__&&D("canonicalStringify",function(){return t.size}),q.reset(),e.s(["canonicalStringify",0,q],49987);var P=["connection","include","skip","client","rest","export","nonreactive"],Q=q,V=Object.assign(function(e,t,r){if(t&&r&&r.connection&&r.connection.key)if(!r.connection.filter||!(r.connection.filter.length>0))return r.connection.key;else{var n=r.connection.filter?r.connection.filter:[];n.sort();var i={};return n.forEach(function(e){i[e]=t[e]}),"".concat(r.connection.key,"(").concat(Q(i),")")}var a=e;if(t){var o=Q(t);a+="(".concat(o,")")}return r&&Object.keys(r).forEach(function(e){-1===P.indexOf(e)&&(r[e]&&Object.keys(r[e]).length?a+="@".concat(e,"(").concat(Q(r[e]),")"):a+="@".concat(e))}),a},{setStringify:function(e){var t=Q;return Q=e,t}});function L(e){return e.alias?e.alias.value:e.name.value}function z(e){return"Field"===e.kind}function W(e){(0,r.invariant)(e&&"Document"===e.kind,88);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r.newInvariantError)(89,e.kind);return e});return(0,r.invariant)(t.length<=1,90,t.length),e}function B(e){return W(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}e.s(["argumentsObjectFromField",0,function(e,t){if(e.arguments&&e.arguments.length){var r={};return e.arguments.forEach(function(e){return j(r,e.name,e.value,t)}),r}return null},"getStoreKeyName",0,V,"getTypenameFromResult",0,function e(t,r,n){for(var i,a=0,o=r.selections;a<o.length;a++){var s=o[a];if(z(s)){if("__typename"===s.name.value)return t[L(s)]}else i?i.push(s):i=[s]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var u=0,c=i;u<c.length;u++){var s=c[u],l=e(t,f(s,n).selectionSet,n);if("string"==typeof l)return l}},"isDocumentNode",0,function(e){return(0,n.isNonNullObject)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)},"isField",0,z,"isInlineFragment",0,function(e){return"InlineFragment"===e.kind},"isReference",0,function(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)},"makeReference",0,function(e){return{__ref:String(e)}},"resultKeyNameFromField",0,L,"storeKeyNameFromField",0,function(e,t){var r=null;e.directives&&(r={},e.directives.forEach(function(e){r[e.name.value]={},e.arguments&&e.arguments.forEach(function(n){var i=n.name,a=n.value;return j(r[e.name.value],i,a,t)})}));var n=null;return e.arguments&&e.arguments.length&&(n={},e.arguments.forEach(function(e){var r=e.name,i=e.value;return j(n,r,i,t)})),V(e.name.value,n,r)},"valueToObjectRepresentation",0,j],53949),e.s(["checkDocument",0,W,"getDefaultValues",0,function(e){var t=Object.create(null),r=e&&e.variableDefinitions;return r&&r.length&&r.forEach(function(e){e.defaultValue&&j(t,e.variable.name,e.defaultValue)}),t},"getFragmentDefinition",0,function(e){(0,r.invariant)("Document"===e.kind,92),(0,r.invariant)(e.definitions.length<=1,93);var t=e.definitions[0];return(0,r.invariant)("FragmentDefinition"===t.kind,94),t},"getFragmentDefinitions",0,function(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})},"getMainDefinition",0,function(e){W(e);for(var t,n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var o=a.operation;if("query"===o||"mutation"===o||"subscription"===o)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r.newInvariantError)(95)},"getOperationDefinition",0,B,"getOperationName",0,function(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null},"getQueryDefinition",0,function(e){var t=B(e);return(0,r.invariant)(t&&"query"===t.operation,91),t}],58350)},7656,e=>{"use strict";function t(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}function r(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function n(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}var i=function(){return"function"==typeof Symbol},a=function(e){return i()&&!!Symbol[e]},o=function(e){return a(e)?Symbol[e]:"@@"+e};i()&&!a("observable")&&(Symbol.observable=Symbol("observable"));var s=o("iterator"),u=o("observable"),c=o("species");function l(e,t){var r=e[t];if(null!=r){if("function"!=typeof r)throw TypeError(r+" is not a function");return r}}function f(e){var t=e.constructor;return void 0!==t&&null===(t=t[c])&&(t=void 0),void 0!==t?t:_}function h(e){h.log?h.log(e):setTimeout(function(){throw e})}function p(e){Promise.resolve().then(function(){try{e()}catch(e){h(e)}})}function d(e){var t=e._cleanup;if(void 0!==t&&(e._cleanup=void 0,t))try{if("function"==typeof t)t();else{var r=l(t,"unsubscribe");r&&r.call(t)}}catch(e){h(e)}}function v(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function y(e,t,r){e._state="running";var n=e._observer;try{var i=l(n,t);switch(t){case"next":i&&i.call(n,r);break;case"error":if(v(e),i)i.call(n,r);else throw r;break;case"complete":v(e),i&&i.call(n)}}catch(e){h(e)}"closed"===e._state?d(e):"running"===e._state&&(e._state="ready")}function m(e,t,r){if("closed"!==e._state){if("buffering"===e._state)return void e._queue.push({type:t,value:r});if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:r}],p(function(){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var r=0;r<t.length&&(y(e,t[r].type,t[r].value),"closed"!==e._state);++r);}});return}y(e,t,r)}}var g=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var r=new b(this);try{this._cleanup=t.call(void 0,r)}catch(e){r.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(v(this),d(this))},n(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),b=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){m(this._subscription,"next",e)},t.error=function(e){m(this._subscription,"error",e)},t.complete=function(){m(this._subscription,"complete")},n(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),_=function(){function e(t){if(!(this instanceof e))throw TypeError("Observable cannot be called as a function");if("function"!=typeof t)throw TypeError("Observable initializer must be a function");this._subscriber=t}var r=e.prototype;return r.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new g(e,this._subscriber)},r.forEach=function(e){var t=this;return new Promise(function(r,n){if("function"!=typeof e)return void n(TypeError(e+" is not a function"));function i(){a.unsubscribe(),r()}var a=t.subscribe({next:function(t){try{e(t,i)}catch(e){n(e),a.unsubscribe()}},error:n,complete:r})})},r.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(f(this))(function(r){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},r.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(f(this))(function(r){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return r.error(e)}r.next(t)},error:function(e){r.error(e)},complete:function(){r.complete()}})})},r.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=f(this),n=arguments.length>1,i=!1,a=arguments[1],o=a;return new r(function(r){return t.subscribe({next:function(t){var a=!i;if(i=!0,!a||n)try{o=e(o,t)}catch(e){return r.error(e)}else o=t},error:function(e){r.error(e)},complete:function(){if(!i&&!n)return r.error(TypeError("Cannot reduce an empty sequence"));r.next(o),r.complete()}})})},r.concat=function(){for(var e=this,t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];var i=f(this);return new i(function(t){var n,a=0;return!function e(o){n=o.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){a===r.length?(n=void 0,t.complete()):e(i.from(r[a++]))}})}(e),function(){n&&(n.unsubscribe(),n=void 0)}})},r.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var r=f(this);return new r(function(n){var i=[],a=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return n.error(e)}var a=r.from(t).subscribe({next:function(e){n.next(e)},error:function(e){n.error(e)},complete:function(){var e=i.indexOf(a);e>=0&&i.splice(e,1),o()}});i.push(a)},error:function(e){n.error(e)},complete:function(){o()}});function o(){a.closed&&0===i.length&&n.complete()}
1return function(){i.forEach(function(e){return e.unsubscribe()}),a.unsubscribe()}})},r[u]=function(){return this},e.from=function(r){var n="function"==typeof this?this:e;if(null==r)throw TypeError(r+" is not an object");var i=l(r,u);if(i){var o=i.call(r);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof _&&o.constructor===n?o:new n(function(e){return o.subscribe(e)})}if(a("iterator")&&(i=l(r,s)))return new n(function(e){p(function(){if(!e.closed){for(var n,a=function(e){var r="u">typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(r)return(r=r.call(e)).next.bind(r);if(Array.isArray(e)||(r=function(e){if(e){if("string"==typeof e)return t(e,void 0);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return t(e,void 0)}}(e))){r&&(e=r);var n=0;return function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}}}throw TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(i.call(r));!(n=a()).done;){var o=n.value;if(e.next(o),e.closed)return}e.complete()}})});if(Array.isArray(r))return new n(function(e){p(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})});throw TypeError(r+" is not observable")},e.of=function(){for(var t=arguments.length,r=Array(t),n=0;n<t;n++)r[n]=arguments[n];return new("function"==typeof this?this:e)(function(e){p(function(){if(!e.closed){for(var t=0;t<r.length;++t)if(e.next(r[t]),e.closed)return;e.complete()}})})},n(e,null,[{key:c,get:function(){return this}}]),e}();i()&&Object.defineProperty(_,Symbol("extensions"),{value:{symbol:u,hostReportError:h},configurable:!0}),e.s(["Observable",0,_])},92360,66852,e=>{"use strict";e.s(["iterateObserversSafely",0,function(e,t,r){var n=[];e.forEach(function(e){return e[t]&&n.push(e)}),n.forEach(function(e){return e[t](r)})}],92360);var t=e.i(7656),r=e.i(75625);e.s(["fixObservableSubclass",0,function(e){function n(r){Object.defineProperty(e,r,{value:t.Observable})}return r.canUseSymbol&&Symbol.species&&n(Symbol.species),n("@@species"),e}],66852)},13310,e=>{"use strict";e.s(["preventUnhandledRejection",0,function(e){return e.catch(function(){}),e}])},86713,e=>{"use strict";e.i(71258);var t=e.i(87081),r=e.i(98943),n=e.i(85809);function i(e,t,n){var i=new Set(e),a=i.size;return(0,r.visit)(t,{Directive:function(e){if(i.delete(e.name.value)&&(!n||!i.size))return r.BREAK}}),n?!i.size:i.size<a}e.s(["getFragmentMaskMode",0,function(e){var r,i,a=null==(r=e.directives)?void 0:r.find(function(e){return"unmask"===e.name.value});if(!a)return"mask";var o=null==(i=a.arguments)?void 0:i.find(function(e){return"mode"===e.name.value});return(!1!==globalThis.__DEV__&&o&&(o.value.kind===n.Kind.VARIABLE?!1!==globalThis.__DEV__&&t.invariant.warn(82):o.value.kind!==n.Kind.STRING?!1!==globalThis.__DEV__&&t.invariant.warn(83):"migrate"!==o.value.value&&!1!==globalThis.__DEV__&&t.invariant.warn(84,o.value.value)),o&&"value"in o.value&&"migrate"===o.value.value)?"migrate":"unmask"},"hasClientExports",0,function(e){return e&&i(["client","export"],e,!0)},"hasDirectives",0,i,"shouldInclude",0,function(e,r){var n,i,a=e.directives;return!a||!a.length||(i=[],(n=a)&&n.length&&n.forEach(function(e){if("skip"===(r=e.name.value)||"include"===r){var r,n=e.arguments,a=e.name.value;(0,t.invariant)(n&&1===n.length,79,a);var o=n[0];(0,t.invariant)(o.name&&"if"===o.name.value,80,a);var s=o.value;(0,t.invariant)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),81,a),i.push({directive:e,ifArgument:o})}}),i).every(function(e){var n=e.directive,i=e.ifArgument,a=!1;return"Variable"===i.value.kind?(a=r&&r[i.value.name.value],(0,t.invariant)(void 0!==a,78,n.name.value)):a=i.value.value,"skip"===n.name.value?!a:a})}])},40096,e=>{"use strict";var t=e.i(90571),r=e.i(69981),n=e.i(61518),i=e.i(58350),a=e.i(53949),o=e.i(86713);function s(e){return!!e.directives&&e.directives.some(u)}function u(e){return"nonreactive"===e.name.value}e.s(["equalByQuery",0,function(e,u,c,l){var f=u.data,h=(0,t.__rest)(u,["data"]),p=c.data,d=(0,t.__rest)(c,["data"]);return(0,r.default)(h,d)&&function e(t,i,u,c){if(i===u)return!0;var l=new Set;return t.selections.every(function(t){if(l.has(t)||(l.add(t),!(0,o.shouldInclude)(t,c.variables)||s(t)))return!0;
1if((0,a.isField)(t)){var f=(0,a.resultKeyNameFromField)(t),h=i&&i[f],p=u&&u[f],d=t.selectionSet;if(!d)return(0,r.default)(h,p);var v=Array.isArray(h),y=Array.isArray(p);if(v!==y)return!1;if(v&&y){var m=h.length;if(p.length!==m)return!1;for(var g=0;g<m;++g)if(!e(d,h[g],p[g],c))return!1;return!0}return e(d,h,p,c)}var b=(0,n.getFragmentFromSelection)(t,c.fragmentMap);if(b)return!!s(b)||e(b.selectionSet,i,u,c)})}((0,i.getMainDefinition)(e).selectionSet,f,p,{fragmentMap:(0,n.createFragmentMap)((0,i.getFragmentDefinitions)(e)),variables:l})}])},95364,40059,12337,2693,e=>{"use strict";let t,r=()=>Object.create(null),{forEach:n,slice:i}=Array.prototype,{hasOwnProperty:a}=Object.prototype;class o{constructor(e=!0,t=r){this.weakness=e,this.makeData=t}lookup(){return this.lookupArray(arguments)}lookupArray(e){let t=this;return n.call(e,e=>t=t.getChildTrie(e)),a.call(t,"data")?t.data:t.data=this.makeData(i.call(e))}peek(){return this.peekArray(arguments)}peekArray(e){let t=this;for(let r=0,n=e.length;t&&r<n;++r){let n=t.mapFor(e[r],!1);t=n&&n.get(e[r])}return t&&t.data}remove(){return this.removeArray(arguments)}removeArray(e){let t;if(e.length){let r=e[0],n=this.mapFor(r,!1),a=n&&n.get(r);a&&(t=a.removeArray(i.call(e,1)),a.data||a.weak||a.strong&&a.strong.size||n.delete(r))}else t=this.data,delete this.data;return t}getChildTrie(e){let t=this.mapFor(e,!0),r=t.get(e);return r||t.set(e,r=new o(this.weakness,this.makeData)),r}mapFor(e,t){return this.weakness&&function(e){switch(typeof e){case"object":if(null===e)break;case"function":return!0}return!1}(e)?this.weak||(t?this.weak=new WeakMap:void 0):this.strong||(t?this.strong=new Map:void 0)}}e.s(["Trie",0,o],40059);var s=e.i(65842);let u=null,c={},l=1;function f(e){try{return e()}catch(e){}}let h="@wry/context:Slot",p=f(()=>globalThis)||f(()=>e.g)||Object.create(null),d=p[h]||Array[h]||function(e){try{Object.defineProperty(p,h,{value:e,enumerable:!1,writable:!1,configurable:!0})}finally{return e}}(class{constructor(){this.id=["slot",l++,Date.now(),Math.random().toString(36).slice(2)].join(":")}hasValue(){for(let e=u;e;e=e.parent)if(this.id in e.slots){let t=e.slots[this.id];if(t===c)break;return e!==u&&(u.slots[this.id]=t),!0}return u&&(u.slots[this.id]=c),!1}getValue(){if(this.hasValue())return u.slots[this.id]}withValue(e,t,r,n){let i={__proto__:null,[this.id]:e},a=u;u={parent:a,slots:i};try{return t.apply(n,r)}finally{u=a}}static bind(e){let t=u;return function(){let r=u;try{return u=t,e.apply(this,arguments)}finally{u=r}}}static noContext(e,t,r){if(!u)return e.apply(r,t);{let n=u;try{return u=null,e.apply(r,t)}finally{u=n}}}});e.s(["Slot",0,d],12337);let{bind:v,noContext:y}=d,m=new d,{hasOwnProperty:g}=Object.prototype,b=Array.from||function(e){let t=[];return e.forEach(e=>t.push(e)),t};function _(e){let{unsubscribe:t}=e;"function"==typeof t&&(e.unsubscribe=void 0,t())}let w=[];function O(e,t){if(!e)throw Error(t||"assertion failure")}function k(e,t){let r=e.length;return r>0&&r===t.length&&e[r-1]===t[r-1]}function S(e){switch(e.length){case 0:throw Error("unknown value");case 1:return e[0];case 2:throw e[1]}}class E{constructor(e){this.fn=e,this.parents=new Set,this.childValues=new Map,this.dirtyChildren=null,this.dirty=!0,this.recomputing=!1,this.value=[],this.deps=null,++E.count}peek(){if(1===this.value.length&&!F(this))return D(this),this.value[0]}recompute(e){var t,r,n;return O(!this.recomputing,"already recomputing"),D(this),F(this)?(t=this,r=e,M(t),m.withValue(t,R,[t,r]),function(e,t){if("function"==typeof e.subscribe)try{_(e),e.unsubscribe=e.subscribe.apply(null,t)}catch(t){return e.setDirty(),!1}return!0}(t,r)&&((n=t).dirty=!1,F(n)||function(e){T(e,x)}(n)),S(t.value)):S(this.value)}setDirty(){var e;this.dirty||(this.dirty=!0,e=this,T(e,N),_(this))}dispose(){this.setDirty(),M(this),T(this,(e,t)=>{e.setDirty(),q(e,this)})}forget(){this.dispose()}dependOn(e){e.add(this),this.deps||(this.deps=w.pop()||new Set),this.deps.add(e)}forgetDeps(){this.deps&&(b(this.deps).forEach(e=>e.delete(this)),this.deps.clear(),w.push(this.deps),this.deps=null)}}function D(e){let t=m.getValue();if(t)return e.parents.add(t),t.childValues.has(e)||t.childValues.set(e,[]),F(e)?N(t,e):x(t,e),t}function R(e,t){let r;e.recomputing=!0;let{normalizeResult:n}=e;n&&1===e.value.length&&(r=e.value.slice(0)),e.value.length=0;try{if(e.value[0]=e.fn.apply(null,t),n&&r&&!k(r,e.value))try{e.value[0]=n(e.value[0],r[0])}catch(e){}}catch(t){e.value[1]=t}e.recomputing=!1}function F(e){return e.dirty||!!(e.dirtyChildren&&e.dirtyChildren.size)}E.count=0;function T(e,t){let r=e.parents.size;if(r){let n=b(e.parents);for(let i=0;i<r;++i)t(n[i],e)}}function N(e,t){O(e.childValues.has(t)),O(F(t));let r=!F(e);if(e.dirtyChildren){if(e.dirtyChildren.has(t))return}else e.dirtyChildren=w.pop()||new Set;e.dirtyChildren.add(t),r&&T(e,N)}function x(e,t){O(e.childValues.has(t)),O(!F(t));let r=e.childValues.get(t);0===r.length?e.childValues.set(t,t.value.slice(0)):k(r,t.value)||e.setDirty(),I(e,t),F(e)||T(e,x)}function I(e,t){let r=e.dirtyChildren;r&&(r.delete(t),0===r.size&&(w.length<100&&w.push(r),e.dirtyChildren=null))}function M(e){e.childValues.size>
10&&e.childValues.forEach((t,r)=>{q(e,r)}),e.forgetDeps(),O(null===e.dirtyChildren)}function q(e,t){t.parents.delete(e),e.childValues.delete(t),I(e,t)}let C={setDirty:!0,dispose:!0,forget:!0};function A(...e){return(t||(t=new o("function"==typeof WeakMap))).lookupArray(e)}e.s(["dep",0,function(e){let t=new Map,r=e&&e.subscribe;function n(e){let n=m.getValue();if(n){let i=t.get(e);i||t.set(e,i=new Set),n.dependOn(i),"function"==typeof r&&(_(i),i.unsubscribe=r(e))}}return n.dirty=function(e,r){let n=t.get(e);if(n){let i=r&&g.call(C,r)?r:"setDirty";b(n).forEach(e=>e[i]()),t.delete(e),_(n)}},n}],2693);let j=new Set;e.s(["wrap",0,function(e,{max:t=65536,keyArgs:r,makeCacheKey:n=A,normalizeResult:i,subscribe:a,cache:o=s.StrongCache}=Object.create(null)){let u="function"==typeof o?new o(t,e=>e.dispose()):o,c=function(){let t=n.apply(null,r?r.apply(null,arguments):arguments);if(void 0===t)return e.apply(null,arguments);let o=u.get(t);o||(u.set(t,o=new E(e)),o.normalizeResult=i,o.subscribe=a,o.forget=()=>u.delete(t));let s=o.recompute(Array.prototype.slice.call(arguments));return u.set(t,o),j.add(u),m.hasValue()||(j.forEach(e=>e.clean()),j.clear()),s};function l(e){let t=e&&u.get(e);t&&t.setDirty()}function f(e){let t=e&&u.get(e);if(t)return t.peek()}function h(e){return!!e&&u.delete(e)}return Object.defineProperty(c,"size",{get:()=>u.size,configurable:!1,enumerable:!1}),Object.freeze(c.options={max:t,keyArgs:r,makeCacheKey:n,normalizeResult:i,subscribe:a,cache:u}),c.dirtyKey=l,c.dirty=function(){l(n.apply(null,arguments))},c.peekKey=f,c.peek=function(){return f(n.apply(null,arguments))},c.forgetKey=h,c.forget=function(){return h(n.apply(null,arguments))},c.makeCacheKey=n,c.getKey=r?function(){return n.apply(null,r.apply(null,arguments))}:n,Object.freeze(c)}],95364)},79506,e=>{"use strict";var t=e.i(90571);e.i(71258);var r=e.i(87081),n=e.i(69981),i=e.i(7799),a=e.i(95077),o=e.i(36433),s=e.i(58350),u=e.i(7656),c=e.i(92360),l=e.i(66852),f=e.i(13310),h=e.i(21110),p=e.i(40096);e.i(95364);var d=e.i(12337),v=Object.assign,y=Object.hasOwnProperty,m=function(e){function u(r){var n=r.queryManager,i=r.queryInfo,a=r.options,o=this,c=u.inactiveOnCreation.getValue();(o=e.call(this,function(e){c&&(n.queries.set(o.queryId,i),c=!1);try{var t=e._subscription._observer;t&&!t.error&&(t.error=g)}catch(e){}var r=!o.observers.size;o.observers.add(e);var a=o.last;return a&&a.error?e.error&&e.error(a.error):a&&a.result&&e.next&&e.next(o.maskResult(a.result)),r&&o.reobserve().catch(function(){}),function(){o.observers.delete(e)&&!o.observers.size&&o.tearDownQuery()}})||this).observers=new Set,o.subscriptions=new Set,o.dirty=!1,o.queryInfo=i,o.queryManager=n,o.waitForOwnResult=_(a.fetchPolicy),o.isTornDown=!1,o.subscribeToMore=o.subscribeToMore.bind(o),o.maskResult=o.maskResult.bind(o);var l=n.defaultOptions.watchQuery,f=(void 0===l?{}:l).fetchPolicy,h=void 0===f?"cache-first":f,p=a.fetchPolicy,d=void 0===p?h:p,v=a.initialFetchPolicy,y=void 0===v?"standby"===d?h:d:v;o.options=(0,t.__assign)((0,t.__assign)({},a),{initialFetchPolicy:y,fetchPolicy:d}),o.queryId=i.queryId||n.generateQueryId();var m=(0,s.getOperationDefinition)(o.query);return o.queryName=m&&m.name&&m.name.value,o}return(0,t.__extends)(u,e),Object.defineProperty(u.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(u.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),u.prototype.result=function(){var e=this;return new Promise(function(t,r){var n={next:function(r){t(r),e.observers.delete(n),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:r},i=e.subscribe(n)})},u.prototype.resetDiff=function(){this.queryInfo.resetDiff()},u.prototype.getCurrentFullResult=function(e){void 0===e&&(e=!0);var r=this.getLastResult(!0),a=this.queryInfo.networkStatus||r&&r.networkStatus||i.NetworkStatus.ready,o=(0,t.__assign)((0,t.__assign)({},r),{loading:(0,i.isNetworkRequestInFlight)(a),networkStatus:a}),s=this.options.fetchPolicy,u=void 0===s?"cache-first":s;if(_(u)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var c=this.queryInfo.getDiff();(c.complete||this.options.returnPartialData)&&(o.data=c.result),(0,n.equal)(o.data,{})&&(o.data=void 0),c.complete?(delete o.partial,c.complete&&o.networkStatus===i.NetworkStatus.loading&&("cache-first"===u||"cache-only"===u)&&(o.networkStatus=i.NetworkStatus.ready,o.loading=!1)):o.partial=!0,o.networkStatus===i.NetworkStatus.ready&&(o.error||o.errors)&&(o.networkStatus=i.NetworkStatus.error),!1===globalThis.__DEV__||c.complete||this.options.partialRefetch||o.loading||o.data||o.error||b(c.missing)}return e&&this.updateLastResult(o),o},u.prototype.getCurrentResult=function(e){return void 0===e&&(e=!0),this.maskResult(this.getCurrentFullResult(e))},u.prototype.isDifferentFromLastResult=function(e,t){if(!this.last)return!0;var r=this.queryManager.getDocumentInfo(this.query),i=this.queryManager.dataMasking,a=i?r.nonReactiveQuery:this.query;return(i||r.hasNonreactiveDirective?!(0,p.equalByQuery)(a,this.last.result,e,this.variables):!(0,n.equal)(this.last.result,e))||t&&!(0,n.equal)(this.last.variables,t)},u.prototype.getLast=function(e,t){var r=this.last;if(r&&r[e]&&(!t||(0,n.equal)(r.variables,this.variables)))return r[e]},u.prototype.getLastResult=function(e){return this.getLast("result",e)},u.prototype.getLastError=function(e){return this.getLast("error",e)},u.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},u.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},u.prototype.refetch=function(e){var a,o={pollInterval:0};if("no-cache"===this.options.fetchPolicy?o.fetchPolicy="no-cache":o.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&y.call(e,"variables")){var u=(0,s.getQueryDefinition)(this.query),c=u.variableDefinitions;c&&c.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||r.invariant.warn(21,e,(null==(a=u.name)?void 0:a.value)||u)}return e&&!(0,n.equal)(this.options.variables,e)&&(o.variables=this.options.variables=(0,t.__assign)((0,t.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(o,i.NetworkStatus.refetch)},u.prototype.fetchMore=function(e){var n=this,a=(0,t.__assign)((0,t.__assign)({},e.query?e:(0,t.__assign)((0,t.__assign)((0,t.__assign)((0,t.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,t.__assign)((0,t.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});
1a.query=this.transformDocument(a.query);var o=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):a.query;var s=this.queryInfo,u=s.networkStatus;s.networkStatus=i.NetworkStatus.fetchMore,a.notifyOnNetworkStatusChange&&this.observe();var c=new Set,l=null==e?void 0:e.updateQuery,f="no-cache"!==this.options.fetchPolicy;return f||(0,r.invariant)(l,22),this.queryManager.fetchQuery(o,a,i.NetworkStatus.fetchMore).then(function(r){if(n.queryManager.removeQuery(o),s.networkStatus===i.NetworkStatus.fetchMore&&(s.networkStatus=u),f)n.queryManager.cache.batch({update:function(t){var i=e.updateQuery;i?t.updateQuery({query:n.query,variables:n.variables,returnPartialData:!0,optimistic:!1},function(e){return i(e,{fetchMoreResult:r.data,variables:a.variables})}):t.writeQuery({query:a.query,variables:a.variables,data:r.data})},onWatchUpdated:function(e){c.add(e.query)}});else{var h=n.getLast("result"),p=l(h.data,{fetchMoreResult:r.data,variables:a.variables});n.reportResult((0,t.__assign)((0,t.__assign)({},h),{networkStatus:u,loading:(0,i.isNetworkRequestInFlight)(u),data:p}),n.variables)}return n.maskResult(r)}).finally(function(){f&&!c.has(n.query)&&n.reobserveCacheFirst()})},u.prototype.subscribeToMore=function(e){var n=this,i=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(r){var i=e.updateQuery;i&&n.updateQuery(function(e,n){return i(e,(0,t.__assign)({subscriptionData:r},n))})},error:function(t){e.onError?e.onError(t):!1!==globalThis.__DEV__&&r.invariant.error(23,t)}});return this.subscriptions.add(i),function(){n.subscriptions.delete(i)&&i.unsubscribe()}},u.prototype.setOptions=function(e){return this.reobserve(e)},u.prototype.silentSetOptions=function(e){var t=(0,o.compact)(this.options,e||{});v(this.options,t)},u.prototype.setVariables=function(e){return(0,n.equal)(this.variables,e)?this.observers.size?this.result():Promise.resolve():(this.options.variables=e,this.observers.size)?this.reobserve({fetchPolicy:this.options.initialFetchPolicy,variables:e},i.NetworkStatus.setVariables):Promise.resolve()},u.prototype.updateQuery=function(e){var t=this.queryManager,r=t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}),n=r.result,i=r.complete,a=e(n,{variables:this.variables,complete:!!i,previousData:n});a&&(t.cache.writeQuery({query:this.options.query,data:a,variables:this.variables}),t.broadcastQueries())},u.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},u.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},u.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var r=t.fetchPolicy,n=void 0===r?"cache-first":r,i=t.initialFetchPolicy,a=void 0===i?n:i;"standby"===n||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(n,{reason:e,options:t,observable:this,initialFetchPolicy:a}):"variables-changed"===e?t.fetchPolicy=a:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},u.prototype.fetch=function(e,t,r){var n=this.queryManager.getOrCreateQuery(this.queryId);return n.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(n,e,t,r)},u.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(!n||!this.hasObservers()){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==n){(0,r.invariant)(n,24),(t||(this.pollingInfo={})).interval=n;var a=function(){var t,r;e.pollingInfo&&((0,i.isNetworkRequestInFlight)(e.queryInfo.networkStatus)||(null==(r=(t=e.options).skipPollAttempt)?void 0:r.call(t))?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},i.NetworkStatus.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(a,t.interval))};o()}}},u.prototype.updateLastResult=function(e,r){void 0===r&&(r=this.variables);var i=this.getLastError();return i&&this.last&&!(0,n.equal)(r,this.last.variables)&&(i=void 0),this.last=(0,t.__assign)({result:this.queryManager.assumeImmutableResults?e:(0,a.cloneDeep)(e),variables:r},i?{error:i}:null)},u.prototype.reobserveAsConcast=function(e,r){var a=this;this.isTornDown=!1;var s=r===i.NetworkStatus.refetch||r===i.NetworkStatus.fetchMore||r===i.NetworkStatus.poll,u=this.options.variables,c=this.options.fetchPolicy,l=(0,o.compact)(this.options,e||{}),f=s?l:v(this.options,l),p=this.transformDocument(f.query);this.lastQuery=p,!s&&(this.updatePolling(),e&&e.variables&&!(0,n.equal)(e.variables,u)&&"standby"!==f.fetchPolicy&&(f.fetchPolicy===c||"function"==typeof f.nextFetchPolicy)&&(this.applyNextFetchPolicy("variables-changed",f),void 0===r&&(r=i.NetworkStatus.setVariables))),this.waitForOwnResult&&(this.waitForOwnResult=_(f.fetchPolicy));var d=function(){a.concast===g&&(a.waitForOwnResult=!1)},y=f.variables&&(0,t.__assign)({},f.variables),m=this.fetch(f,r,p),g=m.concast,b=m.fromLink,w={next:function(e){(0,n.equal)(a.variables,y)&&(d(),a.reportResult(e,y))},error:function(e){(0,n.equal)(a.variables,y)&&((0,h.isApolloError)(e)||(e=new h.ApolloError({networkError:e})),d(),a.reportError(e,y))}};return s||!b&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=g,this.observer=w),g.addObserver(w),g},u.prototype.reobserve=function(e,t){return(0,f.preventUnhandledRejection)(this.reobserveAsConcast(e,t).promise.then(this.maskResult))},u.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var r=this.last;this.resetLastResults();var n=this.subscribe.apply(this,e);return this.last=r,n},u.prototype.observe=function(){this.reportResult(this.getCurrentFullResult(!1),this.variables)},u.prototype.reportResult=function(e,t){var r=this.getLastError(),n=this.isDifferentFromLastResult(e,t);(r||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(r||n)&&(0,c.iterateObserversSafely)(this.observers,"next",this.maskResult(e))},u.prototype.reportError=function(e,r){var n=(0,t.__assign)((0,t.__assign)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:i.NetworkStatus.error,loading:!1});this.updateLastResult(n,r),(0,c.iterateObserversSafely)(this.observers,"error",this.last.error=e)},u.prototype.hasObservers=function(){return this.observers.size>0},u.prototype.tearDownQuery=function(){this.isTornDown||(this.concast&&this.observer&&(this.concast.removeObserver(this.observer),delete this.concast,delete this.observer),this.stopPolling(),this.subscriptions.forEach(function(e){return e.unsubscribe()}),this.subscriptions.clear(),this.queryManager.stopQuery(this.queryId),this.observers.clear(),this.isTornDown=!0)},u.prototype.transformDocument=function(e){return this.queryManager.transform(e)},u.prototype.maskResult=function(e){return e&&"data"in e?(0,t.__assign)((0,t.__assign)({},e),{data:this.queryManager.maskOperation({document:this.query,data:e.data,fetchPolicy:this.options.fetchPolicy,id:this.queryId})}):e},u.prototype.resetNotifications=function(){this.cancelNotifyTimeout(),this.dirty=!1},u.prototype.cancelNotifyTimeout=function(){this.notifyTimeout&&(clearTimeout(this.notifyTimeout),this.notifyTimeout=void 0)},u.prototype.scheduleNotify=function(){var e=this;!this.dirty&&(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return e.notify()},0)))},u.prototype.notify=function(){this.cancelNotifyTimeout(),this.dirty&&("cache-only"==this.options.fetchPolicy||"cache-and-network"==this.options.fetchPolicy||!(0,i.isNetwork
1RequestInFlight)(this.queryInfo.networkStatus))&&(this.queryInfo.getDiff().fromOptimisticTransaction?this.observe():this.reobserveCacheFirst()),this.dirty=!1},u.prototype.reobserveCacheFirst=function(){var e=this.options,t=e.fetchPolicy,r=e.nextFetchPolicy;return"cache-and-network"===t||"network-only"===t?this.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(e,n){return(this.nextFetchPolicy=r,"function"==typeof this.nextFetchPolicy)?this.nextFetchPolicy(e,n):t}}):this.reobserve()},u.inactiveOnCreation=new d.Slot,u}(u.Observable);function g(e){!1!==globalThis.__DEV__&&r.invariant.error(25,e.message,e.stack)}function b(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&r.invariant.debug(26,e)}function _(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,l.fixObservableSubclass)(m),e.s(["ObservableQuery",0,m,"logMissingFieldErrors",0,b])},45938,e=>{"use strict";var t=Array.isArray;e.s(["isArray",0,t,"isNonEmptyArray",0,function(e){return Array.isArray(e)&&e.length>0}])},76846,e=>{"use strict";var t=e.i(19983);e.s(["maybeDeepFreeze",0,function(e){var r;return!1!==globalThis.__DEV__&&(r=new Set([e])).forEach(function(e){(0,t.isNonNullObject)(e)&&function(e){if(!1!==globalThis.__DEV__&&!Object.isFrozen(e))try{Object.freeze(e)}catch(e){if(e instanceof TypeError)return null;throw e}return e}(e)===e&&Object.getOwnPropertyNames(e).forEach(function(n){(0,t.isNonNullObject)(e[n])&&r.add(e[n])})}),e}])},6929,14680,e=>{"use strict";e.i(71258);var t=e.i(87081);e.s(["validateOperation",0,function(e){for(var r=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n<i.length;n++){var a=i[n];if(0>r.indexOf(a))throw(0,t.newInvariantError)(46,a)}return e}],6929);var r=e.i(90571);e.s(["createOperation",0,function(e,t){var n=(0,r.__assign)({},e);return Object.defineProperty(t,"setContext",{enumerable:!1,value:function(e){n="function"==typeof e?(0,r.__assign)((0,r.__assign)({},n),e(n)):(0,r.__assign)((0,r.__assign)({},n),e)}}),Object.defineProperty(t,"getContext",{enumerable:!1,value:function(){return(0,r.__assign)({},n)}}),t}],14680)},16005,94635,e=>{"use strict";e.i(71258);var t=e.i(87081),r=e.i(7656),n=e.i(6929),i=e.i(14680),a=e.i(58350);function o(e,t){return t?t(e):r.Observable.of()}function s(e){return"function"==typeof e?new c(e):e}function u(e){return e.request.length<=1}var c=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return r.Observable.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(s).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,i){var a=s(n),c=s(i||new e(o));return Object.assign(new e(u(a)&&u(c)?function(e){return t(e)?a.request(e)||r.Observable.of():c.request(e)||r.Observable.of()}:function(e,n){return t(e)?a.request(e,n)||r.Observable.of():c.request(e,n)||r.Observable.of()}),{left:a,right:c})},e.execute=function(e,t){var o,s;return e.request((0,i.createOperation)(t.context,((s={variables:(o=(0,n.validateOperation)(t)).variables||{},extensions:o.extensions||{},operationName:o.operationName,query:o.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.getOperationName)(s.query)||void 0:""),s)))||r.Observable.of()},e.concat=function(n,i){var a=s(n);if(u(a))return!1!==globalThis.__DEV__&&t.invariant.warn(38,a),a;var o=s(i);return Object.assign(new e(u(o)?function(e){return a.request(e,function(e){return o.request(e)||r.Observable.of()})||r.Observable.of()}:function(e,t){return a.request(e,function(e){return o.request(e,t)||r.Observable.of()})||r.Observable.of()}),{left:a,right:o})},e.prototype.split=function(t,r,n){return this.concat(e.split(t,r,n||new e(o)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,r){throw(0,t.newInvariantError)(39)},e.prototype.onError=function(e,t){if(t&&t.error)return t.error(e),!1;throw e},e.prototype.setOnError=function(e){return this.onError=e,this},e}();e.s(["ApolloLink",0,c],16005);var l=c.execute;e.s(["execute",0,l],94635)},62389,9808,80117,89551,e=>{"use strict";e.i(71258);var t=e.i(87081);e.s(["serializeFetchParameter",0,function(e,r){var n;try{n=JSON.stringify(e)}catch(e){var i=(0,t.newInvariantError)(42,r,e.message);throw i.parseError=e,i}return n}],62389),e.s(["selectURI",0,function(e,t){var r=e.getContext().uri;return r||("function"==typeof t?t(e):t||"/graphql")}],9808);var r=e.i(75625);function n(e){var t={next:function(){return e.read()}};return r.canUseAsyncIteratorSymbol&&(t[Symbol.asyncIterator]=function(){return this}),t}e.s(["responseIterator",0,function(e){var t,i,a,o,s,u,c=e;if(e.body&&(c=e.body),t=c,r.canUseAsyncIteratorSymbol&&t[Symbol.asyncIterator])return a=c[Symbol.asyncIterator](),(i={next:function(){return a.next()}})[Symbol.asyncIterator]=function(){return this},i;if(c.getReader)return n(c.getReader());if(c.stream)return n(c.stream().getReader());if(c.arrayBuffer)return o=c.arrayBuffer(),s=!1,u={next:function(){return s?Promise.resolve({value:void 0,done:!0}):(s=!0,new Promise(function(e,t){o.then(function(t){e({value:t,done:!1})}).catch(t)}))}},r.canUseAsyncIteratorSymbol&&(u[Symbol.asyncIterator]=function(){return this}),u;if(c.pipe)return function(e){var t=null,n=null,i=!1,a=[],o=[];
1function s(e){if(!n){if(o.length){var t=o.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}a.push(e)}}function u(e){n=e,o.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){i=!0,o.slice().forEach(function(e){e[0]({value:void 0,done:!0})}),t&&t()}t=function(){t=null,e.removeListener("data",s),e.removeListener("error",u),e.removeListener("end",c),e.removeListener("finish",c),e.removeListener("close",c)},e.on("data",s),e.on("error",u),e.on("end",c),e.on("finish",c),e.on("close",c);var l={next:function(){return new Promise(function(e,t){return n?t(n):a.length?e({value:a.shift(),done:!1}):i?e({value:void 0,done:!0}):void o.push([e,t])})}};return r.canUseAsyncIteratorSymbol&&(l[Symbol.asyncIterator]=function(){return this}),l}(c);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}],80117),e.s(["throwServerError",0,function(e,t,r){var n=Error(r);throw n.name="ServerError",n.response=e,n.statusCode=e.status,n.result=t,n}],89551)},55824,15511,82562,87084,42418,e=>{"use strict";var t,r=e.i(90571),n=e.i(16005);e.i(71258);var i=e.i(87081),a=e.i(7656),o=e.i(86713),s=e.i(62389),u=e.i(9808),c=e.i(80117),l=e.i(89551),f=e.i(21110),h=e.i(19983),p=e.i(45938),d=Object.prototype.hasOwnProperty;function v(e){var t=e[0]||{},r=e.length;if(r>1)for(var n=new m,i=1;i<r;++i)t=n.merge(t,e[i]);return t}var y=function(e,t,r){return this.merge(e[r],t[r])},m=function(){function e(e){void 0===e&&(e=y),this.reconciler=e,this.isObject=h.isNonNullObject,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,i=[],a=2;a<arguments.length;a++)i[a-2]=arguments[a];return(0,h.isNonNullObject)(t)&&(0,h.isNonNullObject)(e)?(Object.keys(t).forEach(function(a){if(d.call(e,a)){var o=e[a];if(t[a]!==o){var s=n.reconciler.apply(n,(0,r.__spreadArray)([e,t,a],i,!1));s!==o&&((e=n.shallowCopyForMerge(e))[a]=s)}}else(e=n.shallowCopyForMerge(e))[a]=t[a]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,h.isNonNullObject)(e)&&!this.pastCopies.has(e)&&(e=Array.isArray(e)?e.slice(0):(0,r.__assign)({__proto__:Object.getPrototypeOf(e)},e),this.pastCopies.add(e)),e},e}();function g(e){return"incremental"in e}function b(e){return(0,h.isNonNullObject)(e)&&"payload"in e}e.s(["DeepMerger",0,m,"mergeDeep",0,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return v(e)},"mergeDeepArray",0,v],15511),e.s(["isApolloPayloadResult",0,b,"isExecutionPatchIncrementalResult",0,g,"isExecutionPatchResult",0,function(e){return g(e)||"hasNext"in e&&"data"in e},"mergeIncrementalData",0,function(e,t){var r=e,n=new m;return g(t)&&(0,p.isNonEmptyArray)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,a=i.length-1;a>=0;--a){var o=i[a],s=isNaN(+o)?{}:[];s[o]=t,t=s}r=n.merge(r,t)}),r}],82562);var _=Object.prototype.hasOwnProperty;function w(e,t){e.status>=300&&(0,l.throwServerError)(e,function(){try{return JSON.parse(t)}catch(e){return t}}(),"Response not successful: Received status code ".concat(e.status));try{return JSON.parse(t)}catch(r){throw r.name="ServerParseError",r.response=e,r.statusCode=e.status,r.bodyText=t,r}}var O=function(e){if(!e&&"u"<typeof fetch)throw(0,i.newInvariantError)(40)},k=e.i(99074);let S=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function E(e){return D[e.charCodeAt(0)]}let D=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F","","",'\\"',"","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\\\","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","\\u007F","\\u0080","\\u0081","\\u0082","\\u0083","\\u0084","\\u0085","\\u0086","\\u0087","\\u0088","\\u0089","\\u008A","\\u008B","\\u008C","\\u008D","\\u008E","\\u008F","\\u0090","\\u0091","\\u0092","\\u0093","\\u0094","\\u0095","\\u0096","\\u0097","\\u0098","\\u0099","\\u009A","\\u009B","\\u009C","\\u009D","\\u009E","\\u009F"];var R=e.i(98943);let F={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>T(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=x("(",T(e.variableDefinitions,", "),")"),r=T([e.operation,T([e.name,t]),T(e.directives," ")]," ");return("query"===r?"":r+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:r,directives:n})=>e+": "+t+x(" = ",r)+x(" ",T(n," "))},SelectionSet:{leave:({selections:e})=>N(e)},Field:{leave({alias:e,name:t,arguments:r,directives:n,selectionSet:i}){let a=x("",e,": ")+t,o=a+x("(",T(r,", "),")");return o.length>80&&(o=a+x("(\n",I(T(r,"\n")),"\n)")),T([o,T(n," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+x(" ",T(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:r})=>T(["...",x("on ",e),T(t," "),r]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:r,directives:n,selectionSet:i})=>`fragment ${e}${x("(",T(r,", "),")")} on ${t} ${x("",T(n," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
1,StringValue:{leave:({value:e,block:t})=>t?(0,k.printBlockString)(e):`"${e.replace(S,E)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+T(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+T(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+x("(",T(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:r})=>x("",e,"\n")+T(["schema",T(t," "),N(r)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:r})=>x("",e,"\n")+T(["scalar",t,T(r," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>x("",e,"\n")+T(["type",t,x("implements ",T(r," & ")),T(n," "),N(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:r,type:n,directives:i})=>x("",e,"\n")+t+(M(r)?x("(\n",I(T(r,"\n")),"\n)"):x("(",T(r,", "),")"))+": "+n+x(" ",T(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:r,defaultValue:n,directives:i})=>x("",e,"\n")+T([t+": "+r,x("= ",n),T(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:r,directives:n,fields:i})=>x("",e,"\n")+T(["interface",t,x("implements ",T(r," & ")),T(n," "),N(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:r,types:n})=>x("",e,"\n")+T(["union",t,T(r," "),x("= ",T(n," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:r,values:n})=>x("",e,"\n")+T(["enum",t,T(r," "),N(n)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:r})=>x("",e,"\n")+T([t,T(r," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:r,fields:n})=>x("",e,"\n")+T(["input",t,T(r," "),N(n)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:r,repeatable:n,locations:i})=>x("",e,"\n")+"directive @"+t+(M(r)?x("(\n",I(T(r,"\n")),"\n)"):x("(",T(r,", "),")"))+(n?" repeatable":"")+" on "+T(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>T(["extend schema",T(e," "),N(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>T(["extend scalar",e,T(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>T(["extend type",e,x("implements ",T(t," & ")),T(r," "),N(n)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:r,fields:n})=>T(["extend interface",e,x("implements ",T(t," & ")),T(r," "),N(n)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:r})=>T(["extend union",e,T(t," "),x("= ",T(r," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:r})=>T(["extend enum",e,T(t," "),N(r)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:r})=>T(["extend input",e,T(t," "),N(r)]," ")}};function T(e,t=""){var r;return null!=(r=null==e?void 0:e.filter(e=>e).join(t))?r:""}function N(e){return x("{\n",I(T(e,"\n")),"\n}")}function x(e,t,r=""){return null!=t&&""!==t?e+t+r:""}function I(e){return x("  ",e.replace(/\n/g,"\n  "))}function M(e){var t;return null!=(t=null==e?void 0:e.some(e=>e.includes("\n")))&&t}var q=e.i(34049),C=e.i(72243),A=e.i(20871),j=Object.assign(function(e){var r=t.get(e);return r||(r=(0,R.visit)(e,F),t.set(e,r)),r},{reset:function(){t=new q.AutoCleanedWeakCache(C.cacheSizes.print||2e3)}});j.reset(),!1!==globalThis.__DEV__&&(0,A.registerGlobalCache)("print",function(){return t?t.size:0}),e.s(["print",0,j],87084);var P={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},Q=function(e,t){return t(e)};function V(e){return new a.Observable(function(t){t.error(e)})}var L=e.i(30207),z=e.i(58350),W=e.i(85809),B=e.i(53949),U=e.i(61518),K={kind:W.Kind.FIELD,name:{kind:W.Kind.NAME,value:"__typename"}};function G(e){var t=new Map;return function(r){void 0===r&&(r=e);var n=t.get(r);return n||t.set(r,n={variables:new Set,fragmentSpreads:new Set}),n}}function J(e,t){(0,z.checkDocument)(t);for(var n,a,o,s=G(""),u=G(""),c=function(e){for(var t=0,r=void 0;t<e.length&&(r=e[t]);++t)if(!(0,p.isArray)(r)){if(r.kind===W.Kind.OPERATION_DEFINITION)return s(r.name&&r.name.value);if(r.kind===W.Kind.FRAGMENT_DEFINITION)return u(r.name.value)}return!1!==globalThis.__DEV__&&i.invariant.error(97),null},l=0,f=t.definitions.length-1;f>=0;--f)t.definitions[f].kind===W.Kind.OPERATION_DEFINITION&&++l;var h=(n=new Map,a=new Map,e.forEach(function(e){e&&(e.name?n.set(e.name,e):e.test&&a.set(e.test,e))}),function(e){var t=n.get(e.name.value);return!t&&a.size&&a.forEach(function(r,n){n(e)&&(t=r)}),t}),d=function(e){return(0,p.isNonEmptyArray)(e)&&e.map(h).some(function(e){return e&&e.remove})},v=new Map,y=!1,m={enter:function(e){if(d(e.directives))return y=!0,null}},g=(0,R.visit)(t,{Field:m,InlineFragment:m,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,r,n,i){var a=c(i);a&&a.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,r,n,i){if(d(e.directives))return y=!0,null;var a=c(i);a&&a.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,r,n){v.set(JSON.stringify(n),e)},leave:function(e,t,r,n){return e===v.get(JSON.stringify(n))?e:l>0&&e.selectionSet.selections.every(function(e){return e.kind===W.Kind.FIELD&&"__typename"===e.name.value})?(u(e.name.value).removed=!0,y=!0,null):void 0}},Directive:{leave:function(e){if(h(e))return y=!0,null}}});if(!y)return t;var b=function(e){return!e.transitiveVars&&(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){b(u(t)).transitiveVars.forEac
1h(function(t){e.transitiveVars.add(t)})})),e},_=new Set;g.definitions.forEach(function(e){e.kind===W.Kind.OPERATION_DEFINITION?b(s(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){_.add(e)}):e.kind!==W.Kind.FRAGMENT_DEFINITION||0!==l||u(e.name.value).removed||_.add(e.name.value)}),_.forEach(function(e){b(u(e)).fragmentSpreads.forEach(function(e){_.add(e)})});var w={enter:function(e){var t;if(t=e.name.value,!_.has(t)||u(t).removed)return null}};return o=(0,R.visit)(g,{FragmentSpread:w,FragmentDefinition:w,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=b(s(e.name&&e.name.value)).transitiveVars;if(t.size<e.variableDefinitions.length)return(0,r.__assign)((0,r.__assign)({},e),{variableDefinitions:e.variableDefinitions.filter(function(e){return t.has(e.variable.name.value)})})}}}}),!function e(t,r){return!t||t.selectionSet.selections.every(function(t){return t.kind===W.Kind.FRAGMENT_SPREAD&&e(r[t.name.value],r)})}((0,z.getOperationDefinition)(o)||(0,z.getFragmentDefinition)(o),(0,U.createFragmentMap)((0,z.getFragmentDefinitions)(o)))?o:null}var H=Object.assign(function(e){return(0,R.visit)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==W.Kind.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,B.isField)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,B.isField)(n)&&n.directives&&n.directives.some(function(e){return"export"===e.name.value})))return(0,r.__assign)((0,r.__assign)({},e),{selections:(0,r.__spreadArray)((0,r.__spreadArray)([],i,!0),[K],!1)})}}}})},{added:function(e){return e===K}});function Y(e){return(0,z.checkDocument)(e),J([{test:function(e){return"client"===e.name.value},remove:!0}],e)}e.s(["addNonReactiveToNamedFragments",0,function(e){return(0,z.checkDocument)(e),(0,R.visit)(e,{FragmentSpread:function(e){var t;if(null==(t=e.directives)||!t.some(function(e){return"unmask"===e.name.value}))return(0,r.__assign)((0,r.__assign)({},e),{directives:(0,r.__spreadArray)((0,r.__spreadArray)([],e.directives||[],!0),[{kind:W.Kind.DIRECTIVE,name:{kind:W.Kind.NAME,value:"nonreactive"}}
1],!1)})}})},"addTypenameToDocument",0,H,"buildQueryFromSelectionSet",0,function(e){return"query"===(0,z.getMainDefinition)(e).operation?e:(0,R.visit)(e,{OperationDefinition:{enter:function(e){return(0,r.__assign)((0,r.__assign)({},e),{operation:"query"})}}})},"removeClientSetsFromDocument",0,Y,"removeDirectivesFromDocument",0,J],42418);var $=(0,L.maybe)(function(){return fetch}),X=function(e){void 0===e&&(e={});var t=e.uri,h=void 0===t?"/graphql":t,p=e.fetch,d=e.print,v=void 0===d?Q:d,y=e.includeExtensions,m=e.preserveHeaderCase,g=e.useGETForQueries,k=e.includeUnusedVariables,S=void 0!==k&&k,E=(0,r.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&O(p||$);var D={http:{includeExtensions:y,preserveHeaderCase:m},options:E.fetchOptions,credentials:E.credentials,headers:E.headers};return new n.ApolloLink(function(e){var t,n,d,y,m,O,k=(0,u.selectURI)(e,h),E=e.getContext(),F={};if(E.clientAwareness){var T=E.clientAwareness,N=T.name,x=T.version;N&&(F["apollographql-client-name"]=N),x&&(F["apollographql-client-version"]=x)}var I=(0,r.__assign)((0,r.__assign)({},F),E.headers),M={http:E.http,options:E.fetchOptions,credentials:E.credentials,headers:I};if((0,o.hasDirectives)(["client"],e.query)){var q=Y(e.query);if(!q)return V(Error("HttpLink: Trying to send a client-only query to the server. To send to the server, ensure a non-client field is added to the query or set the `transformOptions.removeClientFields` option to `true`."));e.query=q}var C=function(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];var a={},o={};n.forEach(function(e){a=(0,r.__assign)((0,r.__assign)((0,r.__assign)({},a),e.options),{headers:(0,r.__assign)((0,r.__assign)({},a.headers),e.headers)}),e.credentials&&(a.credentials=e.credentials),o=(0,r.__assign)((0,r.__assign)({},o),e.http)}),a.headers&&(a.headers=function(e,t){if(!t){var r={};
1return Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]=e[t]}),r}var n={};Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]={originalName:t,value:e[t]}});var i={};return Object.keys(n).forEach(function(e){i[n[e].originalName]=n[e].value}),i}(a.headers,o.preserveHeaderCase));var s=e.operationName,u=e.extensions,c=e.variables,l=e.query,f={operationName:s,variables:c};return o.includeExtensions&&(f.extensions=u),o.includeQuery&&(f.query=t(l,j)),{options:a,body:f}}(e,v,P,D,M),A=C.options,Q=C.body;Q.variables&&!S&&(t=Q.variables,n=e.query,d=(0,r.__assign)({},t),y=new Set(Object.keys(t)),(0,R.visit)(n,{Variable:function(e,t,r){r&&"VariableDefinition"!==r.kind&&y.delete(e.name.value)}}),y.forEach(function(e){delete d[e]}),Q.variables=d),!A.signal&&"u">typeof AbortController&&(A.signal=(O=new AbortController).signal);var W="OperationDefinition"===(m=(0,z.getMainDefinition)(e.query)).kind&&"subscription"===m.operation,B=(0,o.hasDirectives)(["defer"],e.query);if(g&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(A.method="GET"),B||W){A.headers=A.headers||{};var U="multipart/mixed;";W&&B&&!1!==globalThis.__DEV__&&i.invariant.warn(41),W?U+="boundary=graphql;subscriptionSpec=1.0,application/json":B&&(U+="deferSpec=20220824,application/json"),A.headers.accept=U}if("GET"===A.method){var K=function(e,t){var r=[],n=function(e,t){r.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&n("query",t.query),t.operationName&&n("operationName",t.operationName),t.variables){var i=void 0;try{i=(0,s.serializeFetchParameter)(t.variables,"Variables map")}catch(e){return{parseError:e}}n("variables",i)}if(t.extensions){var a=void 0;try{a=(0,s.serializeFetchParameter)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}n("extensions",a)}var o="",u=e,c=e.indexOf("#");-1!==c&&(o=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+r.join("&")+o}}(k,Q),G=K.newURI,J=K.parseError;if(J)return V(J);k=G}else try{A.body=(0,s.serializeFetchParameter)(Q,"Payload")}catch(e){return V(e)}return new a.Observable(function(t){var n=p||(0,L.maybe)(function(){return fetch})||$,i=t.next.bind(t);return n(k,A).then(function(t){e.setContext({response:t});var n,a=null==(n=t.headers)?void 0:n.get("content-type");return null!==a&&/^multipart\/mixed/i.test(a)?function(e,t){return(0,r.__awaiter)(this,void 0,void 0,function(){var n,i,a,o,s,u,l,h,p,d,v,y,m,g,_,O,k,S,E,D,R,F,T;return(0,r.__generator)(this,function(N){switch(N.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");n=new TextDecoder("utf-8"),i=null==(T=e.headers)?void 0:T.get("content-type"),a="boundary=",o=(null==i?void 0:i.includes(a))?null==i?void 0:i.substring((null==i?void 0:i.indexOf(a))+a.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",s="\r\n--".concat(o),u="",l=(0,c.responseIterator)(e),h=!0,N.label=1;case 1:if(!h)return[3,3];return[4,l.next()];case 2:for(d=(p=N.sent()).value,v=p.done,y="string"==typeof d?d:n.decode(d),m=u.length-s.length+1,h=!v,u+=y,g=u.indexOf(s,m);g>-1;){if(_=void 0,_=(R=[u.slice(0,g),u.slice(g+s.length)])[0],u=R[1],O=_.indexOf("\r\n\r\n"),(k=function(e){var t={};return e.split("\n").forEach(function(e){var r=e.indexOf(":");if(r>-1){var n=e.slice(0,r).trim().toLowerCase(),i=e.slice(r+1).trim();t[n]=i}}),t}(_.slice(0,O))["content-type"])&&-1===k.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");if(S=_.slice(O)){if(Object.keys(E=w(e,S)).length>1||"data"in E||"incremental"in E||"errors"in E||"payload"in E)if(b(E)){if(D={},"payload"in E){if(1===Object.keys(E).length&&null===E.payload)return[2];D=(0,r.__assign)({},E.payload)}"errors"in E&&(D=(0,r.__assign)((0,r.__assign)({},D),{extensions:(0,r.__assign)((0,r.__assign)({},"extensions"in D?D.extensions:null),((F={})[f.PROTOCOL_ERRORS_SYMBOL]=E.errors,F))})),t(D)}else t(E);else if(1===Object.keys(E).length&&"hasNext"in E&&!E.hasNext)return[2]}g=u.indexOf(s)}return[3,1];case 3:return[2]}})})}(t,i):(function(t){return t.text().then(function(e){return w(t,e)}).then(function(r){return Array.isArray(r)||_.call(r,"data")||_.call(r,"errors")||(0,l.throwServerError)(t,r,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),r})})(t).then(i)}).then(function(){O=void 0,t.complete()}).catch(function(e){O=void 0,e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}),function(){O&&O.abort()}})})},Z=function(e){function t(t){void 0===t&&(t={});var r=e.call(this,X(t).request)||this;return r.options=t,r}return(0,r.__extends)(t,e),t}(n.ApolloLink);e.s(["HttpLink",0,Z],55824)},1513,99799,e=>{"use strict";var t=e.i(45938),r=e.i(82562);function n(e){var n=(0,t.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];return(0,r.isExecutionPatchIncrementalResult)(e)&&(0,t.isNonEmptyArray)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&n.push.apply(n,e.errors)}),n}e.s(["getGraphQLErrorsFromResult",0,n,"graphQLResultHasError",0,function(e){var r=n(e);return(0,t.isNonEmptyArray)(r)}],1513);var i=e.i(7656);e.s(["asyncMap",0,function(e,t,r){return new i.Observable(function(n){var i={then:function(e){return new Promise(function(t){return t(e())})}};function a(e,t){return function(r){if(e){var a=function(){return n.closed?0:e(r)};i=i.then(a,a).then(function(e){return n.next(e)},function(e){return n.error(e)})}else n[t](r)}}var o={next:a(t,"next"),error:a(r,"error"),complete:function(){i.then(function(){return n.complete()})}},s=e.subscribe(o);return function(){return s.unsubscribe()}})}],99799)},23595,e=>{"use strict";var t=e.i(90571),r=e.i(7656),n=e.i(92360),i=e.i(66852);function a(e){return e&&"function"==typeof e.then}var o=function(e){function i(t){var i=e.call(this,function(e){return i.addObserver(e),function(){return i.removeObserver(e)}})||this;return i.observers=new Set,i.promise=new Promise(function(e,t){i.resolve=e,i.reject=t}),i.handlers={next:function(e){null!==i.sub&&(i.latest=["next",e],i.notify("next",e),(0,n.iterateObserversSafely)(i.observers,"next",e))},error:function(e){var t=i.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),i.sub=null,i.latest=["error",e],i.reject(e),i.notify("error",e),(0,n.iterateObserversSafely)(i.observers,"error",e))},complete:function(){var e=i.sub,t=i.sources;if(null!==e){var r=(void 0===t?[]:t).shift();r?a(r)?r.then(function(e){return i.sub=e.subscribe(i.handlers)},i.handlers.error):i.sub=r.subscribe(i.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),i.sub=null,i.latest&&"next"===i.latest[0]?i.resolve(i.latest[1]):i.resolve(),i.notify("complete"),(0,n.iterateObserversSafely)(i.observers,"complete"))}}},i.nextResultListeners=new Set,i.cancel=function(e){i.reject(e),i.sources=[],i.handlers.error(e)},i.promise.catch(function(e){}),"function"==typeof t&&(t=[new r.Observable(t)]),a(t)?t.then(function(e){return i.start(e)},i.handlers.error):i.start(t),i}return(0,t.__extends)(i,e),i.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},i.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],r=e[t];r&&r.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},i.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},i.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},i.prototype.notify=function(e,t){var r=this.nextResultListeners;r.size&&(this.nextResultListeners=new Set,r.forEach(function(r){return r(e,t)}))},i.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(r,n){t||(t=!0,e(r,n))})},i}(r.Observable);(0,i.fixObservableSubclass)(o),e.s(["Concast",0,o])},75428,e=>{"use strict";var t=e.i(40059),r=e.i(75625),n=e.i(58350);e.i(71258);var i=e.i(87081),a=e.i(52812),o=e.i(95364),s=e.i(72243);function u(e){return e}var c=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=r.canUseWeakSet?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),this.cached=!1!==t.cache,this.resetCache()}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(u,{cache:!1})},e.split=function(t,r,n){return void 0===n&&(n=e.identity()),Object.assign(new e(function(e){return(t(e)?r:n).transformDocument(e)},{cache:!1}),{left:r,right:n})},e.prototype.resetCache=function(){var n=this;if(this.cached){var u=new t.Trie(r.canUseWeakMap);this.performWork=(0,o.wrap)(e.prototype.performWork.bind(this),{makeCacheKey:function(e){var t=n.getCacheKey(e);if(t)return(0,i.invariant)(Array.isArray(t),77),u.lookupArray(t)},max:s.cacheSizes["documentTransform.cache"],cache:a.WeakCache})}},e.prototype.performWork=function(e){return(0,n.checkDocument)(e),this.transform(e)},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.performWork(e);return this.resultCache.add(t),t},e.prototype.concat=function(t){var r=this;return Object.assign(new e(function(e){return t.transformDocument(r.transformDocument(e))},{cache:!1}),{left:this,right:t})},e}();e.s(["DocumentTransform",0,c])},39276,90056,e=>{"use strict";var t=e.i(90571),r=e.i(69981),n=e.i(15511),i=e.i(82562),a=e.i(45938),o=e.i(1513),s=e.i(75625),u=e.i(7799),c=new(s.canUseWeakMap?WeakMap:Map);function l(e,t){var r=e[t];"function"==typeof r&&(e[t]=function(){return c.set(e,(c.get(e)+1)%1e15),r.apply(this,arguments)})}var f=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.document=null,this.lastRequestId=1,this.stopped=!1,this.observableQuery=null;var r=this.cache=e.cache;c.has(r)||(c.set(r,0),l(r,"evict"),l(r,"modify"),l(r,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||u.NetworkStatus.loading;return this.variables&&this.networkStatus!==u.NetworkStatus.loading&&!(0,r.equal)(this.variables,e.variables)&&(t=u.NetworkStatus.setVariables),(0,r.equal)(e.variables,this.variables)||(this.lastDiff=void 0,this.cancel()),Object.assign(this,{document:e.document,variables:e.variables,networkError:null,graphQLErrors:this.graphQLErrors||[],networkStatus:t}),e.observableQuery&&this.setObservableQuery(e.observableQuery),e.lastRequestId&&(this.lastRequestId=e.lastRequestId),this},e.prototype.resetDiff=function(){this.lastDiff=void 0},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,r.equal)(e,this.lastDiff.options))return this.lastDiff.diff;this.updateWatch(this.variables);var t=this.observableQuery;if(t&&"no-cache"===t.options.fetchPolicy)return{complete:!1};var n=this.cache.diff(e);return this.updateLastDiff(n,e),n},e.prototype.updateLastDiff=function(e,t){this.lastDiff=e?{diff:e,options:t||this.getDiffOptions()}:void 0},e.prototype.getDiffOptions=function(e){var t;return void 0===e&&(e=this.variables),{query:this.document,variables:e,returnPartialData:!0,optimistic:!0,canonizeResults:null==(t=this.observableQuery)?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t,n,i=this.lastDiff&&this.lastDiff.diff;!(e&&!e.complete&&(null==(t=this.observableQuery)?void 0:t.getLastError()))&&(this.updateLastDiff(e),(0,r.equal)(i&&i.result,e&&e.result)||null==(n=this.observableQuery)||n.scheduleNotify())},e.prototype.setObservableQuery=function(e){e!==this.observableQuery&&(this.observableQuery=e,e&&(e.queryInfo=this))},e.prototype.stop=function(){var e;if(!this.stopped){this.stopped=!0,null==(e=this.observableQuery)||e.resetNotifications(),this.cancel();var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){var e;null==(e=this.cancelWatch)||e.call(this),this.cancelWatch=void 0},e.prototype.updateWatch=function(e){var n=this;void 0===e&&(e=this.variables);var i=this.observableQuery;if(!i||"no-cache"!==i.options.fetchPolicy){var a=(0,t.__assign)((0,t.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return n.setDiff(e)}});
1this.lastWatch&&(0,r.equal)(a,this.lastWatch)||(this.cancel(),this.cancelWatch=this.cache.watch(this.lastWatch=a))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===c.get(this.cache)&&(0,r.equal)(t,n.variables)&&(0,r.equal)(e.data,n.result.data))},e.prototype.markResult=function(e,t,o,s){var u,l=this,f=new n.DeepMerger,p=(0,a.isNonEmptyArray)(e.errors)?e.errors.slice(0):[];if(null==(u=this.observableQuery)||u.resetNotifications(),"incremental"in e&&(0,a.isNonEmptyArray)(e.incremental)){var d=(0,i.mergeIncrementalData)(this.getDiff().result,e);e.data=d}else if("hasNext"in e&&e.hasNext){var v=this.getDiff();e.data=f.merge(v.result,e.data)}this.graphQLErrors=p,"no-cache"===o.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(o.variables)):0!==s&&(h(e,o.errorPolicy)?this.cache.performTransaction(function(n){if(l.shouldWrite(e,o.variables))n.writeQuery({query:t,data:e.data,variables:o.variables,overwrite:1===s}),l.lastWrite={result:e,variables:o.variables,dmCount:c.get(l.cache)};else if(l.lastDiff&&l.lastDiff.diff.complete){e.data=l.lastDiff.diff.result;return}var i=l.getDiffOptions(o.variables),a=n.diff(i);!l.stopped&&(0,r.equal)(l.variables,o.variables)&&l.updateWatch(o.variables),l.updateLastDiff(a,i),a.complete&&(e.data=a.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=u.NetworkStatus.ready},e.prototype.markError=function(e){var t;return this.networkStatus=u.NetworkStatus.error,this.lastWrite=void 0,null==(t=this.observableQuery)||t.resetNotifications(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function h(e,t){void 0===t&&(t="none");var r="ignore"===t||"all"===t,n=!(0,o.graphQLResultHasError)(e);return!n&&r&&e.data&&(n=!0),n}e.s(["QueryInfo",0,f,"shouldWriteResult",0,h],39276),e.i(95364);var p=e.i(12337);e.i(71258);var d=e.i(87081),v=s.canUseWeakMap?WeakMap:Map,y=s.canUseWeakSet?WeakSet:Set,m=new p.Slot,g=!1;e.s(["MapImpl",0,v,"SetImpl",0,y,"disableWarningsSlot",0,m,"warnOnImproperCacheImplementation",0,function(){g||(g=!0,!1!==globalThis.__DEV__&&d.invariant.warn(52))}],90056)},79031,8285,7928,25975,e=>{"use strict";var t=e.i(90571);e.i(71258);var r=e.i(87081),n=e.i(69981),i=e.i(94635),a=e.i(42418),o=e.i(86713),s=e.i(82562),u=e.i(61518),c=e.i(49987),l=e.i(58350),f=e.i(1513),h=e.i(7656),p=e.i(99799),d=e.i(45938),v=e.i(23595),y=e.i(75739),m=e.i(53949),g=e.i(19983),b=e.i(75428),_=e.i(21110),w=e.i(79506),O=e.i(7799),k=e.i(39276),S=e.i(87084),E=e.i(40059),D=e.i(34049),R=e.i(72243),F=e.i(85809),T=e.i(90056),N=e.i(76846);function x(e,t,n){return T.disableWarningsSlot.withValue(!0,function(){var i=function e(t,n,i,a,s){var u,c=i.knownChanged,l=function(e,t){if(t.has(e))return t.get(e);var r=Array.isArray(e)?[]:Object.create(null);return t.set(e,r),r}(t,i.mutableTargets);if(Array.isArray(t)){for(var f=0,h=Array.from(t.entries());f<h.length;f++){var p=h[f],d=p[0],v=p[1];if(null===v){l[d]=null;continue}var y=e(v,n,i,a,!1!==globalThis.__DEV__?"".concat(s||"","[").concat(d,"]"):void 0);c.has(y)&&c.add(l),l[d]=y}return c.has(l)?l:t}for(var g=0,b=n.selections;g<b.length;g++){var _=b[g],w=void 0;if(a&&c.add(l),_.kind===F.Kind.FIELD){var O=(0,m.resultKeyNameFromField)(_),k=_.selectionSet;if(void 0===(w=l[O]||t[O]))continue;if(k&&null!==w){var y=e(t[O],k,i,a,!1!==globalThis.__DEV__?"".concat(s||"",".").concat(O):void 0);c.has(y)&&(w=y)}!1===globalThis.__DEV__&&(l[O]=w),!1!==globalThis.__DEV__&&(!a||"__typename"===O||(null==(u=Object.getOwnPropertyDescriptor(l,O))?void 0:u.value)?(delete l[O],l[O]=w):Object.defineProperty(l,O,function(e,t,n,i,a){var o=function(){return T.disableWarningsSlot.getValue()||(!1!==globalThis.__DEV__&&r.invariant.warn(48,i?"".concat(a," '").concat(i,"'"):"anonymous ".concat(a),"".concat(n,".").concat(e).replace(/^\./,"")),o=function(){return t}),t};return{get:function(){return o()},set:function(e){o=function(){return e}},enumerable:!0,configurable:!0}}(O,w,s||"",i.operationName,i.operationType)))}if(_.kind===F.Kind.INLINE_FRAGMENT&&(!_.typeCondition||i.cache.fragmentMatches(_,t.__typename))&&(w=e(t,_.
1selectionSet,i,a,s)),_.kind===F.Kind.FRAGMENT_SPREAD){var S=_.name.value,E=i.fragmentMap[S]||(i.fragmentMap[S]=i.cache.lookupFragment(S));(0,r.invariant)(E,47,S);var D=(0,o.getFragmentMaskMode)(_);"mask"!==D&&(w=e(t,E.selectionSet,i,"migrate"===D,s))}c.has(w)&&c.add(l)}return"__typename"in t&&!("__typename"in l)&&(l.__typename=t.__typename),Object.keys(l).length!==Object.keys(t).length&&c.add(l),c.has(l)?l:t}(e,t,n,!1);return Object.isFrozen(e)&&(0,N.maybeDeepFreeze)(i),i})}function I(e,t,i,a){if(!i.fragmentMatches)return!1!==globalThis.__DEV__&&(0,T.warnOnImproperCacheImplementation)(),e;var o=t.definitions.filter(function(e){return e.kind===F.Kind.FRAGMENT_DEFINITION});void 0===a&&((0,r.invariant)(1===o.length,49,o.length),a=o[0].name.value);var s=o.find(function(e){return e.name.value===a});return((0,r.invariant)(!!s,50,a),null==e||(0,n.default)(e,{}))?e:x(e,s.selectionSet,{operationType:"fragment",operationName:s.name.value,fragmentMap:(0,u.createFragmentMap)((0,l.getFragmentDefinitions)(t)),cache:i,mutableTargets:new T.MapImpl,knownChanged:new T.SetImpl})}e.s(["maskFragment",0,I],8285);var M=Object.prototype.hasOwnProperty,q=Object.create(null),C=function(){function e(e){var t=this;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new D.AutoCleanedWeakCache(R.cacheSizes["queryManager.getDocumentInfo"]||2e3),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new E.Trie(!1),this.noCacheWarningsByQueryId=new Set;var r=new b.DocumentTransform(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=e.cache,this.link=e.link,this.defaultOptions=e.defaultOptions,this.queryDeduplication=e.queryDeduplication,this.clientAwareness=e.clientAwareness,this.localState=e.localState,this.ssrMode=e.ssrMode,this.assumeImmutableResults=e.assumeImmutableResults,this.dataMasking=e.dataMasking;var n=e.documentTransform;this.documentTransform=n?r.concat(n).concat(r):r,this.defaultContext=e.defaultContext||Object.create(null),(this.onBroadcast=e.onBroadcast)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,r){e.stopQueryNoBroadcast(r)}),this.cancelPendingFetches((0,r.newInvariantError)(27))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){return(0,t.__awaiter)(this,arguments,void 0,function(e){var n,i,a,o,s,u,c,l=e.mutation,h=e.variables,d=e.optimisticResponse,v=e.updateQueries,y=e.refetchQueries,m=void 0===y?[]:y,g=e.awaitRefetchQueries,b=void 0!==g&&g,w=e.update,O=e.onQueryUpdated,k=e.fetchPolicy,S=void 0===k?(null==(u=this.defaultOptions.mutate)?void 0:u.fetchPolicy)||"network-only":k,E=e.errorPolicy,D=void 0===E?(null==(c=this.defaultOptions.mutate)?void 0:c.errorPolicy)||"none":E,R=e.keepRootFields,F=e.context;return(0,t.__generator)(this,function(e){switch(e.label){case 0:if((0,r.invariant)(l,28),(0,r.invariant)("network-only"===S||"no-cache"===S,29),n=this.generateMutationId(),l=this.cache.transformForLink(this.transform(l)),i=this.getDocumentInfo(l).hasClientExports,h=this.getVariables(l,h),!i)return[3,2];return[4,this.localState.addExportedVariables(l,h,F)];case 1:h=e.sent(),e.label=2;case 2:return a=this.mutationStore&&(this.mutationStore[n]={mutation:l,variables:h,loading:!0,error:null}),o=d&&this.markMutationOptimistic(d,{mutationId:n,document:l,variables:h,fetchPolicy:S,errorPolicy:D,context:F,updateQueries:v,update:w,keepRootFields:R}),this.broadcastQueries(),s=this,[2,new Promise(function(e,r){return(0,p.asyncMap)(s.getObservableFromLink(l,(0,t.__assign)((0,t.__assign)({},F),{optimisticResponse:o?d:void 0}),h,{},!1),function(e){if((0,f.graphQLResultHasError)(e)&&"none"===D)throw new _.ApolloError({graphQLErrors:(0,f.getGraphQLErrorsFromResult)(e)});a&&(a.loading=!1,a.error=null);var r=(0,t.__assign)({},e);return"function"==typeof m&&(m=m(r)),"ignore"===D&&(0,f.graphQLResultHasError)(r)&&delete r.errors,s.markMutationResult({mutationId:n,result:r,document:l,variables:h,fetchPolicy:S,errorPolicy:D,context:F,update:w,updateQueries:v,awaitRefetchQueries:b,refetchQueries:m,removeOptimistic:o?n:void 0,onQueryUpdated:O,keepRootFields:R})}).subscribe({next:function(r){s.broadcastQueries(),"hasNext"in r&&!1!==r.hasNext||e((0,t.__assign)((0,t.__assign)({},r),{data:s.maskOperation({document:l,data:r.data,fetchPolicy:S,id:n})}))},error:function(e){a&&(a.loading=!1,a.error=e),o&&s.cache.removeOptimistic(n),s.broadcastQueries(),r(e instanceof _.ApolloError?e:new _.ApolloError({networkError:e}))}})})]}})})},e.prototype.markMutationResult=function(e,r){var n=this;void 0===r&&(r=this.cache);var i=e.result,a=[],o="no-cache"===e.fetchPolicy;if(!o&&(0,k.shouldWriteResult)(i,e.errorPolicy)){if((0,s.isExecutionPatchIncrementalResult)(i)||a.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,s.isExecutionPatchIncrementalResult)(i)&&(0,d.isNonEmptyArray)(i.incremental)){var u=r.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),c=void 0;u.result&&(c=(0,s.mergeIncrementalData)(u.result,i)),void 0!==c&&(i.data=c,a.push({result:c,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var f=e.updateQueries;f&&this.queries.forEach(function(e,t){var o=e.observableQuery,s=o&&o.queryName;if(s&&M.call(f,s)){var u=f[s],c=n.queries.get(t),h=c.document,p=c.variables,d=r.diff({query:h,variables:p,returnPartialData:!0,optimistic:!1}),v=d.result;if(d.complete&&v){var y=u(v,{mutationResult:i,queryName:h&&(0,l.getOperationName)(h)||void 0,queryVariables:p});y&&a.push({result:y,dataId:"ROOT_QUERY",query:h,variables:p})}}})}if(a.length>0||(e.refetchQueries||"").length>0||e.update||e.onQueryUpdated||e.removeOptimistic){var h=[];if(this.refetchQueries({updateCache:function(r){o||a.forEach(function(e){return r.write(e)});var u=e.update,c=!(0,s.isExecutionPatchResult)(i)||(0,s.isExecutionPatchIncrementalResult)(i)&&!i.hasNext;if(u){if(!o){var l=r.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});l.complete&&("incremental"in(i=(0,t.__assign)((0,t.__assign)({},i),{data:l.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}c&&u(r,i,{context:e.context,variables:e.variables})}o||e.keepRootFields||!c||r.modify({id:"ROOT_MUTATION",fields:function(e,t){var r=t.fieldName,n=t.DELETE;return"__typename"===r?e:n}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return h.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(h).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,n){var i=this,a="function"==typeof e?e(n.variables,{IGNORE:q}):e;return a!==q&&(this.cache.recordOptimisticTransaction(function(e){try{i.markMutationResult((0,t.__assign)((0,t.__assign)({},n),{result:{data:a}}),e)}catch(e){!1!==globalThis.__DEV__&&r.invariant.error(e)}},n.mutationId),!0)},e.prototype.fetchQuery=function(e,t,r){return this.fetchConcastWithInfo(this.getOrCreateQuery(e),t,r).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,r){e[r]={variables:t.variables,networkStatus:t.networkStatus,networkError:t.networkError,graphQLErrors:t.graphQLErrors}}),e},e.prototype.resetErrors=function(e){var t=this.queries.get(e);t&&(t.networkError=void 0,t.graphQLErrors=[])},e.prototype.transform=function(e){return this.documentTransform.transformDocument(e)},e.prototype.getDocumentInfo=function(e){var r=this.transformCache;if(!r.has(e)){var n={hasClientExports:(0,o.hasClientExports)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,o.hasDirectives)(["nonreactive"],e),nonReactiveQuery:(0,a.addNonReactiveToNamedFragments)(e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,a.removeDirectivesFromDocument)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"},{name:"unmask"}],e),defaultVars:(0,l.getDefaultValues)((0,l.getOperationDefinition)(e)),asQuery:(0,t.__assign)((0,t.__assign)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,t.__assign)((0,t.__assign)({},e),{operation:"query"}):e})})};r.set(e,n)}return r.get(e)},e.prototype.getVariables=function(e,r){return(0,t.__assign)((0,t.__assign)({},this.getDocumentInfo(e).defaultVars),r)},e.prototype.watchQuery=function(e){var r=this.transform(e.query);void 0===(e=(0,t.__assign)((0,t.__assign)({},e),{variables:this.getVariables(r,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new k.QueryInfo(this),i=new w.ObservableQuery({queryManager:this,queryInfo:n,options:e});return i.lastQuery=r,w.ObservableQuery.inactiveOnCreation.getValue()||this.queries.set(i.queryId,n),n.init({document:r,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,n){var i=this;void 0===n&&(n=this.generateQueryId()),(0,r.invariant)(e.query,30),(0,r.invariant)("Document"===e.query.kind,31),(0,r.invariant)(!e.returnPartialData,32),(0,r.invariant)(!e.pollInterval,33);var a=this.transform(e.query);return this.fetchQuery(n,(0,t.__assign)((0,t.__assign)({},e),{query:a})).then(function(r){return r&&(0,t.__assign)((0,t.__assign)({},r),{data:i.maskOperation({document:a,data:r.data,fetchPolicy:e.fetchPolicy,id:n})})}).finally(function(){return i.stopQuery(n)})},e.prototype.generateQueryId=function(){return String(this.queryIdCounter++)},e.prototype.generateRequestId=function(){return this.requestIdCounter++},e.prototype.generateMutationId=function(){return String(this.mutationIdCounter++)},e.prototype.stopQueryInStore=function(e){this.stopQueryInStoreNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryInStoreNoBroadcast=function(e){var t=this.queries.get(e);t&&t.stop()},e.prototype.clearStore=function(e){return void 0===e&&(e={discardWatches:!0}),this.cancelPendingFetches((0,r.newInvariantError)(34)),this.queries.forEac
1h(function(e){e.observableQuery?e.networkStatus=O.NetworkStatus.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var n=this;void 0===e&&(e="active");var i=new Map,a=new Map,o=new Map,s=new Set;return Array.isArray(e)&&e.forEach(function(e){if("string"==typeof e)a.set(e,e),o.set(e,!1);else if((0,m.isDocumentNode)(e)){var t=(0,S.print)(n.transform(e));a.set(t,(0,l.getOperationName)(e)),o.set(t,!1)}else(0,g.isNonNullObject)(e)&&e.query&&s.add(e)}),this.queries.forEach(function(t,r){var n=t.observableQuery,a=t.document;if(n){if("all"===e)return void i.set(r,n);var s=n.queryName;if("standby"===n.options.fetchPolicy||"active"===e&&!n.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has((0,S.print)(a)))&&(i.set(r,n),s&&o.set(s,!0),a&&o.set((0,S.print)(a),!0))}}),s.size&&s.forEach(function(e){var a=(0,y.makeUniqueId)("legacyOneTimeQuery"),o=n.getOrCreateQuery(a).init({document:e.query,variables:e.variables}),s=new w.ObservableQuery({queryManager:n,queryInfo:o,options:(0,t.__assign)((0,t.__assign)({},e),{fetchPolicy:"network-only"})});(0,r.invariant)(s.queryId===a),o.setObservableQuery(s),i.set(a,s)}),!1!==globalThis.__DEV__&&o.size&&o.forEach(function(e,t){if(!e){var n=a.get(t);n?!1!==globalThis.__DEV__&&r.invariant.warn(35,n):!1!==globalThis.__DEV__&&r.invariant.warn(36)}}),i},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var r=[];return this.getObservableQueries(e?"all":"active").forEach(function(n,i){var a=n.options.fetchPolicy;n.resetLastResults(),(e||"standby"!==a&&"cache-only"!==a)&&r.push(n.refetch()),(t.queries.get(i)||n.queryInfo).setDiff(null)}),this.broadcastQueries(),Promise.all(r)},e.prototype.startGraphQLSubscription=function(e){var t=this,r=e.query,n=e.variables,i=e.fetchPolicy,a=e.errorPolicy,o=void 0===a?"none":a,s=e.context,u=void 0===s?{}:s,c=e.extensions,l=void 0===c?{}:c;r=this.transform(r),n=this.getVariables(r,n);var p=function(e){return t.getObservableFromLink(r,u,e,l).map(function(n){"no-cache"!==i&&((0,k.shouldWriteResult)(n,o)&&t.cache.write({query:r,result:n.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=(0,f.graphQLResultHasError)(n),s=(0,_.graphQLResultHasProtocolErrors)(n);if(a||s){var u={};if(a&&(u.graphQLErrors=n.errors),s&&(u.protocolErrors=n.extensions[_.PROTOCOL_ERRORS_SYMBOL]),"none"===o||s)throw new _.ApolloError(u)}return"ignore"===o&&delete n.errors,n})};if(this.getDocumentInfo(r).hasClientExports){var d=this.localState.addExportedVariables(r,n,u).then(p);return new h.Observable(function(e){var t=null;return d.then(function(r){return t=r.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return p(n)},e.prototype.stopQuery=function(e){this.stopQueryNoBroadcast(e),this.broadcastQueries()},e.prototype.stopQueryNoBroadcast=function(e){this.stopQueryInStoreNoBroadcast(e),this.removeQuery(e)},e.prototype.removeQuery=function(e){var t;this.fetchCancelFns.delete(e),this.queries.has(e)&&(null==(t=this.queries.get(e))||t.stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){var t;return null==(t=e.observableQuery)?void 0:t.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,r,n,a,o){var s,u,f=this;void 0===o&&(o=null!=(s=null==r?void 0:r.queryDeduplication)?s:this.queryDeduplication);var d=this.getDocumentInfo(e),y=d.serverQuery,m=d.clientQuery;if(y){var g=this.inFlightLinkObservables,b=this.link,_={query:y,variables:n,operationName:(0,l.getOperationName)(y)||void 0,context:this.prepareContext((0,t.__assign)((0,t.__assign)({},r),{forceFetch:!o})),extensions:a};if(r=_.context,o){var w=(0,S.print)(y),O=(0,c.canonicalStringify)(n),k=g.lookup(w,O);if(!(u=k.observable)){var E=new v.Concast([(0,i.execute)(b,_)]);u=k.observable=E,E.beforeNext(function e(t,r){"next"===t&&"hasNext"in r&&r.hasNext?E.beforeNext(e):g.remove(w,O)})}}else u=new v.Concast([(0,i.execute)(b,_)])}else u=new v.Concast([h.Observable.of({data:{}})]),r=this.prepareContext(r);return m&&(u=(0,p.asyncMap)(u,function(e){return f.localState.runResolvers({document:m,remoteResult:e,context:r,variables:n})})),u},e.prototype.getResultsFromLink=function(e,t,r){var n=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(r.query);return(0,p.asyncMap)(this.getObservableFromLink(i,r.context,r.variables),function(a){var o=(0,f.getGraphQLErrorsFromResult)(a),s=o.length>0,u=r.errorPolicy;if(n>
1=e.lastRequestId){if(s&&"none"===u)throw e.markError(new _.ApolloError({graphQLErrors:o}));e.markResult(a,i,r,t),e.markReady()}var c={data:a.data,loading:!1,networkStatus:O.NetworkStatus.ready};return s&&"none"===u&&(c.data=void 0),s&&"ignore"!==u&&(c.errors=o,c.networkStatus=O.NetworkStatus.error),c},function(t){var r=(0,_.isApolloError)(t)?t:new _.ApolloError({networkError:t});throw n>=e.lastRequestId&&e.markError(r),r})},e.prototype.fetchConcastWithInfo=function(e,t,r,n){var i,a,o=this;void 0===r&&(r=O.NetworkStatus.loading),void 0===n&&(n=t.query);var s=this.getVariables(n,t.variables),u=this.defaultOptions.watchQuery,c=t.fetchPolicy,l=void 0===c?u&&u.fetchPolicy||"cache-first":c,f=t.errorPolicy,h=void 0===f?u&&u.errorPolicy||"none":f,p=t.returnPartialData,d=t.notifyOnNetworkStatusChange,y=t.context,m=Object.assign({},t,{query:n,variables:s,fetchPolicy:l,errorPolicy:h,returnPartialData:void 0!==p&&p,notifyOnNetworkStatusChange:void 0!==d&&d,context:void 0===y?{}:y}),g=function(n){m.variables=n;var i=o.fetchQueryByPolicy(e,m,r);return"standby"!==m.fetchPolicy&&i.sources.length>0&&e.observableQuery&&e.observableQuery.applyNextFetchPolicy("after-fetch",t),i},b=function(){return o.fetchCancelFns.delete(e.queryId)};if(this.fetchCancelFns.set(e.queryId,function(e){b(),setTimeout(function(){return i.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)i=new v.Concast(this.localState.addExportedVariables(m.query,m.variables,m.context).then(g).then(function(e){return e.sources})),a=!0;else{var _=g(m.variables);a=_.fromLink,i=new v.Concast(_.sources)}return i.promise.then(b,b),{concast:i,fromLink:a}},e.prototype.refetchQueries=function(e){var t=this,r=e.updateCache,n=e.include,i=e.optimistic,a=void 0!==i&&i,o=e.removeOptimistic,s=void 0===o?a?(0,y.makeUniqueId)("refetchQueries"):void 0:o,u=e.onQueryUpdated,c=new Map;n&&this.getObservableQueries(n).forEach(function(e,r){c.set(r,{oq:e,lastDiff:(t.queries.get(r)||e.queryInfo).getDiff()})});var l=new Map;return r&&this.cache.batch({update:r,optimistic:a&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,r){var n=e.watcher instanceof k.QueryInfo&&e.watcher.observableQuery;if(n){if(u){c.delete(n.queryId);var i=u(n,t,r);return!0===i&&(i=n.refetch()),!1!==i&&l.set(n,i),i}null!==u&&c.set(n.queryId,{oq:n,lastDiff:r,diff:t})}}}),c.size&&c.forEach(function(e,r){var n,i=e.oq,a=e.lastDiff,o=e.diff;u&&(o||(o=t.cache.diff(i.queryInfo.getDiffOptions())),n=u(i,o,a)),u&&!0!==n||(n=i.refetch()),!1!==n&&l.set(i,n),r.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(r)}),s&&this.cache.removeOptimistic(s),l},e.prototype.maskOperation=function(e){var t,n,i,a=e.document,o=e.data;if(!1!==globalThis.__DEV__){var s=e.fetchPolicy,c=e.id,f=null==(t=(0,l.getOperationDefinition)(a))?void 0:t.operation,h=(null!=(n=null==f?void 0:f[0])?n:"o")+c;!this.dataMasking||"no-cache"!==s||(0,u.isFullyUnmaskedOperation)(a)||this.noCacheWarningsByQueryId.has(h)||(this.noCacheWarningsByQueryId.add(h),!1!==globalThis.__DEV__&&r.invariant.warn(37,null!=(i=(0,l.getOperationName)(a))?i:"Unnamed ".concat(null!=f?f:"operation")))}return this.dataMasking?function(e,t,n){if(!n.fragmentMatches)return!1!==globalThis.__DEV__&&(0,T.warnOnImproperCacheImplementation)(),e;var i,a=(0,l.getOperationDefinition)(t);return((0,r.invariant)(a,51),null==e)?e:x(e,a.selectionSet,{operationType:a.operation,operationName:null==(i=a.name)?void 0:i.value,fragmentMap:(0,u.createFragmentMap)((0,l.getFragmentDefinitions)(t)),cache:n,mutableTargets:new T.MapImpl,knownChanged:new T.SetImpl})}(o,a,this.cache):o},e.prototype.maskFragment=function(e){var t=e.data,r=e.fragment,n=e.fragmentName;return this.dataMasking?I(t,r,this.cache,n):t},e.prototype.fetchQueryByPolicy=function(e,r,i){var a=this,o=r.query,s=r.variables,u=r.fetchPolicy,c=r.refetchWritePolicy,l=r.errorPolicy,f=r.returnPartialData,p=r.context,d=r.notifyOnNetworkStatusChange,v=e.networkStatus;e.init({document:o,variables:s,networkStatus:i});var y=function(){return e.getDiff()},m=function(r,i){void 0===i&&(i=e.networkStatus||O.NetworkStatus.loading);var u=r.result;!1===globalThis.__DEV__||f||(0,n.equal)(u,{})||(0,w.logMissingFieldErrors)(r.missing);var c=function(e){return h.Observable.of((0,t.__assign)({data:e,loading:(0,O.isNetwork
1RequestInFlight)(i),networkStatus:i},r.complete?null:{partial:!0}))};return u&&a.getDocumentInfo(o).hasForcedResolvers?a.localState.runResolvers({document:o,remoteResult:{data:u},context:p,variables:s,onlyRunForcedResolvers:!0}).then(function(e){return c(e.data||void 0)}):"none"===l&&i===O.NetworkStatus.refetch&&Array.isArray(r.missing)?c(void 0):c(u)},g="no-cache"===u?0:i===O.NetworkStatus.refetch&&"merge"!==c?1:2,b=function(){return a.getResultsFromLink(e,g,{query:o,variables:s,context:p,fetchPolicy:u,errorPolicy:l})},_=d&&"number"==typeof v&&v!==i&&(0,O.isNetworkRequestInFlight)(i);switch(u){default:case"cache-first":var k=y();if(k.complete)return{fromLink:!1,sources:[m(k,e.markReady())]};if(f||_)return{fromLink:!0,sources:[m(k),b()]};return{fromLink:!0,sources:[b()]};case"cache-and-network":var k=y();if(k.complete||f||_)return{fromLink:!0,sources:[m(k),b()]};return{fromLink:!0,sources:[b()]};case"cache-only":return{fromLink:!1,sources:[m(y(),e.markReady())]};case"network-only":if(_)return{fromLink:!0,sources:[m(y()),b()]};return{fromLink:!0,sources:[b()]};case"no-cache":if(_)return{fromLink:!0,sources:[m(e.getDiff()),b()]};return{fromLink:!0,sources:[b()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getOrCreateQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new k.QueryInfo(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var r=this.localState.prepareContext(e);return(0,t.__assign)((0,t.__assign)((0,t.__assign)({},this.defaultContext),r),{clientAwareness:this.clientAwareness})},e}();e.s(["QueryManager",0,C],79031);var A=e.i(98943);function j(e){return e.kind===F.Kind.FIELD||e.kind===F.Kind.FRAGMENT_SPREAD||e.kind===F.Kind.INLINE_FRAGMENT}var P=e.i(15511);e.i(95364);var Q=e.i(2693),V=new(e.i(12337)).Slot,L=new WeakMap;function z(e){var t=L.get(e);return t||L.set(e,t={vars:new Set,dep:(0,Q.dep)()}),t}e.s(["cacheSlot",0,V,"forgetCache",0,function(e){z(e).vars.forEach(function(t){return t.forgetCache(e)})},"makeVar",0,function(e){var t=new Set,r=new Set,n=function(a){if(arguments.length>0){if(e!==a){e=a,t.forEach(function(e){var t;z(e).dep.dirty(n),(t=e).broadcastWatches&&t.broadcastWatches()});var o=Array.from(r);r.clear(),o.forEach(function(t){return t(e)})}}else{var s=V.getValue();s&&(i(s),z(s).dep(n))}return e};n.onNextChange=function(e){return r.add(e),function(){r.delete(e)}};var i=n.attachCache=function(e){return t.add(e),z(e).vars.add(n),n};return n.forgetCache=function(e){return t.delete(e)},n},"recallCache",0,function(e){z(e).vars.forEach(function(t){return t.attachCache(e)})}],7928);var W=function(){function e(e){var t=e.cache,r=e.client,n=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,r&&(this.client=r),n&&this.addResolvers(n),i&&this.setFragmentMatcher(i)}return e.prototype.addResolvers=function(e){var t=this;this.resolvers=this.resolvers||{},Array.isArray(e)?e.forEach(function(e){t.resolvers=(0,P.mergeDeep)(t.resolvers,e)}):this.resolvers=(0,P.mergeDeep)(this.resolvers,e)},e.prototype.setResolvers=function(e){this.resolvers={},this.addResolvers(e)},e.prototype.getResolvers=function(){return this.resolvers||{}},e.prototype.runResolvers=function(e){return(0,t.__awaiter)(this,arguments,void 0,function(e){var r=e.document,n=e.remoteResult,i=e.context,a=e.variables,o=e.onlyRunForcedResolvers,s=void 0!==o&&o;return(0,t.__generator)(this,function(e){return r?[2,this.resolveDocument(r,n.data,i,a,this.fragmentMatcher,s).then(function(e){return(0,t.__assign)((0,t.__assign)({},n),{data:e.result})})]:[2,n]})})},e.prototype.setFragmentMatcher=function(e){this.fragmentMatcher=e},e.prototype.getFragmentMatcher=function(){return this.fragmentMatcher},e.prototype.clientQuery=function(e){return(0,o.hasDirectives)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,a.removeClientSetsFromDocument)(e)},e.prototype.prepareContext=function(e){var r=this.cache;return(0,t.__assign)((0,t.__assign)({},e),{cache:r,getCacheKey:function(e){return r.identify(e)}})},e.prototype.addExportedVariables=function(e){return(0,t.__awaiter)(this,arguments,void 0,function(e,r,n){return void 0===r&&(r={}),void 0===n&&(n={}),(0,t.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,r)||{},this.prepareContext(n),r).then(function(e){return(0,t.__assign)((0,t.__assign)({},r),e.exportedVariables)})]:[2,(0,t.__assign)({},r)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,A.visit)(e,{Directive:{enter:function(e){if("client"===e.name.value&&e.arguments&&(t=e.arguments.some(function(e){return"always"===e.name.value&&"BooleanValue"===e.value.kind&&!0===e.value.value})))return A.BREAK}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,a.buildQueryFromSelectionSet)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,r){return(0,t.__awaiter)(this,arguments,void 0,function(e,r,n,i,a,o){var s,c,f,h,p,d,v,y,m,g;return void 0===n&&(n={}),void 0===i&&(i={}),void 0===a&&(a=function(){return!0}),void 0===o&&(o=!1),(0,t.__generator)(this,function(b){return s=(0,l.getMainDefinition)(e),c=(0,l.getFragmentDefinitions)(e),f=(0,u.createFragmentMap)(c),h=this.collectSelectionsToResolve(s,f),d=(p=s.operation)?p.charAt(0).toUpperCase()+p.slice(1):"Query",v=this,y=v.cache,m=v.client,g={fragmentMap:f,context:(0,t.__assign)((0,t.__assign)({}
1,n),{cache:y,client:m}),variables:i,fragmentMatcher:a,defaultOperationType:d,exportedVariables:{},selectionsToResolve:h,onlyRunForcedResolvers:o},[2,this.resolveSelectionSet(s.selectionSet,!1,r,g).then(function(e){return{result:e,exportedVariables:g.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,n,i,a){return(0,t.__awaiter)(this,void 0,void 0,function(){var s,u,c,l,f,h=this;return(0,t.__generator)(this,function(p){return s=a.fragmentMap,u=a.context,c=a.variables,l=[i],f=function(e){return(0,t.__awaiter)(h,void 0,void 0,function(){var f,h;return(0,t.__generator)(this,function(t){return(n||a.selectionsToResolve.has(e))&&(0,o.shouldInclude)(e,c)?(0,m.isField)(e)?[2,this.resolveField(e,n,i,a).then(function(t){var r;void 0!==t&&l.push(((r={})[(0,m.resultKeyNameFromField)(e)]=t,r))})]:((0,m.isInlineFragment)(e)?f=e:(f=s[e.name.value],(0,r.invariant)(f,19,e.name.value)),f&&f.typeCondition&&(h=f.typeCondition.name.value,a.fragmentMatcher(i,h,u)))?[2,this.resolveSelectionSet(f.selectionSet,n,i,a).then(function(e){l.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(f)).then(function(){return(0,P.mergeDeepArray)(l)})]})})},e.prototype.resolveField=function(e,r,n,i){return(0,t.__awaiter)(this,void 0,void 0,function(){var a,o,s,u,c,l,f,h,p,d=this;return(0,t.__generator)(this,function(t){return n?(a=i.variables,u=(o=e.name.value)!==(s=(0,m.resultKeyNameFromField)(e)),l=Promise.resolve(c=n[s]||n[o]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=n.__typename||i.defaultOperationType,(h=this.resolvers&&this.resolvers[f])&&(p=h[u?o:s])&&(l=Promise.resolve(V.withValue(this.cache,p,[n,(0,m.argumentsObjectFromField)(e,a),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(t){if(void 0===t&&(t=c),e.directives&&e.directives.forEach(function(e){"export"===e.name.value&&e.arguments&&e.arguments.forEach(function(e){"as"===e.name.value&&"StringValue"===e.value.kind&&(i.exportedVariables[e.value.value]=t)})}),!e.selectionSet||null==t)return t;var n,a,o=null!=(a=null==(n=e.directives)?void 0:n.some(function(e){return"client"===e.name.value}))&&a;return Array.isArray(t)?d.resolveSubSelectedArray(e,r||o,t,i):e.selectionSet?d.resolveSelectionSet(e.selectionSet,r||o,t,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,r,n){var i=this;return Promise.all(r.map(function(r){return null===r?null:Array.isArray(r)?i.resolveSubSelectedArray(e,t,r,n):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,r,n):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},i=this.selectionsToResolveCache;return function e(a){if(!i.has(a)){var o=new Set;i.set(a,o),(0,A.visit)(a,{Directive:function(e,t,r,i,a){"client"===e.name.value&&a.forEach(function(e){n(e)&&j(e)&&o.add(e)})},FragmentSpread:function(i,a,s,u,c){var l=t[i.name.value];(0,r.invariant)(l,20,i.name.value);var f=e(l);f.size>0&&(c.forEach(function(e){n(e)&&j(e)&&o.add(e)}),o.add(i),f.forEach(function(e){o.add(e)}))}})}return i.get(a)}(e)},e}();e.s(["LocalState",0,W],25975)},22226,e=>{"use strict";e.i(47167);var t,r,n=e.i(90571);e.i(71258);var i=e.i(87081),a=e.i(16005),o=e.i(94635),s=e.i(82587),u=e.i(55824),c=e.i(79031),l=e.i(25975),f=e.i(6195),h=e.i(20871),p=!1,d=function(){function e(e){var t,r=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cache)throw(0,i.newInvariantError)(16);var o=e.uri,f=e.credentials,h=e.headers,p=e.cache,d=e.documentTransform,v=e.ssrMode,y=void 0!==v&&v,m=e.ssrForceFetchDelay,g=void 0===m?0:m,b=e.connectToDevTools,_=e.queryDeduplication,w=void 0===_||_,O=e.defaultOptions,k=e.defaultContext,S=e.assumeImmutableResults,E=void 0===S?p.assumeImmutableResults:S,D=e.resolvers,R=e.typeDefs,F=e.fragmentMatcher,T=e.name,N=e.version,x=e.devtools,I=e.dataMasking,M=e.link;M||(M=o?new u.HttpLink({uri:o,credentials:f,headers:h}):a.ApolloLink.empty()),this.link=M,this.cache=p,this.disableNetworkFetches=y||g>0,this.queryDeduplication=w,this.defaultOptions=O||Object.create(null),this.typeDefs=R,this.devtoolsConfig=(0,n.__assign)((0,n.__assign)({},x),{enabled:null!=(t=null==x?void 0:x.enabled)?t:b}),void 0===this.devtoolsConfig.enabled&&(this.devtoolsConfig.enabled=!1!==globalThis.__DEV__),g&&setTimeout(function(){return r.disableNetworkFetches=!1},g),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.watchFragment=this.watchFragment.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.version,this.localState=new l.LocalState({cache:p,client:this,resolvers:D,fragmentMatcher:F}),this.queryManager=new c.QueryManager({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,defaultContext:k,documentTransform:d,queryDeduplication:w,ssrMode:y,dataMasking:!!I,clientAwareness:{name:T,version:N},localState:this.localState,assumeImmutableResults:E,onBroadcast:this.devtoolsConfig.enabled?function(){r.devToolsHookCb&&r.devToolsHookCb({action:{},state:{queries:r.queryManager.getQueryStore(),mutations:r.queryManager.mutationStore||{}},dataWithOptimisticResults:r.cache.extract(!0)})}:void 0}),this.devtoolsConfig.enabled&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("u">typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this,!p&&!1!==globalThis.__DEV__&&(p=!0,window.document&&window.top===window.self&&/^(https?|file):$/.test(window.location.protocol)&&setTimeout(function(){if(!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,r=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?r="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(r="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),r&&!1!==globalThis.__DEV__&&i.invariant.log("Download the Apollo DevTools for a better development experience: %s",r)}},1e4))}},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform}
1,enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,f.mergeOptions)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,n.__assign)((0,n.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,f.mergeOptions)(this.defaultOptions.query,e)),(0,i.invariant)("cache-and-network"!==e.fetchPolicy,17),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,n.__assign)((0,n.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,f.mergeOptions)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){var t=this,r=this.queryManager.generateQueryId();return this.queryManager.startGraphQLSubscription(e).map(function(i){return(0,n.__assign)((0,n.__assign)({},i),{data:t.queryManager.maskOperation({document:e.query,data:i.data,fetchPolicy:e.fetchPolicy,id:r})})})},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,t)},e.prototype.watchFragment=function(e){var t;return this.cache.watchFragment((0,n.__assign)((0,n.__assign)({},e),((t={})[Symbol.for("apollo.dataMasking")]=this.queryManager.dataMasking,t)))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!1),this.cache.readFragment(e,t)},e.prototype.writeQuery=function(e){var t=this.cache.writeQuery(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.writeFragment=function(e){var t=this.cache.writeFragment(e);return!1!==e.broadcast&&this.queryManager.broadcastQueries(),t},e.prototype.__actionHookForDevTools=function(e){this.devToolsHookCb=e},e.prototype.__requestRaw=function(e){return(0,o.execute)(this.link,e)},e.prototype.resetStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!1})}).then(function(){return Promise.all(e.resetStoreCallbacks.map(function(e){return e()}))}).then(function(){return e.reFetchObservableQueries()})},e.prototype.clearStore=function(){var e=this;return Promise.resolve().then(function(){return e.queryManager.clearStore({discardWatches:!0})}).then(function(){return Promise.all(e.clearStoreCallbacks.map(function(e){return e()}))})},e.prototype.onResetStore=function(e){var t=this;return this.resetStoreCallbacks.push(e),function(){t.resetStoreCallbacks=t.resetStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.onClearStore=function(e){var t=this;return this.clearStoreCallbacks.push(e),function(){t.clearStoreCallbacks=t.clearStoreCallbacks.filter(function(t){return t!==e})}},e.prototype.reFetchObservableQueries=function(e){return this.queryManager.reFetchObservableQueries(e)},e.prototype.refetchQueries=function(e){var t=this.queryManager.refetchQueries(e),r=[],n=[];t.forEach(function(e,t){r.push(t),n.push(e)});var a=Promise.all(n);return a.queries=r,a.results=n,a.catch(function(e){!1!==globalThis.__DEV__&&i.invariant.debug(18,e)}),a},e.prototype.getObservableQueries=function(e){return void 0===e&&(e="active"),this.queryManager.getObservableQueries(e)},e.prototype.extract=function(e){return this.cache.extract(e)},e.prototype.restore=function(e){return this.cache.restore(e)},e.prototype.addResolvers=function(e){this.localState.addResolvers(e)},e.prototype.setResolvers=function(e){this.localState.setResolvers(e)},e.prototype.getResolvers=function(){return this.localState.getResolvers()},e.prototype.setLocalStateFragmentMatcher=function(e){this.localState.setFragmentMatcher(e)},e.prototype.setLink=function(e){this.link=this.queryManager.link=e},Object.defineProperty(e.prototype,"defaultContext",{get:function(){return this.queryManager.defaultContext},enumerable:!1,configurable:!0}),e}();!1!==globalThis.__DEV__&&(d.prototype.getMemoryInternals=h.getApolloClientMemoryInternals);var v=e.i(95364),y=e.i(69981),m=e.i(7656),g=e.i(72243),b=e.i(58350),_=e.i(61518),w=e.i(15511),O=e.i(52812),k=e.i(40096),S=e.i(8285),E=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,v.wrap)(_.getFragmentQueryDocument,{max:g.cacheSizes["cac
1he.fragmentQueryDocuments"]||1e3,cache:O.WeakCache})}return e.prototype.lookupFragment=function(e){return null},e.prototype.batch=function(e){var t,r=this,n="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(r)},n),t},e.prototype.recordOptimisticTransaction=function(e,t){this.performTransaction(e,t)},e.prototype.transformDocument=function(e){return e},e.prototype.transformForLink=function(e){return e},e.prototype.identify=function(e){},e.prototype.gc=function(){return[]},e.prototype.modify=function(e){return!1},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.__assign)((0,n.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.watchFragment=function(e){var t,r=this,a=e.fragment,o=e.fragmentName,s=e.from,u=e.optimistic,c=(0,n.__rest)(e,["fragment","fragmentName","from","optimistic"]),l=this.getFragmentDoc(a,o),f=void 0===s||"string"==typeof s?s:this.identify(s),h=!!e[Symbol.for("apollo.dataMasking")];if(!1!==globalThis.__DEV__){var p=o||(0,b.getFragmentDefinition)(a).name.value;f||!1===globalThis.__DEV__||i.invariant.warn(1,p)}var d=(0,n.__assign)((0,n.__assign)({},c),{returnPartialData:!0,id:f,query:l,optimistic:void 0===u||u});return new m.Observable(function(i){return r.watch((0,n.__assign)((0,n.__assign)({},d),{immediate:!0,callback:function(s){var u=h?(0,S.maskFragment)(s.result,a,r,o):s.result;if(!(t&&(0,k.equalByQuery)(l,{data:t.result},{data:u},e.variables))){var c={data:u,complete:!!s.complete};s.missing&&(c.missing=(0,w.mergeDeepArray)(s.missing.map(function(e){return e.missing}))),t=(0,n.__assign)((0,n.__assign)({},s),{result:u}),i.next(c)}}}))})},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,n.__assign)((0,n.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,r=e.data,i=(0,n.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:r}))},e.prototype.writeFragment=function(e){var t=e.id,r=e.data,i=e.fragment,a=e.fragmentName,o=(0,n.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(o,{query:this.getFragmentDoc(i,a),dataId:t,result:r}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(r){var i=r.readQuery(e),a=t(i);return null==a?i:(r.writeQuery((0,n.__assign)((0,n.__assign)({},e),{data:a})),a)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(r){var i=r.readFragment(e),a=t(i);return null==a?i:(r.writeFragment((0,n.__assign)((0,n.__assign)({},e),{data:a})),a)}})},e}();!1!==globalThis.__DEV__&&(E.prototype.getMemoryInternals=h.getApolloCacheMemoryInternals);var D=function(e){function t(r,n,i,a){var o,s=e.call(this,r)||this;if(s.message=r,s.path=n,s.query=i,s.variables=a,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)(o={})[s.path[u]]=s.missing,s.missing=o}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,n.__extends)(t,e),t}(Error),R=e.i(42418),F=e.i(53949),T=e.i(75428),N=e.i(49987),x=e.i(87084),I=e.i(85809),M=e.i(86713),q=e.i(76846),C=e.i(19983),A=e.i(75625),j=e.i(36433),P=e.i(2693),Q=e.i(40059),V=e.i(45938),L=Object.prototype.hasOwnProperty;function z(e){return null==e}function W(e,t){var r=e.__typename,n=e.id,i=e._id;if("string"==typeof r&&(t&&(t.keyObject=z(n)?z(i)?void 0:{_id:i}:{id:n}),z(n)&&!z(i)&&(n=i),!z(n)))return"".concat(r,":").concat("number"==typeof n||"string"==typeof n?n:JSON.stringify(n))}var B={dataIdFromObject:W,addTypename:!0,resultCaching:!0,canonizeResults:!1};function U(e){var t=e.canonizeResults;return void 0===t?B.canonizeResults:t}var K=/^[_a-z][_0-9a-z]*/i;function G(e){var t=e.match(K);return t?t[0]:e}function J(e){return(0,C.isNonNullObject)(e)&&!(0,F.isReference)(e)&&!(0,V.isArray)(e)}function H(e,t){var r=(0,_.createFragmentMap)((0,b.getFragmentDefinitions)(e));return{fragmentMap:r,lookupFragment:function(e){var n=r[e];return!n&&t&&(n=t.lookup(e)),n||null}}}var Y=Object.create(null),$=function(){return Y},X=Object.create(null),Z=function(){function e(e,t){var r=this;this.policies=e,this.group=t,this.data=Object.create(null),this.rootIds=Object.create(null),this.refs=Object.create(null),this.getFieldValue=function(e,t){return(0,q.maybeDeepFreeze)((0,F.isReference)(e)?r.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,F.isReference)(e)?r.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,F.makeReference)(e);if((0,F.isReference)(e))return e;var n=r.policies.identify(e)[0];if(n){var i=(0,F.makeReference)(n);return t&&r.merge(n,e),i}}}return e.prototype.toObject=function(){return(0,n.__assign)({},this.data)},e.prototype.has=function(e){return void 0!==this.lookup(e,!0)},e.prototype.get=function(e,t){if(this.group.depend(e,t),L.call(this.data,e)){var r=this.data[e];if(r&&L.call(r,t))return r[t]}return"__typename"===t&&L.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof er?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),L.call(this.data,e))?this.data[e]:this instanceof er?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var r,n=this;(0,F.isReference)(e)&&(e=e.__ref),(0,F.isReference)(t)&&(t=t.__ref);
1var a="string"==typeof e?this.lookup(r=e):e,o="string"==typeof t?this.lookup(r=t):t;if(o){(0,i.invariant)("string"==typeof r,2);var s=new w.DeepMerger(ei).merge(a,o);if(this.data[r]=s,s!==a&&(delete this.refs[r],this.group.caching)){var u=Object.create(null);a||(u.__exists=1),Object.keys(o).forEach(function(e){if(!a||a[e]!==s[e]){u[e]=1;var t=G(e);t===e||n.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||n instanceof er||delete s[e]}}),u.__typename&&!(a&&a.__typename)&&this.policies.rootTypenamesById[r]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return n.group.dirty(r,e)})}}},e.prototype.modify=function(e,t){var r=this,a=this.lookup(e);if(a){var o=Object.create(null),s=!1,u=!0,c={DELETE:Y,INVALIDATE:X,isReference:F.isReference,toReference:this.toReference,canRead:this.canRead,readField:function(t,n){return r.policies.readField("string"==typeof t?{fieldName:t,from:n||(0,F.makeReference)(e)}:t,{store:r})}};if(Object.keys(a).forEach(function(l){var f=G(l),h=a[l];if(void 0!==h){var p="function"==typeof t?t:t[l]||t[f];if(p){var d=p===$?Y:p((0,q.maybeDeepFreeze)(h),(0,n.__assign)((0,n.__assign)({},c),{fieldName:f,storeFieldName:l,storage:r.getStorage(e,l)}));if(d===X)r.group.dirty(e,l);else if(d===Y&&(d=void 0),d!==h&&(o[l]=d,s=!0,h=d,!1!==globalThis.__DEV__)){var v=function(e){if(void 0===r.lookup(e.__ref))return!1!==globalThis.__DEV__&&i.invariant.warn(3,e),!0};if((0,F.isReference)(d))v(d);else if(Array.isArray(d))for(var y=!1,m=void 0,g=0,b=d;g<b.length;g++){var _=b[g];if((0,F.isReference)(_)){if(y=!0,v(_))break}else"object"==typeof _&&_&&r.policies.identify(_)[0]&&(m=_);if(y&&void 0!==m){!1!==globalThis.__DEV__&&i.invariant.warn(4,m);break}}}}void 0!==h&&(u=!1)}}),s)return this.merge(e,o),u&&(this instanceof er?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,r){var n,i=this.lookup(e);if(i){var a=this.getFieldValue(i,"__typename"),o=t&&r?this.policies.getStoreFieldName({typename:a,fieldName:t,args:r}):t;return this.modify(e,o?((n={})[o]=$,n):$)}return!1},e.prototype.evict=function(e,t){var r=!1;return e.id&&(L.call(this.data,e.id)&&(r=this.delete(e.id,e.fieldName,e.args)),this instanceof er&&this!==t&&(r=this.parent.evict(e,t)||r),(e.fieldName||r)&&this.group.dirty(e.id,e.fieldName||"__exists")),r},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),r=[];return this.getRootIdSet().forEach(function(t){L.call(e.policies.rootTypenamesById,t)||r.push(t)}),r.length&&(t.__META={extraRootIds:r.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(r){e&&L.call(e,r)||t.delete(r)}),e){var r=e.__META,i=(0,n.__rest)(e,["__META"]);
1Object.keys(i).forEach(function(e){t.merge(e,i[e])}),r&&r.extraRootIds.forEach(this.retain,this)}},e.prototype.retain=function(e){return this.rootIds[e]=(this.rootIds[e]||0)+1},e.prototype.release=function(e){if(this.rootIds[e]>0){var t=--this.rootIds[e];return t||delete this.rootIds[e],t}return 0},e.prototype.getRootIdSet=function(e){return void 0===e&&(e=new Set),Object.keys(this.rootIds).forEach(e.add,e),this instanceof er?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),r=this.toObject();t.forEach(function(n){L.call(r,n)&&(Object.keys(e.findChildRefIds(n)).forEach(t.add,t),delete r[n])});var n=Object.keys(r);if(n.length){for(var i=this;i instanceof er;)i=i.parent;n.forEach(function(e){return i.delete(e)})}return n},e.prototype.findChildRefIds=function(e){if(!L.call(this.refs,e)){var t=this.refs[e]=Object.create(null),r=this.data[e];if(!r)return t;var n=new Set([r]);n.forEach(function(e){(0,F.isReference)(e)&&(t[e.__ref]=!0),(0,C.isNonNullObject)(e)&&Object.keys(e).forEach(function(t){var r=e[t];(0,C.isNonNullObject)(r)&&n.add(r)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),ee=function(){function e(e,t){void 0===t&&(t=null),this.caching=e,this.parent=t,this.d=null,this.resetCaching()}return e.prototype.resetCaching=function(){this.d=this.caching?(0,P.dep)():null,this.keyMaker=new Q.Trie(A.canUseWeakMap)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var r=G(t);r!==t&&this.d(r+"#"+e),this.parent&&this.parent.depend(e,t)}},e.prototype.dirty=function(e,t){this.d&&this.d.dirty(t+"#"+e,"__exists"===t?"forget":"setDirty")},e}();function et(e,t){ea(e)&&e.group.depend(t,"__exists")}r=function(e){function t(t){var r=t.policies,n=t.resultCaching,i=t.seed,a=e.call(this,r,new ee(void 0===n||n))||this;return a.stump=new en(a),a.storageTrie=new Q.Trie(A.canUseWeakMap),i&&a.replace(i),a}return(0,n.__extends)(t,e),t.prototype.addLayer=function(e,t){return this.stump.addLayer(e,t)},t.prototype.removeLayer=function(){return this},t.prototype.getStorage=function(){return this.storageTrie.lookupArray(arguments)},t}(t=Z||(Z={})),t.Root=r;var er=function(e){function t(t,r,n,i){var a=e.call(this,r.policies,i)||this;return a.id=t,a.parent=r,a.replay=n,a.group=i,n(a),a}return(0,n.__extends)(t,e),t.prototype.addLayer=function(e,r){return new t(e,this,r,this.group)},t.prototype.removeLayer=function(e){var t=this,r=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var n=t.data[e],i=r.lookup(e);i?n?n!==i&&Object.keys(n).forEach(function(r){(0,y.equal)(n[r],i[r])||t.group.dirty(e,r)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(r){t.group.dirty(e,r)})):t.delete(e)}),r):r===this.parent?this:r.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,n.__assign)((0,n.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var r=this.parent.findChildRefIds(t);return L.call(this.data,t)?(0,n.__assign)((0,n.__assign)({},r),e.prototype.findChildRefIds.call(this,t)):r},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(Z),en=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new ee(t.group.caching,t.group))||this}return(0,n.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(e,t){return this.parent.merge(e,t)},t}(er);function ei(e,t,r){var n=e[r],i=t[r];return(0,y.equal)(n,i)?n:i}function ea(e){return!!(e instanceof Z&&e.group.caching)}var eo=function(){function e(){this.known=new(A.canUseWeakSet?WeakSet:Set),this.pool=new Q.Trie(A.canUseWeakMap),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,C.isNonNullObject)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,C.isNonNullObject)(e)){var t=(0,C.isNonNullObject)(e)?(0,V.isArray)(e)?e.slice(0):(0,n.__assign)({__proto__:Object.getPrototypeOf(e)},e):e;return this.passes.set(t,e),t}return e},e.prototype.admit=function(e){var t=this;if((0,C.isNonNullObject)(e)){var r=this.passes.get(e);if(r)return r;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var n=e.map(this.admit,this),i=this.pool.lookupArray(n);return i.array||(this.known.add(i.array=n),!1!==globalThis.__DEV__&&Object.freeze(n)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var a=Object.getPrototypeOf(e),o=[a],s=this.sortedKeys(e);o.push(s.json);var u=o.length;s.sorted.forEach(function(r){o.push(t.admit(e[r]))});var i=this.pool.lookupArray(o);if(!i.object){var c=i.object=Object.create(a);this.known.add(c),s.sorted.forEach(function(e,t){c[e]=o[u+t]}),!1!==globalThis.__DEV__&&Object.freeze(c)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),r=this.pool.lookupArray(t);if(!r.keys){t.sort();var n=JSON.stringify(t);(r.keys=this.keysByJSON.get(n))||this.keysByJSON.set(n,r.keys={sorted:t,json:n})}return r.keys},e}();function es(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var eu=function(){function e(e){var t=this;this.knownResults=new(A.canUseWeakMap?WeakMap:Map),this.config=(0,j.compact)(e,{addTypename:!1!==e.addTypename,canonizeResults:U(e)}),this.canon=e.canon||new eo,this.executeSelectionSet=(0,v.wrap)(function(e){var r,i=e.context.canonizeResults,a=es(e);a[3]=!i;var o=(r=t.executeSelectionSet).peek.apply(r,a);return o?i?(0,n.__assign)((0,n.__assign)({},o),{result:t.canon.admit(o.result)}):o:(et(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize||g.cacheSizes["inMemoryCache.executeSelectionSet"]||5e4,keyArgs:es,makeCacheKey:function(e,t,r,n){if(ea(r.store))return r.store.makeCacheKey(e,(0,F.isReference)(t)?t.__ref:t,r.varString,n)}}),this.executeSubSelectedArray=(0,v.wrap)(function(e){return et(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize||g.cacheSizes["inMemoryCache.executeSubSelectedArray"]||1e4,makeCacheKey:function(e){var t=e.field,r=e.array,n=e.context;if(ea(n.store))return n.store.makeCacheKey(t,r,n.varString)}})}return e.prototype.resetCanon=function(){this.canon=new eo},e.prototype.diffQueryAgainstStore=function(e){var t,r=e.store,i=e.query,a=e.rootId,o=e.variables,s=e.returnPartialData,u=e.canonizeResults,c=void 0===u?this.config.canonizeResults:u,l=this.config.cache.policies;o=(0,n.__assign)((0,n.__assign)({},(0,b.getDefaultValues)((0,b.getQueryDefinition)(i))),o);var f=(0,F.makeReference)(void 0===a?"ROOT_QUERY":a),h=this.executeSelectionSet({selectionSet:(0,b.getMainDefinition)(i).selectionSet,objectOrReference:f,enclosingRef:f,context:(0,n.__assign)({store:r,query:i,policies:l,variables:o,varString:(0,N.canonicalStringify)(o),canonizeResults:c},H(i,this.config.fragments))});if(h.missing&&(t=[new D(function(e){try{JSON.stringify(e,function(e,t){if("string"==typeof t)throw t;return t})}catch(e){return e}}(h.missing),h.missing,i,o)],!(void 0===s||s)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,r,n){if(ea(n.store)&&this.knownResults.get(e)===r){var i=this.executeSelectionSet.peek(r,t,n,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,r=this,n=e.selectionSet,a=e.objectOrReference,o=e.enclosingRef,s=e.context;if((0,F.isReference)(a)&&!s.policies.rootTypenamesById[a.__ref]&&!s.store.has(a.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(a.__ref," object")};var u=s.variables,c=s.policies,l=s.store.getFieldValue(a,"__typename"),f=[],h=new w.DeepMerger;function p(e,r){var n;return e.missing&&(t=h.merge(t,((n={})[r]=e.missing,n))),e.result}this.config.addTypename&&"string"==typeof l&&!c.rootIdsByTypename[l]&&f.push({__typename:l});var d=new Set(n.selections);d.forEach(function(e){var n,v;if((0,M.shouldInclude)(e,u))if((0,F.isField)(e)){var y=c.readField({fieldName:e.n
1ame.value,field:e,variables:s.variables,from:a},s),m=(0,F.resultKeyNameFromField)(e);void 0===y?R.addTypenameToDocument.added(e)||(t=h.merge(t,((n={})[m]="Can't find field '".concat(e.name.value,"' on ").concat((0,F.isReference)(a)?a.__ref+" object":"object "+JSON.stringify(a,null,2)),n))):(0,V.isArray)(y)?y.length>0&&(y=p(r.executeSubSelectedArray({field:e,array:y,enclosingRef:o,context:s}),m)):e.selectionSet?null!=y&&(y=p(r.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:y,enclosingRef:(0,F.isReference)(y)?y:o,context:s}),m)):s.canonizeResults&&(y=r.canon.pass(y)),void 0!==y&&f.push(((v={})[m]=y,v))}else{var g=(0,_.getFragmentFromSelection)(e,s.lookupFragment);if(!g&&e.kind===I.Kind.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(10,e.name.value);g&&c.fragmentMatches(g,l)&&g.selectionSet.selections.forEach(d.add,d)}});var v={result:(0,w.mergeDeepArray)(f),missing:t},y=s.canonizeResults?this.canon.admit(v):(0,q.maybeDeepFreeze)(v);return y.result&&this.knownResults.set(y.result,n),y},e.prototype.execSubSelectedArrayImpl=function(e){var t,r=this,n=e.field,a=e.array,o=e.enclosingRef,s=e.context,u=new w.DeepMerger;function c(e,r){var n;return e.missing&&(t=u.merge(t,((n={})[r]=e.missing,n))),e.result}return n.selectionSet&&(a=a.filter(s.store.canRead)),a=a.map(function(e,t){return null===e?null:(0,V.isArray)(e)?c(r.executeSubSelectedArray({field:n,array:e,enclosingRef:o,context:s}),t):n.selectionSet?c(r.executeSelectionSet({selectionSet:n.selectionSet,objectOrReference:e,enclosingRef:(0,F.isReference)(e)?e:o,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,r){if(!t.selectionSet){var n=new Set([r]);n.forEach(function(r){(0,C.isNonNullObject)(r)&&((0,i.invariant)(!(0,F.isReference)(r),11,(0,F.isReference)(r)?e.get(r.__ref,"__typename"):r&&r.__typename,t.name.value),Object.values(r).forEach(n.add,n))})}}(s.store,n,e),e)}),{result:s.canonizeResults?this.canon.admit(a):a,missing:t}},e}(),ec=e.i(95077),el=e.i(90690),ef=e.i(7928),eh=Object.create(null);function ep(e){var t=JSON.stringify(e);return eh[t]||(eh[t]=Object.create(null))}function ed(e){var t=ep(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,r){var n=function(e,t){return r.readField(t,e)},a=r.keyObject=ey(e,function(e){var a=eg(r.storeObject,e,n);return void 0===a&&t!==r.storeObject&&L.call(t,e[0])&&(a=eg(t,e,em)),(0,i.invariant)(void 0!==a,5,e.join("."),t),a});return"".concat(r.typename,":").concat(JSON.stringify(a))})}function ev(e){var t=ep(e);return t.keyArgsFn||(t.keyArgsFn=function(t,r){var n=r.field,i=r.variables,a=r.fieldName,o=JSON.stringify(ey(e,function(e){var r=e[0],a=r.charAt(0);if("@"===a){if(n&&(0,V.isNonEmptyArray)(n.directives)){var o=r.slice(1),s=n.directives.find(function(e){return e.name.value===o}),u=s&&(0,F.argumentsObjectFromField)(s,i);return u&&eg(u,e.slice(1))}return}if("$"===a){var c=r.slice(1);if(i&&L.call(i,c)){var l=e.slice(0);return l[0]=c,eg(i,l)}return}if(t)return eg(t,e)}));return(t||"{}"!==o)&&(a+=":"+o),a})}function ey(e,t){var r=new w.DeepMerger;return(function e(t){var r=ep(t);if(!r.paths){var n=r.paths=[],i=[];t.forEach(function(r,a){(0,V.isArray)(r)?(e(r).forEach(function(e){return n.push(i.concat(e))}),i.length=0):(i.push(r),(0,V.isArray)(t[a+1])||(n.push(i.slice(0)),i.length=0))})}return r.paths})(e).reduce(function(e,n){var i,a=t(n);if(void 0!==a){for(var o=n.length-1;o>=0;--o)(i={})[n[o]]=a,a=i;e=r.merge(e,a)}return e},Object.create(null))}function em(e,t){return e[t]}function eg(e,t,r){return r=r||em,function e(t){return(0,C.isNonNullObject)(t)?(0,V.isArray)(t)?t.map(e):ey(Object.keys(t).sort(),function(e){return eg(t,e)}):t}(t.reduce(function e(t,n){return(0,V.isArray)(t)?t.map(function(t){return e(t,n)}):t&&r(t,n)},e))}var eb=e.i(90056);function e_(e){return void 0!==e.args?e.args:e.field?(0,F.argumentsObjectFromField)(e.field,e.variables):null}var ew=function(){},eO=function(e,t){return t.fieldName},ek=function(e,t,r){return(0,r.mergeObjects)(e,t)},eS=function(e,t){return t},eE=function(){function e(e){this.config=e,this.typePolicies=Object.create(null),this.toBeAdded=Object.create(null),this.supertypeMap=new Map,this.fuzzySubtypes=new Map,this.rootIdsByTypename=Object.create(null),this.rootTypenamesById=Object.create(null),this.usingPossibleTypes=!1,this.config=(0,n.__assign)({dataIdFromObject:W},e),this.cache=this.config.cache,this.setRootTypename("Query"),this.setRootTypename("Mutation"),this.setRootTypename("Subscription"),e.possibleTypes&&this.addPossibleTypes(e.possibleTypes),e.typePolicies&&this.addTypePolicies(e.typePolicies)}return e.prototype.identify=function(e,t){var r,i,a=this,o=t&&(t.typename||(null==(r=t.storeObject)?void 0:r.__typename))||e.__typename;if(o===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];var s=t&&t.storeObject||e,u=(0,n.__assign)((0,n.__assign)({},t),{typename:o,storeObject:s,readField:t&&t.readField||function(){var e=eR(arguments,s);return a.readField(e,{store:a.cache.data,variables:e.variables})}}),c=o&&this.getTypePolicy(o),l=c&&c.keyFn||this.config.dataIdFromObject;return eb.disableWarningsSlot.withValue(!0,function(){for(;l;){var t=l((0,n.__assign)((0,n.__assign)({},e),s),u);if((0,V.isArray)(t))l=ed(t);else{i=t;break}}}),i=i?String(i):void 0,u.keyObject?[i,u.keyObject]:[i]},e.prototype.addTypePolicies=function(e){var t=this;Object.keys(e).forEach(function(r){var i=e[r],a=i.queryType,o=i.mutationType,s=i.subscriptionType,u=(0,n.__rest)(i,["queryType","mutationType","subscriptionType"]);a&&t.setRootTypename("Query",r),o&&t.setRootTypename("Mutation",r),s&&t.setRootTypename("Subscription",r),L.call(t.toBeAdded,r)?t.toBeAdded[r].push(u):t.toBeAdded[r]=[u]})},e.prototype.updateTypePolicy=function(e,t){var r=this,n=this.getTypePolicy(e),i=t.keyFields,a=t.fields;function o(e,t){e.merge="function"==typeof t?t:!0===t?ek:!1===t?eS:e.merge}o(n,t.merge),n.keyFn=!1===i?ew:(0,V.isArray)(i)?ed(i):"function"==typeof i?i:n.keyFn,a&&Object.keys(a).forEac
1h(function(t){var n=r.getFieldPolicy(e,t,!0),i=a[t];if("function"==typeof i)n.read=i;else{var s=i.keyArgs,u=i.read,c=i.merge;n.keyFn=!1===s?eO:(0,V.isArray)(s)?ev(s):"function"==typeof s?s:n.keyFn,"function"==typeof u&&(n.read=u),o(n,c)}n.read&&n.merge&&(n.keyFn=n.keyFn||eO)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var r="ROOT_"+e.toUpperCase(),n=this.rootTypenamesById[r];t!==n&&((0,i.invariant)(!n||n===e,6,e),n&&delete this.rootIdsByTypename[n],this.rootIdsByTypename[t]=r,this.rootTypenamesById[r]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(r){t.getSupertypeSet(r,!0),e[r].forEach(function(e){t.getSupertypeSet(e,!0).add(r);var n=e.match(K);n&&n[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!L.call(this.typePolicies,e)){var r=this.typePolicies[e]=Object.create(null);r.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(r,n){if(r.test(e)){var a=t.supertypeMap.get(n);a&&a.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),a=i.fields;Object.assign(r,(0,n.__rest)(i,["fields"])),Object.assign(r.fields,a)})}var a=this.toBeAdded[e];return a&&a.length&&a.splice(0).forEach(function(r){t.updateTypePolicy(e,r)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,r){if(e){var n=this.getTypePolicy(e).fields;return n[t]||r&&(n[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var r=this.supertypeMap.get(e);return!r&&t&&this.supertypeMap.set(e,r=new Set),r},e.prototype.fragmentMatches=function(e,t,r,n){var a=this;if(!e.typeCondition)return!0;if(!t)return!1;var o=e.typeCondition.name.value;if(t===o)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(o))for(var s=this.getSupertypeSet(t,!0),u=[s],c=function(e){var t=a.getSupertypeSet(e,!1);t&&t.size&&0>u.indexOf(t)&&u.push(t)},l=!!(r&&this.fuzzySubtypes.size),f=!1,h=0;h<u.length;++h){var p=u[h];if(p.has(o))return s.has(o)||(f&&!1!==globalThis.__DEV__&&i.invariant.warn(7,t,o),s.add(o)),!0;p.forEach(c),l&&h===u.length-1&&function e(t,r,n){return!!(0,C.isNonNullObject)(r)&&((0,V.isArray)(r)?r.every(function(r){return e(t,r,n)}):t.selections.every(function(t){if((0,F.isField)(t)&&(0,M.shouldInclude)(t,n)){var i=(0,F.resultKeyNameFromField)(t);return L.call(r,i)&&(!t.selectionSet||e(t.selectionSet,r[i],n))}return!0}))}(e.selectionSet,r,n)&&(l=!1,f=!0,this.fuzzySubtypes.forEach(function(e,r){var n=t.match(e);n&&n[0]===t&&c(r)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var r=this.getFieldPolicy(e,t,!1);return!!(r&&r.keyFn)},e.prototype.getStoreFieldName=function(e){var t,r=e.typename,n=e.fieldName,i=this.getFieldPolicy(r,n,!1),a=i&&i.keyFn;if(a&&r)for(var o={typename:r,fieldName:n,field:e.field||null,variables:e.variables},s=e_(e);a;){var u=a(s,o);if((0,V.isArray)(u))a=ev(u);else{t=u||n;break}}return(void 0===t&&(t=e.field?(0,F.storeKeyNameFromField)(e.field,e.variables):(0,F.getStoreKeyName)(n,e_(e))),!1===t)?n:n===G(t)?t:n+":"+t},e.prototype.readField=function(e,t){var r=e.from;if(r&&(e.field||e.fieldName)){if(void 0===e.typename){var n=t.store.getFieldValue(r,"__typename");n&&(e.typename=n)}var i=this.getStoreFieldName(e),a=G(i),o=t.store.getFieldValue(r,i),s=this.getFieldPolicy(e.typename,a,!1),u=s&&s.read;if(u){var c=eD(this,r,e,t,t.store.getStorage((0,F.isReference)(r)?r.__ref:r,i));return ef.cacheSlot.withValue(this.cache,u,[o,c])}return o}},e.prototype.getReadFunction=function(e,t){var r=this.getFieldPolicy(e,t,!1);return r&&r.read},e.prototype.getMergeFunction=function(e,t,r){var n=this.getFieldPolicy(e,t,!1),i=n&&n.merge;return!i&&r&&(i=(n=this.getTypePolicy(r))&&n.merge),i},e.prototype.runMergeFunction=function(e,t,r,n,i){var a=r.field,o=r.typename,s=r.merge;return s===ek?eF(n.store)(e,t):s===eS?t:(n.overwrite&&(e=void 0),s(e,t,eD(this,void 0,{typename:o,fieldName:a.name.value,field:a,variables:n.variables},n,i||Object.create(null))))},e}();function eD(e,t,r,n,i){var a=e.getStoreFieldName(r),o=G(a),s=r.variables||n.variables,u=n.store,c=u.toReference,l=u.canRead;return{args:e_(r),field:r.field||null,fieldName:o,storeFieldName:a,variables:s,isReference:F.isReference,toReference:c,storage:i,cache:e.cache,canRead:l,readField:function(){return e.readField(eR(arguments,t,s),n)},mergeObjects:eF(n.store)}}function eR(e,t,r){var a,o=e[0],s=e[1],u=e.length;return"string"==typeof o?a={fieldName:o,from:u>1?s:t}:(a=(0,n.__assign)({},o),L.call(a,"from")||(a.from=t)),!1!==globalThis.__DEV__&&void 0===a.from&&!1!==globalThis.__DEV__&&i.invariant.warn(8,(0,el.stringifyForDisplay)(Array.from(e))),void 0===a.variables&&(a.variables=r),a}
1function eF(e){return function(t,r){if((0,V.isArray)(t)||(0,V.isArray)(r))throw(0,i.newInvariantError)(9);if((0,C.isNonNullObject)(t)&&(0,C.isNonNullObject)(r)){var a=e.getFieldValue(t,"__typename"),o=e.getFieldValue(r,"__typename");if(a&&o&&a!==o)return r;if((0,F.isReference)(t)&&J(r))return e.merge(t.__ref,r),t;if(J(t)&&(0,F.isReference)(r))return e.merge(t,r.__ref),r;if(J(t)&&J(r))return(0,n.__assign)((0,n.__assign)({},t),r)}return r}}function eT(e,t,r){var i="".concat(t).concat(r),a=e.flavors.get(i);return a||e.flavors.set(i,a=e.clientOnly===t&&e.deferred===r?e:(0,n.__assign)((0,n.__assign)({},e),{clientOnly:t,deferred:r})),a}var eN=function(){function e(e,t,r){this.cache=e,this.reader=t,this.fragments=r}return e.prototype.writeToStore=function(e,t){var r=this,a=t.query,o=t.result,s=t.dataId,u=t.variables,c=t.overwrite,l=(0,b.getOperationDefinition)(a),f=new w.DeepMerger;u=(0,n.__assign)((0,n.__assign)({},(0,b.getDefaultValues)(l)),u);var h=(0,n.__assign)((0,n.__assign)({store:e,written:Object.create(null),merge:function(e,t){return f.merge(e,t)},variables:u,varString:(0,N.canonicalStringify)(u)},H(a,this.fragments)),{overwrite:!!c,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),p=this.processSelectionSet({result:o||Object.create(null),dataId:s,selectionSet:l.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,F.isReference)(p))throw(0,i.newInvariantError)(12,o);return h.incomingById.forEach(function(t,a){var o=t.storeObject,s=t.mergeTree,u=t.fieldNodeSet,c=(0,F.makeReference)(a);if(s&&s.map.size){var l=r.applyMerges(s,c,o,h);if((0,F.isReference)(l))return;o=l}if(!1!==globalThis.__DEV__&&!h.overwrite){var f=Object.create(null);u.forEach(function(e){e.selectionSet&&(f[e.name.value]=!0)});var p=function(e){var t=s&&s.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(o).forEach(function(e){!0!==f[G(e)]||p(e)||function(e,t,r,a){var o=function(e){var t=a.getFieldValue(e,r);return"object"==typeof t&&t},s=o(e);if(s){var u=o(t);if(!(!u||(0,F.isReference)(s)||(0,y.equal)(s,u)||Object.keys(s).every(function(e){return void 0!==a.getFieldValue(u,e)}))){var c=a.getFieldValue(e,"__typename")||a.getFieldValue(t,"__typename"),l=G(r),f="".concat(c,".").concat(l);if(!eC.has(f)){eC.add(f);var h=[];(0,V.isArray)(s)||(0,V.isArray)(u)||[s,u].forEach(function(e){var t=a.getFieldValue(e,"__typename");"string"!=typeof t||h.includes(t)||h.push(t)}),!1!==globalThis.__DEV__&&i.invariant.warn(15,l,c,h.length?"either ensure all objects of type "+h.join(" and ")+" have an ID or a custom merge function, or ":"",f,(0,n.__assign)({},s),(0,n.__assign)({},u))}}}}(c,o,e,h.store)})}e.merge(a,o)}),e.retain(p.__ref),p},e.prototype.processSelectionSet=function(e){var t=this,r=e.dataId,a=e.result,o=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,l=Object.create(null),f=r&&c.rootTypenamesById[r]||(0,F.getTypenameFromResult)(a,o,s.fragmentMap)||r&&s.store.get(r,"__typename");"string"==typeof f&&(l.__typename=f);var h=function(){var e=eR(arguments,l,s.variables);if((0,F.isReference)(e.from)){var t=s.incomingById.get(e.from.__ref);if(t){var r=c.readField((0,n.__assign)((0,n.__assign)({},e),{from:t.storeObject}),s);if(void 0!==r)return r}}return c.readField(e,s)},p=new Set;this.flattenFields(o,a,s,f).forEach(function(e,r){var n,o=a[(0,F.resultKeyNameFromField)(r)];if(p.add(r),void 0!==o){var s=c.getStoreFieldName({typename:f,fieldName:r.name.value,field:r,variables:e.variables}),d=eI(u,s),v=t.processFieldValue(o,r,r.selectionSet?eT(e,!1,!1):e,d),y=void 0;r.selectionSet&&((0,F.isReference)(v)||J(v))&&(y=h("__typename",v));var m=c.getMergeFunction(f,r.name.value,y);m?d.info={field:r,typename:f,merge:m}:eq(u,s),l=e.merge(l,((n={})[s]=v,n))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||R.addTypenameToDocument.added(r)||c.getReadFunction(f,r.name.value)||!1===globalThis.__DEV__||i.invariant.error(13,(0,F.resultKeyNameFromField)(r),a)});try{var d=c.identify(a,{typename:f,selectionSet:o,fragmentMap:s.fragmentMap,storeObject:l,readField:h}),v=d[0],y=d[1];r=r||v,y&&(l=s.merge(l,y))}catch(e){if(!r)throw e}if("string"==typeof r){var m=(0,F.makeReference)(r),g=s.written[r]||(s.written[r]=[]);if(g.indexOf(o)>=0||(g.push(o),this.reader&&this.reader.isFresh(a,m,o,s)))return m;var b=s.incomingById.get(r);return b?(b.storeObject=s.merge(b.storeObject,l),b.mergeTree=function e(t,r){if(t===r||!r||eM(r))return t;if(!t||eM(t))return r;var i=t.info&&r.info?(0,n.__assign)((0,n.__assign)({},t.info),r.info):t.info||r.info,a=t.map.size&&r.map.size,o={info:i,map:a?new Map:t.map.size?t.map:r.map};if(a){var s=new Set(r.map.keys());
1t.map.forEach(function(t,n){o.map.set(n,e(t,r.map.get(n))),s.delete(n)}),s.forEach(function(n){o.map.set(n,e(r.map.get(n),t.map.get(n)))})}return o}(b.mergeTree,u),p.forEach(function(e){return b.fieldNodeSet.add(e)})):s.incomingById.set(r,{storeObject:l,mergeTree:eM(u)?void 0:u,fieldNodeSet:p}),m}return l},e.prototype.processFieldValue=function(e,t,r,n){var i=this;return t.selectionSet&&null!==e?(0,V.isArray)(e)?e.map(function(e,a){var o=i.processFieldValue(e,t,r,eI(n,a));return eq(n,a),o}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:r,mergeTree:n}):!1!==globalThis.__DEV__?(0,ec.cloneDeep)(e):e},e.prototype.flattenFields=function(e,t,r,n){void 0===n&&(n=(0,F.getTypenameFromResult)(t,e,r.fragmentMap));var a=new Map,o=this.cache.policies,s=new Q.Trie(!1);return!function e(u,c){var l=s.lookup(u,c.clientOnly,c.deferred);l.visited||(l.visited=!0,u.selections.forEach(function(s){if((0,M.shouldInclude)(s,r.variables)){var u=c.clientOnly,l=c.deferred;if(!(u&&l)&&(0,V.isNonEmptyArray)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var n=(0,F.argumentsObjectFromField)(e,r.variables);n&&!1===n.if||(l=!0)}}),(0,F.isField)(s)){var f=a.get(s);f&&(u=u&&f.clientOnly,l=l&&f.deferred),a.set(s,eT(r,u,l))}else{var h=(0,_.getFragmentFromSelection)(s,r.lookupFragment);if(!h&&s.kind===I.Kind.FRAGMENT_SPREAD)throw(0,i.newInvariantError)(14,s.name.value);h&&o.fragmentMatches(h,n,t,r.variables)&&e(h.selectionSet,eT(r,u,l))}}}))}(e,r),a},e.prototype.applyMerges=function(e,t,r,a,o){var s=this;if(e.map.size&&!(0,F.isReference)(r)){var u,c,l=!(0,V.isArray)(r)&&((0,F.isReference)(t)||J(t))?t:void 0,f=r;l&&!o&&(o=[(0,F.isReference)(l)?l.__ref:l]);var h=function(e,t){return(0,V.isArray)(e)?"number"==typeof t?e[t]:void 0:a.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var r=h(l,t),n=h(f,t);if(void 0!==n){o&&o.push(t);var u=s.applyMerges(e,r,n,a,o);u!==n&&(c=c||new Map).set(t,u),o&&(0,i.invariant)(o.pop()===t)}}),c&&(r=(0,V.isArray)(f)?f.slice(0):(0,n.__assign)({},f),c.forEach(function(e,t){r[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,r,e.info,a,o&&(u=a.store).getStorage.apply(u,o)):r},e}(),ex=[];function eI(e,t){var r=e.map;return r.has(t)||r.set(t,ex.pop()||{map:new Map}),r.get(t)}function eM(e){return!e||!(e.info||e.map.size)}function eq(e,t){var r=e.map,n=r.get(t);n&&eM(n)&&(ex.push(n),r.delete(t))}var eC=new Set,eA=function(e){function t(t){void 0===t&&(t={});var r,n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new T.DocumentTransform(R.addTypenameToDocument),n.assumeImmutableResults=!0,n.makeVar=ef.makeVar,n.txCount=0,r=t,n.config=(0,j.compact)(B,r),n.addTypename=!!n.config.addTypename,n.policies=new eE({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,n.__extends)(t,e),t.prototype.init=function(){var e=this.data=new Z.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,r=this.storeReader,n=this.config.fragments;this.storeWriter=new eN(this,this.storeReader=new eu({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:U(this.config),canon:e?void 0:r&&r.canon,fragments:n}),n),this.maybeBroadcastWatch=(0,v.wrap)(function(e,r){return t.broadcastWatch(e,r)},{max:this.config.resultCacheMaxSize||g.cacheSizes["inMemoryCache.maybeBroadcastWatch"]||5e3,makeCacheKey:function(e){var r=e.optimistic?t.optimisticData:t.data;if(ea(r)){var n=e.optimistic,i=e.id,a=e.variables;return r.makeCacheKey(e.query,e.callback,(0,N.canonicalStringify)({optimistic:n,id:i,variables:a}))}}}),new Set([this.data.group,this.optimisticData.group]).forEach(function(e){return e.resetCaching()})},t.prototype.restore=function(e){return this.init(),e&&this.data.replace(e),this},t.prototype.extract=function(e){return void 0===e&&(e=!1),(e?this.optimisticData:this.data).extract()},t.prototype.read=function(e){var t=e.returnPartialData;try{return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof D)return null;throw e}},t.prototype.write=function(e){try{return++this.txCount,this.storeWriter.writeToStore(this.data,e)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.modify=function(e){if(L.call(e,"id")&&!e.id)return!1;var t=e.optimistic?this.optimisticData:this.data;try{return++this.txCount,t.modify(e.id||"ROOT_QUERY",e.fields)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.diff=function(e){return this.storeReader.diffQueryAgainstStore((0,n.__assign)((0,n.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,rootId:e.id||"ROOT_QUERY",config:this.config}))},t.prototype.watch=function(e){var t=this;return this.watches.size||(0,ef.recallCache)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,ef.forgetCache)(t),t.maybeBroadcastWatch.forget(e)}}
1,t.prototype.gc=function(e){N.canonicalStringify.reset(),x.print.reset(),this.addTypenameTransform.resetCache(),null==(t=this.config.fragments)||t.resetCaches();var t,r=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),r},t.prototype.retain=function(e,t){return(t?this.optimisticData:this.data).retain(e)},t.prototype.release=function(e,t){return(t?this.optimisticData:this.data).release(e)},t.prototype.identify=function(e){if((0,F.isReference)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.invariant.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(L.call(e,"id"))return!1;e=(0,n.__assign)((0,n.__assign)({},e),{id:"ROOT_QUERY"})}try{return++this.txCount,this.optimisticData.evict(e,this.data)}finally{--this.txCount||!1===e.broadcast||this.broadcastWatches()}},t.prototype.reset=function(e){var t=this;return this.init(),N.canonicalStringify.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,ef.forgetCache)(this)):this.broadcastWatches(),Promise.resolve()},t.prototype.removeOptimistic=function(e){var t=this.optimisticData.removeLayer(e);t!==this.optimisticData&&(this.optimisticData=t,this.broadcastWatches())},t.prototype.batch=function(e){var t,r=this,i=e.update,a=e.optimistic,o=void 0===a||a,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var n=r.data,a=r.optimisticData;++r.txCount,e&&(r.data=r.optimisticData=e);try{return t=i(r)}finally{--r.txCount,r.data=n,r.optimisticData=a}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof o?this.optimisticData=this.optimisticData.addLayer(o,c):!1===o?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,n.__assign)((0,n.__assign)({},e),{onWatchUpdated:function(e,t){var r=u.call(this,e,t);return!1!==r&&l.delete(e),r}})),l.size&&l.forEach(function(e){return r.maybeBroadcastWatch.dirty(e)})):this.broadcastWatches(e),t},t.prototype.performTransaction=function(e,t){return this.batch({update:e,optimistic:t||null!==t})},t.prototype.transformDocument=function(e){return this.addTypenameToDocument(this.addFragmentsToDocument(e))},t.prototype.fragmentMatches=function(e,t){return this.policies.fragmentMatches(e,t)},t.prototype.lookupFragment=function(e){var t;return(null==(t=this.config.fragments)?void 0:t.lookup(e))||null},t.prototype.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(r){return t.maybeBroadcastWatch(r,e)})},t.prototype.addFragmentsToDocument=function(e){var t=this.config.fragments;return t?t.transform(e):e},t.prototype.addTypenameToDocument=function(e){return this.addTypename?this.addTypenameTransform.transformDocument(e):e},t.prototype.broadcastWatch=function(e,t){var r=e.lastDiff,n=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(n.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,n,r)))&&(r&&(0,y.equal)(r.result,n.result)||e.callback(e.lastDiff=n,r))},t}(E);!1!==globalThis.__DEV__&&(eA.prototype.getMemoryInternals=h.getInMemoryCacheMemoryInternals);var ej=e.i(21110);function eP(e){return new a.ApolloLink(function(t,r){return new m.Observable(function(n){var i,a,o;try{i=r(t).subscribe({next:function(i){if(i.errors?o=e({graphQLErrors:i.errors,response:i,operation:t,forward:r}):(0,ej.graphQLResultHasProtocolErrors)(i)&&(o=e({protocolErrors:i.extensions[ej.PROTOCOL_ERRORS_SYMBOL],response:i,operation:t,forward:r})),o){a=o.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.next(i)},error:function(i){if(o=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors||void 0,forward:r})){a=o.subscribe({next:n.next.bind(n),error:n.error.bind(n),complete:n.complete.bind(n)});return}n.error(i)},complete:function(){o||n.complete.bind(n)()}})}catch(i){e({networkError:i,operation:t,forward:r}),n.error(i)}return function(){i&&i.unsubscribe(),a&&i.unsubscribe()}})})}var eQ=a.ApolloLink;function eV(e){var t=eQ.call(this)||this;return t.link=eP(e),t}(0,n.__extends)(eV,eQ),eV.prototype.request=function(e,t){return this.link.request(e,t)};let eL=new u.HttpLink({uri:"https://store-3qkcoi-1758476.mybigcommerce.com/graphql"}),ez=new a.ApolloLink((e,t)=>(e.setContext(({headers:e={}})=>({credentials:"include",headers:{...e,authorization:"Bearer eyJ0eXAiOiJKV1QiLCJhbGciOiJFUzI1NiJ9.eyJjaWQiOlsxNzU4NDc2XSwiY29ycyI6WyJodHRwczovL3ZpY3R1c3Nwb3J0cy5jb20iLCJodHRwczovL3N0YWdpbmctdmljdHVzc3BvcnRzLWNvbS52ZXJjZWwuYXBwIl0sImVhdCI6MjE0NzQ4MzY0NywiaWF0IjoxNzU4NjgwNTU2LCJpc3MiOiJCQyIsInNpZCI6MTAxOTE1OSwic3ViIjoidDNwb3BjbWMzYzE0ZnBwZmU0OG9nNHowMGF5NnNxZCIsInN1Yl90eXBlIjoyLCJ0b2tlbl90eXBlIjoxfQ.nz4D0OaIAiCH765lhHlnN_BB9y809d_Sc8aDLwKK-BZcSlkwtUPap9Ov-mNTqmKtshgKGpXulPDeQ5ftZ_et6g"}})),t(e))),eW=eP(({graphQLErrors:e})=>{e&&e.map(({message:e,locations:t,path:r})=>console.error(`[BigCommerce GraphQL error]: Message: ${e}, Location: ${t}, Path: ${r}`))}),eB=a.ApolloLink.from([ez,eW,eL]),eU=new d({cache:new eA,link:eB});e.s(["default",0,eU],22226)},88251,e=>{"use strict";var t,r,n,i=e.i(90571);e.i(71258);
1var a=e.i(87081),o=e.i(79873),s=e.i(75625),u=!1,c=o.useSyncExternalStore||function(e,t,r){var n=t();!1===globalThis.__DEV__||u||n===t()||(u=!0,!1!==globalThis.__DEV__&&a.invariant.error(68));var i=o.useState({inst:{value:n,getSnapshot:t}}),c=i[0].inst,f=i[1];return s.canUseLayoutEffect?o.useLayoutEffect(function(){Object.assign(c,{value:n,getSnapshot:t}),l(c)&&f({inst:c})},[e,n,t]):Object.assign(c,{value:n,getSnapshot:t}),o.useEffect(function(){return l(c)&&f({inst:c}),e(function(){l(c)&&f({inst:c})})},[e]),n};function l(e){var t=e.value,r=e.getSnapshot;try{return t!==r()}catch(e){return!0}}var f=e.i(69981),h=e.i(6195),p=e.i(18247),d=e.i(21110),v=e.i(79506),y=e.i(7799),m=e.i(34049),g=e.i(72243),b=e.i(20871);function _(e){var t;switch(e){case r.Query:t="Query";break;case r.Mutation:t="Mutation";break;case r.Subscription:t="Subscription"}return t}function w(e){n||(n=new m.AutoCleanedWeakCache(g.cacheSizes.parser||1e3));var t,i,o=n.get(e);if(o)return o;(0,a.invariant)(!!e&&!!e.kind,70,e);for(var s=[],u=[],c=[],l=[],f=0,h=e.definitions;f<h.length;f++){var p=h[f];if("FragmentDefinition"===p.kind){s.push(p);continue}if("OperationDefinition"===p.kind)switch(p.operation){case"query":u.push(p);break;case"mutation":c.push(p);break;case"subscription":l.push(p)}}(0,a.invariant)(!s.length||u.length||c.length||l.length,71),(0,a.invariant)(u.length+c.length+l.length<=1,72,e,u.length,l.length,c.length),i=u.length?r.Query:r.Mutation,u.length||c.length||(i=r.Subscription);var d=u.length?u:c.length?c:l;(0,a.invariant)(1===d.length,73,e,d.length);var v=d[0];t=v.variableDefinitions||[];var y={name:v.name&&"Name"===v.name.kind?v.name.value:"data",type:i,variables:t};return n.set(e,y),y}function O(e,t){var r=w(e),n=_(t),i=_(r.type);(0,a.invariant)(r.type===t,74,n,n,i)}function k(e){var t=o.useContext((0,p.getApolloContext)()),r=e||t.client;return(0,a.invariant)(!!r,58),r}(t=r||(r={}))[t.Query=0]="Query",t[t.Mutation=1]="Mutation",t[t.Subscription=2]="Subscription",w.resetCache=function(){n=void 0},!1!==globalThis.__DEV__&&(0,b.registerGlobalCache)("parser",function(){return n?n.size:0});var S=e.i(36433),E=e.i(45938),D=e.i(76846),R=Symbol.for("apollo.hook.wrappers"),F=Object.prototype.hasOwnProperty;function T(){}var N=Symbol();function x(e,t){var n,a,s,u,l,h,d,m,g,b,_,w,S,E,D,R,x,Q,V,L,z,W,B,U,K,G,J,H,Y,$,X,Z,ee,et,er,en,ei,ea,eo,es,eu,ec,el,ef,eh,ep=(n=e,b=k((a=t).client),w=!!(_=o.useContext((0,p.getApolloContext)()).renderPromises),S=b.disableNetworkFetches,E=!1!==a.ssr&&!a.skip,D=a.partialRefetch,R=(s=b,u=n,l=a,h=w,void 0===l&&(l={}),d=l.skip,m=(l.ssr,l.onCompleted,l.onError,l.defaultOptions),g=(0,i.__rest)(l,["skip","ssr","onCompleted","onError","defaultOptions"]),function(e){var t=Object.assign(g,{query:u});return h&&("network-only"===t.fetchPolicy||"cache-and-network"===t.fetchPolicy)&&(t.fetchPolicy="cache-first"),t.variables||(t.variables={}),d?(t.initialFetchPolicy=t.initialFetchPolicy||t.fetchPolicy||C(m,s.defaultOptions),t.fetchPolicy="standby"):t.fetchPolicy||(t.fetchPolicy=(null==e?void 0:e.options.initialFetchPolicy)||C(m,s.defaultOptions)),t}),V=(Q=(x=function(e,t,n,a,s){function u(i){var o;return O(t,r.Query),{client:e,query:t,observable:a&&a.getSSRObservable(s())||v.ObservableQuery.inactiveOnCreation.withValue(!a,function(){return e.watchQuery(I(void 0,e,n,s()))}),resultData:{previousData:null==(o=null==i?void 0:i.resultData.current)?void 0:o.data}}}var c=o.useState(u),l=c[0],f=c[1];function h(e){Object.assign(l.observable,((t={})[N]=e,t));var t,r,n=l.resultData;f((0,i.__assign)((0,i.__assign)({},l),{query:e.query,resultData:Object.assign(n,{previousData:(null==(r=n.current)?void 0:r.data)||n.previousData,current:void 0})}))}if(e!==l.client||t!==l.query){var p=u(l);return f(p),[p,h]}return[l,h]}(b,n,a,_,R))[0]).observable,L=Q.resultData,z=x[1],W=R(V),B=L,U=V,K=b,G=a,J=W,U[N]&&!(0,f.equal)(U[N],J)&&(U.reobserve(I(U,K,G,J)),B.previousData=(null==(H=B.current)?void 0:H.data)||B.previousData,B.current=void 0),U[N]=J,Y=o.useMemo(function(){var e;return{refetch:(e=V).refetch.bind(e),reobserve:e.reobserve.bind(e),fetchMore:e.fetchMore.bind(e),updateQuery:e.updateQuery.bind(e),startPolling:e.startPolling.bind(e),stopPolling:e.stopPolling.bind(e),subscribeToMore:e.subscribeToMore.bind(e)}},[V]),$=V,X=_,Z=E,X&&Z&&(X.registerSSRObservable($),$.getCurrentResult().loading&&X.addObservableQueryPromise($)),{result:(ee=L,et=V,er
1=b,en=a,ei=W,ea=S,eo=D,es=w,eu={onCompleted:a.onCompleted||T,onError:a.onError||T},ec=o.useRef(eu),o.useEffect(function(){ec.current=eu}),el=(es||ea)&&!1===en.ssr&&!en.skip?j:en.skip||"standby"===ei.fetchPolicy?P:void 0,ef=ee.previousData,eh=o.useMemo(function(){return el&&A(el,ef,et,er)},[er,et,el,ef]),c(o.useCallback(function(e){if(es)return function(){};var t=function(){var t=ee.current,r=et.getCurrentResult();t&&t.loading===r.loading&&t.networkStatus===r.networkStatus&&(0,f.equal)(t.data,r.data)||M(r,ee,et,er,eo,e,ec.current)},r=function(i){if(n.current.unsubscribe(),n.current=et.resubscribeAfterError(t,r),!F.call(i,"graphQLErrors"))throw i;var a=ee.current;(!a||a&&a.loading||!(0,f.equal)(i,a.error))&&M({data:a&&a.data,error:i,loading:!1,networkStatus:y.NetworkStatus.error},ee,et,er,eo,e,ec.current)},n={current:et.subscribe(t,r)};return function(){setTimeout(function(){return n.current.unsubscribe()})}},[ea,es,et,ee,eo,er]),function(){return eh||q(ee,et,ec.current,eo,er)},function(){return eh||q(ee,et,ec.current,eo,er)})),obsQueryFields:Y,observable:V,resultData:L,client:b,onQueryExecuted:z}),ed=ep.result,ev=ep.obsQueryFields;return o.useMemo(function(){return(0,i.__assign)((0,i.__assign)({},ed),ev)},[ed,ev])}function I(e,t,r,n){var i=[],a=t.defaultOptions.watchQuery;return a&&i.push(a),r.defaultOptions&&i.push(r.defaultOptions),i.push((0,S.compact)(e&&e.options,n)),i.reduce(h.mergeOptions)}function M(e,t,r,n,o,s,u){var c,l,f,h=t.current;h&&h.data&&(t.previousData=h.data),!e.error&&(0,E.isNonEmptyArray)(e.errors)&&(e.error=new d.ApolloError({graphQLErrors:e.errors})),t.current=A((c=e,l=r,f=o,c.partial&&f&&!c.loading&&(!c.data||0===Object.keys(c.data).length)&&"cache-only"!==l.options.fetchPolicy?(l.refetch(),(0,i.__assign)((0,i.__assign)({},c),{loading:!0,networkStatus:y.NetworkStatus.refetch})):c),t.previousData,r,n),s(),function(e,t,r){if(!e.loading){var n,i=(n=e,(0,E.isNonEmptyArray)(n.errors)?new d.ApolloError({graphQLErrors:n.errors}):n.error);Promise.resolve().then(function(){i?r.onError(i):e.data&&t!==e.networkStatus&&e.networkStatus===y.NetworkStatus.ready&&r.onCompleted(e.data)}).catch(function(e){!1!==globalThis.__DEV__&&a.invariant.warn(e)})}}(e,null==h?void 0:h.networkStatus,u)}function q(e,t,r,n,i){return e.current||M(t.getCurrentResult(),e,t,i,n,function(){},r),e.current}function C(e,t){var r;return(null==e?void 0:e.fetchPolicy)||(null==(r=null==t?void 0:t.watchQuery)?void 0:r.fetchPolicy)||"cache-first"}function A(e,t,r,n){var a=e.data,o=(e.partial,(0,i.__rest)(e,["data","partial"]));return(0,i.__assign)((0,i.__assign)({data:a},o),{client:n,observable:r,variables:r.variables,called:e!==j&&e!==P,previousData:t})}var j=(0,D.maybeDeepFreeze)({loading:!0,data:void 0,error:void 0,networkStatus:y.NetworkStatus.loading}),P=(0,D.maybeDeepFreeze)({loading:!1,data:void 0,error:void 0,networkStatus:y.NetworkStatus.ready}),Q=s.canUseDOM?o.useLayoutEffect:o.useEffect,V=e.i(22226);e.s(["default",0,()=>({useBigcommerceQuery:(e,t={})=>{var r,n,i,a;return((a=(i=(n=k((r={client:V.default,fetchPolicy:"cache-first",...t},r.client)).queryManager)&&n[R])&&i.useQuery)?a(x):x)(e,r)},useBigcommerceMutation:(e,t={})=>{var n,a,s,u,c,l,p,v;return a=k((n={client:V.default,...t}).client),O(e,r.Mutation),u=(s=o.useState({called:!1,loading:!1,client:a}))[0],c=s[1],l=o.useRef({result:u,mutationId:0,isMounted:!0,client:a,mutation:e,options:n}),Q(function(){Object.assign(l.current,{client:a,options:n,mutation:e})}),p=o.useCallback(function(e){void 0===e&&(e={});var t=l.current,r=t.options,n=t.mutation,a=(0,i.__assign)((0,i.__assign)({},r),{mutation:n}),o=e.client||l.current.client;l.current.result.loading||a.ignoreResults||!l.current.isMounted||c(l.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:o});var s=++l.current.mutationId,u=(0,h.mergeOptions)(a,e);return o.mutate(u).then(function(t){var r,n,i=t.data,a=t.errors,h=a&&a.length>0?new d.ApolloError({graphQLErrors:a}):void 0,p=e.onError||(null==(r=l.current.options)?void 0:r.onError);if(h&&p&&p(h,u),s===l.current.mutationId&&!u.ignoreResults){var v={called:!0,loading:!1,data:i,error:h,client:o};l.current.isMounted&&!(0,f.equal)(l.current.result,v)&&c(l.current.result=v)}var y=e.onCompleted||(null==(n=l.current.options)?void 0:n.onCompleted);return h||null==y||y(t.data,u),t},function(t){if(s===l.current.mutationId&&l.current.isMounted){var r,n={loading:!1,error:t,data:void 0,called:!0,client:o};(0,f.equal)(l.current.result,n)||c(l.current.result=n)}var i=e.onError||(null==(r=l.current.options)?void 0:r.onError);if(i)return i(t,u),{data:void 0,errors:t};throw t})},[]),v=o.useCallback(function(){if(l.current.isMounted){var e={called:!1,loading:!1,client:l.current.client};Object.assign(l.current,{mutationId:0,result:e}),c(e)}},[]),o.useEffect(function(){var e=l.current;return e.isMounted=!0,function(){e.isMounted=!1}},[]),[p,(0,i.__assign)({reset:v},u)]}})],88251)}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.