PageSourceSearch

https://bleacherreport.com/_next/static/chunks/7527-cea04cdfca7f1e93.js

js bleacherreport.com collected 2026-09-24 07:28:15 UTC 365,216 bytes, 108 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7527],{37610:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.AccumulateMultipartResponsesLink=void 0;let r=n(61689),i=n(22991);class o extends r.ApolloLink{constructor(e){super(),this.maxDelay=e.cutoffDelay}request(e,t){let n,r;if(!t)throw Error("This is not a terminal link!");let o=(0,i.hasDirectives)(["defer"],e.query),a=t(e);if(!o)return a;let s=this.maxDelay;return new i.Observable(e=>{let t=a.subscribe({next:e=>{n?(n.data&&"incremental"in e?n.data=(0,i.mergeIncrementalData)(n.data,e):e.data&&(n.data=e.data),e.errors&&(n.errors=[...n.errors||[],...e.errors||[]]),e.extensions&&(n.extensions=Object.assign(Object.assign({},n.extensions),e.extensions))):n=e,s?r||(r=setTimeout(o,s)):o()},error:t=>{r&&clearTimeout(r),e.error(t)},complete:()=>{r&&(clearTimeout(r),o()),e.complete()}});function o(){e.next(n),e.complete(),t.unsubscribe()}return function(){clearTimeout(r),t.unsubscribe()}})}}t.AccumulateMultipartResponsesLink=o},60430:function(e,t,n){"use strict";var r=Object.create?function(e,t,n,r){void 0===r&&(r=n);var i=Object.getOwnPropertyDescriptor(t,n);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,i)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},i=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t},o=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)0>t.indexOf(r[i])&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n};Object.defineProperty(t,"__esModule",{value:!0}),t.ApolloNextAppProvider=t.ApolloClientSingleton=void 0;let a=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)"default"!==n&&Object.prototype.hasOwnProperty.call(e,n)&&r(t,e,n);return i(t,e),t}(n(58836)),s=n(61689),u=n(47888);t.ApolloClientSingleton=Symbol.for("ApolloClientSingleton"),t.ApolloNextAppProvider=e=>{var n,{makeClient:r,children:i}=e,c=o(e,["makeClient","children"]);let l=a.useRef();return"undefined"!=typeof window?l.current=null!==(n=window[t.ApolloClientSingleton])&&void 0!==n?n:window[t.ApolloClientSingleton]=r():l.current||(l.current=r()),a.createElement(s.ApolloProvider,{client:l.current},a.createElement(u.RehydrationContextProvider,Object.assign({},c),i))}},23601:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.ApolloBackgroundQueryTransport=t.ApolloSSRDataTransport=t.ApolloResultCache=t.ApolloRehydrationCache=void 0,t.ApolloRehydrationCache=Symbol.for("ApolloRehydrationCache"),t.ApolloResultCache=Symbol.for("ApolloResultCache"),t.ApolloSSRDataTransport=Symbol.for("ApolloSSRDataTransport"),t.ApolloBackgroundQueryTransport=Symbol.for("ApolloBackgroundQueryTransport")},75368:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.NextSSRApolloClient=void 0;let i=n(61689),o=n(22991),a=n(71398),s=n(14340),u=n(23601),c=r(n(89796));function l(e){return e.queryManager}class f extends i.ApolloClient{constructor(e){super(e),this.rehydrationContext={incomingBackgroun
1dQueries:[]},this.simulatedStreamingQueries=new Map,this.registerWindowHook()}identifyUniqueQuery(e){let t=this.documentTransform.transformDocument(e.query),{serverQuery:n}=l(this).getDocumentInfo(t);if(!n)throw Error("could not identify unique query");let r=(0,a.canonicalStringify)(e.variables||{}),i=[(0,o.print)(n),r].toString();return{query:n,cacheKey:i,varJson:r}}registerWindowHook(){"undefined"!=typeof window&&(Array.isArray(window[u.ApolloBackgroundQueryTransport]||[])&&((0,s.registerLateInitializingQueue)(u.ApolloBackgroundQueryTransport,e=>{var t;let n,r;if("complete"===document.readyState)return;let{query:a,varJson:s,cacheKey:u}=this.identifyUniqueQuery(e);if(!a)return;let c=(0,o.print)(a),f=l(this);if("lookup"in f.inFlightLinkObservables?n=!!(null===(t=f.inFlightLinkObservables.peek(c,s))||void 0===t?void 0:t.observable):(r=f.inFlightLinkObservables.get(c)||new Map,f.inFlightLinkObservables.set(c,r),n=r.has(s)),!n){let t,n,o;let a=()=>{if(f.fetchCancelFns.get(u)===o&&f.fetchCancelFns.delete(u),r)r.get(s)===n&&r.delete(s);else if("lookup"in f.inFlightLinkObservables)f.inFlightLinkObservables.remove(c,s);else throw Error("unexpected shape of QueryManager");this.simulatedStreamingQueries.get(u)===t&&this.simulatedStreamingQueries.delete(u)},l=new Promise((n,r)=>{this.simulatedStreamingQueries.set(u,t={resolve:n,reject:r,options:e})});if(l.finally(a),n=new i.Observable(e=>{l.then(t=>{e.next(t),e.complete()}).catch(t=>{e.error(t)})}),r)r.set(s,n);else if("lookup"in f.inFlightLinkObservables)f.inFlightLinkObservables.lookup(c,s).observable=n;else throw Error("unexpected shape of QueryManager");f.fetchCancelFns.set(u,o=e=>{var t;let{reject:n}=null!==(t=this.simulatedStreamingQueries.get(u))&&void 0!==t?t:{};n&&n(e),a()})}}),"complete"!==document.readyState&&window.addEventListener("load",()=>{let e=l(this);for(let[t,n]of this.simulatedStreamingQueries){this.simulatedStreamingQueries.delete(t),c.default.debug("streaming connection closed before server query could be fully transported, rerunning:",n.options);let r=e.generateQueryId();e.fetchQuery(r,Object.assign(Object.assign({},n.options),{context:Object.assign(Object.assign({},n.options.context),{queryDeduplication:!1})})).finally(()=>e.stopQuery(r)).then(n.resolve,n.reject)}},{once:!0})),Array.isArray(window[u.ApolloResultCache]||[])&&(0,s.registerLateInitializingQueue)(u.ApolloResultCache,e=>{var t;let{cacheKey:n}=this.identifyUniqueQuery(e),{resolve:r}=null!==(t=this.simulatedStreamingQueries.get(n))&&void 0!==t?t:{};r&&r({data:e.result}),this.cache.write(e)}))}watchQuery(e){return"undefined"==typeof window&&"cache-only"!==e.fetchPolicy&&"standby"!==e.fetchPolicy&&this.rehydrationContext.incomingBackgroun
1dQueries.push(e),super.watchQuery(e)}setRehydrationContext(e){e.incomingBackgroundQueries!==this.rehydrationContext.incomingBackgroundQueries&&e.incomingBackgroundQueries.push(...this.rehydrationContext.incomingBackgroundQueries.splice(0)),this.rehydrationContext=e}}t.NextSSRApolloClient=f},61473:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.NextSSRInMemoryCache=void 0;let r=n(61689);class i extends r.InMemoryCache{constructor(e){super(e),this.rehydrationContext={incomingResults:[],uninitialized:!0}}write(e){return"undefined"==typeof window&&this.rehydrationContext.incomingResults.push(e),super.write(e)}setRehydrationContext(e){this.rehydrationContext.uninitialized&&e.incomingResults.push(...this.rehydrationContext.incomingResults),this.rehydrationContext=e,this.rehydrationContext.uninitialized=!1}}t.NextSSRInMemoryCache=i},47888:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.useRehydrationContext=t.RehydrationContextProvider=void 0;let i=n(61689),o=r(n(58836)),a=n(61473),s=n(35741),u=n(54217),c=r(n(89796)),l=n(75368),f=o.default.createContext(void 0);t.RehydrationContextProvider=({children:e,extraScriptProps:t})=>{let n=(0,i.useApolloClient)(),r=o.default.useRef();if("undefined"==typeof window){if(r.current||(r.current=function({extraScriptProps:e}){let t={currentlyInjected:!1,transportValueData:{},transportedValues:{}
1,incomingResults:[],incomingBackgroundQueries:[],RehydrateOnClient(){if(t.currentlyInjected=!1,!Object.keys(t.transportValueData).length&&!Object.keys(t.incomingResults).length&&!Object.keys(t.incomingBackgroundQueries).length)return o.default.createElement(o.default.Fragment,null);c.default.debug("transporting data",t.transportValueData),c.default.debug("transporting results",t.incomingResults),c.default.debug("transporting incomingBackgroundQueries",t.incomingBackgroundQueries);let n=(0,u.transportDataToJS)({rehydrate:Object.fromEntries(Object.entries(t.transportValueData).filter(([e,n])=>t.transportedValues[e]!==n)),results:t.incomingResults,backgroundQueries:t.incomingBackgroundQueries});return Object.assign(t.transportedValues,t.transportValueData),t.transportValueData={},t.incomingResults=[],t.incomingBackgroundQueries=[],o.default.createElement("script",Object.assign({},e,{dangerouslySetInnerHTML:{__html:n}}))}};return t}({extraScriptProps:t})),n instanceof l.NextSSRApolloClient)n.setRehydrationContext(r.current);else throw Error("When using Next SSR, you must use the `NextSSRApolloClient`");if(n.cache instanceof a.NextSSRInMemoryCache)n.cache.setRehydrationContext(r.current);else throw Error("When using Next SSR, you must use the `NextSSRInMemoryCache`")}else(0,u.registerDataTransport)();return o.default.createElement(f.Provider,{value:r.current},e)},t.useRehydrationContext=function(){let e=o.default.useContext(f),t=o.default.useContext(s.ServerInsertedHTMLContext);if("undefined"==typeof window)return t&&e&&!e.currentlyInjected&&(e.currentlyInjected=!0,t(()=>o.default.createElement(e.RehydrateOnClient,null))),e}},58269:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.RemoveMultipartDirectivesLink=void 0;let r=n(61689),i=n(22991);function o(e,t){var n,r;return null===(r=null===(n=e.arguments)||void 0===n?void 0:n.find(e=>e.name.value===t))||void 0===r?void 0:r.value}class a extends r.ApolloLink{constructor(e){super(),this.stripDirectives=[],!1!==e.stripDefer&&this.stripDirectives.push("defer")}request(e,t){if(!t)throw Error("This is not a terminal link!");let{query:n}=e,r=n;return null===(r=(0,i.removeDirectivesFromDocument)(this.stripDirectives.map(e=>({test(t){let n="Directive"===t.kind&&t.name.value===e,r=o(t,"label");return(null==r?void 0:r.kind)==="StringValue"&&r.value.startsWith("SsrDontStrip")&&(n=!1),n},remove:!0})).concat({test(e){if("Directive"!==e.kind)return!1;let t=o(e,"label");return(null==t?void 0:t.kind)==="StringValue"&&t.value.startsWith("SsrStrip")},remove:!0}),r))?i.Observable.of({}):(e.query=r,t(e))}}t.RemoveMultipartDirectivesLink=a},65924:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SSRMultipartLink=void 0;let r=n(61689),i=n(58269),o=n(37610);class a extends r.ApolloLink{constructor(e={}){super(r.ApolloLink.from([new i.RemoveMultipartDirectivesLink({stripDefer:e.stripDefer}),new o.AccumulateMultipartResponsesLink({cutoffDelay:e.cutoffDelay||0})]).request)}}t.SSRMultipartLink=a},54217:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.registerDataTransport=t.transportDataToJS=void 0;let i=r(n(57821)),o=n(23601),a=n(14340),s=r(n(89796)),u=n(51242);t.transportDataToJS=function(e){let t=Symbol.keyFor(o.ApolloSSRDataTransport);return`(window[Symbol.for("${t}")] ??= []).push(${(0,u.htmlEscapeJsonString)(i.default.stringify(e))})`},t.registerDataTransport=function(){(0,a.registerLateInitializingQueue)(o.ApolloSSRDataTransport,e=>{var t,n,r;let a=i.default.deserialize(e);s.default.debug("received data from the server:",a),Object.assign(null!==(t=window[o.ApolloRehydrationCache])&&void 0!==t?t:window[o.ApolloRehydrationCache]={},a.rehydrate),(null!==(n=window[o.ApolloBackgroundQueryTransport])&&void 0!==n?n:window[o.ApolloBackgroundQueryTransport]=[]).push(...a.backgroundQueries),(null!==(r=window[o.ApolloResultCache])&&void 0!==r?r:window[o.ApolloResultCache]=[]).push(...a.results)})}},84635:function(e,t,n){"use strict";
1Object.defineProperty(t,"__esModule",{value:!0}),t.useBackgroundQuery=t.useReadQuery=t.useSuspenseQuery=t.useQuery=t.useFragment=void 0;let r=n(61689),i=n(98392),o=n(47888);function a(e,t){return function(){for(var n=arguments.length,r=Array(n),o=0;o<n;o++)r[o]=arguments[o];let a=e(...r),s={};for(let e of t)s[e]=a[e];return Object.assign(Object.assign({},a),(0,i.useTransportValue)(s))}}t.useFragment=a(r.useFragment,["data","complete","missing"]),t.useQuery=a("undefined"==typeof window?(e,t)=>(0,r.useQuery)(e,Object.assign(Object.assign({},t),{fetchPolicy:"cache-only"})):r.useQuery,["data","loading","networkStatus","called"]),t.useSuspenseQuery=a(r.useSuspenseQuery,["data","networkStatus"]),t.useReadQuery=a(r.useReadQuery,["data","networkStatus"]),t.useBackgroundQuery=function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return(0,o.useRehydrationContext)(),(0,r.useBackgroundQuery)(...t)}},96853:function(e,t,n){"use strict";t.a4=t.p0=t.ND=t.e$=void 0;var r=n(60430);Object.defineProperty(t,"e$",{enumerable:!0,get:function(){return r.ApolloNextAppProvider}});var i=n(61473);Object.defineProperty(t,"ND",{enumerable:!0,get:function(){return i.NextSSRInMemoryCache}});var o=n(75368);Object.defineProperty(t,"p0",{enumerable:!0,get:function(){return o.NextSSRApolloClient}}),n(84635);var a=n(65924);Object.defineProperty(t,"a4",{enumerable:!0,get:function(){return a.SSRMultipartLink}}),n(37610),n(58269),n(79482)},14340:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.registerLateInitializingQueue=void 0,t.registerLateInitializingQueue=function(e,t){if("undefined"!=typeof window){let n=window[e]||[];Array.isArray(n)&&(window[e]={push:(...e)=>{for(let n of e)t(n)}},window[e].push(...n))}}},79482:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetNextSSRApolloSingletons=void 0;let r=n(60430),i=n(23601);t.resetNextSSRApolloSingletons=function(){delete window[i.ApolloRehydrationCache],delete window[i.ApolloResultCache],delete window[i.ApolloSSRDataTransport],delete window[i.ApolloBackgroundQueryTransport],delete window[r.ApolloClientSingleton]}},98392:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.useTransportValue=void 0;let r=n(58836),i=n(23601),o=n(47888);t.useTransportValue=function(e){let t=(0,r.useId)(),[n,a]=(0,r.useState)(!1);(0,r.useEffect)(()=>a(!0),[]);let s=(0,o.useRehydrationContext)();if("undefined"==typeof window)s&&(s.transportValueData[t]=e);else{let r=window[i.ApolloRehydrationCache];r&&(n&&delete r[t],t in r&&(e=r[t]))}return e}},51242:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.htmlEscapeJsonString=t.ESCAPE_REGEX=void 0;let n={"&":"\\u0026",">":"\\u003e","<":"\\u003c","\u2028":"\\u2028","\u2029":"\\u2029"};t.ESCAPE_REGEX=/[&><\u2028\u2029]/g,t.htmlEscapeJsonString=function(e){return e.replace(t.ESCAPE_REGEX,e=>n[e])}},64520:function(e,t,n){"use strict";t.OO=void 0,n(82816),n(98878),n(91591),t.OO=function(e){let t=Promise.resolve(e.loadManifest()).then(e=>{let t=new Map;return e.operations.forEach(({name:e,id:n})=>{t.set(e,n)}),t});return t.catch(()=>{}),{generateHash:async function(e){let n=await t,r=null;for(let t of e.definitions)if("OperationDefinition"===t.kind){if(!t.name)throw Error("Anonymous operations are not supported by generatePersistedQueryIdsFromManifest");if(null!==r)throw Error("Multi-operation GraphQL documents are not supported by generatePersistedQueryIdsFromManifest");r=t.name.value}if(null===r)throw Error("Documents without operations are not supported by generatePersistedQueryIdsFromManifest");let i=n.get(r);if(void 0===i)throw Error(`Operation ${r} not found in manifest`);return i},disable:()=>!1}}},23255:function(e,t,n){"use strict";n.d(t,{q:function(){return Q}});var r,i,o,a=(i=function(e,t){return(i=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),s=function(){function e(){}return e.prototype.createGauge=function(e,t){return b},e.prototype.createHistogram=function(e,t){return _},e.prototype.createCounter=function(e,t){return g},e.prototype.createUpDownCounter=function(e,t){return E},e.prototype.createObservableGauge=function(e,t){return T},e.prototype.createObservableCounter=function(e,t){return w},e.prototype.createObservableUpDownCounter=function(e,t){return I},e.prototype.addBatchObservableCallback=function(e,t){},e.prototype.removeBatchObservableCallback=function(e){},e}(),u=function(){},c=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.add=function(e,t){},t}(u),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.add=function(e,t){},t}(u),f=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.record=function(e,t){},t}(u),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t.prototype.record=function(e,t){},t}(u),d=function(){function e(){}return e.prototype.addCallback=function(e){},e.prototype.removeCallback=function(e){},e}(),h=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(d),y=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(d),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return a(t,e),t}(d),m=new s,g=new c,b=new f,_=new p,E=new l,w=new h,T=new y,I=new v,O=new(function(){function e(){}return e.prototype.getMeter=function(e,t,n){return m},e}()),S="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof n.g?n.g:{},N="1.9.0",k=/^(\d+)\.(\d+)\.(\d+)(-(.+))?$/,D=function(e){var t=new Set([e]),n=new Set,r=e.match(k);if(!r)return function(){return!1};var i={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};if(null!=i.prerelease)return function(t){return t===e};
1function o(e){return n.add(e),!1}return function(e){if(t.has(e))return!0;if(n.has(e))return!1;var r=e.match(k);if(!r)return o(e);var a={major:+r[1],minor:+r[2],patch:+r[3],prerelease:r[4]};return null!=a.prerelease||i.major!==a.major?o(e):0===i.major?i.minor===a.minor&&i.patch<=a.patch?(t.add(e),!0):o(e):i.minor<=a.minor?(t.add(e),!0):o(e)}}(N),R=Symbol.for("opentelemetry.js.api."+N.split(".")[0]);function A(e,t,n,r){void 0===r&&(r=!1);var i,o=S[R]=null!==(i=S[R])&&void 0!==i?i:{version:N};if(!r&&o[e]){var a=Error("@opentelemetry/api: Attempted duplicate registration of API: "+e);return n.error(a.stack||a.message),!1}if(o.version!==N){var a=Error("@opentelemetry/api: Registration of version v"+o.version+" for "+e+" does not match previously registered API v"+N);return n.error(a.stack||a.message),!1}return o[e]=t,n.debug("@opentelemetry/api: Registered a global for "+e+" v"+N+"."),!0}function F(e){var t,n,r=null===(t=S[R])||void 0===t?void 0:t.version;if(r&&D(r))return null===(n=S[R])||void 0===n?void 0:n[e]}function x(e,t){t.debug("@opentelemetry/api: Unregistering a global for "+e+" v"+N+".");var n=S[R];n&&delete n[e]}var C=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},j=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},L=function(){function e(e){this._namespace=e.namespace||"DiagComponentLogger"}return e.prototype.debug=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return P("debug",this._namespace,e)},e.prototype.error=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return P("error",this._namespace,e)},e.prototype.info=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return P("info",this._namespace,e)},e.prototype.warn=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return P("warn",this._namespace,e)},e.prototype.verbose=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return P("verbose",this._namespace,e)},e}();function P(e,t,n){var r=F("diag");if(r)return n.unshift(t),r[e].apply(r,j([],C(n),!1))}(r=o||(o={}))[r.NONE=0]="NONE",r[r.ERROR=30]="ERROR",r[r.WARN=50]="WARN",r[r.INFO=60]="INFO",r[r.DEBUG=70]="DEBUG",r[r.VERBOSE=80]="VERBOSE",r[r.ALL=9999]="ALL";var M=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},V=function(e,t,n){if(n||2==arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))},$=function(){function e(){function e(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];var r=F("diag");if(r)return r[e].apply(r,V([],M(t),!1))}}var t=this;t.setLogger=function(e,n){if(void 0===n&&(n={logLevel:o.INFO}),e===t){var r,i,a,s=Error("Cannot use diag as the logger for itself. Please use a DiagLogger implementation like ConsoleDiagLogger or a custom implementation");return t.error(null!==(r=s.stack)&&void 0!==r?r:s.message),!1}"number"==typeof n&&(n={logLevel:n});var u=F("diag"),c=function(e,t){function n(n,r){var i=t[n];return"function"==typeof i&&e>=r?i.bind(t):function(){}}return e<o.NONE?e=o.NONE:e>o.ALL&&(e=o.ALL),t=t||{},{error:n("error",o.ERROR),warn:n("warn",o.WARN),info:n("info",o.INFO),debug:n("debug",o.DEBUG),verbose:n("verbose",o.VERBOSE)}}(null!==(i=n.logLevel)&&void 0!==i?i:o.INFO,e);if(u&&!n.suppressOverrideMessage){var l=null!==(a=Error().stack)&&void 0!==a?a:"<failed to generate stacktrace>";u.warn("Current logger will be overwritten from "+l),c.warn("Current logger will over
1write one already registered from "+l)}return A("diag",c,t,!0)},t.disable=function(){x("diag",t)},t.createComponentLogger=function(e){return new L(e)},t.verbose=e("verbose"),t.debug=e("debug"),t.info=e("info"),t.warn=e("warn"),t.error=e("error")}return e.instance=function(){return this._instance||(this._instance=new e),this._instance},e}(),U="metrics",Q=(function(){function e(){}return e.getInstance=function(){return this._instance||(this._instance=new e),this._instance},e.prototype.setGlobalMeterProvider=function(e){return A(U,e,$.instance())},e.prototype.getMeterProvider=function(){return F(U)||O},e.prototype.getMeter=function(e,t,n){return this.getMeterProvider().getMeter(e,t,n)},e.prototype.disable=function(){x(U,$.instance())},e})().getInstance()},8804:function(e,t,n){"use strict";n.d(t,{B:function(){return o}});class r{constructor(){this._storage={}}getItem(e){return this._storage[e]}setItem(e,t){this._storage[e]=t}removeItem(e){delete this._storage[e]}clear(){this._storage={}}}class i{constructor(){this._storage=new r}readAsync(e){return Promise.resolve(this.readSync(e))}readSync(e){let t=this._storage.getItem(e);return t?String(t):void 0}writeAsync(e,t,n){try{return this.writeSync(e,t,n),Promise.resolve()}catch(e){return Promise.reject(e)}}writeSync(e,t,n){let r=!0===n&&this._storage.getItem(e)||"";this._storage.setItem(e,r+t)}removeAsync(e){return Promise.resolve(this.removeSync(e))}removeSync(e){return this._storage.removeItem(e)}clearAsync(){return Promise.resolve(this._storage.clear())}}class o extends i{constructor(e,t){super(),this._browserStorageProvider=t||window,this._isStorageAccessible(e)&&(this._storage=this._getStorageObject(e))}_isStorageAccessible(e){try{let t="uCgI2raDsb",n=this._getStorageObject(e);return n.setItem(t,"55"),n.removeItem(t),!0}catch(e){return!1}}_getStorageObject(e){return 0===e?this._browserStorageProvider.sessionStorage:this._browserStorageProvider.localStorage}}},73367:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});var r=n(16200),i=n(78941);class o{constructor(e){this._logger=new i.k,this._loggerTag="NetworkStatusMonitor",this._networkStatusMonitorConfig=e}hasNetworkConnection(){return Promise.resolve(navigator.onLine)}async canConnectToServer(){var e,t;let n=null===(e=this._networkStatusMonitorConfig)||void 0===e?void 0:e.networkStatusCheckUrl;if(void 0!==n)try{let e=null===(t=this._networkStatusMonitorConfig)||void 0===t?void 0:t.networkStatusCheckTimeoutMs,r=fetch(n,{method:"GET",mode:"no-cors"}),i=await (e&&Promise.race?Promise.race([r,new Promise((t,n)=>setTimeout(()=>n(Error("Timeout")),e))]):r);if(0===i.status||i.status>=200&&i.status<=299||i.status>=400&&i.status<600)return!0;return!1}catch(e){return this._logger.w(this._loggerTag,`Connection to server has failed ${e}`),!1}throw this._logger.w(this._loggerTag,"No server URL provided"),Error("Misconfiguration issue: no server URL provided in networkStatusMonitorConfig")}observeConnectionToServer(){return new r.y(e=>e.next(!0))}stopObservingConnectionToServer(){}}},26259:function(e){var t;t=function(){return function(e,t,n){t.prototype.isToday=function(){var e="YYYY-MM-DD",t=n();return this.format(e)===t.format(e)}}},e.exports=t()},35977:function(e){var t;t=function(){return function(e,t,n){t.prototype.isTomorrow=function(){var e="YYYY-MM-DD",t=n().add(1,"day");return this.format(e)===t.format(e)}}},e.exports=t()},20913:function(e){var t;t=function(){return function(e,t,n){t.prototype.isYesterday=function(){var e="YYYY-MM-DD",t=n().subtract(1,"day");return this.format(e)===t.format(e)}}},e.exports=t()},23002:function(e){var t;t=function(){return(function e(t,n,r){function i(a,s){if(!n[a]){if(!t[a]){if(o)return o(a,!0);throw Error("Cannot find module '"+a+"'")}s=n[a]={exports:{}},t[a][0].call(s.exports,function(e){return i(t[a][1][e]||e)},s,s.exports,e,t,n,r)}return n[a].exports}for(var o=void 0,a=0;a<r.length;a++)i(r[a]);return i})({1:[function(e,t,n){(function(r,i,o,a,s,u,c,l,f){"use strict";var p=e("crypto");function d(e,t){var n;return void 0===(n="passthrough"!==(t=v(e,t)).algorithm?p.createHash(t.algorithm):new b).write&&(n.write=n.update,
1n.end=n.update),g(t,n).dispatch(e),n.update||n.end(""),n.digest?n.digest("buffer"===t.encoding?void 0:t.encoding):(e=n.read(),"buffer"!==t.encoding?e.toString(t.encoding):e)}(n=t.exports=d).sha1=function(e){return d(e)},n.keys=function(e){return d(e,{excludeValues:!0,algorithm:"sha1",encoding:"hex"})},n.MD5=function(e){return d(e,{algorithm:"md5",encoding:"hex"})},n.keysMD5=function(e){return d(e,{algorithm:"md5",encoding:"hex",excludeValues:!0})};var h=p.getHashes?p.getHashes().slice():["sha1","md5"],y=(h.push("passthrough"),["buffer","hex","binary","base64"]);function v(e,t){var n={};if(n.algorithm=(t=t||{}).algorithm||"sha1",n.encoding=t.encoding||"hex",n.excludeValues=!!t.excludeValues,n.algorithm=n.algorithm.toLowerCase(),n.encoding=n.encoding.toLowerCase(),n.ignoreUnknown=!0===t.ignoreUnknown,n.respectType=!1!==t.respectType,n.respectFunctionNames=!1!==t.respectFunctionNames,n.respectFunctionProperties=!1!==t.respectFunctionProperties,n.unorderedArrays=!0===t.unorderedArrays,n.unorderedSets=!1!==t.unorderedSets,n.unorderedObjects=!1!==t.unorderedObjects,n.replacer=t.replacer||void 0,n.excludeKeys=t.excludeKeys||void 0,void 0===e)throw Error("Object argument required.");for(var r=0;r<h.length;++r)h[r].toLowerCase()===n.algorithm.toLowerCase()&&(n.algorithm=h[r]);if(-1===h.indexOf(n.algorithm))throw Error('Algorithm "'+n.algorithm+'"  not supported. supported values: '+h.join(", "));if(-1===y.indexOf(n.encoding)&&"passthrough"!==n.algorithm)throw Error('Encoding "'+n.encoding+'"  not supported. supported values: '+y.join(", "));return n}function m(e){if("function"==typeof e)return null!=/^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(e))}function g(e,t,n){function r(e){return t.update?t.update(e,"utf8"):t.write(e,"utf8")}return n=n||[],{dispatch:function(t){return this["_"+(null===(t=e.replacer?e.replacer(t):t)?"null":typeof t)](t)},_object:function(t){var i,a=Object.prototype.toString.call(t),s=/\[object (.*)\]/i.exec(a);if(s=(s=s?s[1]:"unknown:["+a+"]").toLowerCase(),0<=(a=n.indexOf(t)))return this.dispatch("[CIRCULAR:"+a+"]");if(n.push(t),void 0!==o&&o.isBuffer&&o.isBuffer(t))return r("buffer:"),r(t);if("object"===s||"function"===s||"asyncfunction"===s)return a=Object.keys(t),e.unorderedObjects&&(a=a.sort()),!1===e.respectType||m(t)||a.splice(0,0,"prototype","__proto__","constructor"),e.excludeKeys&&(a=a.filter(function(t){return!e.excludeKeys(t)})),r("object:"+a.length+":"),i=this,a.forEach(function(n){i.dispatch(n),r(":"),e.excludeValues||i.dispatch(t[n]),r(",")});if(!this["_"+s]){if(e.ignoreUnknown)return r("["+s+"]");throw Error('Unknown object type "'+s+'"')}this["_"+s](t)},_array:function(t,i){i=void 0!==i?i:!1!==e.unorderedArrays;var o=this;if(r("array:"+t.length+":"),!i||t.length<=1)return t.forEach(function(e){return o.dispatch(e)});var a=[],i=t.map(function(t){var r=new b,i=n.slice();return g(e,r,i).dispatch(t),a=a.concat(i.slice(n.length)),r.read().toString()});return n=n.concat(a),i.sort(),this._array(i,!1)},_date:function(e){return r("date:"+e.toJSON())},_symbol:function(e){return r("symbol:"+e.toString())},_error:function(e){return r("error:"+e.toString())},_boolean:function(e){return r("bool:"+e.toString())},_string:function(e){r("string:"+e.length+":"),r(e.toString())},_function:function(t){r("fn:"),m(t)?this.dispatch("[native]"):this.dispatch(t.toString()),!1!==e.respectFunctionNames&&this.dispatch("function-name:"+String(t.name)),e.respectFunctionProperties&&this._object(t)},_number:function(e){return r("number:"+e.toString())},_xml:function(e){return r("xml:"+e.toString())},_null:function(){return r("Null")},_undefined:function(){return r("Undefined")},_regexp:function(e){return r("regex:"+e.toString())},_uint8array:function(e){return r("uint8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint8clampedarray:function(e){return r("uint8clampedarray:"),this.dispatch(Array.prototype.slice.call(e))},_int8array:function(e){return r("int8array:"),this.dispatch(Array.prototype.slice.call(e))},_uint16array:function(e){return r("uint16array:"),this.dispatch(Array.prototype.slice.call(e))},_int16array:function(e){return r("int16array:"),this.dispatch(Array.prototype.slice.call(e))},_uint32array:function(e){return r("uint32array:"),this.dispatch(Array.prototype.slice.call(e))},_int32array:function(e){return r("int32array:"),this.dispatch(Array.prototype.slice.call(e))},_float32array:function(e){return r("float32array:"),this.dispatch(Array.prototype.slice.call(e))},_float64array:function(e){return r("float64array:"),this.dispatch(Array.prototype.slice.call(e))},_arraybuffer:function(e){return r("arraybuffer:"),this.dispatch(new Uint8Array(e))},_url:function(e){return r("url:"+e.toString())},_map:function(t){return r("map:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_set:function(t){return r("set:"),t=Array.from(t),this._array(t,!1!==e.unorderedSets)},_file:function(e){return r("file:"),this.dispatch([e.name,e.size,e.type,e.lastModfied])},_blob:function(){if(e.ignoreUnknown)return r("[blob]");throw Error('Hashing Blob objects is currently not supported\n(see https://github.com/puleos/object-hash/issues/26)\nUse "options.replacer" or "options.ignoreUnknown"\n')},_domwindow:function(){return r("domwindow")},_bigint:function(e){return r("bigint:"+e.toString())},_process:function(){return r("process")},_timer:function(){return r("timer")},_pipe:function(){return r("pipe")},_tcp:function(){return r("tcp")},_udp:function(){return r("udp")},_tty:function(){return r("tty")},_statwatcher:function(){return r("statwatcher")},_securecontext:function(){return r("securecontext")},_connection:function(){return r("connection")},_zlib:function(){return r("zlib")},_context:function(){return r("context")},_nodescript:function(){return r("nodescript")},_httpparser:function(){return r("httpparser")},_dataview:function(){return r("dataview")},_signal:function(){return r("signal")},_fsevent:function(){return r("fsevent")},_tlswrap:function(){return r("tlswrap")}}}function b(){return{buf:"",write:function(e){this.buf+=e},end:function(e){this.buf+=e},read:function(){return this.buf}}}n.writeToStream=function(e,t,n){return void 0===n&&(n=t,t={}),g(t=v(e,t),n).dispatch(e)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/fake_9a5aa49d.js","/")},{buffer:3,crypto:5,lYpoI2:11}],2:[function(e,t,n){(function(e,t,r,i,o,a,s,u,c){!function(e){"use strict";var t="undefined"!=typeof Uint8Array?Uint8Array:Array;function n(e){return 43===(e=e.charCodeAt(0))||45===e?62:47===e||95===e?63:e<48?-1:e<58?e-48+26+26:e<91?e-65:e<123?e-97+26:void 0}e.toByteArray=function(e){if(0<e.length%4)throw Error("Invalid string. Length must be a multiple of 4");var r,i,o=e.length,o="="===e.charAt(o-2)?2:"="===e.charAt(o-1)?1:0,a=new t(3*e.length/4-o),s=0<o?e.length-4:e.length,u=0;function c(e){a[u++]=e}for(r=0;r<s;r+=4)c((16711680&(i=n(e.charAt(r))<<18|n(e.charAt(r+1))<<12|n(e.charAt(r+2))<<6|n(e.charAt(r+3))))>>16),c((65280&i)>>8),c(255&i);return 2==o?c(255&(i=n(e.charAt(r))<<2|n(e.charAt(r+1))>>4)):1==o&&(c((i=n(e.charAt(r))<<10|n(e.charAt(r+1))<<4|n(e.charAt(r+2))>>2)>>8&255),c(255&i)),a},e.fromByteArray=function(e){var t,n,r,i,o=e.length%3,a="";function s(e){return"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789
1+/".charAt(e)}for(t=0,r=e.length-o;t<r;t+=3)a+=s((i=n=(e[t]<<16)+(e[t+1]<<8)+e[t+2])>>18&63)+s(i>>12&63)+s(i>>6&63)+s(63&i);switch(o){case 1:a=(a+=s((n=e[e.length-1])>>2))+s(n<<4&63)+"==";break;case 2:a=(a=(a+=s((n=(e[e.length-2]<<8)+e[e.length-1])>>10))+s(n>>4&63))+s(n<<2&63)+"="}return a}}(void 0===n?this.base64js={}:n)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/base64-js/lib/b64.js","/node_modules/gulp-browserify/node_modules/base64-js/lib")},{buffer:3,lYpoI2:11}],3:[function(e,t,n){(function(t,r,i,o,a,s,u,c,l){var f=e("base64-js"),p=e("ieee754");function i(e,t,n){if(!(this instanceof i))return new i(e,t,n);var r,o,a,s,u=typeof e;if("base64"===t&&"string"==u)for(e=(s=e).trim?s.trim():s.replace(/^\s+|\s+$/g,"");e.length%4!=0;)e+="=";if("number"==u)r=N(e);else if("string"==u)r=i.byteLength(e,t);else{if("object"!=u)throw Error("First argument needs to be a number, array or string.");r=N(e.length)}if(i._useTypedArrays?o=i._augment(new Uint8Array(r)):((o=this).length=r,o._isBuffer=!0),i._useTypedArrays&&"number"==typeof e.byteLength)o._set(e);else if(k(s=e)||i.isBuffer(s)||s&&"object"==typeof s&&"number"==typeof s.length)for(a=0;a<r;a++)i.isBuffer(e)?o[a]=e.readUInt8(a):o[a]=e[a];else if("string"==u)o.write(e,0,t);else if("number"==u&&!i._useTypedArrays&&!n)for(a=0;a<r;a++)o[a]=0;return o}function d(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=t,"missing offset"),P(t+1<e.length,"Trying to read beyond buffer length"));var i,r=e.length;if(!(r<=t))return n?(i=e[t],t+1<r&&(i|=e[t+1]<<8)):(i=e[t]<<8,t+1<r&&(i|=e[t+1])),i}function h(e,t,n,r){r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=t,"missing offset"),P(t+3<e.length,"Trying to read beyond buffer length"));var i,r=e.length;if(!(r<=t))return n?(t+2<r&&(i=e[t+2]<<16),t+1<r&&(i|=e[t+1]<<8),i|=e[t],t+3<r&&(i+=e[t+3]<<24>>>0)):(t+1<r&&(i=e[t+1]<<16),t+2<r&&(i|=e[t+2]<<8),t+3<r&&(i|=e[t+3]),i+=e[t]<<24>>>0),i}function y(e,t,n,r){if(r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=t,"missing offset"),P(t+1<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 32768&(r=d(e,t,n,!0))?-1*(65535-r+1):r}function v(e,t,n,r){if(r||(P("boolean"==typeof n,"missing or invalid endian"),P(null!=t,"missing offset"),P(t+3<e.length,"Trying to read beyond buffer length")),!(e.length<=t))return 2147483648&(r=h(e,t,n,!0))?-1*(4294967295-r+1):r}function m(e,t,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(t+3<e.length,"Trying to read beyond buffer length")),p.read(e,t,n,23,4)}function g(e,t,n,r){return r||(P("boolean"==typeof n,"missing or invalid endian"),P(t+7<e.length,"Trying to read beyond buffer length")),p.read(e,t,n,52,8)}function b(e,t,n,r,i){if(i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+1<e.length,"trying to write beyond buffer length"),C(t,65535)),!((i=e.length)<=n))for(var o=0,a=Math.min(i-n,2);o<a;o++)e[n+o]=(t&255<<8*(r?o:1-o))>>>8*(r?o:1-o)}function _(e,t,n,r,i){if(i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3<e.length,"trying to write beyond buffer length"),C(t,4294967295)),!((i=e.length)<=n))for(var o=0,a=Math.min(i-n,4);o<a;o++)e[n+o]=t>>>8*(r?o:3-o)&255}function E(e,t,n,r,i){i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+1<e.length,"Trying to write beyond buffer length"),j(t,32767,-32768)),e.length<=n||b(e,0<=t?t:65535+t+1,n,r,i)}function w(e,t,n,r,i){i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3<e.length,"Trying to write beyond buffer length"),j(t,2147483647,-2147483648)),e.length<=n||_(e,0<=t?t:4294967295+t+1,n,r,i)}function T(e,t,n,r,i){i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+3<e.length,"Trying to write beyond buffer length"),L(t,34028234663852886e22,-34028234663852886e22)),e.length<=n||p.write(e,t,n,r,23,4)}function I(e,t,n,r,i){i||(P(null!=t,"missing value"),P("boolean"==typeof r,"missing or invalid endian"),P(null!=n,"missing offset"),P(n+7<e.length,"Trying to write beyond buffer length"),L(t,17976931348623157e292,-17976931348623157e292)),e.length<=n||p.write(e,t,n,r,52,8)}n.Buffer=i,n.SlowBuffer=i,n.INSPECT_MAX_BYTES=50,i.poolSize=8192,i._useTypedArrays=function(){try{var e=new ArrayBuffer(0),t=new Uint8Array(e);return t.foo=function(){return 42},42===t.foo()&&"function"==typeof t.subarray}catch(e){return!1}}(),i.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"binary":case"base64":case"raw":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},i.isBuffer=function(e){return!(null==e||!e._isBuffer)},i.byteLength=function(e,t){var n;switch(e+="",t||"utf8"){case"hex":n=e.length/2;break;case"utf8":case"utf-8":n=R(e).length;break;case"ascii":case"binary":case"raw":n=e.length;break;case"base64":n=A(e).length;break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":n=2*e.length;break;default:throw Error("Unknown encoding")}return n}
1,i.concat=function(e,t){if(P(k(e),"Usage: Buffer.concat(list, [totalLength])\nlist should be an Array."),0===e.length)return new i(0);if(1===e.length)return e[0];if("number"!=typeof t)for(o=t=0;o<e.length;o++)t+=e[o].length;for(var n=new i(t),r=0,o=0;o<e.length;o++){var a=e[o];a.copy(n,r),r+=a.length}return n},i.prototype.write=function(e,t,n,r){isFinite(t)?isFinite(n)||(r=n,n=void 0):(d=r,r=t,t=n,n=d),t=Number(t)||0;var o,a,s,u,c,l,f,p,d=this.length-t;switch((!n||d<(n=Number(n)))&&(n=d),r=String(r||"utf8").toLowerCase()){case"hex":c=function(e,t,n,r){n=Number(n)||0;var o=e.length-n;(!r||o<(r=Number(r)))&&(r=o),P((o=t.length)%2==0,"Invalid hex string"),o/2<r&&(r=o/2);for(var a=0;a<r;a++){var s=parseInt(t.substr(2*a,2),16);P(!isNaN(s),"Invalid hex string"),e[n+a]=s}return i._charsWritten=2*a,a}(this,e,t,n);break;case"utf8":case"utf-8":l=this,f=t,p=n,c=i._charsWritten=F(R(e),l,f,p);break;case"ascii":case"binary":o=t,a=n,c=i._charsWritten=F(function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t}(e),this,o,a);break;case"base64":l=this,f=t,p=n,c=i._charsWritten=F(A(e),l,f,p);break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":s=t,u=n,c=i._charsWritten=F(function(e){for(var t,n,r=[],i=0;i<e.length;i++)t=(n=e.charCodeAt(i))>>8,r.push(n%=256),r.push(t);return r}(e),this,s,u);break;default:throw Error("Unknown encoding")}return c},i.prototype.toString=function(e,t,n){var r,i,o;if(e=String(e||"utf8").toLowerCase(),t=Number(t)||0,(n=void 0!==n?Number(n):this.length)===t)return"";switch(e){case"hex":r=function(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||r<n)&&(n=r);for(var i="",o=t;o<n;o++)i+=D(e[o]);return i}(this,t,n);break;case"utf8":case"utf-8":r=function(e,t,n){var r="",i="";n=Math.min(e.length,n);for(var o=t;o<n;o++)e[o]<=127?(r+=x(i)+String.fromCharCode(e[o]),i=""):i+="%"+e[o].toString(16);return r+x(i)}(this,t,n);break;case"ascii":case"binary":r=function(e,t,n){var r="";n=Math.min(e.length,n);for(var i=t;i<n;i++)r+=String.fromCharCode(e[i]);return r}(this,t,n);break;case"base64":o=n,r=0===(i=t)&&o===this.length?f.fromByteArray(this):f.fromByteArray(this.slice(i,o));break;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":r=function(e,t,n){for(var r=e.slice(t,n),i="",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}(this,t,n);break;default:throw Error("Unknown encoding")}return r},i.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}},i.prototype.copy=function(e,t,n,r){if(t=t||0,(r=r||0===r?r:this.length)!==(n=n||0)&&0!==e.length&&0!==this.length){P(n<=r,"sourceEnd < sourceStart"),P(0<=t&&t<e.length,"targetStart out of bounds"),P(0<=n&&n<this.length,"sourceStart out of bounds"),P(0<=r&&r<=this.length,"sourceEnd out of bounds"),r>this.length&&(r=this.length);var o=(r=e.length-t<r-n?e.length-t+n:r)-n;if(o<100||!i._useTypedArrays)for(var a=0;a<o;a++)e[a+t]=this[a+n];else e._set(this.subarray(n,n+o),t)}},i.prototype.slice=function(e,t){var n=this.length;if(e=S(e,n,0),t=S(t,n,n),i._useTypedArrays)return i._augment(this.subarray(e,t));for(var r=t-e,o=new i(r,void 0,!0),a=0;a<r;a++)o[a]=this[a+e];return o},i.prototype.get=function(e){return console.log(".get() is deprecated. Access using array indexes instead."),this.readUInt8(e)},i.prototype.set=function(e,t){return console.log(".set() is deprecated. Access using array indexes instead."),this.writeUInt8(e,t)},i.prototype.readUInt8=function(e,t){if(t||(P(null!=e,"missing offset"),P(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return this[e]},i.prototype.readUInt16LE=function(e,t){return d(this,e,!0,t)},i.prototype.readUInt16BE=function(e,t){return d(this,e,!1,t)},i.prototype.readUInt32LE=function(e,t){return h(this,e,!0,t)},i.prototype.readUInt32BE=function(e,t){return h(this,e,!1,t)},i.prototype.readInt8=function(e,t){if(t||(P(null!=e,"missing offset"),P(e<this.length,"Trying to read beyond buffer length")),!(e>=this.length))return 128&this[e]?-1*(255-this[e]+1):this[e]},i.prototype.readInt16LE=function(e,t){return y(this,e,!0,t)},i.prototype.readInt16BE=function(e,t){return y(this,e,!1,t)},i.prototype.readInt32LE=function(e,t){return v(this,e,!0,t)},i.prototype.readInt32BE=function(e,t){return v(this,e,!1,t)},i.prototype.readFloatLE=function(e,t){return m(this,e,!0,t)},i.prototype.readFloatBE=function(e,t){return m(this,e,!1,t)},i.prototype.readDoubleLE=function(e,t){return g(this,e,!0,t)},i.prototype.readDoubleBE=function(e,t){return g(this,e,!1,t)},i.prototype.writeUInt8=function(e,t,n){n||(P(null!=e,"missing value"),P(null!=t,"missing offset"),P(t<this.length,"trying to write beyond buffer length"),C(e,255)),t>=this.length||(this[t]=e)},i.prototype.writeUInt16LE=function(e,t,n){b(this,e,t,!0,n)},i.prototype.writeUInt16BE=function(e,t,n){b(this,e,t,!1,n)},i.prototype.writeUInt32LE=function(e,t,n){_(this,e,t,!0,n)},i.prototype.writeUInt32BE=function(e,t,n){_(this,e,t,!1,n)},i.prototype.writeInt8=function(e,t,n){n||(P(null!=e,"missing value"),P(null!=t,"missing offset"),P(t<this.length,"Trying to write beyond buffer length"),j(e,127,-128)),t>=this.length||(0<=e?this.writeUInt8(e,t,n):this.writeUInt8(255+e+1,t,n))},i.prototype.writeInt16LE=function(e,t,n){E(this,e,t,!0,n)},i.prototype.writeInt16BE=function(e,t,n){E(this,e,t,!1,n)},i.prototype.writeInt32LE=function(e,t,n){w(this,e,t,!0,n)},i.prototype.writeInt32BE=function(e,t,n){w(this,e,t,!1,n)},i.prototype.writeFloatLE=function(e,t,n){T(this,e,t,!0,n)},i.prototype.writeFloatBE=function(e,t,n){T(this,e,t,!1,n)},i.prototype.writeDoubleLE=function(e,t,n){I(this,e,t,!0,n)},i.prototype.writeDoubleBE=function(e,t,n){I(this,e,t,!1,n)},i.prototype.fill=function(e,t,n){if(t=t||0,n=n||this.length,P("number"==typeof(e="string"==typeof(e=e||0)?e.charCodeAt(0):e)&&!isNaN(e),"value is not a number"),P(t<=n,"end < start"),n!==t&&0!==this.length){P(0<=t&&t<this.length,"start out of bounds"),P(0<=n&&n<=this.length,"end out of bounds");for(var r=t;r<n;r++)this[r]=e}},i.prototype.inspect=function(){for(var e=[],t=this.length,r=0;r<t;r++)if(e[r]=D(this[r]),r===n.INSPECT_MAX_BYTES){e[r+1]="...";break}return"<Buffer "+e.join(" ")+">"},i.prototype.toArrayBuffer=function(){if("undefined"==typeof Uint8Array)throw Error("Buffer.toArrayBuffer not supported in this browser");if(i._useTypedArrays)return new i(this).buffer;for(var e=new Uint8Array(this.length),t=0,n=e.length;t<n;t+=1)e[t]=this[t];return e.buffer};var O=i.prototype;function S(e,t,n){return"number"!=typeof e?n:t<=(e=~~e)?t:0<=e||0<=(e+=t)?e:0}function N(e){return(e=~~Math.ceil(+e))<0?0:e}function k(e){return(Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)})(e)}function D(e){return e<16?"0"+e.toString(16):e.toString(16)}function R(e){for(var t=[],n=0;n<e.length;n++){var r=e.charCodeAt(n);if(r<=127)t.push(e.charCodeAt(n));else for(var i=n,o=(55296<=r&&r<=57343&&n++,encodeURIComponent(e.slice(i,n+1)).substr(1).split("%")),a=0;a<o.length;a++)t.push(parseInt(o[a],16))}return t}function A(e){return f.toByteArray(e)}function F(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);i++)t[i+n]=e[i];return i}function x(e){try{return decodeURIComponent(e)}catch(e){return String.fromCharCode(65533)}}function C(e,t){P("number"==typeof e,"cannot write a non-number as a number"),P(0<=e,"specified a negative value for writing an unsigned value"),P(e<=t,"value is larger than maximum value for type"),P(Math.floor(e)===e,"value has a fractional component")}function j(e,t,n){P("number"==typeof e,"cannot write a non-number as a number"),P(e<=t,"value larger than maximum allowed value"),P(n<=e,"value smaller than minimum allowed value"),P(Math.floor(e)===e,"value has a fractional component")}function L(e,t,n){P("number"==typeof e,"cannot write a non-number as a number"),P(e<=t,"value larger than maximum allowed value"),P(n<=e,"value smaller than minimum allowed value")}function P(e,t){if(!e)throw Error(t||"Failed assertion")}i._augment=function(e){return e._isBuffer=!0,e._get=e.get,e._set=e.set,e.get=O.get,e.set=O.set,e.write=O.write,e.toString=O.toString,e.toLocaleStr
1ing=O.toString,e.toJSON=O.toJSON,e.copy=O.copy,e.slice=O.slice,e.readUInt8=O.readUInt8,e.readUInt16LE=O.readUInt16LE,e.readUInt16BE=O.readUInt16BE,e.readUInt32LE=O.readUInt32LE,e.readUInt32BE=O.readUInt32BE,e.readInt8=O.readInt8,e.readInt16LE=O.readInt16LE,e.readInt16BE=O.readInt16BE,e.readInt32LE=O.readInt32LE,e.readInt32BE=O.readInt32BE,e.readFloatLE=O.readFloatLE,e.readFloatBE=O.readFloatBE,e.readDoubleLE=O.readDoubleLE,e.readDoubleBE=O.readDoubleBE,e.writeUInt8=O.writeUInt8,e.writeUInt16LE=O.writeUInt16LE,e.writeUInt16BE=O.writeUInt16BE,e.writeUInt32LE=O.writeUInt32LE,e.writeUInt32BE=O.writeUInt32BE,e.writeInt8=O.writeInt8,e.writeInt16LE=O.writeInt16LE,e.writeInt16BE=O.writeInt16BE,e.writeInt32LE=O.writeInt32LE,e.writeInt32BE=O.writeInt32BE,e.writeFloatLE=O.writeFloatLE,e.writeFloatBE=O.writeFloatBE,e.writeDoubleLE=O.writeDoubleLE,e.writeDoubleBE=O.writeDoubleBE,e.fill=O.fill,e.inspect=O.inspect,e.toArrayBuffer=O.toArrayBuffer,e}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/buffer/index.js","/node_modules/gulp-browserify/node_modules/buffer")},{"base64-js":2,buffer:3,ieee754:10,lYpoI2:11}],4:[function(e,t,n){(function(n,r,i,o,a,s,u,c,l){var i=e("buffer").Buffer,f=new i(4);f.fill(0),t.exports={hash:function(e,t,n,r){for(var o=t(function(e,t){e.length%4!=0&&(n=e.length+(4-e.length%4),e=i.concat([e,f],n));for(var n,r=[],o=t?e.readInt32BE:e.readInt32LE,a=0;a<e.length;a+=4)r.push(o.call(e,a));return r}(e=i.isBuffer(e)?e:new i(e),r),8*e.length),t=r,a=new i(n),s=t?a.writeInt32BE:a.writeInt32LE,u=0;u<o.length;u++)s.call(a,o[u],4*u,!0);return a}}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],5:[function(e,t,n){(function(t,r,i,o,a,s,u,c,l){var i=e("buffer").Buffer,f=e("./sha"),p=e("./sha256"),d=e("./rng"),h={sha1:f,sha256:p,md5:e("./md5")},y=new i(64);function v(e,t){var n=h[e=e||"sha1"],r=[];return n||m("algorithm:",e,"is not yet supported"),{update:function(e){return i.isBuffer(e)||(e=new i(e)),r.push(e),e.length,this},digest:function(e){var o=i.concat(r),o=t?function(e,t,n){i.isBuffer(t)||(t=new i(t)),i.isBuffer(n)||(n=new i(n)),t.length>64?t=e(t):t.length<64&&(t=i.concat([t,y],64));for(var r=new i(64),o=new i(64),a=0;a<64;a++)r[a]=54^t[a],o[a]=92^t[a];return n=e(i.concat([r,n])),e(i.concat([o,n]))}(n,t,o):n(o);return r=null,e?o.toString(e):o}}}function m(){var e=[].slice.call(arguments).join(" ");throw Error([e,"we accept pull requests","http://github.com/dominictarr/crypto-browserify"].join("\n"))}y.fill(0),n.createHash=function(e){return v(e)},n.createHmac=v,n.randomBytes=function(e,t){if(!t||!t.call)return new i(d(e));try{t.call(this,void 0,new i(d(e)))}catch(e){t(e)}};var g,b=["createCredentials","createCipher","createCipheriv","createDecipher","createDecipheriv","createSign","createVerify","createDiffieHellman","pbkdf2"],_=function(e){n[e]=function(){m("sorry,",e,"is not implemented yet")}};for(g in b)_(b[g],g)}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/index.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./md5":6,"./rng":7,"./sha":8,"./sha256":9,buffer:3,lYpoI2:11}],6:[function(e,t,n){(function(n,r,i,o,a,s,u,c,l){var f=e("./helpers");function p(e,t){e[t>>5]|=128<<t%32,e[14+(t+64>>>9<<4)]=t;for(var n=1732584193,r=-271733879,i=-1732584194,o=271733878,a=0;a<e.length;a+=16){var s=n,u=r,c=i,l=o,n=h(n,r,i,o,e[a+0],7,-680876936),o=h(o,n,r,i,e[a+1],12,-389564586),i=h(i,o,n,r,e[a+2],17,606105819),r=h(r,i,o,n,e[a+3],22,-1044525330);n=h(n,r,i,o,e[a+4],7,-176418897),o=h(o,n,r,i,e[a+5],12,1200080426),i=h(i,o,n,r,e[a+6],17,-1473231341),r
1=h(r,i,o,n,e[a+7],22,-45705983),n=h(n,r,i,o,e[a+8],7,1770035416),o=h(o,n,r,i,e[a+9],12,-1958414417),i=h(i,o,n,r,e[a+10],17,-42063),r=h(r,i,o,n,e[a+11],22,-1990404162),n=h(n,r,i,o,e[a+12],7,1804603682),o=h(o,n,r,i,e[a+13],12,-40341101),i=h(i,o,n,r,e[a+14],17,-1502002290),n=y(n,r=h(r,i,o,n,e[a+15],22,1236535329),i,o,e[a+1],5,-165796510),o=y(o,n,r,i,e[a+6],9,-1069501632),i=y(i,o,n,r,e[a+11],14,643717713),r=y(r,i,o,n,e[a+0],20,-373897302),n=y(n,r,i,o,e[a+5],5,-701558691),o=y(o,n,r,i,e[a+10],9,38016083),i=y(i,o,n,r,e[a+15],14,-660478335),r=y(r,i,o,n,e[a+4],20,-405537848),n=y(n,r,i,o,e[a+9],5,568446438),o=y(o,n,r,i,e[a+14],9,-1019803690),i=y(i,o,n,r,e[a+3],14,-187363961),r=y(r,i,o,n,e[a+8],20,1163531501),n=y(n,r,i,o,e[a+13],5,-1444681467),o=y(o,n,r,i,e[a+2],9,-51403784),i=y(i,o,n,r,e[a+7],14,1735328473),n=v(n,r=y(r,i,o,n,e[a+12],20,-1926607734),i,o,e[a+5],4,-378558),o=v(o,n,r,i,e[a+8],11,-2022574463),i=v(i,o,n,r,e[a+11],16,1839030562),r=v(r,i,o,n,e[a+14],23,-35309556),n=v(n,r,i,o,e[a+1],4,-1530992060),o=v(o,n,r,i,e[a+4],11,1272893353),i=v(i,o,n,r,e[a+7],16,-155497632),r=v(r,i,o,n,e[a+10],23,-1094730640),n=v(n,r,i,o,e[a+13],4,681279174),o=v(o,n,r,i,e[a+0],11,-358537222),i=v(i,o,n,r,e[a+3],16,-722521979),r=v(r,i,o,n,e[a+6],23,76029189),n=v(n,r,i,o,e[a+9],4,-640364487),o=v(o,n,r,i,e[a+12],11,-421815835),i=v(i,o,n,r,e[a+15],16,530742520),n=m(n,r=v(r,i,o,n,e[a+2],23,-995338651),i,o,e[a+0],6,-198630844),o=m(o,n,r,i,e[a+7],10,1126891415),i=m(i,o,n,r,e[a+14],15,-1416354905),r=m(r,i,o,n,e[a+5],21,-57434055),n=m(n,r,i,o,e[a+12],6,1700485571),o=m(o,n,r,i,e[a+3],10,-1894986606),i=m(i,o,n,r,e[a+10],15,-1051523),r=m(r,i,o,n,e[a+1],21,-2054922799),n=m(n,r,i,o,e[a+8],6,1873313359),o=m(o,n,r,i,e[a+15],10,-30611744),i=m(i,o,n,r,e[a+6],15,-1560198380),r=m(r,i,o,n,e[a+13],21,1309151649),n=m(n,r,i,o,e[a+4],6,-145523070),o=m(o,n,r,i,e[a+11],10,-1120210379),i=m(i,o,n,r,e[a+2],15,718787259),r=m(r,i,o,n,e[a+9],21,-343485551),n=g(n,s),r=g(r,u),i=g(i,c),o=g(o,l)}return[n,r,i,o]}function d(e,t,n,r,i,o){return g((t=g(g(t,e),g(r,o)))<<i|t>>>32-i,n)}function h(e,t,n,r,i,o,a){return d(t&n|~t&r,e,t,i,o,a)}function y(e,t,n,r,i,o,a){return d(t&r|n&~r,e,t,i,o,a)}function v(e,t,n,r,i,o,a){return d(t^n^r,e,t,i,o,a)}function m(e,t,n,r,i,o,a){return d(n^(t|~r),e,t,i,o,a)}function g(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}t.exports=function(e){return f.hash(e,p,16)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],7:[function(e,t,n){(function(e,n,r,i,o,a,s,u,c){var l;t.exports=l||function(e){for(var t,n=Array(e),r=0;r<e;r++)0==(3&r)&&(t=4294967296*Math.random()),n[r]=t>>>((3&r)<<3)&255;return n}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{buffer:3,lYpoI2:11}],8:[function(e,t,n){(function(n,r,i,o,a,s,u,c,l){var f=e("./helpers");function p(e,t){e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var n,r,i,o=Array(80),a=1732584193,s=-271733879,u=-1732584194,c=271733878,l=-1009589776,f=0;f<e.length;f+=16){for(var p=a,y=s,v=u,m=c,g=l,b=0;b<80;b++){o[b]=b<16?e[f+b]:h(o[b-3]^o[b-8]^o[b-14]^o[b-16],1);var _=d(d(h(a,5),(_=s,r=u,i=c,(n=b)<20?_&r|~_&i:!(n<40)&&n<60?_&r|_&i|r&i:_^r^i)),d(d(l,o[b]),(n=b)<20?1518500249:n<40?1859775393:n<60?-1894007588:-899497514)),l=c,c=u,u=h(s,30),s=a,a=_}a=d(a,p),s=d(s,y),u=d(u,v),c=d(c,m),l=d(l,g)}return[a,s,u,c,l]}function d(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function h(e,t){return e<<t|e>>>32-t}t.exports=function(e){return f.hash(e,p,20,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],9:[function(e,t,n){(function(n,r,i,o,a,s,u,c,l){function f(e,t){var n=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(n>>16)<<16|65535&n}function p(e,t){var n,r=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756
1734187,3204031479,3329325298],i=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],o=Array(64);e[t>>5]|=128<<24-t%32,e[15+(t+64>>9<<4)]=t;for(var a,s,u=0;u<e.length;u+=16){for(var c=i[0],l=i[1],p=i[2],d=i[3],v=i[4],m=i[5],g=i[6],b=i[7],_=0;_<64;_++)o[_]=_<16?e[_+u]:f(f(f(h(s=o[_-2],17)^h(s,19)^y(s,10),o[_-7]),h(s=o[_-15],7)^h(s,18)^y(s,3)),o[_-16]),n=f(f(f(f(b,h(s=v,6)^h(s,11)^h(s,25)),v&m^~v&g),r[_]),o[_]),a=f(h(a=c,2)^h(a,13)^h(a,22),c&l^c&p^l&p),b=g,g=m,m=v,v=f(d,n),d=p,p=l,l=c,c=f(n,a);i[0]=f(c,i[0]),i[1]=f(l,i[1]),i[2]=f(p,i[2]),i[3]=f(d,i[3]),i[4]=f(v,i[4]),i[5]=f(m,i[5]),i[6]=f(g,i[6]),i[7]=f(b,i[7])}return i}var d=e("./helpers"),h=function(e,t){return e>>>t|e<<32-t},y=function(e,t){return e>>>t};t.exports=function(e){return d.hash(e,p,32,!0)}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js","/node_modules/gulp-browserify/node_modules/crypto-browserify")},{"./helpers":4,buffer:3,lYpoI2:11}],10:[function(e,t,n){(function(e,t,r,i,o,a,s,u,c){n.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,c=u>>1,l=-7,f=n?i-1:0,p=n?-1:1,i=e[t+f];for(f+=p,o=i&(1<<-l)-1,i>>=-l,l+=s;0<l;o=256*o+e[t+f],f+=p,l-=8);for(a=o&(1<<-l)-1,o>>=-l,l+=r;0<l;a=256*a+e[t+f],f+=p,l-=8);if(0===o)o=1-c;else{if(o===u)return a?NaN:1/0*(i?-1:1);a+=Math.pow(2,r),o-=c}return(i?-1:1)*a*Math.pow(2,o-r)},n.write=function(e,t,n,r,i,o){var a,s,u=8*o-i-1,c=(1<<u)-1,l=c>>1,f=23===i?5960464477539062e-23:0,p=r?0:o-1,d=r?1:-1,o=t<0||0===t&&1/t<0?1:0;for(isNaN(t=Math.abs(t))||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(r=Math.pow(2,-a))<1&&(a--,r*=2),2<=(t+=1<=a+l?f/r:f*Math.pow(2,1-l))*r&&(a++,r/=2),c<=a+l?(s=0,a=c):1<=a+l?(s=(t*r-1)*Math.pow(2,i),a+=l):(s=t*Math.pow(2,l-1)*Math.pow(2,i),a=0));8<=i;e[n+p]=255&s,p+=d,s/=256,i-=8);for(a=a<<i|s,u+=i;0<u;e[n+p]=255&a,p+=d,a/=256,u-=8);e[n+p-d]|=128*o}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/ieee754/index.js","/node_modules/gulp-browserify/node_modules/ieee754")},{buffer:3,lYpoI2:11}],11:[function(e,t,n){(function(e,n,r,i,o,a,s,u,c){var l,f,p;function d(){}(e=t.exports={}).nextTick=(f="undefined"!=typeof window&&window.setImmediate,p="undefined"!=typeof window&&window.postMessage&&window.addEventListener,f?function(e){return window.setImmediate(e)}:p?(l=[],window.addEventListener("message",function(e){var t=e.source;t!==window&&null!==t||"process-tick"!==e.data||(e.stopPropagation(),0<l.length&&l.shift()())},!0),function(e){l.push(e),window.postMessage("process-tick","*")}):function(e){setTimeout(e,0)}),e.title="browser",e.browser=!0,e.env={},e.argv=[],e.on=d,e.addListener=d,e.once=d,e.off=d,e.removeListener=d,e.removeAllListeners=d,e.emit=d,e.binding=function(e){throw Error("process.binding is not supported")},e.cwd=function(){return"/"},e.chdir=function(e){throw Error("process.chdir is not supported")}}).call(this,e("lYpoI2"),"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e("buffer").Buffer,arguments[3],arguments[4],arguments[5],arguments[6],"/node_modules/gulp-browserify/node_modules/process/browser.js","/node_modules/gulp-browserify/node_modules/process")},{buffer:3,lYpoI2:11}]},{},[1])(1)},e.exports=t()},57821:function(e,t,n){"use strict";n.r(t),n.d(t,{SuperJSON:function(){return ee},allowErrorProps:function(){return ec},default:function(){return et},deserialize:function(){return er},parse:function(){return eo},registerClass:function(){return ea},registerCustom:function(){return es},registerSymbol:function(){return eu},serialize:function(){return en},stringify:function(){return ei}});var r,i,o,a=function(){function e(){this.keyToValue=new Map,this.valueToKey=new Map}return e.prototype.set=function(e,t){this.keyToValue.set(e,t),this.valueToKey.set(t,e)},e.prototype.getByKey=function(e){return this.keyToValue.get(e)},e.prototype.getByValue=function(e){return this.valueToKey.get(e)},e.prototype.clear=function(){this.keyToValue.clear(),this.valueToKey.clear()},e}(),s=function(){function e(e){this.generateIdentifier=e,this.kv=new a}return e.prototype.register=function(e,t){this.kv.getByValue(e)||(t||(t=this.generateIdentifier(e)),this.kv.set(t,e))},e.prototype.clear=function(){this.kv.clear()},e.prototype.getIdentifier=function(e){return this.kv.getByValue(e)},e.prototype.getValue=function(e){return this.kv.getByKey(e)},e}(),u=(r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}
1)instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),c=function(e){function t(){var t=e.call(this,function(e){return e.name})||this;return t.classToAllowedProps=new Map,t}return u(t,e),t.prototype.register=function(t,n){"object"==typeof n?(n.allowProps&&this.classToAllowedProps.set(t,n.allowProps),e.prototype.register.call(this,t,n.identifier)):e.prototype.register.call(this,t,n)},t.prototype.getAllowedProps=function(e){return this.classToAllowedProps.get(e)},t}(s),l=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a};function f(e,t){Object.entries(e).forEach(function(e){var n=l(e,2),r=n[0];return t(n[1],r)})}function p(e,t){return -1!==e.indexOf(t)}function d(e,t){for(var n=0;n<e.length;n++){var r=e[n];if(t(r))return r}}var h=function(){function e(){this.transfomers={}}return e.prototype.register=function(e){this.transfomers[e.name]=e},e.prototype.findApplicable=function(e){return function(e,t){var n=function(e){if("values"in Object)return Object.values(e);var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push(e[n]);return t}(e);if("find"in n)return n.find(t);for(var r=0;r<n.length;r++){var i=n[r];if(t(i))return i}}(this.transfomers,function(t){return t.isApplicable(e)}
1)},e.prototype.findByName=function(e){return this.transfomers[e]},e}(),y=function(e){return void 0===e},v=function(e){return"object"==typeof e&&null!==e&&e!==Object.prototype&&(null===Object.getPrototypeOf(e)||Object.getPrototypeOf(e)===Object.prototype)},m=function(e){return v(e)&&0===Object.keys(e).length},g=function(e){return Array.isArray(e)},b=function(e){return e instanceof Map},_=function(e){return e instanceof Set},E=function(e){return"Symbol"===Object.prototype.toString.call(e).slice(8,-1)},w=function(e){return"number"==typeof e&&isNaN(e)},T=function(e){return e.replace(/\./g,"\\.")},I=function(e){return e.map(String).map(T).join(".")},O=function(e){for(var t=[],n="",r=0;r<e.length;r++){var i=e.charAt(r);if("\\"===i&&"."===e.charAt(r+1)){n+=".",r++;continue}if("."===i){t.push(n),n="";continue}n+=i}var o=n;return t.push(o),t},S=function(){return(S=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},N=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},k=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e};function D(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var R=[D(y,"undefined",function(){return null},function(){}),D(function(e){return"bigint"==typeof e},"bigint",function(e){return e.toString()},function(e){return"undefined"!=typeof BigInt?BigInt(e):(console.error("Please add a BigInt polyfill."),e)}),D(function(e){return e instanceof Date&&!isNaN(e.valueOf())},"Date",function(e){return e.toISOString()},function(e){return new Date(e)}),D(function(e){return e instanceof Error},"Error",function(e,t){var n={name:e.name,message:e.message};return t.allowedErrorProps.forEach(function(t){n[t]=e[t]}),n},function(e,t){var n=Error(e.message);return n.name=e.name,n.stack=e.stack,t.allowedErrorProps.forEach(function(t){n[t]=e[t]}),n}),D(function(e){return e instanceof RegExp},"regexp",function(e){return""+e},function(e){return new RegExp(e.slice(1,e.lastIndexOf("/")),e.slice(e.lastIndexOf("/")+1))}),D(_,"set",function(e){return k([],N(e.values()))},function(e){return new Set(e)}),D(b,"map",function(e){return k([],N(e.entries()))},function(e){return new Map(e)}),D(function(e){var t;return w(e)||(t=e)===1/0||t===-1/0},"number",function(e){return w(e)?"NaN":e>0?"Infinity":"-Infinity"},Number),D(function(e){return 0===e&&1/e==-1/0},"number",function(){return"-0"},Number),D(function(e){return e instanceof URL},"URL",function(e){return e.toString()},function(e){return new URL(e)})];function A(e,t,n,r){return{isApplicable:e,annotation:t,transform:n,untransform:r}}var F=A(function(e,t){return!!E(e)&&!!t.symbolRegistry.getIdentifier(e)},function(e,t){return["symbol",t.symbolRegistry.getIdentifier(e)]},function(e){return e.description},function(e,t,n){var r=n.symbolRegistry.getValue(t[1]);if(!r)throw Error("Trying to deserialize unknown symbol");return r}),x=[Int8Array,Uint8Array,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array,Uint8ClampedArray].reduce(function(e,t){return e[t.name]=t,e},{}),C=A(function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)},function(e){return["typed-array",e.constructor.name]},function(e){return k([],N(e))},function(e,t){var n=x[t[1]];if(!n)throw Error("Trying to deserialize unknown typed array");return new n(e)});function j(e,t){return null!=e&&!!e.constructor&&!!t.classRegistry.getIdentifier(e.constructor)}var L=A(j,function(e,t){return["class",t.classRegistry.getIdentifier(e.constructor)]},function(e,t){var n=t.classRegistry.getAllowedProps(e.constructor);if(!n)return S({},e);var r={};return n.forEach(function(t){r[t]=e[t]}),r},function(e,t,n){var r=n.classRegistry.getValue(t[1]);if(!r)throw Error("Trying to deserialize unknown class - check https://github.com/blitz-js/superjson/issues/116#issuecomment-773996564");return Object.assign(Object.create(r.prototype),e)}),P=A(function(e,t){return!!t.customTransformerRegistry.findApplicable(e)},function(e,t){return["custom",t.customTransformerRegistry.findApplicable(e).name]},function(e,t){return t.customTransformerRegistry.findApplicable(e).serialize(e)},function(e,t,n){var r=n.customTransformerRegistry.findByName(t[1]);
1if(!r)throw Error("Trying to deserialize unknown custom value");return r.deserialize(e)}),M=[L,F,P,C],V=function(e,t){var n=d(M,function(n){return n.isApplicable(e,t)});if(n)return{value:n.transform(e,t),type:n.annotation(e,t)};var r=d(R,function(n){return n.isApplicable(e,t)});if(r)return{value:r.transform(e,t),type:r.annotation}},$={};R.forEach(function(e){$[e.annotation]=e});var U=function(e,t,n){if(g(t))switch(t[0]){case"symbol":return F.untransform(e,t,n);case"class":return L.untransform(e,t,n);case"custom":return P.untransform(e,t,n);case"typed-array":return C.untransform(e,t,n);default:throw Error("Unknown transformation: "+t)}else{var r=$[t];if(!r)throw Error("Unknown transformation: "+t);return r.untransform(e,n)}},Q=function(e,t){for(var n=e.keys();t>0;)n.next(),t--;return n.next().value};function B(e){if(p(e,"__proto__"))throw Error("__proto__ is not allowed as a property");if(p(e,"prototype"))throw Error("prototype is not allowed as a property");if(p(e,"constructor"))throw Error("constructor is not allowed as a property")}var q=function(e,t){B(t);for(var n=0;n<t.length;n++){var r=t[n];if(_(e))e=Q(e,+r);else if(b(e)){var i=+r,o=0==+t[++n]?"key":"value",a=Q(e,i);switch(o){case"key":e=a;break;case"value":e=e.get(a)}}else e=e[r]}return e},G=function(e,t,n){if(B(t),0===t.length)return n(e);for(var r=e,i=0;i<t.length-1;i++){var o=t[i];if(g(r))r=r[+o];else if(v(r))r=r[o];else if(_(r)){var a=+o;r=Q(r,a)}else if(b(r)){if(i===t.length-2)break;var a=+o,s=0==+t[++i]?"key":"value",u=Q(r,a);switch(s){case"key":r=u;break;case"value":r=r.get(u)}}}var c=t[t.length-1];if(g(r)?r[+c]=n(r[+c]):v(r)&&(r[c]=n(r[c])),_(r)){var l=Q(r,+c),f=n(l);l!==f&&(r.delete(l),r.add(f))}if(b(r)){var a=+t[t.length-2],p=Q(r,a),s=0==+c?"key":"value";switch(s){case"key":var d=n(p);r.set(d,r.get(p)),d!==p&&r.delete(p);break;case"value":r.set(p,n(r.get(p)))}}return e},X=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Y=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},z=function(e,t,n,r,i,o,a){void 0===i&&(i=[]),void 0===o&&(o=[]),void 0===a&&(a=new Map);var s,u,c="boolean"==typeof(s=e)||null===s||y(s)||"number"==typeof s&&!isNaN(s)||"string"==typeof s||E(s);if(!c){l=i,(d=t.get(e))?d.push(l):t.set(e,[l]);var l,d,h=a.get(e);if(h)return r?{transformedValue:null}:h}if(!(v(e)||g(e)||b(e)||_(e)||j(e,n))){var w=V(e,n),I=w?{transformedValue:w.value,annotations:[w.type]}:{transformedValue:e};return c||a.set(e,I),I}if(p(o,e))return{transformedValue:null};var O=V(e,n),S=null!==(u=null==O?void 0:O.value)&&void 0!==u?u:e,N=g(S)?[]:{},k={};f(S,function(s,u){var c=z(s,t,n,r,Y(Y([],X(i)),[u]),Y(Y([],X(o)),[e]),a);N[u]=c.transformedValue,g(c.annotations)?k[u]=c.annotations:v(c.annotations)&&f(c.annotations,function(e,t){k[T(u)+"."+t]=e})});var D=m(k)?{transformedValue:N,annotations:O?[O.type]:void 0}:{transformedValue:N,annotations:O?[O.type,k]:k};return c||a.set(e,D),D};function J(e){return Object.prototype.toString.call(e).slice(8,-1)}function W(e){return"Array"===J(e)}i=function(e){return"Null"===J(e)},o=function(e){return"Undefined"===J(e)},e=>i(e)||o(e)||!1;var H=function(){return(H=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},K=function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)a.push(r.value)}catch(e){i={error:e}}finally{try{r&&!r.done&&(n=o.return)&&n.call(o)}finally{if(i)throw i.error}}return a},Z=function(e,t){for(var n=0,r=t.length,i=e.length;n<r;n++,i++)e[i]=t[n];return e},ee=function(){function e(e){var t=(void 0===e?{}:e).dedupe;this.classRegistry=new c,this.symbolRegistry=new s(function(e){var t;return null!==(t=e.description)&&void 0!==t?t:""}),this.customTransformerRegistry=new h,this.allowedErrorProps=[],this.dedupe=void 0!==t&&t}return e.prototype.serialize=function(e){var t,n,r,i=new Map,o=z(e,i,this,this.dedupe),a={json:o.transformedValue};o.annotations&&(a.meta=H(H({},a.meta),{values:o.annotations}));var s=(t=this.dedupe,n={},r=void 0,(i.forEach(function(e){if(!(e.length<=1)){t||(e=e.map(function(e){return e.map(String)}).sort(function(e,t){return e.length-t.length}));var i=X(e),o=i[0],a=i.slice(1);0===o.length?r=a.map(I):n[I(o)]=a.map(I)}}),r)?m(n)?[r]:[r,n]:m(n)?void 0:n);return s&&(a.meta=H(H({},a.meta),{referentialEqualities:s})),a},e.prototype.deserialize=function(e){var t,n,r,i=e.json,o=e.meta,a=function e(t,n={}){return W(t)?t.map(t=>e(t,n)):!function(e){if("Object"!==J(e))return!1;let t=Object.getPrototypeOf(e);return!!t&&t.constructor===Object&&t===Object.prototype}(t)?t:[...Object.getOwnPropertyNames(t),...Object.getOwnPropertySymbols(t)].reduce((r,i)=>{if(W(n.props)&&!n.props.includes(i))return r;let o=e(t[i],n);return function(e,t,n,r,i){let o=({}).propertyIsEnumerable.call(r,t)?"enumerable":"nonenumerable";"enumerable"===o&&(e[t]=n),i&&"nonenumerable"===o&&Object.defineProperty(e,t,{value:n,enumerable:!1,writable:!0,configurable:!0})}
1(r,i,o,t,n.nonenumerable),r},{})}(i);return(null==o?void 0:o.values)&&(t=a,n=o.values,r=this,function e(t,n,r){if(void 0===r&&(r=[]),t){if(!g(t)){f(t,function(t,i){return e(t,n,Y(Y([],X(r)),X(O(i))))});return}var i=X(t,2),o=i[0],a=i[1];a&&f(a,function(t,i){e(t,n,Y(Y([],X(r)),X(O(i))))}),n(o,r)}}(n,function(e,n){t=G(t,n,function(t){return U(t,e,r)})}),a=t),(null==o?void 0:o.referentialEqualities)&&(a=function(e,t){function n(t,n){var r=q(e,O(n));t.map(O).forEach(function(t){e=G(e,t,function(){return r})})}if(g(t)){var r=X(t,2),i=r[0],o=r[1];i.forEach(function(t){e=G(e,O(t),function(){return e})}),o&&f(o,n)}else f(t,n);return e}(a,o.referentialEqualities)),a},e.prototype.stringify=function(e){return JSON.stringify(this.serialize(e))},e.prototype.parse=function(e){return this.deserialize(JSON.parse(e))},e.prototype.registerClass=function(e,t){this.classRegistry.register(e,t)},e.prototype.registerSymbol=function(e,t){this.symbolRegistry.register(e,t)},e.prototype.registerCustom=function(e,t){this.customTransformerRegistry.register(H({name:t},e))},e.prototype.allowErrorProps=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];(e=this.allowedErrorProps).push.apply(e,Z([],K(t)))},e.defaultInstance=new e,e.serialize=e.defaultInstance.serialize.bind(e.defaultInstance),e.deserialize=e.defaultInstance.deserialize.bind(e.defaultInstance),e.stringify=e.defaultInstance.stringify.bind(e.defaultInstance),e.parse=e.defaultInstance.parse.bind(e.defaultInstance),e.registerClass=e.defaultInstance.registerClass.bind(e.defaultInstance),e.registerSymbol=e.defaultInstance.registerSymbol.bind(e.defaultInstance),e.registerCustom=e.defaultInstance.registerCustom.bind(e.defaultInstance),e.allowErrorProps=e.defaultInstance.allowErrorProps.bind(e.defaultInstance),e}(),et=ee,en=ee.serialize,er=ee.deserialize,ei=ee.stringify,eo=ee.parse,ea=ee.registerClass,es=ee.registerCustom,eu=ee.registerSymbol,ec=ee.allowErrorProps},12381:function(e,t,n){"use strict";n.d(t,{R:function(){return a}});var r=n(71113),i=n(49191),o=n(33431),a=function(){function e(){this.assumeImmutableResults=!1,this.getFragmentDoc=(0,i.re)(o.Yk)}return e.prototype.batch=function(e){var t,n=this,r="string"==typeof e.optimistic?e.optimistic:!1===e.optimistic?null:void 0;return this.performTransaction(function(){return t=e.update(n)},r),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,r.__assign)((0,r.__assign)({},e),{rootId:e.id||"ROOT_QUERY",optimistic:t}))},e.prototype.readFragment=function(e,t){return void 0===t&&(t=!!e.optimistic),this.read((0,r.__assign)((0,r.__assign)({},e),{query:this.getFragmentDoc(e.fragment,e.fragmentName),rootId:e.id,optimistic:t}))},e.prototype.writeQuery=function(e){var t=e.id,n=e.data,i=(0,r.__rest)(e,["id","data"]);return this.write(Object.assign(i,{dataId:t||"ROOT_QUERY",result:n}))},e.prototype.writeFragment=function(e){var t=e.id,n=e.data,i=e.fragment,o=e.fragmentName,a=(0,r.__rest)(e,["id","data","fragment","fragmentName"]);return this.write(Object.assign(a,{query:this.getFragmentDoc(i,o),dataId:t,result:n}))},e.prototype.updateQuery=function(e,t){return this.batch({update:function(n){var i=n.readQuery(e),o=t(i);return null==o?i:(n.writeQuery((0,r.__assign)((0,r.__assign)({},e),{data:o})),o)}})},e.prototype.updateFragment=function(e,t){return this.batch({update:function(n){var i=n.readFragment(e),o=t(i);return null==o?i:(n.writeFragment((0,r.__assign)((0,r.__assign)({},e),{data:o})),o)}})},e}()},91236:function(e,t,n){"use strict";var r;n.d(t,{C:function(){return r}}),r||(r={})},42735:function(e,t,n){"use strict";n.d(t,{y:function(){return i}});var r=n(71113),i=function(e){function t(n,r,i,o){var a,s=e.call(this,n)||this;if(s.message=n,s.path=r,s.query=i,s.variables=o,Array.isArray(s.path)){s.missing=s.message;for(var u=s.path.length-1;u>=0;--u)s.missing=((a={})[s.path[u]]=s.missing,a)}else s.missing=s.path;return s.__proto__=t.prototype,s}return(0,r.__extends)(t,e),t}(Error)},71398:function(e,t,n){"use strict";n.r(t),n.d(t,{ApolloCache:function(){return r.R},Cache:function(){return i.C},EntityStore:function(){return s.cf},InMemoryCache:function(){return c.h},MissingFieldError:function(){return o.y},Policies:function(){return f.r},cacheSlot:function(){return l.ab},canonicalStringify:function(){return p.B},createFragmentRegistry:function(){return m},defaultDataIdFromObject:function(){return u.uG},fieldNameFromStoreName:function(){return u.E_},isReference:function(){return a.Yk},makeReference:function(){return a.kQ},makeVar:function(){return l.QS}}),n(3612);
1var r=n(12381),i=n(91236),o=n(42735),a=n(65793),s=n(64490),u=n(5661),c=n(54474),l=n(87930),f=n(41787),p=n(35356),d=n(71113),h=n(6369),y=n(49191),v=n(69322);function m(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return new(b.bind.apply(b,(0,d.__spreadArray)([void 0],e,!1)))}var g=Array.prototype.forEach,b=function(){function e(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];this.registry=Object.create(null),this.resetCaches(),e.length&&this.register.apply(this,e)}return e.prototype.register=function(){var e=this,t=new Map;return g.call(arguments,function(e){(0,v.kU)(e).forEach(function(e){t.set(e.name.value,e)})}),t.forEach(function(t,n){t!==e.registry[n]&&(e.registry[n]=t,e.invalidate(n))}),this},e.prototype.invalidate=function(e){},e.prototype.resetCaches=function(){this.invalidate=(this.lookup=this.cacheUnaryMethod("lookup")).dirty,this.transform=this.cacheUnaryMethod("transform"),this.findFragmentSpreads=this.cacheUnaryMethod("findFragmentSpreads")},e.prototype.cacheUnaryMethod=function(t){var n=this,r=e.prototype[t];return(0,y.re)(function(){return r.apply(n,arguments)},{makeCacheKey:function(e){return e}})},e.prototype.lookup=function(e){return this.registry[e]||null},e.prototype.transform=function(e){var t=this,n=new Map;(0,v.kU)(e).forEach(function(e){n.set(e.name.value,e)});var r=new Set,i=function(e){n.has(e)||r.add(e)},o=function(e){return Object.keys(t.findFragmentSpreads(e)).forEach(i)};o(e);var a=[],s=Object.create(null);if(r.forEach(function(e){var r=n.get(e);if(r)o(s[e]=r);else{a.push(e);var i=t.lookup(e);i&&o(s[e]=i)}}),a.length){var u=[];a.forEach(function(e){var t=s[e];t&&u.push(t)}),u.length&&(e=(0,d.__assign)((0,d.__assign)({},e),{definitions:e.definitions.concat(u)}))}return e},e.prototype.findFragmentSpreads=function(e){var t=Object.create(null);return(0,h.Vn)(e,{FragmentSpread:function(e){t[e.name.value]=e}}),t},e}()},64490:function(e,t,n){"use strict";n.d(t,{HL:function(){return E},cf:function(){return b},ur:function(){return O}});var r,i,o=n(71113),a=n(3612),s=n(49191),u=n(51996),c=n(95947),l=n(85369),f=n(65793),p=n(79707),d=n(60191),h=n(50354),y=n(5661),v=Object.create(null),m=function(){return v},g=Object.create(null),b=function(){function e(e,t){var n=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,l.J)((0,f.Yk)(e)?n.get(e.__ref,t):e&&e[t])},this.canRead=function(e){return(0,f.Yk)(e)?n.has(e.__ref):"object"==typeof e},this.toReference=function(e,t){if("string"==typeof e)return(0,f.kQ)(e);if((0,f.Yk)(e))return e;var r=n.policies.identify(e)[0];if(r){var i=(0,f.kQ)(r);return t&&n.merge(r,e),i}}}return e.prototype.toObject=function(){return(0,o.__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),y.RI.call(this.data,e)){var n=this.data[e];if(n&&y.RI.call(n,t))return n[t]}return"__typename"===t&&y.RI.call(this.policies.rootTypenamesById,e)?this.policies.rootTypenamesById[e]:this instanceof w?this.parent.get(e,t):void 0},e.prototype.lookup=function(e,t){return(t&&this.group.depend(e,"__exists"),y.RI.call(this.data,e))?this.data[e]:this instanceof w?this.parent.lookup(e,t):this.policies.rootTypenamesById[e]?Object.create(null):void 0},e.prototype.merge=function(e,t){var n,r=this;(0,f.Yk)(e)&&(e=e.__ref),(0,f.Yk)(t)&&(t=t.__ref);var i="string"==typeof e?this.lookup(n=e):e,o="string"==typeof t?this.lookup(n=t):t;if(o){(0,a.kG)("string"==typeof n,1);var s=new p.w0(I).merge(i,o);if(this.data[n]=s,s!==i&&(delete this.refs[n],this.group.caching)){var u=Object.create(null);i||(u.__exists=1),Object.keys(o).forEach(function(e){if(!i||i[e]!==s[e]){u[e]=1;var t=(0,y.E_)(e);t===e||r.policies.hasKeyArgs(s.__typename,t)||(u[t]=1),void 0!==s[e]||r instanceof w||delete s[e]}}),u.__typename&&!(i&&i.__typename)&&this.policies.rootTypenamesById[n]===s.__typename&&delete u.__typename,Object.keys(u).forEach(function(e){return r.group.dirty(n,e)})}}},e.prototype.modify=function(e,t){var n=this,r=this.lookup(e);if(r){var i=Object.create(null),a=!1,s=!0,u={DELETE:v,INVALIDATE:g,isReference:f.Yk,toReference:this.toReference,canRead:this.canRead,readField:function(t,r){return n.policies.readField("string"==typeof t?{fieldName:t,from:r||(0,f.kQ)(e)}:t,{store:n})}};if(Object.keys(r).forEach(function(c){var f=(0,y.E_)(c),p=r[c];if(void 0!==p){var d="function"==typeof t?t:t[c]||t[f];if(d){var h=d===m?v:d((0,l.J)(p),(0,o.__assign)((0,o.__assign)({},u),{fieldName:f,storeFieldName:c,storage:n.getStorage(e,c)}));h===g?n.group.dirty(e,c):(h===v&&(h=void 0),h!==p&&(i[c]=h,a=!0,p=h))}void 0!==p&&(s=!1)}}
1),a)return this.merge(e,i),s&&(this instanceof w?this.data[e]=void 0:delete this.data[e],this.group.dirty(e,"__exists")),!0}return!1},e.prototype.delete=function(e,t,n){var r,i=this.lookup(e);if(i){var o=this.getFieldValue(i,"__typename"),a=t&&n?this.policies.getStoreFieldName({typename:o,fieldName:t,args:n}):t;return this.modify(e,a?((r={})[a]=m,r):m)}return!1},e.prototype.evict=function(e,t){var n=!1;return e.id&&(y.RI.call(this.data,e.id)&&(n=this.delete(e.id,e.fieldName,e.args)),this instanceof w&&this!==t&&(n=this.parent.evict(e,t)||n),(e.fieldName||n)&&this.group.dirty(e.id,e.fieldName||"__exists")),n},e.prototype.clear=function(){this.replace(null)},e.prototype.extract=function(){var e=this,t=this.toObject(),n=[];return this.getRootIdSet().forEach(function(t){y.RI.call(e.policies.rootTypenamesById,t)||n.push(t)}),n.length&&(t.__META={extraRootIds:n.sort()}),t},e.prototype.replace=function(e){var t=this;if(Object.keys(this.data).forEach(function(n){e&&y.RI.call(e,n)||t.delete(n)}),e){var n=e.__META,r=(0,o.__rest)(e,["__META"]);Object.keys(r).forEach(function(e){t.merge(e,r[e])}),n&&n.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 w?this.parent.getRootIdSet(e):Object.keys(this.policies.rootTypenamesById).forEach(e.add,e),e},e.prototype.gc=function(){var e=this,t=this.getRootIdSet(),n=this.toObject();t.forEach(function(r){y.RI.call(n,r)&&(Object.keys(e.findChildRefIds(r)).forEach(t.add,t),delete n[r])});var r=Object.keys(n);if(r.length){for(var i=this;i instanceof w;)i=i.parent;r.forEach(function(e){return i.delete(e)})}return r},e.prototype.findChildRefIds=function(e){if(!y.RI.call(this.refs,e)){var t=this.refs[e]=Object.create(null),n=this.data[e];if(!n)return t;var r=new Set([n]);r.forEach(function(e){(0,f.Yk)(e)&&(t[e.__ref]=!0),(0,d.s)(e)&&Object.keys(e).forEach(function(t){var n=e[t];(0,d.s)(n)&&r.add(n)})})}return this.refs[e]},e.prototype.makeCacheKey=function(){return this.group.keyMaker.lookupArray(arguments)},e}(),_=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,s.dP)():null,this.keyMaker=new c.B(h.mr)}
1,e.prototype.depend=function(e,t){if(this.d){this.d(t+"#"+e);var n=(0,y.E_)(t);n!==t&&this.d(n+"#"+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 E(e,t){O(e)&&e.group.depend(t,"__exists")}i=function(e){function t(t){var n=t.policies,r=t.resultCaching,i=t.seed,o=e.call(this,n,new _(void 0===r||r))||this;return o.stump=new T(o),o.storageTrie=new c.B(h.mr),i&&o.replace(i),o}return(0,o.__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}(r=b||(b={})),r.Root=i;var w=function(e){function t(t,n,r,i){var o=e.call(this,n.policies,i)||this;return o.id=t,o.parent=n,o.replay=r,o.group=i,r(o),o}return(0,o.__extends)(t,e),t.prototype.addLayer=function(e,n){return new t(e,this,n,this.group)},t.prototype.removeLayer=function(e){var t=this,n=this.parent.removeLayer(e);return e===this.id?(this.group.caching&&Object.keys(this.data).forEach(function(e){var r=t.data[e],i=n.lookup(e);i?r?r!==i&&Object.keys(r).forEach(function(n){(0,u.D)(r[n],i[n])||t.group.dirty(e,n)}
1):(t.group.dirty(e,"__exists"),Object.keys(i).forEach(function(n){t.group.dirty(e,n)})):t.delete(e)}),n):n===this.parent?this:n.addLayer(this.id,this.replay)},t.prototype.toObject=function(){return(0,o.__assign)((0,o.__assign)({},this.parent.toObject()),this.data)},t.prototype.findChildRefIds=function(t){var n=this.parent.findChildRefIds(t);return y.RI.call(this.data,t)?(0,o.__assign)((0,o.__assign)({},n),e.prototype.findChildRefIds.call(this,t)):n},t.prototype.getStorage=function(){for(var e=this.parent;e.parent;)e=e.parent;return e.getStorage.apply(e,arguments)},t}(b),T=function(e){function t(t){return e.call(this,"EntityStore.Stump",t,function(){},new _(t.group.caching,t.group))||this}return(0,o.__extends)(t,e),t.prototype.removeLayer=function(){return this},t.prototype.merge=function(){return this.parent.merge.apply(this.parent,arguments)},t}(w);function I(e,t,n){var r=e[n],i=t[n];return(0,u.D)(r,i)?r:i}function O(e){return!!(e instanceof b&&e.group.caching)}},5661:function(e,t,n){"use strict";n.d(t,{$O:function(){return g},E_:function(){return b},Is:function(){return w},RC:function(){return function e(t,n,r){return!!(0,o.s)(n)&&((0,a.k)(n)?n.every(function(n){return e(t,n,r)}):t.selections.every(function(t){if((0,i.My)(t)&&(0,s.LZ)(t,r)){var o=(0,i.u2)(t);return f.call(n,o)&&(!t.selectionSet||e(t.selectionSet,n[o],r))}return!0}))}},RI:function(){return f},ig:function(){return E},j:function(){return _},jS:function(){return y},jp:function(){return m},lg:function(){return v},uG:function(){return d}});var r=n(91286),i=n(65793),o=n(60191),a=n(56811),s=n(14981),u=n(79707),c=n(33431),l=n(69322),f=Object.prototype.hasOwnProperty;function p(e){return null==e}function d(e,t){var n=e.__typename,r=e.id,i=e._id;if("string"==typeof n&&(t&&(t.keyObject=p(r)?p(i)?void 0:{_id:i}:{id:r}),p(r)&&!p(i)&&(r=i),!p(r)))return"".concat(n,":").concat("number"==typeof r||"string"==typeof r?r:JSON.stringify(r))}var h={dataIdFromObject:d,addTypename:!0,resultCaching:!0,canonizeResults:!1};function y(e){return(0,r.o)(h,e)}function v(e){var t=e.canonizeResults;return void 0===t?h.canonizeResults:t}function m(e,t){return(0,i.Yk)(t)?e.get(t.__ref,"__typename"):t&&t.__typename}var g=/^[_a-z][_0-9a-z]*/i;function b(e){var t=e.match(g);return t?t[0]:e}function _(e){return(0,o.s)(e)&&!(0,i.Yk)(e)&&!(0,a.k)(e)}function E(){return new u.w0}function w(e,t){var n=(0,c.F)((0,l.kU)(e));return{fragmentMap:n,lookupFragment:function(e){var r=n[e];return!r&&t&&(r=t.lookup(e)),r||null}}}},54474:function(e,t,n){"use strict";n.d(t,{h:function(){return M}});var r=n(71113),i=n(3612),o=n(49191),a=n(51996),s=n(12381),u=n(42735),c=n(42907),l=n(83224),f=n(65793),p=n(8519),d=n(50354),h=n(91286),y=n(69322),v=n(79707),m=n(14981),g=n(33431),b=n(85369),_=n(60191),E=n(64490),w=n(5661),T=n(56811),I=n(35356);function O(e){return[e.selectionSet,e.objectOrReference,e.context,e.context.canonizeResults]}var S=function(){function e(e){var t=this;this.knownResults=new(d.mr?WeakMap:Map),this.config=(0,h.o)(e,{addTypename:!1!==e.addTypename,canonizeResults:(0,w.lg)(e)}),this.canon=e.canon||new I.h,this.executeSelectionSet=(0,o.re)(function(e){var n,i=e.context.canonizeResults,o=O(e);o[3]=!i;var a=(n=t.executeSelectionSet).peek.apply(n,o);return a?i?(0,r.__assign)((0,r.__assign)({},a),{result:t.canon.admit(a.result)}):a:((0,E.HL)(e.context.store,e.enclosingRef.__ref),t.execSelectionSetImpl(e))},{max:this.config.resultCacheMaxSize,keyArgs:O,makeCacheKey:function(e,t,n,r){if((0,E.ur)(n.store))return n.store.makeCacheKey(e,(0,f.Yk)(t)?t.__ref:t,n.varString,r)}}),this.executeSubSelectedArray=(0,o.re)(function(e){return(0,E.HL)(e.context.store,e.enclosingRef.__ref),t.execSubSelectedArrayImpl(e)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var t=e.field,n=e.array,r=e.context;if((0,E.ur)(r.store))return r.store.makeCacheKey(t,n,r.varString)}})}return e.prototype.resetCanon=function(){this.canon=new I.h},e.prototype.diffQueryAgainstStore=function(e){var t,n=e.store,i=e.query,o=e.rootId,a=e.variables,s=e.returnPartialData,c=e.canonizeResults,l=void 0===c?this.config.canonizeResults:c,p=this.config.cache.policies;a=(0,r.__assign)((0,r.__assign)({},(0,y.O4)((0,y.iW)(i))),a);var d=(0,f.kQ)(void 0===o?"ROOT_QUERY":o),h=this.executeSelectionSet({selectionSet:(0,y.p$)(i).selectionSet,objectOrReference:d,enclosingRef:d,context:(0,r.__assign)({store:n,query:i,policies:p,variables:a,varString:(0,I.B)(a),canonizeResults:l},(0,w.Is)(i,this.config.fragments))});if(h.missing&&(t=[new u.y(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,a)],!(void 0===s||s)))throw t[0];return{result:h.result,complete:!t,missing:t}},e.prototype.isFresh=function(e,t,n,r){if((0,E.ur)(r.store)&&this.knownResults.get(e)===n){var i=this.executeSelectionSet.peek(n,t,r,this.canon.isKnown(e));if(i&&e===i.result)return!0}return!1},e.prototype.execSelectionSetImpl=function(e){var t,n=this,r=e.selectionSet,o=e.objectOrReference,a=e.enclosingRef,s=e.context;if((0,f.Yk)(o)&&!s.policies.rootTypenamesById[o.__ref]&&!s.store.has(o.__ref))return{result:this.canon.empty,missing:"Dangling reference to missing ".concat(o.__ref," object")};var u=s.variables,c=s.policies,d=s.store.getFieldValue(o,"__typename"),h=[],y=new v.w0;function _(e,n){var r;return e.missing&&(t=y.merge(t,((r={})[n]=e.missing,r))),e.result}this.config.addTypename&&"string"==typeof d&&!c.rootIdsByTypename[d]&&h.push({__typename:d});var E=new Set(r.selections);
1E.forEach(function(e){var r,v;if((0,m.LZ)(e,u)){if((0,f.My)(e)){var b=c.readField({fieldName:e.name.value,field:e,variables:s.variables,from:o},s),w=(0,f.u2)(e);void 0===b?l.Gw.added(e)||(t=y.merge(t,((r={})[w]="Can't find field '".concat(e.name.value,"' on ").concat((0,f.Yk)(o)?o.__ref+" object":"object "+JSON.stringify(o,null,2)),r))):(0,T.k)(b)?b=_(n.executeSubSelectedArray({field:e,array:b,enclosingRef:a,context:s}),w):e.selectionSet?null!=b&&(b=_(n.executeSelectionSet({selectionSet:e.selectionSet,objectOrReference:b,enclosingRef:(0,f.Yk)(b)?b:a,context:s}),w)):s.canonizeResults&&(b=n.canon.pass(b)),void 0!==b&&h.push(((v={})[w]=b,v))}else{var I=(0,g.hi)(e,s.lookupFragment);if(!I&&e.kind===p.h.FRAGMENT_SPREAD)throw(0,i._K)(7,e.name.value);I&&c.fragmentMatches(I,d)&&I.selectionSet.selections.forEach(E.add,E)}}});var w={result:(0,v.bw)(h),missing:t},I=s.canonizeResults?this.canon.admit(w):(0,b.J)(w);return I.result&&this.knownResults.set(I.result,r),I},e.prototype.execSubSelectedArrayImpl=function(e){var t,n=this,r=e.field,o=e.array,a=e.enclosingRef,s=e.context,u=new v.w0;function c(e,n){var r;return e.missing&&(t=u.merge(t,((r={})[n]=e.missing,r))),e.result}return r.selectionSet&&(o=o.filter(s.store.canRead)),o=o.map(function(e,t){return null===e?null:(0,T.k)(e)?c(n.executeSubSelectedArray({field:r,array:e,enclosingRef:a,context:s}),t):r.selectionSet?c(n.executeSelectionSet({selectionSet:r.selectionSet,objectOrReference:e,enclosingRef:(0,f.Yk)(e)?e:a,context:s}),t):(!1!==globalThis.__DEV__&&function(e,t,n){if(!t.selectionSet){var r=new Set([n]);r.forEach(function(n){(0,_.s)(n)&&((0,i.kG)(!(0,f.Yk)(n),8,(0,w.jp)(e,n),t.name.value),Object.values(n).forEach(r.add,r))})}}(s.store,r,e),e)}),{result:s.canonizeResults?this.canon.admit(o):o,missing:t}},e}(),N=n(95947),k=n(79782),D=n(41787);function R(e,t,n){var i="".concat(t).concat(n),o=e.flavors.get(i);return o||e.flavors.set(i,o=e.clientOnly===t&&e.deferred===n?e:(0,r.__assign)((0,r.__assign)({},e),{clientOnly:t,deferred:n})),o}var A=function(){function e(e,t,n){this.cache=e,this.reader=t,this.fragments=n}return e.prototype.writeToStore=function(e,t){var n=this,o=t.query,s=t.result,u=t.dataId,c=t.variables,l=t.overwrite,p=(0,y.$H)(o),d=(0,w.ig)();c=(0,r.__assign)((0,r.__assign)({},(0,y.O4)(p)),c);var h=(0,r.__assign)((0,r.__assign)({store:e,written:Object.create(null),merge:function(e,t){return d.merge(e,t)},variables:c,varString:(0,I.B)(c)},(0,w.Is)(o,this.fragments)),{overwrite:!!l,incomingById:new Map,clientOnly:!1,deferred:!1,flavors:new Map}),v=this.processSelectionSet({result:s||Object.create(null),dataId:u,selectionSet:p.selectionSet,mergeTree:{map:new Map},context:h});if(!(0,f.Yk)(v))throw(0,i._K)(9,s);return h.incomingById.forEach(function(t,r){var o=t.storeObject,s=t.mergeTree,u=t.fieldNodeSet,c=(0,f.kQ)(r);if(s&&s.map.size){var l=n.applyMerges(s,c,o,h);if((0,f.Yk)(l))return;o=l}if(!1!==globalThis.__DEV__&&!h.overwrite){var p=Object.create(null);u.forEach(function(e){e.selectionSet&&(p[e.name.value]=!0)});var d=function(e){var t=s&&s.map.get(e);return!!(t&&t.info&&t.info.merge)};Object.keys(o).forEach(function(e){!0!==p[(0,w.E_)(e)]||d(e)||function(e,t,n,r){var o=function(e){var t=r.getFieldValue(e,n);return"object"==typeof t&&t},s=o(e);if(s){var u=o(t);if(!(!u||(0,f.Yk)(s)||(0,a.D)(s,u)||Object.keys(s).every(function(e){return void 0!==r.getFieldValue(u,e)}))){var c=r.getFieldValue(e,"__typename")||r.getFieldValue(t,"__typename"),l=(0,w.E_)(n),p="".concat(c,".").concat(l);if(!L.has(p)){L.add(p);var d=[];(0,T.k)(s)||(0,T.k)(u)||[s,u].forEach(function(e){var t=r.getFieldValue(e,"__typename");"string"!=typeof t||d.includes(t)||d.push(t)}),!1!==globalThis.__DEV__&&i.kG.warn(12,l,c,d.length?"either ensure all objects of type "+d.join(" and ")+" have an ID or a custom merge function, or ":"",p,s,u)}}}}(c,o,e,h.store)})}e.merge(r,o)}),e.retain(v.__ref),v},e.prototype.processSelectionSet=function(e){var t=this,n=e.dataId,o=e.result,a=e.selectionSet,s=e.context,u=e.mergeTree,c=this.cache.policies,p=Object.create(null),d=n&&c.rootTypenamesById[n]||(0,f.qw)(o,a,s.fragmentMap)||n&&s.store.get(n,"__typename");"string"==typeof d&&(p.__typename=d);var h=function(){var e=(0,D.y)(arguments,p,s.variables);if((0,f.Yk)(e.from)){var t=s.incomingById.get(e.from.__ref);
1if(t){var n=c.readField((0,r.__assign)((0,r.__assign)({},e),{from:t.storeObject}),s);if(void 0!==n)return n}}return c.readField(e,s)},y=new Set;this.flattenFields(a,o,s,d).forEach(function(e,n){var r,a=o[(0,f.u2)(n)];if(y.add(n),void 0!==a){var s=c.getStoreFieldName({typename:d,fieldName:n.name.value,field:n,variables:e.variables}),v=x(u,s),m=t.processFieldValue(a,n,n.selectionSet?R(e,!1,!1):e,v),g=void 0;n.selectionSet&&((0,f.Yk)(m)||(0,w.j)(m))&&(g=h("__typename",m));var b=c.getMergeFunction(d,n.name.value,g);b?v.info={field:n,typename:d,merge:b}:j(u,s),p=e.merge(p,((r={})[s]=m,r))}else!1===globalThis.__DEV__||e.clientOnly||e.deferred||l.Gw.added(n)||c.getReadFunction(d,n.name.value)||!1===globalThis.__DEV__||i.kG.error(10,(0,f.u2)(n),o)});try{var v=c.identify(o,{typename:d,selectionSet:a,fragmentMap:s.fragmentMap,storeObject:p,readField:h}),m=v[0],g=v[1];n=n||m,g&&(p=s.merge(p,g))}catch(e){if(!n)throw e}if("string"==typeof n){var b=(0,f.kQ)(n),_=s.written[n]||(s.written[n]=[]);if(_.indexOf(a)>=0||(_.push(a),this.reader&&this.reader.isFresh(o,b,a,s)))return b;var E=s.incomingById.get(n);return E?(E.storeObject=s.merge(E.storeObject,p),E.mergeTree=function e(t,n){if(t===n||!n||C(n))return t;if(!t||C(t))return n;var i=t.info&&n.info?(0,r.__assign)((0,r.__assign)({},t.info),n.info):t.info||n.info,o=t.map.size&&n.map.size,a={info:i,map:o?new Map:t.map.size?t.map:n.map};if(o){var s=new Set(n.map.keys());t.map.forEach(function(t,r){a.map.set(r,e(t,n.map.get(r))),s.delete(r)}),s.forEach(function(r){a.map.set(r,e(n.map.get(r),t.map.get(r)))})}return a}(E.mergeTree,u),y.forEach(function(e){return E.fieldNodeSet.add(e)})):s.incomingById.set(n,{storeObject:p,mergeTree:C(u)?void 0:u,fieldNodeSet:y}),b}return p},e.prototype.processFieldValue=function(e,t,n,r){var i=this;return t.selectionSet&&null!==e?(0,T.k)(e)?e.map(function(e,o){var a=i.processFieldValue(e,t,n,x(r,o));return j(r,o),a}):this.processSelectionSet({result:e,selectionSet:t.selectionSet,context:n,mergeTree:r}):!1!==globalThis.__DEV__?(0,k.X)(e):e},e.prototype.flattenFields=function(e,t,n,r){void 0===r&&(r=(0,f.qw)(t,e,n.fragmentMap));var o=new Map,a=this.cache.policies,s=new N.B(!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.LZ)(s,n.variables)){var u=c.clientOnly,l=c.deferred;if(!(u&&l)&&(0,T.O)(s.directives)&&s.directives.forEach(function(e){var t=e.name.value;if("client"===t&&(u=!0),"defer"===t){var r=(0,f.NC)(e,n.variables);r&&!1===r.if||(l=!0)}}),(0,f.My)(s)){var d=o.get(s);d&&(u=u&&d.clientOnly,l=l&&d.deferred),o.set(s,R(n,u,l))}else{var h=(0,g.hi)(s,n.lookupFragment);if(!h&&s.kind===p.h.FRAGMENT_SPREAD)throw(0,i._K)(11,s.name.value);h&&a.fragmentMatches(h,r,t,n.variables)&&e(h.selectionSet,R(n,u,l))}}}))}(e,n),o},e.prototype.applyMerges=function(e,t,n,o,a){var s=this;if(e.map.size&&!(0,f.Yk)(n)){var u,c,l=!(0,T.k)(n)&&((0,f.Yk)(t)||(0,w.j)(t))?t:void 0,p=n;l&&!a&&(a=[(0,f.Yk)(l)?l.__ref:l]);var d=function(e,t){return(0,T.k)(e)?"number"==typeof t?e[t]:void 0:o.store.getFieldValue(e,String(t))};e.map.forEach(function(e,t){var n=d(l,t),r=d(p,t);if(void 0!==r){a&&a.push(t);var u=s.applyMerges(e,n,r,o,a);u!==r&&(c=c||new Map).set(t,u),a&&(0,i.kG)(a.pop()===t)}}),c&&(n=(0,T.k)(p)?p.slice(0):(0,r.__assign)({},p),c.forEach(function(e,t){n[t]=e}))}return e.info?this.cache.policies.runMergeFunction(t,n,e.info,o,a&&(u=o.store).getStorage.apply(u,a)):n},e}(),F=[];function x(e,t){var n=e.map;return n.has(t)||n.set(t,F.pop()||{map:new Map}),n.get(t)}function C(e){return!e||!(e.info||e.map.size)}function j(e,t){var n=e.map,r=n.get(t);r&&C(r)&&(F.push(r),n.delete(t))}var L=new Set,P=n(87930),M=function(e){function t(t){void 0===t&&(t={});var n=e.call(this)||this;return n.watches=new Set,n.addTypenameTransform=new c.A(l.Gw),n.assumeImmutableResults=!0,n.makeVar=P.QS,n.txCount=0,n.config=(0,w.jS)(t),n.addTypename=!!n.config.addTypename,n.policies=new D.r({cache:n,dataIdFromObject:n.config.dataIdFromObject,possibleTypes:n.config.possibleTypes,typePolicies:n.config.typePolicies}),n.init(),n}return(0,r.__extends)(t,e),t.prototype.init=function(){var e=this.data=new E.cf.Root({policies:this.policies,resultCaching:this.config.resultCaching});this.optimisticData=e.stump,this.resetResultCache()},t.prototype.resetResultCache=function(e){var t=this,n=this.storeReader,r=this.config.fragments;this.storeWriter=new A(this,this.storeReader=new S({cache:this,addTypename:this.addTypename,resultCacheMaxSize:this.config.resultCacheMaxSize,canonizeResults:(0,w.lg)(this.config),canon:e?void 0:n&&n.canon,fragments:r}),r),this.maybeBroadcastWatch=(0,o.re)(function(e,n){return t.broadcastWatch(e,n)},{max:this.config.resultCacheMaxSize,makeCacheKey:function(e){var n=e.optimistic?t.optimisticData:t.data;if((0,E.ur)(n)){var r=e.optimistic,i=e.id,o=e.variables;return n.makeCacheKey(e.query,e.callback,(0,I.B)({optimistic:r,id:i,variables:o}))}}}
1),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,r.__assign)((0,r.__assign)({},e),{store:e.optimistic?this.optimisticData:this.data,config:this.config,returnPartialData:void 0!==t&&t})).result||null}catch(e){if(e instanceof u.y)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(w.RI.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,r.__assign)((0,r.__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,P._v)(this),this.watches.add(e),e.immediate&&this.maybeBroadcastWatch(e),function(){t.watches.delete(e)&&!t.watches.size&&(0,P.li)(t),t.maybeBroadcastWatch.forget(e)}},t.prototype.gc=function(e){I.B.reset();var t=this.optimisticData.gc();return e&&!this.txCount&&(e.resetResultCache?this.resetResultCache(e.resetResultIdentities):e.resetResultIdentities&&this.storeReader.resetCanon()),t},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.Yk)(e))return e.__ref;try{return this.policies.identify(e)[0]}catch(e){!1!==globalThis.__DEV__&&i.kG.warn(e)}},t.prototype.evict=function(e){if(!e.id){if(w.RI.call(e,"id"))return!1;e=(0,r.__assign)((0,r.__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(),I.B.reset(),e&&e.discardWatches?(this.watches.forEach(function(e){return t.maybeBroadcastWatch.forget(e)}),this.watches.clear(),(0,P.li)(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,n=this,i=e.update,o=e.optimistic,a=void 0===o||o,s=e.removeOptimistic,u=e.onWatchUpdated,c=function(e){var r=n.data,o=n.optimisticData;++n.txCount,e&&(n.data=n.optimisticData=e);try{return t=i(n)}finally{--n.txCount,n.data=r,n.optimisticData=o}},l=new Set;return u&&!this.txCount&&this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e){return l.add(e),!1}})),"string"==typeof a?this.optimisticData=this.optimisticData.addLayer(a,c):!1===a?c(this.data):c(),"string"==typeof s&&(this.optimisticData=this.optimisticData.removeLayer(s)),u&&l.size?(this.broadcastWatches((0,r.__assign)((0,r.__assign)({},e),{onWatchUpdated:function(e,t){var n=u.call(this,e,t);return!1!==n&&l.delete(e),n}})),l.size&&l.forEach(function(e){return n.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.broadcastWatches=function(e){var t=this;this.txCount||this.watches.forEach(function(n){return t.maybeBroadcastWatch(n,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 n=e.lastDiff,r=this.diff(e);(!t||(e.optimistic&&"string"==typeof t.optimistic&&(r.fromOptimisticTransaction=!0),!t.onWatchUpdated||!1!==t.onWatchUpdated.call(this,e,r,n)))&&(n&&(0,a.D)(n.result,r.result)||e.callback(e.lastDiff=r,n))},t}(s.R)},35356:function(e,t,n){"use strict";n.d(t,{B:function(){return f},h:function(){return l}});var r,i,o=n(71113),a=n(95947),s=n(60191),u=n(50354),c=n(56811),l=function(){function e(){this.known=new(u.sy?WeakSet:Set),this.pool=new a.B(u.mr),this.passes=new WeakMap,this.keysByJSON=new Map,this.empty=this.admit({})}return e.prototype.isKnown=function(e){return(0,s.s)(e)&&this.known.has(e)},e.prototype.pass=function(e){if((0,s.s)(e)){var t=(0,s.s)(e)?(0,c.k)(e)?e.slice(0):(0,o.__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,s.s)(e)){var n=this.passes.get(e);if(n)return n;switch(Object.getPrototypeOf(e)){case Array.prototype:if(this.known.has(e))break;var r=e.map(this.admit,this),i=this.pool.lookupArray(r);return i.array||(this.known.add(i.array=r),!1!==globalThis.__DEV__&&Object.freeze(r)),i.array;case null:case Object.prototype:if(this.known.has(e))break;var o=Object.getPrototypeOf(e),a=[o],u=this.sortedKeys(e);a.push(u.json);var c=a.length;u.sorted.forEach(function(n){a.push(t.admit(e[n]))});var i=this.pool.lookupArray(a);if(!i.object){var l=i.object=Object.create(o);this.known.add(l),u.sorted.forEach(function(e,t){l[e]=a[c+t]}),!1!==globalThis.__DEV__&&Object.freeze(l)}return i.object}}return e},e.prototype.sortedKeys=function(e){var t=Object.keys(e),n=this.pool.lookupArray(t);if(!n.keys){t.sort();var r=JSON.stringify(t);(n.keys=this.keysByJSON.get(r))||this.keysByJSON.set(r,n.keys={sorted:t,json:r})}return n.keys},e}(),f=Object.assign(function(e){if((0,s.s)(e)){void 0===r&&p();var t=r.admit(e),n=i.get(t);return void 0===n&&i.set(t,n=JSON.stringify(t)),n}return JSON.stringify(e)},{reset:p});function p(){r=new l,i=new(u.mr?WeakMap:Map)}},41787:function(e,t,n){"use strict";n.d(t,{r:function(){return O},y:function(){return N}});var r=n(71113),i=n(3612),o=n(65793),a=n(28949),s=n(60191),u=n(5661),c=n(56811),l=n(87930),f=n(35356),p=n(79707),d=Object.create(null);function h(e){var t=JSON.stringify(e);return d[t]||(d[t]=Object.create(null))}function y(e){var t=h(e);return t.keyFieldsFn||(t.keyFieldsFn=function(t,n){var r=function(e,t){return n.readField(t,e)},o=n.keyObject=m(e,function(e){var o=b(n.storeObject,e,r);return void 0===o&&t!==n.storeObject&&u.RI.call(t,e[0])&&(o=b(t,e,g)),(0,i.kG)(void 0!==o,2,e.join("."),t),o});return"".concat(n.typename,":").concat(JSON.stringify(o))})}function v(e){var t=h(e);return t.keyArgsFn||(t.keyArgsFn=function(t,n){var r=n.field,i=n.variables,a=n.fieldName,s=JSON.stringify(m(e,function(e){var n=e[0],a=n.charAt(0);if("@"===a){if(r&&(0,c.O)(r.directives)){var s=n.slice(1),l=r.directives.find(function(e){return e.name.value===s}),f=l&&(0,o.NC)(l,i);return f&&b(f,e.slice(1))}return}if("$"===a){var p=n.slice(1);if(i&&u.RI.call(i,p)){var d=e.slice(0);return d[0]=p,b(i,d)}return}if(t)return b(t,e)}));return(t||"{}"!==s)&&(a+=":"+s),a})}function m(e,t){var n=new p.w0;return(function e(t){var n=h(t);if(!n.paths){var r=n.paths=[],i=[];
1t.forEach(function(n,o){(0,c.k)(n)?(e(n).forEach(function(e){return r.push(i.concat(e))}),i.length=0):(i.push(n),(0,c.k)(t[o+1])||(r.push(i.slice(0)),i.length=0))})}return n.paths})(e).reduce(function(e,r){var i,o=t(r);if(void 0!==o){for(var a=r.length-1;a>=0;--a)(i={})[r[a]]=o,o=i;e=n.merge(e,o)}return e},Object.create(null))}function g(e,t){return e[t]}function b(e,t,n){return n=n||g,function e(t){return(0,s.s)(t)?(0,c.k)(t)?t.map(e):m(Object.keys(t).sort(),function(e){return b(t,e)}):t}(t.reduce(function e(t,r){return(0,c.k)(t)?t.map(function(t){return e(t,r)}):t&&n(t,r)},e))}function _(e){return void 0!==e.args?e.args:e.field?(0,o.NC)(e.field,e.variables):null}o.PT.setStringify(f.B);var E=function(){},w=function(e,t){return t.fieldName},T=function(e,t,n){return(0,n.mergeObjects)(e,t)},I=function(e,t){return t},O=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,r.__assign)({dataIdFromObject:u.uG},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 n,i,o=this,a=t&&(t.typename||(null===(n=t.storeObject)||void 0===n?void 0:n.__typename))||e.__typename;if(a===this.rootTypenamesById.ROOT_QUERY)return["ROOT_QUERY"];for(var s=t&&t.storeObject||e,u=(0,r.__assign)((0,r.__assign)({},t),{typename:a,storeObject:s,readField:t&&t.readField||function(){var e=N(arguments,s);return o.readField(e,{store:o.cache.data,variables:e.variables})}}),l=a&&this.getTypePolicy(a),f=l&&l.keyFn||this.config.dataIdFromObject;f;){var p=f((0,r.__assign)((0,r.__assign)({},e),s),u);if((0,c.k)(p))f=y(p);else{i=p;break}}return 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(n){var i=e[n],o=i.queryType,a=i.mutationType,s=i.subscriptionType,c=(0,r.__rest)(i,["queryType","mutationType","subscriptionType"]);o&&t.setRootTypename("Query",n),a&&t.setRootTypename("Mutation",n),s&&t.setRootTypename("Subscription",n),u.RI.call(t.toBeAdded,n)?t.toBeAdded[n].push(c):t.toBeAdded[n]=[c]})},e.prototype.updateTypePolicy=function(e,t){var n=this,r=this.getTypePolicy(e),i=t.keyFields,o=t.fields;function a(e,t){e.merge="function"==typeof t?t:!0===t?T:!1===t?I:e.merge}a(r,t.merge),r.keyFn=!1===i?E:(0,c.k)(i)?y(i):"function"==typeof i?i:r.keyFn,o&&Object.keys(o).forEach(function(t){var r=n.getFieldPolicy(e,t,!0),i=o[t];if("function"==typeof i)r.read=i;else{var s=i.keyArgs,u=i.read,l=i.merge;r.keyFn=!1===s?w:(0,c.k)(s)?v(s):"function"==typeof s?s:r.keyFn,"function"==typeof u&&(r.read=u),a(r,l)}r.read&&r.merge&&(r.keyFn=r.keyFn||w)})},e.prototype.setRootTypename=function(e,t){void 0===t&&(t=e);var n="ROOT_"+e.toUpperCase(),r=this.rootTypenamesById[n];t!==r&&((0,i.kG)(!r||r===e,3,e),r&&delete this.rootIdsByTypename[r],this.rootIdsByTypename[t]=n,this.rootTypenamesById[n]=t)},e.prototype.addPossibleTypes=function(e){var t=this;this.usingPossibleTypes=!0,Object.keys(e).forEach(function(n){t.getSupertypeSet(n,!0),e[n].forEach(function(e){t.getSupertypeSet(e,!0).add(n);var r=e.match(u.$O);r&&r[0]===e||t.fuzzySubtypes.set(e,new RegExp(e))})})},e.prototype.getTypePolicy=function(e){var t=this;if(!u.RI.call(this.typePolicies,e)){var n=this.typePolicies[e]=Object.create(null);n.fields=Object.create(null);var i=this.supertypeMap.get(e);!i&&this.fuzzySubtypes.size&&(i=this.getSupertypeSet(e,!0),this.fuzzySubtypes.forEach(function(n,r){if(n.test(e)){var o=t.supertypeMap.get(r);o&&o.forEach(function(e){return i.add(e)})}})),i&&i.size&&i.forEach(function(e){var i=t.getTypePolicy(e),o=i.fields;Object.assign(n,(0,r.__rest)(i,["fields"])),Object.assign(n.fields,o)})}var o=this.toBeAdded[e];return o&&o.length&&o.splice(0).forEach(function(n){t.updateTypePolicy(e,n)}),this.typePolicies[e]},e.prototype.getFieldPolicy=function(e,t,n){if(e){var r=this.getTypePolicy(e).fields;return r[t]||n&&(r[t]=Object.create(null))}},e.prototype.getSupertypeSet=function(e,t){var n=this.supertypeMap.get(e);return!n&&t&&this.supertypeMap.set(e,n=new Set),n},e.prototype.fragmentMatches=function(e,t,n,r){var o=this;if(!e.typeCondition)return!0;
1if(!t)return!1;var a=e.typeCondition.name.value;if(t===a)return!0;if(this.usingPossibleTypes&&this.supertypeMap.has(a))for(var s=this.getSupertypeSet(t,!0),c=[s],l=function(e){var t=o.getSupertypeSet(e,!1);t&&t.size&&0>c.indexOf(t)&&c.push(t)},f=!!(n&&this.fuzzySubtypes.size),p=!1,d=0;d<c.length;++d){var h=c[d];if(h.has(a))return s.has(a)||(p&&!1!==globalThis.__DEV__&&i.kG.warn(4,t,a),s.add(a)),!0;h.forEach(l),f&&d===c.length-1&&(0,u.RC)(e.selectionSet,n,r)&&(f=!1,p=!0,this.fuzzySubtypes.forEach(function(e,n){var r=t.match(e);r&&r[0]===t&&l(n)}))}return!1},e.prototype.hasKeyArgs=function(e,t){var n=this.getFieldPolicy(e,t,!1);return!!(n&&n.keyFn)},e.prototype.getStoreFieldName=function(e){var t,n=e.typename,r=e.fieldName,i=this.getFieldPolicy(n,r,!1),a=i&&i.keyFn;if(a&&n)for(var s={typename:n,fieldName:r,field:e.field||null,variables:e.variables},l=_(e);a;){var f=a(l,s);if((0,c.k)(f))a=v(f);else{t=f||r;break}}return(void 0===t&&(t=e.field?(0,o.vf)(e.field,e.variables):(0,o.PT)(r,_(e))),!1===t)?r:r===(0,u.E_)(t)?t:r+":"+t},e.prototype.readField=function(e,t){var n=e.from;if(n&&(e.field||e.fieldName)){if(void 0===e.typename){var r=t.store.getFieldValue(n,"__typename");r&&(e.typename=r)}var i=this.getStoreFieldName(e),a=(0,u.E_)(i),s=t.store.getFieldValue(n,i),c=this.getFieldPolicy(e.typename,a,!1),f=c&&c.read;if(f){var p=S(this,n,e,t,t.store.getStorage((0,o.Yk)(n)?n.__ref:n,i));return l.ab.withValue(this.cache,f,[s,p])}return s}},e.prototype.getReadFunction=function(e,t){var n=this.getFieldPolicy(e,t,!1);return n&&n.read},e.prototype.getMergeFunction=function(e,t,n){var r=this.getFieldPolicy(e,t,!1),i=r&&r.merge;return!i&&n&&(i=(r=this.getTypePolicy(n))&&r.merge),i},e.prototype.runMergeFunction=function(e,t,n,r,i){var o=n.field,a=n.typename,s=n.merge;return s===T?k(r.store)(e,t):s===I?t:(r.overwrite&&(e=void 0),s(e,t,S(this,void 0,{typename:a,fieldName:o.name.value,field:o,variables:r.variables},r,i||Object.create(null))))},e}();function S(e,t,n,r,i){var a=e.getStoreFieldName(n),s=(0,u.E_)(a),c=n.variables||r.variables,l=r.store,f=l.toReference,p=l.canRead;return{args:_(n),field:n.field||null,fieldName:s,storeFieldName:a,variables:c,isReference:o.Yk,toReference:f,storage:i,cache:e.cache,canRead:p,readField:function(){return e.readField(N(arguments,t,c),r)},mergeObjects:k(r.store)}}function N(e,t,n){var o,s=e[0],c=e[1],l=e.length;return"string"==typeof s?o={fieldName:s,from:l>1?c:t}:(o=(0,r.__assign)({},s),u.RI.call(o,"from")||(o.from=t)),!1!==globalThis.__DEV__&&void 0===o.from&&!1!==globalThis.__DEV__&&i.kG.warn(5,(0,a.v)(Array.from(e))),void 0===o.variables&&(o.variables=n),o}function k(e){return function(t,n){if((0,c.k)(t)||(0,c.k)(n))throw(0,i._K)(6);if((0,s.s)(t)&&(0,s.s)(n)){var a=e.getFieldValue(t,"__typename"),l=e.getFieldValue(n,"__typename");if(a&&l&&a!==l)return n;if((0,o.Yk)(t)&&(0,u.j)(n))return e.merge(t.__ref,n),t;if((0,u.j)(t)&&(0,o.Yk)(n))return e.merge(t,n.__ref),n;if((0,u.j)(t)&&(0,u.j)(n))return(0,r.__assign)((0,r.__assign)({},t),n)}return n}}},91591:function(e,t,n){"use strict";n.r(t),n.d(t,{ApolloCache:function(){return ei.R},ApolloClient:function(){return en},ApolloError:function(){return O.cA},ApolloLink:function(){return eu.ApolloLink},Cache:function(){return er.C},DocumentTransform:function(){return y.A},HttpLink:function(){return u.u},InMemoryCache:function(){return eo.h},MissingFieldError:function(){return ea.y},NetworkStatus:function(){return S.Ie},Observable:function(){return T.y},ObservableQuery:function(){return L},checkFetcher:function(){return ep.U},concat:function(){return eu.concat},createHttpLink:function(){return ey.L},createSignalIfSupported:function(){return ed},defaultDataIdFromObject:function(){return es.uG},defaultPrinter:function(){return ef.sb},disableExperimentalFragmentVariables:function(){return ew.J9},disableFragmentWarnings:function(){return ew._t},empty:function(){return eu.empty},enableExperimentalFragmentVariables:function(){return ew.wO},execute:function(){return eu.execute},fallbackHttpConfig:function(){return ef.SC},from:function(){return eu.from},fromError:function(){return eb.Q},fromPromise:function(){return eg},gql:function(){return ew.Ps},isApolloError:function(){return O.MS}
1,isNetworkRequestSettled:function(){return S.Jp},isReference:function(){return _.Yk},makeReference:function(){return _.kQ},makeVar:function(){return q.QS},mergeOptions:function(){return ee.J},parseAndCheckHttpResponse:function(){return ec.dO},resetCaches:function(){return ew.HW},rewriteURIForGET:function(){return ev.H},selectHttpOptionsAndBody:function(){return ef.E4},selectHttpOptionsAndBodyInternal:function(){return ef.ve},selectURI:function(){return eh.r},serializeFetchParameter:function(){return el.g},setLogVerbosity:function(){return eE.setVerbosity},split:function(){return eu.split},throwServerError:function(){return e_.P},toPromise:function(){return em}});var r=n(71113),i=n(3612),o=n(28843),a=n(45807),s=n(28473),u=n(96578),c=n(51996),l=n(50702),f=n(14981),p=n(83224),d=n(35356),h=n(50354),y=n(42907),v=n(62008),m=n(14450),g=n(56811),b=n(69322),_=n(65793),E=n(60191),w=n(64801),T=n(19830),I=n(46546),O=n(3873),S=n(70111),N=n(91286),k=n(79782),D=n(2857),R=n(39108),A=n(33431);function F(e){return!!e.directives&&e.directives.some(x)}function x(e){return"nonreactive"===e.name.value}var C=Object.assign,j=Object.hasOwnProperty,L=function(e){function t(t){var n=t.queryManager,i=t.queryInfo,o=t.options,a=e.call(this,function(e){try{var t=e._subscription._observer;t&&!t.error&&(t.error=M)}catch(e){}var n=!a.observers.size;a.observers.add(e);var r=a.last;return r&&r.error?e.error&&e.error(r.error):r&&r.result&&e.next&&e.next(r.result),n&&a.reobserve().catch(function(){}),function(){a.observers.delete(e)&&!a.observers.size&&a.tearDownQuery()}})||this;a.observers=new Set,a.subscriptions=new Set,a.queryInfo=i,a.queryManager=n,a.waitForOwnResult=$(o.fetchPolicy),a.isTornDown=!1;var s=n.defaultOptions.watchQuery,u=(void 0===s?{}:s).fetchPolicy,c=void 0===u?"cache-first":u,l=o.fetchPolicy,f=void 0===l?c:l,p=o.initialFetchPolicy,d=void 0===p?"standby"===f?c:f:p;a.options=(0,r.__assign)((0,r.__assign)({},o),{initialFetchPolicy:d,fetchPolicy:f}),a.queryId=i.queryId||n.generateQueryId();var h=(0,b.$H)(a.query);return a.queryName=h&&h.name&&h.name.value,a}return(0,r.__extends)(t,e),Object.defineProperty(t.prototype,"query",{get:function(){return this.lastQuery||this.options.query},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"variables",{get:function(){return this.options.variables},enumerable:!1,configurable:!0}),t.prototype.result=function(){var e=this;return new Promise(function(t,n){var r={next:function(n){t(n),e.observers.delete(r),e.observers.size||e.queryManager.removeQuery(e.queryId),setTimeout(function(){i.unsubscribe()},0)},error:n},i=e.subscribe(r)})},t.prototype.getCurrentResult=function(e){void 0===e&&(e=!0);var t=this.getLastResult(!0),n=this.queryInfo.networkStatus||t&&t.networkStatus||S.Ie.ready,i=(0,r.__assign)((0,r.__assign)({},t),{loading:(0,S.Oj)(n),networkStatus:n}),o=this.options.fetchPolicy,a=void 0===o?"cache-first":o;if($(a)||this.queryManager.getDocumentInfo(this.query).hasForcedResolvers);else if(this.waitForOwnResult)this.queryInfo.updateWatch();else{var s=this.queryInfo.getDiff();(s.complete||this.options.returnPartialData)&&(i.data=s.result),(0,c.D)(i.data,{})&&(i.data=void 0),s.complete?(delete i.partial,s.complete&&i.networkStatus===S.Ie.loading&&("cache-first"===a||"cache-only"===a)&&(i.networkStatus=S.Ie.ready,i.loading=!1)):i.partial=!0,!1===globalThis.__DEV__||s.complete||this.options.partialRefetch||i.loading||i.data||i.error||V(s.missing)}return e&&this.updateLastResult(i),i},t.prototype.isDifferentFromLastResult=function(e,t){var n,i,o,a,s,u,l;return!this.last||(this.queryManager.getDocumentInfo(this.query).hasNonreactiveDirective?(n=this.query,i=this.last.result,o=this.variables,a=i.data,s=(0,r.__rest)(i,["data"]),u=e.data,l=(0,r.__rest)(e,["data"]),!((0,c.Z)(s,l)&&function e(t,n,r,i){if(n===r)return!0;var o=new Set;return t.selections.every(function(t){if(o.has(t)||(o.add(t),!(0,f.LZ)(t,i.variables)||F(t)))return!0;if((0,_.My)(t)){var a=(0,_.u2)(t),s=n&&n[a],u=r&&r[a],l=t.selectionSet;if(!l)return(0,c.Z)(s,u);var p=Array.isArray(s),d=Array.isArray(u);if(p!==d)return!1;if(p&&d){var h=s.length;if(u.length!==h)return!1;for(var y=0;
1y<h;++y)if(!e(l,s[y],u[y],i))return!1;return!0}return e(l,s,u,i)}var v=(0,A.hi)(t,i.fragmentMap);if(v)return!!F(v)||e(v.selectionSet,n,r,i)})}((0,b.p$)(n).selectionSet,a,u,{fragmentMap:(0,A.F)((0,b.kU)(n)),variables:o}))):!(0,c.D)(this.last.result,e))||t&&!(0,c.D)(this.last.variables,t)},t.prototype.getLast=function(e,t){var n=this.last;if(n&&n[e]&&(!t||(0,c.D)(n.variables,this.variables)))return n[e]},t.prototype.getLastResult=function(e){return this.getLast("result",e)},t.prototype.getLastError=function(e){return this.getLast("error",e)},t.prototype.resetLastResults=function(){delete this.last,this.isTornDown=!1},t.prototype.resetQueryStoreErrors=function(){this.queryManager.resetErrors(this.queryId)},t.prototype.refetch=function(e){var t,n={pollInterval:0},o=this.options.fetchPolicy;if("cache-and-network"===o?n.fetchPolicy=o:"no-cache"===o?n.fetchPolicy="no-cache":n.fetchPolicy="network-only",!1!==globalThis.__DEV__&&e&&j.call(e,"variables")){var a=(0,b.iW)(this.query),s=a.variableDefinitions;s&&s.some(function(e){return"variables"===e.variable.name.value})||!1===globalThis.__DEV__||i.kG.warn(18,e,(null===(t=a.name)||void 0===t?void 0:t.value)||a)}return e&&!(0,c.D)(this.options.variables,e)&&(n.variables=this.options.variables=(0,r.__assign)((0,r.__assign)({},this.options.variables),e)),this.queryInfo.resetLastWrite(),this.reobserve(n,S.Ie.refetch)},t.prototype.fetchMore=function(e){var t=this,n=(0,r.__assign)((0,r.__assign)({},e.query?e:(0,r.__assign)((0,r.__assign)((0,r.__assign)((0,r.__assign)({},this.options),{query:this.options.query}),e),{variables:(0,r.__assign)((0,r.__assign)({},this.options.variables),e.variables)})),{fetchPolicy:"no-cache"});n.query=this.transformDocument(n.query);var i=this.queryManager.generateQueryId();this.lastQuery=e.query?this.transformDocument(this.options.query):n.query;var o=this.queryInfo,a=o.networkStatus;o.networkStatus=S.Ie.fetchMore,n.notifyOnNetworkStatusChange&&this.observe();var s=new Set;
1return this.queryManager.fetchQuery(i,n,S.Ie.fetchMore).then(function(r){return t.queryManager.removeQuery(i),o.networkStatus===S.Ie.fetchMore&&(o.networkStatus=a),t.queryManager.cache.batch({update:function(i){var o=e.updateQuery;o?i.updateQuery({query:t.query,variables:t.variables,returnPartialData:!0,optimistic:!1},function(e){return o(e,{fetchMoreResult:r.data,variables:n.variables})}):i.writeQuery({query:n.query,variables:n.variables,data:r.data})},onWatchUpdated:function(e){s.add(e.query)}}),r}).finally(function(){s.has(t.query)||P(t)})},t.prototype.subscribeToMore=function(e){var t=this,n=this.queryManager.startGraphQLSubscription({query:e.document,variables:e.variables,context:e.context}).subscribe({next:function(n){var r=e.updateQuery;r&&t.updateQuery(function(e,t){return r(e,{subscriptionData:n,variables:t.variables})})},error:function(t){if(e.onError){e.onError(t);return}!1!==globalThis.__DEV__&&i.kG.error(19,t)}});return this.subscriptions.add(n),function(){t.subscriptions.delete(n)&&n.unsubscribe()}},t.prototype.setOptions=function(e){return this.reobserve(e)},t.prototype.silentSetOptions=function(e){var t=(0,N.o)(this.options,e||{});C(this.options,t)},t.prototype.setVariables=function(e){return(0,c.D)(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},S.Ie.setVariables):Promise.resolve()},t.prototype.updateQuery=function(e){var t=this.queryManager,n=e(t.cache.diff({query:this.options.query,variables:this.variables,returnPartialData:!0,optimistic:!1}).result,{variables:this.variables});n&&(t.cache.writeQuery({query:this.options.query,data:n,variables:this.variables}),t.broadcastQueries())},t.prototype.startPolling=function(e){this.options.pollInterval=e,this.updatePolling()},t.prototype.stopPolling=function(){this.options.pollInterval=0,this.updatePolling()},t.prototype.applyNextFetchPolicy=function(e,t){if(t.nextFetchPolicy){var n=t.fetchPolicy,r=void 0===n?"cache-first":n,i=t.initialFetchPolicy,o=void 0===i?r:i;"standby"===r||("function"==typeof t.nextFetchPolicy?t.fetchPolicy=t.nextFetchPolicy(r,{reason:e,options:t,observable:this,initialFetchPolicy:o}):"variables-changed"===e?t.fetchPolicy=o:t.fetchPolicy=t.nextFetchPolicy)}return t.fetchPolicy},t.prototype.fetch=function(e,t){return this.queryManager.setObservableQuery(this),this.queryManager.fetchConcastWithInfo(this.queryId,e,t)},t.prototype.updatePolling=function(){var e=this;if(!this.queryManager.ssrMode){var t=this.pollingInfo,n=this.options.pollInterval;if(!n){t&&(clearTimeout(t.timeout),delete this.pollingInfo);return}if(!t||t.interval!==n){(0,i.kG)(n,20),(t||(this.pollingInfo={})).interval=n;var r=function(){e.pollingInfo&&((0,S.Oj)(e.queryInfo.networkStatus)?o():e.reobserve({fetchPolicy:"no-cache"===e.options.initialFetchPolicy?"no-cache":"network-only"},S.Ie.poll).then(o,o))},o=function(){var t=e.pollingInfo;t&&(clearTimeout(t.timeout),t.timeout=setTimeout(r,t.interval))};o()}}},t.prototype.updateLastResult=function(e,t){void 0===t&&(t=this.variables);var n=this.getLastError();return n&&this.last&&!(0,c.D)(t,this.last.variables)&&(n=void 0),this.last=(0,r.__assign)({result:this.queryManager.assumeImmutableResults?e:(0,k.X)(e),variables:t},n?{error:n}:null)},t.prototype.reobserveAsConcast=function(e,t){var n=this;this.isTornDown=!1;var i=t===S.Ie.refetch||t===S.Ie.fetchMore||t===S.Ie.poll,o=this.options.variables,a=this.options.fetchPolicy,s=(0,N.o)(this.options,e||{}),u=i?s:C(this.options,s),l=this.transformDocument(u.query);this.lastQuery=l,!i&&(this.updatePolling(),e&&e.variables&&!(0,c.D)(e.variables,o)&&"standby"!==u.fetchPolicy&&u.fetchPolicy===a&&(this.applyNextFetchPolicy("variables-changed",u),void 0===t&&(t=S.Ie.setVariables)));var f=l===u.query?u:(0,r.__assign)((0,r.__assign)({},u),{query:l});this.waitForOwnResult&&(this.waitForOwnResult=$(f.fetchPolicy));var p=function(){n.concast===y&&(n.waitForOwnResult=!1)},d=f.variables&&(0,r.__assign)({},f.variables),h=this.fetch(f,t),y=h.concast,v=h.fromLink,m={next:function(e){p(),n.reportResult(e,d)},error:function(e){p(),n.reportError(e,d)}};return i||!v&&this.concast||(this.concast&&this.observer&&this.concast.removeObserver(this.observer),this.concast=y,this.observer=m),y.addObserver(m),y},t.prototype.reobserve=function(e,t){return this.reobserveAsConcast(e,t).promise},t.prototype.resubscribeAfterError=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=this.last;this.resetLastResults();var r=this.subscribe.apply(this,e);return this.last=n,r},t.prototype.observe=function(){this.reportResult(this.getCurrentResult(!1),this.variables)},t.prototype.reportResult=function(e,t){var n=this.getLastError(),r=this.isDifferentFromLastResult(e,t);(n||!e.partial||this.options.returnPartialData)&&this.updateLastResult(e,t),(n||r)&&(0,D.p)(this.observers,"next",e)},t.prototype.reportError=function(e,t){var n=(0,r.__assign)((0,r.__assign)({},this.getLastResult()),{error:e,errors:e.graphQLErrors,networkStatus:S.Ie.error,loading:!1});this.updateLastResult(n,t),(0,D.p)(this.observers,"error",this.last.error=e)},t.prototype.hasObservers=function(){return this.observers.size>0},t.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)},t.prototype.transformDocument=function(e){return this.queryManager.transform(e)},t}(T.y);function P(e){var t=e.options,n=t.fetchPolicy,r=t.nextFetchPolicy;return"cache-and-network"===n||"network-only"===n?e.reobserve({fetchPolicy:"cache-first",nextFetchPolicy:function(){return(this.nextFetchPolicy=r,"function"==typeof r)?r.apply(this,arguments):n}}):e.reobserve()}function M(e){!1!==globalThis.__DEV__&&i.kG.error(21,e.message,e.stack)}function V(e){!1!==globalThis.__DEV__&&e&&!1!==globalThis.__DEV__&&i.kG.debug(22,e)}function $(e){return"network-only"===e||"no-cache"===e||"standby"===e}(0,R.D)(L);var U=n(6369),Q=n(44698),B=n(79707),q=n(87930),G=function(){function e(e){var t=e.cache,n=e.client,r=e.resolvers,i=e.fragmentMatcher;this.selectionsToResolveCache=new WeakMap,this.cache=t,n&&(this.client=n),r&&this.addResolvers(r),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,B.Ee)(t.resolvers,e)}):this.resolvers=(0,B.Ee)(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){var t=e.document,n=e.remoteResult,i=e.context,o=e.variables,a=e.onlyRunForcedResolvers,s=void 0!==a&&a;return(0,r.__awaiter)(this,void 0,void 0,function(){return(0,r.__generator)(this,function(e){return t?[2,this.resolveDocument(t,n.data,i,o,this.fragmentMatcher,s).then(function(e){return(0,r.__assign)((0,r.__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,f.FS)(["client"],e)&&this.resolvers?e:null},e.prototype.serverQuery=function(e){return(0,p.ob)(e)},e.prototype.prepareContext=function(e){var t=this.cache;return(0,r.__assign)((0,r.__assign)({},e),{cache:t,getCacheKey:function(e){return t.identify(e)}})},e.prototype.addExportedVariables=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n={}),(0,r.__awaiter)(this,void 0,void 0,function(){return(0,r.__generator)(this,function(i){return e?[2,this.resolveDocument(e,this.buildRootValueFromCache(e,t)||{},this.prepareContext(n),t).then(function(e){return(0,r.__assign)((0,r.__assign)({},t),e.exportedVariables)})]:[2,(0,r.__assign)({},t)]})})},e.prototype.shouldForceResolvers=function(e){var t=!1;return(0,U.Vn)(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 U.$_}}}),t},e.prototype.buildRootValueFromCache=function(e,t){return this.cache.diff({query:(0,p.aL)(e),variables:t,returnPartialData:!0,optimistic:!1}).result},e.prototype.resolveDocument=function(e,t,n,i,o,a){return void 0===n&&(n={}),void 0===i&&(i={}),void 0===o&&(o=function(){return!0}),void 0===a&&(a=!1),(0,r.__awaiter)(this,void 0,void 0,function(){var s,u,c,l,f,p,d,h,y,v;return(0,r.__generator)(this,function(m){return s=(0,b.p$)(e),u=(0,b.kU)(e),c=(0,A.F)(u),l=this.collectSelectionsToResolve(s,c),p=(f=s.operation)?f.charAt(0).toUpperCase()+f.slice(1):"Query",d=this,h=d.cache,y=d.client,v={fragmentMap:c,context:(0,r.__assign)((0,r.__assign)({}
1,n),{cache:h,client:y}),variables:i,fragmentMatcher:o,defaultOperationType:p,exportedVariables:{},selectionsToResolve:l,onlyRunForcedResolvers:a},[2,this.resolveSelectionSet(s.selectionSet,!1,t,v).then(function(e){return{result:e,exportedVariables:v.exportedVariables}})]})})},e.prototype.resolveSelectionSet=function(e,t,n,o){return(0,r.__awaiter)(this,void 0,void 0,function(){var a,s,u,c,l,p=this;return(0,r.__generator)(this,function(d){return a=o.fragmentMap,s=o.context,u=o.variables,c=[n],l=function(e){return(0,r.__awaiter)(p,void 0,void 0,function(){var l,p;return(0,r.__generator)(this,function(r){return(t||o.selectionsToResolve.has(e))&&(0,f.LZ)(e,u)?(0,_.My)(e)?[2,this.resolveField(e,t,n,o).then(function(t){var n;void 0!==t&&c.push(((n={})[(0,_.u2)(e)]=t,n))})]:((0,_.Ao)(e)?l=e:(l=a[e.name.value],(0,i.kG)(l,16,e.name.value)),l&&l.typeCondition&&(p=l.typeCondition.name.value,o.fragmentMatcher(n,p,s)))?[2,this.resolveSelectionSet(l.selectionSet,t,n,o).then(function(e){c.push(e)})]:[2]:[2]})})},[2,Promise.all(e.selections.map(l)).then(function(){return(0,B.bw)(c)})]})})},e.prototype.resolveField=function(e,t,n,i){return(0,r.__awaiter)(this,void 0,void 0,function(){var o,a,s,u,c,l,f,p,d,h=this;return(0,r.__generator)(this,function(r){return n?(o=i.variables,u=(a=e.name.value)!==(s=(0,_.u2)(e)),l=Promise.resolve(c=n[s]||n[a]),(!i.onlyRunForcedResolvers||this.shouldForceResolvers(e))&&(f=n.__typename||i.defaultOperationType,(p=this.resolvers&&this.resolvers[f])&&(d=p[u?a:s])&&(l=Promise.resolve(q.ab.withValue(this.cache,d,[n,(0,_.NC)(e,o),i.context,{field:e,fragmentMap:i.fragmentMap}])))),[2,l.then(function(n){if(void 0===n&&(n=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]=n)})}),!e.selectionSet||null==n)return n;var r,o,a=null!==(o=null===(r=e.directives)||void 0===r?void 0:r.some(function(e){return"client"===e.name.value}))&&void 0!==o&&o;return Array.isArray(n)?h.resolveSubSelectedArray(e,t||a,n,i):e.selectionSet?h.resolveSelectionSet(e.selectionSet,t||a,n,i):void 0})]):[2,null]})})},e.prototype.resolveSubSelectedArray=function(e,t,n,r){var i=this;return Promise.all(n.map(function(n){return null===n?null:Array.isArray(n)?i.resolveSubSelectedArray(e,t,n,r):e.selectionSet?i.resolveSelectionSet(e.selectionSet,t,n,r):void 0}))},e.prototype.collectSelectionsToResolve=function(e,t){var n=function(e){return!Array.isArray(e)},r=this.selectionsToResolveCache;return function e(o){if(!r.has(o)){var a=new Set;r.set(o,a),(0,U.Vn)(o,{Directive:function(e,t,r,i,o){"client"===e.name.value&&o.forEach(function(e){n(e)&&(0,Q.pO)(e)&&a.add(e)})},FragmentSpread:function(r,o,s,u,c){var l=t[r.name.value];(0,i.kG)(l,17,r.name.value);var f=e(l);f.size>0&&(c.forEach(function(e){n(e)&&(0,Q.pO)(e)&&a.add(e)}),a.add(r),f.forEach(function(e){a.add(e)}))}})}return r.get(o)}(e)},e}(),X=new(h.mr?WeakMap:Map);function Y(e,t){var n=e[t];"function"==typeof n&&(e[t]=function(){return X.set(e,(X.get(e)+1)%1e15),n.apply(this,arguments)})}function z(e){e.notifyTimeout&&(clearTimeout(e.notifyTimeout),e.notifyTimeout=void 0)}var J=function(){function e(e,t){void 0===t&&(t=e.generateQueryId()),this.queryId=t,this.listeners=new Set,this.document=null,this.lastRequestId=1,this.subscriptions=new Set,this.stopped=!1,this.dirty=!1,this.observableQuery=null;var n=this.cache=e.cache;X.has(n)||(X.set(n,0),Y(n,"evict"),Y(n,"modify"),Y(n,"reset"))}return e.prototype.init=function(e){var t=e.networkStatus||S.Ie.loading;return this.variables&&this.networkStatus!==S.Ie.loading&&!(0,c.D)(this.variables,e.variables)&&(t=S.Ie.setVariables),(0,c.D)(e.variables,this.variables)||(this.lastDiff=void 0),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.reset=function(){z(this),this.dirty=!1},e.prototype.getDiff=function(){var e=this.getDiffOptions();if(this.lastDiff&&(0,c.D)(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?void 0:t.options.canonizeResults}},e.prototype.setDiff=function(e){var t=this,n=this.lastDiff&&this.lastDiff.diff;this.updateLastDiff(e),this.dirty||(0,c.D)(n&&n.result,e&&e.result)||(this.dirty=!0,this.notifyTimeout||(this.notifyTimeout=setTimeout(function(){return t.notify()},0)))},e.prototype.setObservableQuery=function(e){var t=this;e!==this.observableQuery&&(this.oqListener&&this.listeners.delete(this.oqListener),this.observableQuery=e,e?(e.queryInfo=this,this.listeners.add(this.oqListener=function(){t.getDiff().fromOptimisticTransaction?e.observe():P(e)})):delete this.oqListener)},e.prototype.notify=function(){var e=this;
1z(this),this.shouldNotify()&&this.listeners.forEach(function(t){return t(e)}),this.dirty=!1},e.prototype.shouldNotify=function(){if(!this.dirty||!this.listeners.size)return!1;if((0,S.Oj)(this.networkStatus)&&this.observableQuery){var e=this.observableQuery.options.fetchPolicy;if("cache-only"!==e&&"cache-and-network"!==e)return!1}return!0},e.prototype.stop=function(){if(!this.stopped){this.stopped=!0,this.reset(),this.cancel(),this.cancel=e.prototype.cancel,this.subscriptions.forEach(function(e){return e.unsubscribe()});var t=this.observableQuery;t&&t.stopPolling()}},e.prototype.cancel=function(){},e.prototype.updateWatch=function(e){var t=this;void 0===e&&(e=this.variables);var n=this.observableQuery;if(!n||"no-cache"!==n.options.fetchPolicy){var i=(0,r.__assign)((0,r.__assign)({},this.getDiffOptions(e)),{watcher:this,callback:function(e){return t.setDiff(e)}});this.lastWatch&&(0,c.D)(i,this.lastWatch)||(this.cancel(),this.cancel=this.cache.watch(this.lastWatch=i))}},e.prototype.resetLastWrite=function(){this.lastWrite=void 0},e.prototype.shouldWrite=function(e,t){var n=this.lastWrite;return!(n&&n.dmCount===X.get(this.cache)&&(0,c.D)(t,n.variables)&&(0,c.D)(e.data,n.result.data))},e.prototype.markResult=function(e,t,n,r){var i=this,o=new B.w0,a=(0,g.O)(e.errors)?e.errors.slice(0):[];if(this.reset(),"incremental"in e&&(0,g.O)(e.incremental)){var s=(0,l.mT)(this.getDiff().result,e);e.data=s}else if("hasNext"in e&&e.hasNext){var u=this.getDiff();e.data=o.merge(u.result,e.data)}this.graphQLErrors=a,"no-cache"===n.fetchPolicy?this.updateLastDiff({result:e.data,complete:!0},this.getDiffOptions(n.variables)):0!==r&&(W(e,n.errorPolicy)?this.cache.performTransaction(function(o){if(i.shouldWrite(e,n.variables))o.writeQuery({query:t,data:e.data,variables:n.variables,overwrite:1===r}),i.lastWrite={result:e,variables:n.variables,dmCount:X.get(i.cache)};else if(i.lastDiff&&i.lastDiff.diff.complete){e.data=i.lastDiff.diff.result;return}var a=i.getDiffOptions(n.variables),s=o.diff(a);!i.stopped&&(0,c.D)(i.variables,n.variables)&&i.updateWatch(n.variables),i.updateLastDiff(s,a),s.complete&&(e.data=s.result)}):this.lastWrite=void 0)},e.prototype.markReady=function(){return this.networkError=null,this.networkStatus=S.Ie.ready},e.prototype.markError=function(e){return this.networkStatus=S.Ie.error,this.lastWrite=void 0,this.reset(),e.graphQLErrors&&(this.graphQLErrors=e.graphQLErrors),e.networkError&&(this.networkError=e.networkError),e},e}();function W(e,t){void 0===t&&(t="none");var n="ignore"===t||"all"===t,r=!(0,m.d)(e);return!r&&n&&e.data&&(r=!0),r}var H=n(71648),K=Object.prototype.hasOwnProperty,Z=function(){function e(e){var t=this,n=e.cache,r=e.link,i=e.defaultOptions,o=e.documentTransform,a=e.queryDeduplication,s=e.onBroadcast,u=e.ssrMode,c=e.clientAwareness,l=e.localState,f=e.assumeImmutableResults,p=void 0===f?!!n.assumeImmutableResults:f;this.clientAwareness={},this.queries=new Map,this.fetchCancelFns=new Map,this.transformCache=new(h.mr?WeakMap:Map),this.queryIdCounter=1,this.requestIdCounter=1,this.mutationIdCounter=1,this.inFlightLinkObservables=new Map;var d=new y.A(function(e){return t.cache.transformDocument(e)},{cache:!1});this.cache=n,this.link=r,this.defaultOptions=i||Object.create(null),this.queryDeduplication=void 0!==a&&a,this.clientAwareness=void 0===c?{}:c,this.localState=l||new G({cache:n}),this.ssrMode=void 0!==u&&u,this.assumeImmutableResults=p,this.documentTransform=o?d.concat(o).concat(d):d,(this.onBroadcast=s)&&(this.mutationStore=Object.create(null))}return e.prototype.stop=function(){var e=this;this.queries.forEach(function(t,n){e.stopQueryNoBroadcast(n)}),this.cancelPendingFetches((0,i._K)(23))},e.prototype.cancelPendingFetches=function(e){this.fetchCancelFns.forEach(function(t){return t(e)}),this.fetchCancelFns.clear()},e.prototype.mutate=function(e){var t,n,o=e.mutation,a=e.variables,s=e.optimisticResponse,u=e.updateQueries,c=e.refetchQueries,l=void 0===c?[]:c,f=e.awaitRefetchQueries,p=void 0!==f&&f,d=e.update,h=e.onQueryUpdated,y=e.fetchPolicy,g=void 0===y?(null===(t=this.defaultOptions.mutate)||void 0===t?void 0:t.fetchPolicy)||"network-only":y,b=e.errorPolicy,_=void 0===b?(null===(n=this.defaultOptions.mutate)||void 0===n?void 0:n.errorPolicy)||"none":b,E=e.keepRootFields,w=e.context;return(0,r.__awaiter)(this,void 0,void 0,function(){var e,t,n,c;return(0,r.__generator)(this,function(f){switch(f.label){case 0:if((0,i.kG)(o,24),(0,i.kG)("network-only"===g||"no-cache"===g,25),e=this.generateMutationId(),o=this.cache.transformForLink(this.transform(o)),t=this.getDocumentInfo(o).hasClientExports,a=this.getVariables(o,a),!t)return[3,2];return[4,this.localState.addExportedVariables(o,a,w)];case 1:a=f.sent(),f.label=2;case 2:return n=this.mutationStore&&(this.mutationStore[e]={mutation:o,variables:a,loading:!0,error:null}),s&&this.markMutationOptimistic(s,{mutationId:e,document:o,variables:a,fetchPolicy:g,errorPolicy:_,context:w,updateQueries:u,update:d,keepRootFields:E}),this.broadcastQueries(),c=this,[2,new Promise(function(t,i){return(0,v.s)(c.getObservableFromLink(o,(0,r.__assign)((0,r.__assign)({},w),{optimisticResponse:s}),a,!1),function(t){if((0,m.d)(t)&&"none"===_)throw new O.cA({graphQLErrors:(0,m.K)(t)});n&&(n.loading=!1,n.error=null);var i=(0,r.__assign)({},t);return"function"==typeof l&&(l=l(i)),"ignore"===_&&(0,m.d)(i)&&delete i.errors,c.markMutationResult({mutationId:e,result:i,document:o,variables:a,fetchPolicy:g,errorPolicy:_,context:w,update:d,updateQueries:u,awaitRefetchQueries:p,refetchQueries:l,removeOptimistic:s?e:void 0,onQueryUpdated:h,keepRootFields:E})}).subscribe({next:function(e){c.broadcastQueries(),"hasNext"in e&&!1!==e.hasNext||t(e)},error:function(t){n&&(n.loading=!1,n.error=t),s&&c.cache.removeOptimistic(e),c.broadcastQueries(),i(t instanceof O.cA?t:new O.cA({networkError:t}))}})})]}})})},e.prototype.markMutationResult=function(e,t){var n=this;void 0===t&&(t=this.cache);var i=e.result,o=[],a="no-cache"===e.fetchPolicy;if(!a&&W(i,e.errorPolicy)){if((0,l.GG)(i)||o.push({result:i.data,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}),(0,l.GG)(i)&&(0,g.O)(i.incremental)){var s=t.diff({id:"ROOT_MUTATION",query:this.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0}
1),u=void 0;s.result&&(u=(0,l.mT)(s.result,i)),void 0!==u&&(i.data=u,o.push({result:u,dataId:"ROOT_MUTATION",query:e.document,variables:e.variables}))}var c=e.updateQueries;c&&this.queries.forEach(function(e,r){var a=e.observableQuery,s=a&&a.queryName;if(s&&K.call(c,s)){var u=c[s],l=n.queries.get(r),f=l.document,p=l.variables,d=t.diff({query:f,variables:p,returnPartialData:!0,optimistic:!1}),h=d.result;if(d.complete&&h){var y=u(h,{mutationResult:i,queryName:f&&(0,b.rY)(f)||void 0,queryVariables:p});y&&o.push({result:y,dataId:"ROOT_QUERY",query:f,variables:p})}}})}if(o.length>0||e.refetchQueries||e.update||e.onQueryUpdated||e.removeOptimistic){var f=[];if(this.refetchQueries({updateCache:function(t){a||o.forEach(function(e){return t.write(e)});var s=e.update,u=!(0,l.M0)(i)||(0,l.GG)(i)&&!i.hasNext;if(s){if(!a){var c=t.diff({id:"ROOT_MUTATION",query:n.getDocumentInfo(e.document).asQuery,variables:e.variables,optimistic:!1,returnPartialData:!0});c.complete&&("incremental"in(i=(0,r.__assign)((0,r.__assign)({},i),{data:c.result}))&&delete i.incremental,"hasNext"in i&&delete i.hasNext)}u&&s(t,i,{context:e.context,variables:e.variables})}a||e.keepRootFields||!u||t.modify({id:"ROOT_MUTATION",fields:function(e,t){var n=t.fieldName,r=t.DELETE;return"__typename"===n?e:r}})},include:e.refetchQueries,optimistic:!1,removeOptimistic:e.removeOptimistic,onQueryUpdated:e.onQueryUpdated||null}).forEach(function(e){return f.push(e)}),e.awaitRefetchQueries||e.onQueryUpdated)return Promise.all(f).then(function(){return i})}return Promise.resolve(i)},e.prototype.markMutationOptimistic=function(e,t){var n=this,o="function"==typeof e?e(t.variables):e;return this.cache.recordOptimisticTransaction(function(e){try{n.markMutationResult((0,r.__assign)((0,r.__assign)({},t),{result:{data:o}}),e)}catch(e){!1!==globalThis.__DEV__&&i.kG.error(e)}},t.mutationId)},e.prototype.fetchQuery=function(e,t,n){return this.fetchConcastWithInfo(e,t,n).concast.promise},e.prototype.getQueryStore=function(){var e=Object.create(null);return this.queries.forEach(function(t,n){e[n]={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 t=this.transformCache;if(!t.has(e)){var n={hasClientExports:(0,f.mj)(e),hasForcedResolvers:this.localState.shouldForceResolvers(e),hasNonreactiveDirective:(0,f.FS)(["nonreactive"],e),clientQuery:this.localState.clientQuery(e),serverQuery:(0,p.bi)([{name:"client",remove:!0},{name:"connection"},{name:"nonreactive"}],e),defaultVars:(0,b.O4)((0,b.$H)(e)),asQuery:(0,r.__assign)((0,r.__assign)({},e),{definitions:e.definitions.map(function(e){return"OperationDefinition"===e.kind&&"query"!==e.operation?(0,r.__assign)((0,r.__assign)({},e),{operation:"query"}):e})})};t.set(e,n)}return t.get(e)},e.prototype.getVariables=function(e,t){return(0,r.__assign)((0,r.__assign)({},this.getDocumentInfo(e).defaultVars),t)},e.prototype.watchQuery=function(e){var t=this.transform(e.query);void 0===(e=(0,r.__assign)((0,r.__assign)({},e),{variables:this.getVariables(t,e.variables)})).notifyOnNetworkStatusChange&&(e.notifyOnNetworkStatusChange=!1);var n=new J(this),i=new L({queryManager:this,queryInfo:n,options:e});return i.lastQuery=t,this.queries.set(i.queryId,n),n.init({document:t,observableQuery:i,variables:i.variables}),i},e.prototype.query=function(e,t){var n=this;return void 0===t&&(t=this.generateQueryId()),(0,i.kG)(e.query,26),(0,i.kG)("Document"===e.query.kind,27),(0,i.kG)(!e.returnPartialData,28),(0,i.kG)(!e.pollInterval,29),this.fetchQuery(t,(0,r.__assign)((0,r.__assign)({},e),{query:this.transform(e.query)})).finally(function(){return n.stopQuery(t)})},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}
1),this.cancelPendingFetches((0,i._K)(30)),this.queries.forEach(function(e){e.observableQuery?e.networkStatus=S.Ie.loading:e.stop()}),this.mutationStore&&(this.mutationStore=Object.create(null)),this.cache.reset(e)},e.prototype.getObservableQueries=function(e){var t=this;void 0===e&&(e="active");var n=new Map,o=new Map,a=new Set;return Array.isArray(e)&&e.forEach(function(e){"string"==typeof e?o.set(e,!1):(0,_.JW)(e)?o.set(t.transform(e),!1):(0,E.s)(e)&&e.query&&a.add(e)}),this.queries.forEach(function(t,r){var i=t.observableQuery,a=t.document;if(i){if("all"===e){n.set(r,i);return}var s=i.queryName;if("standby"===i.options.fetchPolicy||"active"===e&&!i.hasObservers())return;("active"===e||s&&o.has(s)||a&&o.has(a))&&(n.set(r,i),s&&o.set(s,!0),a&&o.set(a,!0))}}),a.size&&a.forEach(function(e){var o=(0,w.X)("legacyOneTimeQuery"),a=t.getQuery(o).init({document:e.query,variables:e.variables}),s=new L({queryManager:t,queryInfo:a,options:(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"network-only"})});(0,i.kG)(s.queryId===o),a.setObservableQuery(s),n.set(o,s)}),!1!==globalThis.__DEV__&&o.size&&o.forEach(function(e,t){e||!1===globalThis.__DEV__||i.kG.warn("string"==typeof t?31:32,t)}),n},e.prototype.reFetchObservableQueries=function(e){var t=this;void 0===e&&(e=!1);var n=[];return this.getObservableQueries(e?"all":"active").forEach(function(r,i){var o=r.options.fetchPolicy;r.resetLastResults(),(e||"standby"!==o&&"cache-only"!==o)&&n.push(r.refetch()),t.getQuery(i).setDiff(null)}),this.broadcastQueries(),Promise.all(n)},e.prototype.setObservableQuery=function(e){this.getQuery(e.queryId).setObservableQuery(e)},e.prototype.startGraphQLSubscription=function(e){var t=this,n=e.query,r=e.fetchPolicy,i=e.errorPolicy,o=void 0===i?"none":i,a=e.variables,s=e.context,u=void 0===s?{}:s;n=this.transform(n),a=this.getVariables(n,a);var c=function(e){return t.getObservableFromLink(n,u,e).map(function(i){"no-cache"!==r&&(W(i,o)&&t.cache.write({query:n,result:i.data,dataId:"ROOT_SUBSCRIPTION",variables:e}),t.broadcastQueries());var a=(0,m.d)(i),s=(0,O.ls)(i);if(a||s){var u={};if(a&&(u.graphQLErrors=i.errors),s&&(u.protocolErrors=i.extensions[O.YG]),"none"===o||s)throw new O.cA(u)}return"ignore"===o&&delete i.errors,i})};if(this.getDocumentInfo(n).hasClientExports){var l=this.localState.addExportedVariables(n,a,u).then(c);return new T.y(function(e){var t=null;return l.then(function(n){return t=n.subscribe(e)},e.error),function(){return t&&t.unsubscribe()}})}return c(a)},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){this.fetchCancelFns.delete(e),this.queries.has(e)&&(this.getQuery(e).stop(),this.queries.delete(e))},e.prototype.broadcastQueries=function(){this.onBroadcast&&this.onBroadcast(),this.queries.forEach(function(e){return e.notify()})},e.prototype.getLocalState=function(){return this.localState},e.prototype.getObservableFromLink=function(e,t,n,i){var o,s,u=this;void 0===i&&(i=null!==(o=null==t?void 0:t.queryDeduplication)&&void 0!==o?o:this.queryDeduplication);var c=this.getDocumentInfo(e),l=c.serverQuery,f=c.clientQuery;if(l){var p=this.inFlightLinkObservables,h=this.link,y={query:l,variables:n,operationName:(0,b.rY)(l)||void 0,context:this.prepareContext((0,r.__assign)((0,r.__assign)({},t),{forceFetch:!i}))};if(t=y.context,i){var m=(0,H.S)(l),g=p.get(m)||new Map;p.set(m,g);var _=(0,d.B)(n);if(!(s=g.get(_))){var E=new I.X([(0,a.h)(h,y)]);g.set(_,s=E),E.beforeNext(function(){g.delete(_)&&g.size<1&&p.delete(m)})}}else s=new I.X([(0,a.h)(h,y)])}else s=new I.X([T.y.of({data:{}})]),t=this.prepareContext(t);return f&&(s=(0,v.s)(s,function(e){return u.localState.runResolvers({document:f,remoteResult:e,context:t,variables:n})})),s},e.prototype.getResultsFromLink=function(e,t,n){var r=e.lastRequestId=this.generateRequestId(),i=this.cache.transformForLink(n.query);return(0,v.s)(this.getObservableFromLink(i,n.context,n.variables),function(o){var a=(0,m.K)(o),s=a.length>0;if(r>
1=e.lastRequestId){if(s&&"none"===n.errorPolicy)throw e.markError(new O.cA({graphQLErrors:a}));e.markResult(o,i,n,t),e.markReady()}var u={data:o.data,loading:!1,networkStatus:S.Ie.ready};return s&&"ignore"!==n.errorPolicy&&(u.errors=a,u.networkStatus=S.Ie.error),u},function(t){var n=(0,O.MS)(t)?t:new O.cA({networkError:t});throw r>=e.lastRequestId&&e.markError(n),n})},e.prototype.fetchConcastWithInfo=function(e,t,n){var r,i,o=this;void 0===n&&(n=S.Ie.loading);var a=t.query,s=this.getVariables(a,t.variables),u=this.getQuery(e),c=this.defaultOptions.watchQuery,l=t.fetchPolicy,f=void 0===l?c&&c.fetchPolicy||"cache-first":l,p=t.errorPolicy,d=void 0===p?c&&c.errorPolicy||"none":p,h=t.returnPartialData,y=t.notifyOnNetworkStatusChange,v=t.context,m=Object.assign({},t,{query:a,variables:s,fetchPolicy:f,errorPolicy:d,returnPartialData:void 0!==h&&h,notifyOnNetworkStatusChange:void 0!==y&&y,context:void 0===v?{}:v}),g=function(e){m.variables=e;var r=o.fetchQueryByPolicy(u,m,n);return"standby"!==m.fetchPolicy&&r.sources.length>0&&u.observableQuery&&u.observableQuery.applyNextFetchPolicy("after-fetch",t),r},b=function(){return o.fetchCancelFns.delete(e)};if(this.fetchCancelFns.set(e,function(e){b(),setTimeout(function(){return r.cancel(e)})}),this.getDocumentInfo(m.query).hasClientExports)r=new I.X(this.localState.addExportedVariables(m.query,m.variables,m.context).then(g).then(function(e){return e.sources})),i=!0;else{var _=g(m.variables);i=_.fromLink,r=new I.X(_.sources)}return r.promise.then(b,b),{concast:r,fromLink:i}},e.prototype.refetchQueries=function(e){var t=this,n=e.updateCache,r=e.include,i=e.optimistic,o=void 0!==i&&i,a=e.removeOptimistic,s=void 0===a?o?(0,w.X)("refetchQueries"):void 0:a,u=e.onQueryUpdated,c=new Map;r&&this.getObservableQueries(r).forEach(function(e,n){c.set(n,{oq:e,lastDiff:t.getQuery(n).getDiff()})});var l=new Map;return n&&this.cache.batch({update:n,optimistic:o&&s||!1,removeOptimistic:s,onWatchUpdated:function(e,t,n){var r=e.watcher instanceof J&&e.watcher.observableQuery;if(r){if(u){c.delete(r.queryId);var i=u(r,t,n);return!0===i&&(i=r.refetch()),!1!==i&&l.set(r,i),i}null!==u&&c.set(r.queryId,{oq:r,lastDiff:n,diff:t})}}}),c.size&&c.forEach(function(e,n){var r,i=e.oq,o=e.lastDiff,a=e.diff;if(u){if(!a){var s=i.queryInfo;s.reset(),a=s.getDiff()}r=u(i,a,o)}u&&!0!==r||(r=i.refetch()),!1!==r&&l.set(i,r),n.indexOf("legacyOneTimeQuery")>=0&&t.stopQueryNoBroadcast(n)}),s&&this.cache.removeOptimistic(s),l},e.prototype.fetchQueryByPolicy=function(e,t,n){var i=this,o=t.query,a=t.variables,s=t.fetchPolicy,u=t.refetchWritePolicy,l=t.errorPolicy,f=t.returnPartialData,p=t.context,d=t.notifyOnNetworkStatusChange,h=e.networkStatus;e.init({document:o,variables:a,networkStatus:n});var y=function(){return e.getDiff()},v=function(t,n){void 0===n&&(n=e.networkStatus||S.Ie.loading);var s=t.result;!1===globalThis.__DEV__||f||(0,c.D)(s,{})||V(t.missing);var u=function(e){return T.y.of((0,r.__assign)({data:e,loading:(0,S.Oj)(n),networkStatus:n},t.complete?null:{partial:!0}))};return s&&i.getDocumentInfo(o).hasForcedResolvers?i.localState.runResolvers({document:o,remoteResult:{data:s},context:p,variables:a,onlyRunForcedResolvers:!0}).then(function(e){return u(e.data||void 0)}):"none"===l&&n===S.Ie.refetch&&Array.isArray(t.missing)?u(void 0):u(s)},m="no-cache"===s?0:n===S.Ie.refetch&&"merge"!==u?1:2,g=function(){return i.getResultsFromLink(e,m,{query:o,variables:a,context:p,fetchPolicy:s,errorPolicy:l})},b=d&&"number"==typeof h&&h!==n&&(0,S.Oj)(n);switch(s){default:case"cache-first":var _=y();if(_.complete)return{fromLink:!1,sources:[v(_,e.markReady())]};if(f||b)return{fromLink:!0,sources:[v(_),g()]};return{fromLink:!0,sources:[g()]};case"cache-and-network":var _=y();if(_.complete||f||b)return{fromLink:!0,sources:[v(_),g()]};return{fromLink:!0,sources:[g()]};case"cache-only":return{fromLink:!1,sources:[v(y(),e.markReady())]};case"network-only":if(b)return{fromLink:!0,sources:[v(y()),g()]};return{fromLink:!0,sources:[g()]};case"no-cache":if(b)return{fromLink:!0,sources:[v(e.getDiff()),g()]};return{fromLink:!0,sources:[g()]};case"standby":return{fromLink:!1,sources:[]}}},e.prototype.getQuery=function(e){return e&&!this.queries.has(e)&&this.queries.set(e,new J(this,e)),this.queries.get(e)},e.prototype.prepareContext=function(e){void 0===e&&(e={});var t=this.localState.prepareContext(e);return(0,r.__assign)((0,r.__assign)({},t),{clientAwareness:this.clientAwareness})},e}(),ee=n(19210),et=!1,en=function(){function e(e){var t=this;if(this.resetStoreCallbacks=[],this.clearStoreCallbacks=[],!e.cac
1he)throw(0,i._K)(13);var n=e.uri,r=e.credentials,a=e.headers,c=e.cache,l=e.documentTransform,f=e.ssrMode,p=void 0!==f&&f,d=e.ssrForceFetchDelay,h=void 0===d?0:d,y=e.connectToDevTools,v=void 0===y?"object"==typeof window&&!window.__APOLLO_CLIENT__&&!1!==globalThis.__DEV__:y,m=e.queryDeduplication,g=void 0===m||m,b=e.defaultOptions,_=e.assumeImmutableResults,E=void 0===_?c.assumeImmutableResults:_,w=e.resolvers,T=e.typeDefs,I=e.fragmentMatcher,O=e.name,S=e.version,N=e.link;N||(N=n?new u.u({uri:n,credentials:r,headers:a}):o.i.empty()),this.link=N,this.cache=c,this.disableNetworkFetches=p||h>0,this.queryDeduplication=g,this.defaultOptions=b||Object.create(null),this.typeDefs=T,h&&setTimeout(function(){return t.disableNetworkFetches=!1},h),this.watchQuery=this.watchQuery.bind(this),this.query=this.query.bind(this),this.mutate=this.mutate.bind(this),this.resetStore=this.resetStore.bind(this),this.reFetchObservableQueries=this.reFetchObservableQueries.bind(this),this.version=s.i,this.localState=new G({cache:c,client:this,resolvers:w,fragmentMatcher:I}),this.queryManager=new Z({cache:this.cache,link:this.link,defaultOptions:this.defaultOptions,documentTransform:l,queryDeduplication:g,ssrMode:p,clientAwareness:{name:O,version:S},localState:this.localState,assumeImmutableResults:E,onBroadcast:v?function(){t.devToolsHookCb&&t.devToolsHookCb({action:{},state:{queries:t.queryManager.getQueryStore(),mutations:t.queryManager.mutationStore||{}},dataWithOptimisticResults:t.cache.extract(!0)})}:void 0}),v&&this.connectToDevTools()}return e.prototype.connectToDevTools=function(){if("object"==typeof window){var e=window,t=Symbol.for("apollo.devtools");(e[t]=e[t]||[]).push(this),e.__APOLLO_CLIENT__=this}et||!1===globalThis.__DEV__||(et=!0,setTimeout(function(){if("undefined"!=typeof window&&window.document&&window.top===window.self&&!window.__APOLLO_DEVTOOLS_GLOBAL_HOOK__){var e=window.navigator,t=e&&e.userAgent,n=void 0;"string"==typeof t&&(t.indexOf("Chrome/")>-1?n="https://chrome.google.com/webstore/detail/apollo-client-developer-t/jdkknkkbebbapilgoeccciglkfbmbnfm":t.indexOf("Firefox/")>-1&&(n="https://addons.mozilla.org/en-US/firefox/addon/apollo-developer-tools/")),n&&!1!==globalThis.__DEV__&&i.kG.log("Download the Apollo DevTools for a better development experience: %s",n)}},1e4))},Object.defineProperty(e.prototype,"documentTransform",{get:function(){return this.queryManager.documentTransform},enumerable:!1,configurable:!0}),e.prototype.stop=function(){this.queryManager.stop()},e.prototype.watchQuery=function(e){return this.defaultOptions.watchQuery&&(e=(0,ee.J)(this.defaultOptions.watchQuery,e)),this.disableNetworkFetches&&("network-only"===e.fetchPolicy||"cache-and-network"===e.fetchPolicy)&&(e=(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.watchQuery(e)},e.prototype.query=function(e){return this.defaultOptions.query&&(e=(0,ee.J)(this.defaultOptions.query,e)),(0,i.kG)("cache-and-network"!==e.fetchPolicy,14),this.disableNetworkFetches&&"network-only"===e.fetchPolicy&&(e=(0,r.__assign)((0,r.__assign)({},e),{fetchPolicy:"cache-first"})),this.queryManager.query(e)},e.prototype.mutate=function(e){return this.defaultOptions.mutate&&(e=(0,ee.J)(this.defaultOptions.mutate,e)),this.queryManager.mutate(e)},e.prototype.subscribe=function(e){return this.queryManager.startGraphQLSubscription(e)},e.prototype.readQuery=function(e,t){return void 0===t&&(t=!1),this.cache.readQuery(e,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,a.h)(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),n=[],r=[];t.forEach(function(e,t){n.push(t),r.push(e)});var o=Promise.all(r);return o.queries=n,o.results=r,o.catch(function(e){!1!==globalThis.__DEV__&&i.kG.debug(15,e)}),o},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},e}(),er=n(91236),ei=n(12381),eo=n(54474),ea=n(42735),es=n(5661),eu=n(98878),ec=n(96708),el=n(12306),ef=n(7934),ep=n(68209),ed=function(){if("undefined"==typeof AbortController)return{controller:!1,signal:!1};var e=new AbortController,t=e.signal;return{controller:e,signal:t}},eh=n(50072),ey=n(16810),ev=n(90009);function em(e){var t=!1;return new Promise(function(n,r){e.subscribe({next:function(e){t?!1!==globalThis.__DEV__&&i.kG.warn(40):(t=!0,n(e))},error:r})})}function eg(e){return new T.y(function(t){e.then(function(e){t.next(e),t.complete()}).catch(t.error.bind(t))})}var eb=n(90423),e_=n(75735),eE=n(89796),ew=n(25634);(0,eE.setVerbosity)(!1!==globalThis.__DEV__?"log":"silent")},61689:function(e,t,n){"use strict";n.r(t),n.d(t,{ApolloCache:function(){return r.ApolloCache},ApolloClient:function(){return r.ApolloClient},ApolloConsumer:function(){return l},ApolloError:function(){return r.ApolloError},ApolloLink:function(){return r.ApolloLink},ApolloProvider:function(){return c},Cache:function(){return r.Cache},DocumentTransform:function(){return r.DocumentTransform},DocumentType:function(){return m.n_},HttpLink:function(){return r.HttpLink},InMemoryCache:function(){return r.InMemoryCache},MissingFieldError:function(){return r.MissingFieldError}
1,NetworkStatus:function(){return r.NetworkStatus},Observable:function(){return r.Observable},ObservableQuery:function(){return r.ObservableQuery},SuspenseCache:function(){return G},checkFetcher:function(){return r.checkFetcher},concat:function(){return r.concat},createHttpLink:function(){return r.createHttpLink},createSignalIfSupported:function(){return r.createSignalIfSupported},defaultDataIdFromObject:function(){return r.defaultDataIdFromObject},defaultPrinter:function(){return r.defaultPrinter},disableExperimentalFragmentVariables:function(){return r.disableExperimentalFragmentVariables},disableFragmentWarnings:function(){return r.disableFragmentWarnings},empty:function(){return r.empty},enableExperimentalFragmentVariables:function(){return r.enableExperimentalFragmentVariables},execute:function(){return r.execute},fallbackHttpConfig:function(){return r.fallbackHttpConfig},from:function(){return r.from},fromError:function(){return r.fromError},fromPromise:function(){return r.fromPromise},getApolloContext:function(){return u.K},gql:function(){return r.gql},isApolloError:function(){return r.isApolloError},isNetworkRequestSettled:function(){return r.isNetworkRequestSettled},isReference:function(){return r.isReference},makeReference:function(){return r.makeReference},makeVar:function(){return r.makeVar},mergeOptions:function(){return r.mergeOptions},operationName:function(){return m.mw},parseAndCheckHttpResponse:function(){return r.parseAndCheckHttpResponse},parser:function(){return m.E2},resetApolloContext:function(){return u.Z},resetCaches:function(){return r.resetCaches},rewriteURIForGET:function(){return r.rewriteURIForGET},selectHttpOptionsAndBody:function(){return r.selectHttpOptionsAndBody},selectHttpOptionsAndBodyInternal:function(){return r.selectHttpOptionsAndBodyInternal},selectURI:function(){return r.selectURI},serializeFetchParameter:function(){return r.serializeFetchParameter},setLogVerbosity:function(){return r.setLogVerbosity},skipToken:function(){return V},split:function(){return r.split},throwServerError:function(){return r.throwServerError},toPromise:function(){return r.toPromise},useApolloClient:function(){return f.x},useBackgroundQuery:function(){return B},useFragment:function(){return I},useLazyQuery:function(){return y},useMutation:function(){return b},useQuery:function(){return d.a},useReactiveVar:function(){return E.l},useReadQuery:function(){return q},useSubscription:function(){return _},useSuspenseQuery:function(){return $}});var r=n(91591),i=n(3612),o=n(71113),a=n(58836),s=n.t(a,2),u=n(79905),c=function(e){var t=e.client,n=e.children,r=(0,u.K)(),s=a.useContext(r),c=a.useMemo(function(){return(0,o.__assign)((0,o.__assign)({},s),{client:t||s.client})},[s,t]);return(0,i.kG)(c.client,44),a.createElement(r.Provider,{value:c},n)},l=function(e){var t=(0,u.K)();return a.createElement(t.Consumer,null,function(t){return(0,i.kG)(t&&t.client,42),e.children(t.client)})},f=n(86067),p=n(19210),d=n(32499),h=["refetch","reobserve","fetchMore","updateQuery","startPolling","subscribeToMore"];function y(e,t){var n,r=a.useRef(),i=a.useRef(),s=a.useRef(),u=(0,p.J)(t,r.current||{}),c=null!==(n=null==u?void 0:u.query)&&void 0!==n?n:e;i.current=u,s.current=c;var l=(0,d.A)((0,f.x)(t&&t.client),c),y=l.useQuery((0,o.__assign)((0,o.__assign)({},u),{skip:!r.current})),v=y.observable.options.initialFetchPolicy||l.getDefaultFetchPolicy(),m=Object.assign(y,{called:!!r.current}),g=a.useMemo(function(){for(var e={},t=0;t<h.length;t++)!function(t){var n=m[t];e[t]=function(){return r.current||(r.current=Object.create(null),l.forceUpdateState()),n.apply(this,arguments)}}(h[t]);return e},[]);return Object.assign(m,g),[a.useCallback(function(e){r.current=e?(0,o.__assign)((0,o.__assign)({},e),{fetchPolicy:e.fetchPolicy||v}):{fetchPolicy:v};var t=(0,p.J)(i.current,(0,o.__assign)({query:s.current},r.current)),n=l.executeQuery((0,o.__assign)((0,o.__assign)({},t),{skip:!1})).then(function(e){return Object.assign(e,g)});return n.catch(function(){}),n},[]),m]}var v=n(51996),m=n(39004),g=n(3873);function b(e,t){var n=(0,f.x)(null==t?void 0:t.client);(0,m.Vp)(e,m.n_.Mutation);var r=a.useState({called:!1,loading:!1,client:n}),i=r[0],s=r[1],u=a.useRef({result:i,mutationId:0,isMounted:!0,client:n,mutation:e,options:t});Object.assign(u.current,{client:n,options:t,mutation:e});var c=a.useCallback(function(e){void 0===e&&(e={});var t=u.current,n=t.options,r=t.mutation,i=(0,o.__assign)((0,o.__assign)({},n),{mutation:r}),a=e.client||u.current.client;u.current.result.loading||i.ignoreResults||!u.current.isMounted||s(u.current.result={loading:!0,error:void 0,data:void 0,called:!0,client:a});var c=++u.current.mutationId,l=(0,p.J)(i,e);return a.mutate(l).then(function(t){var n,r,i=t.data,o=t.errors,f=o&&o.length>0?new g.cA({graphQLErrors:o}):void 0,p=e.onError||(null===(n=u.current.options)||void 0===n?void 0:n.onError);if(f&&p&&p(f,l),c===u.current.mutationId&&!l.ignoreResults){var d={called:!0,loading:!1,data:i,error:f,client:a};u.current.isMounted&&!(0,v.D)(u.current.result,d)&&s(u.current.result=d)}var h=e.onCompleted||(null===(r=u.current.options)||void 0===r?void 0:r.onCompleted);return f||null==h||h(t.data,l),t}).catch(function(t){if(c===u.current.mutationId&&u.current.isMounted){var n,r={loading:!1,error:t,data:void 0,called:!0,client:a};(0,v.D)(u.current.result,r)||s(u.current.result=r)}var i=e.onError||(null===(n=u.current.options)||void 0===n?void 0:n.onError);if(i)return i(t,l),{data:void 0,errors:t};throw t})},[]),l=a.useCallback(function(){u.current.isMounted&&s({called:!1,loading:!1,client:n})},[]);return a.useEffect(function(){return u.current.isMounted=!0,function(){u.current.isMounted=!1}},[]),[c,(0,o.__assign)({reset:l},i)]}function _(e,t){var n=a.useRef(!1),r=(0,f.x)(null==t?void 0:t.client);(0,m.Vp)(e,m.n_.Subscription);var o=a.useState({loading:!(null==t?void 0:t.skip),error:void 0,data:void 0,variables:null==t?void 0:t.variables}),s=o[0],u=o[1];!n.current&&(n.current=!0,(null==t?void 0:t.onSubscriptionData)&&
1!1!==globalThis.__DEV__&&i.kG.warn(t.onData?50:51),(null==t?void 0:t.onSubscriptionComplete)&&!1!==globalThis.__DEV__&&i.kG.warn(t.onComplete?52:53));var c=a.useState(function(){return(null==t?void 0:t.skip)?null:r.subscribe({query:e,variables:null==t?void 0:t.variables,fetchPolicy:null==t?void 0:t.fetchPolicy,context:null==t?void 0:t.context})}),l=c[0],p=c[1],d=a.useRef(!1);a.useEffect(function(){return function(){d.current=!0}},[]);var h=a.useRef({client:r,subscription:e,options:t});return a.useEffect(function(){var n,i,o,a,s=null==t?void 0:t.shouldResubscribe;"function"==typeof s&&(s=!!s(t)),(null==t?void 0:t.skip)?(!(null==t?void 0:t.skip)!=!(null===(n=h.current.options)||void 0===n?void 0:n.skip)||d.current)&&(u({loading:!1,data:void 0,error:void 0,variables:null==t?void 0:t.variables}),p(null),d.current=!1):(!1!==s&&(r!==h.current.client||e!==h.current.subscription||(null==t?void 0:t.fetchPolicy)!==(null===(i=h.current.options)||void 0===i?void 0:i.fetchPolicy)||!(null==t?void 0:t.skip)!=!(null===(o=h.current.options)||void 0===o?void 0:o.skip)||!(0,v.D)(null==t?void 0:t.variables,null===(a=h.current.options)||void 0===a?void 0:a.variables))||d.current)&&(u({loading:!0,data:void 0,error:void 0,variables:null==t?void 0:t.variables}),p(r.subscribe({query:e,variables:null==t?void 0:t.variables,fetchPolicy:null==t?void 0:t.fetchPolicy,context:null==t?void 0:t.context})),d.current=!1),Object.assign(h.current,{client:r,subscription:e,options:t})},[r,e,t,d.current]),a.useEffect(function(){if(l){var e=!1,n=l.subscribe({next:function(n){if(!e){var i,o,a={loading:!1,data:n.data,error:void 0,variables:null==t?void 0:t.variables};u(a),(null===(i=h.current.options)||void 0===i?void 0:i.onData)?h.current.options.onData({client:r,data:a}):(null===(o=h.current.options)||void 0===o?void 0:o.onSubscriptionData)&&h.current.options.onSubscriptionData({client:r,subscriptionData:a})}},error:function(n){var r,i;e||(u({loading:!1,data:void 0,error:n,variables:null==t?void 0:t.variables}),null===(i=null===(r=h.current.options)||void 0===r?void 0:r.onError)||void 0===i||i.call(r,n))},complete:function(){var t,n;!e&&((null===(t=h.current.options)||void 0===t?void 0:t.onComplete)?h.current.options.onComplete():(null===(n=h.current.options)||void 0===n?void 0:n.onSubscriptionComplete)&&h.current.options.onSubscriptionComplete())}});return function(){e=!0,setTimeout(function(){n.unsubscribe()})}}},[l]),s}var E=n(99498),w=n(79707),T=n(845);function I(e){var t=(0,f.x)().cache,n=e.fragment,r=e.fragmentName,i=e.from,s=e.optimistic,u=(0,o.__rest)(e,["fragment","fragmentName","from","optimistic"]),c=(0,o.__assign)((0,o.__assign)({},u),{returnPartialData:!0,id:"string"==typeof i?i:t.identify(i),query:t.getFragmentDoc(n,r),optimistic:void 0===s||s}),l=a.useRef(),p=t.diff(c),d=function(){var e=O(p);return l.current&&(0,v.D)(l.current.data,e.data)?l.current:l.current=e};return(0,T.$)(function(e){var n=0,r=t.watch((0,o.__assign)((0,o.__assign)({},c),{immediate:!0,callback:function(t){(0,v.D)(t,p)||(l.current=O(p=t),n=setTimeout(e))}}));return function(){r(),clearTimeout(n)}},d,d)}function O(e){var t={data:e.result,complete:!!e.complete};return e.missing&&(t.missing=(0,w.bw)(e.missing.map(function(e){return e.missing}))),t}var S=n(70111),N=n(56811),k=n(8532),D=s.use||function(e){var t=(0,k.Bd)(e);switch(t.status){case"pending":throw t;case"rejected":throw t.reason;case"fulfilled":return t.value}},R=n(95947),A=n(50354),F=Symbol(),x=["canonizeResults","context","errorPolicy","fetchPolicy","refetchWritePolicy","returnPartialData"],C=function(){function e(e,t){var n,r=this;this.listeners=new Set,this.status="loading",this.references=0,this.handleNext=this.handleNext.bind(this),this.handleError=this.handleError.bind(this),this.dispose=this.dispose.bind(this),this.observable=e,this.result=e.getCurrentResult(!1),this.key=t.key,t.onDispose&&(this.onDispose=t.onDispose),(0,S.Jp)(this.result.networkStatus)||this.result.data&&(!this.result.partial||this.watchQueryOptions.returnPartialData)?(this.promise=(0,k.OP)(this.result),this.status="idle"):this.promise=new Promise(function(e,t){r.resolve=e,r.reject=t}),this.subscription=e.filter(function(e){var t=e.data;return!(0,v.D)(t,{})}).subscribe({next:this.handleNext,error:this.handleError}),this.autoDisposeTimeoutId=setTimeout(this.dispose,null!==(n=t.autoDisposeTimeoutMs)&&void 0!==n?n:3e4)}return Object.defineProperty(e.prototype,"watchQueryOptions",{get:function(){return this.observable.options}
1,enumerable:!1,configurable:!0}),e.prototype.retain=function(){var e=this;this.references++,clearTimeout(this.autoDisposeTimeoutId);var t=!1;return function(){t||(t=!0,e.references--,setTimeout(function(){e.references||e.dispose()}))}},e.prototype.didChangeOptions=function(e){var t=this;return x.some(function(n){return!(0,v.D)(t.watchQueryOptions[n],e[n])})},e.prototype.applyOptions=function(e){var t=this.watchQueryOptions,n=t.fetchPolicy,r=t.canonizeResults;return"standby"===n&&n!==e.fetchPolicy?this.initiateFetch(this.observable.reobserve(e)):(this.observable.silentSetOptions(e),r!==e.canonizeResults&&(this.result=(0,o.__assign)((0,o.__assign)({},this.result),this.observable.getCurrentResult()),this.promise=(0,k.OP)(this.result))),this.promise},e.prototype.listen=function(e){var t=this;return this.listeners.add(e),function(){t.listeners.delete(e)}},e.prototype.refetch=function(e){return this.initiateFetch(this.observable.refetch(e))},e.prototype.fetchMore=function(e){return this.initiateFetch(this.observable.fetchMore(e))},e.prototype.dispose=function(){this.subscription.unsubscribe(),this.onDispose()},e.prototype.onDispose=function(){},e.prototype.handleNext=function(e){var t;switch(this.status){case"loading":void 0===e.data&&(e.data=this.result.data),this.status="idle",this.result=e,null===(t=this.resolve)||void 0===t||t.call(this,e);break;case"idle":if(e.data===this.result.data)return;void 0===e.data&&(e.data=this.result.data),this.result=e,this.promise=(0,k.OP)(e),this.deliver(this.promise)}},e.prototype.handleError=function(e){var t;switch(this.subscription.unsubscribe(),this.subscription=this.observable.resubscribeAfterError(this.handleNext,this.handleError),this.status){case"loading":this.status="idle",null===(t=this.reject)||void 0===t||t.call(this,e);break;case"idle":this.promise=(0,k.Ld)(e),this.deliver(this.promise)}},e.prototype.deliver=function(e){this.listeners.forEach(function(t){return t(e)})},e.prototype.initiateFetch=function(e){var t=this;return this.status="loading",this.promise=new Promise(function(e,n){t.resolve=e,t.reject=n}),this.promise.catch(function(){}),e.then(function(e){var n;"loading"===t.status&&(t.status="idle",t.result=e,null===(n=t.resolve)||void 0===n||n.call(t,e))}).catch(function(){}),e},e}(),j=function(){function e(e){void 0===e&&(e=Object.create(null)),this.queryRefs=new R.B(A.mr),this.options=e}return e.prototype.getQueryRef=function(e,t){var n=this.queryRefs.lookupArray(e);return n.current||(n.current=new C(t(),{key:e,autoDisposeTimeoutMs:this.options.autoDisposeTimeoutMs,onDispose:function(){delete n.current}})),n.current},e}(),L=Symbol.for("apollo.suspenseCache");function P(e){var t;return e[L]||(e[L]=new j(null===(t=e.defaultOptions.react)||void 0===t?void 0:t.suspense)),e[L]}var M=n(35356),V=Symbol.for("apollo.skipToken");function $(e,t){void 0===t&&(t=Object.create(null));var n=(0,f.x)(t.client),r=P(n),i=Q({client:n,query:e,options:t}),s=i.fetchPolicy,u=i.variables,c=t.queryKey,l=(0,o.__spreadArray)([e,(0,M.B)(u)],[].concat(void 0===c?[]:c),!0),p=r.getQueryRef(l,function(){return n.watchQuery(i)}),d=a.useState(function(){return new Map([[p.key,p.promise]])}),h=d[0],y=d[1],v=h.get(p.key);p.didChangeOptions(i)&&(v=p.applyOptions(i),h.set(p.key,v)),v||(v=p.promise,h.set(p.key,v)),a.useEffect(function(){var e=p.retain(),t=p.listen(function(e){y(function(t){return new Map(t).set(p.key,e)})});return function(){t(),e()}},[p]);var m=a.useMemo(function(){var e=U(p.result);return{loading:!1,data:p.result.data,networkStatus:e?S.Ie.error:S.Ie.ready,error:e}},[p.result]),g="standby"===s?m:D(v),b=a.useCallback(function(e){var t=p.fetchMore(e);return y(function(e){return new Map(e).set(p.key,p.promise)}),t},[p]),_=a.useCallback(function(e){var t=p.refetch(e);return y(function(e){return new Map(e).set(p.key,p.promise)}),t},[p]),E=a.useCallback(function(e){return p.observable.subscribeToMore(e)},[p]);return a.useMemo(function(){return{client:n,data:g.data,error:U(g),networkStatus:g.networkStatus,fetchMore:b,refetch:_,subscribeToMore:E}},[n,b,_,g,E])}function U(e){return(0,N.O)(e.errors)?new g.cA({graphQLErrors:e.errors}):e.error}function Q(e){var t,n,r,s=e.client,u=e.query,c=e.options;return t=function(){if(c===V)return{query:u,fetchPolicy:"standby"};var e,t,n,r,a,l=c.fetchPolicy||(null===(a=s.defaultOptions.watchQuery)||void 0===a?void 0:a.fetchPolicy)||"cac
1he-first",f=(0,o.__assign)((0,o.__assign)({},c),{fetchPolicy:l,query:u,notifyOnNetworkStatusChange:!1,nextFetchPolicy:void 0});return!1!==globalThis.__DEV__&&(t=f.query,n=f.fetchPolicy,r=f.returnPartialData,(0,m.Vp)(t,m.n_.Query),void 0===(e=n)&&(e="cache-first"),(0,i.kG)(["cache-first","network-only","no-cache","cache-and-network"].includes(e),54,e),"no-cache"===n&&r&&!1!==globalThis.__DEV__&&i.kG.warn(55)),c.skip&&(f.fetchPolicy="standby"),f},n=[s,c,u],(r=a.useRef()).current&&(0,v.D)(r.current.deps,n)||(r.current={value:t(),deps:n}),r.current.value}function B(e,t){void 0===t&&(t=Object.create(null));var n=(0,f.x)(t.client),r=P(n),i=Q({client:n,query:e,options:t}),s=i.fetchPolicy,u=i.variables,c=t.queryKey,l=a.useRef("standby"!==s);l.current||(l.current="standby"!==s);var p=(0,o.__spreadArray)([e,(0,M.B)(u)],[].concat(void 0===c?[]:c),!0),d=r.getQueryRef(p,function(){return n.watchQuery(i)}),h=a.useState(function(){return new Map([[d.key,d.promise]])}),y=h[0],v=h[1];if(d.didChangeOptions(i)){var m=d.applyOptions(i);y.set(d.key,m)}a.useEffect(function(){return d.retain()},[d]);var g=a.useCallback(function(e){var t=d.fetchMore(e);return v(function(e){return new Map(e).set(d.key,d.promise)}),t},[d]),b=a.useCallback(function(e){var t=d.refetch(e);return v(function(e){return new Map(e).set(d.key,d.promise)}),t},[d]);d.promiseCache=y;var _=a.useMemo(function(){var e;return(e={})[F]=d,e},[d]);return[l.current?_:void 0,{fetchMore:g,refetch:b}]}function q(e){var t=e[F];(0,i.kG)(t.promiseCache,49);var n=t.promiseCache,r=t.key;n.has(r)||n.set(r,t.promise);var o=D((0,T.$)(a.useCallback(function(e){return t.listen(function(n){t.promiseCache.set(t.key,n),e()})},[t]),function(){return n.get(r)},function(){return n.get(r)}));return a.useMemo(function(){return{data:o.data,networkStatus:o.networkStatus,error:U(o)}},[o])}var G=function(e){function t(){throw e.call(this),Error("It is no longer necessary to create a `SuspenseCache` instance and pass it into the `ApolloProvider`.\nPlease remove this code from your application. \n\nThis export will be removed with the final 3.8 release.")}return(0,o.__extends)(t,e),t}(j)},28843:function(e,t,n){"use strict";n.d(t,{i:function(){return l}});var r=n(3612),i=n(19830),o=n(71113),a=n(69322);function s(e,t){return t?t(e):i.y.of()}function u(e){return"function"==typeof e?new l(e):e}function c(e){return e.request.length<=1}var l=function(){function e(e){e&&(this.request=e)}return e.empty=function(){return new e(function(){return i.y.of()})},e.from=function(t){return 0===t.length?e.empty():t.map(u).reduce(function(e,t){return e.concat(t)})},e.split=function(t,n,r){var o=u(n),a=u(r||new e(s));return new e(c(o)&&c(a)?function(e){return t(e)?o.request(e)||i.y.of():a.request(e)||i.y.of()}:function(e,n){return t(e)?o.request(e,n)||i.y.of():a.request(e,n)||i.y.of()})},e.execute=function(e,t){var n,s,u,c;return e.request((u=t.context,(s={variables:(n=function(e){for(var t=["query","operationName","variables","extensions","context"],n=0,i=Object.keys(e);n<i.length;n++){var o=i[n];if(0>t.indexOf(o))throw(0,r._K)(41,o)}return e}(t)).variables||{},extensions:n.extensions||{},operationName:n.operationName,query:n.query}).operationName||(s.operationName="string"!=typeof s.query?(0,a.rY)(s.query)||void 0:""),c=(0,o.__assign)({},u),Object.defineProperty(s,"setContext",{enumerable:!1,value:function(e){c="function"==typeof e?(0,o.__assign)((0,o.__assign)({},c),e(c)):(0,o.__assign)((0,o.__assign)({},c),e)}}),Object.defineProperty(s,"getContext",{enumerable:!1,value:function(){return(0,o.__assign)({},c)}}),s))||i.y.of()},e.concat=function(t,n){var o=u(t);if(c(o))return!1!==globalThis.__DEV__&&r.kG.warn(33,o),o;var a=u(n);return new e(c(a)?function(e){return o.request(e,function(e){return a.request(e)||i.y.of()})||i.y.of()}:function(e,t){return o.request(e,function(e){return a.request(e,t)||i.y.of()})||i.y.of()})},e.prototype.split=function(t,n,r){return this.concat(e.split(t,n,r||new e(s)))},e.prototype.concat=function(t){return e.concat(this,t)},e.prototype.request=function(e,t){throw(0,r._K)(34)},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}()},45807:function(e,t,n){"use strict";n.d(t,{h:function(){return r}});var r=n(28843).i.execute},98878:function(e,t,n){"use strict";n.r(t),n.d(t,{ApolloLink:function(){return r.i},concat:function(){return s},empty:function(){return i},execute:function(){return u.h},from:function(){return o},split:function(){return a}}),n(3612);var r=n(28843),i=r.i.empty,o=r.i.from,a=r.i.split,s=r.i.concat,u=n(45807)},25613:function(e,t,n){"use strict";n.d(t,{q:function(){return a}});var r=n(71113),i=n(19830),o=n(28843);function a(e){return new o.i(function(t,n){return new i.y(function(r){var i,o,a;try{i=n(t).subscribe({next:function(i){if(i.errors&&(a=e({graphQLErrors:i.errors,response:i,operation:t,forward:n}))){o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)});return}r.next(i)},error:function(i){if(a=e({operation:t,networkError:i,graphQLErrors:i&&i.result&&i.result.errors,forward:n})){o=a.subscribe({next:r.next.bind(r),error:r.error.bind(r),complete:r.complete.bind(r)});return}r.error(i)},complete:function(){a||r.complete.bind(r)()}})}catch(i){e({networkError:i,operation:t,forward:n}),r.error(i)}return function(){i&&i.unsubscribe(),o&&i.unsubscribe()}})})}!function(e){function t(t){var n=e.call(this)||this;return n.link=a(t),n}(0,r.__extends)(t,e),t.prototype.request=function(e,t){return this.link.request(e,t)}}(o.i)},96578:function(e,t,n){"use strict";n.d(t,{u:function(){return a}});var r=n(71113),i=n(28843),o=n(16810),a=function(e){function t(t){void 0===t&&(t={});var n=e.call(this,(0,o.L)(t).request)||this;return n.options=t,n}return(0,r.__extends)(t,e),t}(i.i)},68209:function(e,t,n){"use strict";n.d(t,{U:function(){return i}});var r=n(3612),i=function(e){if(!e&&"undefined"==typeof fetch)throw(0,r._K)(35)}},16810:function(e,t,n){"use strict";n.d(t,{L:function(){return b}});var r=n(71113),i=n(3612),o=n(28843),a=n(14981),s=n(19830),u=n(12306),c=n(50072),l=n(96708),f=n(68209),p=n(7934),d=n(90009),h=n(90423),y=n(6369),v=n(83224),m=n(69322),g=(0,i.wY)(function(){return fetch}),b=function(e){void 0===e&&(e={});var t=e.uri,n=void 0===t?"/graphql":t,b=e.fetch,_=e.print,E=void 0===_?p.sb:_,w=e.includeExtensions,T=e.preserveHeaderCase,I=e.useGETForQueries,O=e.includeUnusedVariables,S=void 0!==O&&O,N=(0,r.__rest)(e,["uri","fetch","print","includeExtensions","preserveHeaderCase","useGETForQueries","includeUnusedVariables"]);!1!==globalThis.__DEV__&&(0,f.U)(b||g);var k={http:{includeExtensions:w,preserveHeaderCase:T},options:N.fetchOptions,credentials:N.credentials,headers:N.headers};return new o.i(function(e){var t,o,f,_,w,T,O=(0,c.r)(e,n),N=e.getContext(),D={};
1if(N.clientAwareness){var R=N.clientAwareness,A=R.name,F=R.version;A&&(D["apollographql-client-name"]=A),F&&(D["apollographql-client-version"]=F)}var x=(0,r.__assign)((0,r.__assign)({},D),N.headers),C={http:N.http,options:N.fetchOptions,credentials:N.credentials,headers:x};if((0,a.FS)(["client"],e.query)){var j=(0,v.ob)(e.query);if(!j)return(0,h.Q)(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=j}var L=(0,p.ve)(e,E,p.SC,k,C),P=L.options,M=L.body;M.variables&&!S&&(M.variables=(t=M.variables,o=e.query,f=(0,r.__assign)({},t),_=new Set(Object.keys(t)),(0,y.Vn)(o,{Variable:function(e,t,n){n&&"VariableDefinition"!==n.kind&&_.delete(e.name.value)}}),_.forEach(function(e){delete f[e]}),f)),P.signal||"undefined"==typeof AbortController||(T=new AbortController,P.signal=T.signal);var V="OperationDefinition"===(w=(0,m.p$)(e.query)).kind&&"subscription"===w.operation,$=(0,a.FS)(["defer"],e.query);if(I&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(P.method="GET"),$||V){P.headers=P.headers||{};var U="multipart/mixed;";V&&$&&!1!==globalThis.__DEV__&&i.kG.warn(36),V?U+="boundary=graphql;subscriptionSpec=1.0,application/json":$&&(U+="deferSpec=20220824,application/json"),P.headers.accept=U}if("GET"===P.method){var Q=(0,d.H)(O,M),B=Q.newURI,q=Q.parseError;if(q)return(0,h.Q)(q);O=B}else try{P.body=(0,u.g)(M,"Payload")}catch(e){return(0,h.Q)(e)}return new s.y(function(t){var n=b||(0,i.wY)(function(){return fetch})||g,r=t.next.bind(t);return n(O,P).then(function(t){e.setContext({response:t});var n,i=null===(n=t.headers)||void 0===n?void 0:n.get("content-type");return null!==i&&/^multipart\/mixed/i.test(i)?(0,l.TF)(t,r):(0,l.dO)(e)(t).then(r)}).then(function(){T=void 0,t.complete()}).catch(function(e){T=void 0,(0,l.S3)(e,t)}),function(){T&&T.abort()}})})}},96708:function(e,t,n){"use strict";n.d(t,{S3:function(){return p},dO:function(){return d},TF:function(){return l}});var r=n(71113),i=n(50354);function o(e){var t={next:function(){return e.read()}};return i.DN&&(t[Symbol.asyncIterator]=function(){return this}),t}var a=n(75735),s=n(3873),u=n(50702),c=Object.prototype.hasOwnProperty;function l(e,t){var n;return(0,r.__awaiter)(this,void 0,void 0,function(){var a,c,l,p,d,h,y,v,m,g,b,_,E,w,T,I,O,S,N,k,D,R;return(0,r.__generator)(this,function(A){switch(A.label){case 0:if(void 0===TextDecoder)throw Error("TextDecoder must be defined in the environment: please import a polyfill.");a=new TextDecoder("utf-8"),c=null===(n=e.headers)||void 0===n?void 0:n.get("content-type"),l="boundary=",p=(null==c?void 0:c.includes(l))?null==c?void 0:c.substring((null==c?void 0:c.indexOf(l))+l.length).replace(/['"]/g,"").replace(/\;(.*)/gm,"").trim():"-",d="\r\n--".concat(p),h="",y=function(e){var t,n,r,a,s,u,c=e;if(e.body&&(c=e.body),t=c,i.DN&&t[Symbol.asyncIterator])return r=c[Symbol.asyncIterator](),(n={next:function(){return r.next()}})[Symbol.asyncIterator]=function(){return this},n;if(c.getReader)return o(c.getReader());if(c.stream)return o(c.stream().getReader());if(c.arrayBuffer)return a=c.arrayBuffer(),s=!1,u={next:function(){return s?Promise.resolve({value:void 0,done:!0}):(s=!0,new Promise(function(e,t){a.then(function(t){e({value:t,done:!1})}).catch(t)}))}},i.DN&&(u[Symbol.asyncIterator]=function(){return this}),u;if(c.pipe)return function(e){var t=null,n=null,r=!1,o=[],a=[];function s(e){if(!n){if(a.length){var t=a.shift();if(Array.isArray(t)&&t[0])return t[0]({value:e,done:!1})}o.push(e)}}function u(e){n=e,a.slice().forEach(function(t){t[1](e)}),t&&t()}function c(){r=!0,a.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):o.length?e({value:o.shift(),done:!1}):r?e({value:void 0,done:!0}):void a.push([e,t])})}};return i.DN&&(l[Symbol.asyncIterator]=function(){return this}),l}(c);throw Error("Unknown body type for responseIterator. Please pass a streamable response.")}(e),v=!0,A.label=1;case 1:if(!v)return[3,3];return[4,y.next()];case 2:for(g=(m=A.sent()).value,b=m.done,_="string"==typeof g?g:a.decode(g),E=h.length-d.length+1,v=!b,h+=_,w=h.indexOf(d,E);w>-1;){if(T=void 0,T=(D=[h.slice(0,w),h.slice(w+d.length)])[0],h=D[1],I=T.indexOf("\r\n\r\n"),(O=function(e){var t={};return e.split("\n").forEach(function(e){var n=e.indexOf(":");if(n>-1){var r=e.slice(0,n).trim().toLowerCase(),i=e.slice(n+1).trim();t[r]=i}}),t}(T.slice(0,I))["content-type"])&&-1===O.toLowerCase().indexOf("application/json"))throw Error("Unsupported patch content type: application/json is required.");
1if(S=T.slice(I)){if(Object.keys(N=f(e,S)).length>1||"data"in N||"incremental"in N||"errors"in N||"payload"in N)(0,u.yU)(N)?(k={},"payload"in N&&(k=(0,r.__assign)({},N.payload)),"errors"in N&&(k=(0,r.__assign)((0,r.__assign)({},k),{extensions:(0,r.__assign)((0,r.__assign)({},"extensions"in k?k.extensions:null),((R={})[s.YG]=N.errors,R))})),t(k)):t(N);else if(1===Object.keys(N).length&&"hasNext"in N&&!N.hasNext)return[2]}w=h.indexOf(d)}return[3,1];case 3:return[2]}})})}function f(e,t){e.status>=300&&(0,a.P)(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(n){throw n.name="ServerParseError",n.response=e,n.statusCode=e.status,n.bodyText=t,n}}function p(e,t){e.result&&e.result.errors&&e.result.data&&t.next(e.result),t.error(e)}function d(e){return function(t){return t.text().then(function(e){return f(t,e)}).then(function(n){return t.status>=300&&(0,a.P)(t,n,"Response not successful: Received status code ".concat(t.status)),Array.isArray(n)||c.call(n,"data")||c.call(n,"errors")||(0,a.P)(t,n,"Server response was missing for query '".concat(Array.isArray(e)?e.map(function(e){return e.operationName}):e.operationName,"'.")),n})}}},90009:function(e,t,n){"use strict";n.d(t,{H:function(){return i}});var r=n(12306);function i(e,t){var n=[],i=function(e,t){n.push("".concat(e,"=").concat(encodeURIComponent(t)))};if("query"in t&&i("query",t.query),t.operationName&&i("operationName",t.operationName),t.variables){var o=void 0;try{o=(0,r.g)(t.variables,"Variables map")}catch(e){return{parseError:e}}i("variables",o)}if(t.extensions){var a=void 0;try{a=(0,r.g)(t.extensions,"Extensions map")}catch(e){return{parseError:e}}i("extensions",a)}var s="",u=e,c=e.indexOf("#");-1!==c&&(s=e.substr(c),u=e.substr(0,c));var l=-1===u.indexOf("?")?"?":"&";return{newURI:u+l+n.join("&")+s}}},7934:function(e,t,n){"use strict";n.d(t,{E4:function(){return s},SC:function(){return o},sb:function(){return a},ve:function(){return u}});var r=n(71113),i=n(71648),o={http:{includeQuery:!0,includeExtensions:!1,preserveHeaderCase:!1},headers:{accept:"*/*","content-type":"application/json"},options:{method:"POST"}},a=function(e,t){return t(e)};function s(e,t){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return n.unshift(t),u.apply(void 0,(0,r.__spreadArray)([e,a],n,!1))}function u(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];var a={},s={};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),s=(0,r.__assign)((0,r.__assign)({},s),e.http)}),a.headers&&(a.headers=function(e,t){if(!t){var n=Object.create(null);
1return Object.keys(Object(e)).forEach(function(t){n[t.toLowerCase()]=e[t]}),n}var r=Object.create(null);Object.keys(Object(e)).forEach(function(t){r[t.toLowerCase()]={originalName:t,value:e[t]}});var i=Object.create(null);return Object.keys(r).forEach(function(e){i[r[e].originalName]=r[e].value}),i}(a.headers,s.preserveHeaderCase));var u=e.operationName,c=e.extensions,l=e.variables,f=e.query,p={operationName:u,variables:l};return s.includeExtensions&&(p.extensions=c),s.includeQuery&&(p.query=t(f,i.S)),{options:a,body:p}}},50072:function(e,t,n){"use strict";n.d(t,{r:function(){return r}});var r=function(e,t){return e.getContext().uri||("function"==typeof t?t(e):t||"/graphql")}},12306:function(e,t,n){"use strict";n.d(t,{g:function(){return i}});var r=n(3612),i=function(e,t){var n;try{n=JSON.stringify(e)}catch(e){var i=(0,r._K)(37,t,e.message);throw i.parseError=e,i}return n}},59512:function(e,t,n){"use strict";n.d(t,{N:function(){return f}});var r=n(71113),i=n(3612),o=n(71648),a=n(28843),s=n(56811),u=n(91286),c=n(19830),l={disable:function(e){return e.meta.persistedQueryNotSupported},retry:function(e){var t=e.meta;return t.persistedQueryNotSupported||t.persistedQueryNotFound},useGETForHashedQueries:!1},f=function(e){var t=new WeakMap;(0,i.kG)(e&&("function"==typeof e.sha256||"function"==typeof e.generateHash),38);var n=(0,u.o)(l,e),f=n.sha256,p=n.generateHash,d=void 0===p?function(e){return Promise.resolve(f((0,o.S)(e)))}:p,h=n.disable,y=n.retry,v=n.useGETForHashedQueries,m=!0,g=function(e){return new Promise(function(t){return t(d(e))})};return new a.i(function(e,n){(0,i.kG)(n,39);var o=e.query;return new c.y(function(i){var a,u,c=!1,l=!1,f=function(t,r){var i=t.response,o=t.networkError;if(!c&&(i&&i.errors||o)){c=!0;var f,d,v=[],g=i&&i.errors;(0,s.O)(g)&&v.push.apply(v,g);var b=void 0;"string"!=typeof(null==o?void 0:o.result)&&(b=o&&o.result&&o.result.errors),(0,s.O)(b)&&v.push.apply(v,b);var _={response:i,networkError:o,operation:e,graphQLErrors:(0,s.O)(v)?v:void 0,meta:(f=Object.create(null),d=Object.create(null),(0,s.O)(v)&&v.forEach(function(e){var t;f[e.message]=e,"string"==typeof(null===(t=e.extensions)||void 0===t?void 0:t.code)&&(d[e.extensions.code]=e)}),{persistedQueryNotSupported:!!(f.PersistedQueryNotSupported||d.PERSISTED_QUERY_NOT_SUPPORTED),persistedQueryNotFound:!!(f.PersistedQueryNotFound||d.PERSISTED_QUERY_NOT_FOUND)})};if(m=!h(_),y(_)){a&&a.unsubscribe(),e.setContext({http:{includeQuery:!0,includeExtensions:m},fetchOptions:{method:"POST"}}),l&&e.setContext({fetchOptions:u}),a=n(e).subscribe(p);return}}r()},p={next:function(e){f({response:e},function(){return i.next(e)})},error:function(e){f({networkError:e},function(){return i.error(e)})},complete:i.complete.bind(i)};return e.setContext({http:{includeQuery:!m,includeExtensions:m}}),v&&m&&!e.query.definitions.some(function(e){return"OperationDefinition"===e.kind&&"mutation"===e.operation})&&(e.setContext(function(e){var t=e.fetchOptions,n=void 0===t?{}:t;return u=n,{fetchOptions:(0,r.__assign)((0,r.__assign)({},n),{method:"GET"})}}),l=!0),m?(function(e){if(!e||"object"!=typeof e)return g(e);var n=t.get(e);return n||t.set(e,n=g(e)),n})(o).then(function(t){e.extensions.persistedQuery={version:1,sha256Hash:t},a=n(e).subscribe(p)}).catch(i.error.bind(i)):a=n(e).subscribe(p),function(){a&&a.unsubscribe()}})})}},90423:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var r=n(19830);function i(e){return new r.y(function(t){t.error(e)})}},75735:function(e,t,n){"use strict";n.d(t,{P:function(){return r}});var r=function(e,t,n){var r=Error(n);throw r.name="ServerError",r.response=e,r.statusCode=e.status,r.result=t,r}},79782:function(e,t,n){"use strict";n.d(t,{X:function(){return i}});var r=Object.prototype.toString;function i(e){return function e(t,n){switch(r.call(t)){case"[object Array]":if((n=n||new Map).has(t))return n.get(t);var i=t.slice(0);return n.set(t,i),i.forEach(function(t,r){i[r]=e(t,n)}),i;case"[object Object]":if((n=n||new Map).has(t))return n.get(t);var o=Object.create(Object.getPrototypeOf(t));return n.set(t,o),Object.keys(t).forEach(function(r){o[r]=e(t[r],n)}),o;default:return t}}(e)}},14450:function(e,t,n){"use strict";n.d(t,{K:function(){return a},d:function(){return o}});var r=n(56811),i=n(50702);function o(e){var t=a(e);return(0,r.O)(t)}function a(e){var t=(0,r.O)(e.errors)?e.errors.slice(0):[];return(0,i.GG)(e)&&(0,r.O)(e.incremental)&&e.incremental.forEach(function(e){e.errors&&t.push.apply(t,e.errors)}),t}},50702:function(e,t,n){"use strict";n.d(t,{GG:function(){return a},M0:function(){return u},mT:function(){return l},x3:function(){return s},yU:function(){return c}});var r=n(60191),i=n(56811),o=n(79707);function a(e){return"incremental"in e}function s(e){return"hasNext"in e&&"data"in e}function u(e){return a(e)||s(e)}function c(e){return(0,r.s)(e)&&"payload"in e}function l(e,t){var n=e,r=new o.w0;return a(t)&&(0,i.O)(t.incremental)&&t.incremental.forEach(function(e){for(var t=e.data,i=e.path,o=i.length-1;o>=0;--o){var a=i[o],s=isNaN(+a)?{}:[];s[a]=t,t=s}
1n=r.merge(n,t)}),n}},79707:function(e,t,n){"use strict";n.d(t,{Ee:function(){return a},bw:function(){return s},w0:function(){return c}});var r=n(71113),i=n(60191),o=Object.prototype.hasOwnProperty;function a(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return s(e)}function s(e){var t=e[0]||{},n=e.length;if(n>1)for(var r=new c,i=1;i<n;++i)t=r.merge(t,e[i]);return t}var u=function(e,t,n){return this.merge(e[n],t[n])},c=function(){function e(e){void 0===e&&(e=u),this.reconciler=e,this.isObject=i.s,this.pastCopies=new Set}return e.prototype.merge=function(e,t){for(var n=this,a=[],s=2;s<arguments.length;s++)a[s-2]=arguments[s];return(0,i.s)(t)&&(0,i.s)(e)?(Object.keys(t).forEach(function(i){if(o.call(e,i)){var s=e[i];if(t[i]!==s){var u=n.reconciler.apply(n,(0,r.__spreadArray)([e,t,i],a,!1));u!==s&&((e=n.shallowCopyForMerge(e))[i]=u)}}else(e=n.shallowCopyForMerge(e))[i]=t[i]}),e):t},e.prototype.shallowCopyForMerge=function(e){return(0,i.s)(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}()},42907:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var r=n(95947),i=n(50354),o=n(69322),a=n(3612);function s(e){return e}var u=function(){function e(e,t){void 0===t&&(t=Object.create(null)),this.resultCache=i.sy?new WeakSet:new Set,this.transform=e,t.getCacheKey&&(this.getCacheKey=t.getCacheKey),!1!==t.cache&&(this.stableCacheKeys=new r.B(i.mr,function(e){return{key:e}}))}return e.prototype.getCacheKey=function(e){return[e]},e.identity=function(){return new e(s,{cache:!1})},e.split=function(t,n,r){return void 0===r&&(r=e.identity()),new e(function(e){return(t(e)?n:r).transformDocument(e)},{cache:!1})},e.prototype.transformDocument=function(e){if(this.resultCache.has(e))return e;var t=this.getStableCacheEntry(e);if(t&&t.value)return t.value;(0,o.A$)(e);var n=this.transform(e);return this.resultCache.add(n),t&&(t.value=n),n},e.prototype.concat=function(t){var n=this;return new e(function(e){return t.transformDocument(n.transformDocument(e))},{cache:!1})},e.prototype.getStableCacheEntry=function(e){if(this.stableCacheKeys){var t=this.getCacheKey(e);if(t)return(0,a.kG)(Array.isArray(t),63),this.stableCacheKeys.lookupArray(t)}},e}()},14981:function(e,t,n){"use strict";n.d(t,{FS:function(){return c},IX:function(){return f},LZ:function(){return o},On:function(){return s},iX:function(){return a},mj:function(){return l},qb:function(){return u}});var r=n(3612),i=n(6369);function o(e,t){var n=e.directives;return!n||!n.length||f(n).every(function(e){var n=e.directive,i=e.ifArgument,o=!1;return"Variable"===i.value.kind?(o=t&&t[i.value.name.value],(0,r.kG)(void 0!==o,64,n.name.value)):o=i.value.value,"skip"===n.name.value?!o:o})}function a(e){var t=[];return(0,i.Vn)(e,{Directive:function(e){t.push(e.name.value)}}),t}var s=function(e,t){return c(e,t,!1)},u=function(e,t){return c(e,t,!0)};function c(e,t,n){var r=new Set(e),o=r.size;return(0,i.Vn)(t,{Directive:function(e){if(r.delete(e.name.value)&&(!n||!r.size))return i.$_}}),n?!r.size:r.size<o}function l(e){return e&&c(["client","export"],e,!0)}function f(e){var t=[];return e&&e.length&&e.forEach(function(e){var n;if(!("skip"!==(n=e.name.value)&&"include"!==n)){var i=e.arguments,o=e.name.value;(0,r.kG)(i&&1===i.length,65,o);var a=i[0];(0,r.kG)(a.name&&"if"===a.name.value,66,o);var s=a.value;(0,r.kG)(s&&("Variable"===s.kind||"BooleanValue"===s.kind),67,o),t.push({directive:e,ifArgument:a})}}),t}},33431:function(e,t,n){"use strict";n.d(t,{F:function(){return a},Yk:function(){return o},hi:function(){return s}});var r=n(71113),i=n(3612);function o(e,t){var n=t,o=[];return e.definitions.forEach(function(e){if("OperationDefinition"===e.kind)throw(0,i._K)(68,e.operation,e.name?" named '".concat(e.name.value,"'"):"");"FragmentDefinition"===e.kind&&o.push(e)}),void 0===n&&((0,i.kG)(1===o.length,69,o.length),n=o[0].name.value),(0,r.__assign)((0,r.__assign)({},e),{definitions:(0,r.__spreadArray)([{kind:"OperationDefinition",operation:"query",selectionSet:{kind:"SelectionSet",selections:[{kind:"FragmentSpread",name:{kind:"Name",value:n}}]}}],e.definitions,!0)})}function a(e){void 0===e&&(e=[]);var t={};return e.forEach(function(e){t[e.name.value]=e}),t}function s(e,t){switch(e.kind){case"InlineFragment":return e;case"FragmentSpread":var n=e.name.value;if("function"==typeof t)return t(n);var r=t&&t[n];return(0,i.kG)(r,70,n),r||null;default:return null}}},69322:function(e,t,n){"use strict";n.d(t,{$H:function(){return a},A$:function(){return o},O4:function(){return p},iW:function(){return c},kU:function(){return u},p$:function(){return f},pD:function(){return l},rY:function(){return s}});var r=n(3612),i=n(65793);function o(e){(0,r.kG)(e&&"Document"===e.kind,71);var t=e.definitions.filter(function(e){return"FragmentDefinition"!==e.kind}).map(function(e){if("OperationDefinition"!==e.kind)throw(0,r._K)(72,e.kind);return e});return(0,r.kG)(t.length<=1,73,t.length),e}function a(e){return o(e),e.definitions.filter(function(e){return"OperationDefinition"===e.kind})[0]}function s(e){return e.definitions.filter(function(e){return"OperationDefinition"===e.kind&&!!e.name}).map(function(e){return e.name.value})[0]||null}function u(e){return e.definitions.filter(function(e){return"FragmentDefinition"===e.kind})}function c(e){var t=a(e);return(0,r.kG)(t&&"query"===t.operation,74),t}function l(e){(0,r.kG)("Document"===e.kind,75),(0,r.kG)(e.definitions.length<=1,76);var t=e.definitions[0];return(0,r.kG)("FragmentDefinition"===t.kind,77),t}function f(e){o(e);for(var t,n=0,i=e.definitions;n<i.length;n++){var a=i[n];if("OperationDefinition"===a.kind){var s=a.operation;if("query"===s||"mutation"===s||"subscription"===s)return a}"FragmentDefinition"!==a.kind||t||(t=a)}if(t)return t;throw(0,r._K)(78)}function p(e){var t=Object.create(null),n=e&&e.variableDefinitions;
1return n&&n.length&&n.forEach(function(e){e.defaultValue&&(0,i.vb)(t,e.variable.name,e.defaultValue)}),t}},71648:function(e,t,n){"use strict";n.d(t,{S:function(){return o}});var r=n(17474),i=n(50354).mr?new WeakMap:void 0,o=function(e){var t;return(t=null==i?void 0:i.get(e))||(t=(0,r.S)(e),null==i||i.set(e,t)),t}},65793:function(e,t,n){"use strict";n.d(t,{Ao:function(){return g},JW:function(){return u},My:function(){return m},NC:function(){return y},PT:function(){return p},Yk:function(){return s},kQ:function(){return a},qw:function(){return function e(t,n,r){for(var i,a=0,s=n.selections;a<s.length;a++){var u=s[a];if(m(u)){if("__typename"===u.name.value)return t[v(u)]}else i?i.push(u):i=[u]}if("string"==typeof t.__typename)return t.__typename;if(i)for(var c=0,l=i;c<l.length;c++){var u=l[c],f=e(t,(0,o.hi)(u,r).selectionSet,r);if("string"==typeof f)return f}}},u2:function(){return v},vb:function(){return c},vf:function(){return l}});var r=n(3612),i=n(60191),o=n(33431);function a(e){return{__ref:String(e)}}function s(e){return!!(e&&"object"==typeof e&&"string"==typeof e.__ref)}function u(e){return(0,i.s)(e)&&"Document"===e.kind&&Array.isArray(e.definitions)}function c(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 o={};n.fields.map(function(e){return c(o,e.name,e.value,i)}),e[t.value]=o}else if("Variable"===n.kind){var a=(i||{})[n.name.value];e[t.value]=a}else if("ListValue"===n.kind)e[t.value]=n.values.map(function(e){var n={};return c(n,t,e,i),n[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._K)(79,t.value,n.kind)}function l(e,t){var n=null;e.directives&&(n={},e.directives.forEach(function(e){n[e.name.value]={},e.arguments&&e.arguments.forEach(function(r){var i=r.name,o=r.value;return c(n[e.name.value],i,o,t)})}));var r=null;return e.arguments&&e.arguments.length&&(r={},e.arguments.forEach(function(e){var n=e.name,i=e.value;return c(r,n,i,t)})),p(e.name.value,r,n)}var f=["connection","include","skip","client","rest","export","nonreactive"],p=Object.assign(function(e,t,n){if(t&&n&&n.connection&&n.connection.key){if(!n.connection.filter||!(n.connection.filter.length>0))return n.connection.key;var r=n.connection.filter?n.connection.filter:[];r.sort();var i={};return r.forEach(function(e){i[e]=t[e]}),"".concat(n.connection.key,"(").concat(d(i),")")}var o=e;if(t){var a=d(t);o+="(".concat(a,")")}return n&&Object.keys(n).forEach(function(e){-1===f.indexOf(e)&&(n[e]&&Object.keys(n[e]).length?o+="@".concat(e,"(").concat(d(n[e]),")"):o+="@".concat(e))}),o},{setStringify:function(e){var t=d;return d=e,t}}),d=function(e){return JSON.stringify(e,h)};function h(e,t){return(0,i.s)(t)&&!Array.isArray(t)&&(t=Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{})),t}function y(e,t){if(e.arguments&&e.arguments.length){var n={};return e.arguments.forEach(function(e){return c(n,e.name,e.value,t)}),n}return null}function v(e){return e.alias?e.alias.value:e.name.value}function m(e){return"Field"===e.kind}function g(e){return"InlineFragment"===e.kind}},83224:function(e,t,n){"use strict";n.d(t,{Fo:function(){return m},Gw:function(){return y},RR:function(){return b},Vw:function(){return g},aL:function(){return _},bi:function(){return h},ob:function(){return E}});var r=n(71113),i=n(3612),o=n(8519),a=n(6369),s=n(69322),u=n(65793),c=n(33431),l=n(56811),f={kind:o.h.FIELD,name:{kind:o.h.NAME,value:"__typename"}};function p(e){return!function e(t,n){return!t||t.selectionSet.selections.every(function(t){return t.kind===o.h.FRAGMENT_SPREAD&&e(n[t.name.value],n)})}((0,s.$H)(e)||(0,s.pD)(e),(0,c.F)((0,s.kU)(e)))?e:null}function d(e){var t=new Map;return function(n){void 0===n&&(n=e);var r=t.get(n);return r||t.set(n,r={variables:new Set,fragmentSpreads:new Set}),r}}function h(e,t){(0,s.A$)(t);for(var n,u,c=d(""),f=d(""),h=function(e){for(var t=0,n=void 0;t<e.length&&(n=e[t]);++t)if(!(0,l.k)(n)){if(n.kind===o.h.OPERATION_DEFINITION)return c(n.name&&n.name.value);if(n.kind===o.h.FRAGMENT_DEFINITION)return f(n.name.value)}return!1!==globalThis.__DEV__&&i.kG.error(80),null},y=0,v=t.definitions.length-1;v>=0;--v)t.definitions[v].kind===o.h.OPERATION_DEFINITION&&++y;var m=(n=new Map,u=new Map,e.forEach(function(e){e&&(e.name?n.set(e.name,e):e.test&&u.set(e.test,e))}),function(e){var t=n.get(e.name.value);return!t&&u.size&&u.forEach(function(n,r){r(e)&&(t=n)}),t}),g=function(e){return(0,l.O)(e)&&e.map(m).some(function(e){return e&&e.remove})},b=new Map,_=!1,E={enter:function(e){if(g(e.directives))return _=!0,null}},w=(0,a.Vn)(t,{Field:E,InlineFragment:E,VariableDefinition:{enter:function(){return!1}},Variable:{enter:function(e,t,n,r,i){var o=h(i);o&&o.variables.add(e.name.value)}},FragmentSpread:{enter:function(e,t,n,r,i){if(g(e.directives))return _=!0,null;var o=h(i);o&&o.fragmentSpreads.add(e.name.value)}},FragmentDefinition:{enter:function(e,t,n,r){b.set(JSON.stringify(r),e)},leave:function(e,t,n,r){return e===b.get(JSON.stringify(r))?e:y>0&&e.selectionSet.selections.every(function(e){return e.kind===o.h.FIELD&&"__typename"===e.name.value})?(f(e.name.value).removed=!0,_=!0,null):void 0}},Directive:{leave:function(e){if(m(e))return _=!0,null}}});if(!_)return t;var T=function(e){return e.transitiveVars||(e.transitiveVars=new Set(e.variables),e.removed||e.fragmentSpreads.forEach(function(t){T(f(t)).transitiveVars.forEac
1h(function(t){e.transitiveVars.add(t)})})),e},I=new Set;w.definitions.forEach(function(e){e.kind===o.h.OPERATION_DEFINITION?T(c(e.name&&e.name.value)).fragmentSpreads.forEach(function(e){I.add(e)}):e.kind!==o.h.FRAGMENT_DEFINITION||0!==y||f(e.name.value).removed||I.add(e.name.value)}),I.forEach(function(e){T(f(e)).fragmentSpreads.forEach(function(e){I.add(e)})});var O={enter:function(e){var t;if(t=e.name.value,!I.has(t)||f(t).removed)return null}};return p((0,a.Vn)(w,{FragmentSpread:O,FragmentDefinition:O,OperationDefinition:{leave:function(e){if(e.variableDefinitions){var t=T(c(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)})})}}}}))}var y=Object.assign(function(e){return(0,a.Vn)(e,{SelectionSet:{enter:function(e,t,n){if(!n||n.kind!==o.h.OPERATION_DEFINITION){var i=e.selections;if(!(!i||i.some(function(e){return(0,u.My)(e)&&("__typename"===e.name.value||0===e.name.value.lastIndexOf("__",0))}))&&!((0,u.My)(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),[f],!1)})}}}})},{added:function(e){return e===f}}),v={test:function(e){var t="connection"===e.name.value;return!t||e.arguments&&e.arguments.some(function(e){return"key"===e.name.value})||!1===globalThis.__DEV__||i.kG.warn(81),t}};function m(e){return h([v],(0,s.A$)(e))}function g(e,t){var n=function(t){return e.some(function(e){return t.value&&t.value.kind===o.h.VARIABLE&&t.value.name&&(e.name===t.value.name.value||e.test&&e.test(t))})};return p((0,a.Vn)(t,{OperationDefinition:{enter:function(t){return(0,r.__assign)((0,r.__assign)({},t),{variableDefinitions:t.variableDefinitions?t.variableDefinitions.filter(function(t){return!e.some(function(e){return e.name===t.variable.name.value})}):[]})}},Field:{enter:function(t){if(e.some(function(e){return e.remove})){var r=0;if(t.arguments&&t.arguments.forEach(function(e){n(e)&&(r+=1)}),1===r)return null}}},Argument:{enter:function(e){if(n(e))return null}}}))}function b(e,t){function n(t){if(e.some(function(e){return e.name===t.name.value}))return null}return p((0,a.Vn)(t,{FragmentSpread:{enter:n},FragmentDefinition:{enter:n}}))}function _(e){return"query"===(0,s.p$)(e).operation?e:(0,a.Vn)(e,{OperationDefinition:{enter:function(e){return(0,r.__assign)((0,r.__assign)({},e),{operation:"query"})}}})}function E(e){return(0,s.A$)(e),h([{test:function(e){return"client"===e.name.value},remove:!0}],e)}},22991:function(e,t,n){"use strict";n.r(t),n.d(t,{Concast:function(){return k.X},DEV:function(){return r.Rk},DeepMerger:function(){return v.w0},DocumentTransform:function(){return o.A},Observable:function(){return w.y},addTypenameToDocument:function(){return l.Gw},argumentsObjectFromField:function(){return c.NC},asyncMap:function(){return N.s},buildQueryFromSelectionSet:function(){return l.aL},canUseAsyncIteratorSymbol:function(){return x.DN},canUseDOM:function(){return x.Nq},canUseLayoutEffect:function(){return x.JC},canUseSymbol:function(){return x.aS},canUseWeakMap:function(){return x.mr},canUseWeakSet:function(){return x.sy},checkDocument:function(){return s.A$},cloneDeep:function(){return I.X},compact:function(){return C.o},concatPagination:function(){return m},createFragmentMap:function(){return a.F},createFulfilledPromise:function(){return T.OP},createRejectedPromise:function(){return T.Ld},fixObservableSubclass:function(){return D.D},getDefaultValues:function(){return s.O4},getDirectiveNames:function(){return i.iX},getFragmentDefinition:function(){return s.pD},getFragmentDefinitions:function(){return s.kU},getFragmentFromSelection:function(){return a.hi},getFragmentQueryDocument:function(){return a.Yk},getGraphQLErrorsFromResult:function(){return F.K},getInclusionDirectives:function(){return i.IX},getMainDefinition:function(){return s.p$},getOperationDefinition:function(){return s.$H},getOperationName:function(){return s.rY},getQueryDefinition:function(){return s.iW},getStoreKeyName:function(){return c.PT},getTypenameFromResult:function(){return c.qw},graphQLResultHasError:function(){return F.d}
1,hasAllDirectives:function(){return i.qb},hasAnyDirectives:function(){return i.On},hasClientExports:function(){return i.mj},hasDirectives:function(){return i.FS},isApolloPayloadResult:function(){return M.yU},isArray:function(){return R.k},isDocumentNode:function(){return c.JW},isExecutionPatchIncrementalResult:function(){return M.GG},isExecutionPatchInitialResult:function(){return M.x3},isExecutionPatchResult:function(){return M.M0},isField:function(){return c.My},isInlineFragment:function(){return c.Ao},isMutationOperation:function(){return p},isNonEmptyArray:function(){return R.O},isNonNullObject:function(){return A.s},isPlainObject:function(){return A.P},isQueryOperation:function(){return d},isReference:function(){return c.Yk},isStatefulPromise:function(){return T.j7},isSubscriptionOperation:function(){return h},iterateObserversSafely:function(){return S.p},makeReference:function(){return c.kQ},makeUniqueId:function(){return j.X},maybe:function(){return r.wY},maybeDeepFreeze:function(){return O.J},mergeDeep:function(){return v.Ee},mergeDeepArray:function(){return v.bw},mergeIncrementalData:function(){return M.mT},mergeOptions:function(){return P.J},offsetLimitPagination:function(){return g},omitDeep:function(){return V},print:function(){return u.S},relayStylePagination:function(){return b},removeArgumentsFromDocument:function(){return l.Vw},removeClientSetsFromDocument:function(){return l.ob},removeConnectionDirectiveFromDocument:function(){return l.Fo},removeDirectivesFromDocument:function(){return l.bi},removeFragmentSpreadFromDocument:function(){return l.RR},resultKeyNameFromField:function(){return c.u2},shouldInclude:function(){return i.LZ},storeKeyNameFromField:function(){return c.vf},stringifyForDisplay:function(){return L.v},stripTypename:function(){return U},valueToObjectRepresentation:function(){return c.vb},wrapPromiseWithState:function(){return T.Bd}});var r=n(3612),i=n(14981),o=n(42907),a=n(33431),s=n(69322),u=n(71648),c=n(65793),l=n(83224);function f(e,t){var n;return(null===(n=(0,s.$H)(e))||void 0===n?void 0:n.operation)===t}function p(e){return f(e,"mutation")}function d(e){return f(e,"query")}function h(e){return f(e,"subscription")}var y=n(71113),v=n(79707);function m(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t){return e?(0,y.__spreadArray)((0,y.__spreadArray)([],e,!0),t,!0):t}}}function g(e){return void 0===e&&(e=!1),{keyArgs:e,merge:function(e,t,n){var r=n.args,i=e?e.slice(0):[];if(t){if(r)for(var o=r.offset,a=void 0===o?0:o,s=0;s<t.length;++s)i[a+s]=t[s];else i.push.apply(i,t)}return i}}}function b(e){return void 0===e&&(e=!1),{keyArgs:e,read:function(e,t){var n=t.canRead,r=t.readField;if(!e)return e;var i=[],o="",a="";
1e.edges.forEach(function(e){n(r("node",e))&&(i.push(e),e.cursor&&(o=o||e.cursor||"",a=e.cursor||a))}),i.length>1&&o===a&&(o="");var s=e.pageInfo||{},u=s.startCursor,c=s.endCursor;return(0,y.__assign)((0,y.__assign)({},_(e)),{edges:i,pageInfo:(0,y.__assign)((0,y.__assign)({},e.pageInfo),{startCursor:u||o,endCursor:c||a})})},merge:function(e,t,n){var r=n.args,i=n.isReference,o=n.readField;if(e||(e={edges:[],pageInfo:{hasPreviousPage:!1,hasNextPage:!0,startCursor:"",endCursor:""}}),!t)return e;var a=t.edges?t.edges.map(function(e){return i(e=(0,y.__assign)({},e))&&(e.cursor=o("cursor",e)),e}):[];if(t.pageInfo){var s=t.pageInfo,u=s.startCursor,c=s.endCursor,l=a[0],f=a[a.length-1];l&&u&&(l.cursor=u),f&&c&&(f.cursor=c);var p=l&&l.cursor;p&&!u&&(t=(0,v.Ee)(t,{pageInfo:{startCursor:p}}));var d=f&&f.cursor;d&&!c&&(t=(0,v.Ee)(t,{pageInfo:{endCursor:d}}))}var h=e.edges,m=[];if(r&&r.after){var g=h.findIndex(function(e){return e.cursor===r.after});g>=0&&(h=h.slice(0,g+1))}else if(r&&r.before){var g=h.findIndex(function(e){return e.cursor===r.before});m=g<0?h:h.slice(g),h=[]}else t.edges&&(h=[]);var b=(0,y.__spreadArray)((0,y.__spreadArray)((0,y.__spreadArray)([],h,!0),a,!0),m,!0),E=(0,y.__assign)((0,y.__assign)({},t.pageInfo),e.pageInfo);if(t.pageInfo){var w=t.pageInfo,T=w.hasPreviousPage,I=w.hasNextPage,u=w.startCursor,c=w.endCursor;Object.assign(E,(0,y.__rest)(w,["hasPreviousPage","hasNextPage","startCursor","endCursor"])),h.length||(void 0!==T&&(E.hasPreviousPage=T),void 0===u||(E.startCursor=u)),m.length||(void 0!==I&&(E.hasNextPage=I),void 0===c||(E.endCursor=c))}return(0,y.__assign)((0,y.__assign)((0,y.__assign)({},_(e)),_(t)),{edges:b,pageInfo:E})}}}var _=function(e){return(0,y.__rest)(e,E)},E=["edges","pageInfo"],w=n(19830),T=n(8532),I=n(79782),O=n(85369),S=n(2857),N=n(62008),k=n(46546),D=n(39108),R=n(56811),A=n(60191),F=n(14450),x=n(50354),C=n(91286),j=n(64801),L=n(28949),P=n(19210),M=n(50702);function V(e,t){return $(e,t)}function $(e,t,n){if(void 0===n&&(n=new Map),n.has(e))return n.get(e);var r=!1;if(Array.isArray(e)){var i=[];if(n.set(e,i),e.forEach(function(e,o){var a=$(e,t,n);r||(r=a!==e),i[o]=a}),r)return i}else if((0,A.P)(e)){var o=Object.create(Object.getPrototypeOf(e));if(n.set(e,o),Object.keys(e).forEach(function(i){if(i===t){r=!0;return}var a=$(e[i],t,n);r||(r=a!==e[i]),o[i]=a}),r)return o}return e}function U(e){return $(e,"__typename")}},46546:function(e,t,n){"use strict";n.d(t,{X:function(){return u}});var r=n(71113),i=n(19830),o=n(2857),a=n(39108);function s(e){return e&&"function"==typeof e.then}var u=function(e){function t(t){var n=e.call(this,function(e){return n.addObserver(e),function(){return n.removeObserver(e)}})||this;return n.observers=new Set,n.promise=new Promise(function(e,t){n.resolve=e,n.reject=t}),n.handlers={next:function(e){null!==n.sub&&(n.latest=["next",e],n.notify("next",e),(0,o.p)(n.observers,"next",e))},error:function(e){var t=n.sub;null!==t&&(t&&setTimeout(function(){return t.unsubscribe()}),n.sub=null,n.latest=["error",e],n.reject(e),n.notify("error",e),(0,o.p)(n.observers,"error",e))},complete:function(){var e=n.sub,t=n.sources;if(null!==e){var r=(void 0===t?[]:t).shift();r?s(r)?r.then(function(e){return n.sub=e.subscribe(n.handlers)}):n.sub=r.subscribe(n.handlers):(e&&setTimeout(function(){return e.unsubscribe()}),n.sub=null,n.latest&&"next"===n.latest[0]?n.resolve(n.latest[1]):n.resolve(),n.notify("complete"),(0,o.p)(n.observers,"complete"))}}},n.nextResultListeners=new Set,n.cancel=function(e){n.reject(e),n.sources=[],n.handlers.complete()},n.promise.catch(function(e){}),"function"==typeof t&&(t=[new i.y(t)]),s(t)?t.then(function(e){return n.start(e)},n.handlers.error):n.start(t),n}return(0,r.__extends)(t,e),t.prototype.start=function(e){void 0===this.sub&&(this.sources=Array.from(e),this.handlers.complete())},t.prototype.deliverLastMessage=function(e){if(this.latest){var t=this.latest[0],n=e[t];n&&n.call(e,this.latest[1]),null===this.sub&&"next"===t&&e.complete&&e.complete()}},t.prototype.addObserver=function(e){this.observers.has(e)||(this.deliverLastMessage(e),this.observers.add(e))},t.prototype.removeObserver=function(e){this.observers.delete(e)&&this.observers.size<1&&this.handlers.complete()},t.prototype.notify=function(e,t){var n=this.nextResultListeners;
1n.size&&(this.nextResultListeners=new Set,n.forEach(function(n){return n(e,t)}))},t.prototype.beforeNext=function(e){var t=!1;this.nextResultListeners.add(function(n,r){t||(t=!0,e(n,r))})},t}(i.y);(0,a.D)(u)},62008:function(e,t,n){"use strict";n.d(t,{s:function(){return i}});var r=n(19830);function i(e,t,n){return new r.y(function(r){var i=r.next,o=r.error,a=r.complete,s=0,u=!1,c={then:function(e){return new Promise(function(t){return t(e())})}};function l(e,t){return e?function(t){++s;var n=function(){return e(t)};c=c.then(n,n).then(function(e){--s,i&&i.call(r,e),u&&f.complete()},function(e){throw--s,e}).catch(function(e){o&&o.call(r,e)})}:function(e){return t&&t.call(r,e)}}var f={next:l(t,i),error:l(n,o),complete:function(){u=!0,!s&&a&&a.call(r)}},p=e.subscribe(f);return function(){return p.unsubscribe()}})}},2857:function(e,t,n){"use strict";function r(e,t,n){var r=[];e.forEach(function(e){return e[t]&&r.push(e)}),r.forEach(function(e){return e[t](n)})}n.d(t,{p:function(){return r}})},39108:function(e,t,n){"use strict";n.d(t,{D:function(){return o}});var r=n(19830),i=n(50354);function o(e){function t(t){Object.defineProperty(e,t,{value:r.y})}return i.aS&&Symbol.species&&t(Symbol.species),t("@@species"),e}},8532:function(e,t,n){"use strict";function r(e){var t=Promise.resolve(e);return t.status="fulfilled",t.value=e,t}function i(e){var t=Promise.reject(e);return t.catch(function(){}),t.status="rejected",t.reason=e,t}function o(e){return"status"in e}function a(e){return o(e)||(e.status="pending",e.then(function(t){"pending"===e.status&&(e.status="fulfilled",e.value=t)},function(t){"pending"===e.status&&(e.status="rejected",e.reason=t)})),e}n.d(t,{Bd:function(){return a},Ld:function(){return i},OP:function(){return r},j7:function(){return o}})},82816:function(e,t,n){"use strict";let r;n.r(t),n.d(t,{BREAK:function(){return tx.$_},BreakingChangeType:function(){return f},DEFAULT_DEPRECATION_REASON:function(){return e4},DangerousChangeType:function(){return p},DirectiveLocation:function(){return eG.B},ExecutableDefinitionsRule:function(){return tV},FieldsOnCorrectTypeRule:function(){return t$},FragmentsOnCompositeTypesRule:function(){return tU},GRAPHQL_MAX_INT:function(){return eX},GRAPHQL_MIN_INT:function(){return eY},GraphQLBoolean:function(){return eH},GraphQLDeprecatedDirective:function(){return e9},GraphQLDirective:function(){return e6},GraphQLEnumType:function(){return eP},GraphQLError:function(){return m.__},GraphQLFloat:function(){return eJ},GraphQLID:function(){return eK},GraphQLIncludeDirective:function(){return e8},GraphQLInputObjectType:function(){return eV},GraphQLInt:function(){return ez},GraphQLInterfaceType:function(){return eC},GraphQLList:function(){return ed},GraphQLNonNull:function(){return eh},GraphQLObjectType:function(){return eS},GraphQLScalarType:function(){return eO},GraphQLSchema:function(){return tE},GraphQLSkipDirective:function(){return e5},GraphQLSpecifiedByDirective:function(){return e7},GraphQLString:function(){return eW},GraphQLUnionType:function(){return ej},Kind:function(){return x.h},KnownArgumentNamesRule:function(){return tQ},KnownDirectivesRule:function(){return tq},KnownFragmentNamesRule:function(){return tG},KnownTypeNamesRule:function(){return tX},Lexer:function(){return ru.h},Location:function(){return g.Ye},LoneAnonymousOperationRule:function(){return tz},LoneSchemaDefinitionRule:function(){return tJ},NoDeprecatedCustomRule:function(){return rh},NoFragmentCyclesRule:function(){return tW},NoSchemaIntrospectionCustomRule:function(){return ry},NoUndefinedVariablesRule:function(){return tH},NoUnusedFragmentsRule:function(){return tK},NoUnusedVariablesRule:function(){return tZ},OperationTypeNode:function(){return g.ku},OverlappingFieldsCanBeMergedRule:function(){return t1},PossibleFragmentSpreadsRule:function(){return t7},PossibleTypeExtensionsRule:function(){return ne},ProvidedRequiredArgumentsRule:function(){return nn},ScalarLeafsRule:function(){return no},SchemaMetaFieldDef:function(){return th},SingleFieldSubscriptionsRule:function(){return nE},Source:function(){return ro.H},Token:function(){return g.WU},TokenKind:function(){return rc.T},TypeInfo:function(){return tj},TypeKind:function(){return l},TypeMetaFieldDef:function(){return ty},TypeNameMetaFieldDef:function(){return tv},UniqueArgumentDefinitionNamesRule:function(){return nT},UniqueArgumentNamesRule:function(){return nI},UniqueDirectiveNamesRule:function(){return nO},UniqueDirectivesPerLocationRule:function(){return nS},UniqueEnumValueNamesRule:function(){return nN},UniqueFieldDefinitionNamesRule:function(){return nk},UniqueFragmentNamesRule:function(){return nD},UniqueInputFieldNamesRule:function(){return nR},UniqueOperationNamesRule:function(){return nA},UniqueOperationTypesRule:function(){return nF},UniqueTypeNamesRule:function(){return nx},UniqueVariableNamesRule:function(){return nC},ValidationContext:function(){return nB},ValuesOfCorrectTypeRule:function(){return nj},VariablesAreInputTypesRule:function(){return nP},VariablesInAllowedPositionRule:function(){return nM},__Directive:function(){return ts},__DirectiveLocation:function(){return tu},__EnumValue:function(){return tp}
1,__Field:function(){return tl},__InputValue:function(){return tf},__Schema:function(){return ta},__Type:function(){return tc},__TypeKind:function(){return td},assertAbstractType:function(){return ep},assertCompositeType:function(){return el},assertDirective:function(){return e3},assertEnumType:function(){return W},assertEnumValueName:function(){return M},assertInputObjectType:function(){return K},assertInputType:function(){return ei},assertInterfaceType:function(){return X},assertLeafType:function(){return eu},assertListType:function(){return ee},assertName:function(){return P},assertNamedType:function(){return eE},assertNonNullType:function(){return en},assertNullableType:function(){return eg},assertObjectType:function(){return q},assertOutputType:function(){return ea},assertScalarType:function(){return Q},assertSchema:function(){return t_},assertType:function(){return $},assertUnionType:function(){return z},assertValidName:function(){return rW},assertValidSchema:function(){return tI},assertWrappingType:function(){return ev},astFromValue:function(){return ti},buildASTSchema:function(){return rN},buildClientSchema:function(){return rE},buildSchema:function(){return rk},coerceInputValue:function(){return nc},concatAST:function(){return rX},createSourceEventStream:function(){return rp},defaultFieldResolver:function(){return re},defaultTypeResolver:function(){return n7},doTypesOverlap:function(){return eq},execute:function(){return nW},executeSync:function(){return nH},extendSchema:function(){return rw},findBreakingChanges:function(){return rK},findDangerousChanges:function(){return rZ},formatError:function(){return m.Z},getArgumentValues:function(){return nh},getDirectiveValues:function(){return ny},getEnterLeaveForKind:function(){return tx.Eu},getIntrospectionQuery:function(){return rm},getLocation:function(){return ra.k},getNamedType:function(){return ew},getNullableType:function(){return eb},getOperationAST:function(){return rg},getOperationRootType:function(){return rb},getVariableValues:function(){return nd},getVisitFn:function(){return tx.CK},graphql:function(){return rn},graphqlSync:function(){return rr},introspectionFromSchema:function(){return r_},introspectionTypes:function(){return tm},isAbstractType:function(){return ef},isCompositeType:function(){return ec},isConstValueNode:function(){return tM.Of},isDefinitionNode:function(){return tM.Ir},isDirective:function(){return e2},isEnumType:function(){return J},isEqualType:function(){return eQ},isExecutableDefinitionNode:function(){return tM.Wk},isInputObjectType:function(){return H},isInputType:function(){return er},isInterfaceType:function(){return G},isIntrospectionType:function(){return tg},isLeafType:function(){return es},isListType:function(){return Z},isNamedType:function(){return e_},isNonNullType:function(){return et},isNullableType:function(){return em},isObjectType:function(){return B},isOutputType:function(){return eo},isRequiredArgument:function(){return ex},isRequiredInputField:function(){return eU},isScalarType:function(){return U},isSchema:function(){return tb},isSelectionNode:function(){return tM.pO},isSpecifiedDirective:function(){return tt},isSpecifiedScalarType:function(){return e0},isType:function(){return V},isTypeDefinitionNode:function(){return tM.zT},isTypeExtensionNode:function(){return tM.D$},isTypeNode:function(){return tM.VB},isTypeSubTypeOf:function(){return eB},isTypeSystemDefinitionNode:function(){return tM.G4},isTypeSystemExtensionNode:function(){return tM.aU},isUnionType:function(){return Y},isValidNameError:function(){return rH},isValueNode:function(){return tM.nr},isWrappingType:function(){return ey},lexicographicSortSchema:function(){return rD},locatedError:function(){return nz},parse:function(){return y.Qc},parseConstValue:function(){return y.tl},parseType:function(){return y.gZ},parseValue:function(){return y.H2},print:function(){return C.S},printError:function(){return m.OS},printIntrospectionSchema:function(){return rj},printLocation:function(){return rs.Q},printSchema:function(){return rC},printSourceLocation:function(){return rs.z},printType:function(){return rM},resolveObjMapThunk:function(){return eI},resolveReadonlyArrayThunk:function(){return eT},responsePathAsArray:function(){return nu},separateOperations:function(){return rY},specifiedDirectives:function(){return te},specifiedRules:function(){return nV},specifiedScalarTypes:function(){return eZ},stripIgnoredCharacters:function(){return rJ},subscribe:function(){return rf},syntaxError:function(){return rv.h},typeFromAST:function(){return tC},validate:function(){return nq},validateSchema:function(){return tT},valueFromAST:function(){return nf},valueFromASTUntyped:function(){return j},version:function(){return i},versionInfo:function(){return o},visit:function(){return tx.Vn},visitInParallel:function(){return tx.j1},visitWithTypeInfo:function(){return tP}});let i="16.8.1",o=Object.freeze({major:16,minor:8,patch:1,preReleaseTag:null});var a,s,u,c,l,f,p,d=n(14302);function h(e){return"function"==typeof(null==e?void 0:e.then)}var y=n(96199),v=n(78345),m=n(35204),g=n(9195);
1function b(e,t){let[n,r]=t?[e,t]:[void 0,e],i=" Did you mean ";n&&(i+=n+" ");let o=r.map(e=>`"${e}"`);switch(o.length){case 0:return"";case 1:return i+o[0]+"?";case 2:return i+o[0]+" or "+o[1]+"?"}let a=o.slice(0,5),s=a.pop();return i+a.join(", ")+", or "+s+"?"}function _(e){return e}var E=n(56580),w=n(58293);function T(e,t){let n=Object.create(null);for(let r of e)n[t(r)]=r;return n}function I(e,t,n){let r=Object.create(null);for(let i of e)r[t(i)]=n(i);return r}function O(e,t){let n=Object.create(null);for(let r of Object.keys(e))n[r]=t(e[r],r);return n}function S(e,t){let n=0,r=0;for(;n<e.length&&r<t.length;){let i=e.charCodeAt(n),o=t.charCodeAt(r);if(k(i)&&k(o)){let a=0;do++n,a=10*a+i-N,i=e.charCodeAt(n);while(k(i)&&a>0);let s=0;do++r,s=10*s+o-N,o=t.charCodeAt(r);while(k(o)&&s>0);if(a<s)return -1;if(a>s)return 1}else{if(i<o)return -1;if(i>o)return 1;++n,++r}}return e.length-t.length}let N=48;function k(e){return!isNaN(e)&&N<=e&&e<=57}function D(e,t){let n=Object.create(null),r=new R(e),i=Math.floor(.4*e.length)+1;for(let e of t){let t=r.measure(e,i);void 0!==t&&(n[e]=t)}return Object.keys(n).sort((e,t)=>{let r=n[e]-n[t];return 0!==r?r:S(e,t)})}class R{constructor(e){this._input=e,this._inputLowerCase=e.toLowerCase(),this._inputArray=A(this._inputLowerCase),this._rows=[Array(e.length+1).fill(0),Array(e.length+1).fill(0),Array(e.length+1).fill(0)]}measure(e,t){if(this._input===e)return 0;let n=e.toLowerCase();if(this._inputLowerCase===n)return 1;let r=A(n),i=this._inputArray;if(r.length<i.length){let e=r;r=i,i=e}let o=r.length,a=i.length;if(o-a>t)return;let s=this._rows;for(let e=0;e<=a;e++)s[0][e]=e;for(let e=1;e<=o;e++){let n=s[(e-1)%3],o=s[e%3],u=o[0]=e;for(let t=1;t<=a;t++){let a=r[e-1]===i[t-1]?0:1,c=Math.min(n[t]+1,o[t-1]+1,n[t-1]+a);e>1&&t>1&&r[e-1]===i[t-2]&&r[e-2]===i[t-1]&&(c=Math.min(c,s[(e-2)%3][t-2]+1)),c<u&&(u=c),o[t]=c}if(u>t)return}let u=s[o%3][a];return u<=t?u:void 0}}function A(e){let t=e.length,n=Array(t);for(let r=0;r<t;++r)n[r]=e.charCodeAt(r);return n}function F(e){if(null==e)return Object.create(null);if(null===Object.getPrototypeOf(e))return e;let t=Object.create(null);for(let[n,r]of Object.entries(e))t[n]=r;return t}var x=n(8519),C=n(17474);function j(e,t){switch(e.kind){case x.h.NULL:return null;case x.h.INT:return parseInt(e.value,10);case x.h.FLOAT:return parseFloat(e.value);case x.h.STRING:case x.h.ENUM:case x.h.BOOLEAN:return e.value;case x.h.LIST:return e.values.map(e=>j(e,t));case x.h.OBJECT:return I(e.fields,e=>e.name.value,e=>j(e.value,t));case x.h.VARIABLE:return null==t?void 0:t[e.name.value]}}var L=n(62617);function P(e){if(null!=e||(0,d.a)(!1,"Must provide name."),"string"==typeof e||(0,d.a)(!1,"Expected name to be a string."),0===e.length)throw new m.__("Expected name to be a non-empty string.");for(let t=1;t<e.length;++t)if(!(0,L.HQ)(e.charCodeAt(t)))throw new m.__(`Names must only contain [_a-zA-Z0-9] but "${e}" does not.`);if(!(0,L.LQ)(e.charCodeAt(0)))throw new m.__(`Names must start with [_a-zA-Z] but "${e}" does not.`);return e}function M(e){if("true"===e||"false"===e||"null"===e)throw new m.__(`Enum values cannot be named: ${e}`);return P(e)}function V(e){return U(e)||B(e)||G(e)||Y(e)||J(e)||H(e)||Z(e)||et(e)}function $(e){if(!V(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL type.`);return e}function U(e){return(0,E.n)(e,eO)}function Q(e){if(!U(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL Scalar type.`);return e}function B(e){return(0,E.n)(e,eS)}function q(e){if(!B(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL Object type.`);return e}function G(e){return(0,E.n)(e,eC)}function X(e){if(!G(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL Interface type.`);return e}function Y(e){return(0,E.n)(e,ej)}function z(e){if(!Y(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL Union type.`);return e}function J(e){return(0,E.n)(e,eP)}function W(e){if(!J(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL Enum type.`);return e}function H(e){return(0,E.n)(e,eV)}function K(e){if(!H(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL Input Object type.`);return e}function Z(e){return(0,E.n)(e,ed)}function ee(e){if(!Z(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL List type.`);return e}function et(e){return(0,E.n)(e,eh)}function en(e){if(!et(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL Non-Null type.`);return e}function er(e){return U(e)||J(e)||H(e)||ey(e)&&er(e.ofType)}function ei(e){if(!er(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL input type.`);return e}function eo(e){return U(e)||B(e)||G(e)||Y(e)||J(e)||ey(e)&&eo(e.ofType)}function ea(e){if(!eo(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL output type.`);return e}function es(e){return U(e)||J(e)}function eu(e){if(!es(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL leaf type.`);return e}function ec(e){return B(e)||G(e)||Y(e)}function el(e){if(!ec(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL composite type.`);return e}function ef(e){return G(e)||Y(e)}function ep(e){if(!ef(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL abstract type.`);return e}class ed{constructor(e){V(e)||(0,d.a)(!1,`Expected ${(0,v.X)(e)} to be a GraphQL type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLList"}toString(){return"["+String(this.ofType)+"]"}toJSON(){return this.toString()}}class eh{constructor(e){em(e)||(0,d.a)(!1,`Expected ${(0,v.X)(e)} to be a GraphQL nullable type.`),this.ofType=e}get[Symbol.toStringTag](){return"GraphQLNonNull"}toString(){return String(this.ofType)+"!"}toJSON(){return this.toString()}}function ey(e){return Z(e)||et(e)}function ev(e){if(!ey(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL wrapping type.`);return e}function em(e){return V(e)&&!et(e)}function eg(e){if(!em(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL nullable type.`);return e}function eb(e){if(e)return et(e)?e.ofType:e}function e_(e){return U(e)||B(e)||G(e)||Y(e)||J(e)||H(e)}
1function eE(e){if(!e_(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL named type.`);return e}function ew(e){if(e){let t=e;for(;ey(t);)t=t.ofType;return t}}function eT(e){return"function"==typeof e?e():e}function eI(e){return"function"==typeof e?e():e}class eO{constructor(e){var t,n,r,i;let o=null!==(t=e.parseValue)&&void 0!==t?t:_;this.name=P(e.name),this.description=e.description,this.specifiedByURL=e.specifiedByURL,this.serialize=null!==(n=e.serialize)&&void 0!==n?n:_,this.parseValue=o,this.parseLiteral=null!==(r=e.parseLiteral)&&void 0!==r?r:(e,t)=>o(j(e,t)),this.extensions=F(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(i=e.extensionASTNodes)&&void 0!==i?i:[],null==e.specifiedByURL||"string"==typeof e.specifiedByURL||(0,d.a)(!1,`${this.name} must provide "specifiedByURL" as a string, but got: ${(0,v.X)(e.specifiedByURL)}.`),null==e.serialize||"function"==typeof e.serialize||(0,d.a)(!1,`${this.name} must provide "serialize" function. If this custom Scalar is also used as an input type, ensure "parseValue" and "parseLiteral" functions are also provided.`),e.parseLiteral&&("function"==typeof e.parseValue&&"function"==typeof e.parseLiteral||(0,d.a)(!1,`${this.name} must provide both "parseValue" and "parseLiteral" functions.`))}get[Symbol.toStringTag](){return"GraphQLScalarType"}toConfig(){return{name:this.name,description:this.description,specifiedByURL:this.specifiedByURL,serialize:this.serialize,parseValue:this.parseValue,parseLiteral:this.parseLiteral,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class eS{constructor(e){var t;this.name=P(e.name),this.description=e.description,this.isTypeOf=e.isTypeOf,this.extensions=F(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=()=>ek(e),this._interfaces=()=>eN(e),null==e.isTypeOf||"function"==typeof e.isTypeOf||(0,d.a)(!1,`${this.name} must provide "isTypeOf" as a function, but got: ${(0,v.X)(e.isTypeOf)}.`)}get[Symbol.toStringTag](){return"GraphQLObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eA(this.getFields()),isTypeOf:this.isTypeOf,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eN(e){var t;let n=eT(null!==(t=e.interfaces)&&void 0!==t?t:[]);return Array.isArray(n)||(0,d.a)(!1,`${e.name} interfaces must be an Array or a function which returns an Array.`),n}function ek(e){let t=eI(e.fields);return eR(t)||(0,d.a)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),O(t,(t,n)=>{var r;eR(t)||(0,d.a)(!1,`${e.name}.${n} field config must be an object.`),null==t.resolve||"function"==typeof t.resolve||(0,d.a)(!1,`${e.name}.${n} field resolver must be a function if provided, but got: ${(0,v.X)(t.resolve)}.`);let i=null!==(r=t.args)&&void 0!==r?r:{};return eR(i)||(0,d.a)(!1,`${e.name}.${n} args must be an object with argument names as keys.`),{name:P(n),description:t.description,type:t.type,args:eD(i),resolve:t.resolve,subscribe:t.subscribe,deprecationReason:t.deprecationReason,extensions:F(t.extensions),astNode:t.astNode}})}function eD(e){return Object.entries(e).map(([e,t])=>({name:P(e),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:F(t.extensions),astNode:t.astNode}))}function eR(e){return(0,w.y)(e)&&!Array.isArray(e)}function eA(e){return O(e,e=>({description:e.description,type:e.type,args:eF(e.args),resolve:e.resolve,subscribe:e.subscribe,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function eF(e){return I(e,e=>e.name,e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}))}function ex(e){return et(e.type)&&void 0===e.defaultValue}class eC{constructor(e){var t;this.name=P(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=F(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=ek.bind(void 0,e),this._interfaces=eN.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,d.a)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,v.X)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLInterfaceType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}
1getInterfaces(){return"function"==typeof this._interfaces&&(this._interfaces=this._interfaces()),this._interfaces}toConfig(){return{name:this.name,description:this.description,interfaces:this.getInterfaces(),fields:eA(this.getFields()),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}class ej{constructor(e){var t;this.name=P(e.name),this.description=e.description,this.resolveType=e.resolveType,this.extensions=F(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._types=eL.bind(void 0,e),null==e.resolveType||"function"==typeof e.resolveType||(0,d.a)(!1,`${this.name} must provide "resolveType" as a function, but got: ${(0,v.X)(e.resolveType)}.`)}get[Symbol.toStringTag](){return"GraphQLUnionType"}getTypes(){return"function"==typeof this._types&&(this._types=this._types()),this._types}toConfig(){return{name:this.name,description:this.description,types:this.getTypes(),resolveType:this.resolveType,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eL(e){let t=eT(e.types);return Array.isArray(t)||(0,d.a)(!1,`Must provide Array of types or a function which returns such an array for Union ${e.name}.`),t}class eP{constructor(e){var t,n,r;this.name=P(e.name),this.description=e.description,this.extensions=F(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._values=(n=this.name,eR(r=e.values)||(0,d.a)(!1,`${n} values must be an object with value names as keys.`),Object.entries(r).map(([e,t])=>(eR(t)||(0,d.a)(!1,`${n}.${e} must refer to an object with a "value" key representing an internal value but got: ${(0,v.X)(t)}.`),{name:M(e),description:t.description,value:void 0!==t.value?t.value:e,deprecationReason:t.deprecationReason,extensions:F(t.extensions),astNode:t.astNode}))),this._valueLookup=new Map(this._values.map(e=>[e.value,e])),this._nameLookup=T(this._values,e=>e.name)}get[Symbol.toStringTag](){return"GraphQLEnumType"}getValues(){return this._values}getValue(e){return this._nameLookup[e]}serialize(e){let t=this._valueLookup.get(e);if(void 0===t)throw new m.__(`Enum "${this.name}" cannot represent value: ${(0,v.X)(e)}`);return t.name}parseValue(e){if("string"!=typeof e){let t=(0,v.X)(e);throw new m.__(`Enum "${this.name}" cannot represent non-string value: ${t}.`+eM(this,t))}let t=this.getValue(e);if(null==t)throw new m.__(`Value "${e}" does not exist in "${this.name}" enum.`+eM(this,e));return t.value}parseLiteral(e,t){if(e.kind!==x.h.ENUM){let t=(0,C.S)(e);throw new m.__(`Enum "${this.name}" cannot represent non-enum value: ${t}.`+eM(this,t),{nodes:e})}let n=this.getValue(e.value);if(null==n){let t=(0,C.S)(e);throw new m.__(`Value "${t}" does not exist in "${this.name}" enum.`+eM(this,t),{nodes:e})}return n.value}toConfig(){let e=I(this.getValues(),e=>e.name,e=>({description:e.description,value:e.value,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,values:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function eM(e,t){return b("the enum value",D(t,e.getValues().map(e=>e.name)))}class eV{constructor(e){var t;this.name=P(e.name),this.description=e.description,this.extensions=F(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._fields=e$.bind(void 0,e)}get[Symbol.toStringTag](){return"GraphQLInputObjectType"}getFields(){return"function"==typeof this._fields&&(this._fields=this._fields()),this._fields}toConfig(){let e=O(this.getFields(),e=>({description:e.description,type:e.type,defaultValue:e.defaultValue,deprecationReason:e.deprecationReason,extensions:e.extensions,astNode:e.astNode}));return{name:this.name,description:this.description,fields:e,extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes}}toString(){return this.name}toJSON(){return this.toString()}}function e$(e){let t=eI(e.fields);return eR(t)||(0,d.a)(!1,`${e.name} fields must be an object with field names as keys or a function which returns such an object.`),O(t,(t,n)=>("resolve"in t&&(0,d.a)(!1,`${e.name}.${n} field has a resolve property, but Input Types cannot define resolvers.`),{name:P(n),description:t.description,type:t.type,defaultValue:t.defaultValue,deprecationReason:t.deprecationReason,extensions:F(t.extensions),astNode:t.astNode}))}function eU(e){return et(e.type)&&void 0===e.defaultValue}function eQ(e,t){return e===t||!!(et(e)&&et(t)||Z(e)&&Z(t))&&eQ(e.ofType,t.ofType)}function eB(e,t,n){return t===n||(et(n)?!!et(t)&&eB(e,t.ofType,n.ofType):et(t)?eB(e,t.ofType,n):Z(n)?!!Z(t)&&eB(e,t.ofType,n.ofType):!Z(t)&&ef(n)&&(G(t)||B(t))&&e.isSubType(n,t))}function eq(e,t,n){return t===n||(ef(t)?ef(n)?e.getPossibleTypes(t).some(t=>e.isSubType(n,t)):e.isSubType(t,n):!!ef(n)&&e.isSubType(n,t))}var eG=n(9558);let eX=2147483647,eY=-2147483648,ez=new eO({name:"Int",description:"The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.",serialize(e){let t=e1(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isInteger(n))throw new m.__(`Int cannot represent non-integer value: ${(0,v.X)(t)}`);if(n>eX||n<eY)throw new m.__("Int cannot represent non 32-bit signed integer value: "+(0,v.X)(t));return n},parseValue(e){if("number"!=typeof e||!Number.isInteger(e))throw new m.__(`Int cannot represent non-integer value: ${(0,v.X)(e)}`);
1if(e>eX||e<eY)throw new m.__(`Int cannot represent non 32-bit signed integer value: ${e}`);return e},parseLiteral(e){if(e.kind!==x.h.INT)throw new m.__(`Int cannot represent non-integer value: ${(0,C.S)(e)}`,{nodes:e});let t=parseInt(e.value,10);if(t>eX||t<eY)throw new m.__(`Int cannot represent non 32-bit signed integer value: ${e.value}`,{nodes:e});return t}}),eJ=new eO({name:"Float",description:"The `Float` scalar type represents signed double-precision fractional values as specified by [IEEE 754](https://en.wikipedia.org/wiki/IEEE_floating_point).",serialize(e){let t=e1(e);if("boolean"==typeof t)return t?1:0;let n=t;if("string"==typeof t&&""!==t&&(n=Number(t)),"number"!=typeof n||!Number.isFinite(n))throw new m.__(`Float cannot represent non numeric value: ${(0,v.X)(t)}`);return n},parseValue(e){if("number"!=typeof e||!Number.isFinite(e))throw new m.__(`Float cannot represent non numeric value: ${(0,v.X)(e)}`);return e},parseLiteral(e){if(e.kind!==x.h.FLOAT&&e.kind!==x.h.INT)throw new m.__(`Float cannot represent non numeric value: ${(0,C.S)(e)}`,e);return parseFloat(e.value)}}),eW=new eO({name:"String",description:"The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.",serialize(e){let t=e1(e);if("string"==typeof t)return t;if("boolean"==typeof t)return t?"true":"false";if("number"==typeof t&&Number.isFinite(t))return t.toString();throw new m.__(`String cannot represent value: ${(0,v.X)(e)}`)},parseValue(e){if("string"!=typeof e)throw new m.__(`String cannot represent a non string value: ${(0,v.X)(e)}`);return e},parseLiteral(e){if(e.kind!==x.h.STRING)throw new m.__(`String cannot represent a non string value: ${(0,C.S)(e)}`,{nodes:e});return e.value}}),eH=new eO({name:"Boolean",description:"The `Boolean` scalar type represents `true` or `false`.",serialize(e){let t=e1(e);if("boolean"==typeof t)return t;if(Number.isFinite(t))return 0!==t;throw new m.__(`Boolean cannot represent a non boolean value: ${(0,v.X)(t)}`)},parseValue(e){if("boolean"!=typeof e)throw new m.__(`Boolean cannot represent a non boolean value: ${(0,v.X)(e)}`);return e},parseLiteral(e){if(e.kind!==x.h.BOOLEAN)throw new m.__(`Boolean cannot represent a non boolean value: ${(0,C.S)(e)}`,{nodes:e});return e.value}}),eK=new eO({name:"ID",description:'The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `"4"`) or integer (such as `4`) input value will be accepted as an ID.',serialize(e){let t=e1(e);if("string"==typeof t)return t;if(Number.isInteger(t))return String(t);throw new m.__(`ID cannot represent value: ${(0,v.X)(e)}`)},parseValue(e){if("string"==typeof e)return e;if("number"==typeof e&&Number.isInteger(e))return e.toString();throw new m.__(`ID cannot represent value: ${(0,v.X)(e)}`)},parseLiteral(e){if(e.kind!==x.h.STRING&&e.kind!==x.h.INT)throw new m.__("ID cannot represent a non-string and non-integer value: "+(0,C.S)(e),{nodes:e});return e.value}}),eZ=Object.freeze([eW,ez,eJ,eH,eK]);function e0(e){return eZ.some(({name:t})=>e.name===t)}function e1(e){if((0,w.y)(e)){if("function"==typeof e.valueOf){let t=e.valueOf();if(!(0,w.y)(t))return t}if("function"==typeof e.toJSON)return e.toJSON()}return e}function e2(e){return(0,E.n)(e,e6)}function e3(e){if(!e2(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL directive.`);return e}class e6{constructor(e){var t,n;this.name=P(e.name),this.description=e.description,this.locations=e.locations,this.isRepeatable=null!==(t=e.isRepeatable)&&void 0!==t&&t,this.extensions=F(e.extensions),this.astNode=e.astNode,Array.isArray(e.locations)||(0,d.a)(!1,`@${e.name} locations must be an Array.`);let r=null!==(n=e.args)&&void 0!==n?n:{};(0,w.y)(r)&&!Array.isArray(r)||(0,d.a)(!1,`@${e.name} args must be an object with argument names as keys.`),this.args=eD(r)}get[Symbol.toStringTag](){return"GraphQLDirective"}toConfig(){return{name:this.name,description:this.description,locations:this.locations,args:eF(this.args),isRepeatable:this.isRepeatable,extensions:this.extensions,astNode:this.astNode}}toString(){return"@"+this.name}toJSON(){return this.toString()}}let e8=new e6({name:"include",description:"Directs the executor to include this field or fragment only when the `if` argument is true.",locations:[eG.B.FIELD,eG.B.FRAGMENT_SPREAD,eG.B.INLINE_FRAGMENT],args:{if:{type:new eh(eH),description:"Included when true."}}}),e5=new e6({name:"skip",description:"Directs the executor to skip this field or fragment when the `if` argument is true.",locations:[eG.B.FIELD,eG.B.FRAGMENT_SPREAD,eG.B.INLINE_FRAGMENT],args:{if:{type:new eh(eH),description:"Skipped when true."}}}),e4="No longer supported",e9=new e6({name:"deprecated",description:"Marks an element of a GraphQL schema as no longer supported.",locations:[eG.B.FIELD_DEFINITION,eG.B.ARGUMENT_DEFINITION,eG.B.INPUT_FIELD_DEFINITION,eG.B.ENUM_VALUE],args:{reason:{type:eW,description:"Explains why this element was deprecated, usually also including a suggestion for how to access supported similar data. Formatted using the Markdown syntax, as specified by [CommonMark](https://commonmark.org/).",defaultValue:e4}}}),e7=new e6({name:"specifiedBy",description:"Exposes a URL that specifies the behavior of this scalar.",locations:[eG.B.SCALAR],args:{url:{type:new eh(eW),description:"The URL that specifies the behavior of this scalar."}}}),te=Object.freeze([e8,e5,e9,e7]);function tt(e){return te.some(({name:t})=>t===e.name)}var tn=n(19755);function tr(e){return"object"==typeof e&&"function"==typeof(null==e?void 0:e[Symbol.iterator])}function ti(e,t){if(et(t)){let n=ti(e,t.ofType);
1return(null==n?void 0:n.kind)===x.h.NULL?null:n}if(null===e)return{kind:x.h.NULL};if(void 0===e)return null;if(Z(t)){let n=t.ofType;if(tr(e)){let t=[];for(let r of e){let e=ti(r,n);null!=e&&t.push(e)}return{kind:x.h.LIST,values:t}}return ti(e,n)}if(H(t)){if(!(0,w.y)(e))return null;let n=[];for(let r of Object.values(t.getFields())){let t=ti(e[r.name],r.type);t&&n.push({kind:x.h.OBJECT_FIELD,name:{kind:x.h.NAME,value:r.name},value:t})}return{kind:x.h.OBJECT,fields:n}}if(es(t)){let n=t.serialize(e);if(null==n)return null;if("boolean"==typeof n)return{kind:x.h.BOOLEAN,value:n};if("number"==typeof n&&Number.isFinite(n)){let e=String(n);return to.test(e)?{kind:x.h.INT,value:e}:{kind:x.h.FLOAT,value:e}}if("string"==typeof n)return J(t)?{kind:x.h.ENUM,value:n}:t===eK&&to.test(n)?{kind:x.h.INT,value:n}:{kind:x.h.STRING,value:n};throw TypeError(`Cannot convert value to AST: ${(0,v.X)(n)}.`)}(0,tn.k)(!1,"Unexpected input type: "+(0,v.X)(t))}let to=/^-?(?:0|[1-9][0-9]*)$/,ta=new eS({name:"__Schema",description:"A GraphQL Schema defines the capabilities of a GraphQL server. It exposes all available types and directives on the server, as well as the entry points for query, mutation, and subscription operations.",fields:()=>({description:{type:eW,resolve:e=>e.description},types:{description:"A list of all types supported by this server.",type:new eh(new ed(new eh(tc))),resolve:e=>Object.values(e.getTypeMap())},queryType:{description:"The type that query operations will be rooted at.",type:new eh(tc),resolve:e=>e.getQueryType()},mutationType:{description:"If this server supports mutation, the type that mutation operations will be rooted at.",type:tc,resolve:e=>e.getMutationType()},subscriptionType:{description:"If this server support subscription, the type that subscription operations will be rooted at.",type:tc,resolve:e=>e.getSubscriptionType()},directives:{description:"A list of all directives supported by this server.",type:new eh(new ed(new eh(ts))),resolve:e=>e.getDirectives()}})}),ts=new eS({name:"__Directive",description:"A Directive provides a way to describe alternate runtime execution and type validation behavior in a GraphQL document.\n\nIn some cases, you need to provide options to alter GraphQL's execution behavior in ways field arguments will not suffice, such as conditionally including or skipping a field. Directives provide this by describing additional information to the executor.",fields:()=>({name:{type:new eh(eW),resolve:e=>e.name},description:{type:eW,resolve:e=>e.description},isRepeatable:{type:new eh(eH),resolve:e=>e.isRepeatable},locations:{type:new eh(new ed(new eh(tu))),resolve:e=>e.locations},args:{type:new eh(new ed(new eh(tf))),args:{includeDeprecated:{type:eH,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)}})}),tu=new eP({name:"__DirectiveLocation",description:"A Directive can be adjacent to many parts of the GraphQL language, a __DirectiveLocation describes one such possible adjacencies.",values:{QUERY:{value:eG.B.QUERY,description:"Location adjacent to a query operation."},MUTATION:{value:eG.B.MUTATION,description:"Location adjacent to a mutation operation."},SUBSCRIPTION:{value:eG.B.SUBSCRIPTION,description:"Location adjacent to a subscription operation."},FIELD:{value:eG.B.FIELD,description:"Location adjacent to a field."},FRAGMENT_DEFINITION:{value:eG.B.FRAGMENT_DEFINITION,description:"Location adjacent to a fragment definition."},FRAGMENT_SPREAD:{value:eG.B.FRAGMENT_SPREAD,description:"Location adjacent to a fragment spread."},INLINE_FRAGMENT:{value:eG.B.INLINE_FRAGMENT,description:"Location adjacent to an inline fragment."},VARIABLE_DEFINITION:{value:eG.B.VARIABLE_DEFINITION,description:"Location adjacent to a variable definition."},SCHEMA:{value:eG.B.SCHEMA,description:"Location adjacent to a schema definition."},SCALAR:{value:eG.B.SCALAR,description:"Location adjacent to a scalar definition."},OBJECT:{value:eG.B.OBJECT,description:"Location adjacent to an object type definition."},FIELD_DEFINITION:{value:eG.B.FIELD_DEFINITION,description:"Location adjacent to a field definition."},ARGUMENT_DEFINITION:{value:eG.B.ARGUMENT_DEFINITION,description:"Location adjacent to an argument definition."},INTERFACE:{value:eG.B.INTERFACE,description:"Location adjacent to an interface definition."},UNION:{value:eG.B.UNION,description:"Location adjacent to a union definition."},ENUM:{value:eG.B.ENUM,description:"Location adjacent to an enum definition."},ENUM_VALUE:{value:eG.B.ENUM_VALUE,description:"Location adjacent to an enum value definition."},INPUT_OBJECT:{value:eG.B.INPUT_OBJECT,description:"Location adjacent to an input object type definition."},INPUT_FIELD_DEFINITION:{value:eG.B.INPUT_FIELD_DEFINITION,description:"Location adjacent to an input object field definition."}}}),tc=new eS({name:"__Type",description:"The fundamental unit of any GraphQL Schema is the type. There are many kinds of types in GraphQL as represented by the `__TypeKind` enum.\n\nDepending on the kind of a type, certain fields describe information about that type. Scalar types provide no information beyond a name, description and optional `specifiedByURL`, while Enum types provide their values. Object and Interface types provide the fields they describe. Abstract types, Union and Interface, provide the Object types possible at runtime. List and NonNull types compose other types.",fields:()=>({kind:{type:new eh(td),resolve:e=>U(e)?l.SCALAR:B(e)?l.OBJECT:G(e)?l.INTERFACE:Y(e)?l.UNION:J(e)?l.ENUM:H(e)?l.INPUT_OBJECT:Z(e)?l.LIST:et(e)?l.NON_NULL:void(0,tn.k)(!1,`Unexpected type: "${(0,v.X)(e)}".`)},name:{type:eW,resolve:e=>"name"in e?e.name:void 0},description:{type:eW,resolve:e=>"description"in e?e.description:void 0},specifiedByURL:{type:eW,resolve:e=>"specifiedByURL"in e?e.specifiedByURL:void 0},fields:{type:new ed(new eh(tl)),args:{includeDeprecated:{type:eH,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(B(e)||G(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},interfaces:{type:new ed(new eh(tc)),resolve(e){if(B(e)||G(e))return e.getInterfaces()}},possibleTypes:{type:new ed(new eh(tc)),resolve(e,t,n,{schema:r}){if(ef(e))return r.getPossibleTypes(e)}},enumValues:{type:new ed(new eh(tp)),args:{includeDeprecated:{type:eH,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(J(e)){let n=e.getValues();return t?n:n.filter(e=>null==e.deprecationReason)}}},inputFields:{type:new ed(new eh(tf)),args:{includeDeprecated:{type:eH,defaultValue:!1}},resolve(e,{includeDeprecated:t}){if(H(e)){let n=Object.values(e.getFields());return t?n:n.filter(e=>null==e.deprecationReason)}}},ofType:{type:tc,resolve:e=>
1"ofType"in e?e.ofType:void 0}})}),tl=new eS({name:"__Field",description:"Object and Interface types are described by a list of Fields, each of which has a name, potentially a list of arguments, and a return type.",fields:()=>({name:{type:new eh(eW),resolve:e=>e.name},description:{type:eW,resolve:e=>e.description},args:{type:new eh(new ed(new eh(tf))),args:{includeDeprecated:{type:eH,defaultValue:!1}},resolve:(e,{includeDeprecated:t})=>t?e.args:e.args.filter(e=>null==e.deprecationReason)},type:{type:new eh(tc),resolve:e=>e.type},isDeprecated:{type:new eh(eH),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:eW,resolve:e=>e.deprecationReason}})}),tf=new eS({name:"__InputValue",description:"Arguments provided to Fields or Directives and the input fields of an InputObject are represented as Input Values which describe their type and optionally a default value.",fields:()=>({name:{type:new eh(eW),resolve:e=>e.name},description:{type:eW,resolve:e=>e.description},type:{type:new eh(tc),resolve:e=>e.type},defaultValue:{type:eW,description:"A GraphQL-formatted string representing the default value for this input value.",resolve(e){let{type:t,defaultValue:n}=e,r=ti(n,t);return r?(0,C.S)(r):null}},isDeprecated:{type:new eh(eH),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:eW,resolve:e=>e.deprecationReason}})}),tp=new eS({name:"__EnumValue",description:"One possible value for a given Enum. Enum values are unique values, not a placeholder for a string or numeric value. However an Enum value is returned in a JSON response as a string.",fields:()=>({name:{type:new eh(eW),resolve:e=>e.name},description:{type:eW,resolve:e=>e.description},isDeprecated:{type:new eh(eH),resolve:e=>null!=e.deprecationReason},deprecationReason:{type:eW,resolve:e=>e.deprecationReason}})});(a=l||(l={})).SCALAR="SCALAR",a.OBJECT="OBJECT",a.INTERFACE="INTERFACE",a.UNION="UNION",a.ENUM="ENUM",a.INPUT_OBJECT="INPUT_OBJECT",a.LIST="LIST",a.NON_NULL="NON_NULL";let td=new eP({name:"__TypeKind",description:"An enum describing what kind of type a given `__Type` is.",values:{SCALAR:{value:l.SCALAR,description:"Indicates this type is a scalar."},OBJECT:{value:l.OBJECT,description:"Indicates this type is an object. `fields` and `interfaces` are valid fields."},INTERFACE:{value:l.INTERFACE,description:"Indicates this type is an interface. `fields`, `interfaces`, and `possibleTypes` are valid fields."},UNION:{value:l.UNION,description:"Indicates this type is a union. `possibleTypes` is a valid field."},ENUM:{value:l.ENUM,description:"Indicates this type is an enum. `enumValues` is a valid field."},INPUT_OBJECT:{value:l.INPUT_OBJECT,description:"Indicates this type is an input object. `inputFields` is a valid field."},LIST:{value:l.LIST,description:"Indicates this type is a list. `ofType` is a valid field."},NON_NULL:{value:l.NON_NULL,description:"Indicates this type is a non-null. `ofType` is a valid field."}}}),th={name:"__schema",type:new eh(ta),description:"Access the current type schema of this server.",args:[],resolve:(e,t,n,{schema:r})=>r,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},ty={name:"__type",type:tc,description:"Request the type information of a single type.",args:[{name:"name",description:void 0,type:new eh(eW),defaultValue:void 0,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0}],resolve:(e,{name:t},n,{schema:r})=>r.getType(t),deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tv={name:"__typename",type:new eh(eW),description:"The name of the current Object type at runtime.",args:[],resolve:(e,t,n,{parentType:r})=>r.name,deprecationReason:void 0,extensions:Object.create(null),astNode:void 0},tm=Object.freeze([ta,ts,tu,tc,tl,tf,tp,td]);function tg(e){return tm.some(({name:t})=>e.name===t)}function tb(e){return(0,E.n)(e,tE)}function t_(e){if(!tb(e))throw Error(`Expected ${(0,v.X)(e)} to be a GraphQL schema.`);return e}class tE{constructor(e){var t,n;this.__validationErrors=!0===e.assumeValid?[]:void 0,(0,w.y)(e)||(0,d.a)(!1,"Must provide configuration object."),!e.types||Array.isArray(e.types)||(0,d.a)(!1,`"types" must be Array if provided but got: ${(0,v.X)(e.types)}
1.`),!e.directives||Array.isArray(e.directives)||(0,d.a)(!1,`"directives" must be Array if provided but got: ${(0,v.X)(e.directives)}.`),this.description=e.description,this.extensions=F(e.extensions),this.astNode=e.astNode,this.extensionASTNodes=null!==(t=e.extensionASTNodes)&&void 0!==t?t:[],this._queryType=e.query,this._mutationType=e.mutation,this._subscriptionType=e.subscription,this._directives=null!==(n=e.directives)&&void 0!==n?n:te;let r=new Set(e.types);if(null!=e.types)for(let t of e.types)r.delete(t),tw(t,r);for(let e of(null!=this._queryType&&tw(this._queryType,r),null!=this._mutationType&&tw(this._mutationType,r),null!=this._subscriptionType&&tw(this._subscriptionType,r),this._directives))if(e2(e))for(let t of e.args)tw(t.type,r);for(let e of(tw(ta,r),this._typeMap=Object.create(null),this._subTypeMap=Object.create(null),this._implementationsMap=Object.create(null),r)){if(null==e)continue;let t=e.name;if(t||(0,d.a)(!1,"One of the provided types for building the Schema is missing a name."),void 0!==this._typeMap[t])throw Error(`Schema must contain uniquely named types but contains multiple types named "${t}".`);if(this._typeMap[t]=e,G(e)){for(let t of e.getInterfaces())if(G(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.interfaces.push(e)}}else if(B(e)){for(let t of e.getInterfaces())if(G(t)){let n=this._implementationsMap[t.name];void 0===n&&(n=this._implementationsMap[t.name]={objects:[],interfaces:[]}),n.objects.push(e)}}}}get[Symbol.toStringTag](){return"GraphQLSchema"}getQueryType(){return this._queryType}getMutationType(){return this._mutationType}getSubscriptionType(){return this._subscriptionType}getRootType(e){switch(e){case g.ku.QUERY:return this.getQueryType();case g.ku.MUTATION:return this.getMutationType();case g.ku.SUBSCRIPTION:return this.getSubscriptionType()}}getTypeMap(){return this._typeMap}getType(e){return this.getTypeMap()[e]}getPossibleTypes(e){return Y(e)?e.getTypes():this.getImplementations(e).objects}getImplementations(e){let t=this._implementationsMap[e.name];return null!=t?t:{objects:[],interfaces:[]}}isSubType(e,t){let n=this._subTypeMap[e.name];if(void 0===n){if(n=Object.create(null),Y(e))for(let t of e.getTypes())n[t.name]=!0;else{let t=this.getImplementations(e);for(let e of t.objects)n[e.name]=!0;for(let e of t.interfaces)n[e.name]=!0}this._subTypeMap[e.name]=n}return void 0!==n[t.name]}getDirectives(){return this._directives}getDirective(e){return this.getDirectives().find(t=>t.name===e)}toConfig(){return{description:this.description,query:this.getQueryType(),mutation:this.getMutationType(),subscription:this.getSubscriptionType(),types:Object.values(this.getTypeMap()),directives:this.getDirectives(),extensions:this.extensions,astNode:this.astNode,extensionASTNodes:this.extensionASTNodes,assumeValid:void 0!==this.__validationErrors}}}function tw(e,t){let n=ew(e);if(!t.has(n)){if(t.add(n),Y(n))for(let e of n.getTypes())tw(e,t);else if(B(n)||G(n)){for(let e of n.getInterfaces())tw(e,t);for(let e of Object.values(n.getFields()))for(let n of(tw(e.type,t),e.args))tw(n.type,t)}else if(H(n))for(let e of Object.values(n.getFields()))tw(e.type,t)}return t}function tT(e){if(t_(e),e.__validationErrors)return e.__validationErrors;let t=new tO(e);(function(e){var t,n,r;let i=e.schema,o=i.getQueryType();o?B(o)||e.reportError(`Query root type must be Object type, it cannot be ${(0,v.X)(o)}.`,null!==(t=tS(i,g.ku.QUERY))&&void 0!==t?t:o.astNode):e.reportError("Query root type must be provided.",i.astNode);let a=i.getMutationType();a&&!B(a)&&e.reportError(`Mutation root type must be Object type if provided, it cannot be ${(0,v.X)(a)}.`,null!==(n=tS(i,g.ku.MUTATION))&&void 0!==n?n:a.astNode);let s=i.getSubscriptionType();s&&!B(s)&&e.reportError(`Subscription root type must be Object type if provided, it cannot be ${(0,v.X)(s)}.`,null!==(r=tS(i,g.ku.SUBSCRIPTION))&&void 0!==r?r:s.astNode)})(t),function(e){for(let n of e.schema.getDirectives()){if(!e2(n)){e.reportError(`Expected directive but got: ${(0,v.X)(n)}.`,null==n?void 0:n.astNode);continue}
1for(let r of(tN(e,n),n.args))if(tN(e,r),er(r.type)||e.reportError(`The type of @${n.name}(${r.name}:) must be Input Type but got: ${(0,v.X)(r.type)}.`,r.astNode),ex(r)&&null!=r.deprecationReason){var t;e.reportError(`Required argument @${n.name}(${r.name}:) cannot be deprecated.`,[tF(r.astNode),null===(t=r.astNode)||void 0===t?void 0:t.type])}}}(t),function(e){let t=function(e){let t=Object.create(null),n=[],r=Object.create(null);return function i(o){if(!t[o.name]){for(let a of(t[o.name]=!0,r[o.name]=n.length,Object.values(o.getFields())))if(et(a.type)&&H(a.type.ofType)){let t=a.type.ofType,o=r[t.name];if(n.push(a),void 0===o)i(t);else{let r=n.slice(o),i=r.map(e=>e.name).join(".");e.reportError(`Cannot reference Input Object "${t.name}" within itself through a series of non-null fields: "${i}".`,r.map(e=>e.astNode))}n.pop()}r[o.name]=void 0}}}(e);for(let n of Object.values(e.schema.getTypeMap())){if(!e_(n)){e.reportError(`Expected GraphQL named type but got: ${(0,v.X)(n)}.`,n.astNode);continue}tg(n)||tN(e,n),B(n)?(tk(e,n),tD(e,n)):G(n)?(tk(e,n),tD(e,n)):Y(n)?function(e,t){let n=t.getTypes();0===n.length&&e.reportError(`Union type ${t.name} must define one or more member types.`,[t.astNode,...t.extensionASTNodes]);let r=Object.create(null);for(let i of n){if(r[i.name]){e.reportError(`Union type ${t.name} can only include type ${i.name} once.`,tA(t,i.name));continue}r[i.name]=!0,B(i)||e.reportError(`Union type ${t.name} can only include Object types, it cannot include ${(0,v.X)(i)}.`,tA(t,String(i)))}}(e,n):J(n)?function(e,t){let n=t.getValues();for(let r of(0===n.length&&e.reportError(`Enum type ${t.name} must define one or more values.`,[t.astNode,...t.extensionASTNodes]),n))tN(e,r)}(e,n):H(n)&&(function(e,t){let n=Object.values(t.getFields());for(let o of(0===n.length&&e.reportError(`Input Object type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var r,i;tN(e,o),er(o.type)||e.reportError(`The type of ${t.name}.${o.name} must be Input Type but got: ${(0,v.X)(o.type)}.`,null===(r=o.astNode)||void 0===r?void 0:r.type),eU(o)&&null!=o.deprecationReason&&e.reportError(`Required input field ${t.name}.${o.name} cannot be deprecated.`,[tF(o.astNode),null===(i=o.astNode)||void 0===i?void 0:i.type])}}(e,n),t(n))}}(t);let n=t.getErrors();return e.__validationErrors=n,n}function tI(e){let t=tT(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}class tO{constructor(e){this._errors=[],this.schema=e}reportError(e,t){let n=Array.isArray(t)?t.filter(Boolean):t;this._errors.push(new m.__(e,{nodes:n}))}getErrors(){return this._errors}}function tS(e,t){var n;return null===(n=[e.astNode,...e.extensionASTNodes].flatMap(e=>{var t;return null!==(t=null==e?void 0:e.operationTypes)&&void 0!==t?t:[]}).find(e=>e.operation===t))||void 0===n?void 0:n.type}function tN(e,t){t.name.startsWith("__")&&e.reportError(`Name "${t.name}" must not begin with "__", which is reserved by GraphQL introspection.`,t.astNode)}function tk(e,t){let n=Object.values(t.getFields());for(let a of(0===n.length&&e.reportError(`Type ${t.name} must define one or more fields.`,[t.astNode,...t.extensionASTNodes]),n)){var r,i,o;for(let n of(tN(e,a),eo(a.type)||e.reportError(`The type of ${t.name}.${a.name} must be Output Type but got: ${(0,v.X)(a.type)}.`,null===(r=a.astNode)||void 0===r?void 0:r.type),a.args)){let r=n.name;tN(e,n),er(n.type)||e.reportError(`The type of ${t.name}.${a.name}(${r}:) must be Input Type but got: ${(0,v.X)(n.type)}.`,null===(i=n.astNode)||void 0===i?void 0:i.type),ex(n)&&null!=n.deprecationReason&&e.reportError(`Required argument ${t.name}.${a.name}(${r}:) cannot be deprecated.`,[tF(n.astNode),null===(o=n.astNode)||void 0===o?void 0:o.type])}}}function tD(e,t){let n=Object.create(null);for(let r of t.getInterfaces()){if(!G(r)){e.reportError(`Type ${(0,v.X)(t)} must only implement Interface types, it cannot implement ${(0,v.X)(r)}.`,tR(t,r));continue}if(t===r){e.reportError(`Type ${t.name} cannot implement itself because it would create a circular reference.`,tR(t,r));continue}if(n[r.name]){e.reportError(`Type ${t.name} can only implement ${r.name} once.`,tR(t,r));continue}n[r.name]=!0,function(e,t,n){let r=t.getInterfaces();for(let i of n.getInterfaces())r.includes(i)||e.reportError(i===t?`Type ${t.name} cannot implement ${n.name} because it would create a circular reference.`:`Type ${t.name} must implement ${i.name} because it is implemented by ${n.name}.`,[...tR(n,i),...tR(t,n)])}(e,t,r),function(e,t,n){let r=t.getFields();for(let u of Object.values(n.getFields())){var i,o,a,s;let c=u.name,l=r[c];if(!l){e.reportError(`Interface field ${n.name}.${c} expected but ${t.name} does not provide it.`,[u.astNode,t.astNode,...t.extensionASTNodes]);continue}for(let r of(eB(e.schema,l.type,u.type)||e.reportError(`Interface field ${n.name}.${c} expects type ${(0,v.X)(u.type)} but ${t.name}.${c} is type ${(0,v.X)(l.type)}.`,[null===(i=u.astNode)||void 0===i?void 0:i.type,null===(o=l.astNode)||void 0===o?void 0:o.type]),u.args)){let i=r.name,o=l.args.find(e=>e.name===i);if(!o){e.reportError(`Interface field argument ${n.name}.${c}(${i}:) expected but ${t.name}.${c} does not provide it.`,[r.astNode,l.astNode]);continue}eQ(r.type,o.type)||e.reportError(`Interface field argument ${n.name}.${c}(${i}:) expects type ${(0,v.X)(r.type)} but ${t.name}.${c}(${i}:) is type ${(0,v.X)(o.type)}.`,[null===(a=r.astNode)||void 0===a?void 0:a.type,null===(s=o.astNode)||void 0===s?void 0:s.type])}for(let r of l.args){let i=r.name;!u.args.find(e=>e.name===i)&&ex(r)&&e.reportError(`Object field ${t.name}.${c} includes required argument ${i} that is missing from the Interface field ${n.name}.${c}.`,[r.astNode,u.astNode])}}}(e,t,r)}}function tR(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!==(t=e.interfaces)&&void 0!==t?t:[]}).filter(e=>e.name.value===t.name)}function tA(e,t){let{astNode:n,extensionASTNodes:r}=e;return(null!=n?[n,...r]:r).flatMap(e=>{var t;return null!==(t=e.types)&&void 0!==t?t:[]}).filter(e=>e.name.value===t)}function tF(e){var t;return null==e?void 0:null===(t=e.directives)||void 0===t?void 0:t.find(e=>e.name.value===e9.name)}var tx=n(6369);function tC(e,t){switch(t.kind){case x.h.LIST_TYPE:{let n=tC(e,t.type);return n&&new ed(n)}case x.h.NON_NULL_TYPE:{let n=tC(e,t.type);return n&&new eh(n)}case x.h.NAMED_TYPE:return e.getType(t.name.value)}}class tj{constructor(e,t,n){this._schema=e,this._typeStack=[],this._parentTypeStack=[],this._inputTypeStack=[],this._fieldDefStack=[],this._defaultValueStack=[],this._directive=null,this._argument=null,this._enumValue=null,this._getFieldDef=null!=n?n:tL,t&&(er(t)&&this._inputTypeStack.push(t),ec(t)&&this._parentTypeStack.push(t),eo(t)&&this._typeStack.push(t))}get[Symbol.toStringTag](){return"TypeInfo"}
1getType(){if(this._typeStack.length>0)return this._typeStack[this._typeStack.length-1]}getParentType(){if(this._parentTypeStack.length>0)return this._parentTypeStack[this._parentTypeStack.length-1]}getInputType(){if(this._inputTypeStack.length>0)return this._inputTypeStack[this._inputTypeStack.length-1]}getParentInputType(){if(this._inputTypeStack.length>1)return this._inputTypeStack[this._inputTypeStack.length-2]}getFieldDef(){if(this._fieldDefStack.length>0)return this._fieldDefStack[this._fieldDefStack.length-1]}getDefaultValue(){if(this._defaultValueStack.length>0)return this._defaultValueStack[this._defaultValueStack.length-1]}getDirective(){return this._directive}getArgument(){return this._argument}getEnumValue(){return this._enumValue}enter(e){let t=this._schema;switch(e.kind){case x.h.SELECTION_SET:{let e=ew(this.getType());this._parentTypeStack.push(ec(e)?e:void 0);break}case x.h.FIELD:{let n,r;let i=this.getParentType();i&&(n=this._getFieldDef(t,i,e))&&(r=n.type),this._fieldDefStack.push(n),this._typeStack.push(eo(r)?r:void 0);break}case x.h.DIRECTIVE:this._directive=t.getDirective(e.name.value);break;case x.h.OPERATION_DEFINITION:{let n=t.getRootType(e.operation);this._typeStack.push(B(n)?n:void 0);break}case x.h.INLINE_FRAGMENT:case x.h.FRAGMENT_DEFINITION:{let n=e.typeCondition,r=n?tC(t,n):ew(this.getType());this._typeStack.push(eo(r)?r:void 0);break}case x.h.VARIABLE_DEFINITION:{let n=tC(t,e.type);this._inputTypeStack.push(er(n)?n:void 0);break}case x.h.ARGUMENT:{var n;let t,r;let i=null!==(n=this.getDirective())&&void 0!==n?n:this.getFieldDef();i&&(t=i.args.find(t=>t.name===e.name.value))&&(r=t.type),this._argument=t,this._defaultValueStack.push(t?t.defaultValue:void 0),this._inputTypeStack.push(er(r)?r:void 0);break}case x.h.LIST:{let e=eb(this.getInputType()),t=Z(e)?e.ofType:e;this._defaultValueStack.push(void 0),this._inputTypeStack.push(er(t)?t:void 0);break}case x.h.OBJECT_FIELD:{let t,n;let r=ew(this.getInputType());H(r)&&(n=r.getFields()[e.name.value])&&(t=n.type),this._defaultValueStack.push(n?n.defaultValue:void 0),this._inputTypeStack.push(er(t)?t:void 0);break}case x.h.ENUM:{let t;let n=ew(this.getInputType());J(n)&&(t=n.getValue(e.value)),this._enumValue=t}}}leave(e){switch(e.kind){case x.h.SELECTION_SET:this._parentTypeStack.pop();break;case x.h.FIELD:this._fieldDefStack.pop(),this._typeStack.pop();break;case x.h.DIRECTIVE:this._directive=null;break;case x.h.OPERATION_DEFINITION:case x.h.INLINE_FRAGMENT:case x.h.FRAGMENT_DEFINITION:this._typeStack.pop();break;case x.h.VARIABLE_DEFINITION:this._inputTypeStack.pop();break;case x.h.ARGUMENT:this._argument=null,this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case x.h.LIST:case x.h.OBJECT_FIELD:this._defaultValueStack.pop(),this._inputTypeStack.pop();break;case x.h.ENUM:this._enumValue=null}}}function tL(e,t,n){let r=n.name.value;return r===th.name&&e.getQueryType()===t?th:r===ty.name&&e.getQueryType()===t?ty:r===tv.name&&ec(t)?tv:B(t)||G(t)?t.getFields()[r]:void 0}function tP(e,t){return{enter(...n){let r=n[0];e.enter(r);let i=(0,tx.Eu)(t,r.kind).enter;if(i){let o=i.apply(t,n);return void 0!==o&&(e.leave(r),(0,g.UG)(o)&&e.enter(o)),o}},leave(...n){let r;let i=n[0],o=(0,tx.Eu)(t,i.kind).leave;return o&&(r=o.apply(t,n)),e.leave(i),r}}}var tM=n(44698);function tV(e){return{Document(t){for(let n of t.definitions)if(!(0,tM.Wk)(n)){let t=n.kind===x.h.SCHEMA_DEFINITION||n.kind===x.h.SCHEMA_EXTENSION?"schema":'"'+n.name.value+'"';e.reportError(new m.__(`The ${t} definition is not executable.`,{nodes:n}))}return!1}}}function t$(e){return{Field(t){let n=e.getParentType();if(n&&!e.getFieldDef()){let r=e.getSchema(),i=t.name.value,o=b("to use an inline fragment on",function(e,t,n){if(!ef(t))return[];let r=new Set,i=Object.create(null);for(let a of e.getPossibleTypes(t))if(a.getFields()[n])for(let e of(r.add(a),i[a.name]=1,a.getInterfaces())){var o;e.getFields()[n]&&(r.add(e),i[e.name]=(null!==(o=i[e.name])&&void 0!==o?o:0)+1)}return[...r].sort((t,n)=>{let r=i[n.name]-i[t.name];return 0!==r?r:G(t)&&e.isSubType(t,n)?-1:G(n)&&e.isSubType(n,t)?1:S(t.name,n.name)}).map(e=>e.name)}
1(r,n,i));""===o&&(o=b(B(n)||G(n)?D(i,Object.keys(n.getFields())):[])),e.reportError(new m.__(`Cannot query field "${i}" on type "${n.name}".`+o,{nodes:t}))}}}}function tU(e){return{InlineFragment(t){let n=t.typeCondition;if(n){let t=tC(e.getSchema(),n);if(t&&!ec(t)){let t=(0,C.S)(n);e.reportError(new m.__(`Fragment cannot condition on non composite type "${t}".`,{nodes:n}))}}},FragmentDefinition(t){let n=tC(e.getSchema(),t.typeCondition);if(n&&!ec(n)){let n=(0,C.S)(t.typeCondition);e.reportError(new m.__(`Fragment "${t.name.value}" cannot condition on non composite type "${n}".`,{nodes:t.typeCondition}))}}}}function tQ(e){return{...tB(e),Argument(t){let n=e.getArgument(),r=e.getFieldDef(),i=e.getParentType();if(!n&&r&&i){let n=t.name.value,o=D(n,r.args.map(e=>e.name));e.reportError(new m.__(`Unknown argument "${n}" on field "${i.name}.${r.name}".`+b(o),{nodes:t}))}}}}function tB(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():te)t[e.name]=e.args.map(e=>e.name);for(let n of e.getDocument().definitions)if(n.kind===x.h.DIRECTIVE_DEFINITION){var r;let e=null!==(r=n.arguments)&&void 0!==r?r:[];t[n.name.value]=e.map(e=>e.name.value)}return{Directive(n){let r=n.name.value,i=t[r];if(n.arguments&&i)for(let t of n.arguments){let n=t.name.value;if(!i.includes(n)){let o=D(n,i);e.reportError(new m.__(`Unknown argument "${n}" on directive "@${r}".`+b(o),{nodes:t}))}}return!1}}}function tq(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():te)t[e.name]=e.locations;for(let n of e.getDocument().definitions)n.kind===x.h.DIRECTIVE_DEFINITION&&(t[n.name.value]=n.locations.map(e=>e.value));return{Directive(n,r,i,o,a){let s=n.name.value,u=t[s];if(!u){e.reportError(new m.__(`Unknown directive "@${s}".`,{nodes:n}));return}let c=function(e){let t=e[e.length-1];switch("kind"in t||(0,tn.k)(!1),t.kind){case x.h.OPERATION_DEFINITION:return function(e){switch(e){case g.ku.QUERY:return eG.B.QUERY;case g.ku.MUTATION:return eG.B.MUTATION;case g.ku.SUBSCRIPTION:return eG.B.SUBSCRIPTION}}(t.operation);case x.h.FIELD:return eG.B.FIELD;case x.h.FRAGMENT_SPREAD:return eG.B.FRAGMENT_SPREAD;case x.h.INLINE_FRAGMENT:return eG.B.INLINE_FRAGMENT;case x.h.FRAGMENT_DEFINITION:return eG.B.FRAGMENT_DEFINITION;case x.h.VARIABLE_DEFINITION:return eG.B.VARIABLE_DEFINITION;case x.h.SCHEMA_DEFINITION:case x.h.SCHEMA_EXTENSION:return eG.B.SCHEMA;case x.h.SCALAR_TYPE_DEFINITION:case x.h.SCALAR_TYPE_EXTENSION:return eG.B.SCALAR;case x.h.OBJECT_TYPE_DEFINITION:case x.h.OBJECT_TYPE_EXTENSION:return eG.B.OBJECT;case x.h.FIELD_DEFINITION:return eG.B.FIELD_DEFINITION;case x.h.INTERFACE_TYPE_DEFINITION:case x.h.INTERFACE_TYPE_EXTENSION:return eG.B.INTERFACE;case x.h.UNION_TYPE_DEFINITION:case x.h.UNION_TYPE_EXTENSION:return eG.B.UNION;case x.h.ENUM_TYPE_DEFINITION:case x.h.ENUM_TYPE_EXTENSION:return eG.B.ENUM;case x.h.ENUM_VALUE_DEFINITION:return eG.B.ENUM_VALUE;case x.h.INPUT_OBJECT_TYPE_DEFINITION:case x.h.INPUT_OBJECT_TYPE_EXTENSION:return eG.B.INPUT_OBJECT;case x.h.INPUT_VALUE_DEFINITION:{let t=e[e.length-3];return"kind"in t||(0,tn.k)(!1),t.kind===x.h.INPUT_OBJECT_TYPE_DEFINITION?eG.B.INPUT_FIELD_DEFINITION:eG.B.ARGUMENT_DEFINITION}default:(0,tn.k)(!1,"Unexpected kind: "+(0,v.X)(t.kind))}}(a);c&&!u.includes(c)&&e.reportError(new m.__(`Directive "@${s}" may not be used on ${c}.`,{nodes:n}))}}}function tG(e){return{FragmentSpread(t){let n=t.name.value;e.getFragment(n)||e.reportError(new m.__(`Unknown fragment "${n}".`,{nodes:t.name}))}}}function tX(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);for(let t of e.getDocument().definitions)(0,tM.zT)(t)&&(r[t.name.value]=!0);let i=[...Object.keys(n),...Object.keys(r)];return{NamedType(t,o,a,s,u){let c=t.name.value;if(!n[c]&&!r[c]){var l,f;let n=null!==(l=u[2])&&void 0!==l?l:a,r=null!=n&&"kind"in(f=n)&&((0,tM.G4)(f)||(0,tM.aU)(f));if(r&&tY.includes(c))return;let o=D(c,r?tY.concat(i):i);e.reportError(new m.__(`Unknown type "${c}".`+b(o),{nodes:t}))}}}}let tY=[...eZ,...tm].map(e=>e.name);function tz(e){let t=0;return{Document(e){t=e.definitions.filter(e=>e.kind===x.h.OPERATION_DEFINITION).length},OperationDefinition(n){!n.name&&t>1&&e.reportError(new m.__("This anonymous operation must be the only defined operation.",{nodes:n}))}}}function tJ(e){var t,n,r;let i=e.getSchema(),o=null!==(t=null!==(n=null!==(r=null==i?void 0:i.astNode)&&void 0!==r?r:null==i?void 0:i.getQueryType())&&void 0!==n?n:null==i?void 0:i.getMutationType())&&void 0!==t?t:null==i?void 0:i.getSubscriptionType(),a=0;return{SchemaDefinition(t){if(o){e.reportError(new m.__("Cannot define a new schema within a schema extension.",{nodes:t}));return}a>0&&e.reportError(new m.__("Must provide only one schema definition.",{nodes:t})),++a}}}function tW(e){let t=Object.create(null),n=[],r=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition:i=>((function i(o){if(t[o.name.value])return;let a=o.name.value;t[a]=!0;let s=e.getFragmentSpreads(o.selectionSet);if(0!==s.length){for(let t of(r[a]=n.length,s)){let o=t.name.value,a=r[o];if(n.push(t),void 0===a){let t=e.getFragment(o);t&&i(t)}else{let t=n.slice(a),r=t.slice(0,-1).map(e=>'"'+e.name.value+'"').join(", ");e.reportError(new m.__(`Cannot spread fragment "${o}" within itself`+(""!==r?` via ${r}.`:"."),{nodes:t}))}n.pop()}r[a]=void 0}})(i),!1)}}function tH(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:r}of e.getRecursiveVariableUsages(n)){let i=r.name.value;!0!==t[i]&&e.reportError(new m.__(n.name?`Variable "$${i}" is not defined by operation "${n.name.value}".`:`Variable "$${i}" is not defined.`,{nodes:[r,n]}))}}},VariableDefinition(e){t[e.variable.name.value]=!0}}}function tK(e){let t=[],n=[];return{OperationDefinition:e=>(t.push(e),!1),FragmentDefinition:e=>(n.push(e),!1),Document:{leave(){let r=Object.create(null);for(let n of t)for(let t of e.getRecursivelyReferencedFragments(n))r[t.name.value]=!0;for(let t of n){let n=t.name.value;!0!==r[n]&&e.reportError(new m.__(`Fragment "${n}" is never used.`,{nodes:t}))}}}}}function tZ(e){let t=[];return{OperationDefinition:{enter(){t=[]},leave(n){let r=Object.create(null);for(let{node:t}of e.getRecursiveVariableUsages(n))r[t.name.value]=!0;for(let i of t){let t=i.variable.name.value;!0!==r[t]&&e.reportError(new m.__(n.name?`Variable "$${t}" is never used in operation "${n.name.value}".`:`Variable "$${t}" is never used.`,{nodes:i}))}}},VariableDefinition(e){t.push(e)}}}function t0(e){switch(e.kind){case x.h.OBJECT:return{...e,fields:e.fields.map(e=>({...e,value:t0(e.value)})).sort((e,t)=>
1S(e.name.value,t.name.value))};case x.h.LIST:return{...e,values:e.values.map(t0)};case x.h.INT:case x.h.FLOAT:case x.h.STRING:case x.h.BOOLEAN:case x.h.NULL:case x.h.ENUM:case x.h.VARIABLE:return e}}function t1(e){let t=new t9,n=new Map;return{SelectionSet(r){for(let[[i,o],a,s]of function(e,t,n,r,i){let o=[],[a,s]=t5(e,t,r,i);if(function(e,t,n,r,i){for(let[o,a]of Object.entries(i))if(a.length>1)for(let i=0;i<a.length;i++)for(let s=i+1;s<a.length;s++){let u=t8(e,n,r,!1,o,a[i],a[s]);u&&t.push(u)}}(e,o,t,n,a),0!==s.length)for(let r=0;r<s.length;r++){t2(e,o,t,n,!1,a,s[r]);for(let i=r+1;i<s.length;i++)t3(e,o,t,n,!1,s[r],s[i])}return o}(e,n,t,e.getParentType(),r)){let t=function e(t){return Array.isArray(t)?t.map(([t,n])=>`subfields "${t}" conflict because `+e(n)).join(" and "):t}(o);e.reportError(new m.__(`Fields "${i}" conflict because ${t}. Use different aliases on the fields to fetch both if this was intentional.`,{nodes:a.concat(s)}))}}}}function t2(e,t,n,r,i,o,a){let s=e.getFragment(a);if(!s)return;let[u,c]=t4(e,n,s);if(o!==u)for(let s of(t6(e,t,n,r,i,o,u),c))r.has(s,a,i)||(r.add(s,a,i),t2(e,t,n,r,i,o,s))}function t3(e,t,n,r,i,o,a){if(o===a||r.has(o,a,i))return;r.add(o,a,i);let s=e.getFragment(o),u=e.getFragment(a);if(!s||!u)return;let[c,l]=t4(e,n,s),[f,p]=t4(e,n,u);for(let a of(t6(e,t,n,r,i,c,f),p))t3(e,t,n,r,i,o,a);for(let o of l)t3(e,t,n,r,i,o,a)}function t6(e,t,n,r,i,o,a){for(let[s,u]of Object.entries(o)){let o=a[s];if(o)for(let a of u)for(let u of o){let o=t8(e,n,r,i,s,a,u);o&&t.push(o)}}}function t8(e,t,n,r,i,o,a){let[s,u,c]=o,[l,f,p]=a,d=r||s!==l&&B(s)&&B(l);if(!d){let e=u.name.value,t=f.name.value;if(e!==t)return[[i,`"${e}" and "${t}" are different fields`],[u],[f]];if(!function(e,t){let n=e.arguments,r=t.arguments;if(void 0===n||0===n.length)return void 0===r||0===r.length;if(void 0===r||0===r.length||n.length!==r.length)return!1;let i=new Map(r.map(({name:e,value:t})=>[e.value,t]));return n.every(e=>{var t,n;let r=e.value,o=i.get(e.name.value);return void 0!==o&&(t=r,(0,C.S)(t0(t))===(n=o,(0,C.S)(t0(n))))})}(u,f))return[[i,"they have differing arguments"],[u],[f]]}let h=null==c?void 0:c.type,y=null==p?void 0:p.type;if(h&&y&&function e(t,n){return Z(t)?!Z(n)||e(t.ofType,n.ofType):!!Z(n)||(et(t)?!et(n)||e(t.ofType,n.ofType):!!et(n)||!!(es(t)||es(n))&&t!==n)}(h,y))return[[i,`they return conflicting types "${(0,v.X)(h)}" and "${(0,v.X)(y)}"`],[u],[f]];let m=u.selectionSet,g=f.selectionSet;if(m&&g)return function(e,t,n,r){if(e.length>0)return[[t,e.map(([e])=>e)],[n,...e.map(([,e])=>e).flat()],[r,...e.map(([,,e])=>e).flat()]]}(function(e,t,n,r,i,o,a,s){let u=[],[c,l]=t5(e,t,i,o),[f,p]=t5(e,t,a,s);for(let i of(t6(e,u,t,n,r,c,f),p))t2(e,u,t,n,r,c,i);for(let i of l)t2(e,u,t,n,r,f,i);for(let i of l)for(let o of p)t3(e,u,t,n,r,i,o);return u}(e,t,n,d,ew(h),m,ew(y),g),i,u,f)}function t5(e,t,n,r){let i=t.get(r);if(i)return i;let o=Object.create(null),a=Object.create(null);!function e(t,n,r,i,o){for(let a of r.selections)switch(a.kind){case x.h.FIELD:{let e;let t=a.name.value;(B(n)||G(n))&&(e=n.getFields()[t]);let r=a.alias?a.alias.value:t;i[r]||(i[r]=[]),i[r].push([n,a,e]);break}case x.h.FRAGMENT_SPREAD:o[a.name.value]=!0;break;case x.h.INLINE_FRAGMENT:{let r=a.typeCondition,s=r?tC(t.getSchema(),r):n;e(t,s,a.selectionSet,i,o)}}}(e,n,r,o,a);let s=[o,Object.keys(a)];return t.set(r,s),s}function t4(e,t,n){let r=t.get(n.selectionSet);if(r)return r;let i=tC(e.getSchema(),n.typeCondition);return t5(e,t,i,n.selectionSet)}class t9{constructor(){this._data=new Map}has(e,t,n){var r;let[i,o]=e<t?[e,t]:[t,e],a=null===(r=this._data.get(i))||void 0===r?void 0:r.get(o);return void 0!==a&&(!!n||n===a)}add(e,t,n){let[r,i]=e<t?[e,t]:[t,e],o=this._data.get(r);void 0===o?this._data.set(r,new Map([[i,n]])):o.set(i,n)}}function t7(e){return{InlineFragment(t){let n=e.getType(),r=e.getParentType();if(ec(n)&&ec(r)&&!eq(e.getSchema(),n,r)){let i=(0,v.X)(r),o=(0,v.X)(n);e.reportError(new m.__(`Fragment cannot be spread here as objects of type "${i}" can never be of type "${o}".`,{nodes:t}))}},FragmentSpread(t){let n=t.name.value,r=function(e,t){let n=e.getFragment(t);if(n){let t=tC(e.getSchema(),n.typeCondition);if(ec(t))return t}}(e,n),i=e.getParentType();if(r&&i&&!eq(e.getSchema(),r,i)){let o=(0,v.X)(i),a=(0,v.X)(r);e.reportError(new m.__(`Fragment "${n}" cannot be spread here as objects of type "${o}" can never be of type "${a}".`,{nodes:t}))}}}}function ne(e){let t=e.getSchema(),n=Object.create(null);for(let t of e.getDocument().definitions)(0,tM.zT)(t)&&(n[t.name.value]=t);return{ScalarTypeExtension:r,ObjectTypeExtension:r,InterfaceTypeExtension:r,UnionTypeExtension:r,EnumTypeExtension:r,InputObjectTypeExtension:r};function r(r){let i;let o=r.name.value,a=n[o],s=null==t?void 0:t.getType(o);if(a?i=nt[a.kind]:s&&(i=U(s)?x.h.SCALAR_TYPE_EXTENSION:B(s)?x.h.OBJECT_TYPE_EXTENSION:G(s)?x.h.INTERFACE_TYPE_EXTENSION:Y(s)?x.h.UNION_TYPE_EXTENSION:J(s)?x.h.ENUM_TYPE_EXTENSION:H(s)?x.h.INPUT_OBJECT_TYPE_EXTENSION:void(0,tn.k)(!1,"Unexpected type: "+(0,v.X)(s))),i){if(i!==r.kind){let t=function(e){switch(e){case x.h.SCALAR_TYPE_EXTENSION:return"scalar";case x.h.OBJECT_TYPE_EXTENSION:return"object";case x.h.INTERFACE_TYPE_EXTENSION:return"interface";case x.h.UNION_TYPE_EXTENSION:return"union";case x.h.ENUM_TYPE_EXTENSION:return"enum";
1case x.h.INPUT_OBJECT_TYPE_EXTENSION:return"input object";default:(0,tn.k)(!1,"Unexpected kind: "+(0,v.X)(e))}}(r.kind);e.reportError(new m.__(`Cannot extend non-${t} type "${o}".`,{nodes:a?[a,r]:r}))}}else{let i=D(o,Object.keys({...n,...null==t?void 0:t.getTypeMap()}));e.reportError(new m.__(`Cannot extend type "${o}" because it is not defined.`+b(i),{nodes:r.name}))}}}let nt={[x.h.SCALAR_TYPE_DEFINITION]:x.h.SCALAR_TYPE_EXTENSION,[x.h.OBJECT_TYPE_DEFINITION]:x.h.OBJECT_TYPE_EXTENSION,[x.h.INTERFACE_TYPE_DEFINITION]:x.h.INTERFACE_TYPE_EXTENSION,[x.h.UNION_TYPE_DEFINITION]:x.h.UNION_TYPE_EXTENSION,[x.h.ENUM_TYPE_DEFINITION]:x.h.ENUM_TYPE_EXTENSION,[x.h.INPUT_OBJECT_TYPE_DEFINITION]:x.h.INPUT_OBJECT_TYPE_EXTENSION};function nn(e){return{...nr(e),Field:{leave(t){var n;let r=e.getFieldDef();if(!r)return!1;let i=new Set(null===(n=t.arguments)||void 0===n?void 0:n.map(e=>e.name.value));for(let n of r.args)if(!i.has(n.name)&&ex(n)){let i=(0,v.X)(n.type);e.reportError(new m.__(`Field "${r.name}" argument "${n.name}" of type "${i}" is required, but it was not provided.`,{nodes:t}))}}}}}function nr(e){var t,n;let r=Object.create(null),i=e.getSchema();for(let e of null!==(t=null==i?void 0:i.getDirectives())&&void 0!==t?t:te)r[e.name]=T(e.args.filter(ex),e=>e.name);for(let t of e.getDocument().definitions)if(t.kind===x.h.DIRECTIVE_DEFINITION){let e=null!==(n=t.arguments)&&void 0!==n?n:[];r[t.name.value]=T(e.filter(ni),e=>e.name.value)}return{Directive:{leave(t){let n=t.name.value,i=r[n];if(i){var o;let r=new Set((null!==(o=t.arguments)&&void 0!==o?o:[]).map(e=>e.name.value));for(let[o,a]of Object.entries(i))if(!r.has(o)){let r=V(a.type)?(0,v.X)(a.type):(0,C.S)(a.type);e.reportError(new m.__(`Directive "@${n}" argument "${o}" of type "${r}" is required, but it was not provided.`,{nodes:t}))}}}}}}function ni(e){return e.type.kind===x.h.NON_NULL_TYPE&&null==e.defaultValue}function no(e){return{Field(t){let n=e.getType(),r=t.selectionSet;if(n){if(es(ew(n))){if(r){let i=t.name.value,o=(0,v.X)(n);e.reportError(new m.__(`Field "${i}" must not have a selection since type "${o}" has no subfields.`,{nodes:r}))}}else if(!r){let r=t.name.value,i=(0,v.X)(n);e.reportError(new m.__(`Field "${r}" of type "${i}" must have a selection of subfields. Did you mean "${r} { ... }"?`,{nodes:t}))}}}}}function na(e){return e.map(e=>"number"==typeof e?"["+e.toString()+"]":"."+e).join("")}function ns(e,t,n){return{prev:e,key:t,typename:n}}function nu(e){let t=[],n=e;for(;n;)t.push(n.key),n=n.prev;return t.reverse()}function nc(e,t,n=nl){return function e(t,n,r,i){if(et(n))return null!=t?e(t,n.ofType,r,i):void r(nu(i),t,new m.__(`Expected non-nullable type "${(0,v.X)(n)}" not to be null.`));if(null==t)return null;if(Z(n)){let o=n.ofType;return tr(t)?Array.from(t,(t,n)=>e(t,o,r,ns(i,n,void 0))):[e(t,o,r,i)]}if(H(n)){if(!(0,w.y)(t)){r(nu(i),t,new m.__(`Expected type "${n.name}" to be an object.`));return}let o={},a=n.getFields();for(let s of Object.values(a)){let a=t[s.name];if(void 0===a){if(void 0!==s.defaultValue)o[s.name]=s.defaultValue;else if(et(s.type)){let e=(0,v.X)(s.type);r(nu(i),t,new m.__(`Field "${s.name}" of required type "${e}" was not provided.`))}continue}o[s.name]=e(a,s.type,r,ns(i,s.name,n.name))}for(let e of Object.keys(t))if(!a[e]){let o=D(e,Object.keys(n.getFields()));r(nu(i),t,new m.__(`Field "${e}" is not defined by type "${n.name}".`+b(o)))}return o}if(es(n)){let e;try{e=n.parseValue(t)}catch(e){e instanceof m.__?r(nu(i),t,e):r(nu(i),t,new m.__(`Expected type "${n.name}". `+e.message,{originalError:e}));return}return void 0===e&&r(nu(i),t,new m.__(`Expected type "${n.name}".`)),e}(0,tn.k)(!1,"Unexpected input type: "+(0,v.X)(n))}(e,t,n,void 0)}function nl(e,t,n){let r="Invalid value "+(0,v.X)(t);throw e.length>0&&(r+=` at "value${na(e)}"`),n.message=r+": "+n.message,n}function nf(e,t,n){if(e){if(e.kind===x.h.VARIABLE){let r=e.name.value;if(null==n||void 0===n[r])return;let i=n[r];if(null===i&&et(t))return;return i}if(et(t)){if(e.kind===x.h.NULL)return;return nf(e,t.ofType,n)}if(e.kind===x.h.NULL)return null;if(Z(t)){let r=t.ofType;if(e.kind===x.h.LIST){let t=[];for(let i of e.values)if(np(i,n)){if(et(r))return;t.push(null)}else{let e=nf(i,r,n);if(void 0===e)return;t.push(e)}return t}let i=nf(e,r,n);if(void 0===i)return;return[i]}if(H(t)){if(e.kind!==x.h.OBJECT)return;let r=Object.create(null),i=T(e.fields,e=>e.name.value);for(let e of Object.values(t.getFields())){let t=i[e.name];if(!t||np(t.value,n)){if(void 0!==e.defaultValue)r[e.name]=e.defaultValue;else if(et(e.type))return;continue}let o=nf(t.value,e.type,n);if(void 0===o)return;r[e.name]=o}return r}if(es(t)){let r;try{r=t.parseLiteral(e,n)}catch(e){return}if(void 0===r)return;return r}(0,tn.k)(!1,"Unexpected input type: "+(0,v.X)(t))}}function np(e,t){return e.kind===x.h.VARIABLE&&(null==t||void 0===t[e.name.value])}
1function nd(e,t,n,r){let i=[],o=null==r?void 0:r.maxErrors;try{let r=function(e,t,n,r){let i={};for(let o of t){let t=o.variable.name.value,a=tC(e,o.type);if(!er(a)){let e=(0,C.S)(o.type);r(new m.__(`Variable "$${t}" expected value of type "${e}" which cannot be used as an input type.`,{nodes:o.type}));continue}if(!nv(n,t)){if(o.defaultValue)i[t]=nf(o.defaultValue,a);else if(et(a)){let e=(0,v.X)(a);r(new m.__(`Variable "$${t}" of required type "${e}" was not provided.`,{nodes:o}))}continue}let s=n[t];if(null===s&&et(a)){let e=(0,v.X)(a);r(new m.__(`Variable "$${t}" of non-null type "${e}" must not be null.`,{nodes:o}));continue}i[t]=nc(s,a,(e,n,i)=>{let a=`Variable "$${t}" got invalid value `+(0,v.X)(n);e.length>0&&(a+=` at "${t}${na(e)}"`),r(new m.__(a+"; "+i.message,{nodes:o,originalError:i}))})}return i}(e,t,n,e=>{if(null!=o&&i.length>=o)throw new m.__("Too many errors processing variables, error limit reached. Execution aborted.");i.push(e)});if(0===i.length)return{coerced:r}}catch(e){i.push(e)}return{errors:i}}function nh(e,t,n){var r;let i={},o=T(null!==(r=t.arguments)&&void 0!==r?r:[],e=>e.name.value);for(let r of e.args){let e=r.name,a=r.type,s=o[e];if(!s){if(void 0!==r.defaultValue)i[e]=r.defaultValue;else if(et(a))throw new m.__(`Argument "${e}" of required type "${(0,v.X)(a)}" was not provided.`,{nodes:t});continue}let u=s.value,c=u.kind===x.h.NULL;if(u.kind===x.h.VARIABLE){let t=u.name.value;if(null==n||!nv(n,t)){if(void 0!==r.defaultValue)i[e]=r.defaultValue;else if(et(a))throw new m.__(`Argument "${e}" of required type "${(0,v.X)(a)}" was provided the variable "$${t}" which was not provided a runtime value.`,{nodes:u});continue}c=null==n[t]}if(c&&et(a))throw new m.__(`Argument "${e}" of non-null type "${(0,v.X)(a)}" must not be null.`,{nodes:u});let l=nf(u,a,n);if(void 0===l)throw new m.__(`Argument "${e}" has invalid value ${(0,C.S)(u)}.`,{nodes:u});i[e]=l}return i}function ny(e,t,n){var r;let i=null===(r=t.directives)||void 0===r?void 0:r.find(t=>t.name.value===e.name);if(i)return nh(e,i,n)}function nv(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function nm(e,t,n,r,i){let o=new Map;return ng(e,t,n,r,i,o,new Set),o}function ng(e,t,n,r,i,o,a){for(let s of i.selections)switch(s.kind){case x.h.FIELD:{if(!nb(n,s))continue;let e=s.alias?s.alias.value:s.name.value,t=o.get(e);void 0!==t?t.push(s):o.set(e,[s]);break}case x.h.INLINE_FRAGMENT:if(!nb(n,s)||!n_(e,s,r))continue;ng(e,t,n,r,s.selectionSet,o,a);break;case x.h.FRAGMENT_SPREAD:{let i=s.name.value;if(a.has(i)||!nb(n,s))continue;a.add(i);let u=t[i];if(!u||!n_(e,u,r))continue;ng(e,t,n,r,u.selectionSet,o,a)}}}function nb(e,t){let n=ny(e5,t,e);if((null==n?void 0:n.if)===!0)return!1;let r=ny(e8,t,e);return(null==r?void 0:r.if)!==!1}function n_(e,t,n){let r=t.typeCondition;if(!r)return!0;let i=tC(e,r);return i===n||!!ef(i)&&e.isSubType(i,n)}function nE(e){return{OperationDefinition(t){if("subscription"===t.operation){let n=e.getSchema(),r=n.getSubscriptionType();if(r){let i=t.name?t.name.value:null,o=Object.create(null),a=e.getDocument(),s=Object.create(null);for(let e of a.definitions)e.kind===x.h.FRAGMENT_DEFINITION&&(s[e.name.value]=e);let u=nm(n,s,o,r,t.selectionSet);if(u.size>1){let t=[...u.values()].slice(1).flat();e.reportError(new m.__(null!=i?`Subscription "${i}" must select only one top level field.`:"Anonymous Subscription must select only one top level field.",{nodes:t}))}for(let t of u.values())t[0].name.value.startsWith("__")&&e.reportError(new m.__(null!=i?`Subscription "${i}" must not select an introspection top level field.`:"Anonymous Subscription must not select an introspection top level field.",{nodes:t}))}}}}}function nw(e,t){let n=new Map;for(let r of e){let e=t(r),i=n.get(e);void 0===i?n.set(e,[r]):i.push(r)}return n}function nT(e){return{DirectiveDefinition(e){var t;let r=null!==(t=e.arguments)&&void 0!==t?t:[];return n(`@${e.name.value}`,r)},InterfaceTypeDefinition:t,InterfaceTypeExtension:t,ObjectTypeDefinition:t,ObjectTypeExtension:t};function t(e){var t,r;let i=e.name.value;for(let o of null!==(t=e.fields)&&void 0!==t?t:[]){let e=o.name.value;n(`${i}.${e}`,null!==(r=o.arguments)&&void 0!==r?r:[])}return!1}function n(t,n){for(let[r,i]of nw(n,e=>e.name.value))i.length>1&&e.reportError(new m.__(`Argument "${t}(${r}:)" can only be defined once.`,{nodes:i.map(e=>e.name)}
1));return!1}}function nI(e){return{Field:t,Directive:t};function t(t){var n;for(let[r,i]of nw(null!==(n=t.arguments)&&void 0!==n?n:[],e=>e.name.value))i.length>1&&e.reportError(new m.__(`There can be only one argument named "${r}".`,{nodes:i.map(e=>e.name)}))}}function nO(e){let t=Object.create(null),n=e.getSchema();return{DirectiveDefinition(r){let i=r.name.value;if(null!=n&&n.getDirective(i)){e.reportError(new m.__(`Directive "@${i}" already exists in the schema. It cannot be redefined.`,{nodes:r.name}));return}return t[i]?e.reportError(new m.__(`There can be only one directive named "@${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}}function nS(e){let t=Object.create(null),n=e.getSchema();for(let e of n?n.getDirectives():te)t[e.name]=!e.isRepeatable;for(let n of e.getDocument().definitions)n.kind===x.h.DIRECTIVE_DEFINITION&&(t[n.name.value]=!n.repeatable);let r=Object.create(null),i=Object.create(null);return{enter(n){let o;if("directives"in n&&n.directives){if(n.kind===x.h.SCHEMA_DEFINITION||n.kind===x.h.SCHEMA_EXTENSION)o=r;else if((0,tM.zT)(n)||(0,tM.D$)(n)){let e=n.name.value;void 0===(o=i[e])&&(i[e]=o=Object.create(null))}else o=Object.create(null);for(let r of n.directives){let n=r.name.value;t[n]&&(o[n]?e.reportError(new m.__(`The directive "@${n}" can only be used once at this location.`,{nodes:[o[n],r]})):o[n]=r)}}}}}function nN(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{EnumTypeDefinition:i,EnumTypeExtension:i};function i(t){var i;let o=t.name.value;r[o]||(r[o]=Object.create(null));let a=null!==(i=t.values)&&void 0!==i?i:[],s=r[o];for(let t of a){let r=t.name.value,i=n[o];J(i)&&i.getValue(r)?e.reportError(new m.__(`Enum value "${o}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):s[r]?e.reportError(new m.__(`Enum value "${o}.${r}" can only be defined once.`,{nodes:[s[r],t.name]})):s[r]=t.name}return!1}}function nk(e){let t=e.getSchema(),n=t?t.getTypeMap():Object.create(null),r=Object.create(null);return{InputObjectTypeDefinition:i,InputObjectTypeExtension:i,InterfaceTypeDefinition:i,InterfaceTypeExtension:i,ObjectTypeDefinition:i,ObjectTypeExtension:i};function i(t){var i,o;let a=t.name.value;r[a]||(r[a]=Object.create(null));let s=null!==(i=t.fields)&&void 0!==i?i:[],u=r[a];for(let t of s){let r=t.name.value;(B(o=n[a])||G(o)||H(o))&&null!=o.getFields()[r]?e.reportError(new m.__(`Field "${a}.${r}" already exists in the schema. It cannot also be defined in this type extension.`,{nodes:t.name})):u[r]?e.reportError(new m.__(`Field "${a}.${r}" can only be defined once.`,{nodes:[u[r],t.name]})):u[r]=t.name}return!1}}function nD(e){let t=Object.create(null);return{OperationDefinition:()=>!1,FragmentDefinition(n){let r=n.name.value;return t[r]?e.reportError(new m.__(`There can be only one fragment named "${r}".`,{nodes:[t[r],n.name]})):t[r]=n.name,!1}}}function nR(e){let t=[],n=Object.create(null);return{ObjectValue:{enter(){t.push(n),n=Object.create(null)},leave(){let e=t.pop();e||(0,tn.k)(!1),n=e}},ObjectField(t){let r=t.name.value;n[r]?e.reportError(new m.__(`There can be only one input field named "${r}".`,{nodes:[n[r],t.name]})):n[r]=t.name}}}function nA(e){let t=Object.create(null);return{OperationDefinition(n){let r=n.name;return r&&(t[r.value]?e.reportError(new m.__(`There can be only one operation named "${r.value}".`,{nodes:[t[r.value],r]})):t[r.value]=r),!1},FragmentDefinition:()=>!1}}function nF(e){let t=e.getSchema(),n=Object.create(null),r=t?{query:t.getQueryType(),mutation:t.getMutationType(),subscription:t.getSubscriptionType()}:{};return{SchemaDefinition:i,SchemaExtension:i};function i(t){var i;for(let o of null!==(i=t.operationTypes)&&void 0!==i?i:[]){let t=o.operation,i=n[t];r[t]?e.reportError(new m.__(`Type for ${t} already defined in the schema. It cannot be redefined.`,{nodes:o})):i?e.reportError(new m.__(`There can be only one ${t} type in schema.`,{nodes:[i,o]})):n[t]=o}return!1}}function nx(e){let t=Object.create(null),n=e.getSchema();return{ScalarTypeDefinition:r,ObjectTypeDefinition:r,InterfaceTypeDefinition:r,UnionTypeDefinition:r,EnumTypeDefinition:r,InputObjectTypeDefinition:r};function r(r){let i=r.name.value;if(null!=n&&n.getType(i)){e.reportError(new m.__(`Type "${i}" already exists in the schema. It cannot also be defined in this type definition.`,{nodes:r.name}));return}return t[i]?e.reportError(new m.__(`There can be only one type named "${i}".`,{nodes:[t[i],r.name]})):t[i]=r.name,!1}}function nC(e){return{OperationDefinition(t){var n;for(let[r,i]of nw(null!==(n=t.variableDefinitions)&&void 0!==n?n:[],e=>e.variable.name.value))i.length>1&&e.reportError(new m.__(`There can be only one variable named "$${r}".`,{nodes:i.map(e=>e.variable.name)}))}}}function nj(e){return{ListValue(t){if(!Z(eb(e.getParentInputType())))return nL(e,t),!1},ObjectValue(t){let n=ew(e.getInputType());if(!H(n))return nL(e,t),!1;let r=T(t.fields,e=>e.name.value);for(let i of Object.values(n.getFields()))if(!r[i.name]&&eU(i)){let r=(0,v.X)(i.type);e.reportError(new m.__(`Field "${n.name}.${i.name}" of required type "${r}" was not provided.`,{nodes:t}))}},ObjectField(t){let n=ew(e.getParentInputType());if(!e.getInputType()&&H(n)){let r=D(t.name.value,Object.keys(n.getFields()));e.reportError(new m.__(`Field "${t.name.value}" is not defined by type "${n.name}".`+b(r),{nodes:t}))}}
1,NullValue(t){let n=e.getInputType();et(n)&&e.reportError(new m.__(`Expected value of type "${(0,v.X)(n)}", found ${(0,C.S)(t)}.`,{nodes:t}))},EnumValue:t=>nL(e,t),IntValue:t=>nL(e,t),FloatValue:t=>nL(e,t),StringValue:t=>nL(e,t),BooleanValue:t=>nL(e,t)}}function nL(e,t){let n=e.getInputType();if(!n)return;let r=ew(n);if(!es(r)){let r=(0,v.X)(n);e.reportError(new m.__(`Expected value of type "${r}", found ${(0,C.S)(t)}.`,{nodes:t}));return}try{let i=r.parseLiteral(t,void 0);if(void 0===i){let r=(0,v.X)(n);e.reportError(new m.__(`Expected value of type "${r}", found ${(0,C.S)(t)}.`,{nodes:t}))}}catch(i){let r=(0,v.X)(n);i instanceof m.__?e.reportError(i):e.reportError(new m.__(`Expected value of type "${r}", found ${(0,C.S)(t)}; `+i.message,{nodes:t,originalError:i}))}}function nP(e){return{VariableDefinition(t){let n=tC(e.getSchema(),t.type);if(void 0!==n&&!er(n)){let n=t.variable.name.value,r=(0,C.S)(t.type);e.reportError(new m.__(`Variable "$${n}" cannot be non-input type "${r}".`,{nodes:t.type}))}}}}function nM(e){let t=Object.create(null);return{OperationDefinition:{enter(){t=Object.create(null)},leave(n){for(let{node:i,type:o,defaultValue:a}of e.getRecursiveVariableUsages(n)){let n=i.name.value,s=t[n];if(s&&o){var r;let t=e.getSchema(),u=tC(t,s.type);if(u&&(r=s.defaultValue,et(o)&&!et(u)?!((null!=r&&r.kind!==x.h.NULL||void 0!==a)&&eB(t,u,o.ofType)):!eB(t,u,o))){let t=(0,v.X)(u),r=(0,v.X)(o);e.reportError(new m.__(`Variable "$${n}" of type "${t}" used in position expecting type "${r}".`,{nodes:[s,i]}))}}}}},VariableDefinition(e){t[e.variable.name.value]=e}}}let nV=Object.freeze([tV,nA,tz,nE,tX,tU,nP,no,t$,nD,tG,tK,t7,tW,nC,tH,tZ,tq,nS,tQ,nI,nj,nn,nM,t1,nR]),n$=Object.freeze([tJ,nF,nx,nN,nk,nT,nO,tX,tq,nS,ne,tB,nI,nR,nr]);class nU{constructor(e,t){this._ast=e,this._fragments=void 0,this._fragmentSpreads=new Map,this._recursivelyReferencedFragments=new Map,this._onError=t}get[Symbol.toStringTag](){return"ASTValidationContext"}reportError(e){this._onError(e)}getDocument(){return this._ast}getFragment(e){let t;if(this._fragments)t=this._fragments;else{for(let e of(t=Object.create(null),this.getDocument().definitions))e.kind===x.h.FRAGMENT_DEFINITION&&(t[e.name.value]=e);this._fragments=t}return t[e]}getFragmentSpreads(e){let t=this._fragmentSpreads.get(e);if(!t){let n;t=[];let r=[e];for(;n=r.pop();)for(let e of n.selections)e.kind===x.h.FRAGMENT_SPREAD?t.push(e):e.selectionSet&&r.push(e.selectionSet);this._fragmentSpreads.set(e,t)}return t}getRecursivelyReferencedFragments(e){let t=this._recursivelyReferencedFragments.get(e);if(!t){let n;t=[];let r=Object.create(null),i=[e.selectionSet];for(;n=i.pop();)for(let e of this.getFragmentSpreads(n)){let n=e.name.value;if(!0!==r[n]){r[n]=!0;let e=this.getFragment(n);e&&(t.push(e),i.push(e.selectionSet))}}this._recursivelyReferencedFragments.set(e,t)}return t}}class nQ extends nU{constructor(e,t,n){super(e,n),this._schema=t}get[Symbol.toStringTag](){return"SDLValidationContext"}getSchema(){return this._schema}}class nB extends nU{constructor(e,t,n,r){super(t,r),this._schema=e,this._typeInfo=n,this._variableUsages=new Map,this._recursiveVariableUsages=new Map}get[Symbol.toStringTag](){return"ValidationContext"}getSchema(){return this._schema}getVariableUsages(e){let t=this._variableUsages.get(e);if(!t){let n=[],r=new tj(this._schema);(0,tx.Vn)(e,tP(r,{VariableDefinition:()=>!1,Variable(e){n.push({node:e,type:r.getInputType(),defaultValue:r.getDefaultValue()})}})),t=n,this._variableUsages.set(e,t)}return t}getRecursiveVariableUsages(e){let t=this._recursiveVariableUsages.get(e);if(!t){for(let n of(t=this.getVariableUsages(e),this.getRecursivelyReferencedFragments(e)))t=t.concat(this.getVariableUsages(n));this._recursiveVariableUsages.set(e,t)}return t}getType(){return this._typeInfo.getType()}getParentType(){return this._typeInfo.getParentType()}getInputType(){return this._typeInfo.getInputType()}getParentInputType(){return this._typeInfo.getParentInputType()}getFieldDef(){return this._typeInfo.getFieldDef()}getDirective(){return this._typeInfo.getDirective()}getArgument(){return this._typeInfo.getArgument()}getEnumValue(){return this._typeInfo.getEnumValue()}}function nq(e,t,n=nV,r,i=new tj(e)){var o;let a=null!==(o=null==r?void 0:r.maxErrors)&&void 0!==o?o:100;t||(0,d.a)(!1,"Must provide document."),tI(e);let s=Object.freeze({}),u=[],c=new nB(e,t,i,e=>{if(u.length>=a)throw u.push(new m.__("Too many validation errors, error limit reached. Validation aborted.")),s;u.push(e)}),l=(0,tx.j1)(n.map(e=>
1e(c)));try{(0,tx.Vn)(t,tP(i,l))}catch(e){if(e!==s)throw e}return u}function nG(e,t,n=n$){let r=[],i=new nQ(e,t,e=>{r.push(e)}),o=n.map(e=>e(i));return(0,tx.Vn)(e,(0,tx.j1)(o)),r}function nX(e){return Promise.all(Object.values(e)).then(t=>{let n=Object.create(null);for(let[r,i]of Object.keys(e).entries())n[i]=t[r];return n})}class nY extends Error{constructor(e){super("Unexpected error value: "+(0,v.X)(e)),this.name="NonErrorThrown",this.thrownValue=e}}function nz(e,t,n){var r;let i=e instanceof Error?e:new nY(e);return Array.isArray(i.path)?i:new m.__(i.message,{nodes:null!==(r=i.nodes)&&void 0!==r?r:t,source:i.source,positions:i.positions,path:n,originalError:i})}let nJ=(s=(e,t,n)=>(function(e,t,n,r,i){let o=new Map,a=new Set;for(let s of i)s.selectionSet&&ng(e,t,n,r,s.selectionSet,o,a);return o})(e.schema,e.fragments,e.variableValues,t,n),function(e,t,n){void 0===r&&(r=new WeakMap);let i=r.get(e);void 0===i&&(i=new WeakMap,r.set(e,i));let o=i.get(t);void 0===o&&(o=new WeakMap,i.set(t,o));let a=o.get(n);return void 0===a&&(a=s(e,t,n),o.set(n,a)),a});function nW(e){arguments.length<2||(0,d.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:t,document:n,variableValues:r,rootValue:i}=e;nZ(t,n,r);let o=n0(e);if(!("schema"in o))return{errors:o};try{let{operation:e}=o,t=function(e,t,n){let r=e.schema.getRootType(t.operation);if(null==r)throw new m.__(`Schema is not configured to execute ${t.operation} operation.`,{nodes:t});let i=nm(e.schema,e.fragments,e.variableValues,r,t.selectionSet),o=void 0;switch(t.operation){case g.ku.QUERY:return n1(e,r,n,o,i);case g.ku.MUTATION:return function(e,t,n){let r=n;for(let n of e)r=h(r)?r.then(e=>t(e,n)):t(r,n);return r}(i.entries(),(t,[i,a])=>{let s=ns(o,i,r.name),u=n2(e,r,n,a,s);return void 0===u?t:h(u)?u.then(e=>(t[i]=e,t)):(t[i]=u,t)},Object.create(null));case g.ku.SUBSCRIPTION:return n1(e,r,n,o,i)}}(o,e,i);if(h(t))return t.then(e=>nK(e,o.errors),e=>(o.errors.push(e),nK(null,o.errors)));return nK(t,o.errors)}catch(e){return o.errors.push(e),nK(null,o.errors)}}function nH(e){let t=nW(e);if(h(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function nK(e,t){return 0===t.length?{data:e}:{errors:t,data:e}}function nZ(e,t,n){t||(0,d.a)(!1,"Must provide document."),tI(e),null==n||(0,w.y)(n)||(0,d.a)(!1,"Variables must be provided as an Object where each property is a variable value. Perhaps look to see if an unparsed JSON string was provided.")}function n0(e){var t,n;let r;let{schema:i,document:o,rootValue:a,contextValue:s,variableValues:u,operationName:c,fieldResolver:l,typeResolver:f,subscribeFieldResolver:p}=e,d=Object.create(null);for(let e of o.definitions)switch(e.kind){case x.h.OPERATION_DEFINITION:if(null==c){if(void 0!==r)return[new m.__("Must provide operation name if query contains multiple operations.")];r=e}else(null===(t=e.name)||void 0===t?void 0:t.value)===c&&(r=e);break;case x.h.FRAGMENT_DEFINITION:d[e.name.value]=e}if(!r)return null!=c?[new m.__(`Unknown operation named "${c}".`)]:[new m.__("Must provide an operation.")];let h=nd(i,null!==(n=r.variableDefinitions)&&void 0!==n?n:[],null!=u?u:{},{maxErrors:50});return h.errors?h.errors:{schema:i,fragments:d,rootValue:a,contextValue:s,operation:r,variableValues:h.coerced,fieldResolver:null!=l?l:re,typeResolver:null!=f?f:n7,subscribeFieldResolver:null!=p?p:re,errors:[]}}function n1(e,t,n,r,i){let o=Object.create(null),a=!1;try{for(let[s,u]of i.entries()){let i=ns(r,s,t.name),c=n2(e,t,n,u,i);void 0!==c&&(o[s]=c,h(c)&&(a=!0))}}catch(e){if(a)return nX(o).finally(()=>{throw e});throw e}return a?nX(o):o}function n2(e,t,n,r,i){var o;let a=rt(e.schema,t,r[0]);if(!a)return;let s=a.type,u=null!==(o=a.resolve)&&void 0!==o?o:e.fieldResolver,c=n3(e,a,r,t,i);try{let t;let o=nh(a,r[0],e.variableValues),l=e.contextValue,f=u(n,o,l,c);if(t=h(f)?f.then(t=>n8(e,s,r,c,i,t)):n8(e,s,r,c,i,f),h(t))return t.then(void 0,t=>{let n=nz(t,r,nu(i));return n6(n,s,e)});return t}catch(t){return n6(nz(t,r,nu(i)),s,e)}}function n3(e,t,n,r,i){return{fieldName:t.name,fieldNodes:n,returnType:t.type,parentType:r,path:i,schema:e.schema,fragments:e.fragments,rootValue:e.rootValue,operation:e.operation,variableValues:e.variableValues}}function n6(e,t,n){if(et(t))throw e;return n.errors.push(e),null}function n8(e,t,n,r,i,o){if(o instanceof Error)throw o;if(et(t)){let a=n8(e,t.ofType,n,r,i,o);if(null===a)throw Error(`Cannot return null for non-nullable field ${r.parentType.name}.${r.fieldName}.`);return a}return null==o?null:Z(t)?function(e,t,n,r,i,o){if(!tr(o))throw new m.__(`Expected Iterable, but did not find one for field "${r.parentType.name}.${r.fieldName}".`);let a=t.ofType,s=!1,u=Array.from(o,(t,o)=>{let u=ns(i,o,void 0);try{let i;if(i=h(t)?t.then(t=>n8(e,a,n,r,u,t)):n8(e,a,n,r,u,t),h(i))return s=!0,i.then(void 0,t=>{let r=nz(t,n,nu(u));return n6(r,a,e)});return i}catch(t){return n6(nz(t,n,nu(u)),a,e)}});return s?Promise.all(u):u}(e,t,n,r,i,o):es(t)?function(e,t){let n=e.serialize(t);if(null==n)throw Error(`Expected \`${(0,v.X)(e)}.serialize(${(0,v.X)(t)})\` to return non-nullable value, returned: ${(0,v.X)(n)}`);return n}(t,o):ef(t)?function(e,t,n,r,i,o){var a;let s=(null!==(a=t.resolveType)&&void 0!==a?a:e.typeResolver)(o,e.contextValue,r,t);return h(s)?s.then(a=>n4(e,n5(a,e,t,n,r,o),n,r,i,o)):n4(e,n5(s,e,t,n,r,o),n,r,i,o)}(e,t,n,r,i,o):B(t)?n4(e,t,n,r,i,o):void(0,tn.k)(!1,"Cannot complete value of unexpected output type: "+(0,v.X)(t))}function n5(e,t,n,r,i,o){if(null==e)throw new m.__(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}". Either the "${n.name}" type should provide a "resolveType" function or each possible type should provide an "isTypeOf" function.`,r);if(B(e))throw new m.__("Support for returning GraphQLObjectType from resolveType was removed in [email protected] please return type name instead.");if("string"!=typeof e)throw new m.__(`Abstract type "${n.name}" must resolve to an Object type at runtime for field "${i.parentType.name}.${i.fieldName}" with value ${(0,v.X)(o)}, received "${(0,v.X)(e)}".`);let a=t.schema.getType(e);if(null==a)throw new m.__(`Abstract type "${n.name}" was resolved to a type "${e}" that does not exist inside the schema.`,{nodes:r});if(!B(a))throw new m.__(`Abstract type "${n.name}" was resolved to a non-object type "${e}".`,{nodes:r});if(!t.schema.isSubType(n,a))throw new m.__(`Runtime Object type "${a.name}" is not a possible type for "${n.name}".`,{nodes:r});return a}function n4(e,t,n,r,i,o){let a=nJ(e,t,n);if(t.isTypeOf){let s=t.isTypeOf(o,e.contextValue,r);if(h(s))return s.then(r=>{if(!r)throw n9(t,o,n);return n1(e,t,o,i,a)});if(!s)throw n9(t,o,n)}return n1(e,t,o,i,a)}function n9(e,t,n){return new m.__(`Expected value of type "${e.name}" but got: ${(0,v.X)(t)}.`,{nodes:n})}let n7=function(e,t,n,r){if((0,w.y)(e)&&"string"==typeof e.__typename)return e.__typename;let i=n.schema.getPossibleTypes(r),o=[];for(let r=0;r<i.length;r++){let a=i[r];if(a.isTypeOf){let i=a.isTypeOf(e,t,n);if(h(i))o[r]=i;else if(i)return a.name}}if(o.length)return Promise.all(o).then(e=>{for(let t=0;t<e.length;t++)if(e[t])return i[t].name})},re=function(e,t,n,r){if((0,w.y)(e)||"function"==typeof e){let i=e[r.fieldName];return"function"==typeof i?e[r.fieldName](t,n,r):i}};function rt(e,t,n){let r=n.name.value;return r===th.name&&e.getQueryType()===t?th:r===ty.name&&e.getQueryType()===t?ty:r===tv.name?tv:t.getFields()[r]}function rn(e){return new Promise(t=>t(ri(e)))}function rr(e){let t=ri(e);if(h(t))throw Error("GraphQL execution failed to complete synchronously.");return t}function ri(e){let t;arguments.length<2||(0,d.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let{schema:n,source:r,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:u,typeResolver:c}=e,l=tT(n);if(l.length>0)return{errors:l};try{t=(0,y.Qc)(r)}catch(e){return{errors:[e]}}let f=nq(n,t);return f.length>0?{errors:f}:nW({schema:n,document:t,rootValue:i,contextValue:o,variableValues:a,operationName:s,fieldResolver:u,typeResolver:c})}var ro=n(38790),ra=n(50713),rs=n(96973),ru=n(16091),rc=n(69284);function rl(e){return"function"==typeof(null==e?void 0:e[Symbol.asyncIterator])}async function rf(e){arguments.length<2||(0,d.a)(!1,"graphql@16 dropped long-deprecated support for positional arguments, please pass an object instead.");let t=await rp(e);return rl(t)?function(e,t){let n=e[Symbol.asyncIterator]();async function r(e){if(e.done)return e;try{return{value:await t(e.value),done:!1}}catch(e){if("function"==typeof n.return)try{await n.return()}catch(e){}throw e}}return{next:async()=>r(await n.next()),return:async()=>"function"==typeof n.return?r(await n.return()):{value:void 0,done:!0},async throw(e){if("function"==typeof n.throw)return r(await n.throw(e));throw e},[Symbol.asyncIterator](){return this}}}(t,t=>nW({...e,rootValue:t})):t}async function rp(...e){let t=function(e){let t=e[0];return t&&"document"in t?t:{schema:t,document:e[1],rootValue:e[2],contextValue:e[3],variableValues:e[4],operationName:e[5],subscribeFieldResolver:e[6]}}(e),{schema:n,document:r,variableValues:i}=t;nZ(n,r,i);let o=n0(t);if(!("schema"in o))return{errors:o};try{let e=await rd(o);if(!rl(e))throw Error(`Subscription field must return Async Iterable. Received: ${(0,v.X)(e)}.`);return e}catch(e){if(e instanceof m.__)return{errors:[e]};throw e}}async function rd(e){let{schema:t,fragments:n,operation:r,variableValues:i,rootValue:o}=e,a=t.getSubscriptionType();if(null==a)throw new m.__("Schema is not configured to execute subscription operation.",{nodes:r});let[s,u]=[...nm(t,n,i,a,r.selectionSet).entries()][0],c=rt(t,a,u[0]);if(!c){let e=u[0].name.value;throw new m.__(`The subscription field "${e}" is not defined.`,{nodes:u})}let l=ns(void 0,s,a.name),f=n3(e,c,u,a,l);try{var p;let t=nh(c,u[0],i),n=e.contextValue,r=null!==(p=c.subscribe)&&void 0!==p?p:e.subscribeFieldResolver,a=await r(o,t,n,f);if(a instanceof Error)throw a;return a}catch(e){throw nz(e,u,nu(l))}}function rh(e){return{Field(t){let n=e.getFieldDef(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getParentType();null!=i||(0,tn.k)(!1),e.reportError(new m.__(`The field ${i.name}.${n.name} is deprecated. ${r}`,{nodes:t}))}},Argument(t){let n=e.getArgument(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=e.getDirective();if(null!=i)e.reportError(new m.__(`Directive "@${i.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}));else{let i=e.getParentType(),o=e.getFieldDef();null!=i&&null!=o||(0,tn.k)(!1),e.reportError(new m.__(`Field "${i.name}.${o.name}" argument "${n.name}" is deprecated. ${r}`,{nodes:t}))}}},ObjectField(t){let n=ew(e.getParentInputType());if(H(n)){let r=n.getFields()[t.name.value],i=null==r?void 0:r.deprecationReason;null!=i&&e.reportError(new m.__(`The input field ${n.name}.${r.name} is deprecated. ${i}`,{nodes:t}))}},EnumValue(t){let n=e.getEnumValue(),r=null==n?void 0:n.deprecationReason;if(n&&null!=r){let i=ew(e.getInputType());null!=i||(0,tn.k)(!1),e.reportError(new m.__(`The enum value "${i.name}.${n.name}" is deprecated. ${r}`,{nodes:t}))}}}}function ry(e){return{Field(t){let n=ew(e.getType());n&&tg(n)&&e.reportError(new m.__(`GraphQL introspection has been disabled, but the requested query contained the field "${t.name.value}".`,{nodes:t}))}}}var rv=n(9598);
1function rm(e){let t={descriptions:!0,specifiedByUrl:!1,directiveIsRepeatable:!1,schemaDescription:!1,inputValueDeprecation:!1,...e},n=t.descriptions?"description":"",r=t.specifiedByUrl?"specifiedByURL":"",i=t.directiveIsRepeatable?"isRepeatable":"",o=t.schemaDescription?n:"";function a(e){return t.inputValueDeprecation?e:""}return`
2    query IntrospectionQuery {
3      __schema {
4        ${o}
5        queryType { name }
6        mutationType { name }
7        subscriptionType { name }
8        types {
9          ...FullType
10        }
11        directives {
12          name
13          ${n}
14          ${i}
15          locations
16          args${a("(includeDeprecated: true)")} {
17            ...InputValue
18          }
19        }
20      }
21    }
22
23    fragment FullType on __Type {
24      kind
25      name
26      ${n}
27      ${r}
28      fields(includeDeprecated: true) {
29        name
30        ${n}
31        args${a("(includeDeprecated: true)")} {
32          ...InputValue
33        }
34        type {
35          ...TypeRef
36        }
37        isDeprecated
38        deprecationReason
39      }
40      inputFields${a("(includeDeprecated: true)")} {
41        ...InputValue
42      }
43      interfaces {
44        ...TypeRef
45      }
46      enumValues(includeDeprecated: true) {
47        name
48        ${n}
49        isDeprecated
50        deprecationReason
51      }
52      possibleTypes {
53        ...TypeRef
54      }
55    }
56
57    fragment InputValue on __InputValue {
58      name
59      ${n}
60      type { ...TypeRef }
61      defaultValue
62      ${a("isDeprecated")}
63      ${a("deprecationReason")}
64    }
65
66    fragment TypeRef on __Type {
67      kind
68      name
69      ofType {
70        kind
71        name
72        ofType {
73          kind
74          name
75          ofType {
76            kind
77            name
78            ofType {
79              kind
80              name
81              ofType {
82                kind
83                name
84                ofType {
85                  kind
86                  name
87                  ofType {
88                    kind
89                    name
90                    ofType {
91                      kind
92                      name
93                      ofType {
94                        kind
95                        name
96                      }
97                    }
98                  }
99                }
100              }
101            }
102          }
103        }
104      }
105    }
106  `}function rg(e,t){let n=null;for(let i of e.definitions)if(i.kind===x.h.OPERATION_DEFINITION){var r;if(null==t){if(n)return null;n=i}else if((null===(r=i.name)||void 0===r?void 0:r.value)===t)return i}return n}function rb(e,t){if("query"===t.operation){let n=e.getQueryType();if(!n)throw new m.__("Schema does not define the required query root type.",{nodes:t});return n}if("mutation"===t.operation){let n=e.getMutationType();if(!n)throw new m.__("Schema is not configured for mutations.",{nodes:t});return n}if("subscription"===t.operation){let n=e.getSubscriptionType();if(!n)throw new m.__("Schema is not configured for subscriptions.",{nodes:t});return n}throw new m.__("Can only have query, mutation and subscription operations.",{nodes:t})}function r_(e,t){let n={specifiedByUrl:!0,directiveIsRepeatable:!0,schemaDescription:!0,inputValueDeprecation:!0,...t},r=nH({schema:e,document:(0,y.Qc)(rm(n))});return!r.errors&&r.data||(0,tn.k)(!1),r.data}function rE(e,t){(0,w.y)(e)&&(0,w.y)(e.__schema)||(0,d.a)(!1,`Invalid or incomplete introspection result. Ensure that you are passing "data" property of introspection response and no "errors" was returned alongside: ${(0,v.X)(e)}.`);let n=e.__schema,r=I(n.types,e=>e.name,e=>(function(e){if(null!=e&&null!=e.name&&null!=e.kind)switch(e.kind){case l.SCALAR:return new eO({name:e.name,description:e.description,specifiedByURL:e.specifiedByURL});case l.OBJECT:return new eS({name:e.name,description:e.description,interfaces:()=>h(e),fields:()=>m(e)});case l.INTERFACE:return new eC({name:e.name,description:e.description,interfaces:()=>h(e),fields:()=>m(e)});case l.UNION:return function(e){if(!e.possibleTypes){let t=(0,v.X)(e);throw Error(`Introspection result missing possibleTypes: ${t}.`)}return new ej({name:e.name,description:e.description,types:()=>e.possibleTypes.map(f)})}(e);case l.ENUM:return function(e){if(!e.enumValues){let t=(0,v.X)(e);throw Error(`Introspection result missing enumValues: ${t}.`)}return new eP({name:e.name,description:e.description,values:I(e.enumValues,e=>e.name,e=>({description:e.description,deprecationReason:e.deprecationReason}))})}(e);case l.INPUT_OBJECT:return function(e){if(!e.inputFields){let t=(0,v.X)(e);throw Error(`Introspection result missing inputFields: ${t}.`)}return new eV({name:e.name,description:e.description,fields:()=>b(e.inputFields)})}(e)}let t=(0,v.X)(e);throw Error(`Invalid or incomplete introspection result. Ensure that a full introspection query is used in order to build a client schema: ${t}.`)})(e));for(let e of[...eZ,...tm])r[e.name]&&(r[e.name]=e);let i=n.queryType?f(n.queryType):null,o=n.mutationType?f(n.mutationType):null,a=n.subscriptionType?f(n.subscriptionType):null,s=n.directives?n.directives.map(function(e){if(!e.args){let t=(0,v.X)(e);throw Error(`Introspection result missing directive args: ${t}.`)}if(!e.locations){let t=(0,v.X)(e);throw Error(`Introspection result missing directive locations: ${t}.`)}return new e6({name:e.name,description:e.description,isRepeatable:e.isRepeatable,locations:e.locations.slice(),args:b(e.args)})}):[];return new tE({description:n.description,query:i,mutation:o,subscription:a,types:Object.values(r),directives:s,assumeValid:null==t?void 0:t.assumeValid});function u(e){if(e.kind===l.LIST){let t=e.ofType;
106if(!t)throw Error("Decorated type deeper than introspection query.");return new ed(u(t))}if(e.kind===l.NON_NULL){let t=e.ofType;if(!t)throw Error("Decorated type deeper than introspection query.");return new eh(eg(u(t)))}return c(e)}function c(e){let t=e.name;if(!t)throw Error(`Unknown type reference: ${(0,v.X)(e)}.`);let n=r[t];if(!n)throw Error(`Invalid or incomplete schema, unknown type: ${t}. Ensure that a full introspection query is used in order to build a client schema.`);return n}function f(e){return q(c(e))}function p(e){return X(c(e))}function h(e){if(null===e.interfaces&&e.kind===l.INTERFACE)return[];if(!e.interfaces){let t=(0,v.X)(e);throw Error(`Introspection result missing interfaces: ${t}.`)}return e.interfaces.map(p)}function m(e){if(!e.fields)throw Error(`Introspection result missing fields: ${(0,v.X)(e)}.`);return I(e.fields,e=>e.name,g)}function g(e){let t=u(e.type);if(!eo(t)){let e=(0,v.X)(t);throw Error(`Introspection must provide output type for fields, but received: ${e}.`)}if(!e.args){let t=(0,v.X)(e);throw Error(`Introspection result missing field args: ${t}.`)}return{description:e.description,deprecationReason:e.deprecationReason,type:t,args:b(e.args)}}function b(e){return I(e,e=>e.name,_)}function _(e){let t=u(e.type);if(!er(t)){let e=(0,v.X)(t);throw Error(`Introspection must provide input type for arguments, but received: ${e}.`)}let n=null!=e.defaultValue?nf((0,y.H2)(e.defaultValue),t):void 0;return{description:e.description,type:t,defaultValue:n,deprecationReason:e.deprecationReason}}}function rw(e,t,n){t_(e),null!=t&&t.kind===x.h.DOCUMENT||(0,d.a)(!1,"Must provide valid Document AST."),(null==n?void 0:n.assumeValid)!==!0&&(null==n?void 0:n.assumeValidSDL)!==!0&&function(e,t){let n=nG(e,t);if(0!==n.length)throw Error(n.map(e=>e.message).join("\n\n"))}(t,e);let r=e.toConfig(),i=rT(r,t,n);return r===i?e:new tE(i)}function rT(e,t,n){var r,i,o,a,s;let u;let c=[],l=Object.create(null),f=[],p=[];for(let e of t.definitions)if(e.kind===x.h.SCHEMA_DEFINITION)u=e;else if(e.kind===x.h.SCHEMA_EXTENSION)p.push(e);else if((0,tM.zT)(e))c.push(e);else if((0,tM.D$)(e)){let t=e.name.value,n=l[t];l[t]=n?n.concat([e]):[e]}else e.kind===x.h.DIRECTIVE_DEFINITION&&f.push(e);if(0===Object.keys(l).length&&0===c.length&&0===f.length&&0===p.length&&null==u)return e;let d=Object.create(null);for(let t of e.types)d[t.name]=tg(t)||e0(t)?t:U(t)?function(e){var t,n;let r=e.toConfig(),i=null!==(t=l[r.name])&&void 0!==t?t:[],o=r.specifiedByURL;for(let e of i)o=null!==(n=rS(e))&&void 0!==n?n:o;return new eO({...r,specifiedByURL:o,extensionASTNodes:r.extensionASTNodes.concat(i)})}(t):B(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=l[n.name])&&void 0!==t?t:[];return new eS({...n,interfaces:()=>[...e.getInterfaces().map(m),...k(r)],fields:()=>({...O(n.fields,g),...T(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):G(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=l[n.name])&&void 0!==t?t:[];return new eC({...n,interfaces:()=>[...e.getInterfaces().map(m),...k(r)],fields:()=>({...O(n.fields,g),...T(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):Y(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=l[n.name])&&void 0!==t?t:[];return new ej({...n,types:()=>[...e.getTypes().map(m),...D(r)],extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):J(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=l[e.name])&&void 0!==t?t:[];return new eP({...n,values:{...n.values,...N(r)},extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):H(t)?function(e){var t;let n=e.toConfig(),r=null!==(t=l[n.name])&&void 0!==t?t:[];return new eV({...n,fields:()=>({...O(n.fields,e=>({...e,type:y(e.type)})),...S(r)}),extensionASTNodes:n.extensionASTNodes.concat(r)})}(t):void(0,tn.k)(!1,"Unexpected type: "+(0,v.X)(t));for(let e of c){let t=e.name.value;d[t]=null!==(s=rI[t])&&void 0!==s?s:function(e){var t,n,r,i,o,a,s;let u=e.name.value,c=null!==(t=l[u])&&void 0!==t?t:[];switch(e.kind){case x.h.OBJECT_TYPE_DEFINITION:{let t=[e,...c];return new eS({name:u,description:null===(n=e.description)||void 0===n?void 0:n.value,interfaces:()=>k(t),fields:()=>T(t),astNode:e,extensionASTNodes:c})}case x.h.INTERFACE_TYPE_DEFINITION:{let t=[e,...c];return new eC({name:u,description:null===(r=e.description)||void 0===r?void 0:r.value,interfaces:()=>k(t),fields:()=>T(t),astNode:e,extensionASTNodes:c})}case x.h.ENUM_TYPE_DEFINITION:{let t=[e,...c];return new eP({name:u,description:null===(i=e.description)||void 0===i?void 0:i.value,values:N(t),astNode:e,extensionASTNodes:c})}case x.h.UNION_TYPE_DEFINITION:{let t=[e,...c];return new ej({name:u,description:null===(o=e.description)||void 0===o?void 0:o.value,types:()=>D(t),astNode:e,extensionASTNodes:c})}case x.h.SCALAR_TYPE_DEFINITION:return new eO({name:u,description:null===(a=e.description)||void 0===a?void 0:a.value,specifiedByURL:rS(e),astNode:e,extensionASTNodes:c});case x.h.INPUT_OBJECT_TYPE_DEFINITION:{let t=[e,...c];return new eV({name:u,description:null===(s=e.description)||void 0===s?void 0:s.value,fields:()=>S(t),astNode:e,extensionASTNodes:c})}}}(e)}let h={query:e.query&&m(e.query),mutation:e.mutation&&m(e.mutation),subscription:e.subscription&&m(e.subscription),...u&&_([u]),..._(p)};return{description:null===(r=u)||void 0===r?void 0:null===(i=r.description)||void 0===i?void 0:i.value,...h,types:Object.values(d),directives:[...e.directives.map(function(e){let t=e.toConfig();return new e6({...t,args:O(t.args,b)})}),...f.map(function(e){var t;return new e6({name:e.name.value,description:null===(t=e.description)||void 0===t?void 0:t.value,locations:e.locations.map(({value:e})=>e),isRepeatable:e.repeatable,args:I(e.arguments),astNode:e})})],extensions:Object.create(null),astNode:null!==(o=u)&&void 0!==o?o:e.astNode,extensionASTNodes:e.extensionASTNodes.concat(p),assumeValid:null!==(a=null==n?void 0:n.assumeValid)&&void 0!==a&&a};function y(e){return Z(e)?new ed(y(e.ofType)):et(e)?new eh(y(e.ofType)):m(e)}function m(e){return d[e.name]}function g(e){return{...e,type:y(e.type),args:e.args&&O(e.args,b)}}function b(e){return{...e,type:y(e.type)}}function _(e){let t={};for(let r of e){var n;for(let e of null!==(n=r.operationTypes)&&void 0!==n?n:[])t[e.operation]=E(e.type)}return t}function E(e){var t;let n=e.name.value,r=null!==(t=rI[n])&&void 0!==t?t:d[n];if(void 0===r)throw Error(`Unknown type: "${n}".`);return r}function w(e){return e.kind===x.h.LIST_TYPE?new ed(w(e.type)):e.kind===x.h.NON_NULL_TYPE?new eh(w(e.type)):E(e)}function T(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.fields)&&void 0!==n?n:[])t[e.name.value]={type:w(e.type),description:null===(r=e.description)||void 0===r?void 0:r.value,args:I(e.arguments),deprecationReason:rO(e),astNode:e}}return t}function I(e){let t=Object.create(null);for(let r of null!=e?e:[]){var n;let e=w(r.type);t[r.name.value]={type:e,description:null===(n=r.description)||void 0===n?void 0:n.value,defaultValue:nf(r.defaultValue,e),deprecationReason:rO(r),astNode:r}}return t}function S(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.fields)&&void 0!==n?n:[]){let n=w(e.type);t[e.name.value]={type:n,description:null===(r=e.description)||void 0===r?void 0:r.value,defaultValue:nf(e.defaultValue,n),deprecationReason:rO(e),astNode:e}}}return t}function N(e){let t=Object.create(null);for(let i of e){var n,r;for(let e of null!==(n=i.values)&&void 0!==n?n:[])t[e.name.value]={description:null===(r=e.description)||void 0===r?void 0:r.value,deprecationReason:rO(e),astNode:e}}return t}function k(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.interfaces)||void 0===n?void 0:n.map(E))&&void 0!==t?t:[]})}function D(e){return e.flatMap(e=>{var t,n;return null!==(t=null===(n=e.types)||void 0===n?void 0:n.map(E))&&void 0!==t?t:[]})}}let rI=T([...eZ,...tm],e=>e.name);function rO(e){let t=ny(e9,e);return null==t?void 0:t.reason}function rS(e){let t=ny(e7,e);return null==t?void 0:t.url}function rN(e,t){null!=e&&e.kind===x.h.DOCUMENT||(0,d.a)(!1,"Must provide valid Document AST."),(null==t?void 0:t.assumeValid)!==!0&&(null==t?void 0:t.assumeValidSDL)!==!0&&function(e){let t=nG(e);if(0!==t.length)throw Error(t.map(e=>e.message).join("\n\n"))}(e);
106let n=rT({description:void 0,types:[],directives:[],extensions:Object.create(null),extensionASTNodes:[],assumeValid:!1},e,t);if(null==n.astNode)for(let e of n.types)switch(e.name){case"Query":n.query=e;break;case"Mutation":n.mutation=e;break;case"Subscription":n.subscription=e}let r=[...n.directives,...te.filter(e=>n.directives.every(t=>t.name!==e.name))];return new tE({...n,directives:r})}function rk(e,t){return rN((0,y.Qc)(e,{noLocation:null==t?void 0:t.noLocation,allowLegacyFragmentVariables:null==t?void 0:t.allowLegacyFragmentVariables}),{assumeValidSDL:null==t?void 0:t.assumeValidSDL,assumeValid:null==t?void 0:t.assumeValid})}function rD(e){var t,n,r;let i=e.toConfig(),o=I(rA(i.types),e=>e.name,function(e){if(U(e)||tg(e))return e;if(B(e)){let t=e.toConfig();return new eS({...t,interfaces:()=>l(t.interfaces),fields:()=>c(t.fields)})}if(G(e)){let t=e.toConfig();return new eC({...t,interfaces:()=>l(t.interfaces),fields:()=>c(t.fields)})}if(Y(e)){let t=e.toConfig();return new ej({...t,types:()=>l(t.types)})}if(J(e)){let t=e.toConfig();return new eP({...t,values:rR(t.values,e=>e)})}if(H(e)){let t=e.toConfig();return new eV({...t,fields:()=>rR(t.fields,e=>({...e,type:a(e.type)}))})}(0,tn.k)(!1,"Unexpected type: "+(0,v.X)(e))});return new tE({...i,types:Object.values(o),directives:rA(i.directives).map(function(e){let t=e.toConfig();return new e6({...t,locations:rF(t.locations,e=>e),args:u(t.args)})}),query:(t=i.query)&&s(t),mutation:(n=i.mutation)&&s(n),subscription:(r=i.subscription)&&s(r)});function a(e){return Z(e)?new ed(a(e.ofType)):et(e)?new eh(a(e.ofType)):s(e)}function s(e){return o[e.name]}function u(e){return rR(e,e=>({...e,type:a(e.type)}))}function c(e){return rR(e,e=>({...e,type:a(e.type),args:e.args&&u(e.args)}))}function l(e){return rA(e).map(s)}}function rR(e,t){let n=Object.create(null);for(let r of Object.keys(e).sort(S))n[r]=t(e[r]);return n}function rA(e){return rF(e,e=>e.name)}function rF(e,t){return e.slice().sort((e,n)=>S(t(e),t(n)))}var rx=n(69797);function rC(e){return rP(e,e=>!tt(e),rL)}function rj(e){return rP(e,tt,tg)}function rL(e){return!e0(e)&&!tg(e)}function rP(e,t,n){let r=e.getDirectives().filter(t),i=Object.values(e.getTypeMap()).filter(n);return[function(e){if(null==e.description&&function(e){let t=e.getQueryType();if(t&&"Query"!==t.name)return!1;let n=e.getMutationType();if(n&&"Mutation"!==n.name)return!1;let r=e.getSubscriptionType();return!r||"Subscription"===r.name}(e))return;let t=[],n=e.getQueryType();n&&t.push(`  query: ${n.name}`);let r=e.getMutationType();r&&t.push(`  mutation: ${r.name}`);let i=e.getSubscriptionType();return i&&t.push(`  subscription: ${i.name}`),rG(e)+`schema {
107${t.join("\n")}
108}`}(e),...r.map(e=>rG(e)+"directive @"+e.name+rQ(e.args)+(e.isRepeatable?" repeatable":"")+" on "+e.locations.join(" | ")),...i.map(e=>rM(e))].filter(Boolean).join("\n\n")}function rM(e){return U(e)?rG(e)+`scalar ${e.name}`+function(e){if(null==e.specifiedByURL)return"";let t=(0,C.S)({kind:x.h.STRING,value:e.specifiedByURL});return` @specifiedBy(url: ${t})`}(e):B(e)?rG(e)+`type ${e.name}`+rV(e)+r$(e):G(e)?rG(e)+`interface ${e.name}`+rV(e)+r$(e):Y(e)?function(e){let t=e.getTypes(),n=t.length?" = "+t.join(" | "):"";return rG(e)+"union "+e.name+n}(e):J(e)?function(e){let t=e.getValues().map((e,t)=>rG(e,"  ",!t)+"  "+e.name+rq(e.deprecationReason));return rG(e)+`enum ${e.name}`+rU(t)}(e):H(e)?function(e){let t=Object.values(e.getFields()).map((e,t)=>rG(e,"  ",!t)+"  "+rB(e));return rG(e)+`input ${e.name}`+rU(t)}(e):void(0,tn.k)(!1,"Unexpected type: "+(0,v.X)(e))}function rV(e){let t=e.getInterfaces();return t.length?" implements "+t.map(e=>e.name).join(" & "):""}function r$(e){return rU(Object.values(e.getFields()).map((e,t)=>rG(e,"  ",!t)+"  "+e.name+rQ(e.args,"  ")+": "+String(e.type)+rq(e.deprecationReason)))}function rU(e){return 0!==e.length?" {\n"+e.join("\n")+"\n}":""}function rQ(e,t=""){return 0===e.length?"":e.every(e=>!e.description)?"("+e.map(rB).join(", ")+")":"(\n"+e.map((e,n)=>rG(e,"  "+t,!n)+"  "+t+rB(e)).join("\n")+"\n"+t+")"}function rB(e){let t=ti(e.defaultValue,e.type),n=e.name+": "+String(e.type);return t&&(n+=` = ${(0,C.S)(t)}`),n+rq(e.deprecationReason)}function rq(e){if(null==e)return"";if(e!==e4){let t=(0,C.S)({kind:x.h.STRING,value:e});return` @deprecated(reason: ${t})`}return" @deprecated"}function rG(e,t="",n=!0){let{description:r}=e;return null==r?"":(t&&!n?"\n"+t:t)+(0,C.S)({kind:x.h.STRING,value:r,block:(0,rx.MZ)(r)}).replace(/\n/g,"\n"+t)+"\n"}function rX(e){let t=[];for(let n of e)t.push(...n.definitions);return{kind:x.h.DOCUMENT,definitions:t}}function rY(e){let t=[],n=Object.create(null);for(let r of e.definitions)switch(r.kind){case x.h.OPERATION_DEFINITION:t.push(r);break;case x.h.FRAGMENT_DEFINITION:n[r.name.value]=rz(r.selectionSet)}let r=Object.create(null);for(let i of t){let t=new Set;for(let e of rz(i.selectionSet))!function e(t,n,r){if(!t.has(r)){t.add(r);let i=n[r];if(void 0!==i)for(let r of i)e(t,n,r)}}
108(t,n,e);r[i.name?i.name.value:""]={kind:x.h.DOCUMENT,definitions:e.definitions.filter(e=>e===i||e.kind===x.h.FRAGMENT_DEFINITION&&t.has(e.name.value))}}return r}function rz(e){let t=[];return(0,tx.Vn)(e,{FragmentSpread(e){t.push(e.name.value)}}),t}function rJ(e){let t=(0,ro.T)(e)?e:new ro.H(e),n=t.body,r=new ru.h(t),i="",o=!1;for(;r.advance().kind!==rc.T.EOF;){let e=r.token,t=e.kind,a=!(0,ru.u)(e.kind);o&&(a||e.kind===rc.T.SPREAD)&&(i+=" ");let s=n.slice(e.start,e.end);t===rc.T.BLOCK_STRING?i+=(0,rx.LZ)(e.value,{minimize:!0}):i+=s,o=a}return i}function rW(e){let t=rH(e);if(t)throw t;return e}function rH(e){if("string"==typeof e||(0,d.a)(!1,"Expected name to be a string."),e.startsWith("__"))return new m.__(`Name "${e}" must not begin with "__", which is reserved by GraphQL introspection.`);try{P(e)}catch(e){return e}}function rK(e,t){return r0(e,t).filter(e=>e.type in f)}function rZ(e,t){return r0(e,t).filter(e=>e.type in p)}function r0(e,t){return[...function(e,t){let n=[],r=r5(Object.values(e.getTypeMap()),Object.values(t.getTypeMap()));for(let e of r.removed)n.push({type:f.TYPE_REMOVED,description:e0(e)?`Standard scalar ${e.name} was removed because it is not referenced anymore.`:`${e.name} was removed.`});for(let[e,t]of r.persisted)J(e)&&J(t)?n.push(...function(e,t){let n=[],r=r5(e.getValues(),t.getValues());for(let t of r.added)n.push({type:p.VALUE_ADDED_TO_ENUM,description:`${t.name} was added to enum type ${e.name}.`});for(let t of r.removed)n.push({type:f.VALUE_REMOVED_FROM_ENUM,description:`${t.name} was removed from enum type ${e.name}.`});return n}(e,t)):Y(e)&&Y(t)?n.push(...function(e,t){let n=[],r=r5(e.getTypes(),t.getTypes());for(let t of r.added)n.push({type:p.TYPE_ADDED_TO_UNION,description:`${t.name} was added to union type ${e.name}.`});for(let t of r.removed)n.push({type:f.TYPE_REMOVED_FROM_UNION,description:`${t.name} was removed from union type ${e.name}.`});return n}(e,t)):H(e)&&H(t)?n.push(...function(e,t){let n=[],r=r5(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.added)eU(t)?n.push({type:f.REQUIRED_INPUT_FIELD_ADDED,description:`A required field ${t.name} on input type ${e.name} was added.`}):n.push({type:p.OPTIONAL_INPUT_FIELD_ADDED,description:`An optional field ${t.name} on input type ${e.name} was added.`});for(let t of r.removed)n.push({type:f.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)r3(t.type,i.type)||n.push({type:f.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}(e,t)):B(e)&&B(t)?n.push(...r2(e,t),...r1(e,t)):G(e)&&G(t)?n.push(...r2(e,t),...r1(e,t)):e.constructor!==t.constructor&&n.push({type:f.TYPE_CHANGED_KIND,description:`${e.name} changed from ${r6(e)} to ${r6(t)}.`});return n}(e,t),...function(e,t){let n=[],r=r5(e.getDirectives(),t.getDirectives());for(let e of r.removed)n.push({type:f.DIRECTIVE_REMOVED,description:`${e.name} was removed.`});for(let[e,t]of r.persisted){let r=r5(e.args,t.args);for(let t of r.added)ex(t)&&n.push({type:f.REQUIRED_DIRECTIVE_ARG_ADDED,description:`A required arg ${t.name} on directive ${e.name} was added.`});for(let t of r.removed)n.push({type:f.DIRECTIVE_ARG_REMOVED,description:`${t.name} was removed from ${e.name}.`});for(let r of(e.isRepeatable&&!t.isRepeatable&&n.push({type:f.DIRECTIVE_REPEATABLE_REMOVED,description:`Repeatable flag was removed from ${e.name}.`}),e.locations))t.locations.includes(r)||n.push({type:f.DIRECTIVE_LOCATION_REMOVED,description:`${r} was removed from ${e.name}.`})}return n}(e,t)]}function r1(e,t){let n=[],r=r5(e.getInterfaces(),t.getInterfaces());for(let t of r.added)n.push({type:p.IMPLEMENTED_INTERFACE_ADDED,description:`${t.name} added to interfaces implemented by ${e.name}.`});for(let t of r.removed)n.push({type:f.IMPLEMENTED_INTERFACE_REMOVED,description:`${e.name} no longer implements interface ${t.name}.`});return n}function r2(e,t){let n=[],r=r5(Object.values(e.getFields()),Object.values(t.getFields()));for(let t of r.removed)n.push({type:f.FIELD_REMOVED,description:`${e.name}.${t.name} was removed.`});for(let[t,i]of r.persisted)n.push(...function(e,t,n){let r=[],i=r5(t.args,n.args);for(let n of i.removed)r.push({type:f.ARG_REMOVED,description:`${e.name}.${t.name} arg ${n.name} was removed.`});for(let[n,o]of i.persisted)if(r3(n.type,o.type)){if(void 0!==n.defaultValue){if(void 0===o.defaultValue)r.push({type:p.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} defaultValue was removed.`});else{let i=r8(n.defaultValue,n.type),a=r8(o.defaultValue,o.type);i!==a&&r.push({type:p.ARG_DEFAULT_VALUE_CHANGE,description:`${e.name}.${t.name} arg ${n.name} has changed defaultValue from ${i} to ${a}.`})}}}else r.push({type:f.ARG_CHANGED_KIND,description:`${e.name}.${t.name} arg ${n.name} has changed type from ${String(n.type)} to ${String(o.type)}.`});for(let n of i.added)ex(n)?r.push({type:f.REQUIRED_ARG_ADDED,description:`A required arg ${n.name} on ${e.name}.${t.name} was added.`}):r.push({type:p.OPTIONAL_ARG_ADDED,description:`An optional arg ${n.name} on ${e.name}.${t.name} was added.`});return r}(e,t,i)),!function e(t,n){return Z(t)?Z(n)&&e(t.ofType,n.ofType)||et(n)&&e(t,n.ofType):et(t)?et(n)&&e(t.ofType,n.ofType):e_(n)&&t.n
108ame===n.name||et(n)&&e(t,n.ofType)}(t.type,i.type)&&n.push({type:f.FIELD_CHANGED_KIND,description:`${e.name}.${t.name} changed type from ${String(t.type)} to ${String(i.type)}.`});return n}function r3(e,t){return Z(e)?Z(t)&&r3(e.ofType,t.ofType):et(e)?et(t)&&r3(e.ofType,t.ofType)||!et(t)&&r3(e.ofType,t):e_(t)&&e.name===t.name}function r6(e){return U(e)?"a Scalar type":B(e)?"an Object type":G(e)?"an Interface type":Y(e)?"a Union type":J(e)?"an Enum type":H(e)?"an Input type":void(0,tn.k)(!1,"Unexpected type: "+(0,v.X)(e))}function r8(e,t){let n=ti(e,t);return null!=n||(0,tn.k)(!1),(0,C.S)(t0(n))}function r5(e,t){let n=[],r=[],i=[],o=T(e,({name:e})=>e),a=T(t,({name:e})=>e);for(let t of e){let e=a[t.name];void 0===e?r.push(t):i.push([t,e])}for(let e of t)void 0===o[e.name]&&n.push(e);return{added:n,persisted:i,removed:r}}(u=f||(f={})).TYPE_REMOVED="TYPE_REMOVED",u.TYPE_CHANGED_KIND="TYPE_CHANGED_KIND",u.TYPE_REMOVED_FROM_UNION="TYPE_REMOVED_FROM_UNION",u.VALUE_REMOVED_FROM_ENUM="VALUE_REMOVED_FROM_ENUM",u.REQUIRED_INPUT_FIELD_ADDED="REQUIRED_INPUT_FIELD_ADDED",u.IMPLEMENTED_INTERFACE_REMOVED="IMPLEMENTED_INTERFACE_REMOVED",u.FIELD_REMOVED="FIELD_REMOVED",u.FIELD_CHANGED_KIND="FIELD_CHANGED_KIND",u.REQUIRED_ARG_ADDED="REQUIRED_ARG_ADDED",u.ARG_REMOVED="ARG_REMOVED",u.ARG_CHANGED_KIND="ARG_CHANGED_KIND",u.DIRECTIVE_REMOVED="DIRECTIVE_REMOVED",u.DIRECTIVE_ARG_REMOVED="DIRECTIVE_ARG_REMOVED",u.REQUIRED_DIRECTIVE_ARG_ADDED="REQUIRED_DIRECTIVE_ARG_ADDED",u.DIRECTIVE_REPEATABLE_REMOVED="DIRECTIVE_REPEATABLE_REMOVED",u.DIRECTIVE_LOCATION_REMOVED="DIRECTIVE_LOCATION_REMOVED",(c=p||(p={})).VALUE_ADDED_TO_ENUM="VALUE_ADDED_TO_ENUM",c.TYPE_ADDED_TO_UNION="TYPE_ADDED_TO_UNION",c.OPTIONAL_INPUT_FIELD_ADDED="OPTIONAL_INPUT_FIELD_ADDED",c.OPTIONAL_ARG_ADDED="OPTIONAL_ARG_ADDED",c.IMPLEMENTED_INTERFACE_ADDED="IMPLEMENTED_INTERFACE_ADDED",c.ARG_DEFAULT_VALUE_CHANGE="ARG_DEFAULT_VALUE_CHANGE"},44698:function(e,t,n){"use strict";n.d(t,{D$:function(){return p},G4:function(){return c},Ir:function(){return i},Of:function(){return function e(t){return s(t)&&(t.kind===r.h.LIST?t.values.some(e):t.kind===r.h.OBJECT?t.fields.some(t=>e(t.value)):t.kind!==r.h.VARIABLE)}},VB:function(){return u},Wk:function(){return o},aU:function(){return f},nr:function(){return s},pO:function(){return a},zT:function(){return l}});var r=n(8519);function i(e){return o(e)||c(e)||f(e)}function o(e){return e.kind===r.h.OPERATION_DEFINITION||e.kind===r.h.FRAGMENT_DEFINITION}function a(e){return e.kind===r.h.FIELD||e.kind===r.h.FRAGMENT_SPREAD||e.kind===r.h.INLINE_FRAGMENT}function s(e){return e.kind===r.h.VARIABLE||e.kind===r.h.INT||e.kind===r.h.FLOAT||e.kind===r.h.STRING||e.kind===r.h.BOOLEAN||e.kind===r.h.NULL||e.kind===r.h.ENUM||e.kind===r.h.LIST||e.kind===r.h.OBJECT}function u(e){return e.kind===r.h.NAMED_TYPE||e.kind===r.h.LIST_TYPE||e.kind===r.h.NON_NULL_TYPE}function c(e){return e.kind===r.h.SCHEMA_DEFINITION||l(e)||e.kind===r.h.DIRECTIVE_DEFINITION}function l(e){return e.kind===r.h.SCALAR_TYPE_DEFINITION||e.kind===r.h.OBJECT_TYPE_DEFINITION||e.kind===r.h.INTERFACE_TYPE_DEFINITION||e.kind===r.h.UNION_TYPE_DEFINITION||e.kind===r.h.ENUM_TYPE_DEFINITION||e.kind===r.h.INPUT_OBJECT_TYPE_DEFINITION}function f(e){return e.kind===r.h.SCHEMA_EXTENSION||p(e)}function p(e){return e.kind===r.h.SCALAR_TYPE_EXTENSION||e.kind===r.h.OBJECT_TYPE_EXTENSION||e.kind===r.h.INTERFACE_TYPE_EXTENSION||e.kind===r.h.UNION_TYPE_EXTENSION||e.kind===r.h.ENUM_TYPE_EXTENSION||e.kind===r.h.INPUT_OBJECT_TYPE_EXTENSION}},17474:function(e,t,n){"use strict";n.d(t,{S:function(){return u}});var r=n(69797);let i=/[\x00-\x1f\x22\x5c\x7f-\x9f]/g;function o(e){return a[e.charCodeAt(0)]}let a=["\\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 s=n(6369);function u(e){return(0,s.Vn)(e,c)}let c={Name:{leave:e=>e.value},Variable:{leave:e=>"$"+e.name},Document:{leave:e=>l(e.definitions,"\n\n")},OperationDefinition:{leave(e){let t=p("(",l(e.variableDefinitions,", "),")"),n=l([e.operation,l([e.name,t]),l(e.directives," ")]," ");return("query"===n?"":n+" ")+e.selectionSet}},VariableDefinition:{leave:({variable:e,type:t,defaultValue:n,directives:r})=>e+": "+t+p(" = ",n)+p(" ",l(r," "))},SelectionSet:{leave:({selections:e})=>f(e)},Field:{leave({alias:e,name:t,arguments:n,directives:r,selectionSet:i}){let o=p("",e,": ")+t,a=o+p("(",l(n,", "),")");return a.length>80&&(a=o+p("(\n",d(l(n,"\n")),"\n)")),l([a,l(r," "),i]," ")}},Argument:{leave:({name:e,value:t})=>e+": "+t},FragmentSpread:{leave:({name:e,directives:t})=>"..."+e+p(" ",l(t," "))},InlineFragment:{leave:({typeCondition:e,directives:t,selectionSet:n})=>l(["...",p("on ",e),l(t," "),n]," ")},FragmentDefinition:{leave:({name:e,typeCondition:t,variableDefinitions:n,directives:r,selectionSet:i})=>`fragment ${e}${p("(",l(n,", "),")")} on ${t} ${p("",l(r," ")," ")}`+i},IntValue:{leave:({value:e})=>e},FloatValue:{leave:({value:e})=>e}
108,StringValue:{leave:({value:e,block:t})=>t?(0,r.LZ)(e):`"${e.replace(i,o)}"`},BooleanValue:{leave:({value:e})=>e?"true":"false"},NullValue:{leave:()=>"null"},EnumValue:{leave:({value:e})=>e},ListValue:{leave:({values:e})=>"["+l(e,", ")+"]"},ObjectValue:{leave:({fields:e})=>"{"+l(e,", ")+"}"},ObjectField:{leave:({name:e,value:t})=>e+": "+t},Directive:{leave:({name:e,arguments:t})=>"@"+e+p("(",l(t,", "),")")},NamedType:{leave:({name:e})=>e},ListType:{leave:({type:e})=>"["+e+"]"},NonNullType:{leave:({type:e})=>e+"!"},SchemaDefinition:{leave:({description:e,directives:t,operationTypes:n})=>p("",e,"\n")+l(["schema",l(t," "),f(n)]," ")},OperationTypeDefinition:{leave:({operation:e,type:t})=>e+": "+t},ScalarTypeDefinition:{leave:({description:e,name:t,directives:n})=>p("",e,"\n")+l(["scalar",t,l(n," ")]," ")},ObjectTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>p("",e,"\n")+l(["type",t,p("implements ",l(n," & ")),l(r," "),f(i)]," ")},FieldDefinition:{leave:({description:e,name:t,arguments:n,type:r,directives:i})=>p("",e,"\n")+t+(h(n)?p("(\n",d(l(n,"\n")),"\n)"):p("(",l(n,", "),")"))+": "+r+p(" ",l(i," "))},InputValueDefinition:{leave:({description:e,name:t,type:n,defaultValue:r,directives:i})=>p("",e,"\n")+l([t+": "+n,p("= ",r),l(i," ")]," ")},InterfaceTypeDefinition:{leave:({description:e,name:t,interfaces:n,directives:r,fields:i})=>p("",e,"\n")+l(["interface",t,p("implements ",l(n," & ")),l(r," "),f(i)]," ")},UnionTypeDefinition:{leave:({description:e,name:t,directives:n,types:r})=>p("",e,"\n")+l(["union",t,l(n," "),p("= ",l(r," | "))]," ")},EnumTypeDefinition:{leave:({description:e,name:t,directives:n,values:r})=>p("",e,"\n")+l(["enum",t,l(n," "),f(r)]," ")},EnumValueDefinition:{leave:({description:e,name:t,directives:n})=>p("",e,"\n")+l([t,l(n," ")]," ")},InputObjectTypeDefinition:{leave:({description:e,name:t,directives:n,fields:r})=>p("",e,"\n")+l(["input",t,l(n," "),f(r)]," ")},DirectiveDefinition:{leave:({description:e,name:t,arguments:n,repeatable:r,locations:i})=>p("",e,"\n")+"directive @"+t+(h(n)?p("(\n",d(l(n,"\n")),"\n)"):p("(",l(n,", "),")"))+(r?" repeatable":"")+" on "+l(i," | ")},SchemaExtension:{leave:({directives:e,operationTypes:t})=>l(["extend schema",l(e," "),f(t)]," ")},ScalarTypeExtension:{leave:({name:e,directives:t})=>l(["extend scalar",e,l(t," ")]," ")},ObjectTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend type",e,p("implements ",l(t," & ")),l(n," "),f(r)]," ")},InterfaceTypeExtension:{leave:({name:e,interfaces:t,directives:n,fields:r})=>l(["extend interface",e,p("implements ",l(t," & ")),l(n," "),f(r)]," ")},UnionTypeExtension:{leave:({name:e,directives:t,types:n})=>l(["extend union",e,l(t," "),p("= ",l(n," | "))]," ")},EnumTypeExtension:{leave:({name:e,directives:t,values:n})=>l(["extend enum",e,l(t," "),f(n)]," ")},InputObjectTypeExtension:{leave:({name:e,directives:t,fields:n})=>l(["extend input",e,l(t," "),f(n)]," ")}};function l(e,t=""){var n;return null!==(n=null==e?void 0:e.filter(e=>e).join(t))&&void 0!==n?n:""}function f(e){return p("{\n",d(l(e,"\n")),"\n}")}function p(e,t,n=""){return null!=t&&""!==t?e+t+n:""}function d(e){return p("  ",e.replace(/\n/g,"\n  "))}function h(e){var t;return null!==(t=null==e?void 0:e.some(e=>e.includes("\n")))&&void 0!==t&&t}},6369:function(e,t,n){"use strict";n.d(t,{$_:function(){return s},CK:function(){return f},Eu:function(){return l},Vn:function(){return u},j1:function(){return c}});var r=n(14302),i=n(78345),o=n(9195),a=n(8519);let s=Object.freeze({});function u(e,t,n=o.h8){let u,c,f;let p=new Map;for(let e of Object.values(a.h))p.set(e,l(t,e));let d=Array.isArray(e),h=[e],y=-1,v=[],m=e,g=[],b=[];do{var _,E,w;let e;let a=++y===h.length,l=a&&0!==v.length;if(a){if(c=0===b.length?void 0:g[g.length-1],m=f,f=b.pop(),l){if(d){m=m.slice();let e=0;for(let[t,n]of v){let r=t-e;null===n?(m.splice(r,1),e++):m[r]=n}}else for(let[e,t]of(m=Object.defineProperties({},Object.getOwnPropertyDescriptors(m)),v))m[e]=t}y=u.index,h=u.keys,v=u.edits,d=u.inArray,u=u.prev}else if(f){if(null==(m=f[c=d?y:h[y]]))continue;
108g.push(c)}if(!Array.isArray(m)){(0,o.UG)(m)||(0,r.a)(!1,`Invalid AST Node: ${(0,i.X)(m)}.`);let n=a?null===(_=p.get(m.kind))||void 0===_?void 0:_.leave:null===(E=p.get(m.kind))||void 0===E?void 0:E.enter;if((e=null==n?void 0:n.call(t,m,c,f,g,b))===s)break;if(!1===e){if(!a){g.pop();continue}}else if(void 0!==e&&(v.push([c,e]),!a)){if((0,o.UG)(e))m=e;else{g.pop();continue}}}void 0===e&&l&&v.push([c,m]),a?g.pop():(u={inArray:d,index:y,keys:h,edits:v,prev:u},h=(d=Array.isArray(m))?m:null!==(w=n[m.kind])&&void 0!==w?w:[],y=-1,v=[],f&&b.push(f),f=m)}while(void 0!==u);return 0!==v.length?v[v.length-1][1]:e}function c(e){let t=Array(e.length).fill(null),n=Object.create(null);for(let r of Object.values(a.h)){let i=!1,o=Array(e.length).fill(void 0),a=Array(e.length).fill(void 0);for(let t=0;t<e.length;++t){let{enter:n,leave:s}=l(e[t],r);i||(i=null!=n||null!=s),o[t]=n,a[t]=s}if(!i)continue;let u={enter(...n){let r=n[0];for(let a=0;a<e.length;a++)if(null===t[a]){var i;let u=null===(i=o[a])||void 0===i?void 0:i.apply(e[a],n);if(!1===u)t[a]=r;else if(u===s)t[a]=s;else if(void 0!==u)return u}},leave(...n){let r=n[0];for(let o=0;o<e.length;o++)if(null===t[o]){var i;let r=null===(i=a[o])||void 0===i?void 0:i.apply(e[o],n);if(r===s)t[o]=s;else if(void 0!==r&&!1!==r)return r}else t[o]===r&&(t[o]=null)}};n[r]=u}return n}function l(e,t){let n=e[t];return"object"==typeof n?n:"function"==typeof n?{enter:n,leave:void 0}:{enter:e.enter,leave:e.leave}}function f(e,t,n){let{enter:r,leave:i}=l(e,t);return n?i:r}},9117:function(e,t,n){"use strict";n.d(t,{Z:function(){return o}});let r=new Uint8Array(16),i=[];for(let e=0;e<256;++e)i.push((e+256).toString(16).slice(1));var o=function(e,t,n){return t||e||!crypto.randomUUID?function(e,t,n){let o=(e=e||{}).random??e.rng?.()??crypto.getRandomValues(r);if(o.length<16)throw Error("Random bytes length must be >= 16");if(o[6]=15&o[6]|64,o[8]=63&o[8]|128,t){if((n=n||0)<0||n+16>t.length)throw RangeError(`UUID byte range ${n}:${n+15} is out of buffer bounds`);for(let e=0;e<16;++e)t[n+e]=o[e];return t}return function(e,t=0){return(i[e[t+0]]+i[e[t+1]]+i[e[t+2]]+i[e[t+3]]+"-"+i[e[t+4]]+i[e[t+5]]+"-"+i[e[t+6]]+i[e[t+7]]+"-"+i[e[t+8]]+i[e[t+9]]+"-"+i[e[t+10]]+i[e[t+11]]+i[e[t+12]]+i[e[t+13]]+i[e[t+14]]+i[e[t+15]]).toLowerCase()}(o)}(e,t,n):crypto.randomUUID()}},19830:function(e,t,n){"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function i(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function o(e,t,n){return t&&i(e.prototype,t),n&&i(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}n.d(t,{y:function(){return w}});var a=function(){return"function"==typeof Symbol},s=function(e){return a()&&!!Symbol[e]},u=function(e){return s(e)?Symbol[e]:"@@"+e};a()&&!s("observable")&&(Symbol.observable=Symbol("observable"));var c=u("iterator"),l=u("observable"),f=u("species");function p(e,t){var n=e[t];if(null!=n){if("function"!=typeof n)throw TypeError(n+" is not a function");return n}}function d(e){var t=e.constructor;return void 0!==t&&null===(t=t[f])&&(t=void 0),void 0!==t?t:w}function h(e){h.log?h.log(e):setTimeout(function(){throw e})}function y(e){Promise.resolve().then(function(){try{e()}catch(e){h(e)}})}function v(e){var t=e._cleanup;if(void 0!==t){if(e._cleanup=void 0,!t)return;try{if("function"==typeof t)t();else{var n=p(t,"unsubscribe");n&&n.call(t)}}catch(e){h(e)}}}function m(e){e._observer=void 0,e._queue=void 0,e._state="closed"}function g(e,t,n){e._state="running";var r=e._observer;try{var i=p(r,t);switch(t){case"next":i&&i.call(r,n);break;case"error":if(m(e),i)i.call(r,n);else throw n;break;case"complete":m(e),i&&i.call(r)}}catch(e){h(e)}"closed"===e._state?v(e):"running"===e._state&&(e._state="ready")}function b(e,t,n){if("closed"!==e._state){if("buffering"===e._state){e._queue.push({type:t,value:n});return}if("ready"!==e._state){e._state="buffering",e._queue=[{type:t,value:n}],y(function(){return function(e){var t=e._queue;if(t){e._queue=void 0,e._state="ready";for(var n=0;n<t.length&&(g(e,t[n].type,t[n].value),"closed"!==e._state);++n);}}(e)});return}g(e,t,n)}}var _=function(){function e(e,t){this._cleanup=void 0,this._observer=e,this._queue=void 0,this._state="initializing";var n=new E(this);try{this._cleanup=t.call(void 0,n)}catch(e){n.error(e)}"initializing"===this._state&&(this._state="ready")}return e.prototype.unsubscribe=function(){"closed"!==this._state&&(m(this),v(this))},o(e,[{key:"closed",get:function(){return"closed"===this._state}}]),e}(),E=function(){function e(e){this._subscription=e}var t=e.prototype;return t.next=function(e){b(this._subscription,"next",e)},t.error=function(e){b(this._subscription,"error",e)},t.complete=function(){b(this._subscription,"complete")},o(e,[{key:"closed",get:function(){return"closed"===this._subscription._state}}]),e}(),w=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 t=e.prototype;return t.subscribe=function(e){return("object"!=typeof e||null===e)&&(e={next:e,error:arguments[1],complete:arguments[2]}),new _(e,this._subscriber)},t.forEach=function(e){var t=this;return new Promise(function(n,r){if("function"!=typeof e){r(TypeError(e+" is not a function"));return}function i(){o.unsubscribe(),n()}var o=t.subscribe({next:function(t){try{e(t,i)}catch(e){r(e),o.unsubscribe()}},error:r,complete:n})})},t.map=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(d(this))(function(n){return t.subscribe({next:function(t){try{t=e(t)}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.filter=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");return new(d(this))(function(n){return t.subscribe({next:function(t){try{if(!e(t))return}catch(e){return n.error(e)}n.next(t)},error:function(e){n.error(e)},complete:function(){n.complete()}})})},t.reduce=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=d(this),r=arguments.length>1,i=!1,o=arguments[1],a=o;return new n(function(n){return t.subscribe({next:function(t){var o=!i;if(i=!0,!o||r)try{a=e(a,t)}catch(e){return n.error(e)}else a=t},error:function(e){n.error(e)},complete:function(){if(!i&&!r)return n.error(TypeError("Cannot reduce an empty sequence"));n.next(a),n.complete()}})})},t.concat=function(){for(var e=this,t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=d(this);return new i(function(t){var r,o=0;return function e(a){r=a.subscribe({next:function(e){t.next(e)},error:function(e){t.error(e)},complete:function(){o===n.length?(r=void 0,t.complete()):e(i.from(n[o++]))}})}(e),function(){r&&(r.unsubscribe(),r=void 0)}})},t.flatMap=function(e){var t=this;if("function"!=typeof e)throw TypeError(e+" is not a function");var n=d(this);return new n(function(r){var i=[],o=t.subscribe({next:function(t){if(e)try{t=e(t)}catch(e){return r.error(e)}var o=n.from(t).subscribe({next:function(e){r.next(e)},error:function(e){r.error(e)},complete:function(){var e=i.indexOf(o);e>=0&&i.splice(e,1),a()}});i.push(o)},error:function(e){r.error(e)},complete:function(){a()}});function a(){o.closed&&0===i.length&&r.complete()}
108return function(){i.forEach(function(e){return e.unsubscribe()}),o.unsubscribe()}})},t[l]=function(){return this},e.from=function(t){var n="function"==typeof this?this:e;if(null==t)throw TypeError(t+" is not an object");var i=p(t,l);if(i){var o=i.call(t);if(Object(o)!==o)throw TypeError(o+" is not an object");return o instanceof w&&o.constructor===n?o:new n(function(e){return o.subscribe(e)})}if(s("iterator")&&(i=p(t,c)))return new n(function(e){y(function(){if(!e.closed){for(var n,o=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return r(e,void 0);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,void 0)}}(e))){n&&(e=n);var i=0;return function(){return i>=e.length?{done:!0}:{done:!1,value:e[i++]}}}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(t));!(n=o()).done;){var a=n.value;if(e.next(a),e.closed)return}e.complete()}})});if(Array.isArray(t))return new n(function(e){y(function(){if(!e.closed){for(var n=0;n<t.length;++n)if(e.next(t[n]),e.closed)return;e.complete()}})});throw TypeError(t+" is not observable")},e.of=function(){for(var t=arguments.length,n=Array(t),r=0;r<t;r++)n[r]=arguments[r];return new("function"==typeof this?this:e)(function(e){y(function(){if(!e.closed){for(var t=0;t<n.length;++t)if(e.next(n[t]),e.closed)return;e.complete()}})})},o(e,null,[{key:f,get:function(){return this}}]),e}();a()&&Object.defineProperty(w,Symbol("extensions"),{value:{symbol:l,hostReportError:h},configurable:!0})}}]);

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.